From 468a12364b36427dcaa53dcf469e50f870663ef1 Mon Sep 17 00:00:00 2001 From: Bob Funk Date: Thu, 21 Dec 2023 11:11:38 -0600 Subject: 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 --- desktop/gnome-session/gnome-session.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'desktop') 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 -- cgit v1.2.3