summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hüttel <dilfridge@gentoo.org>2012-05-20 19:48:33 +0000
committerAndreas Hüttel <dilfridge@gentoo.org>2012-05-20 19:48:33 +0000
commite09f59f4545ef58a9073acccb9a9cda4e0855ed6 (patch)
treeb339f24e3973b3323dfad5252623d8eee7992acc /media-libs/icclib
parentppc/ppc64 stable wrt #416233 (diff)
downloadhistorical-e09f59f4545ef58a9073acccb9a9cda4e0855ed6.tar.gz
historical-e09f59f4545ef58a9073acccb9a9cda4e0855ed6.tar.bz2
historical-e09f59f4545ef58a9073acccb9a9cda4e0855ed6.zip
Beat this package into generating a shared library and add it here. Intended for unbundling in ghostscript-gpl, see bug 206893
Package-Manager: portage-2.2.0_alpha107/cvs/Linux x86_64
Diffstat (limited to 'media-libs/icclib')
-rw-r--r--media-libs/icclib/ChangeLog11
-rw-r--r--media-libs/icclib/Manifest25
-rw-r--r--media-libs/icclib/files/icclib-2.13-make.patch55
-rw-r--r--media-libs/icclib/icclib-2.13.ebuild44
-rw-r--r--media-libs/icclib/metadata.xml6
5 files changed, 141 insertions, 0 deletions
diff --git a/media-libs/icclib/ChangeLog b/media-libs/icclib/ChangeLog
new file mode 100644
index 000000000000..ae4cb50f1de9
--- /dev/null
+++ b/media-libs/icclib/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-libs/icclib
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/icclib/ChangeLog,v 1.1 2012/05/20 19:48:33 dilfridge Exp $
+
+*icclib-2.13 (20 May 2012)
+
+ 20 May 2012; Andreas K. Huettel <dilfridge@gentoo.org> +icclib-2.13.ebuild,
+ +files/icclib-2.13-make.patch:
+ Beat this package into generating a shared library and add it here. Intended
+ for unbundling in ghostscript-gpl, see bug 206893
+
diff --git a/media-libs/icclib/Manifest b/media-libs/icclib/Manifest
new file mode 100644
index 000000000000..57af29821792
--- /dev/null
+++ b/media-libs/icclib/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA512
+
+AUX icclib-2.13-make.patch 1441 RMD160 e5f8e61bc7f4cf49dba458d6ce8c14710ac655df SHA1 0c002fd83a7067af6ee2e4f1f8b4221cf6107a0f SHA256 930d6c15ed78112d4f8be0c0d3cb0c2216e99a0de6938d091ad8786c3b7954be
+DIST icclib_V2.13.zip 158453 RMD160 ca4b2393e6c9ed0266f3f5f8ad376a42c4e5195c SHA1 633d229a0dd64b2efaf54d12d7b2959dc1b59b76 SHA256 ef22636855986a193bb80e90c149973f9db4433e73c8fa0f3837a8c08b930f0a
+EBUILD icclib-2.13.ebuild 949 RMD160 db3071b8908663ca7c03d4c69e1e38e41e6f7c14 SHA1 bc13420888301bdb05302bd579ccbf2b9b559b1c SHA256 051b67c2b700db7065922b67828e6b426fe55eb20f9ec5fda0a6ea2d9b023370
+MISC ChangeLog 481 RMD160 86d868fe1d791fdbaacc3af2c14f179698cda2ea SHA1 6c12246ee97de232cbd6f2b3ec25870012f2e896 SHA256 7dc4e167c24a4f5e4982d4a85192b7971d9b3d74d78b7be5c62e32b5753940d9
+MISC metadata.xml 183 RMD160 742d207064a264462b7cd2cf5d56ea0824664293 SHA1 ffd0c7c71afa90153b3f7a9ae704a10551cc0646 SHA256 22e6c830ad92f15c7f3b9200f048e8b8ce6083526b2038e3b6f955bb0d3c4e25
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCgAGBQJPuUq6AAoJENwGBM22xffeXSIP/2/M8VZzHbuk8auKbpeSeG3m
+IAi5K8CAIrDV+x0FJZP2KWnfMylLZZi7uqveaPM1TTSYATlz5o4SyxsvHaMuvZsS
+fsC/80hJ6d0MXKDFdNXO/dY6uBs1XMXO4OJoCqmiB4dE8qdXUvq0z1ZACc4MyG5x
+u4pNNpJvDgeVFCRp06+uOM27kO0Cf/842Q6k1qtXNyyyV4zyL6irS2JShUP6vdGu
+KnIvlP2L3Wd8a2nMPykP3aRzu0i/9ssKYaZqywBH3q+e1zjlxuTE6TdxQyVDtijK
+Td5EjLZIDzWv+NPTg8x2gw6wkkC/U0bOwtzDFQj/4QOdWaXA2xZ6DYJQE9UFwEMd
+KkL7Ze20yVSw6xXY1RYzqk94sdzU/bXfwZ4/h1xbD42pP9tRt0NA4llX8VSHU0kL
+VRT8XE828WQnDdXZDIQ1Viw2CSehoqx9v3+kgjOYa6Bt6rwbimsIf0EK5jwFPsJ0
+i8mEhEtXn9IF7Uq6IRnuILFHgtSc7ohuIDInBo6On3WBrNwgAuphiwWYjw9mDpt2
+DNAHI9z96qhTh+LgAxFntDBuD+PTdCU+hLqKah6ShvoXFkPRXVK/CN373rmPWR5X
+CgJNaSSMznbkkZkkXcmQ1QA39qWWoUZWvQR0aOz5UxGmqabjRkI0XgABcMeLOqVE
+9mlE5HaYRYN1C6SwgYyB
+=w5Rj
+-----END PGP SIGNATURE-----
diff --git a/media-libs/icclib/files/icclib-2.13-make.patch b/media-libs/icclib/files/icclib-2.13-make.patch
new file mode 100644
index 000000000000..0ba8a4bc0baf
--- /dev/null
+++ b/media-libs/icclib/files/icclib-2.13-make.patch
@@ -0,0 +1,55 @@
+diff -ruN icclib.orig/Makefile icclib/Makefile
+--- icclib.orig/Makefile 2008-03-12 08:18:20.000000000 +0100
++++ icclib/Makefile 2012-05-20 21:05:03.000000000 +0200
+@@ -3,13 +3,13 @@
+ # by uncommenting the appropriate line:
+
+ # Microsoft C++, WinNT setup
+-include Makefile.WNT
++#include Makefile.WNT
+
+ # IBM C++, WinNT setup
+ #include Makefile.IBMNT
+
+ # Generic UNIX setup
+-#include Makefile.UNIX
++include Makefile.UNIX
+
+ # Apple OSX
+ #include Makefile.OSX
+diff -ruN icclib.orig/Makefile.UNIX icclib/Makefile.UNIX
+--- icclib.orig/Makefile.UNIX 2008-03-12 08:18:20.000000000 +0100
++++ icclib/Makefile.UNIX 2012-05-20 21:27:44.000000000 +0200
+@@ -1,7 +1,7 @@
+ # Generic UNIX setup
+
+ SLASH = /
+-SUFLIB = .a
++SUFLIB = .so
+ SUFOBJ = .o
+ SUFEXE =
+ CMDSEP = ;
+@@ -18,17 +18,17 @@
+ STDHDRSDEF = /usr/include
+
+ MAKEU = make
+-LIBU = ar -r
+-LIBOF = -o
++LIBOF =
+ RANLIB = echo
+ AS = as
+-CCFLAGSDEF = -DUNIX -c
+-CC = cc $(CCFLAGS) $(INCFLAG)$(STDHDRS)
++CCFLAGSDEF = -DUNIX -fPIC -c
++CC = cc $(CCFLAGSDEF) $(CFLAGS) $(INCFLAG)$(STDHDRS)
+ CCOF = -o
+-LINKFLAGSDEF = -lm
++LINKFLAGSDEF = -shared
+ LINKLIBS =
+-LINK = cc $(LINKFLAGS) $(LINKLIBS)
++LINK = cc $(LINKFLAGSDEF) $(LDFLAGS) $(LINKLIBS)
+ LINKOF = -o
++LIBU = cc $(LINKFLAGSDEF) $(LDFLAGS) -Wl,-soname,libicc.so.$(ICCLIB_SOVERSION) $(LINKLIBS) -o
+
+ .SUFFIXES:
+ .SUFFIXES: .c $(SUFLIB) $(SUFOBJ) $(SUFEXE)
diff --git a/media-libs/icclib/icclib-2.13.ebuild b/media-libs/icclib/icclib-2.13.ebuild
new file mode 100644
index 000000000000..af5558e2b52b
--- /dev/null
+++ b/media-libs/icclib/icclib-2.13.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/icclib/icclib-2.13.ebuild,v 1.1 2012/05/20 19:48:33 dilfridge Exp $
+
+EAPI=4
+
+inherit base multilib
+
+MY_P="${PN}_V${PV}"
+DESCRIPTION="Library for reading and writing ICC color profile files"
+HOMEPAGE="http://freecode.com/projects/icclib"
+SRC_URI="http://www.argyllcms.com/${MY_P}.zip"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+ICCLIB_SOVERSION="0"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-2.13-make.patch"
+)
+
+src_compile() {
+ emake ICCLIB_SOVERSION=${ICCLIB_SOVERSION}
+}
+
+src_install() {
+ mv -v libicc.so libicc.so.${ICCLIB_SOVERSION}
+ dolib.so libicc.so.${ICCLIB_SOVERSION}
+ dosym libicc.so.${ICCLIB_SOVERSION} /usr/$(get_libdir)/libicc.so
+ dobin iccdump
+ dodoc Readme.txt todo.txt log.txt
+
+ insinto /usr/include
+ doins icc*.h
+}
diff --git a/media-libs/icclib/metadata.xml b/media-libs/icclib/metadata.xml
new file mode 100644
index 000000000000..73a767deaa83
--- /dev/null
+++ b/media-libs/icclib/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+<herd>printing</herd>
+</pkgmetadata>