# ChangeLog for media-libs/openjpeg
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.54 2011/10/23 15:15:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/ChangeLog,v 1.55 2011/10/23 19:28:42 radhermit Exp $
+
+ 23 Oct 2011; Tim Harder <radhermit@gentoo.org>
+ -files/openjpeg-1.1.1-Makefile.patch, -files/openjpeg-1.2-Makefile.patch,
+ -openjpeg-1.3-r3.ebuild, -files/openjpeg-1.3-Makefile.patch,
+ -files/openjpeg-1.3-codec-Makefile, -files/openjpeg-1.3-darwin.patch,
+ -files/openjpeg-1.3-freebsd.patch, -files/openjpeg-1.3-r3-codec-Makefile,
+ metadata.xml:
+ Remove old.
23 Oct 2011; Raúl Porcel <armin76@gentoo.org> openjpeg-1.4-r1.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #373499
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
-AUX openjpeg-1.1.1-Makefile.patch 558 RMD160 485ed66f0db6df3e657fa7fb09a333eae12f9cdb SHA1 5d78c5d2230cc03605e28437a7d84edfb4c230a6 SHA256 216925794ff95f720f910ef414256abf41cf2fb50a1b4cc9e65e3eb812f1b758
-AUX openjpeg-1.2-Makefile.patch 999 RMD160 0088fbadaea6401409071df76591ab6b1c006665 SHA1 79026cb2ea5fb9eafe187b03edad7f21e132a03b SHA256 39d427776b30026aa6ca03df4c52f13ffded210cb8327e351db1c9f170db5040
-AUX openjpeg-1.3-Makefile.patch 1560 RMD160 236c30638730961aae37d384484e8b7a32203558 SHA1 d69ad6fc4701506253f09b5b719c89e1b13e7773 SHA256 785b31521c4fa5e0b3c253d8b9cc8aacef0956b60a4c0d6aa82482c5899d4a68
-AUX openjpeg-1.3-codec-Makefile 722 RMD160 fdc0880dfab7f82d56716afb9b73a283953f0917 SHA1 b38ab6acda4676bba922167a06104f6c6564bdf2 SHA256 6554a08e1cd69476ad3c06cc6322ed28c010ac947a43489b14748c4e51d2a0a4
-AUX openjpeg-1.3-darwin.patch 1176 RMD160 b05ce81dfecfa41f15a4f70041a3fa04c70926cb SHA1 49b47307bc11334010c23082ccedc56fd8ba085d SHA256 f23683a40a73745ab1a1914ff75f4bd6da3aaccaeef088cf8c8a9ac6f6673a62
-AUX openjpeg-1.3-freebsd.patch 672 RMD160 b368524439bd11d3c68bc6e2b4aa129c08e7dd5a SHA1 8d51276c8d1ade2a7fe8ff76937d87c69daa7e51 SHA256 ea7113fbe3cdc2bc3d9199b266824be74f3556025a512c0cd2435797aa385809
-AUX openjpeg-1.3-r3-codec-Makefile 520 RMD160 c531f8b8d7bbd3b24606e52ad1d3cb32c485e08e SHA1 91fa1601c45549a4b6a4f7953339033afdc91a7f SHA256 4e9e389ad7cc05d41df63f0e4cb4a6fc5d107a02933dae14a40a5f788d9460cf
AUX openjpeg-1.4-cmake-stdbool.patch 1317 RMD160 fca6d38a19d66701808414c30abfd7dff0ad0024 SHA1 8f3964e8b0d6700bfcde3389730667d6e9e0203c SHA256 8e3d68216d392ad2529c00aeca9c30189911e52b44a02b159109b72bccd9a469
AUX openjpeg-1.4-libpng15.patch 524 RMD160 1f7828677ce4dee97a42a5d412341624ceee3790 SHA1 2f168a0ecfefcec5bc7b0bd59f9064fdd104b266 SHA256 12ed8c1108fc0592f6d007db08c8c374725ef36f52c3cd76f2b378b2ffbae25a
AUX openjpeg-1.4-linking.patch 595 RMD160 6177609274bd222c2a73c4f56db0b234306c5b20 SHA1 41fbd01354e004f2333a8f4cc74ee5847e9340f8 SHA256 cc79c403d8c9530fe753c5f9cf58d4ab8f95935cf88e02edfe31c98f445b3d0a
AUX openjpeg-1.4-pkgconfig.patch 1573 RMD160 9de432a117e36ca80c493a50708053010f39b374 SHA1 f755e6aa220c0f107c13a46398aafe60b7189b01 SHA256 f026fc520583943dc5b079d3838fe61d230862cd7e7622a0dd3720427b5de594
-DIST openjpeg_v1_3.tar.gz 1004678 RMD160 2a22cc123058b1974cd1bf3898044acabceba26c SHA1 8d6870d9500ea09e0b1d30b981bea1c8de534de4 SHA256 3bca2e1e040f9dcbbcb1e0627f17a76eeb95e153bf663d082070c044a21202bd
DIST openjpeg_v1_4_sources_r697.tgz 2365447 RMD160 c0d88c4a312651bac17d50bd6917e1b678fcf8f7 SHA1 9ef6a08ecf5944962b4e2cd7569ac01a8eaa66d0 SHA256 493e4db087bf5c5485618a1e1cfd827c4fb2ad421a4342903b166b76cf094b73
-EBUILD openjpeg-1.3-r3.ebuild 1611 RMD160 9e9441319088983dfe7c5d68598c199940c22bdb SHA1 db31174ea977d7b0cbc747a4e1de07da952b7a15 SHA256 7eaea3ee9cb6c7fb436f67b41a0d6c7760aba6cef185ad7faf14b10ee93babdf
EBUILD openjpeg-1.4-r1.ebuild 1406 RMD160 fc68e31b150d52f4fdffa08ae713903c458df0e3 SHA1 577452147d18db3ca9e0f8073e69f15ce4d71791 SHA256 dc217d67625179699b28c70cc593af121e211a925b2f3ecd3867b40c81e2874e
-MISC ChangeLog 7609 RMD160 c538cdc995f1133bca3eca21f30f367f942d226b SHA1 f4ce5b2461677846113aa5f8895f991042f8cddc SHA256 4538263d83ff830af168c348f90f7568205509c23be21a6c50ead21dda604918
-MISC metadata.xml 257 RMD160 80c1eb9046b53f99e237da460c933b844ccc7b63 SHA1 84398d153001807fcb12f140046c03c71f81afb3 SHA256 f59744ea0de26f01b0beefb513cb99989c8d295b37b738fbc7814a43ccfb9e59
+MISC ChangeLog 7978 RMD160 260a2f101ce53aa1601a950c70596975bbd51950 SHA1 71a6980d7fbc4a6da7cf21db3f087052ca393a2d SHA256 7894bb17edad449d48aeae5e4369a959b5de97157919323446133940207e3b83
+MISC metadata.xml 163 RMD160 9cdda004bed83a887f4a756cb1550fab6ce563ce SHA1 bfc4f31690e338a159152dcd46d56ff7fd6b6e1b SHA256 212655100c50c4193072996553f15984b9788fb20fb4175efd2418b80d428564
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6kL40ACgkQuQc30/atMkBgagCgsxXh2IzO0ey5PGpp75eqjbQW
-PgMAoINIxaZQIW/lP5HkOmP4gDYua0+0
-=e+2+
+iQEcBAEBCgAGBQJOpGrzAAoJEEqz6FtPBkyj+74H/AvEsqWeMdCQS8I9FsbdlbXf
+EZjz3xrFo7CHN6m1pvMc/0wZN0Hj2U8GcbVyjc6bZkhe5s6fDGmldjKbScV/QlI0
+9DVc+cYOYWWxQUZvpZIfFTbMfG35i3GYUY5NdNdktJ4828eiR3NCuOzV8y2MGWxA
+w0jogt2zuWrRI/a14yxLAlUISt01ahVeRUSfZXfmP4TmvNbrx4CgLgVmEwC361M0
+zlpT8/knzQyeevvqZIxizMg+Px+p408f3N/BvtUzRJMENH1xUPZn0dXR0OmyhFSb
+Ib62tCFMbOpkuJM5pbsO8y/KxQXfMQVX3CRImRfabaTWwkm9M/VAdvCDGu6zcww=
+=lJRj
-----END PGP SIGNATURE-----
+++ /dev/null
---- OpenJPEG/Makefile.orig 2007-02-13 09:49:00.000000000 +0100
-+++ OpenJPEG/Makefile 2007-02-28 08:28:58.000000000 +0100
-@@ -36,7 +36,7 @@
- dist: OpenJPEG
- mkdir -p dist
- cp *.a dist
-- mv *.so dist
-+ cp *.so dist
- cp libopenjpeg/openjpeg.h dist
-
- dos2unix:
-@@ -51,7 +51,7 @@
- $(AR) r $@ $(MODULES)
-
- $(SHAREDLIB): $(MODULES)
-- $(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
-+ $(CC) $(LDFLAGS) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
-
- install:
- install -m 644 -o root -g root $(STATICLIB) $(INSTALLDIR)
+++ /dev/null
-diff -ur a/Makefile b/Makefile
---- a/Makefile 2007-06-04 14:27:25 +0100
-+++ b/Makefile 2007-08-23 11:38:25 +0100
-@@ -54,15 +54,15 @@
- $(AR) r $@ $(MODULES)
-
- $(SHAREDLIB): $(MODULES)
-- $(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
-
- install: OpenJPEG
- install -d '$(DESTDIR)$(INSTALL_LIBDIR)' '$(DESTDIR)$(INSTALL_INCLUDE)'
-- install -m 644 -o root -g root $(STATICLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
-+ install -m 644 $(STATICLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
- ranlib '$(DESTDIR)$(INSTALL_LIBDIR)/$(STATICLIB)'
-- install -m 755 -o root -g root $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
-+ install -m 755 $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
- ln -sf $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)'
-- install -m 644 -o root -g root libopenjpeg/openjpeg.h '$(DESTDIR)$(INSTALL_INCLUDE)'
-+ install -m 644 libopenjpeg/openjpeg.h '$(DESTDIR)$(INSTALL_INCLUDE)'
- -ldconfig
-
- clean:
+++ /dev/null
-diff -NrU5 OpenJPEG_v1_3.orig/Makefile OpenJPEG_v1_3/Makefile
---- OpenJPEG_v1_3.orig/Makefile 2009-02-09 21:25:42.000000000 +0100
-+++ OpenJPEG_v1_3/Makefile 2009-02-09 21:34:35.000000000 +0100
-@@ -24,11 +24,11 @@
- MODULES = $(SRCS:.c=.o)
- CFLAGS = $(COMPILERFLAGS) $(INCLUDE)
-
- TARGET = openjpeg
- STATICLIB = lib$(TARGET).a
--SHAREDLIB = lib$(TARGET)-$(VER_MAJOR).$(VER_MINOR).so
-+SHAREDLIB = lib$(TARGET).so.$(VER_MAJOR).$(VER_MINOR)
- LIBNAME = lib$(TARGET).so.$(VER_MAJOR)
-
-
-
- default: all
-@@ -52,20 +52,20 @@
-
- $(STATICLIB): $(MODULES)
- $(AR) r $@ $(MODULES)
-
- $(SHAREDLIB): $(MODULES)
-- $(CC) -s -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
-+ $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
-
- install: OpenJPEG
- install -d '$(DESTDIR)$(INSTALL_LIBDIR)' '$(DESTDIR)$(INSTALL_INCLUDE)'
-- install -m 644 -o root -g root $(STATICLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
-+ install -m 644 $(STATICLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
- ranlib '$(DESTDIR)$(INSTALL_LIBDIR)/$(STATICLIB)'
-- install -m 755 -o root -g root $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
-+ install -m 755 $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)'
- ln -sf $(SHAREDLIB) '$(DESTDIR)$(INSTALL_LIBDIR)/$(LIBNAME)'
-- install -m 644 -o root -g root libopenjpeg/openjpeg.h '$(DESTDIR)$(INSTALL_INCLUDE)'
-- -ldconfig
-+ ln -sf $(LIBNAME) '$(DESTDIR)$(INSTALL_LIBDIR)/lib$(TARGET).so'
-+ install -m 644 libopenjpeg/openjpeg.h '$(DESTDIR)$(INSTALL_INCLUDE)'
-
- clean:
- rm -rf core dist/ u2dtmp* $(MODULES) $(STATICLIB) $(SHAREDLIB) $(LIBNAME)
-
- osx:
+++ /dev/null
-# Makefile for the main OpenJPEG codecs: j2k_to_image and image_to_j2k
-
-CFLAGS += -lstdc++ # -g -p -pg
-
-PREFIX = /usr
-INSTALL_BINDIR = $(PREFIX)/bin
-
-all: j2k_to_image image_to_j2k
-
-j2k_to_image: j2k_to_image.c ../libopenjpeg.a
- $(CC) $(CFLAGS) $(LDFLAGS) compat/getopt.c index.c convert.c j2k_to_image.c -o j2k_to_image -L.. -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
-
-image_to_j2k: image_to_j2k.c ../libopenjpeg.a
- $(CC) $(CFLAGS) $(LDFLAGS) compat/getopt.c index.c convert.c image_to_j2k.c -o image_to_j2k -L.. -lopenjpeg -I ../libopenjpeg/ -lm -ltiff
-
-clean:
- rm -f j2k_to_image image_to_j2k
-
-install: all
- install -d '$(DESTDIR)$(INSTALL_BINDIR)'
- install -m 755 j2k_to_image image_to_j2k '$(DESTDIR)$(INSTALL_BINDIR)'
+++ /dev/null
-* <grobian@gentoo.org>: small compilation fix for Darwin, and produce
- correct(ly named) dylibs
-
---- libopenjpeg/opj_malloc.h
-+++ libopenjpeg/opj_malloc.h
-@@ -75,7 +75,7 @@
- #else /* Not WIN32 */\r
- #if defined(__sun)\r
- #define HAVE_MEMALIGN\r
-- #elif defined(__GNUC__)\r
-+ #elif defined(__GNUC__) && !defined(__APPLE__)\r
- #if defined(__FreeBSD__)\r
- #include <stdlib.h>\r
- #include <osreldate.h>\r
---- Makefile
-+++ Makefile
-@@ -26,8 +26,15 @@
-
- TARGET = openjpeg
- STATICLIB = lib$(TARGET).a
-+ifeq ($(TARGOS),Darwin)
-+SHAREDLIB = lib$(TARGET).$(VER_MAJOR).$(VER_MINOR).dylib
-+LIBNAME = lib$(TARGET).$(VER_MAJOR).dylib
-+LIBCMD = -dynamiclib -install_name $(INSTALL_LIBDIR)/$(LIBNAME)
-+else
- SHAREDLIB = lib$(TARGET).so.$(VER_MAJOR).$(VER_MINOR)
- LIBNAME = lib$(TARGET).so.$(VER_MAJOR)
-+LIBCMD = -shared -Wl,-soname,$(LIBNAME)
-+endif
-
-
-
-@@ -54,7 +61,7 @@
- $(AR) r $@ $(MODULES)
-
- $(SHAREDLIB): $(MODULES)
-- $(CC) $(LDFLAGS) -shared -Wl,-soname,$(LIBNAME) -o $@ $(MODULES) $(LIBRARIES)
-+ $(CC) $(LDFLAGS) $(LIBCMD) -o $@ $(MODULES) $(LIBRARIES)
-
- install: OpenJPEG
- install -d '$(DESTDIR)$(INSTALL_LIBDIR)' '$(DESTDIR)$(INSTALL_INCLUDE)'
+++ /dev/null
-http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/graphics/openjpeg/files/patch-opj_malloc.h?rev=1.1;content-type=text%2Fplain
-
-patch modified not to contain a bogus empty #if block
-
---- libopenjpeg/opj_malloc.h
-+++ libopenjpeg/opj_malloc.h
-@@ -76,8 +76,13 @@
- #if defined(__sun)\r
- #define HAVE_MEMALIGN\r
- #elif defined(__GNUC__)\r
-+ #if defined(__FreeBSD__)\r
-+ #include <stdlib.h>\r
-+ #include <osreldate.h>\r
-+ #else\r
- #define HAVE_MEMALIGN\r
- #include <malloc.h> \r
-+ #endif\r
- /* Linux x86_64 and OSX always align allocations to 16 bytes */\r
- #elif !defined(__amd64__) && !defined(__APPLE__) \r
- /* FIXME: Yes, this is a big assumption */\r
+++ /dev/null
-# Makefile for the main OpenJPEG codecs: j2k_to_image and image_to_j2k
-
-CPPFLAGS += -I../libopenjpeg
-LDLIBS += -lopenjpeg -ltiff
-LDFLAGS += -L..
-
-PREFIX = /usr
-INSTALL_BINDIR = $(PREFIX)/bin
-
-all: j2k_to_image image_to_j2k
-
-common = index.o convert.o #compat/getopt.o
-
-j2k_to_image: j2k_to_image.o ${common}
-image_to_j2k: image_to_j2k.o ${common}
-
-clean:
- rm -f *.o j2k_to_image image_to_j2k
-
-install: all
- install -d '$(DESTDIR)$(INSTALL_BINDIR)'
- install -m 755 j2k_to_image image_to_j2k '$(DESTDIR)$(INSTALL_BINDIR)'
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>graphics</herd>
- <use>
- <flag name="tools">Installs tools (j2k_to_image and image_to_j2k)</flag>
- </use>
</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/openjpeg/openjpeg-1.3-r3.ebuild,v 1.9 2011/03/25 09:48:06 xarthisius Exp $
-
-inherit eutils toolchain-funcs multilib
-
-MY_PV=${PV//./_}
-DESCRIPTION="An open-source JPEG 2000 codec written in C"
-HOMEPAGE="http://www.openjpeg.org/"
-SRC_URI="http://www.openjpeg.org/openjpeg_v${MY_PV}.tar.gz"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="tools"
-
-DEPEND="tools? ( >=media-libs/tiff-3.8.2 )"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}/OpenJPEG_v${MY_PV}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-Makefile.patch #258373
- cp "${FILESDIR}"/${PF}-codec-Makefile "${S}"/codec/Makefile
- epatch "${FILESDIR}"/${P}-freebsd.patch #253012
- epatch "${FILESDIR}"/${P}-darwin.patch # needs to go after freebsd patch
- sed -i 's:defined(HAVE_STDBOOL_H):1:' libopenjpeg/openjpeg.h || die #305333
-}
-
-src_compile() {
- tc-export CC AR
- # XXX: the -fPIC is wrong because it builds the libopenjpeg.a
- # as a PIC library too. Should build up two sets of objects.
- emake CC="$CC" AR="$AR" LIBRARIES="-lm" COMPILERFLAGS="${CFLAGS} ${CPPFLAGS} -fPIC" || die "emake failed"
- if use tools ; then
- ln -s libopenjpeg.so.* libopenjpeg.so || die
- emake -C codec || die "emake failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" INSTALL_LIBDIR="/usr/$(get_libdir)" install || die "install failed"
- if use tools ; then
- emake -C codec DESTDIR="${D}" install || die "install failed"
- fi
- dodoc ChangeLog
-}