add make install instructions
This commit is contained in:
44
README.md
44
README.md
@@ -1,6 +1,18 @@
|
||||

|
||||
> 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!
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
BIN
translation/Internationalization_es.qm
Normal file
BIN
translation/Internationalization_es.qm
Normal file
Binary file not shown.
Reference in New Issue
Block a user