From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6CFAE138DBE for ; Sat, 18 Jul 2015 12:23:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC0E1E0856; Sat, 18 Jul 2015 12:23:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E01EE0856 for ; Sat, 18 Jul 2015 12:23:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7819B340C1E for ; Sat, 18 Jul 2015 12:23:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 366E7AD for ; Sat, 18 Jul 2015 12:23:30 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1437222347.ad5791578083a3c0f4992ba670d246363ddc45ae.blueness@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: media-libs/libopenraw/files/, media-libs/libopenraw/ X-VCS-Repository: proj/musl X-VCS-Files: media-libs/libopenraw/Manifest media-libs/libopenraw/files/libopenraw-0.0.9-jpeg-9a.patch media-libs/libopenraw/files/libopenraw-0.0.9-rename-posix_close.patch media-libs/libopenraw/libopenraw-0.0.9-r99.ebuild media-libs/libopenraw/metadata.xml X-VCS-Directories: media-libs/libopenraw/files/ media-libs/libopenraw/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: ad5791578083a3c0f4992ba670d246363ddc45ae X-VCS-Branch: master Date: Sat, 18 Jul 2015 12:23:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 432cf516-fd89-489f-8d6b-f0242b2e1960 X-Archives-Hash: 28aa67a2d0519ac930f2709de65e12ed commit: ad5791578083a3c0f4992ba670d246363ddc45ae Author: Anthony G. Basile gentoo org> AuthorDate: Sat Jul 18 12:25:47 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Jul 18 12:25:47 2015 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=ad579157 media-libs/libopenraw: rename posix_close(). media-libs/libopenraw/Manifest | 5 ++ .../files/libopenraw-0.0.9-jpeg-9a.patch | 23 +++++++++ .../libopenraw-0.0.9-rename-posix_close.patch | 30 ++++++++++++ media-libs/libopenraw/libopenraw-0.0.9-r99.ebuild | 57 ++++++++++++++++++++++ media-libs/libopenraw/metadata.xml | 8 +++ 5 files changed, 123 insertions(+) diff --git a/media-libs/libopenraw/Manifest b/media-libs/libopenraw/Manifest new file mode 100644 index 0000000..e1de3ec --- /dev/null +++ b/media-libs/libopenraw/Manifest @@ -0,0 +1,5 @@ +AUX libopenraw-0.0.9-jpeg-9a.patch 589 SHA256 6cd4b7abe8752890b57a4cf2987435c0262fb0b5a24ea2184c205126f0a1ac96 SHA512 b5a5be08644522676a487d294662777e1f919d0f7ff96d0996ad51804c7bb919723965f6cf25999c1a34e1d8eb5cf045a6427b590e20a96f174863516a299e09 WHIRLPOOL 262ed8e790bc88f496d59d8cab97f4fdd6c7c04e3d031ca5796fd79d8e5dd549a8239517ee0f686fc772aafac34200acfd834e211694f2a1ce00b4f34765b933 +AUX libopenraw-0.0.9-rename-posix_close.patch 994 SHA256 54a3859edd21ad4662ca07e9e6467b1e0a1a815d72f33224d6d51ebd6cf461fe SHA512 a7bc0887a24522ea03ff6ae63fdbb7fecb5fdd13f7881904a9afe15d86167cf39b468d4caddd49551117b51ecd5d91671438cdf3251869a8a0d593542062204e WHIRLPOOL e37c786db74058b0005b7f5c3613b1538b379519bd1f0a45ebf359815214c2de8842b65ebfddd9ac35399f619ea88f2883751664962c4179219a5dd529bf6d7e +DIST libopenraw-0.0.9.tar.bz2 478687 SHA256 49fd1adf0a0228c7a17a79bf98d8d03664195feae1e50f4ddd1b20162626e18f SHA512 88d475d27719212686a0a5a08da04d6879fd456ec8f7531f401217df97f4f3d4c52dc8c4fb1c6ca88c12d6a67ecd516b151c5e9dceba9cbfcd13150fe81d6db5 WHIRLPOOL 52d407b1d443fe7c38c59274b3267feb4dffeca9114a39cad925c346ae21d1378cbceba4ce1973657073f8890bf50a18c476ba3451d806fe7f50824bb935c559 +EBUILD libopenraw-0.0.9-r99.ebuild 1245 SHA256 c717e8c0a2cbf02dc26e11eab7fb890f3fed90071b80eb78f948e866528e8c11 SHA512 cd13250a6a05b944586a79a41ef759fb949ec4da1614437b7dd9078c4bb83c969fc2696bf46558ce5b79053cf49e416c837f230a79474b0d503746ae347aa6b9 WHIRLPOOL 9d082165e8bf0a0fb803496389fc0da37688cc5c2248b6108e34a4245a4178c75720a755720f1888dc79144aef36f7a9f718b2db59e0689d01350c332922f5c0 +MISC metadata.xml 234 SHA256 3018e3b31ed690a57bfc14e35699dd20ea3b352fc28b918f699e6955b57a2d97 SHA512 eed880663c66280f6688f896bd6b82d600cac0063eb79da7b1be0fe3bf866e7289edb389a505dfbf45bd9c7e5282748dadd7bf3477759788c1024300796545c3 WHIRLPOOL 79028c7efb93b6255351aebe7f35d1587d07ec1405e8fbee4fd874e42e57e6d10368b0f4ab60c89e115493a094f36af8be1bc2fe79fc2d34daae83dc0f8d7b16 diff --git a/media-libs/libopenraw/files/libopenraw-0.0.9-jpeg-9a.patch b/media-libs/libopenraw/files/libopenraw-0.0.9-jpeg-9a.patch new file mode 100644 index 0000000..bfb99fa --- /dev/null +++ b/media-libs/libopenraw/files/libopenraw-0.0.9-jpeg-9a.patch @@ -0,0 +1,23 @@ +http://bugs.gentoo.org/520888 +http://sourceforge.net/p/fink/package-submissions/4336/ + +--- lib/jfifcontainer.cpp ++++ lib/jfifcontainer.cpp +@@ -145,7 +145,7 @@ + { + int ret = 0; + if (::setjmp(m_jpegjmp) == 0) { +- ret = JPEG::jpeg_read_header(&m_cinfo, TRUE); ++ ret = JPEG::jpeg_read_header(&m_cinfo, JPEG::TRUE); + //Trace(DEBUG1) << "jpeg_read_header " << ret << "\n"; + + JPEG::jpeg_calc_output_dimensions(&m_cinfo); +@@ -181,7 +181,7 @@ + src->pub.next_input_byte = NULL; + src->pub.bytes_in_buffer = 0; + } +- return TRUE; ++ return JPEG::TRUE; + } + + diff --git a/media-libs/libopenraw/files/libopenraw-0.0.9-rename-posix_close.patch b/media-libs/libopenraw/files/libopenraw-0.0.9-rename-posix_close.patch new file mode 100644 index 0000000..e928086 --- /dev/null +++ b/media-libs/libopenraw/files/libopenraw-0.0.9-rename-posix_close.patch @@ -0,0 +1,30 @@ +diff -Naur libopenraw-0.0.9.orig/lib/io/posix_io.c libopenraw-0.0.9/lib/io/posix_io.c +--- libopenraw-0.0.9.orig/lib/io/posix_io.c 2011-11-12 16:46:29.000000000 +0000 ++++ libopenraw-0.0.9/lib/io/posix_io.c 2015-07-18 12:12:24.088623814 +0000 +@@ -39,7 +39,7 @@ + }; + + static IOFileRef posix_open(const char *path, int mode); +-static int posix_close(IOFileRef f); ++static int posix_close1(IOFileRef f); + static int posix_seek(IOFileRef f, off_t offset, int whence); + static int posix_read(IOFileRef f, void *buf, size_t count); + static off_t posix_filesize(IOFileRef f); +@@ -49,7 +49,7 @@ + /** posix io methods instance. Constant. */ + struct io_methods posix_io_methods = { + &posix_open, +- &posix_close, ++ &posix_close1, + &posix_seek, + &posix_read, + &posix_filesize, +@@ -85,7 +85,7 @@ + + + /** posix implementation for close() */ +-static int posix_close(IOFileRef f) ++static int posix_close1(IOFileRef f) + { + int retval = 0; + struct io_data_posix *data = (struct io_data_posix*)f->_private; diff --git a/media-libs/libopenraw/libopenraw-0.0.9-r99.ebuild b/media-libs/libopenraw/libopenraw-0.0.9-r99.ebuild new file mode 100644 index 0000000..2989000 --- /dev/null +++ b/media-libs/libopenraw/libopenraw-0.0.9-r99.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libopenraw/libopenraw-0.0.9.ebuild,v 1.18 2014/09/05 05:34:02 ssuominen Exp $ + +EAPI=5 +inherit eutils gnome2-utils + +DESCRIPTION="A decoding library for RAW image formats" +HOMEPAGE="http://libopenraw.freedesktop.org/wiki/" +SRC_URI="http://${PN}.freedesktop.org/download/${P}.tar.bz2" + +LICENSE="GPL-3 LGPL-3" +SLOT="0" +KEYWORDS="amd64 arm ~mips ppc x86" +IUSE="gtk static-libs test" + +RDEPEND="virtual/jpeg:0 + dev-libs/libxml2 + gtk? ( + >=dev-libs/glib-2 + >=x11-libs/gdk-pixbuf-2.24.0:2 + )" +DEPEND="${RDEPEND} + >=dev-libs/boost-1.35 + virtual/pkgconfig + test? ( net-misc/curl )" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-rename-posix_close.patch + has_version '>=media-libs/jpeg-9a:0' && epatch "${FILESDIR}"/${P}-jpeg-9a.patch +} + +src_configure() { + econf \ + --with-boost="${EPREFIX}"/usr \ + $(use_enable static-libs static) \ + $(use_enable gtk gnome) +} + +src_install() { + default + prune_libtool_files --all +} + +pkg_preinst() { + gnome2_gdk_pixbuf_savelist +} + +pkg_postinst() { + gnome2_gdk_pixbuf_update +} + +pkg_postinst() { + gnome2_gdk_pixbuf_update +} diff --git a/media-libs/libopenraw/metadata.xml b/media-libs/libopenraw/metadata.xml new file mode 100644 index 0000000..8c86806 --- /dev/null +++ b/media-libs/libopenraw/metadata.xml @@ -0,0 +1,8 @@ + + + +freedesktop + +freedesktop-bugs@gentoo.org + +