From 5793970b99b65acce9fcbdd88aa7069711d70a31 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 7 May 2023 05:25:10 -0400 Subject: perl/perl-Glib-Object-Introspection: Downgrade to v0.049. Signed-off-by: B. Watson Signed-off-by: Willy Sudiarto Raharjo --- .../perl-Glib-Object-Introspection.SlackBuild | 20 ++++++++++++++++---- .../perl-Glib-Object-Introspection.info | 6 +++--- 2 files changed, 19 insertions(+), 7 deletions(-) (limited to 'perl') 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 b4cc578ba938..32abcfb390e2 100644 --- a/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild +++ b/perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild @@ -22,11 +22,21 @@ # 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.050} -BUILD=${BUILD:-1} +VERSION=${VERSION:-0.049} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -91,7 +101,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 -mv $PKG/usr/share/man/man1 $PKG/usr/man; rm -rf $PKG/usr/share +# 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 @@ -100,7 +112,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 $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 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 465dfc37c700..cfd21558d3a0 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.050" +VERSION="0.049" HOMEPAGE="https://metacpan.org/release/Glib-Object-Introspection" -DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.050.tar.gz" -MD5SUM="20a541c34d652b1612685e951592c69d" +DOWNLOAD="https://cpan.metacpan.org/authors/id/X/XA/XAOC/Glib-Object-Introspection-0.049.tar.gz" +MD5SUM="0d8ab0bf9c4d0a72eb35c16a2ff10d42" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="perl-glib" -- cgit v1.2.3