Update packages

This commit is contained in:
Ximi1970
2024-04-02 22:46:54 +02:00
parent b7da39e9cd
commit a754c5a59b
25 changed files with 869 additions and 3 deletions

100
dist/deb-qt6/gnome/debian.changelog vendored Normal file
View File

@@ -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 <ximi.obs@gmail.com> 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 <ximi.obs@gmail.com> Sat, 10 Oct 2020 14:10:00 +0100
systray-x-gnome (0.0.1-0) unstable; urgency=low
* Initial Release
-- Maxime Rijnders Maxime Rijnders <ximi.obs@gmail.com> Tue, 11 Feb 2020 19:05:19 +0100

1
dist/deb-qt6/gnome/debian.compat vendored Normal file
View File

@@ -0,0 +1 @@
10

22
dist/deb-qt6/gnome/debian.control vendored Normal file
View File

@@ -0,0 +1,22 @@
Source: systray-x-gnome
Section: misc
Priority: optional
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
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

86
dist/deb-qt6/gnome/debian.postinst vendored Normal file
View File

@@ -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 <<EOF
user-db:user
system-db:local
EOF
fi
DEB_VENDOR=$(cat /etc/dpkg/origins/default | grep Vendor: | sed -e "s/Vendor: //")
case $DEB_VENDOR in
Debian)
EXTENSION="ubuntu-appindicators@ubuntu.com"
;;
Ubuntu)
RELEASE=$(lsb_release -rs)
case $RELEASE in
16.04)
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
;;
*)
EXTENSION="ubuntu-appindicators@ubuntu.com"
;;
esac
;;
*)
EXTENSION="ubuntu-appindicators@ubuntu.com"
;;
esac
CONF_DIR=/etc/dconf/db/local.d
CONF_FILE=00-extensions
if [ -f $CONF_DIR/$CONF_FILE ] ; then
#
# Edit extensions file
#
grep -q $EXTENSION $CONF_DIR/$CONF_FILE
if [ "$?" = "1" ] ; then
sed -i -e "s/\(enabled-extensions=\[.*\)\]/\1, '${EXTENSION}'\]/" $CONF_DIR/$CONF_FILE
fi
else
#
# Generate extensions file
#
mkdir -p $CONF_DIR
echo "[org/gnome/shell]" > $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

117
dist/deb-qt6/gnome/debian.rules vendored Normal file
View File

@@ -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/<nameOfPackage>
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

View File

@@ -0,0 +1,7 @@
Format: 1.0
Source: systray-x-gnome
Version: 0.9.9-1
Binary: systray-x-gnome
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
Architecture: any
Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, thunderbird

100
dist/deb-qt6/kde/debian.changelog vendored Normal file
View File

@@ -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 <ximi.obs@gmail.com> 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 <ximi.obs@gmail.com> Sat, 10 Oct 2020 14:10:00 +0100
systray-x (0.0.1-0) unstable; urgency=low
* Initial Release
-- Maxime Rijnders Maxime Rijnders <ximi.obs@gmail.com> Tue, 11 Feb 2020 19:05:19 +0100

1
dist/deb-qt6/kde/debian.compat vendored Normal file
View File

@@ -0,0 +1 @@
10

22
dist/deb-qt6/kde/debian.control vendored Normal file
View File

@@ -0,0 +1,22 @@
Source: systray-x
Section: misc
Priority: optional
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
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

117
dist/deb-qt6/kde/debian.rules vendored Normal file
View File

@@ -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/<nameOfPackage>
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

7
dist/deb-qt6/kde/systray-x.dsc vendored Normal file
View File

@@ -0,0 +1,7 @@
Format: 1.0
Source: systray-x
Version: 0.9.9-1
Binary: SysTray-X
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
Architecture: any
Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, libkf5notifications-dev, thunderbird

100
dist/deb-qt6/minimal/debian.changelog vendored Normal file
View File

@@ -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 <ximi.obs@gmail.com> 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 <ximi.obs@gmail.com> Sat, 10 Oct 2020 14:10:00 +0100
systray-x-minimal (0.0.1-0) unstable; urgency=low
* Initial Release
-- Maxime Rijnders Maxime Rijnders <ximi.obs@gmail.com> Tue, 11 Feb 2020 19:05:19 +0100

1
dist/deb-qt6/minimal/debian.compat vendored Normal file
View File

@@ -0,0 +1 @@
10

22
dist/deb-qt6/minimal/debian.control vendored Normal file
View File

@@ -0,0 +1,22 @@
Source: systray-x-minimal
Section: misc
Priority: optional
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
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

117
dist/deb-qt6/minimal/debian.rules vendored Normal file
View File

@@ -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/<nameOfPackage>
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

View File

@@ -0,0 +1,7 @@
Format: 1.0
Source: systray-x-minimal
Version: 0.9.9-1
Binary: systray-x-minimal
Maintainer: Maxime Rijnders <ximi.obs@gmail.com>
Architecture: any
Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qmake6, qt6-base-dev, thunderbird

View File

@@ -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

View File

@@ -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 <ximi.obs@gmail.com>
Architecture: any

View File

@@ -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

View File

@@ -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 <ximi.obs@gmail.com>
Architecture: any

View File

@@ -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

View File

@@ -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 <ximi.obs@gmail.com>
Architecture: any

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 2 21:32:00 UTC 2023 - Maxime Rijnders <ximi.obs@gmail.com>
* Update to 0.9.9
- Qt 6 fixes
-------------------------------------------------------------------
Sun Dec 10 13:24:00 UTC 2023 - Maxime Rijnders <ximi.obs@gmail.com>

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 2 21:32:00 UTC 2023 - Maxime Rijnders <ximi.obs@gmail.com>
* Update to 0.9.9
- Qt 6 fixes
-------------------------------------------------------------------
Sun Dec 10 13:24:00 UTC 2023 - Maxime Rijnders <ximi.obs@gmail.com>

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Apr 2 21:32:00 UTC 2023 - Maxime Rijnders <ximi.obs@gmail.com>
* Update to 0.9.9
- Qt 6 fixes
-------------------------------------------------------------------
Sun Dec 10 13:24:00 UTC 2023 - Maxime Rijnders <ximi.obs@gmail.com>