diff options
Diffstat (limited to 'desktop/lxpanel/lxpanel.SlackBuild')
-rw-r--r-- | desktop/lxpanel/lxpanel.SlackBuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/desktop/lxpanel/lxpanel.SlackBuild b/desktop/lxpanel/lxpanel.SlackBuild index d1fd7184d5..7ef88cb5ef 100644 --- a/desktop/lxpanel/lxpanel.SlackBuild +++ b/desktop/lxpanel/lxpanel.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for lxpanel # (C) 2008 Michael Wagner <lapinours@web.de> -# Copyright 2011-2021 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 @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=lxpanel -VERSION=${VERSION:-0.10.1} +VERSION=${VERSION:-20230918_633a2d4} BUILD=${BUILD:-1} 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 @@ -67,6 +64,8 @@ else LIBDIRSUFFIX="" fi +WITHGTK3="--enable-gtk3" ; [ "${GTK3:-yes}" = "no" ] && WITHGTK3="" + DOCS="AUTHORS COPYING ChangeLog README" set -e @@ -84,21 +83,24 @@ 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 {} \; -sh autogen.sh || true +for i in $CWD/patches/* ; do patch -p1 < $i ; done + +./autogen.sh || true -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -fpermissive" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ - --enable-man \ + --enable-debug=no \ --mandir=/usr/man \ --program-prefix= \ --program-suffix= \ --with-plugins=all \ --disable-silent-rules \ + $WITHGTK3 \ --build=$ARCH-slackware-linux make |