aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2024-02-23 17:15:04 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-24 15:34:52 +0700
commit331e60a900d078f158aaf2ddcd7e896b6d8459db (patch)
treec74665a512541e59cb360b0259c4554daaee3895
parent186d2a0703f33d8f62f6bc6392cecca37b48d154 (diff)
desktop/mate-power-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-power-manager/README2
-rw-r--r--desktop/mate-power-manager/mate-power-manager.SlackBuild17
-rw-r--r--desktop/mate-power-manager/mate-power-manager.info6
3 files changed, 12 insertions, 13 deletions
diff --git a/desktop/mate-power-manager/README b/desktop/mate-power-manager/README
index 2c9b9d91d3fa2..5f26a20ccf0a4 100644
--- a/desktop/mate-power-manager/README
+++ b/desktop/mate-power-manager/README
@@ -1,4 +1,2 @@
-mate-power-manager (power session daemon for the MATE desktop)
-
MATE Power Manager is a MATE session daemon that acts as a policy
agent on top of UPower.
diff --git a/desktop/mate-power-manager/mate-power-manager.SlackBuild b/desktop/mate-power-manager/mate-power-manager.SlackBuild
index 57c16b2791491..e86f12c574289 100644
--- a/desktop/mate-power-manager/mate-power-manager.SlackBuild
+++ b/desktop/mate-power-manager/mate-power-manager.SlackBuild
@@ -2,9 +2,9 @@
# Slackware build script for mate-power-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-power-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" \
@@ -96,6 +96,7 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-shared \
--disable-static \
--libexecdir=/usr/lib${LIBDIRSUFFIX}/mate-power-manager \
+ --disable-schemas-compile \
--enable-applets \
--without-keyring \
--build=$ARCH-slackware-linux
@@ -106,7 +107,7 @@ make install DESTDIR=$PKG
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-power-manager/mate-power-manager.info b/desktop/mate-power-manager/mate-power-manager.info
index b42041f576136..dd1ee2f0d4db4 100644
--- a/desktop/mate-power-manager/mate-power-manager.info
+++ b/desktop/mate-power-manager/mate-power-manager.info
@@ -1,8 +1,8 @@
PRGNAM="mate-power-manager"
-VERSION="1.26.1"
+VERSION="1.28.0"
HOMEPAGE="https://www.mate-desktop.org/"
-DOWNLOAD="https://pub.mate-desktop.org/releases/1.26/mate-power-manager-1.26.1.tar.xz"
-MD5SUM="e789755a50a87a4c91b35218f2e0620a"
+DOWNLOAD="https://pub.mate-desktop.org/releases/1.28/mate-power-manager-1.28.0.tar.xz"
+MD5SUM="f10eec0dd8acc027976fcb5f8bf90e11"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="mate-panel"