diff options
| author | B. Watson <urchlay@slackware.uk> | 2023-07-07 05:32:21 -0400 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-07-08 16:42:10 +0700 |
| commit | cfccced7cfb106f65b40df3593817c42114d36db (patch) | |
| tree | bfc732b80dffb806dac2e37e5f41da4067e2e669 /network/irssi-python/irssi-python.SlackBuild | |
| parent | 42c0df690d87a7fd10e6ac4ffbcaccc020eab531 (diff) | |
network/irssi-python: Updated for version 20230512_9ab753d_1.4.4.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/irssi-python/irssi-python.SlackBuild')
| -rw-r--r-- | network/irssi-python/irssi-python.SlackBuild | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/network/irssi-python/irssi-python.SlackBuild b/network/irssi-python/irssi-python.SlackBuild index 3a99498c13..3c92b9519c 100644 --- a/network/irssi-python/irssi-python.SlackBuild +++ b/network/irssi-python/irssi-python.SlackBuild @@ -18,12 +18,18 @@ # them). This build will have to be updated any time Pat does an irssi # version update. +# 20230707 bkw: update for 20230512_9ab753d_1.4.4 (latest git that +# works with python-3.9; later commits break it). needed because +# Slackware 15.0's patches/ has irssi-1.4.4, which is too new for the +# irssi-python-test4 release. Source tarball made with: +# sh git2tarxz.sh 9ab753db9a + # 20211208 bkw: update for vtest4_1.2.3. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=irssi-python -VERSION=${VERSION:-test4_1.2.3} +VERSION=${VERSION:-20230512_9ab753d_1.4.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -41,8 +47,8 @@ if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then exit 0 fi -PYIRSSI_VER="$( echo $VERSION | cut -d_ -f1 )" -IRSSI_VER="$( echo $VERSION | cut -d_ -f2 )" +PYIRSSI_VER="$( echo $VERSION | cut -d_ -f1,2 )" +IRSSI_VER="$( echo $VERSION | cut -d_ -f3 )" # Alert the user (but don't stop the build) if $IRSSI_VER doesn't match # the installed version of irssi. @@ -83,7 +89,7 @@ cd $TMP rm -rf $PRGNAM mkdir -p $PRGNAM cd $PRGNAM -tar xvf $CWD/$PRGNAM-$PYIRSSI_VER.tar.gz +tar xvf $CWD/$PRGNAM-$PYIRSSI_VER.tar.xz tar xvf $CWD/irssi-$IRSSI_VER.tar.xz chown -R root:root . find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ @@ -110,11 +116,15 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ cd $PRGNAM-$PYIRSSI_VER -# patch comes from upstream git, commit 84e90f7d. -patch -p1 < $CWD/abi18.diff - autoreconf -ivf -I. +# configure script expects to read this info via pkg-config, but our +# irssi-1.pc file doesn't have the variables for it. not sure why not, +# but this is what it would have read anyway. +sed -i -e "/IRSSI_SIGNALSFILE/s,=.*,=/usr/doc/irssi-$IRSSI_VER/signals.txt," \ + -e "/IRSSI_MODULEDIR/s,=.*,=/usr/lib$LIBDIRSUFFIX/irssi/modules," \ + configure + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -127,7 +137,6 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --build=$ARCH-slackware-linux -make -C src constants make make install-strip DESTDIR=$PKG |
