# HG changeset patch # User Aleksej Bobylev # Date 1371179789 0 # Node ID 1ce2e857978b73bbb91ddb391caf3f27c028bac5 # Parent 67ed985ed744dceb9ad0824e9320a93397e0b4b4 Add: gif2apng, apng2gif, apngasm, apngdis, apngopt, libpng+apng (latest stable libpng 1.6.2); up: optipng (0.7.4). diff -r 67ed985ed744 -r 1ce2e857978b apng2gif/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apng2gif/description.txt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,12 @@ +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. +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 diff -r 67ed985ed744 -r 1ce2e857978b apng2gif/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apng2gif/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="apng2gif" +VERSION="1.5" +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" + +DEPENDS="zlib" +BUILD_DEPENDS="zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin +} diff -r 67ed985ed744 -r 1ce2e857978b apngasm/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apngasm/description.txt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,3 @@ +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 diff -r 67ed985ed744 -r 1ce2e857978b apngasm/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apngasm/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="apngasm" +VERSION="2.7" +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/" +TARBALL="$PACKAGE-$VERSION-src.zip" +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" + +DEPENDS="libpng" +BUILD_DEPENDS="zlib-dev libpng-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin +} diff -r 67ed985ed744 -r 1ce2e857978b apngdis/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apngdis/description.txt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,3 @@ +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 diff -r 67ed985ed744 -r 1ce2e857978b apngdis/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apngdis/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="apngdis" +VERSION="2.5" +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/" +TARBALL="$PACKAGE-$VERSION-src.zip" +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" + +DEPENDS="zlib" +BUILD_DEPENDS="zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin +} diff -r 67ed985ed744 -r 1ce2e857978b apngopt/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apngopt/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="apngopt" +VERSION="1.2" +CATEGORY="utilities" +SHORT_DESC="Optimizes existing APNG animation" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="http://sourceforge.net/projects/apng/" +TARBALL="$PACKAGE-$VERSION-src.zip" +WGET_URL="$SF_MIRROR/apng/APNG_Optimizer/$VERSION/$TARBALL" + +DEPENDS="zlib" +BUILD_DEPENDS="zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin +} diff -r 67ed985ed744 -r 1ce2e857978b gif2apng/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gif2apng/description.txt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,10 @@ +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. +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 diff -r 67ed985ed744 -r 1ce2e857978b gif2apng/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gif2apng/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="gif2apng" +VERSION="1.7" +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" + +DEPENDS="zlib" +BUILD_DEPENDS="zlib-dev" + +# Rules to configure and make the package. +compile_rules() +{ + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin +} diff -r 67ed985ed744 -r 1ce2e857978b libpng+apng-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpng+apng-dev/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,25 @@ +# SliTaz package receipt. + +PACKAGE="libpng+apng-dev" +VERSION="1.6.2" +CATEGORY="development" +SHORT_DESC="Development files for libpng (with APNG support)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="http://libpng.org/pub/png/libpng.html" + +WANTED="libpng+apng" +DEPENDS="libpng+apng" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p \ + $fs/usr/lib \ + $fs/usr/share/licenses + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $src/LICENSE $fs/usr/share/licenses/${PACKAGE%-dev}.txt +} diff -r 67ed985ed744 -r 1ce2e857978b libpng+apng/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpng+apng/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="libpng+apng" +PROVIDE="libpng" +SOURCE="libpng" +VERSION="1.6.2" +SERIES="libpng16" +CATEGORY="x-window" +SHORT_DESC="Loads and saves PNG files (with APNG support)" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="zlib/libpng" +WEB_SITE="http://www.libpng.org/pub/png/libpng.html" +TARBALL="$SOURCE-$VERSION.tar.xz" +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" + +PATCH="$SOURCE-$VERSION-apng.patch.gz" +PATCH_URL="$SF_MIRROR/apng/$SOURCE/$SERIES/$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 \ + --prefix=/usr \ + --disable-static \ + $CONFIGURE_ARGS && + make && + make check && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +} diff -r 67ed985ed744 -r 1ce2e857978b optipng/receipt --- a/optipng/receipt Thu Jun 13 18:12:27 2013 +0000 +++ b/optipng/receipt Fri Jun 14 03:16:29 2013 +0000 @@ -1,30 +1,36 @@ # SliTaz package receipt. PACKAGE="optipng" -VERSION="0.6.5" -CATEGORY="graphics" +VERSION="0.7.4" +CATEGORY="utilities" SHORT_DESC="A command line tool to compress and optimize PNG images." MAINTAINER="pankso@slitaz.org" -DEPENDS="libpng zlib" -BUILD_DEPENDS="libpng-dev zlib-dev" +LICENSE="zlib/libpng" +WEB_SITE="http://optipng.sourceforge.net/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://optipng.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="image compression" +DEPENDS="libpng+apng" +BUILD_DEPENDS="libpng+apng-dev zlib-dev" + # Rules to configure and make the package. compile_rules() { - cd $src/lib/zlib - ./configure && + ./configure \ + -prefix=/usr \ + -with-system-libpng && make && - cd $src/src - make -f scripts/gcc.mak + make test && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - cp -a $src/src/optipng $fs/usr/bin + mkdir -p \ + $fs/usr/bin \ + $fs/usr/share/licenses + cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt + cp -a $install/usr/bin $fs/usr }