desktop/fvwm3: Updated for version 1.0.5.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2022-10-01 07:30:31 +07:00 committed by Willy Sudiarto Raharjo
parent f17907b676
commit 24cb09314f
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 8 additions and 32 deletions

View file

@ -1,21 +0,0 @@
--- fvwm3-1.0.4.orig/fvwm/move_resize.c 2021-07-17 18:03:08.000000000 +0300
+++ fvwm3-1.0.4/fvwm/move_resize.c 2021-07-21 01:20:34.428964491 +0300
@@ -3269,13 +3269,14 @@
static void set_geom_win_visible_val(char *token, bool val)
{
- if (token == NULL)
- return;
-
Scr.gs.do_hide_position_window = !val;
Scr.gs.do_hide_resize_window = !val;
- if (StrEquals(token, "never"))
+ if (token == NULL)
+ {
+ return;
+ }
+ else if (StrEquals(token, "never"))
{
Scr.gs.do_hide_position_window = val;
Scr.gs.do_hide_resize_window = val;

View file

@ -2,7 +2,7 @@
# Slackware build script for fvwm3
# Copyright 2020-2021, Alexander Verbovetsky, Moscow, Russia
# Copyright 2020-2022, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fvwm3
VERSION=${VERSION:-1.0.4}
VERSION=${VERSION:-1.0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -38,9 +38,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
@ -73,8 +70,6 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
patch -p1 < $CWD/cmd_geometrywindow-move_null_check.patch
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -101,6 +96,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
zcat $CWD/startfvwm3.gz > $PKG/usr/bin/startfvwm3
chmod 755 $PKG/usr/bin/startfvwm3
@ -115,7 +112,7 @@ 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
cp -a NEWS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG.md NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="fvwm3"
VERSION="1.0.4"
VERSION="1.0.5"
HOMEPAGE="https://github.com/fvwmorg/fvwm3"
DOWNLOAD="https://github.com/fvwmorg/fvwm3/releases/download/1.0.4/fvwm3-1.0.4.tar.gz"
MD5SUM="3fd50b508940e9549fc9a9b40ec94a47"
DOWNLOAD="https://github.com/fvwmorg/fvwm3/releases/download/1.0.5/fvwm3-1.0.5.tar.gz"
MD5SUM="83a91498e85b6e61daf403ca1a87d216"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"