aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2024-02-22 21:39:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 15:34:47 +0700
commitc2c4ace9e6f93dd2113d730f8700839bb705c431 (patch)
tree21c3df686caa3799b923d803eb6f774243608580
parent7fa2620f4d2d99714a5cb7211a66725d938674b8 (diff)
desktop/mate-session-manager: Updated for version 1.28.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/mate-session-manager/README2
-rw-r--r--desktop/mate-session-manager/doinst.sh4
-rw-r--r--desktop/mate-session-manager/mate-session-manager.SlackBuild21
-rw-r--r--desktop/mate-session-manager/mate-session-manager.info10
4 files changed, 17 insertions, 20 deletions
diff --git a/desktop/mate-session-manager/README b/desktop/mate-session-manager/README
index 26cd7546f927..03c8ef705859 100644
--- a/desktop/mate-session-manager/README
+++ b/desktop/mate-session-manager/README
@@ -1,4 +1,2 @@
-mate-session-manager (session manager for the MATE desktop)
-
mate-session-manager contains the MATE session manager, as well as a
configuration program to choose applications starting on login.
diff --git a/desktop/mate-session-manager/doinst.sh b/desktop/mate-session-manager/doinst.sh
index f25bed6fb669..401d9877955b 100644
--- a/desktop/mate-session-manager/doinst.sh
+++ b/desktop/mate-session-manager/doinst.sh
@@ -2,10 +2,6 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
-if [ -x /usr/bin/update-mime-database ]; then
- /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
-fi
-
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
diff --git a/desktop/mate-session-manager/mate-session-manager.SlackBuild b/desktop/mate-session-manager/mate-session-manager.SlackBuild
index aec929d62f2c..d1ebbe9ff486 100644
--- a/desktop/mate-session-manager/mate-session-manager.SlackBuild
+++ b/desktop/mate-session-manager/mate-session-manager.SlackBuild
@@ -2,9 +2,9 @@
# Slackware build script for mate-session-manager
-# Copyright 2013 Chess Griffin Raleigh, NC
-# Copyright 2013-2021 Willy Sudiarto Raharjo
-# Copyright 2023 Johannes Schoepfer, Germany
+# Copyright 2013 Chess Griffin Raleigh, NC
+# Copyright 2013-2021 Willy Sudiarto Raharjo
+# Copyright 2023-2024 Johannes Schoepfer, Germany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=mate-session-manager
-VERSION=${VERSION:-1.26.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-1.28.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,9 +80,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \+ -o \
+ -o -perm 511 \) -exec chmod 755 {} + -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -94,8 +94,11 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--libexecdir=/usr/lib${LIBDIRSUFFIX} \
+ --enable-shared \
+ --disable-static \
--without-systemd \
--with-elogind \
+ --disable-schemas-compile \
--build=$ARCH-slackware-linux
make
@@ -105,7 +108,7 @@ make install DESTDIR=$PKG
mkdir -p $PKG/etc/X11/xinit
install -m 0755 $CWD/xinitrc.mate-session $PKG/etc/X11/xinit/xinitrc.mate-session
-# Add link so KDM picks up the MATE session
+# Add link so ssdm picks up the MATE session
mkdir -p $PKG/usr/share/apps/kdm/sessions
ln -srf $PKG/usr/share/xsessions/mate.desktop $PKG/usr/share/apps/kdm/sessions/
@@ -116,7 +119,7 @@ cp $CWD/xdg-user-dirs-update.desktop $PKG/etc/xdg/autostart/xdg-user-dirs-update
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-find $PKG/usr/man -type f -exec gzip -9 {} \+
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/desktop/mate-session-manager/mate-session-manager.info b/desktop/mate-session-manager/mate-session-manager.info
index 4c734141fb9e..09a49a305e1c 100644
--- a/desktop/mate-session-manager/mate-session-manager.info
+++ b/desktop/mate-session-manager/mate-session-manager.info
@@ -1,10 +1,10 @@
PRGNAM="mate-session-manager"
-VERSION="1.26.1"
-HOMEPAGE="https://www.mate-desktop.org/"
-DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/mate-session-manager-1.26.1.tar.xz"
-MD5SUM="b3ff2d52219eb2f0f48890d19d1e04ff"
+VERSION="1.28.0"
+HOMEPAGE="https://wiki.mate-desktop.org/mate-desktop/components/mate-session-manager/"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/mate-session-manager-1.28.0.tar.xz"
+MD5SUM="69fe63145a1d66f7cd168f62b90244a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="marco"
+REQUIRES=""
MAINTAINER="Johannes Schoepfer"
EMAIL="slackbuilds@schoepfer.info"