Add Fedora 33 and Ubuntu 20.10

This commit is contained in:
Ximi1970
2020-10-31 20:40:32 +01:00
parent 51338c4317
commit df5498561a
16 changed files with 298 additions and 3 deletions

View File

@@ -94,6 +94,15 @@ sudo zypper in systray-x-minimal
Installing the repository:
###### 20.10
```bash
wget -q https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_20.10/Release.key
sudo apt-key add Release.key
sudo bash -c 'echo "deb https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/xUbuntu_20.10 ./" > /etc/apt/sources.list.d/systray-x.list'
sudo apt update
```
###### 20.04 LTS
```bash
@@ -191,6 +200,13 @@ sudo apt install systray-x-gnome
Installing the repository:
###### 33
```bash
sudo dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Ximi1970:/Mozilla:/Add-ons/Fedora_33/home:Ximi1970:Mozilla:Add-ons.repo
sudo dnf update --refresh
```
###### 32
```bash

View File

@@ -39,6 +39,9 @@ OBS_RPM_GNOME_EXT+="v34 "
OBS_RPM_ARCHS+="Fedora_32/x86_64 "
OBS_RPM_PKS+="fed32 "
OBS_RPM_GNOME_EXT+="master "
OBS_RPM_ARCHS+="Fedora_33/x86_64 "
OBS_RPM_PKS+="fed33 "
OBS_RPM_GNOME_EXT+="master "
OBS_DEB_ARCHS=""
@@ -68,6 +71,9 @@ OBS_DEB_GNOME_EXT+="v26 "
OBS_DEB_ARCHS+="xUbuntu_20.04/amd64 "
OBS_DEB_PKS+="focal2004 "
OBS_DEB_GNOME_EXT+="0 "
OBS_DEB_ARCHS+="xUbuntu_20.10/amd64 "
OBS_DEB_PKS+="groovy2010 "
OBS_DEB_GNOME_EXT+="0 "
create_gnome_extension_tar() {

View File

@@ -27,6 +27,8 @@ OBS_RPM_ARCHS+="Fedora_31/x86_64 "
OBS_RPM_PKS+="fed31 "
OBS_RPM_ARCHS+="Fedora_32/x86_64 "
OBS_RPM_PKS+="fed32 "
OBS_RPM_ARCHS+="Fedora_33/x86_64 "
OBS_RPM_PKS+="fed33 "
OBS_DEB_ARCHS=""
@@ -47,6 +49,8 @@ OBS_DEB_ARCHS+="xUbuntu_19.10/amd64 "
OBS_DEB_PKS+="eoan1910 "
OBS_DEB_ARCHS+="xUbuntu_20.04/amd64 "
OBS_DEB_PKS+="focal2004 "
OBS_DEB_ARCHS+="xUbuntu_20.10/amd64 "
OBS_DEB_PKS+="groovy2010 "
create_rpm_tar() {

View File

@@ -27,6 +27,8 @@ OBS_RPM_ARCHS+="Fedora_31/x86_64 "
OBS_RPM_PKS+="fed31 "
OBS_RPM_ARCHS+="Fedora_32/x86_64 "
OBS_RPM_PKS+="fed32 "
OBS_RPM_ARCHS+="Fedora_33/x86_64 "
OBS_RPM_PKS+="fed33 "
OBS_DEB_ARCHS=""
@@ -47,6 +49,8 @@ OBS_DEB_ARCHS+="xUbuntu_19.10/amd64 "
OBS_DEB_PKS+="eoan1910 "
OBS_DEB_ARCHS+="xUbuntu_20.04/amd64 "
OBS_DEB_PKS+="focal2004 "
OBS_DEB_ARCHS+="xUbuntu_20.10/amd64 "
OBS_DEB_PKS+="groovy2010 "
create_rpm_tar() {

View File

@@ -39,6 +39,9 @@ OBS_RPM_GNOME_EXT+="v34 "
OBS_RPM_ARCHS+="Fedora_32/x86_64 "
OBS_RPM_PKS+="fed32 "
OBS_RPM_GNOME_EXT+="master "
OBS_RPM_ARCHS+="Fedora_33/x86_64 "
OBS_RPM_PKS+="fed33 "
OBS_RPM_GNOME_EXT+="master "
OBS_DEB_ARCHS=""
@@ -68,6 +71,9 @@ OBS_DEB_GNOME_EXT+="v26 "
OBS_DEB_ARCHS+="xUbuntu_20.04/amd64 "
OBS_DEB_PKS+="focal2004 "
OBS_DEB_GNOME_EXT+="0 "
OBS_DEB_ARCHS+="xUbuntu_20.10/amd64 "
OBS_DEB_PKS+="groovy2010 "
OBS_DEB_GNOME_EXT+="0 "
create_gnome_extension_tar() {

View File

@@ -27,6 +27,8 @@ OBS_RPM_ARCHS+="Fedora_31/x86_64 "
OBS_RPM_PKS+="fed31 "
OBS_RPM_ARCHS+="Fedora_32/x86_64 "
OBS_RPM_PKS+="fed32 "
OBS_RPM_ARCHS+="Fedora_33/x86_64 "
OBS_RPM_PKS+="fed33 "
OBS_DEB_ARCHS=""
@@ -47,6 +49,8 @@ OBS_DEB_ARCHS+="xUbuntu_19.10/amd64 "
OBS_DEB_PKS+="eoan1910 "
OBS_DEB_ARCHS+="xUbuntu_20.04/amd64 "
OBS_DEB_PKS+="focal2004 "
OBS_DEB_ARCHS+="xUbuntu_20.10/amd64 "
OBS_DEB_PKS+="groovy2010 "
create_rpm_tar() {

View File

@@ -27,6 +27,8 @@ OBS_RPM_ARCHS+="Fedora_31/x86_64 "
OBS_RPM_PKS+="fed31 "
OBS_RPM_ARCHS+="Fedora_32/x86_64 "
OBS_RPM_PKS+="fed32 "
OBS_RPM_ARCHS+="Fedora_33/x86_64 "
OBS_RPM_PKS+="fed33 "
OBS_DEB_ARCHS=""
@@ -47,6 +49,8 @@ OBS_DEB_ARCHS+="xUbuntu_19.10/amd64 "
OBS_DEB_PKS+="eoan1910 "
OBS_DEB_ARCHS+="xUbuntu_20.04/amd64 "
OBS_DEB_PKS+="focal2004 "
OBS_DEB_ARCHS+="xUbuntu_20.10/amd64 "
OBS_DEB_PKS+="groovy2010 "
create_rpm_tar() {

View File

@@ -1 +1 @@
5
10

View File

@@ -1 +1 @@
5
10

View File

@@ -1 +1 @@
5
10

59
dist/install.Fedora_33-Gnome.sh vendored Normal file
View File

@@ -0,0 +1,59 @@
enableGnomeExtension() {
EXTENSION="appindicatorsupport@rgcjonas.gmail.com"
PACKAGE="gnome-shell-extension-appindicator"
ENABLE_CMD="/usr/bin/gnome-extensions"
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
#
# Is the extension installed?
#
if [ -d /usr/share/gnome-shell/extensions/${EXTENSION} ] || [ -d ~/.local/share/gnome-shell/extensions/${EXTENSION} ] ; then
if [ -x $ENABLE_CMD ] ; then
$ENABLE_CMD $ENABLE_CMD_OPTIONS
fi
else
mkdir -p ~/.local/share/gnome-shell/extensions
tar -C ~/.local/share/gnome-shell/extensions -xJf ${DESTINATION}/gnome-shell-extension.tar.xz
if [ -x $ENABLE_CMD ] ; then
$ENABLE_CMD $ENABLE_CMD_OPTIONS
fi
fi
echo
echo "Please logout and login to activate the gnome shell extension"
echo
}
#
# Enable the gnome shell extension for the local user
#
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
enableGnomeExtension
#
# Check for Qt
#
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
if [ "$?" == "1" ] ; then
echo
echo "Please install the package qt5-qtbase-gui"
echo
echo "sudo dnf install qt5-qtbase-gui"
echo
fi
else
#
# Check for KDE
#
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
echo
echo "Please use the __KDE_INSTALLER__ installer."
echo "This setup will not work."
echo
else
echo
echo "Please use the __MINIMAL_INSTALLER__ installer."
echo "This setup will not work."
echo
fi
fi

40
dist/install.Fedora_33-Kde.sh vendored Normal file
View File

@@ -0,0 +1,40 @@
##
# Check for Kde
#
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
#
# Check for Qt
#
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
if [ "$?" == "1" ] ; then
echo
echo "Please install the package qt5-qtbase-gui"
echo
echo "sudo dnf install qt5-qtbase-gui"
echo
fi
dnf list installed "kf5*" | grep -q kf5-knotifications
if [ "$?" == "1" ] ; then
echo
echo "Please install the package kf5-knotifications"
echo
echo "sudo dnf install kf5-knotifications"
echo
fi
else
#
# Check for Gnome
#
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
echo
echo "Please use the __GNOME_INSTALLER__ installer."
echo "This setup will not work."
echo
else
echo
echo "Please use the __MINIMAL_INSTALLER__ installer."
echo "This setup will not work."
echo
fi
fi

31
dist/install.Fedora_33.sh vendored Normal file
View File

@@ -0,0 +1,31 @@
#
# Check for Gnome
#
if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ] ; then
echo
echo "Please use the __GNOME_INSTALLER__ installer."
echo "This setup will not work."
echo
else
#
# Check for KDE
#
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
echo
echo "Please use the __KDE_INSTALLER__ installer."
echo "This setup will not work."
echo
else
#
# Check for Qt
#
dnf list installed "qt5-qtbase*" | grep -q qt5-qtbase-gui
if [ "$?" == "1" ] ; then
echo
echo "Please install the package qt5-qtbase-gui"
echo
echo "sudo dnf install qt5-qtbase-gui"
echo
fi
fi
fi

50
dist/install.xUbuntu_20.10-Gnome.sh vendored Normal file
View File

@@ -0,0 +1,50 @@
enableGnomeExtension() {
EXTENSION="ubuntu-appindicator@ubuntu.com"
ENABLE_CMD="/usr/bin/gnome-extensions"
ENABLE_CMD_OPTIONS="enable ${EXTENSION}"
#
# Is the extension installed?
#
if [ -x $ENABLE_CMD ] ; then
$ENABLE_CMD $ENABLE_CMD_OPTIONS
fi
echo
echo "Please logout and login to activate the gnome shell extension"
echo
}
#
# Check for Gnome
#
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
enableGnomeExtension
#
# Check for Qt
#
dpkg -l | grep -q libqt5widgets5
if [ "$?" == "1" ] ; then
echo
echo "Please install the package libqt5widgets5"
echo
echo "sudo apt install libqt5widgets5"
echo
fi
else
#
# Check for KDE
#
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
echo
echo "Please use the __KDE_INSTALLER__ installer."
echo "This setup will not work."
echo
else
echo
echo "Please use the __MINIMAL_INSTALLER__ installer."
echo "This setup will not work."
echo
fi
fi

40
dist/install.xUbuntu_20.10-Kde.sh vendored Normal file
View File

@@ -0,0 +1,40 @@
#
# Check for KDE
#
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
#
# Check for Qt
#
dpkg -l | grep -q libqt5widgets5
if [ "$?" == "1" ] ; then
echo
echo "Please install the package libqt5widgets5"
echo
echo "sudo apt install libqt5widgets5"
echo
fi
dpkg -l | grep -q libkf5notifications5
if [ "$?" == "1" ] ; then
echo
echo "Please install the package libkf5notifications5"
echo
echo "sudo apt install libkf5notifications5"
echo
fi
else
#
# Check for Gnome
#
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
echo
echo "Please use the __GNOME_INSTALLER__ installer."
echo "This setup will not work."
echo
else
echo
echo "Please use the __MINIMAL_INSTALLER__ installer."
echo "This setup will not work."
echo
fi
fi

31
dist/install.xUbuntu_20.10.sh vendored Normal file
View File

@@ -0,0 +1,31 @@
#
# Check for Gnome
#
if [ "$XDG_CURRENT_DESKTOP" == "ubuntu:GNOME" ] ; then
echo
echo "Please use the __GNOME_INSTALLER__ installer."
echo "This setup will not work."
echo
else
#
# Check for KDE
#
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ] ; then
echo
echo "Please use the __KDE_INSTALLER__ installer."
echo "This setup will not work."
echo
else
#
# Check for Qt
#
dpkg -l | grep -q libqt5widgets5
if [ "$?" == "1" ] ; then
echo
echo "Please install the package libqt5widgets5"
echo
echo "sudo apt install libqt5widgets5"
echo
fi
fi
fi