diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-08 12:44:17 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:24 +0700 |
commit | 8eb74cb898064c17edaeb5d93cf45ea7b6afbf3a (patch) | |
tree | 35fb108f7ea2bf43d0ae88eb5a00c11776c70c18 /desktop | |
parent | bc4bb4703db4fdaa8d346a13c4cc5435da11d452 (diff) |
desktop/idesk: Work around imlib2 breakage.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/idesk/idesk.SlackBuild | 10 | ||||
-rw-r--r-- | desktop/idesk/imlib2-config-fake | 4 |
2 files changed, 13 insertions, 1 deletions
diff --git a/desktop/idesk/idesk.SlackBuild b/desktop/idesk/idesk.SlackBuild index 3040b30b9331..8644bb97b19c 100644 --- a/desktop/idesk/idesk.SlackBuild +++ b/desktop/idesk/idesk.SlackBuild @@ -17,11 +17,13 @@ # on future versions of Slackware (unless upstream suddenly releases a # new version, but it's been a dead project for almost 10 years now). +# 20230108 bkw: BUILD=2, work around imlib2-0.10.0 breakage. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=idesk VERSION=${VERSION:-0.7.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,6 +91,12 @@ sed -i \ -e 's,Xdialog,kdialog,g' \ examples/* +# 20230108 bkw: imlib2 dropped their imlib2-config script, this configure +# really insist on using it. fake it out. +export PATH=$(pwd):$PATH +cat $CWD/imlib2-config-fake > imlib2-config +chmod +x imlib2-config + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/desktop/idesk/imlib2-config-fake b/desktop/idesk/imlib2-config-fake new file mode 100644 index 000000000000..e6c4f196d9d5 --- /dev/null +++ b/desktop/idesk/imlib2-config-fake @@ -0,0 +1,4 @@ +#!/bin/sh + +[ "$1" = "--libs" ] && echo "-lImlib2" +exit 0 |