# HG changeset patch # User Aleksej Bobylev # Date 1487177552 -7200 # Node ID 4a79ec2337664eedadc789c8dde0a1719980b115 # Parent daabefa33afd10ec4c0610ae285075572904868f Add libpng12; up libpng & apng tools. diff -r daabefa33afd -r 4a79ec233766 apng2gif/description.txt --- a/apng2gif/description.txt Mon Feb 13 11:27:42 2017 +0200 +++ b/apng2gif/description.txt Wed Feb 15 18:52:32 2017 +0200 @@ -1,12 +1,30 @@ This program converts APNG animations into animated GIF format. Wu64 quantization is used for true-color files. Transparency is handled either using a threshold, or composed over chosen background color. CLI version is -OS-independent, GUI version is available for Windows. +OS-independent, GUI version is available for Windows. + Another converter: gif2apng Features +-------- - * Wu64 quantization for true-color files - * Flexible options for transparency handling - * CLI and GUI versions available - * OS-independent source code is under zlib license + * Wu64 quantization for true-color files + * Flexible options for transparency handling + * CLI and GUI versions available + * OS-independent source code is under zlib license + +Usage +----- + + apng2gif anim.png [anim.gif] [-t tlevel] [-b bcolor] + +Options +------- + + * -t 128 : will set the transparency threshold level as 128, so pixels with + alpha level less than 128 will become fully transparent. + * -b "#ff0000" -b 255 0 0 : will set the background color as red, so + partially transparent pixels will be composed over red. + When -b is used, -t is ignored. + +When no options are specified, default threshold is 128, no background color. diff -r daabefa33afd -r 4a79ec233766 apng2gif/receipt --- a/apng2gif/receipt Mon Feb 13 11:27:42 2017 +0200 +++ b/apng2gif/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -1,27 +1,30 @@ # SliTaz package receipt. PACKAGE="apng2gif" -VERSION="1.5" +VERSION="1.7" CATEGORY="utilities" SHORT_DESC="Convert APNG animations into animated GIF format" MAINTAINER="al.bobylev@gmail.com" LICENSE="zlib/libpng" WEB_SITE="http://apng2gif.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION-src.zip" -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="zlib" -BUILD_DEPENDS="zlib-dev" +DEPENDS="zlib libpng" +BUILD_DEPENDS="zlib-dev libpng-dev" # Rules to configure and make the package. compile_rules() { make + + mkdir -p $install/usr/bin + cp -a $src/apng2gif $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin + cook_copy_files apng2gif } diff -r daabefa33afd -r 4a79ec233766 apngasm/description.txt --- a/apngasm/description.txt Mon Feb 13 11:27:42 2017 +0200 +++ b/apngasm/description.txt Wed Feb 15 18:52:32 2017 +0200 @@ -1,3 +1,25 @@ Standalone version of the popular APNG Assembler. Simple command-line interface. No size limits. -Also, APNG Disassembler can be found at http://sourceforge.net/projects/apngdis + +Also, APNG Disassembler can be found at http://apngdis.sourceforge.net/ + +Usage +----- + + apngasm output.png frame001.png [options] + apngasm output.png frame*.png [options] + +Options +------- + + * 1 10 : frame delay is 1/10 sec. (default) + * -l2 : 2 loops (default is 0, forever) + * -f : skip the first frame + * -hs## : input is horizontal strip of ## frames (example: -hs12) + * -vs## : input is vertical strip of ## frames (example: -vs12) + * -kp : keep palette + * -kc : keep color type + * -z0 : zlib compression + * -z1 : 7zip compression (default) + * -z2 : Zopfli compression + * -i## : number of iterations (default -i15) diff -r daabefa33afd -r 4a79ec233766 apngasm/receipt --- a/apngasm/receipt Mon Feb 13 11:27:42 2017 +0200 +++ b/apngasm/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -1,14 +1,15 @@ # SliTaz package receipt. PACKAGE="apngasm" -VERSION="2.7" +VERSION="2.91" CATEGORY="utilities" SHORT_DESC="Creates APNG animation from PNG/TGA image sequence" MAINTAINER="al.bobylev@gmail.com" LICENSE="zlib/libpng" -WEB_SITE="http://sourceforge.net/projects/apngasm/" +WEB_SITE="http://apngasm.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION-src.zip" -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="libpng" BUILD_DEPENDS="zlib-dev libpng-dev" @@ -17,11 +18,13 @@ compile_rules() { make + + mkdir -p $install/usr/bin + cp -a $src/apngasm $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin + cook_copy_files apngasm } diff -r daabefa33afd -r 4a79ec233766 apngdis/description.txt --- a/apngdis/description.txt Mon Feb 13 11:27:42 2017 +0200 +++ b/apngdis/description.txt Wed Feb 15 18:52:32 2017 +0200 @@ -1,3 +1,9 @@ This program converts APNG file into a sequence of individual PNG frames. Simple command-line interface. -Also, APNG Assembler can be found at http://sourceforge.net/projects/apngasm + +Also, APNG Assembler can be found at http://apngasm.sourceforge.net/ + +Usage +----- + + apngdis anim.png [name] diff -r daabefa33afd -r 4a79ec233766 apngdis/receipt --- a/apngdis/receipt Mon Feb 13 11:27:42 2017 +0200 +++ b/apngdis/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -1,27 +1,30 @@ # SliTaz package receipt. PACKAGE="apngdis" -VERSION="2.5" +VERSION="2.8" CATEGORY="utilities" SHORT_DESC="Deconstruct APNG file into a sequence of PNG frames" MAINTAINER="al.bobylev@gmail.com" LICENSE="zlib/libpng" -WEB_SITE="http://sourceforge.net/projects/apngdis/" +WEB_SITE="http://apngdis.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION-src.zip" -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" -DEPENDS="zlib" -BUILD_DEPENDS="zlib-dev" +DEPENDS="zlib libpng" +BUILD_DEPENDS="zlib-dev libpng-dev" # Rules to configure and make the package. compile_rules() { make + + mkdir -p $install/usr/bin + cp -a $src/apngdis $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin + cook_copy_files apngdis } diff -r daabefa33afd -r 4a79ec233766 apngopt/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apngopt/description.txt Wed Feb 15 18:52:32 2017 +0200 @@ -0,0 +1,14 @@ +Small utility to optimize existing APNG animations. + +Usage +----- + + apngopt [options] anim.png [anim_opt.png] + +Options +------- + + * -z0 : zlib compression + * -z1 : 7zip compression (default) + * -z2 : Zopfli compression + * -i## : number of iterations, default -i15 diff -r daabefa33afd -r 4a79ec233766 apngopt/receipt --- a/apngopt/receipt Mon Feb 13 11:27:42 2017 +0200 +++ b/apngopt/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -1,27 +1,30 @@ # SliTaz package receipt. PACKAGE="apngopt" -VERSION="1.2" +VERSION="1.4" CATEGORY="utilities" SHORT_DESC="Optimizes existing APNG animation" MAINTAINER="al.bobylev@gmail.com" LICENSE="zlib/libpng" -WEB_SITE="http://sourceforge.net/projects/apng/" +WEB_SITE="https://sourceforge.net/projects/apng/" + TARBALL="$PACKAGE-$VERSION-src.zip" -WGET_URL="$SF_MIRROR/apng/APNG_Optimizer/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/apng/$TARBALL" -DEPENDS="zlib" -BUILD_DEPENDS="zlib-dev" +DEPENDS="zlib libpng" +BUILD_DEPENDS="zlib-dev libpng-dev" # Rules to configure and make the package. compile_rules() { make + + mkdir -p $install/usr/bin + cp -a $src/apngopt $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin + cook_copy_files apngopt } diff -r daabefa33afd -r 4a79ec233766 gif2apng/description.txt --- a/gif2apng/description.txt Mon Feb 13 11:27:42 2017 +0200 +++ b/gif2apng/description.txt Wed Feb 15 18:52:32 2017 +0200 @@ -1,10 +1,27 @@ This program converts GIF animations into animated PNG format. Usually it makes the files smaller. CLI version is OS-independent, GUI version -is available for Windows. +is available for Windows. + Another converter: apng2gif Features - * Keeps frame delays and loop count - * Option to keep the original GIF palette - * CLI and GUI versions available - * OS-independent source code is under zlib license +-------- + + * Keeps frame delays and loop count + * Option to keep the original GIF palette + * CLI and GUI versions available + * OS-independent source code is under zlib license + +Usage +----- + + gif2apng [options] anim.gif [anim.png] + +Options +------- + + * -z0 : zlib compression + * -z1 : 7zip compression (default) + * -z2 : Zopfli compression + * -i## : number of iterations, default -i15 + * -kp : keep the palette diff -r daabefa33afd -r 4a79ec233766 gif2apng/receipt --- a/gif2apng/receipt Mon Feb 13 11:27:42 2017 +0200 +++ b/gif2apng/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -1,14 +1,15 @@ # SliTaz package receipt. PACKAGE="gif2apng" -VERSION="1.7" +VERSION="1.9" CATEGORY="utilities" SHORT_DESC="Convert GIF animations into APNG format" MAINTAINER="al.bobylev@gmail.com" LICENSE="zlib/libpng" WEB_SITE="http://gif2apng.sourceforge.net/" + TARBALL="$PACKAGE-$VERSION-src.zip" -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="zlib" BUILD_DEPENDS="zlib-dev" @@ -17,11 +18,13 @@ compile_rules() { make + + mkdir -p $install/usr/bin + cp -a $src/gif2apng $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/$PACKAGE $fs/usr/bin + cook_copy_files gif2apng } diff -r daabefa33afd -r 4a79ec233766 libpng/receipt --- a/libpng/receipt Mon Feb 13 11:27:42 2017 +0200 +++ b/libpng/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -2,7 +2,6 @@ PACKAGE="libpng" VERSION="1.6.28" -SERIES="libpng16" CATEGORY="libs" SHORT_DESC="PNG images library (with APNG support)" MAINTAINER="al.bobylev@gmail.com" @@ -14,7 +13,7 @@ WGET_URL="$SF_MIRROR/libpng/$TARBALL" PATCH="$PACKAGE-$VERSION-apng.patch.gz" -PATCH_URL="$SF_MIRROR/apng/libpng/$SERIES/$PATCH" +PATCH_URL="$SF_MIRROR/apng/$PATCH" DEPENDS="zlib" BUILD_DEPENDS="gawk zlib-dev" diff -r daabefa33afd -r 4a79ec233766 libpng12-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpng12-dev/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="libpng12-dev" +VERSION="1.2.57" +CATEGORY="development" +SHORT_DESC="PNG images library (1.2 series, with APNG support, development files)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="http://libpng.org/pub/png/libpng.html" +HOST_ARCH="i486 arm" + +WANTED="libpng12" +DEPENDS="libpng12" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files libpng*-config *.h *.la *.pc +} diff -r daabefa33afd -r 4a79ec233766 libpng12/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpng12/receipt Wed Feb 15 18:52:32 2017 +0200 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="libpng12" +VERSION="1.2.57" +CATEGORY="libs" +SHORT_DESC="PNG images library (1.2 series, with APNG support)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="http://www.libpng.org/pub/png/libpng.html" +HOST_ARCH="i486 arm" + +TARBALL="libpng-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/libpng/$TARBALL" + +PATCH="libpng-$VERSION-apng.patch.gz" +PATCH_URL="$SF_MIRROR/apng/$PATCH" + +DEPENDS="zlib" +BUILD_DEPENDS="gawk zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL + gzip -cd $SRC/$PATCH | patch -p0 + + ./configure \ + --disable-static \ + $CONFIGURE_ARGS && + make && make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files *.so* +}