diff --git a/README.md b/README.md index 3efdedba..225057d0 100644 --- a/README.md +++ b/README.md @@ -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! diff --git a/docs/dev/compilation.md b/docs/dev/compilation.md deleted file mode 100644 index 98e157b9..00000000 --- a/docs/dev/compilation.md +++ /dev/null @@ -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 diff --git a/docs/futureFeatures.md b/docs/futureFeatures.md index 971e039c..3aad3ae4 100644 --- a/docs/futureFeatures.md +++ b/docs/futureFeatures.md @@ -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 diff --git a/flameshot.pro b/flameshot.pro index df9b9b8c..386e7076 100644 --- a/flameshot.pro +++ b/flameshot.pro @@ -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 } + diff --git a/translation/Internationalization_es.qm b/translation/Internationalization_es.qm new file mode 100644 index 00000000..538269ad Binary files /dev/null and b/translation/Internationalization_es.qm differ