wok-current rev 22358
Up giflib (5.2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 20 22:54:57 2019 +0100 (2019-11-20) |
parents | e4adf1c4fc3a |
children | 9ac318d8655f |
files | giflib-dev/receipt giflib/receipt |
line diff
1.1 --- a/giflib-dev/receipt Wed Nov 20 22:04:09 2019 +0100 1.2 +++ b/giflib-dev/receipt Wed Nov 20 22:54:57 2019 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="giflib-dev" 1.7 -VERSION="4.1.6" 1.8 +VERSION="5.2.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="giflib devel files." 1.11 WEB_SITE="https://sourceforge.net/projects/giflib/"
2.1 --- a/giflib/receipt Wed Nov 20 22:04:09 2019 +0100 2.2 +++ b/giflib/receipt Wed Nov 20 22:54:57 2019 +0100 2.3 @@ -1,12 +1,12 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="giflib" 2.7 -VERSION="4.1.6" # 17 broken packages after update 2.8 +VERSION="5.2.1" 2.9 CATEGORY="graphics" 2.10 SHORT_DESC="A library for processing GIFs." 2.11 MAINTAINER="rcx@zoominternet.net" 2.12 LICENSE="MIT" 2.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.15 WEB_SITE="https://sourceforge.net/projects/giflib/" 2.16 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.17 HOST_ARCH="i486 arm" 2.18 @@ -18,38 +18,16 @@ 2.19 # Rules to configure and make the package. 2.20 compile_rules() 2.21 { 2.22 - # http://anonscm.debian.org/cgit/collab-maint/giflib.git/tree/debian/patches/01-cve.patch?h=debian 2.23 - { 2.24 - cat <<EOT 2.25 -@@ -251,0 +252,2 @@ 2.26 -+ FreeMapObject(GifFile->SColorMap); 2.27 -+ GifFile->SColorMap = NULL; 2.28 -@@ -348,0 +351,2 @@ 2.29 -+ FreeMapObject(GifFile->Image.ColorMap); 2.30 -+ GifFile->Image.ColorMap = NULL; 2.31 -@@ -992,0 +997,4 @@ 2.32 -+ if (Buf[0] == 0) { 2.33 -+ _GifError = D_GIF_ERR_IMAGE_DEFECT; 2.34 -+ return GIF_ERROR; 2.35 -+ } 2.36 -EOT 2.37 - } | patch lib/dgif_lib.c 2.38 - 2.39 - sed -i '/AC_PATH_XTRA/d' configure.ac 2.40 - libtoolize -f 2.41 - autoreconf 2.42 - ./configure \ 2.43 - $CONFIGURE_ARGS && 2.44 + sed -i 's|/local||' Makefile 2.45 make && make DESTDIR=$DESTDIR install 2.46 case "$ARCH" in 2.47 i?86) 2.48 # libungif compatibility - instructions taken from Redhat specfile 2.49 MAJOR=`echo $VERSION | sed 's/\([0-9]\+\)\..*/\1/'` 2.50 gcc -shared -Wl,-soname,libungif.so.${MAJOR} \ 2.51 - -Llib/.libs -lgif -o libungif.so.$VERSION 2.52 + -L. -lgif -o libungif.so.$VERSION 2.53 install -m755 libungif.so.${VERSION} "$DESTDIR/usr/lib/" 2.54 - ln -sf libungif.so.$VERSION "$DESTDIR/usr/lib/libungif.so.4" 2.55 - ln -sf libungif.so.4 "$DESTDIR/usr/lib/libungif.so" ;; 2.56 + ln -sf libungif.so.${VERSION%%.*} "$DESTDIR/usr/lib/libungif.so" ;; 2.57 esac 2.58 } 2.59 2.60 @@ -61,4 +39,3 @@ 2.61 mkdir -p $fs/usr/lib 2.62 cp -a $install/usr/lib/*.so* $fs/usr/lib 2.63 } 2.64 -