diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/pngquant | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r-- | media-gfx/pngquant/Manifest | 6 | ||||
-rw-r--r-- | media-gfx/pngquant/files/pngquant-1.8.3-libpng16.patch | 53 | ||||
-rw-r--r-- | media-gfx/pngquant/metadata.xml | 5 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-1.8.2.ebuild | 38 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-1.8.3.ebuild | 49 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-2.0.2.ebuild | 48 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-2.1.0.ebuild | 48 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-2.2.0.ebuild | 48 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-2.3.3.ebuild | 40 |
9 files changed, 335 insertions, 0 deletions
diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest new file mode 100644 index 000000000000..9b4bea02e3c9 --- /dev/null +++ b/media-gfx/pngquant/Manifest @@ -0,0 +1,6 @@ +DIST pngquant-1.8.2-src.tar.bz2 31901 SHA256 a51924ad141c010516e46122e84c6d1882d26b7e984900aaa107d74274e1a396 SHA512 394688ea754be781f96372a793c4186d35014dc1fc3b974e2335542d0aaaebe811bd4db5c34f7d7ec492aa38ff8b46c43a6ce77dc78483c4d43afb8aef8ba708 WHIRLPOOL 1904afa05206b11458fe54889cfacee0267f85379186e1cd344a4dc8411598e79e1950a90e1f997b212e0a5b8ed3c13acfce36a2300e0afa295c0eac361d44fa +DIST pngquant-1.8.3-src.tar.bz2 32287 SHA256 e3d18b12ddf4ee159a696408b147d667674e52121f11660fc15ce3967dd053b9 SHA512 6a123722d1b035fd9cff51004ab222e5d6cc09890cdc440683609b187d492a24f924fec7b15201c8c4bff84bb3891d7f17a99fd24714b71d4ab3c8ac5c3cfc38 WHIRLPOOL a799e840e645c6bd5ec4ce118d5af8b263f3d1ca0ed898ed447bee8ffa98d61eb97eab392cd7db0440600568809891b9cac1c033cfecac65d0c36bca446f469f +DIST pngquant-2.0.2-src.tar.bz2 45160 SHA256 e1988b18cab1efb889224ac1d640510f09464b5b6fd43beb5edcb161b67db96f SHA512 9e7f652c8e32d408e3f2ccd7854961d8b49e3517f847018cddb9ed415f4bc820c00d27a15760222af33e631a2023c57c420ca306a56f717d2de526da4b5670b8 WHIRLPOOL f0af27fbd3d172677b5cae0bf20d13b71a66fb7738c3b9576b19b785a29b6cd77c21935b3aeb51230696cfb05f4495eca2977d885d616e344f0bf2be079e3621 +DIST pngquant-2.1.0-src.tar.bz2 46435 SHA256 ef41138ff320495c785155eb9f774ae6e1d41978b3e490854e6a8c46c0b032e2 SHA512 277c8fdb07e3eb2fa3643787b2442fc35f17b955e90a5e496aacd87c791ea2ae9fd0c9734cccf5bdc8bc7bc633ea42d6ff94dcb410ad0bfce83c619fff8d83df WHIRLPOOL d277027232fc96f37a7e3e3aacfad4f2bf5ec0cbaa46b67dd291d88075c5794918a3d1a24bbb345def79fb2b0669bdcbd6b547099abe6b15aa877ef17edec5c4 +DIST pngquant-2.2.0-src.tar.bz2 49041 SHA256 7ee202f26270bb0ea8ad6f9a2fc2517ffca2bcded3dfdbd3b99692dcc72e5d11 SHA512 58ab515f1b3a12d95edc597b088f026668be3d022e753ddaf2e9474dd9feaaad9f0362b1b7ad0951ffe27b00fa7940e555372b404a52b79398e06e3c533b584c WHIRLPOOL b3aa2269771e94262badd396766b472d65b310b17c1a733b91059a61194f612f20b9fc9e34bab6015d228d24f1fa7ec5b17327131e2ea5afcbe7787cb0ce316a +DIST pngquant-2.3.3-src.tar.bz2 53274 SHA256 522d8d4255dbba7ee7b0edd4cadd387a819eae925f4a0679278c3295430b78d6 SHA512 b772d7d887cb1e52ca4c61fd55aba08f8b1f1b2edf45fcb17411e127cfc7a89afc2f12ef91ad9d690c216ba20cabd6e04fca465622a97f9fd538fb720acd9bba WHIRLPOOL d2eb753723bdbda9649dd3fe4b05333c4d3f2aec4e32f9b19612110c1f99020a7e2d544012205b0caf7aa04b3f3f3ebb1a7844b663606bca9c8f07a3eda3ba2a diff --git a/media-gfx/pngquant/files/pngquant-1.8.3-libpng16.patch b/media-gfx/pngquant/files/pngquant-1.8.3-libpng16.patch new file mode 100644 index 000000000000..edf089ff9678 --- /dev/null +++ b/media-gfx/pngquant/files/pngquant-1.8.3-libpng16.patch @@ -0,0 +1,53 @@ +Rename to prevent conflict with png_image from libpng16 + +http://bugs.gentoo.org/464762 + +--- rwpng.c ++++ rwpng.c +@@ -213,7 +213,7 @@ + } + + +-pngquant_error rwpng_write_image_init(png_image *mainprog_ptr, png_structpp png_ptr_p, png_infopp info_ptr_p, FILE *outfile) ++pngquant_error rwpng_write_image_init(rwpng_png_image *mainprog_ptr, png_structpp png_ptr_p, png_infopp info_ptr_p, FILE *outfile) + { + /* could also replace libpng warning-handler (final NULL), but no need: */ + +@@ -277,7 +277,7 @@ + png_structp png_ptr; + png_infop info_ptr; + +- pngquant_error retval = rwpng_write_image_init((png_image*)mainprog_ptr, &png_ptr, &info_ptr, outfile); ++ pngquant_error retval = rwpng_write_image_init((rwpng_png_image*)mainprog_ptr, &png_ptr, &info_ptr, outfile); + if (retval) return retval; + + // Palette images generally don't gain anything from filtering +@@ -321,7 +321,7 @@ + png_structp png_ptr; + png_infop info_ptr; + +- pngquant_error retval = rwpng_write_image_init((png_image*)mainprog_ptr, &png_ptr, &info_ptr, outfile); ++ pngquant_error retval = rwpng_write_image_init((rwpng_png_image*)mainprog_ptr, &png_ptr, &info_ptr, outfile); + if (retval) return retval; + + rwpng_set_gamma(info_ptr, png_ptr, mainprog_ptr->gamma); +@@ -344,7 +344,7 @@ + + static void rwpng_error_handler(png_structp png_ptr, png_const_charp msg) + { +- png_image *mainprog_ptr; ++ rwpng_png_image *mainprog_ptr; + + /* This function, aside from the extra step of retrieving the "error + * pointer" (below) and the fact that it exists within the application +--- rwpng.h ++++ rwpng.h +@@ -80,7 +80,7 @@ + jmp_buf jmpbuf; + png24_image png24; + png8_image png8; +-} png_image; ++} rwpng_png_image; + + /* prototypes for public functions in rwpng.c */ + diff --git a/media-gfx/pngquant/metadata.xml b/media-gfx/pngquant/metadata.xml new file mode 100644 index 000000000000..e770d1bc9a96 --- /dev/null +++ b/media-gfx/pngquant/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>graphics</herd> +</pkgmetadata> diff --git a/media-gfx/pngquant/pngquant-1.8.2.ebuild b/media-gfx/pngquant/pngquant-1.8.2.ebuild new file mode 100644 index 000000000000..4fc297a65e52 --- /dev/null +++ b/media-gfx/pngquant/pngquant-1.8.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit toolchain-funcs + +DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs" +HOMEPAGE="http://pngquant.org/" +SRC_URI="http://pngquant.org/${P}-src.tar.bz2" + +LICENSE="HPND rwpng" +SLOT=0 +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:=" +DEPEND=${RDEPEND} + +src_prepare() { + # Failure in upstream logic. Otherwise we lose the -I and -L flags + # from Makefile. + sed -i \ + -e 's:CFLAGS ?=:CFLAGS +=:' \ + -e 's:LDFLAGS ?=:LDFLAGS +=:' \ + Makefile || die +} + +src_compile() { + tc-export CC + emake CFLAGSOPT='' +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc CHANGELOG README.md +} diff --git a/media-gfx/pngquant/pngquant-1.8.3.ebuild b/media-gfx/pngquant/pngquant-1.8.3.ebuild new file mode 100644 index 000000000000..ac22a581ce24 --- /dev/null +++ b/media-gfx/pngquant/pngquant-1.8.3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs" +HOMEPAGE="http://pngquant.org/" +SRC_URI="http://pngquant.org/${P}-src.tar.bz2" + +LICENSE="HPND rwpng" +SLOT=0 +KEYWORDS="~amd64 ~x86" +IUSE="debug openmp cpu_flags_x86_sse2" + +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:=" +DEPEND=${RDEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-libpng16.patch + + # Failure in upstream logic. Otherwise we lose the -I and -L flags + # from Makefile. + sed -i \ + -e 's:CFLAGS ?=:CFLAGS +=:' \ + -e 's:LDFLAGS ?=:LDFLAGS +=:' \ + Makefile || die +} + +src_compile() { + use debug || append-cflags -DNDEBUG + use cpu_flags_x86_sse2 && append-cflags -DUSE_SSE=1 + + local openmp + if use openmp && tc-has-openmp; then + append-cflags -fopenmp + openmp="-lgomp" + fi + + tc-export CC + emake CFLAGSOPT="" OPENMPFLAGS="${openmp}" +} + +src_install() { + emake CFLAGSOPT="" DESTDIR="${D}" PREFIX=/usr install + dodoc CHANGELOG README.md +} diff --git a/media-gfx/pngquant/pngquant-2.0.2.ebuild b/media-gfx/pngquant/pngquant-2.0.2.ebuild new file mode 100644 index 000000000000..c8f98d53f648 --- /dev/null +++ b/media-gfx/pngquant/pngquant-2.0.2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs" +HOMEPAGE="http://pngquant.org/" +SRC_URI="http://pngquant.org/${P}-src.tar.bz2" + +LICENSE="HPND rwpng" +SLOT=0 +KEYWORDS="~amd64 ~x86" +IUSE="debug openmp cpu_flags_x86_sse2" + +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:=" +DEPEND=${RDEPEND} + +src_prepare() { + # Failure in upstream logic. Otherwise we lose the -I and -L flags + # from Makefile. + sed -i \ + -e 's:CFLAGS ?=:CFLAGS +=:' \ + -e 's:LDFLAGS ?=:LDFLAGS +=:' \ + Makefile || die +} + +src_compile() { + use debug || append-cflags -DNDEBUG + use cpu_flags_x86_sse2 && append-cflags -DUSE_SSE=1 + + local openmp + if use openmp && tc-has-openmp; then + append-cflags -fopenmp + openmp="-lgomp" + fi + + tc-export CC + emake CFLAGSOPT="" OPENMPFLAGS="${openmp}" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc CHANGELOG README.md +} diff --git a/media-gfx/pngquant/pngquant-2.1.0.ebuild b/media-gfx/pngquant/pngquant-2.1.0.ebuild new file mode 100644 index 000000000000..5b75e93d36f2 --- /dev/null +++ b/media-gfx/pngquant/pngquant-2.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs" +HOMEPAGE="http://pngquant.org/" +SRC_URI="http://pngquant.org/${P}-src.tar.bz2" + +LICENSE="HPND rwpng" +SLOT=0 +KEYWORDS="~amd64 ~x86" +IUSE="debug openmp cpu_flags_x86_sse2" + +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:=" +DEPEND=${RDEPEND} + +src_prepare() { + # Failure in upstream logic. Otherwise we lose the -I and -L flags + # from Makefile. + sed -i \ + -e 's:CFLAGS ?=:CFLAGS +=:' \ + -e 's:LDFLAGS ?=:LDFLAGS +=:' \ + Makefile || die +} + +src_compile() { + use debug || append-cflags -DNDEBUG + use cpu_flags_x86_sse2 && append-cflags -DUSE_SSE=1 + + local openmp + if use openmp && tc-has-openmp; then + append-cflags -fopenmp + openmp="-lgomp" + fi + + tc-export CC + emake CFLAGSOPT="" OPENMPFLAGS="${openmp}" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc CHANGELOG README.md +} diff --git a/media-gfx/pngquant/pngquant-2.2.0.ebuild b/media-gfx/pngquant/pngquant-2.2.0.ebuild new file mode 100644 index 000000000000..5b75e93d36f2 --- /dev/null +++ b/media-gfx/pngquant/pngquant-2.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs" +HOMEPAGE="http://pngquant.org/" +SRC_URI="http://pngquant.org/${P}-src.tar.bz2" + +LICENSE="HPND rwpng" +SLOT=0 +KEYWORDS="~amd64 ~x86" +IUSE="debug openmp cpu_flags_x86_sse2" + +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:=" +DEPEND=${RDEPEND} + +src_prepare() { + # Failure in upstream logic. Otherwise we lose the -I and -L flags + # from Makefile. + sed -i \ + -e 's:CFLAGS ?=:CFLAGS +=:' \ + -e 's:LDFLAGS ?=:LDFLAGS +=:' \ + Makefile || die +} + +src_compile() { + use debug || append-cflags -DNDEBUG + use cpu_flags_x86_sse2 && append-cflags -DUSE_SSE=1 + + local openmp + if use openmp && tc-has-openmp; then + append-cflags -fopenmp + openmp="-lgomp" + fi + + tc-export CC + emake CFLAGSOPT="" OPENMPFLAGS="${openmp}" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc CHANGELOG README.md +} diff --git a/media-gfx/pngquant/pngquant-2.3.3.ebuild b/media-gfx/pngquant/pngquant-2.3.3.ebuild new file mode 100644 index 000000000000..03f708f93ead --- /dev/null +++ b/media-gfx/pngquant/pngquant-2.3.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit toolchain-funcs + +DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs" +HOMEPAGE="http://pngquant.org/" +SRC_URI="http://pngquant.org/${P}-src.tar.bz2" + +LICENSE="HPND rwpng" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug lcms openmp cpu_flags_x86_sse2" + +RDEPEND="media-libs/libpng:0= + sys-libs/zlib:= + lcms? ( media-libs/lcms:2 )" +DEPEND="${RDEPEND}" + +src_configure() { + tc-export AR CC + # Hand rolled configure script, so not all flags are supported. + ./configure \ + --prefix="${EPREFIX}/usr" \ + $(use debug && echo --enable-debug) \ + $(use_enable cpu_flags_x86_sse2 sse) \ + $(use openmp && tc-has-openmp && echo --with-openmp) \ + $(use_with lcms lcms2) \ + CFLAGS="${CFLAGS} ${CPPFLAGS}" \ + LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin ${PN} + doman ${PN}.1 + dodoc CHANGELOG README.md +} |