diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-libs/libmng | |
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-libs/libmng')
-rw-r--r-- | media-libs/libmng/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libmng/files/libmng-2.0.2-jpeg-9a.patch | 39 | ||||
-rw-r--r-- | media-libs/libmng/files/libmng-2.0.2-stdio.patch | 14 | ||||
-rw-r--r-- | media-libs/libmng/libmng-2.0.2-r1.ebuild | 48 | ||||
-rw-r--r-- | media-libs/libmng/libmng-2.0.3.ebuild | 45 | ||||
-rw-r--r-- | media-libs/libmng/metadata.xml | 8 |
6 files changed, 156 insertions, 0 deletions
diff --git a/media-libs/libmng/Manifest b/media-libs/libmng/Manifest new file mode 100644 index 000000000000..79616aaa535f --- /dev/null +++ b/media-libs/libmng/Manifest @@ -0,0 +1,2 @@ +DIST libmng-2.0.2.tar.xz 951844 SHA256 278c04c781e5a679c91df006fee7e71233e6f15557aef513a19fe49cd650bc50 SHA512 76ff107df43297837e075a4b57dac75ece501a57060884720a22518d9514ad0af64d69d22fe12a92d3bce3e50ae8ca3c8081680535743d2bde9ae9fa11e32687 WHIRLPOOL 33d18313d8d317ae299f45c97944f6c6074e0c6fbe16f84950a4b6315235bdb382c4dfd1abec3071ee9b548b357fe63a7ee1697a5461df2a9c38d1fdef085634 +DIST libmng-2.0.3.tar.xz 951808 SHA256 4a462fdd48d4bc82c1d7a21106c8a18b62f8cc0042454323058e6da0dbb57dd3 SHA512 764efd94643c17c449abcb8f676ec2aa750a2461cf46bc961343f8d443a16ac2caa135c27d846deb2351b9f25d6170c42a500d21f63c13276905fdd743b8fec6 WHIRLPOOL b781cd6ac541aeb825f916f7384b1801f162a28b637c80a1950ca10a6daebd88d02f74548a9165c9183ff6dea0e9311f73a77cc2229560fa0c4d4c3b23696c1b diff --git a/media-libs/libmng/files/libmng-2.0.2-jpeg-9a.patch b/media-libs/libmng/files/libmng-2.0.2-jpeg-9a.patch new file mode 100644 index 000000000000..adb12c2d4a7f --- /dev/null +++ b/media-libs/libmng/files/libmng-2.0.2-jpeg-9a.patch @@ -0,0 +1,39 @@ +http://bugs.gentoo.org/520906 + +This kludge is unnecessary with jpeg-9a and is in fact breaking the build... + +libmng_jpeg.c:108:10: error: 'FALSE' undeclared (first use in this function) +libmng_jpeg.c:536:48: error: 'TRUE' undeclared (first use in this function) +libmng_jpeg_c:890:49: error: 'TRUE' undeclared (first use in this function) + +...because jmorecfg.h of jpeg-9a has this: + +#ifndef HAVE_BOOLEAN +#if defined FALSE || defined TRUE || defined QGLOBAL_H +/* Qt3 defines FALSE and TRUE as "const" variables in qglobal.h */ +typedef int boolean; +#ifndef FALSE /* in case these macros already exist */ +#define FALSE 0 /* values of boolean */ +#endif +#ifndef TRUE +#define TRUE 1 +#endif +#else +typedef enum { FALSE = 0, TRUE = 1 } boolean; +#endif +#endif + +--- libmng_types.h ++++ libmng_types.h +@@ -199,11 +199,6 @@ + #undef FAR /* possibly defined by zlib or lcms */ + #endif + #define JPEG_INTERNAL_OPTIONS /* for RGB_PIXELSIZE */ +-/* There has been a change in jpeg-9 : */ +-#ifndef _WIN32 +-#define HAVE_BOOLEAN +-typedef int boolean; +-#endif + #include <stdio.h> + #include <jpeglib.h> + #endif /* MNG_INCLUDE_IJG6B */ diff --git a/media-libs/libmng/files/libmng-2.0.2-stdio.patch b/media-libs/libmng/files/libmng-2.0.2-stdio.patch new file mode 100644 index 000000000000..0a906d4c2f35 --- /dev/null +++ b/media-libs/libmng/files/libmng-2.0.2-stdio.patch @@ -0,0 +1,14 @@ +http://bugs.gentoo.org/499480 + +Patch is from ArchLinux git libmng-2.0.2-3 + +--- libmng_types.h ++++ libmng_types.h +@@ -204,6 +204,7 @@ + #define HAVE_BOOLEAN + typedef int boolean; + #endif ++#include <stdio.h> + #include <jpeglib.h> + #endif /* MNG_INCLUDE_IJG6B */ + diff --git a/media-libs/libmng/libmng-2.0.2-r1.ebuild b/media-libs/libmng/libmng-2.0.2-r1.ebuild new file mode 100644 index 000000000000..5c685f8e9b43 --- /dev/null +++ b/media-libs/libmng/libmng-2.0.2-r1.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 autotools-multilib + +DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)" +HOMEPAGE="http://www.libmng.com/" +SRC_URI="mirror://sourceforge/libmng/${P}.tar.xz" + +LICENSE="libmng" +SLOT="0/2" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="lcms static-libs" + +RDEPEND=">=virtual/jpeg-0-r2:0[${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] + lcms? ( >=media-libs/lcms-2.5:2[${MULTILIB_USEDEP}] ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r9 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-stdio.patch \ + "${FILESDIR}"/${P}-jpeg-9a.patch + emake distclean + autotools-multilib_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + --with-jpeg + $(use_with lcms lcms2) + --without-lcms + ) + + autotools-multilib_src_configure +} + +src_install() { + autotools-multilib_src_install + + dodoc CHANGES README* doc/{doc.readme,libmng.txt} + doman doc/man/*.{3,5} +} diff --git a/media-libs/libmng/libmng-2.0.3.ebuild b/media-libs/libmng/libmng-2.0.3.ebuild new file mode 100644 index 000000000000..d443f3e77dee --- /dev/null +++ b/media-libs/libmng/libmng-2.0.3.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools-multilib + +DESCRIPTION="Multiple Image Networkgraphics lib (animated png's)" +HOMEPAGE="http://www.libmng.com/" +SRC_URI="mirror://sourceforge/libmng/${P}.tar.xz" + +LICENSE="libmng" +SLOT="0/2" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="lcms static-libs" + +RDEPEND=">=virtual/jpeg-0-r2:0[static-libs?,${MULTILIB_USEDEP}] + >=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}] + lcms? ( >=media-libs/lcms-2.5:2[static-libs?,${MULTILIB_USEDEP}] ) + abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20131008-r9 + !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )" +DEPEND="${RDEPEND}" + +src_prepare() { + emake distclean + autotools-multilib_src_prepare +} + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + --with-jpeg + $(use_with lcms lcms2) + --without-lcms + ) + + autotools-multilib_src_configure +} + +src_install() { + autotools-multilib_src_install + + dodoc CHANGES README* doc/{doc.readme,libmng.txt} + doman doc/man/*.{3,5} +} diff --git a/media-libs/libmng/metadata.xml b/media-libs/libmng/metadata.xml new file mode 100644 index 000000000000..e0d457ab7dfb --- /dev/null +++ b/media-libs/libmng/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>graphics</herd> + <upstream> + <remote-id type="sourceforge">libmng</remote-id> + </upstream> +</pkgmetadata> |