diff --git a/Makefile b/Makefile index f3b8322..3ce0ffc 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ else endif endif +#OPTIONS = "DEFINES += NO_KDE_INTEGRATION" + .PHONY: clean \ systray-x-xpi \ systray-x-app @@ -56,7 +58,7 @@ systray-x-app: rm -f SysTray-X ;\ mkdir -p app/build ;\ cd app/build ;\ - $(QMAKE) $(EXT_VERSION) ../SysTray-X/SysTray-X.pro ;\ + $(QMAKE) $(EXT_VERSION) $(OPTIONS) ../SysTray-X/SysTray-X.pro ;\ make ;\ cd ../.. ;\ cp app/build/SysTray-X . diff --git a/README.md b/README.md index 8d26e5d..970293c 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ sudo apt update ###### 16.04 LTS ```bash -wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_16.04/Release.key +wget -q http://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_16.04/Release.key sudo apt-key add Release.key sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_16.04 ./" > /etc/apt/sources.list.d/systray-x.list' sudo apt update @@ -273,12 +273,18 @@ Requirements: gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu.com ``` -Build: +Build (KDE): ```bash cd systray-x make ``` +Build (GNOME): +```bash +cd systray-x +make OPTIONS="DEFINES+=NO_KDE_INTEGRATION" +``` + Install and run SysTray-X from the build directory in the repository: ```bash mkdir -p ~/.mozilla/native-messaging-hosts diff --git a/README.references.txt b/README.references.txt index 8b6215b..ea57dfd 100644 --- a/README.references.txt +++ b/README.references.txt @@ -1,5 +1,14 @@ #