summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2024-04-24 14:39:16 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2024-04-27 09:28:38 +0700
commit1b86962267095e6b19f0139a7a4ee9bd48659468 (patch)
treee043a6d1d37b3c90e28d4a48e109a77aafebacc1
parent84c9c84141dc2302d1beb0cb0a3fa1e709633a86 (diff)
downloadslackbuilds-1b86962267095e6b19f0139a7a4ee9bd48659468.tar.gz
slackbuilds-1b86962267095e6b19f0139a7a4ee9bd48659468.tar.xz
desktop/lxappearance-obconf: Add a fix for gtk+3.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild b/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
index bd58521f3f..26a3121ca1 100644
--- a/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
+++ b/desktop/lxappearance-obconf/lxappearance-obconf.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for lxappearance-obconf
-# Copyright 2011-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2011-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lxappearance-obconf
VERSION=${VERSION:-0.2.3}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -41,9 +41,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
@@ -86,6 +83,8 @@ 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 {} \;
+if [ "$GTK3" = "--enable-gtk3" ]; then sed -i /frame1/,+19d src/obconf.glade ; fi
+
sh autogen.sh || true
CFLAGS="$SLKCFLAGS" \