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/pngnq | |
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/pngnq')
-rw-r--r-- | media-gfx/pngnq/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/pngnq/files/pngnq-1.0-libpng14.patch | 13 | ||||
-rw-r--r-- | media-gfx/pngnq/files/pngnq-1.0-libpng15.patch | 13 | ||||
-rw-r--r-- | media-gfx/pngnq/metadata.xml | 10 | ||||
-rw-r--r-- | media-gfx/pngnq/pngnq-1.1.ebuild | 26 |
5 files changed, 63 insertions, 0 deletions
diff --git a/media-gfx/pngnq/Manifest b/media-gfx/pngnq/Manifest new file mode 100644 index 000000000000..e2cba9d9d917 --- /dev/null +++ b/media-gfx/pngnq/Manifest @@ -0,0 +1 @@ +DIST pngnq-1.1.tar.gz 117372 SHA256 c147fe0a94b32d323ef60be9fdcc9b683d1a82cd7513786229ef294310b5b6e2 SHA512 3bbc4ace1375517a7a73bbc65ff39512ef316e4b67fc3941cd0b7269e584a26f915f30591f8aa1c44eea73fe4ebe9519063a7bc426841e412c648aaa188be234 WHIRLPOOL 7d9ef79ed10d452cae47262104258210b0d51f898c477dd3d6d6ef23c7cde577c15e7b29ada4b14217bc4005a8efea2ee244b0eefa9e5bfc95adf812d133eb6d diff --git a/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch b/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch new file mode 100644 index 000000000000..e2eb9c8972e5 --- /dev/null +++ b/media-gfx/pngnq/files/pngnq-1.0-libpng14.patch @@ -0,0 +1,13 @@ +http://aur.archlinux.org/packages.php?ID=10325 + +--- src/rwpng.c ++++ src/rwpng.c +@@ -80,7 +80,7 @@ + * have used slightly more general png_sig_cmp() function instead */ + + fread(sig, 1, 8, infile); +- if (!png_check_sig(sig, 8)) { ++ if (png_sig_cmp(sig, 0, 8)) { + mainprog_ptr->retval = 21; /* bad signature */ + return mainprog_ptr->retval; + } diff --git a/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch b/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch new file mode 100644 index 000000000000..7590431dcd3a --- /dev/null +++ b/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch @@ -0,0 +1,13 @@ +--- src/rwpng.c ++++ src/rwpng.c +@@ -31,8 +31,9 @@ + + #include <stdio.h> + #include <stdlib.h> ++#include <zlib.h> + +-#include "png.h" /* libpng header; includes zlib.h */ ++#include "png.h" /* libpng header */ + #include "rwpng.h" /* typedefs, common macros, public prototypes */ + + /* future versions of libpng will provide this macro: */ diff --git a/media-gfx/pngnq/metadata.xml b/media-gfx/pngnq/metadata.xml new file mode 100644 index 000000000000..cb1ed53807e7 --- /dev/null +++ b/media-gfx/pngnq/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>maintainer-needed@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">pngnq</remote-id> + </upstream> +</pkgmetadata> diff --git a/media-gfx/pngnq/pngnq-1.1.ebuild b/media-gfx/pngnq/pngnq-1.1.ebuild new file mode 100644 index 000000000000..5fdee99da3af --- /dev/null +++ b/media-gfx/pngnq/pngnq-1.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +WANT_AUTOMAKE=1.13 +inherit autotools eutils + +DESCRIPTION="Pngnq is a tool for quantizing PNG images in RGBA format" +HOMEPAGE="http://pngnq.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="BSD pngnq rwpng" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND="media-libs/libpng:0=" +DEPEND=${RDEPEND} + +DOCS=( NEWS README ) + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.0-libpng1{4,5}.patch + eautoreconf +} |