summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2004-10-24 03:13:29 +0000
committerSteve Arnold <nerdboy@gentoo.org>2004-10-24 03:13:29 +0000
commitbf9d9a07fd619939b14156dad8b4b91400434e52 (patch)
tree5cdc7d0ea48afeaadd24987923e5e407a7c7af25 /media-libs/tiff
parentAdded ~sparc keyword. (Manifest recommit) (diff)
downloadgentoo-2-bf9d9a07fd619939b14156dad8b4b91400434e52.tar.gz
gentoo-2-bf9d9a07fd619939b14156dad8b4b91400434e52.tar.bz2
gentoo-2-bf9d9a07fd619939b14156dad8b4b91400434e52.zip
new version to address bug 68096 and hylafax
Diffstat (limited to 'media-libs/tiff')
-rw-r--r--media-libs/tiff/ChangeLog10
-rw-r--r--media-libs/tiff/Manifest8
-rw-r--r--media-libs/tiff/files/digest-tiff-3.7.01
-rw-r--r--media-libs/tiff/files/tiff-3.7.0-sharedlibsnamefix.patch30
-rw-r--r--media-libs/tiff/files/tiff-3.7.0-tiff2ps_float.patch21
-rw-r--r--media-libs/tiff/metadata.xml8
-rw-r--r--media-libs/tiff/tiff-3.7.0.ebuild35
7 files changed, 109 insertions, 4 deletions
diff --git a/media-libs/tiff/ChangeLog b/media-libs/tiff/ChangeLog
index 70b47dfe1b37..4ea036f96590 100644
--- a/media-libs/tiff/ChangeLog
+++ b/media-libs/tiff/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/tiff
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.30 2004/10/19 02:42:40 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/ChangeLog,v 1.31 2004/10/24 03:13:29 nerdboy Exp $
+
+*tiff-3.7.0 (23 Oct 2004)
+
+ 23 Oct 2004; Steve Arnold <nerdboy@gentoo.org> metadata.xml,
+ +files/tiff-3.7.0-sharedlibsnamefix.patch,
+ +files/tiff-3.7.0-tiff2ps_float.patch, +tiff-3.7.0.ebuild:
+ new version to address bug 68096 (thanks to stan <stan@saticed.me.uk> for the
+ ebuild and patches). Should work with new hylafax 4.2-r1 ebuild.
18 Oct 2004; Tom Gall <tgall@gentoo.org> tiff-3.6.1-r2.ebuild:
stable on ppc64
diff --git a/media-libs/tiff/Manifest b/media-libs/tiff/Manifest
index c88d117648a5..b5468f7f7437 100644
--- a/media-libs/tiff/Manifest
+++ b/media-libs/tiff/Manifest
@@ -1,6 +1,10 @@
-MD5 bb0e56b9e5cb10f702c44f30a7a178ca ChangeLog 4459
+MD5 38bc26c2633da9b8c08834763ec4b893 ChangeLog 4803
+MD5 085bf925a1dc6f9756f484ac688a92f9 metadata.xml 447
MD5 95e6455790b7e88d5e4ddf24b53185e4 tiff-3.6.1-r2.ebuild 2193
-MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
+MD5 b7a07c338919c59c67002872c17d6528 tiff-3.7.0.ebuild 828
MD5 eb56b1622d6a778c616bfb2453471ce1 files/config.site 488
MD5 46287dce0914479f229a719830ab3fb3 files/digest-tiff-3.6.1-r2 378
+MD5 c20fc7c59038d011ff51cae0d1c2e9cc files/tiff-3.7.0-sharedlibsnamefix.patch 938
+MD5 7fb04eea18fc47d8211f3bfaf71e5491 files/tiff-3.7.0-tiff2ps_float.patch 675
+MD5 62d9bd4a2f32dd28ab29a94a90b4fdb2 files/digest-tiff-3.7.0 63
MD5 dca7d9db2819ce30468b1a44b7575aaa files/tiff-3.6.1-r1-man.so.patch 364
diff --git a/media-libs/tiff/files/digest-tiff-3.7.0 b/media-libs/tiff/files/digest-tiff-3.7.0
new file mode 100644
index 000000000000..3915c5810214
--- /dev/null
+++ b/media-libs/tiff/files/digest-tiff-3.7.0
@@ -0,0 +1 @@
+MD5 305af467c94d988c17ca6528d8936f27 tiff-3.7.0.tar.gz 1244737
diff --git a/media-libs/tiff/files/tiff-3.7.0-sharedlibsnamefix.patch b/media-libs/tiff/files/tiff-3.7.0-sharedlibsnamefix.patch
new file mode 100644
index 000000000000..f43f2fc85008
--- /dev/null
+++ b/media-libs/tiff/files/tiff-3.7.0-sharedlibsnamefix.patch
@@ -0,0 +1,30 @@
+--- tiff-3.7.0.orig/ltmain.sh 2004-10-14 19:53:25.000000000 +0200
++++ tiff-3.7.0/ltmain.sh 2004-10-18 14:49:01.000000000 +0200
+@@ -2862,7 +2862,7 @@
+ case $outputname in
+ lib*)
+ name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'`
+- eval shared_ext=\"$shrext\"
++ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ ;;
+ *)
+@@ -2874,7 +2874,7 @@
+ if test "$need_lib_prefix" != no; then
+ # Add the "lib" prefix for modules if required
+ name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+- eval shared_ext=\"$shrext\"
++ eval shared_ext=\"$shrext_cmds\"
+ eval libname=\"$libname_spec\"
+ else
+ libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'`
+@@ -3637,7 +3637,7 @@
+ fi
+
+ # Get the real and link names of the library.
+- eval shared_ext=\"$shrext\"
++ eval shared_ext=\"$shrext_cmds\"
+ eval library_names=\"$library_names_spec\"
+ set dummy $library_names
+ realname="$2"
+
diff --git a/media-libs/tiff/files/tiff-3.7.0-tiff2ps_float.patch b/media-libs/tiff/files/tiff-3.7.0-tiff2ps_float.patch
new file mode 100644
index 000000000000..2cd668f3bc0d
--- /dev/null
+++ b/media-libs/tiff/files/tiff-3.7.0-tiff2ps_float.patch
@@ -0,0 +1,21 @@
+--- tiff-3.7.0.orig/tools/tiff2ps.c 2004-10-14 18:53:28.000000000 +0100
++++ tiff-3.7.0/tools/tiff2ps.c 2004-10-20 16:34:09.000000000 +0100
+@@ -411,7 +411,7 @@
+ static void
+ setupPageState(TIFF* tif, uint32* pw, uint32* ph, double* pprw, double* pprh)
+ {
+- double xres = 0.0, yres = 0.0;
++ float xres = 0.0, yres = 0.0;
+
+ TIFFGetField(tif, TIFFTAG_IMAGEWIDTH, pw);
+ TIFFGetField(tif, TIFFTAG_IMAGELENGTH, ph);
+@@ -542,7 +542,8 @@
+ double pw, double ph, double lm, double bm, int cnt)
+ {
+ uint32 w, h;
+- double ox, oy, prw, prh;
++ float ox, oy;
++ double prw, prh;
+ double scale = 1.0;
+ double left_offset = lm * PS_UNIT_SIZE;
+ double bottom_offset = bm * PS_UNIT_SIZE;
diff --git a/media-libs/tiff/metadata.xml b/media-libs/tiff/metadata.xml
index 20ce219711a2..d3fcd03433a2 100644
--- a/media-libs/tiff/metadata.xml
+++ b/media-libs/tiff/metadata.xml
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
+<herd>graphics</herd>
+<maintainer>
+ <email>nerdboy@gentoo.org</email>
+ <name>Steve Arnold</name>
+ <description>Primary Maintainer</description>
+</maintainer>
+<longdescription>TIFF image library and tools, mostly for scanner and fax support, but also used by GIS and other imaging tools.</longdescription>
</pkgmetadata>
diff --git a/media-libs/tiff/tiff-3.7.0.ebuild b/media-libs/tiff/tiff-3.7.0.ebuild
new file mode 100644
index 000000000000..77d966381128
--- /dev/null
+++ b/media-libs/tiff/tiff-3.7.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/tiff/tiff-3.7.0.ebuild,v 1.1 2004/10/24 03:13:29 nerdboy Exp $
+
+inherit eutils
+
+DESCRIPTION="Library for manipulation of TIFF (Tag Image File Format) images."
+HOMEPAGE="http://www.libtiff.org/"
+SRC_URI="http://dl.maptools.org/dl/libtiff/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64 ~s390 ~ppc-macos ~ppc64"
+IUSE=""
+
+DEPEND=">=media-libs/jpeg-6b
+ >=sys-libs/zlib-1.1.3-r2"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd ${S}
+ epatch ${FILESDIR}/${P}-sharedlibsnamefix.patch
+ epatch ${FILESDIR}/${P}-tiff2ps_float.patch
+}
+
+src_compile() {
+ econf --without-x || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc README TODO VERSION
+}
+