diff options
Diffstat (limited to 'perl/perl-Glib-Object-Introspection')
-rw-r--r-- | perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild | 32 | ||||
-rw-r--r-- | perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info | 6 |
2 files changed, 29 insertions, 9 deletions
diff --git a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild index 6e53967ccf..d16d8b0e4d 100644 --- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild +++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild @@ -1,8 +1,8 @@ -#!/bin/sh +#!/bin/bash # # Slackware build script for perl-Glib-Object-Introspection. # -# Copyright 2017-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2017-2024 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,10 +22,23 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230507 bkw: Modified by SlackBuilds.org. *DOWNGRADED* to 0.049, BUILD=2. +# With 0.050, every single package that uses this fails with: +# /usr/bin/perl: symbol lookup error: +# /usr/lib64/perl5/vendor_perl/auto/Glib/Object/Introspection/Introspection.so: +# undefined symbol: g_callable_info_create_closure +# Pretty much the only change between 0.049 and 0.050 is that support +# was added for gobject-introspection-1.72.0 and up... and we don't +# *have* a version that new on Slackware 15.0, we have 1.70.0. So the +# upgrade wasn't exactly critical anyway. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=perl-Glib-Object-Introspection -VERSION=${VERSION:-0.048} +VERSION=${VERSION:-0.051} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +48,11 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -81,6 +98,9 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# 20230507 bkw: need this for 0.050 but not 0.049: +mv $PKG/usr/share/man/man1 $PKG/usr/man; rm -rf $PKG/usr/share + 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 @@ -89,11 +109,11 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp LICENSE NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp README* LICENSE NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info index c3f833a844..27af4fefa5 100644 --- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info +++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.info @@ -1,8 +1,8 @@ PRGNAM="perl-Glib-Object-Introspection" -VERSION="0.048" +VERSION="0.051" HOMEPAGE="https://metacpan.org/release/Glib-Object-Introspection" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.048.tar.gz" -MD5SUM="0fd56ff2d2add1b61793cafd4470147d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.051.tar.gz" +MD5SUM="461b66d671674e435ec5dfbdbed6718d" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-glib" |