add make install instructions

This commit is contained in:
lupoDharkael
2017-06-16 11:44:41 +02:00
parent 5b3da2125a
commit 4a7f24eedc
5 changed files with 56 additions and 46 deletions

View File

@@ -1,6 +1,18 @@
![image](./img/flameshot.png)
> Powerfull yet simple to use screenshot software.
## Index
- [Usage](#usage)
- [Considerations](#considerations)
- [Usage](#usage)
- [Compilation](#compilation)
- [Debian](#debian)
- [Fedora](#fedora)
- [Arch](#arch)
- [Instal](#install)
- [Screenshots](#screenshots)
- [License](#license)
## Usage
Example commands:
- capture with GUI:
@@ -27,7 +39,7 @@ Check out the information window to see all the available shortcuts in the graph
## Considerations
**Not working on Wayland**
- **Not working on Wayland**
- If you are using Gnome you need to install the [TopIcons](https://extensions.gnome.org/extension/495/topicons/) extension in order to see the systemtray icon.
@@ -35,11 +47,35 @@ Check out the information window to see all the available shortcuts in the graph
- Press `Enter` or `Ctrl + C` when you are in a capture mode and you don't have an active selection and the whole desktop will be copied to your clipboard!
## Compilation and development
## Compilation
### Debian
Dependencies:
````
apt install -y git g++ build-essential qt5-qmake qt5-default
````
- Information about manual compilation can be found [here](./docs/dev/compilation.md)
Compilation: run `qmake && make` in the main directory.
### Fedora
Dependencies:
````
dnf install -y qt5-devel gcc-c++ git qt5-qtbase-devel
````
Compilation: run `qmake-qt5 && make` in the main directory.
### Arch
Dependencies:
````
pacman -S git qt5-base base-devel
````
Compilation: run `qmake && make` in the main directory.
## Install
Simply use `make install` with privileges.
- Check the [docs](./docs) folder for more information.
## Screenshots
Dynamic button position based on your selection!

View File

@@ -1,38 +0,0 @@
## Compilation
### GUI
Just download QT Creator and QT5 and import the project selecting the `flameshot.pro` file. Hit the "Build" button.
### Debian
Dependencies:
````
apt install -y git g++ build-essential qt5-qmake qt5-default
````
Compilation: run `qmake && make` in the main directory.
### Fedora
Dependencies:
````
dnf install -y qt5-devel gcc-c++ git qt5-qtbase-devel
````
Compilation: run `qmake-qt5 && make` in the main directory.
### Arch
Dependencies:
````
pacman -S git qt5-base base-devel
````
Compilation: run `qmake && make` in the main directory.
## Install
After the compilation you only have to add the DBus related files to its respective directories
````
cp dbus/org.dharkael.Flameshot.xml /usr/share/dbus-1/interfaces/ && \
cp dbus/org.dharkael.Flameshot.service /usr/share/dbus-1/services/
````
Finally add the compilled binary to /usr/bin

View File

@@ -6,6 +6,4 @@ These are just conceptual and they may not be implemented implemented in a short
- Mouse Visibility Button: if you look at the source code you'll find a lot of references about this. In fact it is almost implemente but it is disabled because the most important part (the code that fetches the mouse icon) is plataform specific and it requieres some of my time to end the implementation.
- Video Recording Support: I don't know if this will happen but it could be interesting to have a unified tool and satisfy every need to capture your desktop. Requires a ton of investigation.
- Wayland support

View File

@@ -66,8 +66,22 @@ HEADERS += \
RESOURCES += \
graphics.qrc
# installs
unix: {
qmfile.path = /usr/share/flameshot/translations
target.path = /usr/bin/
qmfile.path = /usr/share/flameshot/translations/
qmfile.files = translation/Internationalization_es.qm
INSTALLS += qmfile
servicedbus.path = /usr/share/dbus-1/services/
servicedbus.files = dbus/org.dharkael.Flameshot.service
dbus.path = /usr/share/dbus-1/interfaces/
dbus.files = dbus/org.dharkael.Flameshot.xml
INSTALLS += target \
qmfile \
servicedbus \
dbus
}

Binary file not shown.