wok-next rev 19641
Add libpng12; up libpng & apng tools.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 15 18:52:32 2017 +0200 (2017-02-15) |
parents | daabefa33afd |
children | 364cb5b583b1 |
files | apng2gif/description.txt apng2gif/receipt apngasm/description.txt apngasm/receipt apngdis/description.txt apngdis/receipt apngopt/description.txt apngopt/receipt gif2apng/description.txt gif2apng/receipt libpng/receipt libpng12-dev/receipt libpng12/receipt |
line diff
1.1 --- a/apng2gif/description.txt Mon Feb 13 11:27:42 2017 +0200 1.2 +++ b/apng2gif/description.txt Wed Feb 15 18:52:32 2017 +0200 1.3 @@ -1,12 +1,30 @@ 1.4 This program converts APNG animations into animated GIF format. 1.5 Wu64 quantization is used for true-color files. Transparency is handled either 1.6 using a threshold, or composed over chosen background color. CLI version is 1.7 -OS-independent, GUI version is available for Windows. 1.8 +OS-independent, GUI version is available for Windows. 1.9 + 1.10 Another converter: gif2apng 1.11 1.12 Features 1.13 +-------- 1.14 1.15 - * Wu64 quantization for true-color files 1.16 - * Flexible options for transparency handling 1.17 - * CLI and GUI versions available 1.18 - * OS-independent source code is under zlib license 1.19 + * Wu64 quantization for true-color files 1.20 + * Flexible options for transparency handling 1.21 + * CLI and GUI versions available 1.22 + * OS-independent source code is under zlib license 1.23 + 1.24 +Usage 1.25 +----- 1.26 + 1.27 + apng2gif anim.png [anim.gif] [-t tlevel] [-b bcolor] 1.28 + 1.29 +Options 1.30 +------- 1.31 + 1.32 + * -t 128 : will set the transparency threshold level as 128, so pixels with 1.33 + alpha level less than 128 will become fully transparent. 1.34 + * -b "#ff0000" -b 255 0 0 : will set the background color as red, so 1.35 + partially transparent pixels will be composed over red. 1.36 + When -b is used, -t is ignored. 1.37 + 1.38 +When no options are specified, default threshold is 128, no background color.
2.1 --- a/apng2gif/receipt Mon Feb 13 11:27:42 2017 +0200 2.2 +++ b/apng2gif/receipt Wed Feb 15 18:52:32 2017 +0200 2.3 @@ -1,27 +1,30 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="apng2gif" 2.7 -VERSION="1.5" 2.8 +VERSION="1.7" 2.9 CATEGORY="utilities" 2.10 SHORT_DESC="Convert APNG animations into animated GIF format" 2.11 MAINTAINER="al.bobylev@gmail.com" 2.12 LICENSE="zlib/libpng" 2.13 WEB_SITE="http://apng2gif.sourceforge.net/" 2.14 + 2.15 TARBALL="$PACKAGE-$VERSION-src.zip" 2.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 2.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.18 2.19 -DEPENDS="zlib" 2.20 -BUILD_DEPENDS="zlib-dev" 2.21 +DEPENDS="zlib libpng" 2.22 +BUILD_DEPENDS="zlib-dev libpng-dev" 2.23 2.24 # Rules to configure and make the package. 2.25 compile_rules() 2.26 { 2.27 make 2.28 + 2.29 + mkdir -p $install/usr/bin 2.30 + cp -a $src/apng2gif $install/usr/bin 2.31 } 2.32 2.33 # Rules to gen a SliTaz package suitable for Tazpkg. 2.34 genpkg_rules() 2.35 { 2.36 - mkdir -p $fs/usr/bin 2.37 - cp -a $src/$PACKAGE $fs/usr/bin 2.38 + cook_copy_files apng2gif 2.39 }
3.1 --- a/apngasm/description.txt Mon Feb 13 11:27:42 2017 +0200 3.2 +++ b/apngasm/description.txt Wed Feb 15 18:52:32 2017 +0200 3.3 @@ -1,3 +1,25 @@ 3.4 Standalone version of the popular APNG Assembler. 3.5 Simple command-line interface. No size limits. 3.6 -Also, APNG Disassembler can be found at http://sourceforge.net/projects/apngdis 3.7 + 3.8 +Also, APNG Disassembler can be found at http://apngdis.sourceforge.net/ 3.9 + 3.10 +Usage 3.11 +----- 3.12 + 3.13 + apngasm output.png frame001.png [options] 3.14 + apngasm output.png frame*.png [options] 3.15 + 3.16 +Options 3.17 +------- 3.18 + 3.19 + * 1 10 : frame delay is 1/10 sec. (default) 3.20 + * -l2 : 2 loops (default is 0, forever) 3.21 + * -f : skip the first frame 3.22 + * -hs## : input is horizontal strip of ## frames (example: -hs12) 3.23 + * -vs## : input is vertical strip of ## frames (example: -vs12) 3.24 + * -kp : keep palette 3.25 + * -kc : keep color type 3.26 + * -z0 : zlib compression 3.27 + * -z1 : 7zip compression (default) 3.28 + * -z2 : Zopfli compression 3.29 + * -i## : number of iterations (default -i15)
4.1 --- a/apngasm/receipt Mon Feb 13 11:27:42 2017 +0200 4.2 +++ b/apngasm/receipt Wed Feb 15 18:52:32 2017 +0200 4.3 @@ -1,14 +1,15 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="apngasm" 4.7 -VERSION="2.7" 4.8 +VERSION="2.91" 4.9 CATEGORY="utilities" 4.10 SHORT_DESC="Creates APNG animation from PNG/TGA image sequence" 4.11 MAINTAINER="al.bobylev@gmail.com" 4.12 LICENSE="zlib/libpng" 4.13 -WEB_SITE="http://sourceforge.net/projects/apngasm/" 4.14 +WEB_SITE="http://apngasm.sourceforge.net/" 4.15 + 4.16 TARBALL="$PACKAGE-$VERSION-src.zip" 4.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 4.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 4.19 4.20 DEPENDS="libpng" 4.21 BUILD_DEPENDS="zlib-dev libpng-dev" 4.22 @@ -17,11 +18,13 @@ 4.23 compile_rules() 4.24 { 4.25 make 4.26 + 4.27 + mkdir -p $install/usr/bin 4.28 + cp -a $src/apngasm $install/usr/bin 4.29 } 4.30 4.31 # Rules to gen a SliTaz package suitable for Tazpkg. 4.32 genpkg_rules() 4.33 { 4.34 - mkdir -p $fs/usr/bin 4.35 - cp -a $src/$PACKAGE $fs/usr/bin 4.36 + cook_copy_files apngasm 4.37 }
5.1 --- a/apngdis/description.txt Mon Feb 13 11:27:42 2017 +0200 5.2 +++ b/apngdis/description.txt Wed Feb 15 18:52:32 2017 +0200 5.3 @@ -1,3 +1,9 @@ 5.4 This program converts APNG file into a sequence of individual PNG frames. 5.5 Simple command-line interface. 5.6 -Also, APNG Assembler can be found at http://sourceforge.net/projects/apngasm 5.7 + 5.8 +Also, APNG Assembler can be found at http://apngasm.sourceforge.net/ 5.9 + 5.10 +Usage 5.11 +----- 5.12 + 5.13 + apngdis anim.png [name]
6.1 --- a/apngdis/receipt Mon Feb 13 11:27:42 2017 +0200 6.2 +++ b/apngdis/receipt Wed Feb 15 18:52:32 2017 +0200 6.3 @@ -1,27 +1,30 @@ 6.4 # SliTaz package receipt. 6.5 6.6 PACKAGE="apngdis" 6.7 -VERSION="2.5" 6.8 +VERSION="2.8" 6.9 CATEGORY="utilities" 6.10 SHORT_DESC="Deconstruct APNG file into a sequence of PNG frames" 6.11 MAINTAINER="al.bobylev@gmail.com" 6.12 LICENSE="zlib/libpng" 6.13 -WEB_SITE="http://sourceforge.net/projects/apngdis/" 6.14 +WEB_SITE="http://apngdis.sourceforge.net/" 6.15 + 6.16 TARBALL="$PACKAGE-$VERSION-src.zip" 6.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 6.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 6.19 6.20 -DEPENDS="zlib" 6.21 -BUILD_DEPENDS="zlib-dev" 6.22 +DEPENDS="zlib libpng" 6.23 +BUILD_DEPENDS="zlib-dev libpng-dev" 6.24 6.25 # Rules to configure and make the package. 6.26 compile_rules() 6.27 { 6.28 make 6.29 + 6.30 + mkdir -p $install/usr/bin 6.31 + cp -a $src/apngdis $install/usr/bin 6.32 } 6.33 6.34 # Rules to gen a SliTaz package suitable for Tazpkg. 6.35 genpkg_rules() 6.36 { 6.37 - mkdir -p $fs/usr/bin 6.38 - cp -a $src/$PACKAGE $fs/usr/bin 6.39 + cook_copy_files apngdis 6.40 }
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/apngopt/description.txt Wed Feb 15 18:52:32 2017 +0200 7.3 @@ -0,0 +1,14 @@ 7.4 +Small utility to optimize existing APNG animations. 7.5 + 7.6 +Usage 7.7 +----- 7.8 + 7.9 + apngopt [options] anim.png [anim_opt.png] 7.10 + 7.11 +Options 7.12 +------- 7.13 + 7.14 + * -z0 : zlib compression 7.15 + * -z1 : 7zip compression (default) 7.16 + * -z2 : Zopfli compression 7.17 + * -i## : number of iterations, default -i15
8.1 --- a/apngopt/receipt Mon Feb 13 11:27:42 2017 +0200 8.2 +++ b/apngopt/receipt Wed Feb 15 18:52:32 2017 +0200 8.3 @@ -1,27 +1,30 @@ 8.4 # SliTaz package receipt. 8.5 8.6 PACKAGE="apngopt" 8.7 -VERSION="1.2" 8.8 +VERSION="1.4" 8.9 CATEGORY="utilities" 8.10 SHORT_DESC="Optimizes existing APNG animation" 8.11 MAINTAINER="al.bobylev@gmail.com" 8.12 LICENSE="zlib/libpng" 8.13 -WEB_SITE="http://sourceforge.net/projects/apng/" 8.14 +WEB_SITE="https://sourceforge.net/projects/apng/" 8.15 + 8.16 TARBALL="$PACKAGE-$VERSION-src.zip" 8.17 -WGET_URL="$SF_MIRROR/apng/APNG_Optimizer/$VERSION/$TARBALL" 8.18 +WGET_URL="$SF_MIRROR/apng/$TARBALL" 8.19 8.20 -DEPENDS="zlib" 8.21 -BUILD_DEPENDS="zlib-dev" 8.22 +DEPENDS="zlib libpng" 8.23 +BUILD_DEPENDS="zlib-dev libpng-dev" 8.24 8.25 # Rules to configure and make the package. 8.26 compile_rules() 8.27 { 8.28 make 8.29 + 8.30 + mkdir -p $install/usr/bin 8.31 + cp -a $src/apngopt $install/usr/bin 8.32 } 8.33 8.34 # Rules to gen a SliTaz package suitable for Tazpkg. 8.35 genpkg_rules() 8.36 { 8.37 - mkdir -p $fs/usr/bin 8.38 - cp -a $src/$PACKAGE $fs/usr/bin 8.39 + cook_copy_files apngopt 8.40 }
9.1 --- a/gif2apng/description.txt Mon Feb 13 11:27:42 2017 +0200 9.2 +++ b/gif2apng/description.txt Wed Feb 15 18:52:32 2017 +0200 9.3 @@ -1,10 +1,27 @@ 9.4 This program converts GIF animations into animated PNG format. 9.5 Usually it makes the files smaller. CLI version is OS-independent, GUI version 9.6 -is available for Windows. 9.7 +is available for Windows. 9.8 + 9.9 Another converter: apng2gif 9.10 9.11 Features 9.12 - * Keeps frame delays and loop count 9.13 - * Option to keep the original GIF palette 9.14 - * CLI and GUI versions available 9.15 - * OS-independent source code is under zlib license 9.16 +-------- 9.17 + 9.18 + * Keeps frame delays and loop count 9.19 + * Option to keep the original GIF palette 9.20 + * CLI and GUI versions available 9.21 + * OS-independent source code is under zlib license 9.22 + 9.23 +Usage 9.24 +----- 9.25 + 9.26 + gif2apng [options] anim.gif [anim.png] 9.27 + 9.28 +Options 9.29 +------- 9.30 + 9.31 + * -z0 : zlib compression 9.32 + * -z1 : 7zip compression (default) 9.33 + * -z2 : Zopfli compression 9.34 + * -i## : number of iterations, default -i15 9.35 + * -kp : keep the palette
10.1 --- a/gif2apng/receipt Mon Feb 13 11:27:42 2017 +0200 10.2 +++ b/gif2apng/receipt Wed Feb 15 18:52:32 2017 +0200 10.3 @@ -1,14 +1,15 @@ 10.4 # SliTaz package receipt. 10.5 10.6 PACKAGE="gif2apng" 10.7 -VERSION="1.7" 10.8 +VERSION="1.9" 10.9 CATEGORY="utilities" 10.10 SHORT_DESC="Convert GIF animations into APNG format" 10.11 MAINTAINER="al.bobylev@gmail.com" 10.12 LICENSE="zlib/libpng" 10.13 WEB_SITE="http://gif2apng.sourceforge.net/" 10.14 + 10.15 TARBALL="$PACKAGE-$VERSION-src.zip" 10.16 -WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 10.17 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 10.18 10.19 DEPENDS="zlib" 10.20 BUILD_DEPENDS="zlib-dev" 10.21 @@ -17,11 +18,13 @@ 10.22 compile_rules() 10.23 { 10.24 make 10.25 + 10.26 + mkdir -p $install/usr/bin 10.27 + cp -a $src/gif2apng $install/usr/bin 10.28 } 10.29 10.30 # Rules to gen a SliTaz package suitable for Tazpkg. 10.31 genpkg_rules() 10.32 { 10.33 - mkdir -p $fs/usr/bin 10.34 - cp -a $src/$PACKAGE $fs/usr/bin 10.35 + cook_copy_files gif2apng 10.36 }
11.1 --- a/libpng/receipt Mon Feb 13 11:27:42 2017 +0200 11.2 +++ b/libpng/receipt Wed Feb 15 18:52:32 2017 +0200 11.3 @@ -2,7 +2,6 @@ 11.4 11.5 PACKAGE="libpng" 11.6 VERSION="1.6.28" 11.7 -SERIES="libpng16" 11.8 CATEGORY="libs" 11.9 SHORT_DESC="PNG images library (with APNG support)" 11.10 MAINTAINER="al.bobylev@gmail.com" 11.11 @@ -14,7 +13,7 @@ 11.12 WGET_URL="$SF_MIRROR/libpng/$TARBALL" 11.13 11.14 PATCH="$PACKAGE-$VERSION-apng.patch.gz" 11.15 -PATCH_URL="$SF_MIRROR/apng/libpng/$SERIES/$PATCH" 11.16 +PATCH_URL="$SF_MIRROR/apng/$PATCH" 11.17 11.18 DEPENDS="zlib" 11.19 BUILD_DEPENDS="gawk zlib-dev"
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/libpng12-dev/receipt Wed Feb 15 18:52:32 2017 +0200 12.3 @@ -0,0 +1,19 @@ 12.4 +# SliTaz package receipt. 12.5 + 12.6 +PACKAGE="libpng12-dev" 12.7 +VERSION="1.2.57" 12.8 +CATEGORY="development" 12.9 +SHORT_DESC="PNG images library (1.2 series, with APNG support, development files)" 12.10 +MAINTAINER="al.bobylev@gmail.com" 12.11 +LICENSE="zlib/libpng" 12.12 +WEB_SITE="http://libpng.org/pub/png/libpng.html" 12.13 +HOST_ARCH="i486 arm" 12.14 + 12.15 +WANTED="libpng12" 12.16 +DEPENDS="libpng12" 12.17 + 12.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 12.19 +genpkg_rules() 12.20 +{ 12.21 + cook_copy_files libpng*-config *.h *.la *.pc 12.22 +}
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/libpng12/receipt Wed Feb 15 18:52:32 2017 +0200 13.3 @@ -0,0 +1,37 @@ 13.4 +# SliTaz package receipt. 13.5 + 13.6 +PACKAGE="libpng12" 13.7 +VERSION="1.2.57" 13.8 +CATEGORY="libs" 13.9 +SHORT_DESC="PNG images library (1.2 series, with APNG support)" 13.10 +MAINTAINER="al.bobylev@gmail.com" 13.11 +LICENSE="zlib/libpng" 13.12 +WEB_SITE="http://www.libpng.org/pub/png/libpng.html" 13.13 +HOST_ARCH="i486 arm" 13.14 + 13.15 +TARBALL="libpng-$VERSION.tar.xz" 13.16 +WGET_URL="$SF_MIRROR/libpng/$TARBALL" 13.17 + 13.18 +PATCH="libpng-$VERSION-apng.patch.gz" 13.19 +PATCH_URL="$SF_MIRROR/apng/$PATCH" 13.20 + 13.21 +DEPENDS="zlib" 13.22 +BUILD_DEPENDS="gawk zlib-dev" 13.23 + 13.24 +# Rules to configure and make the package. 13.25 +compile_rules() 13.26 +{ 13.27 + [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL 13.28 + gzip -cd $SRC/$PATCH | patch -p0 13.29 + 13.30 + ./configure \ 13.31 + --disable-static \ 13.32 + $CONFIGURE_ARGS && 13.33 + make && make install 13.34 +} 13.35 + 13.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 13.37 +genpkg_rules() 13.38 +{ 13.39 + cook_copy_files *.so* 13.40 +}