aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-09 13:16:17 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:09 +0700
commit8fe1aa890326e6b444c472202c1d02acd71cd9c0 (patch)
tree8c0d4d50e7d6d18dfeb29ca3dc8ac43c55c55bc1 /desktop
parentae9ef7bb5748a9c00af332f62b8c1b50692589f6 (diff)
desktop/wmxss: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/wmxss/README2
-rw-r--r--desktop/wmxss/wmxss.SlackBuild15
-rw-r--r--desktop/wmxss/wmxss.info4
3 files changed, 9 insertions, 12 deletions
diff --git a/desktop/wmxss/README b/desktop/wmxss/README
index 18feeab60cd2d..3119052dea5d5 100644
--- a/desktop/wmxss/README
+++ b/desktop/wmxss/README
@@ -1,3 +1,5 @@
+wmxss (XScreenSaver DockApp)
+
A simple dockapp frontend for XScreenSaver that can also display XSS
screensavers. Execute like so:
diff --git a/desktop/wmxss/wmxss.SlackBuild b/desktop/wmxss/wmxss.SlackBuild
index cafac25de0ee2..a8138ba599946 100644
--- a/desktop/wmxss/wmxss.SlackBuild
+++ b/desktop/wmxss/wmxss.SlackBuild
@@ -24,6 +24,7 @@
# Now maintained by B. Watson <yalhcru@gmail.com>
+# 20210909 bkw: BUILD=3, -fcommon for -current.
# 20160816 bkw:
# - BUILD=2
# - took over as maintainer
@@ -35,7 +36,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wmxss
VERSION=${VERSION:-0.1}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -47,9 +48,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -82,11 +80,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# lazy typist patch: search in /usr/libexec/xscreensaver first.
patch -p1 < $CWD/libexecpath.diff
@@ -94,7 +89,7 @@ patch -p1 < $CWD/libexecpath.diff
# This archive is very dirty:
rm -f Src/$PRGNAM Src/*.o
-make -C Src all CFLAGS="$SLKCFLAGS"
+make -C Src all CFLAGS="$SLKCFLAGS -fcommon"
mkdir -p $PKG/usr/bin
install -s -m 0755 Src/wmxss $PKG/usr/bin/wmxss
diff --git a/desktop/wmxss/wmxss.info b/desktop/wmxss/wmxss.info
index ad616a27206d3..00f12227c343d 100644
--- a/desktop/wmxss/wmxss.info
+++ b/desktop/wmxss/wmxss.info
@@ -1,7 +1,7 @@
PRGNAM="wmxss"
VERSION="0.1"
-HOMEPAGE="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/other.html"
-DOWNLOAD="http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmxss-0.1.tar.gz"
+HOMEPAGE="https://www.cs.mun.ca/~gstarkes/wmaker/dockapps/other.html"
+DOWNLOAD="https://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/wmxss-0.1.tar.gz"
MD5SUM="26d4f00c3a3d1b2306ba4924a9fbb0fa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""