mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-01-22 23:22:03 +01:00
Update installers for GNOME
This commit is contained in:
@@ -19,9 +19,15 @@ OBS_RPM_ARCHS+="SLE_15/x86_64 "
|
||||
OBS_RPM_PKS+="sle150 "
|
||||
OBS_RPM_ARCHS+="SLE_15_SP1/x86_64 "
|
||||
OBS_RPM_PKS+="sle151 "
|
||||
OBS_RPM_ARCHS+="Fedora_31/x86_64 "
|
||||
OBS_RPM_PKS+="fed31 "
|
||||
|
||||
OBS_DEB_ARCHS=""
|
||||
OBS_DEB_PKS=""
|
||||
OBS_DEB_ARCHS+="Debian_10/i386 "
|
||||
OBS_DEB_PKS+="deb10 "
|
||||
OBS_DEB_ARCHS+="Debian_10/amd64 "
|
||||
OBS_DEB_PKS+="deb10 "
|
||||
OBS_DEB_ARCHS+="xUbuntu_18.04/i386 "
|
||||
OBS_DEB_PKS+="bionic1804 "
|
||||
OBS_DEB_ARCHS+="xUbuntu_18.04/amd64 "
|
||||
@@ -50,7 +56,7 @@ for rpmdir in $OBS_RPM_ARCHS ; do
|
||||
#
|
||||
# Find rpm
|
||||
#
|
||||
RPM_FILE=`grep ">systray.*<" index.html | sed -e "s/.*>\(systray-x.*rpm\)<.*/\1/"`
|
||||
RPM_FILE=`grep ">systray-x-[^d].*<" index.html | sed -e "s/.*>\(systray-x-[^d].*rpm\)<.*/\1/"`
|
||||
rm -f index.html
|
||||
|
||||
echo $rpmdir/$RPM_FILE
|
||||
@@ -121,6 +127,17 @@ for rpmdir in $OBS_RPM_ARCHS ; do
|
||||
# Create installer
|
||||
#
|
||||
cp -f ../dist/install.sh SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert gnome setup
|
||||
#
|
||||
DISTRO=`echo $rpmdir | cut -d'/' -f1`
|
||||
sed -i -e "/__GNOME_SETUP__/r../dist/install.$DISTRO.sh" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
sed -i -e "s/__GNOME_SETUP__//" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert install tar
|
||||
#
|
||||
cat $PACKAGE_NAME.tar.xz >> SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
chmod 755 SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
@@ -215,6 +232,17 @@ for debdir in $OBS_DEB_ARCHS ; do
|
||||
# Create installer
|
||||
#
|
||||
cp -f ../dist/install.sh SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert gnome setup
|
||||
#
|
||||
DISTRO=`echo $rpmdir | cut -d'/' -f1`
|
||||
sed -i -e "/__GNOME_SETUP__/r../dist/install.$DISTRO.sh" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
sed -i -e "s/__GNOME_SETUP__//" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert install tar
|
||||
#
|
||||
cat $PACKAGE_NAME.tar.xz >> SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
chmod 755 SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
|
||||
@@ -5,8 +5,10 @@ VERSION="0~git.*"
|
||||
OBS_BASE="https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons:/Staging:/Test"
|
||||
OBS_PACKAGE="systray-x"
|
||||
|
||||
OBS_RPM_ARCHS="openSUSE_Leap_15.1/x86_64 "
|
||||
OBS_RPM_PKS="_ "
|
||||
OBS_RPM_ARCHS=""
|
||||
OBS_RPM_PKS=""
|
||||
OBS_RPM_ARCHS+="openSUSE_Leap_15.1/x86_64 "
|
||||
OBS_RPM_PKS+="_ "
|
||||
OBS_RPM_ARCHS+="openSUSE_Leap_15.2/x86_64 "
|
||||
OBS_RPM_PKS+="_ "
|
||||
OBS_RPM_ARCHS+="openSUSE_Tumbleweed/i586 "
|
||||
@@ -17,9 +19,14 @@ OBS_RPM_ARCHS+="SLE_15/x86_64 "
|
||||
OBS_RPM_PKS+="sle150 "
|
||||
OBS_RPM_ARCHS+="SLE_15_SP1/x86_64 "
|
||||
OBS_RPM_PKS+="sle151 "
|
||||
OBS_RPM_ARCHS+="Fedora_31/x86_64 "
|
||||
OBS_RPM_PKS+="fed31 "
|
||||
|
||||
OBS_DEB_ARCHS="Debian_10/i386 "
|
||||
OBS_DEB_PKS="deb10 "
|
||||
|
||||
OBS_DEB_ARCHS=""
|
||||
OBS_DEB_PKS=""
|
||||
OBS_DEB_ARCHS+="Debian_10/i386 "
|
||||
OBS_DEB_PKS+="deb10 "
|
||||
OBS_DEB_ARCHS+="Debian_10/amd64 "
|
||||
OBS_DEB_PKS+="deb10 "
|
||||
OBS_DEB_ARCHS+="xUbuntu_18.04/i386 "
|
||||
@@ -50,7 +57,7 @@ for rpmdir in $OBS_RPM_ARCHS ; do
|
||||
#
|
||||
# Find rpm
|
||||
#
|
||||
RPM_FILE=`grep ">systray.*<" index.html | sed -e "s/.*>\(systray-x.*rpm\)<.*/\1/"`
|
||||
RPM_FILE=`grep ">systray-x-[^d].*<" index.html | sed -e "s/.*>\(systray-x-[^d].*rpm\)<.*/\1/"`
|
||||
rm -f index.html
|
||||
|
||||
echo $rpmdir/$RPM_FILE
|
||||
@@ -117,6 +124,17 @@ for rpmdir in $OBS_RPM_ARCHS ; do
|
||||
# Create installer
|
||||
#
|
||||
cp -f ../dist/install.sh SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert gnome setup
|
||||
#
|
||||
DISTRO=`echo $rpmdir | cut -d'/' -f1`
|
||||
sed -i -e "/__GNOME_SETUP__/r../dist/install.$DISTRO.sh" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
sed -i -e "s/__GNOME_SETUP__//" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert install tar
|
||||
#
|
||||
cat $PACKAGE_NAME.tar.xz >> SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
chmod 755 SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
@@ -132,7 +150,6 @@ for rpmdir in $OBS_RPM_ARCHS ; do
|
||||
INDEX=$((INDEX+1))
|
||||
done
|
||||
|
||||
|
||||
#
|
||||
# Create bash installers for DEB based distributions
|
||||
#
|
||||
@@ -211,6 +228,17 @@ for debdir in $OBS_DEB_ARCHS ; do
|
||||
# Create installer
|
||||
#
|
||||
cp -f ../dist/install.sh SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert gnome setup
|
||||
#
|
||||
DISTRO=`echo $rpmdir | cut -d'/' -f1`
|
||||
sed -i -e "/__GNOME_SETUP__/r../dist/install.$DISTRO.sh" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
sed -i -e "s/__GNOME_SETUP__//" SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
#
|
||||
# Insert install tar
|
||||
#
|
||||
cat $PACKAGE_NAME.tar.xz >> SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
chmod 755 SysTray-X-$FOUND_VERSION-$BASE_NAME-install.sh
|
||||
|
||||
|
||||
21
dist/install.Debian_10.sh
vendored
Normal file
21
dist/install.Debian_10.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.Fedora_31.sh
vendored
Normal file
21
dist/install.Fedora_31.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e appindicatorsupport@rgcjonas.gmail.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.SLE_15.sh
vendored
Normal file
21
dist/install.SLE_15.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e appindicatorsupport@rgcjonas.gmail.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.SLE_15_SP1.sh
vendored
Normal file
21
dist/install.SLE_15_SP1.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e appindicatorsupport@rgcjonas.gmail.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.openSUSE_Leap_15.1.sh
vendored
Normal file
21
dist/install.openSUSE_Leap_15.1.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e appindicatorsupport@rgcjonas.gmail.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.openSUSE_Leap_15.2.sh
vendored
Normal file
21
dist/install.openSUSE_Leap_15.2.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e appindicatorsupport@rgcjonas.gmail.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.openSUSE_Tumbleweed.sh
vendored
Normal file
21
dist/install.openSUSE_Tumbleweed.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e appindicatorsupport@rgcjonas.gmail.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
1
dist/install.sh
vendored
1
dist/install.sh
vendored
@@ -113,6 +113,7 @@ for i in `grep "Path=" $PROFILES/profiles.ini | sed -e "s/Path=//"` ; do
|
||||
mkdir -p $PROFILES/$i/extensions
|
||||
cp -f ${DESTINATION}/systray-x@Ximi1970.xpi $PROFILES/$i/extensions
|
||||
done
|
||||
__GNOME_SETUP__
|
||||
|
||||
#
|
||||
# Done
|
||||
|
||||
21
dist/install.xUbuntu_18.04.sh
vendored
Normal file
21
dist/install.xUbuntu_18.04.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.xUbuntu_19.04.sh
vendored
Normal file
21
dist/install.xUbuntu_19.04.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
21
dist/install.xUbuntu_19.10.sh
vendored
Normal file
21
dist/install.xUbuntu_19.10.sh
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
enableGnomeExtension() {
|
||||
EXTENSION="ubuntu-appindicator@ubuntu.com"
|
||||
PACKAGE="gnome-shell-extension-appindicator"
|
||||
ENABLE_CMD="gnome-shell-extension-tool -e ubuntu-appindicator@ubuntu.com"
|
||||
#
|
||||
# Is the extension installed?
|
||||
#
|
||||
if [ -d /usr/share/gnome-shell/extensions/$EXTENSION ] || [ -d ~/.local/share/gnome-shell/extensions/$EXTENSION ] ; then
|
||||
$ENABLE_CMD
|
||||
else
|
||||
echo "Please install: "$PACKAGE
|
||||
echo "And run: "$ENABLE_CMD
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Enable the gnome shell extension for the local user
|
||||
#
|
||||
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
|
||||
enableGnomeExtension
|
||||
fi
|
||||
Reference in New Issue
Block a user