diff options
author | 2009-05-17 22:14:18 +0000 | |
---|---|---|
committer | 2009-05-17 22:14:18 +0000 | |
commit | 816af6f610e439afe7ec67d131dfcb389b5a33b1 (patch) | |
tree | 81543b07bf1e53010edaebac6080cd8bc5cf2d68 /media-libs | |
parent | x11-base/xorg-server: add patches nominated for the 1.6 branch (diff) | |
download | gentoo-2-816af6f610e439afe7ec67d131dfcb389b5a33b1.tar.gz gentoo-2-816af6f610e439afe7ec67d131dfcb389b5a33b1.tar.bz2 gentoo-2-816af6f610e439afe7ec67d131dfcb389b5a33b1.zip |
Bump to 2.1.0. Upgrade XMPCore to Adobe XMP 4.4.2 and bug fixes, bug #257089.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/exempi/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/exempi/exempi-2.1.0.ebuild | 53 | ||||
-rw-r--r-- | media-libs/exempi/files/exempi-2.1.0-gcc44.patch | 54 |
3 files changed, 115 insertions, 1 deletions
diff --git a/media-libs/exempi/ChangeLog b/media-libs/exempi/ChangeLog index 3e73386435ee..3e0d824bf190 100644 --- a/media-libs/exempi/ChangeLog +++ b/media-libs/exempi/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/exempi # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/ChangeLog,v 1.16 2009/05/11 16:02:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/ChangeLog,v 1.17 2009/05/17 22:14:17 eva Exp $ + +*exempi-2.1.0 (17 May 2009) + + 17 May 2009; Gilles Dartiguelongue <eva@gentoo.org> +exempi-2.1.0.ebuild, + +files/exempi-2.1.0-gcc44.patch: + Bump to 2.1.0. Upgrade XMPCore to Adobe XMP 4.4.2 and bug fixes, + bug #257089. 11 May 2009; Samuli Suominen <ssuominen@gentoo.org> exempi-2.0.2.ebuild, +files/exempi-2.0.2-gcc44.patch: diff --git a/media-libs/exempi/exempi-2.1.0.ebuild b/media-libs/exempi/exempi-2.1.0.ebuild new file mode 100644 index 000000000000..3351af02af55 --- /dev/null +++ b/media-libs/exempi/exempi-2.1.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/exempi/exempi-2.1.0.ebuild,v 1.1 2009/05/17 22:14:18 eva Exp $ + +EAPI="2" + +inherit autotools eutils + +DESCRIPTION="Exempi is a port of the Adobe XMP SDK to work on UNIX" +HOMEPAGE="http://libopenraw.freedesktop.org/wiki/Exempi" +SRC_URI="http://libopenraw.freedesktop.org/download/${P}.tar.gz" + +LICENSE="BSD" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="examples test" + +# Could only run tests with boot 1.37 +RDEPEND="dev-libs/expat + virtual/libiconv + sys-libs/zlib" +DEPEND="${RDEPEND} + test? ( >=dev-libs/boost-1.37.0 )" + +src_prepare() { + # Fix build with gcc 4.4, bug #267466 + epatch "${FILESDIR}/${P}-gcc44.patch" + + # don't waste time on autoreconf for those who don't want to run unit tests + if use test; then + epatch "${FILESDIR}/${PN}-1.99.9-boost.m4.BOOST_FIND_LIB.patch" + eautoreconf + fi +} + +src_configure() { + econf $(use_enable test unittest) +} + +src_install() { + emake DESTDIR="${D}" install || die "install failed" + dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" + + if use examples ; then + cd samples/source + emake distclean + cd "${S}" + rm samples/Makefile* samples/source/Makefile* \ + samples/testfiles/Makefile* + insinto "/usr/share/doc/${PF}" + doins -r samples || die "doins failed" + fi +} diff --git a/media-libs/exempi/files/exempi-2.1.0-gcc44.patch b/media-libs/exempi/files/exempi-2.1.0-gcc44.patch new file mode 100644 index 000000000000..befe651eafa2 --- /dev/null +++ b/media-libs/exempi/files/exempi-2.1.0-gcc44.patch @@ -0,0 +1,54 @@ +From 9c751b6f0f09cf6605af49bb2a6c90e7b7468d65 Mon Sep 17 00:00:00 2001 +From: Michael Biebl <biebl@debian.org> +Date: Mon, 29 Dec 2008 00:35:38 +0100 +Subject: [PATCH] fix build failures with GCC 4.4 + +- Add missing includes to fix FTBFS with GCC 4.4. See Debian +Bug#504944 + +Signed-off-by: Hubert Figuiere <hub@figuiere.net> +--- + exempi/tests/utils.cpp | 1 + + samples/source/XMPFilesCoverage.cpp | 1 + + source/common/XML_Node.cpp | 1 + + 3 files changed, 3 insertions(+), 0 deletions(-) + +diff --git a/exempi/tests/utils.cpp b/exempi/tests/utils.cpp +index 64be1ee..ee1c3a9 100644 +--- a/exempi/tests/utils.cpp ++++ b/exempi/tests/utils.cpp +@@ -34,6 +34,7 @@ + * OF THE POSSIBILITY OF SUCH DAMAGE. + */ + ++#include <cstdio> + + #include <boost/test/unit_test.hpp> + +diff --git a/samples/source/XMPFilesCoverage.cpp b/samples/source/XMPFilesCoverage.cpp +index dc9ce41..007c12b 100644 +--- a/samples/source/XMPFilesCoverage.cpp ++++ b/samples/source/XMPFilesCoverage.cpp +@@ -17,6 +17,7 @@ + #include <errno.h> + #include <time.h> + #include <cstring> ++#include <cstdio> + + #define TXMP_STRING_TYPE std::string + #define XMP_INCLUDE_XMPFILES 1 +diff --git a/source/common/XML_Node.cpp b/source/common/XML_Node.cpp +index de3866f..75298a8 100644 +--- a/source/common/XML_Node.cpp ++++ b/source/common/XML_Node.cpp +@@ -11,6 +11,7 @@ + + #include <string.h> + #include <cstring> ++#include <cstdio> + #include <map> + + // ! Can't include XMP..._Impl.hpp - used by both Core and Files. +-- +1.6.3 + |