From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- media-gfx/icoutils/Manifest | 1 + .../icoutils/files/icoutils-0.29.1-gettext.patch | 13 +++++++ .../icoutils/files/icoutils-0.29.1-locale.patch | 39 +++++++++++++++++++++ media-gfx/icoutils/icoutils-0.31.0.ebuild | 40 ++++++++++++++++++++++ media-gfx/icoutils/metadata.xml | 13 +++++++ 5 files changed, 106 insertions(+) create mode 100644 media-gfx/icoutils/Manifest create mode 100644 media-gfx/icoutils/files/icoutils-0.29.1-gettext.patch create mode 100644 media-gfx/icoutils/files/icoutils-0.29.1-locale.patch create mode 100644 media-gfx/icoutils/icoutils-0.31.0.ebuild create mode 100644 media-gfx/icoutils/metadata.xml (limited to 'media-gfx/icoutils') diff --git a/media-gfx/icoutils/Manifest b/media-gfx/icoutils/Manifest new file mode 100644 index 000000000000..b478e85d634e --- /dev/null +++ b/media-gfx/icoutils/Manifest @@ -0,0 +1 @@ +DIST icoutils-0.31.0.tar.bz2 559836 SHA256 a895d9d74a418d65d39a667e58ae38be79c9e726711384551d36531696f3af71 SHA512 f6ee954784abd9f6cf1f6a2424b89e917de2e3950a5411c6790f1a7a34522e067308677ab00bd34781d179fde1192ec91dcd400207edb09bdb20d503507b5cca WHIRLPOOL 92a3905315973ed016bb2000881d5c39f7306c792feaed302bf183d62056217a9aa76e90dc25a44ffb43434053f3c5ced90e100bd59c284a26fa14b7ffbe0b4a diff --git a/media-gfx/icoutils/files/icoutils-0.29.1-gettext.patch b/media-gfx/icoutils/files/icoutils-0.29.1-gettext.patch new file mode 100644 index 000000000000..4aa4c44cc3ce --- /dev/null +++ b/media-gfx/icoutils/files/icoutils-0.29.1-gettext.patch @@ -0,0 +1,13 @@ +Index: icoutils-0.29.1/configure.ac +=================================================================== +--- icoutils-0.29.1.orig/configure.ac ++++ icoutils-0.29.1/configure.ac +@@ -26,7 +26,7 @@ gl_INIT + + # Gettext + AM_GNU_GETTEXT([external]) +-# AM_GNU_GETTEXT_VERSION(0.14.1) ++AM_GNU_GETTEXT_VERSION(0.14.1) + + # Checks for header files. + AC_HEADER_STDC diff --git a/media-gfx/icoutils/files/icoutils-0.29.1-locale.patch b/media-gfx/icoutils/files/icoutils-0.29.1-locale.patch new file mode 100644 index 000000000000..d73ae119ea5e --- /dev/null +++ b/media-gfx/icoutils/files/icoutils-0.29.1-locale.patch @@ -0,0 +1,39 @@ +Fix compiling with -O0 (see ) + + +--- a/wrestool/main.c ++++ b/wrestool/main.c +@@ -32,6 +32,10 @@ + #include "common/string-utils.h" + #include "wrestool.h" + ++#ifdef HAVE_LOCALE_H ++#include ++#endif ++ + #define PROGRAM "wrestool" + + +--- a/icotool/main.c ++++ b/icotool/main.c +@@ -37,6 +37,10 @@ + #include "common/io-utils.h" + #include "icotool.h" + ++#ifdef HAVE_LOCALE_H ++#include ++#endif ++ + #define PROGRAM "icotool" + + static int32_t image_index = -1; +--- a/configure.ac ++++ b/configure.ac +@@ -34,6 +34,7 @@ + AC_HEADER_SYS_WAIT + AC_HEADER_TIME + #AC_CHECK_HEADERS([byteswap.h errno.h fcntl.h getopt.h limits.h sys/stat.h sys/time.h sys/types.h unistd.h]) ++AC_CHECK_HEADERS([locale.h]) + + # Checks for typedefs, structures, and compiler characteristics. + AC_C_INLINE diff --git a/media-gfx/icoutils/icoutils-0.31.0.ebuild b/media-gfx/icoutils/icoutils-0.31.0.ebuild new file mode 100644 index 000000000000..ffdd751dc4f8 --- /dev/null +++ b/media-gfx/icoutils/icoutils-0.31.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit autotools eutils flag-o-matic + +DESCRIPTION="A set of programs for extracting and converting images in icon and cursor files (.ico, .cur)" +HOMEPAGE="http://www.nongnu.org/icoutils/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="nls" + +RDEPEND=">=dev-lang/perl-5.6 + >=dev-perl/libwww-perl-5.64 + media-libs/libpng:0 + sys-libs/zlib + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.29.1-{locale,gettext}.patch + rm m4/po.m4* || die + cp /usr/share/aclocal/po.m4 m4/ + AT_M4DIR=m4 eautoreconf +} + +src_configure() { + [[ ${CHOST} != *-linux-gnu* ]] && use nls && append-libs -lintl + econf $(use_enable nls) +} + +src_install() { + emake DESTDIR="${D}" mkinstalldirs="mkdir -p" install + dodoc AUTHORS ChangeLog NEWS README TODO +} diff --git a/media-gfx/icoutils/metadata.xml b/media-gfx/icoutils/metadata.xml new file mode 100644 index 000000000000..ea5470657aae --- /dev/null +++ b/media-gfx/icoutils/metadata.xml @@ -0,0 +1,13 @@ + + + + proxy-maintainers + + res@crystalspace3d.org + Frank Richter (upstream) + + + patrick@gentoo.org + Patrick Lauer (proxy) + + -- cgit v1.2.3-65-gdbad