From a754c5a59b652ade55336125041b2293ebbfc7b7 Mon Sep 17 00:00:00 2001 From: Ximi1970 Date: Tue, 2 Apr 2024 22:46:54 +0200 Subject: [PATCH] Update packages --- dist/deb-qt6/gnome/debian.changelog | 100 ++++++++++++++++++ dist/deb-qt6/gnome/debian.compat | 1 + dist/deb-qt6/gnome/debian.control | 22 ++++ dist/deb-qt6/gnome/debian.postinst | 86 +++++++++++++++ dist/deb-qt6/gnome/debian.rules | 117 +++++++++++++++++++++ dist/deb-qt6/gnome/systray-x-gnome.dsc | 7 ++ dist/deb-qt6/kde/debian.changelog | 100 ++++++++++++++++++ dist/deb-qt6/kde/debian.compat | 1 + dist/deb-qt6/kde/debian.control | 22 ++++ dist/deb-qt6/kde/debian.rules | 117 +++++++++++++++++++++ dist/deb-qt6/kde/systray-x.dsc | 7 ++ dist/deb-qt6/minimal/debian.changelog | 100 ++++++++++++++++++ dist/deb-qt6/minimal/debian.compat | 1 + dist/deb-qt6/minimal/debian.control | 22 ++++ dist/deb-qt6/minimal/debian.rules | 117 +++++++++++++++++++++ dist/deb-qt6/minimal/systray-x-minimal.dsc | 7 ++ dist/deb/gnome/debian.changelog | 6 ++ dist/deb/gnome/systray-x-gnome.dsc | 2 +- dist/deb/kde/debian.changelog | 6 ++ dist/deb/kde/systray-x.dsc | 2 +- dist/deb/minimal/debian.changelog | 6 ++ dist/deb/minimal/systray-x-minimal.dsc | 2 +- dist/rpm/gnome/systray-x-gnome.changes | 7 ++ dist/rpm/kde/systray-x.changes | 7 ++ dist/rpm/minimal/systray-x-minimal.changes | 7 ++ 25 files changed, 869 insertions(+), 3 deletions(-) create mode 100644 dist/deb-qt6/gnome/debian.changelog create mode 100644 dist/deb-qt6/gnome/debian.compat create mode 100644 dist/deb-qt6/gnome/debian.control create mode 100644 dist/deb-qt6/gnome/debian.postinst create mode 100644 dist/deb-qt6/gnome/debian.rules create mode 100644 dist/deb-qt6/gnome/systray-x-gnome.dsc create mode 100644 dist/deb-qt6/kde/debian.changelog create mode 100644 dist/deb-qt6/kde/debian.compat create mode 100644 dist/deb-qt6/kde/debian.control create mode 100644 dist/deb-qt6/kde/debian.rules create mode 100644 dist/deb-qt6/kde/systray-x.dsc create mode 100644 dist/deb-qt6/minimal/debian.changelog create mode 100644 dist/deb-qt6/minimal/debian.compat create mode 100644 dist/deb-qt6/minimal/debian.control create mode 100644 dist/deb-qt6/minimal/debian.rules create mode 100644 dist/deb-qt6/minimal/systray-x-minimal.dsc diff --git a/dist/deb-qt6/gnome/debian.changelog b/dist/deb-qt6/gnome/debian.changelog new file mode 100644 index 0000000..2afa477 --- /dev/null +++ b/dist/deb-qt6/gnome/debian.changelog @@ -0,0 +1,100 @@ +systray-x-gnome (0.9.9-1) unstable; urgency=low + + * Update to 0.9.9 + + - Qt 6 fixes + +systray-x-gnome (0.9.8-1) unstable; urgency=low + + * Update to 0.9.8 + + - Fixed / refactored multi window handling + - Added an option to add a shortcut key for show / hide + - Bugfixes + +systray-x-gnome (0.9.7-0) unstable; urgency=low + + * Update to 0.9.7 + + - Added option for new TB115 mail counting (slow with new mails enabled) + - Bugfixes + +systray-x-gnome (0.9.6-0) unstable; urgency=low + + * Update to 0.9.6 + + - Added option to show a new mail indicator or icon shading + - Added option to launch an app on start and close + - Refactored windows state handling + - Refactored mail counting + - Bugfixes + +systray-x-gnome (0.9.5-0) unstable; urgency=low + + * Update to 0.9.5 + + - Bugfixes + +systray-x-gnome (0.9.4-0) unstable; urgency=low + + * Update to 0.9.4 + + - Separate minimize, close and icon action + - Use new icon for new TB version + +systray-x-gnome (0.9.3-0) unstable; urgency=low + + * Update to 0.9.3 + + - New TB version + +systray-x-gnome (0.9.2-0) unstable; urgency=low + + * Update to 0.9.2 + + - Bug fixes + +systray-x-gnome (0.9.1-0) unstable; urgency=low + + * Update to 0.9.1 + + - Bug fixes + +systray-x-gnome (0.9.0-0) unstable; urgency=low + + * Update to 0.9.0 + + - Update for TB 102 + - Bug fixes + +systray-x-gnome (0.8.0-0) unstable; urgency=low + + * Update to 0.8.0 + + - Refactor for TB 91 + +systray-x-gnome (0.5.0-0) unstable; urgency=low + + * Update to 0.5.0 + + - Added translations logic + - Languages: + - de + - en_US + - nl + - pt_BR (by PutinVladimir) + - ru_RU (by fabianski7) + + -- Maxime Rijnders Maxime Rijnders Sat, 07 Nov 2020 23:37:00 +0100 + +systray-x-gnome (0.4.0-0) unstable; urgency=low + + * Update to 0.4.0 + + -- Maxime Rijnders Maxime Rijnders Sat, 10 Oct 2020 14:10:00 +0100 + +systray-x-gnome (0.0.1-0) unstable; urgency=low + + * Initial Release + + -- Maxime Rijnders Maxime Rijnders Tue, 11 Feb 2020 19:05:19 +0100 diff --git a/dist/deb-qt6/gnome/debian.compat b/dist/deb-qt6/gnome/debian.compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/dist/deb-qt6/gnome/debian.compat @@ -0,0 +1 @@ +10 diff --git a/dist/deb-qt6/gnome/debian.control b/dist/deb-qt6/gnome/debian.control new file mode 100644 index 0000000..d5723dc --- /dev/null +++ b/dist/deb-qt6/gnome/debian.control @@ -0,0 +1,22 @@ +Source: systray-x-gnome +Section: misc +Priority: optional +Maintainer: Maxime Rijnders +Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, thunderbird + +Package: systray-x-gnome +Architecture: any +Depends: ${shlibs:Depends}, gnome-shell-extension-appindicator, thunderbird (>= 1:91), thunderbird (< 1:121) +Description: SysTray-X is a system tray extension for Thunderbird (GNOME). + This version is optimized for the GNOME desktop. + The add-on uses the WebExtension API's to control an external system + dependent system tray application. + The add-on and system tray application can do: + * custom new mail icon + * display number of unread /new mails + * optional new mail indicator (icon or shading) + * run app on start or close + * show / hide Thunderbird (minimize) + * minimizing hides to tray + * minimize on startup + * minimize on close diff --git a/dist/deb-qt6/gnome/debian.postinst b/dist/deb-qt6/gnome/debian.postinst new file mode 100644 index 0000000..6718d73 --- /dev/null +++ b/dist/deb-qt6/gnome/debian.postinst @@ -0,0 +1,86 @@ +#!/bin/sh + +# Source debconf library. +. /usr/share/debconf/confmodule + +# Fetching configuration from debconf +#db_get packagename/question1 +#ANSWER1=$RET + +PROF_DIR=/etc/dconf/profile +PROF_FILE=user + +if [ -f $PROF_DIR/$PROF_FILE ] ; then + # + # Edit user file + # + grep -q "user-db:user" $PROF_DIR/$PROF_FILE + if [ "$?" = "1" ] ; then + echo "user-db:user" >> $PROF_DIR/$PROF_FILE + fi + + grep -q "system-db:local" $PROF_DIR/$PROF_FILE + if [ "$?" = "1" ] ; then + echo "system-db:local" >> $PROF_DIR/$PROF_FILE + fi +else + # + # Generate user file + # + mkdir -p $PROF_DIR + cat >$PROF_DIR/$PROF_FILE < $CONF_DIR/$CONF_FILE + echo "# List all extensions that you want to have enabled for all users" >> $CONF_DIR/$CONF_FILE + echo "enabled-extensions=['${EXTENSION}']" >> $CONF_DIR/$CONF_FILE +fi + +which dconf > /dev/null 2>&1 +if [ "$?" = "0" ] ; then + dconf update +fi diff --git a/dist/deb-qt6/gnome/debian.rules b/dist/deb-qt6/gnome/debian.rules new file mode 100644 index 0000000..da0efd6 --- /dev/null +++ b/dist/deb-qt6/gnome/debian.rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +#export DH_COMPAT=4 + +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +DEB_VENDOR := $(shell dpkg-vendor --query vendor) + +VERSION := $(shell cat dist/rpm/VERSION | grep VERSION | sed -e "s/VERSION=\(.*\)/\1/") + +VERSION_MAJOR := $(shell echo $(VERSION) | cut -d'.' -f1) +VERSION_MINOR := $(shell echo $(VERSION) | cut -d'.' -f2) +VERSION_PATCH := $(shell echo $(VERSION) | cut -d'.' -f3) + +BUILD_NUMBER := $(shell cat dist/rpm/VERSION | grep BUILD_NUMBER | sed -e "s/BUILD_NUMBER=\(.*\)/\1/") +GIT_HASH := $(shell cat dist/rpm/VERSION | grep GIT_HASH | sed -e "s/GIT_HASH=\(.*\)/\1/") +GIT_BRANCH := $(shell cat dist/rpm/VERSION | grep GIT_BRANCH | sed -e "s/GIT_BRANCH=\(.*\)/\1/") + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|/usr/bin/SysTray-X|' > SysTray_X.json + + QT_SELECT=5 make OPTIONS="DEFINES+=NO_KDE_INTEGRATION DEFINES+=NO_SHORTCUTS" EXT_VERSION="DEFINES+=EXT_VERSION DEFINES+=APP_VERSION_MAJOR=\\\\\\\\\\\\\\\"$(VERSION_MAJOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_MINOR=\\\\\\\\\\\\\\\"$(VERSION_MINOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_PATCH=\\\\\\\\\\\\\\\"$(VERSION_PATCH)\\\\\\\\\\\\\\\" DEFINES+=APP_BUILD=\\\\\\\\\\\\\\\"$(BUILD_NUMBER)\\\\\\\\\\\\\\\" DEFINES+=APP_GITHASH=\\\\\\\\\\\\\\\"$(GIT_HASH)\\\\\\\\\\\\\\\" DEFINES+=APP_GITBRANCH=\\\\\\\\\\\\\\\"$(GIT_BRANCH)\\\\\\\\\\\\\\\"" + + # --- end custom part for compiling + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + make clean || true + # --- end custom part for cleaning up + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package + # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/ + + mkdir -p /usr/src/packages/BUILD/debian/systray-x-gnome/usr/bin + cp -f SysTray-X /usr/src/packages/BUILD/debian/systray-x-gnome/usr/bin/SysTray-X + + mkdir -p /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/mozilla/native-messaging-hosts + cp -f SysTray_X.json /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/mozilla/native-messaging-hosts/SysTray_X.json + +ifeq (Debian,$(DEB_VENDOR)) + mkdir -p /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/thunderbird-addons/extensions + cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi + mkdir -p /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/thunderbird/extensions + cd /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/thunderbird/extensions ;\ + ln -sf ../../thunderbird-addons/extensions/systray-x@Ximi1970.xpi systray-x@Ximi1970.xpi +else + mkdir -p /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/thunderbird-addons/extensions + cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x-gnome/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi +endif + + # --- end custom part for installing + +# Build architecture-independent files here. +binary-indep: build install + # We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary installing diff --git a/dist/deb-qt6/gnome/systray-x-gnome.dsc b/dist/deb-qt6/gnome/systray-x-gnome.dsc new file mode 100644 index 0000000..fac2071 --- /dev/null +++ b/dist/deb-qt6/gnome/systray-x-gnome.dsc @@ -0,0 +1,7 @@ +Format: 1.0 +Source: systray-x-gnome +Version: 0.9.9-1 +Binary: systray-x-gnome +Maintainer: Maxime Rijnders +Architecture: any +Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, thunderbird diff --git a/dist/deb-qt6/kde/debian.changelog b/dist/deb-qt6/kde/debian.changelog new file mode 100644 index 0000000..6e4de3c --- /dev/null +++ b/dist/deb-qt6/kde/debian.changelog @@ -0,0 +1,100 @@ +systray-x (0.9.9-1) unstable; urgency=low + + * Update to 0.9.9 + + - Qt 6 fixes + +systray-x (0.9.8-1) unstable; urgency=low + + * Update to 0.9.8 + + - Fixed / refactored multi window handling + - Added an option to add a shortcut key for show / hide + - Bugfixes + +systray-x (0.9.7-0) unstable; urgency=low + + * Update to 0.9.7 + + - Added option for new TB115 mail counting (slow with new mails enabled) + - Bugfixes + +systray-x (0.9.6-0) unstable; urgency=low + + * Update to 0.9.6 + + - Added option to show a new mail indicator or icon shading + - Added option to launch an app on start and close + - Refactored windows state handling + - Refactored mail counting + - Bugfixes + +systray-x (0.9.5-0) unstable; urgency=low + + * Update to 0.9.5 + + - Bugfixes + +systray-x (0.9.4-0) unstable; urgency=low + + * Update to 0.9.4 + + - Separate minimize, close and icon action + - Use new icon for new TB version + +systray-x (0.9.3-0) unstable; urgency=low + + * Update to 0.9.3 + + - New TB version + +systray-x (0.9.2-0) unstable; urgency=low + + * Update to 0.9.2 + + - Bug fixes + +systray-x (0.9.1-0) unstable; urgency=low + + * Update to 0.9.1 + + - Bug fixes + +systray-x (0.9.0-0) unstable; urgency=low + + * Update to 0.9.0 + + - Update for TB 102 + - Bug fixes + +systray-x (0.8.0-0) unstable; urgency=low + + * Update to 0.8.0 + + - Refactor for TB 91 + +systray-x (0.5.0-0) unstable; urgency=low + + * Update to 0.5.0 + + - Added translations logic + - Languages: + - de + - en_US + - nl + - pt_BR (by PutinVladimir) + - ru_RU (by fabianski7) + + -- Maxime Rijnders Maxime Rijnders Sat, 07 Nov 2020 23:37:00 +0100 + +systray-x (0.4.0-0) unstable; urgency=low + + * Update to 0.4.0 + + -- Maxime Rijnders Maxime Rijnders Sat, 10 Oct 2020 14:10:00 +0100 + +systray-x (0.0.1-0) unstable; urgency=low + + * Initial Release + + -- Maxime Rijnders Maxime Rijnders Tue, 11 Feb 2020 19:05:19 +0100 diff --git a/dist/deb-qt6/kde/debian.compat b/dist/deb-qt6/kde/debian.compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/dist/deb-qt6/kde/debian.compat @@ -0,0 +1 @@ +10 diff --git a/dist/deb-qt6/kde/debian.control b/dist/deb-qt6/kde/debian.control new file mode 100644 index 0000000..a18fbbf --- /dev/null +++ b/dist/deb-qt6/kde/debian.control @@ -0,0 +1,22 @@ +Source: systray-x +Section: misc +Priority: optional +Maintainer: Maxime Rijnders +Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, libkf5notifications-dev, thunderbird + +Package: systray-x +Architecture: any +Depends: ${shlibs:Depends}, thunderbird (>= 1:91), thunderbird (< 1:121) +Description: SysTray-X is a system tray extension for Thunderbird (KDE). + This version is optimized for the KDE desktop. + The add-on uses the WebExtension API's to control an external system + dependent system tray application. + The add-on and system tray application can do: + * custom new mail icon + * display number of unread /new mails + * optional new mail indicator (icon or shading) + * run app on start or close + * show / hide Thunderbird (minimize) + * minimizing hides to tray + * minimize on startup + * minimize on close diff --git a/dist/deb-qt6/kde/debian.rules b/dist/deb-qt6/kde/debian.rules new file mode 100644 index 0000000..ba3a3e3 --- /dev/null +++ b/dist/deb-qt6/kde/debian.rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +#export DH_COMPAT=4 + +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +DEB_VENDOR := $(shell dpkg-vendor --query vendor) + +VERSION := $(shell cat dist/rpm/VERSION | grep VERSION | sed -e "s/VERSION=\(.*\)/\1/") + +VERSION_MAJOR := $(shell echo $(VERSION) | cut -d'.' -f1) +VERSION_MINOR := $(shell echo $(VERSION) | cut -d'.' -f2) +VERSION_PATCH := $(shell echo $(VERSION) | cut -d'.' -f3) + +BUILD_NUMBER := $(shell cat dist/rpm/VERSION | grep BUILD_NUMBER | sed -e "s/BUILD_NUMBER=\(.*\)/\1/") +GIT_HASH := $(shell cat dist/rpm/VERSION | grep GIT_HASH | sed -e "s/GIT_HASH=\(.*\)/\1/") +GIT_BRANCH := $(shell cat dist/rpm/VERSION | grep GIT_BRANCH | sed -e "s/GIT_BRANCH=\(.*\)/\1/") + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|/usr/bin/SysTray-X|' > SysTray_X.json + + QT_SELECT=5 make EXT_VERSION="DEFINES+=EXT_VERSION DEFINES+=APP_VERSION_MAJOR=\\\\\\\\\\\\\\\"$(VERSION_MAJOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_MINOR=\\\\\\\\\\\\\\\"$(VERSION_MINOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_PATCH=\\\\\\\\\\\\\\\"$(VERSION_PATCH)\\\\\\\\\\\\\\\" DEFINES+=APP_BUILD=\\\\\\\\\\\\\\\"$(BUILD_NUMBER)\\\\\\\\\\\\\\\" DEFINES+=APP_GITHASH=\\\\\\\\\\\\\\\"$(GIT_HASH)\\\\\\\\\\\\\\\" DEFINES+=APP_GITBRANCH=\\\\\\\\\\\\\\\"$(GIT_BRANCH)\\\\\\\\\\\\\\\"" + + # --- end custom part for compiling + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + make clean || true + # --- end custom part for cleaning up + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package + # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/ + + mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/bin + cp -f SysTray-X /usr/src/packages/BUILD/debian/systray-x/usr/bin/SysTray-X + + mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/mozilla/native-messaging-hosts + cp -f SysTray_X.json /usr/src/packages/BUILD/debian/systray-x/usr/lib/mozilla/native-messaging-hosts/SysTray_X.json + +ifeq (Debian,$(DEB_VENDOR)) + mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions + cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi + mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird/extensions + cd /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird/extensions ;\ + ln -sf ../../thunderbird-addons/extensions/systray-x@Ximi1970.xpi systray-x@Ximi1970.xpi +else + mkdir -p /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions + cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi +endif + + # --- end custom part for installing + +# Build architecture-independent files here. +binary-indep: build install + # We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary installing diff --git a/dist/deb-qt6/kde/systray-x.dsc b/dist/deb-qt6/kde/systray-x.dsc new file mode 100644 index 0000000..7b4b37e --- /dev/null +++ b/dist/deb-qt6/kde/systray-x.dsc @@ -0,0 +1,7 @@ +Format: 1.0 +Source: systray-x +Version: 0.9.9-1 +Binary: SysTray-X +Maintainer: Maxime Rijnders +Architecture: any +Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, libkf5notifications-dev, thunderbird diff --git a/dist/deb-qt6/minimal/debian.changelog b/dist/deb-qt6/minimal/debian.changelog new file mode 100644 index 0000000..90ccf3f --- /dev/null +++ b/dist/deb-qt6/minimal/debian.changelog @@ -0,0 +1,100 @@ +systray-x-minimal (0.9.9-1) unstable; urgency=low + + * Update to 0.9.9 + + - Qt 6 fixes + +systray-x-minimal (0.9.8-1) unstable; urgency=low + + * Update to 0.9.8 + + - Fixed / refactored multi window handling + - Added an option to add a shortcut key for show / hide + - Bugfixes + +systray-x-minimal (0.9.7-0) unstable; urgency=low + + * Update to 0.9.7 + + - Added option for new TB115 mail counting (slow with new mails enabled) + - Bugfixes + +systray-x-minimal (0.9.6-0) unstable; urgency=low + + * Update to 0.9.6 + + - Added option to show a new mail indicator or icon shading + - Added option to launch an app on start and close + - Refactored windows state handling + - Refactored mail counting + - Bugfixes + +systray-x-minimal (0.9.5-0) unstable; urgency=low + + * Update to 0.9.5 + + - Bugfixes + +systray-x-minimal (0.9.4-0) unstable; urgency=low + + * Update to 0.9.4 + + - Separate minimize, close and icon action + - Use new icon for new TB version + +systray-x-minimal (0.9.3-0) unstable; urgency=low + + * Update to 0.9.3 + + - New TB version + +systray-x-minimal (0.9.2-0) unstable; urgency=low + + * Update to 0.9.2 + + - Bug fixes + +systray-x-minimal (0.9.1-0) unstable; urgency=low + + * Update to 0.9.1 + + - Bug fixes + +systray-x-minimal (0.9.0-0) unstable; urgency=low + + * Update to 0.9.0 + + - Update for TB 102 + - Bug fixes + +systray-x-minimal (0.8.0-0) unstable; urgency=low + + * Update to 0.8.0 + + - Refactor for TB 91 + +systray-x-minimal (0.5.0-0) unstable; urgency=low + + * Update to 0.5.0 + + - Added translations logic + - Languages: + - de + - en_US + - nl + - pt_BR (by PutinVladimir) + - ru_RU (by fabianski7) + + -- Maxime Rijnders Maxime Rijnders Sat, 07 Nov 2020 23:37:00 +0100 + +systray-x-minimal (0.4.0-0) unstable; urgency=low + + * Update to 0.4.0 + + -- Maxime Rijnders Maxime Rijnders Sat, 10 Oct 2020 14:10:00 +0100 + +systray-x-minimal (0.0.1-0) unstable; urgency=low + + * Initial Release + + -- Maxime Rijnders Maxime Rijnders Tue, 11 Feb 2020 19:05:19 +0100 diff --git a/dist/deb-qt6/minimal/debian.compat b/dist/deb-qt6/minimal/debian.compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/dist/deb-qt6/minimal/debian.compat @@ -0,0 +1 @@ +10 diff --git a/dist/deb-qt6/minimal/debian.control b/dist/deb-qt6/minimal/debian.control new file mode 100644 index 0000000..e40da13 --- /dev/null +++ b/dist/deb-qt6/minimal/debian.control @@ -0,0 +1,22 @@ +Source: systray-x-minimal +Section: misc +Priority: optional +Maintainer: Maxime Rijnders +Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, thunderbird + +Package: systray-x-minimal +Architecture: any +Depends: ${shlibs:Depends}, thunderbird (>= 1:91), thunderbird (< 1:121) +Description: SysTray-X is a system tray extension for Thunderbird (non-GNOME,non-KDE). + This version is for non-KDE and non-GNOME desktops. + The add-on uses the WebExtension API's to control an external system + dependent system tray application. + The add-on and system tray application can do: + * custom new mail icon + * display number of unread /new mails + * optional new mail indicator (icon or shading) + * run app on start or close + * show / hide Thunderbird (minimize) + * minimizing hides to tray + * minimize on startup + * minimize on close diff --git a/dist/deb-qt6/minimal/debian.rules b/dist/deb-qt6/minimal/debian.rules new file mode 100644 index 0000000..999aabf --- /dev/null +++ b/dist/deb-qt6/minimal/debian.rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +#export DH_COMPAT=4 + +CFLAGS = -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +DEB_VENDOR := $(shell dpkg-vendor --query vendor) + +VERSION := $(shell cat dist/rpm/VERSION | grep VERSION | sed -e "s/VERSION=\(.*\)/\1/") + +VERSION_MAJOR := $(shell echo $(VERSION) | cut -d'.' -f1) +VERSION_MINOR := $(shell echo $(VERSION) | cut -d'.' -f2) +VERSION_PATCH := $(shell echo $(VERSION) | cut -d'.' -f3) + +BUILD_NUMBER := $(shell cat dist/rpm/VERSION | grep BUILD_NUMBER | sed -e "s/BUILD_NUMBER=\(.*\)/\1/") +GIT_HASH := $(shell cat dist/rpm/VERSION | grep GIT_HASH | sed -e "s/GIT_HASH=\(.*\)/\1/") +GIT_BRANCH := $(shell cat dist/rpm/VERSION | grep GIT_BRANCH | sed -e "s/GIT_BRANCH=\(.*\)/\1/") + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + sed < app/config/linux/SysTray_X.json.template -e 's|SYSTRAY_X_PATH|/usr/bin/SysTray-X|' > SysTray_X.json + + QT_SELECT=5 make OPTIONS="DEFINES+=NO_KDE_INTEGRATION" EXT_VERSION="DEFINES+=EXT_VERSION DEFINES+=APP_VERSION_MAJOR=\\\\\\\\\\\\\\\"$(VERSION_MAJOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_MINOR=\\\\\\\\\\\\\\\"$(VERSION_MINOR)\\\\\\\\\\\\\\\" DEFINES+=APP_VERSION_PATCH=\\\\\\\\\\\\\\\"$(VERSION_PATCH)\\\\\\\\\\\\\\\" DEFINES+=APP_BUILD=\\\\\\\\\\\\\\\"$(BUILD_NUMBER)\\\\\\\\\\\\\\\" DEFINES+=APP_GITHASH=\\\\\\\\\\\\\\\"$(GIT_HASH)\\\\\\\\\\\\\\\" DEFINES+=APP_GITBRANCH=\\\\\\\\\\\\\\\"$(GIT_BRANCH)\\\\\\\\\\\\\\\"" + + # --- end custom part for compiling + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + make clean || true + # --- end custom part for cleaning up + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package + # The DESTDIR Has To Be Exactly /usr/src/packages/BUILD/debian/ + + mkdir -p /usr/src/packages/BUILD/debian/systray-x-minimal/usr/bin + cp -f SysTray-X /usr/src/packages/BUILD/debian/systray-x-minimal/usr/bin/SysTray-X + + mkdir -p /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/mozilla/native-messaging-hosts + cp -f SysTray_X.json /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/mozilla/native-messaging-hosts/SysTray_X.json + +ifeq (Debian,$(DEB_VENDOR)) + mkdir -p /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/thunderbird-addons/extensions + cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi + mkdir -p /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/thunderbird/extensions + cd /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/thunderbird/extensions ;\ + ln -sf ../../thunderbird-addons/extensions/systray-x@Ximi1970.xpi systray-x@Ximi1970.xpi +else + mkdir -p /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/thunderbird-addons/extensions + cp -f systray-x@Ximi1970.xpi /usr/src/packages/BUILD/debian/systray-x-minimal/usr/lib/thunderbird-addons/extensions/systray-x@Ximi1970.xpi +endif + + # --- end custom part for installing + +# Build architecture-independent files here. +binary-indep: build install + # We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary installing diff --git a/dist/deb-qt6/minimal/systray-x-minimal.dsc b/dist/deb-qt6/minimal/systray-x-minimal.dsc new file mode 100644 index 0000000..07c2d61 --- /dev/null +++ b/dist/deb-qt6/minimal/systray-x-minimal.dsc @@ -0,0 +1,7 @@ +Format: 1.0 +Source: systray-x-minimal +Version: 0.9.9-1 +Binary: systray-x-minimal +Maintainer: Maxime Rijnders +Architecture: any +Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, thunderbird diff --git a/dist/deb/gnome/debian.changelog b/dist/deb/gnome/debian.changelog index 734f9f5..2afa477 100644 --- a/dist/deb/gnome/debian.changelog +++ b/dist/deb/gnome/debian.changelog @@ -1,3 +1,9 @@ +systray-x-gnome (0.9.9-1) unstable; urgency=low + + * Update to 0.9.9 + + - Qt 6 fixes + systray-x-gnome (0.9.8-1) unstable; urgency=low * Update to 0.9.8 diff --git a/dist/deb/gnome/systray-x-gnome.dsc b/dist/deb/gnome/systray-x-gnome.dsc index 9294f7d..9af3a77 100644 --- a/dist/deb/gnome/systray-x-gnome.dsc +++ b/dist/deb/gnome/systray-x-gnome.dsc @@ -1,6 +1,6 @@ Format: 1.0 Source: systray-x-gnome -Version: 0.9.8-1 +Version: 0.9.9-1 Binary: systray-x-gnome Maintainer: Maxime Rijnders Architecture: any diff --git a/dist/deb/kde/debian.changelog b/dist/deb/kde/debian.changelog index c870a3a..6e4de3c 100644 --- a/dist/deb/kde/debian.changelog +++ b/dist/deb/kde/debian.changelog @@ -1,3 +1,9 @@ +systray-x (0.9.9-1) unstable; urgency=low + + * Update to 0.9.9 + + - Qt 6 fixes + systray-x (0.9.8-1) unstable; urgency=low * Update to 0.9.8 diff --git a/dist/deb/kde/systray-x.dsc b/dist/deb/kde/systray-x.dsc index 5bf2a4a..d58cfb2 100644 --- a/dist/deb/kde/systray-x.dsc +++ b/dist/deb/kde/systray-x.dsc @@ -1,6 +1,6 @@ Format: 1.0 Source: systray-x -Version: 0.9.8-1 +Version: 0.9.9-1 Binary: SysTray-X Maintainer: Maxime Rijnders Architecture: any diff --git a/dist/deb/minimal/debian.changelog b/dist/deb/minimal/debian.changelog index 26261f1..90ccf3f 100644 --- a/dist/deb/minimal/debian.changelog +++ b/dist/deb/minimal/debian.changelog @@ -1,3 +1,9 @@ +systray-x-minimal (0.9.9-1) unstable; urgency=low + + * Update to 0.9.9 + + - Qt 6 fixes + systray-x-minimal (0.9.8-1) unstable; urgency=low * Update to 0.9.8 diff --git a/dist/deb/minimal/systray-x-minimal.dsc b/dist/deb/minimal/systray-x-minimal.dsc index 44b1994..c946a85 100644 --- a/dist/deb/minimal/systray-x-minimal.dsc +++ b/dist/deb/minimal/systray-x-minimal.dsc @@ -1,6 +1,6 @@ Format: 1.0 Source: systray-x-minimal -Version: 0.9.8-1 +Version: 0.9.9-1 Binary: systray-x-minimal Maintainer: Maxime Rijnders Architecture: any diff --git a/dist/rpm/gnome/systray-x-gnome.changes b/dist/rpm/gnome/systray-x-gnome.changes index 6e7bd78..4e22911 100644 --- a/dist/rpm/gnome/systray-x-gnome.changes +++ b/dist/rpm/gnome/systray-x-gnome.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 2 21:32:00 UTC 2023 - Maxime Rijnders + + * Update to 0.9.9 + + - Qt 6 fixes + ------------------------------------------------------------------- Sun Dec 10 13:24:00 UTC 2023 - Maxime Rijnders diff --git a/dist/rpm/kde/systray-x.changes b/dist/rpm/kde/systray-x.changes index 6e7bd78..4e22911 100644 --- a/dist/rpm/kde/systray-x.changes +++ b/dist/rpm/kde/systray-x.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 2 21:32:00 UTC 2023 - Maxime Rijnders + + * Update to 0.9.9 + + - Qt 6 fixes + ------------------------------------------------------------------- Sun Dec 10 13:24:00 UTC 2023 - Maxime Rijnders diff --git a/dist/rpm/minimal/systray-x-minimal.changes b/dist/rpm/minimal/systray-x-minimal.changes index 6e7bd78..4e22911 100644 --- a/dist/rpm/minimal/systray-x-minimal.changes +++ b/dist/rpm/minimal/systray-x-minimal.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Apr 2 21:32:00 UTC 2023 - Maxime Rijnders + + * Update to 0.9.9 + + - Qt 6 fixes + ------------------------------------------------------------------- Sun Dec 10 13:24:00 UTC 2023 - Maxime Rijnders