summaryrefslogtreecommitdiffstats
path: root/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild')
-rw-r--r--perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild22
1 files changed, 16 insertions, 6 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 95312e974c..d16d8b0e4d 100644
--- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild
+++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for perl-Glib-Object-Introspection.
#
-# Copyright 2017-2020 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,20 @@
# 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.049}
+VERSION=${VERSION:-0.051}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +48,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
@@ -91,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
@@ -99,7 +109,7 @@ 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