wok-current rev 24611
updated libgd and libgd-dev (2.0.35 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 09:32:37 2022 +0100 (2022-03-04) |
parents | f134e45c99c5 |
children | 320ba3194f95 |
files | libgd-dev/receipt libgd/description.txt libgd/receipt |
line diff
1.1 --- a/libgd-dev/receipt Fri Mar 04 07:33:14 2022 +0100 1.2 +++ b/libgd-dev/receipt Fri Mar 04 09:32:37 2022 +0100 1.3 @@ -1,23 +1,26 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libgd-dev" 1.7 -VERSION="2.0.35" 1.8 +VERSION="2.3.3" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Library for the dynamic creation of images development files." 1.11 +SHORT_DESC="Library for the dynamic creation of images - development files." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 +WEB_SITE="https://libgd.github.io/" 1.15 + 1.16 +DEPENDS="jpeg-dev libjpeg libpng-dev tiff" 1.17 WANTED="libgd" 1.18 -WEB_SITE="http://www.libgd.org/" 1.19 + 1.20 HOST_ARCH="i486 arm" 1.21 1.22 -DEPENDS="libpng-dev libjpeg jpeg-dev tiff" 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/lib $fs/usr/bin 1.28 - cp -a $install/usr/local/include $fs/usr 1.29 - cp -a $install/usr/local/lib/*a $fs/usr/lib 1.30 - cp -a $install/usr/local/bin/gdlib-config $fs/usr/bin 1.31 + # 2.3.3: not supplied 1.32 +# cp -a $install/usr/bin/gdlib-config $fs/usr/bin 1.33 + 1.34 + cook_copy_folders include 1.35 + cook_copy_folders pkgconfig 1.36 + cook_copy_files *.*a 1.37 } 1.38 -
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libgd/description.txt Fri Mar 04 09:32:37 2022 +0100 2.3 @@ -0,0 +1,30 @@ 2.4 +GD is an open source code library for the dynamic creation of images 2.5 +by programmers. 2.6 +GD is written in C, and "wrappers" are available for Perl, PHP, ruby 2.7 +and many other bindings. 2.8 + 2.9 +GD has builtin support for: 2.10 + 2.11 +* BMP (builtin) 2.12 +* GIF with animation support (builtin) 2.13 +* TGA (builtin) 2.14 +* WBMP (builtin) 2.15 +* WebP via libwebp 2.16 +* PNG via libpng 2.17 +* JPEG using external library: 2.18 + libjpeg-turbo (recommended) 2.19 + libJpeg- 2.20 + Does not include JPEG2000 2.21 +* AVIF via libavif 2.22 +* HEIF via libheif - This includes AVIF read support if your system's 2.23 + libheif has AV1 decoding. 2.24 +* TIFF via libtiff 2.25 +* XPM via libXpm 2.26 + 2.27 +GD is commonly used to generate charts, graphics, thumbnails, and most 2.28 +anything else, on the fly. It is lite weight and fits usages like web 2.29 +development, embemdedded, or any other usages you may need. 2.30 + 2.31 +It supports transparency, blending, images transformations and various 2.32 +filters. Its design allows the additions of custom features in a very 2.33 +friendly manner.
3.1 --- a/libgd/receipt Fri Mar 04 07:33:14 2022 +0100 3.2 +++ b/libgd/receipt Fri Mar 04 09:32:37 2022 +0100 3.3 @@ -1,26 +1,27 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="libgd" 3.7 -VERSION="2.0.35" 3.8 +VERSION="2.3.3" 3.9 CATEGORY="graphics" 3.10 SHORT_DESC="Library for the dynamic creation of images." 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 LICENSE="BSD" 3.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.14 -WEB_SITE="http://libgd.bitbucket.org/" 3.15 -WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd" 3.16 -#WGET_URL="https://bitbucket.org/libgd/gd-libgd/downloads/$TARBALL" 3.17 +WEB_SITE="https://libgd.github.io/" 3.18 +REPOLOGY="gd" 3.19 + 3.20 +TARBALL="$PACKAGE-$VERSION.tar.xz" 3.21 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/gd-$VERSION/$TARBALL" 3.22 + 3.23 HOST_ARCH="i486 arm" 3.24 3.25 -DEPENDS="zlib libpng libjpeg freetype expat fontconfig xorg-libX11 \ 3.26 -xorg-libXau xorg-libXdmcp xorg-libXpm" 3.27 -BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev tiff-dev \ 3.28 -xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool" 3.29 +DEPENDS="expat fontconfig freetype libjpeg libpng libxml2 xorg-libX11 3.30 + xorg-libXau xorg-libXdmcp xorg-libXpm zlib" 3.31 +BUILD_DEPENDS="expat-dev freetype-dev jpeg-dev libpng-dev libxml2-dev 3.32 + tiff-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev" 3.33 3.34 # Cross compilation use some build host tools 3.35 case "$ARCH" in 3.36 - i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake wget" ;; 3.37 - arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;; 3.38 + (arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;; 3.39 esac 3.40 3.41 # What is the latest version available today? 3.42 @@ -34,25 +35,17 @@ 3.43 compile_rules() 3.44 { 3.45 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" 3.46 - cmake . && make && make DESTDIR=$DESTDIR install || return 1 3.47 - 3.48 - cd src 3.49 - cp -a ../config ../test . 3.50 - 3.51 - ./bootstrap.sh 3.52 - ./configure \ 3.53 - --prefix=/usr \ 3.54 - $CONFIGURE_ARGS 3.55 - make -C config gdlib-config 3.56 - cp config/gdlib-config $DESTDIR/usr/local/bin 3.57 - chmod +x $DESTDIR/usr/local/bin/gdlib-config 3.58 - cd .. 3.59 + ./configure \ 3.60 + --prefix=/usr \ 3.61 + --enable-gd-formats \ 3.62 + $CONFIGURE_ARGS && 3.63 + make && 3.64 + make install DESTDIR=$DESTDIR 3.65 } 3.66 3.67 # Rules to gen a SliTaz package suitable for Tazpkg. 3.68 genpkg_rules() 3.69 { 3.70 - mkdir -p $fs/usr/lib 3.71 - cp -a $install/usr/local/bin $fs/usr 3.72 - cp -a $install/usr/local/lib/*.so* $fs/usr/lib 3.73 + cook_copy_folders bin 3.74 + cook_copy_files *.so* 3.75 }