summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/optipng
downloadgentoo-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/optipng')
-rw-r--r--media-gfx/optipng/Manifest3
-rw-r--r--media-gfx/optipng/files/optipng-0.7.5-estonian.patch34
-rw-r--r--media-gfx/optipng/metadata.xml15
-rw-r--r--media-gfx/optipng/optipng-0.7.3-r1.ebuild56
-rw-r--r--media-gfx/optipng/optipng-0.7.3.ebuild55
-rw-r--r--media-gfx/optipng/optipng-0.7.4.ebuild54
-rw-r--r--media-gfx/optipng/optipng-0.7.5.ebuild56
7 files changed, 273 insertions, 0 deletions
diff --git a/media-gfx/optipng/Manifest b/media-gfx/optipng/Manifest
new file mode 100644
index 000000000000..2bd43fa7ddcb
--- /dev/null
+++ b/media-gfx/optipng/Manifest
@@ -0,0 +1,3 @@
+DIST optipng-0.7.3.tar.gz 1613868 SHA256 e07079fbf4cd7f11e756ca042f5285dd7a1f1784bb398fe6bbb63e5324368491 SHA512 2e15f88e9c1d1ed447c9236485bf6a0560678e11ea51e53a967b66ad6205f2cd000d0dccdeb2dd8f4ee3496891da112b37451ddeef80f31700542a69b9749eb4 WHIRLPOOL 87e397962019885ac1e4f9a36f1a707c325b4e8030add9f56bbf11841c2a5eab95ec472737a954bf96fbd8be0e06b08911f8786416758efd02ce3c4479c0fd83
+DIST optipng-0.7.4.tar.gz 1613916 SHA256 520b5d5a9405dbdc5c905dd0cff87211e69c4ed2059744037510e613fe8237ff SHA512 53db8f528cded99aded4db85424e38890ebdc26043e0497a575d0f3b81fe575638355dab1ca0d46c24ebbbe8a6657ac8e0c4216eee0d02f41d7365e3e168e40f WHIRLPOOL 9ad5b0d5097c9de72780f22a501438c57606d03b8f522b258d43d148f2239518eaccd1ec4e3c40eb99da571db1debf739f5722405c9988345a0d55debf7fcfd5
+DIST optipng-0.7.5.tar.gz 2141943 SHA256 74e54b798b012dff8993fb8d90185ca83f18cfa4935f4a93b0bcfc33c849619d SHA512 6f319965739235387e99244dda5f52533e22b7040301cf680180e383f24361819f66cb3adf1a90923e9509ed08d55bbe442ec363310c385fcf70f551febfbb6f WHIRLPOOL e632f2c018d132280fb73ec80587b1d8e4b8e857663175a3c47933054369cec4bf8a93d34c4627e00513a804fe1500c6ea2c2c62d908f295cab743c2f0e92cbe
diff --git a/media-gfx/optipng/files/optipng-0.7.5-estonian.patch b/media-gfx/optipng/files/optipng-0.7.5-estonian.patch
new file mode 100644
index 000000000000..37a2ca3ec688
--- /dev/null
+++ b/media-gfx/optipng/files/optipng-0.7.5-estonian.patch
@@ -0,0 +1,34 @@
+From 2cf0d7cb7928aac9ec0e21ceaaf09053434a4947 Mon Sep 17 00:00:00 2001
+From: Sebastian Pipping <sebastian@pipping.org>
+Date: Tue, 16 Sep 2014 02:58:45 +0200
+Subject: [PATCH] Fix for Estonian locale support (bug #522446)
+
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index 6d2a507..17d4bc1 100755
+--- a/configure
++++ b/configure
+@@ -256,7 +256,7 @@ then
+ $sed_preconfig_libpng
+ s|^AR *=.*|AR = $AR|
+ s|^ARFLAGS *=.*|ARFLAGS = $ARFLAGS|
+- s|^AR_\([A-Z]*\) *=.*|AR_\1 = $AR $ARFLAGS|
++ s|^AR_\([[:upper:]]*\) *=.*|AR_\1 = $AR $ARFLAGS|
+ "
+ fi
+ if test "$RANLIB"
+@@ -408,7 +408,7 @@ sed_config="
+ s|@LIBPNG_DISTCLEAN_XCMD@|${LIBPNG_DISTCLEAN_XCMD-true}|g
+ s|@ZLIB_MK@|${ZLIB_MK-Makefile}|g
+ s|@ZLIB_DISTCLEAN@|${ZLIB_DISTCLEAN-distclean}|g
+- s|@[A-Z]*_MK@|Makefile|g
++ s|@[[:upper:]]*_MK@|Makefile|g
+ s| *\$||
+ "
+
+--
+2.1.0
+
diff --git a/media-gfx/optipng/metadata.xml b/media-gfx/optipng/metadata.xml
new file mode 100644
index 000000000000..f822dec2523b
--- /dev/null
+++ b/media-gfx/optipng/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tristan@gentoo.org</email>
+ <name>Tristan Heaven</name>
+ </maintainer>
+ <maintainer>
+ <email>sping@gentoo.org</email>
+ <name>Sebastian Pipping</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">optipng</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/optipng/optipng-0.7.3-r1.ebuild b/media-gfx/optipng/optipng-0.7.3-r1.ebuild
new file mode 100644
index 000000000000..b5bcc84c5e69
--- /dev/null
+++ b/media-gfx/optipng/optipng-0.7.3-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Compress PNG files without affecting image quality"
+HOMEPAGE="http://optipng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ media-libs/libpng:0"
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+src_prepare() {
+ rm -R src/{libpng,zlib} || die
+ find . -type d -name build -exec rm -R {} + || die
+
+ # next release is almost a complete rewrite, so plug this compilation
+ # problem in anticipation of the much (c)leaner(?) rewrite
+ sed -i \
+ -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \
+ src/optipng/osys.c || die
+
+ tc-export CC AR RANLIB
+}
+
+src_configure() {
+ ./configure \
+ -with-system-libpng \
+ -with-system-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake \
+ -C src/optipng \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ GENTOO_LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dodoc README.txt doc/*.txt
+ dohtml doc/*.html
+ doman src/${PN}/man/${PN}.1
+
+ dobin src/${PN}/${PN}
+}
diff --git a/media-gfx/optipng/optipng-0.7.3.ebuild b/media-gfx/optipng/optipng-0.7.3.ebuild
new file mode 100644
index 000000000000..418528ccb763
--- /dev/null
+++ b/media-gfx/optipng/optipng-0.7.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=2
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Compress PNG files without affecting image quality"
+HOMEPAGE="http://optipng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ media-libs/libpng:0"
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+src_prepare() {
+ rm -R src/{libpng,zlib} || die
+ find . -type d -name build -exec rm -R {} + || die
+
+ # next release is almost a complete rewrite, so plug this compilation
+ # problem in anticipation of the much (c)leaner(?) rewrite
+ sed -i \
+ -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \
+ src/optipng/osys.c || die
+}
+
+src_configure() {
+ ./configure \
+ -with-system-libpng \
+ -with-system-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake \
+ -C src/optipng \
+ CC="$(tc-getCC)" \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ GENTOO_LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dodoc README.txt doc/*.txt || die
+ dohtml doc/*.html || die
+ doman src/optipng/man/optipng.1 || die
+
+ dobin src/optipng/optipng || die "dobin failed"
+}
diff --git a/media-gfx/optipng/optipng-0.7.4.ebuild b/media-gfx/optipng/optipng-0.7.4.ebuild
new file mode 100644
index 000000000000..f774e25768fc
--- /dev/null
+++ b/media-gfx/optipng/optipng-0.7.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Compress PNG files without affecting image quality"
+HOMEPAGE="http://optipng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ media-libs/libpng:0"
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+src_prepare() {
+ rm -R src/{libpng,zlib} || die
+ find . -type d -name build -exec rm -R {} + || die
+
+ # next release is almost a complete rewrite, so plug this compilation
+ # problem in anticipation of the much (c)leaner(?) rewrite
+ sed -i \
+ -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \
+ src/optipng/osys.c || die
+
+ tc-export CC AR RANLIB
+ export LD=$(tc-getCC)
+}
+
+src_configure() {
+ ./configure \
+ -with-system-libpng \
+ -with-system-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake -C src/optipng
+}
+
+src_install() {
+ dodoc README.txt doc/*.txt
+ dohtml doc/*.html
+ doman src/${PN}/man/${PN}.1
+
+ dobin src/${PN}/${PN}
+}
diff --git a/media-gfx/optipng/optipng-0.7.5.ebuild b/media-gfx/optipng/optipng-0.7.5.ebuild
new file mode 100644
index 000000000000..7b324b61b8da
--- /dev/null
+++ b/media-gfx/optipng/optipng-0.7.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Compress PNG files without affecting image quality"
+HOMEPAGE="http://optipng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ media-libs/libpng:0"
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-estonian.patch
+
+ rm -R src/{libpng,zlib} || die
+ find . -type d -name build -exec rm -R {} + || die
+
+ # next release is almost a complete rewrite, so plug this compilation
+ # problem in anticipation of the much (c)leaner(?) rewrite
+ sed -i \
+ -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined (__SVR4) \&\& defined (__sun))/' \
+ src/optipng/osys.c || die
+
+ tc-export CC AR RANLIB
+ export LD=$(tc-getCC)
+}
+
+src_configure() {
+ ./configure \
+ -with-system-libpng \
+ -with-system-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake -C src/optipng
+}
+
+src_install() {
+ dodoc README.txt doc/*.txt
+ dohtml doc/*.html
+ doman src/${PN}/man/${PN}.1
+
+ dobin src/${PN}/${PN}
+}