aboutsummaryrefslogtreecommitdiff
path: root/desktop/fvwm3
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2024-05-17 08:12:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-17 23:55:17 +0700
commit71bb161fc73d5601d5108a39014a666513385638 (patch)
tree19bd41a6901fb12e50d346ada72d5f051a56a788 /desktop/fvwm3
parent24ff2f5db63c36898ac7f66a3a671ed0e33e1757 (diff)
desktop/fvwm3: Update script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/fvwm3')
-rw-r--r--desktop/fvwm3/0001-rename-perl-fvwm.patch.gzbin0 -> 13111 bytes
-rw-r--r--desktop/fvwm3/fvwm3.SlackBuild6
-rw-r--r--desktop/fvwm3/fvwm3.info4
3 files changed, 8 insertions, 2 deletions
diff --git a/desktop/fvwm3/0001-rename-perl-fvwm.patch.gz b/desktop/fvwm3/0001-rename-perl-fvwm.patch.gz
new file mode 100644
index 000000000000..10d31a2603ac
--- /dev/null
+++ b/desktop/fvwm3/0001-rename-perl-fvwm.patch.gz
Binary files differ
diff --git a/desktop/fvwm3/fvwm3.SlackBuild b/desktop/fvwm3/fvwm3.SlackBuild
index de7467eaa618..b9a6827b5b9c 100644
--- a/desktop/fvwm3/fvwm3.SlackBuild
+++ b/desktop/fvwm3/fvwm3.SlackBuild
@@ -70,6 +70,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# rename perl libraries to avoid collisions with the stock fvwm
+# borrowed from ALT Linux
+# https://git.altlinux.org/gears/f/fvwm3.git?a=blob_plain;f=0001-rename-perl-fvwm.patch
+zcat $CWD/0001-rename-perl-fvwm.patch.gz | patch -p2
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -77,6 +82,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+./autogen.sh
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/desktop/fvwm3/fvwm3.info b/desktop/fvwm3/fvwm3.info
index dfcc538c994d..942791e6189a 100644
--- a/desktop/fvwm3/fvwm3.info
+++ b/desktop/fvwm3/fvwm3.info
@@ -1,8 +1,8 @@
PRGNAM="fvwm3"
VERSION="1.1.0"
HOMEPAGE="https://github.com/fvwmorg/fvwm3"
-DOWNLOAD="https://github.com/fvwmorg/fvwm3/releases/download/1.1.0/fvwm3-1.1.0.tar.gz"
-MD5SUM="35c38bbdc97f9efac0271f3c7ec5a0c3"
+DOWNLOAD="https://github.com/fvwmorg/fvwm3/archive/1.1.0/fvwm3-1.1.0.tar.gz"
+MD5SUM="033cb2740c12b5acd406d75271dd1317"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"