aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorBob Funk <bobfunk11@gmail.com>2023-12-21 11:11:38 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-22 06:52:40 +0700
commit468a12364b36427dcaa53dcf469e50f870663ef1 (patch)
tree7bd3301f78a15528d7a007b0f87f85363a5d861c /desktop
parent1c2cb6fe1633f84f4ba014c482d6d9882f54c041 (diff)
desktop/gnome-session: Update SlackBuild
This update removes a couple duplicate files that were installed by the gnome-session package. Also added aarch64 support to the SlackBuild, in line with the SBo templates. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/gnome-session/gnome-session.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/desktop/gnome-session/gnome-session.SlackBuild b/desktop/gnome-session/gnome-session.SlackBuild
index efa256c6fabac..bf9ca25150383 100644
--- a/desktop/gnome-session/gnome-session.SlackBuild
+++ b/desktop/gnome-session/gnome-session.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnome-session
VERSION=${VERSION:-42.0}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -56,6 +56,9 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+elif [ "$ARCH" = "aarch64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@@ -109,6 +112,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# Remove these duplicate desktop session entires:
+rm -f $PKG/usr/share/wayland-sessions/gnome.desktop
+rm -f $PKG/usr/share/xsessions/gnome.desktop
+
mkdir -p $PKG/etc/X11/xinit
cat $CWD/xinitrc.gnome > $PKG/etc/X11/xinit/xinitrc.gnome