diff options
author | B. Watson <urchlay@slackware.uk> | 2023-05-07 05:25:10 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-05-13 19:27:32 +0700 |
commit | 5793970b99b65acce9fcbdd88aa7069711d70a31 (patch) | |
tree | 09e10a955dcef72d6a6ea38c24669ccc258aaf5a /perl/perl-Glib-Object-Introspection/perl-Glib-Object-Introspection.SlackBuild | |
parent | 9bf2fe8937170f08a9e5b2afd74e65ecfb55117e (diff) |
perl/perl-Glib-Object-Introspection: Downgrade to v0.049.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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.SlackBuild | 20 |
1 files changed, 16 insertions, 4 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 b4cc578ba9..32abcfb390 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 |