# HG changeset patch # User Hans-G?nter Theisgen # Date 1646382757 -3600 # Node ID 1a24a6d0a088af6e8f21757053fdb2652218c6d8 # Parent f134e45c99c5a725c8576d747df725216bdd2022 updated libgd and libgd-dev (2.0.35 -> 2.3.3) diff -r f134e45c99c5 -r 1a24a6d0a088 libgd-dev/receipt --- a/libgd-dev/receipt Fri Mar 04 07:33:14 2022 +0100 +++ b/libgd-dev/receipt Fri Mar 04 09:32:37 2022 +0100 @@ -1,23 +1,26 @@ # SliTaz package receipt. PACKAGE="libgd-dev" -VERSION="2.0.35" +VERSION="2.3.3" CATEGORY="development" -SHORT_DESC="Library for the dynamic creation of images development files." +SHORT_DESC="Library for the dynamic creation of images - development files." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="https://libgd.github.io/" + +DEPENDS="jpeg-dev libjpeg libpng-dev tiff" WANTED="libgd" -WEB_SITE="http://www.libgd.org/" + HOST_ARCH="i486 arm" -DEPENDS="libpng-dev libjpeg jpeg-dev tiff" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/bin - cp -a $install/usr/local/include $fs/usr - cp -a $install/usr/local/lib/*a $fs/usr/lib - cp -a $install/usr/local/bin/gdlib-config $fs/usr/bin + # 2.3.3: not supplied +# cp -a $install/usr/bin/gdlib-config $fs/usr/bin + + cook_copy_folders include + cook_copy_folders pkgconfig + cook_copy_files *.*a } - diff -r f134e45c99c5 -r 1a24a6d0a088 libgd/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgd/description.txt Fri Mar 04 09:32:37 2022 +0100 @@ -0,0 +1,30 @@ +GD is an open source code library for the dynamic creation of images +by programmers. +GD is written in C, and "wrappers" are available for Perl, PHP, ruby +and many other bindings. + +GD has builtin support for: + +* BMP (builtin) +* GIF with animation support (builtin) +* TGA (builtin) +* WBMP (builtin) +* WebP via libwebp +* PNG via libpng +* JPEG using external library: + libjpeg-turbo (recommended) + libJpeg- + Does not include JPEG2000 +* AVIF via libavif +* HEIF via libheif - This includes AVIF read support if your system's + libheif has AV1 decoding. +* TIFF via libtiff +* XPM via libXpm + +GD is commonly used to generate charts, graphics, thumbnails, and most +anything else, on the fly. It is lite weight and fits usages like web +development, embemdedded, or any other usages you may need. + +It supports transparency, blending, images transformations and various +filters. Its design allows the additions of custom features in a very +friendly manner. diff -r f134e45c99c5 -r 1a24a6d0a088 libgd/receipt --- a/libgd/receipt Fri Mar 04 07:33:14 2022 +0100 +++ b/libgd/receipt Fri Mar 04 09:32:37 2022 +0100 @@ -1,26 +1,27 @@ # SliTaz package receipt. PACKAGE="libgd" -VERSION="2.0.35" +VERSION="2.3.3" CATEGORY="graphics" SHORT_DESC="Library for the dynamic creation of images." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://libgd.bitbucket.org/" -WGET_URL="hg|https://bitbucket.org/pierrejoye/gd-libgd" -#WGET_URL="https://bitbucket.org/libgd/gd-libgd/downloads/$TARBALL" +WEB_SITE="https://libgd.github.io/" +REPOLOGY="gd" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/gd-$VERSION/$TARBALL" + HOST_ARCH="i486 arm" -DEPENDS="zlib libpng libjpeg freetype expat fontconfig xorg-libX11 \ -xorg-libXau xorg-libXdmcp xorg-libXpm" -BUILD_DEPENDS="libpng-dev jpeg-dev expat-dev freetype-dev tiff-dev \ -xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev automake libtool" +DEPENDS="expat fontconfig freetype libjpeg libpng libxml2 xorg-libX11 + xorg-libXau xorg-libXdmcp xorg-libXpm zlib" +BUILD_DEPENDS="expat-dev freetype-dev jpeg-dev libpng-dev libxml2-dev + tiff-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXpm-dev" # Cross compilation use some build host tools case "$ARCH" in - i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake wget" ;; - arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;; + (arm) ARCH_ARGS="--with-jpeg=/cross/$ARCH/sysroot/usr/lib" ;; esac # What is the latest version available today? @@ -34,25 +35,17 @@ compile_rules() { export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" - cmake . && make && make DESTDIR=$DESTDIR install || return 1 - - cd src - cp -a ../config ../test . - - ./bootstrap.sh - ./configure \ - --prefix=/usr \ - $CONFIGURE_ARGS - make -C config gdlib-config - cp config/gdlib-config $DESTDIR/usr/local/bin - chmod +x $DESTDIR/usr/local/bin/gdlib-config - cd .. + ./configure \ + --prefix=/usr \ + --enable-gd-formats \ + $CONFIGURE_ARGS && + make && + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $install/usr/local/bin $fs/usr - cp -a $install/usr/local/lib/*.so* $fs/usr/lib + cook_copy_folders bin + cook_copy_files *.so* }