Update tb version

This commit is contained in:
Ximi1970
2021-08-17 22:09:32 +02:00
parent 3384bd06bd
commit 8274939e08
11 changed files with 29 additions and 25 deletions

View File

@@ -12,7 +12,7 @@ depends=(
'qt5-base'
'gnome-shell-extension-appindicator'
'thunderbird>=68'
'thunderbird<=91'
'thunderbird<93'
)
makedepends=(
'git'

View File

@@ -12,7 +12,7 @@ depends=(
'qt5-base'
'knotifications'
'thunderbird>=68'
'thunderbird<=91'
'thunderbird<93'
)
makedepends=(
'git'

View File

@@ -11,7 +11,7 @@ license=(MPL-2.0)
depends=(
'qt5-base'
'thunderbird>=68'
'thunderbird<=91'
'thunderbird<93'
)
makedepends=(
'git'

View File

@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qt5-qmake, qtbase5-d
Package: systray-x-gnome
Architecture: any
Depends: ${shlibs:Depends}, gnome-shell-extension-appindicator, thunderbird (>= 1:68), thunderbird (<= 1:91)
Depends: ${shlibs:Depends}, gnome-shell-extension-appindicator, thunderbird (>= 1:68), thunderbird (< 1:93)
Description: SysTray-X is a system tray extension for Thunderbird 68+ (GNOME).
This version is optimized for the GNOME desktop.
The add-on uses the WebExtension API's to control an external system

View File

@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qt5-qmake, qtbase5-d
Package: systray-x
Architecture: any
Depends: ${shlibs:Depends}, thunderbird (>= 1:68), thunderbird (<= 1:91)
Depends: ${shlibs:Depends}, thunderbird (>= 1:68), thunderbird (< 1:93)
Description: SysTray-X is a system tray extension for Thunderbird 68+ (KDE).
This version is optimized for the KDE desktop.
The add-on uses the WebExtension API's to control an external system

View File

@@ -6,7 +6,7 @@ Build-Depends: debhelper (>= 4.1.16), zip, g++, libx11-dev, qt5-qmake, qtbase5-d
Package: systray-x-minimal
Architecture: any
Depends: ${shlibs:Depends}, thunderbird (>= 1:68), thunderbird (<= 1:91)
Depends: ${shlibs:Depends}, thunderbird (>= 1:68), thunderbird (< 1:93)
Description: SysTray-X is a system tray extension for Thunderbird 68+ (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

View File

@@ -33,10 +33,10 @@ BuildRequires: pkgconfig(x11)
Requires: gnome-shell-extension-appindicator
%if 0%{?fedora_version} || 0%{?centos_version}
Requires: thunderbird >= 68
Requires: thunderbird <= 91
Requires: thunderbird < 93
%else
Requires: MozillaThunderbird >= 68
Requires: MozillaThunderbird <= 91
Requires: MozillaThunderbird < 93
%endif
%description

View File

@@ -34,12 +34,12 @@ BuildRequires: pkgconfig(x11)
BuildRequires: kf5-knotifications-devel
Requires: kf5-knotifications
Requires: thunderbird >= 68
Requires: thunderbird <= 91
Requires: thunderbird < 93
%else
BuildRequires: knotifications-devel
Requires: libKF5Notifications5
Requires: MozillaThunderbird >= 68
Requires: MozillaThunderbird <= 91
Requires: MozillaThunderbird < 93
%endif
%description

View File

@@ -32,10 +32,10 @@ BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(x11)
%if 0%{?fedora_version} || 0%{?centos_version}
Requires: thunderbird >= 68
Requires: thunderbird <= 91
Requires: thunderbird < 93
%else
Requires: MozillaThunderbird >= 68
Requires: MozillaThunderbird <= 91
Requires: MozillaThunderbird < 93
%endif
%description

View File

@@ -1,36 +1,40 @@
#!/bin/bash
VERSION=$1
INCVERSION=$((VERSION+1))
echo "Version: "$VERSION
echo "Version + 1: "$INCVERSION
SERVICE_FILE="./dist/rpm/kde/systray-x.spec"
sed -i -e "s?\(^Requires: thunderbird <= \).*?\1$VERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: MozillaThunderbird <= \).*?\1$VERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: thunderbird < \).*?\1$INCVERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: MozillaThunderbird < \).*?\1$INCVERSION?" $SERVICE_FILE
SERVICE_FILE="./dist/rpm/gnome/systray-x-gnome.spec"
sed -i -e "s?\(^Requires: thunderbird <= \).*?\1$VERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: MozillaThunderbird <= \).*?\1$VERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: thunderbird < \).*?\1$INCVERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: MozillaThunderbird < \).*?\1$INCVERSION?" $SERVICE_FILE
SERVICE_FILE="./dist/rpm/minimal/systray-x-minimal.spec"
sed -i -e "s?\(^Requires: thunderbird <= \).*?\1$VERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: MozillaThunderbird <= \).*?\1$VERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: thunderbird < \).*?\1$INCVERSION?" $SERVICE_FILE
sed -i -e "s?\(^Requires: MozillaThunderbird < \).*?\1$INCVERSION?" $SERVICE_FILE
SERVICE_FILE="./dist/deb/kde/debian.control"
sed -i -e "s?\(^Depends:.*, thunderbird (<= 1:\).*?\1$VERSION)?" $SERVICE_FILE
sed -i -e "s?\(^Depends:.*, thunderbird (< 1:\).*?\1$INCVERSION)?" $SERVICE_FILE
SERVICE_FILE="./dist/deb/gnome/debian.control"
sed -i -e "s?\(^Depends:.*, thunderbird (<= 1:\).*?\1$VERSION)?" $SERVICE_FILE
sed -i -e "s?\(^Depends:.*, thunderbird (< 1:\).*?\1$INCVERSION)?" $SERVICE_FILE
SERVICE_FILE="./dist/deb/minimal/debian.control"
sed -i -e "s?\(^Depends:.*, thunderbird (<= 1:\).*?\1$VERSION)?" $SERVICE_FILE
sed -i -e "s?\(^Depends:.*, thunderbird (< 1:\).*?\1$INCVERSION)?" $SERVICE_FILE
SERVICE_FILE="./dist/arch/kde/PKGBUILD"
sed -i -e "s?\(^.*thunderbird<=\).*?\1$VERSION'?" $SERVICE_FILE
sed -i -e "s?\(^.*thunderbird<\).*?\1$INCVERSION'?" $SERVICE_FILE
SERVICE_FILE="./dist/arch/gnome/PKGBUILD"
sed -i -e "s?\(^.*thunderbird<=\).*?\1$VERSION'?" $SERVICE_FILE
sed -i -e "s?\(^.*thunderbird<\).*?\1$INCVERSION'?" $SERVICE_FILE
SERVICE_FILE="./dist/arch/minimal/PKGBUILD"
sed -i -e "s?\(^.*thunderbird<=\).*?\1$VERSION'?" $SERVICE_FILE
sed -i -e "s?\(^.*thunderbird<\).*?\1$INCVERSION'?" $SERVICE_FILE
MANIFEST_FILE="./webext/manifest.json"
sed -i -e "s?\(^.*\"strict_max_version\": \"\).*\(\.\*\"\)?\1$VERSION\2?" $MANIFEST_FILE

View File

@@ -10,7 +10,7 @@
"gecko": {
"id": "systray-x@Ximi1970",
"strict_min_version": "68.0",
"strict_max_version": "91.*"
"strict_max_version": "92.*"
}
},