summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-11-15 18:22:23 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-11-15 18:22:23 +0000
commitb84288786433f23eae9faf7a9f3d2b9af55e40a7 (patch)
tree604802ddd63ae8dd27d2e97ff3994eadf3e465a7 /app-text/ghostscript
parentbump (diff)
downloadgentoo-2-b84288786433f23eae9faf7a9f3d2b9af55e40a7.tar.gz
gentoo-2-b84288786433f23eae9faf7a9f3d2b9af55e40a7.tar.bz2
gentoo-2-b84288786433f23eae9faf7a9f3d2b9af55e40a7.zip
bump
Diffstat (limited to 'app-text/ghostscript')
-rw-r--r--app-text/ghostscript/ChangeLog6
-rw-r--r--app-text/ghostscript/Manifest6
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.07.14
-rw-r--r--app-text/ghostscript/files/gs7.07.1-ijs.patch16
-rw-r--r--app-text/ghostscript/files/gs7.07.1-ps2epsi.patch11
-rw-r--r--app-text/ghostscript/ghostscript-7.07.1.ebuild100
6 files changed, 139 insertions, 4 deletions
diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog
index 598e921f3a2f..19e10ebebb5a 100644
--- a/app-text/ghostscript/ChangeLog
+++ b/app-text/ghostscript/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-text/ghostscript
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.40 2003/11/13 13:40:13 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.41 2003/11/15 18:22:17 lanius Exp $
+
+ 15 Nov 2003; Heinrich Wendel <lanius@gentoo.org> files/gs7.07.1-ijs.patch,
+ files/gs7.07.1-ps2epsi.patch:
+ version bump, also added new fonts release
*ghostscript-7.05.6-r4 (13 Nov 2003)
diff --git a/app-text/ghostscript/Manifest b/app-text/ghostscript/Manifest
index e2e8f19212c0..c966bbcc0ced 100644
--- a/app-text/ghostscript/Manifest
+++ b/app-text/ghostscript/Manifest
@@ -1,8 +1,8 @@
MD5 6320f1b6babe4f1d03724b0966f9ac73 ghostscript-7.05.6-r3.ebuild 3123
MD5 f395eb5da81c308494a1d12e395317e5 ghostscript-7.05.6-r2.ebuild 2730
MD5 1d3a0a4b6d472668ce849cc668fb90eb ghostscript-7.05.6-r4.ebuild 3189
-MD5 8a1c209d5bd8a0603f39d9bede994a4f ghostscript-7.07.1.ebuild 2635
-MD5 1547bdb05c43ce95f657c47236308729 ChangeLog 7255
+MD5 f85fe2b7e3d9841f053a0762048c1cce ghostscript-7.07.1.ebuild 2633
+MD5 e3619c7ad606a8797cb0e8bd78a94065 ChangeLog 7410
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
MD5 f9c4821dac99d593d62405379f6653ec files/png.diff 426
MD5 5f1b04ca58928a339b749703e067e2ba files/gs7.05.6-kochi-substitute.patch 3774
@@ -13,7 +13,7 @@ MD5 54ca592ef6bd375f6fdd214786962efb files/ps2epsi-security.patch 281
MD5 71a93bd09748f37be38b726b0530e497 files/digest-ghostscript-7.07.1 291
MD5 f0a076c486b8d72e90c8aac2355ccd4d files/gs7.05.6-cjk.diff 20038
MD5 f6f3dbd868441cee002e1aeebc830092 files/ijs.patch 303
-MD5 94dd81505f887dfcec495b666585dfe6 files/gs7.07.1-ps2epsi.patch 357
+MD5 7208aacbb4aa234ce1a6126e8f682c06 files/gs7.07.1-ps2epsi.patch 372
MD5 fd34b2b7a029f19eab4ba3f69afe295e files/ghostscript-7.05.6.man.patch 1231
MD5 e9bbafad9ed02da2accd420908d98502 files/gs7.05-gdevhl12.c 21998
MD5 68fa21d11a860c222c8ba89c39ce578e files/gs7.05.6-gdevpx.patch 402
diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1 b/app-text/ghostscript/files/digest-ghostscript-7.07.1
new file mode 100644
index 000000000000..986bb4d51dda
--- /dev/null
+++ b/app-text/ghostscript/files/digest-ghostscript-7.07.1
@@ -0,0 +1,4 @@
+MD5 d30bf5c09f2c7caa8291f6305cf03044 espgs-7.07.1-source.tar.bz2 5400198
+MD5 6865682b095f8c4500c54b285ff05ef6 ghostscript-fonts-std-8.11.tar.gz 3752871
+MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486
+MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653
diff --git a/app-text/ghostscript/files/gs7.07.1-ijs.patch b/app-text/ghostscript/files/gs7.07.1-ijs.patch
new file mode 100644
index 000000000000..4063ec1a3614
--- /dev/null
+++ b/app-text/ghostscript/files/gs7.07.1-ijs.patch
@@ -0,0 +1,16 @@
+--- ijs/Makefile.in.org 2003-11-15 19:05:26.854719405 +0100
++++ ijs/Makefile.in 2003-11-15 19:05:19.546089406 +0100
+@@ -1,10 +1,10 @@
+ # Unix
+
+ CC=@CC@
+-CFLAGS=-g -Wall -ansi -pedantic -Wmissing-prototypes
++CFLAGS=-g -Wall -ansi -pedantic -Wmissing-prototypes -fPIC
+ LDLIBS=
+-OBJ=.@OBJEXT@
+-EXE=@EXEEXT@
++OBJ=.o
++EXE=
+
+ # todo: this needs to be .dylib on OS X - write a test
+ SHARED_LDFLAGS=-shared
diff --git a/app-text/ghostscript/files/gs7.07.1-ps2epsi.patch b/app-text/ghostscript/files/gs7.07.1-ps2epsi.patch
new file mode 100644
index 000000000000..aa06f8b1f7dc
--- /dev/null
+++ b/app-text/ghostscript/files/gs7.07.1-ps2epsi.patch
@@ -0,0 +1,11 @@
+--- lib/ps2epsi.org 2003-11-15 18:45:26.123092511 +0100
++++ lib/ps2epsi 2003-11-15 18:45:43.224353499 +0100
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ # $Id: gs7.07.1-ps2epsi.patch,v 1.1 2003/11/15 18:22:17 lanius Exp $
+
+-tmpfile=/tmp/ps2epsi$$
++tmpfile=$(tempfile --prefix=ps2ep)
+ rm -f $tmpfile
+ if test -e $tmpfile; then
+ echo "$0: Our temporary file $tmpfile already exists." 1>&2
diff --git a/app-text/ghostscript/ghostscript-7.07.1.ebuild b/app-text/ghostscript/ghostscript-7.07.1.ebuild
new file mode 100644
index 000000000000..5283f31a58ef
--- /dev/null
+++ b/app-text/ghostscript/ghostscript-7.07.1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1.ebuild,v 1.1 2003/11/15 18:22:17 lanius Exp $
+
+inherit eutils
+
+DESCRIPTION="ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support"
+HOMEPAGE="http://www.cups.org/ghostscript.php"
+SRC_URI="mirror://sourceforge/espgs/espgs-${PV}-source.tar.bz2
+ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz
+ cjk? ( http://www.matsusaka-u.ac.jp/mirror/gs-cjk/adobe-cmaps-200204.tar.gz
+ http://www.matsusaka-u.ac.jp/mirror/gs-cjk/acro5-cmaps-2001.tar.gz)"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~ia64 ~x86 ~ppc ~sparc ~alpha ~hppa ~amd64"
+IUSE="X cups cjk"
+
+DEPEND="virtual/glibc
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.2.1
+ >=sys-libs/zlib-1.1.4
+ X? ( virtual/x11 )
+ cjk? ( media-fonts/arphicfonts
+ media-fonts/kochi-substitute
+ media-fonts/baekmuk-fonts )
+ cups? ( net-print/cups )"
+
+S=${WORKDIR}/espgs-${PV}
+
+src_unpack() {
+ unpack espgs-${PV}-source.tar.bz2
+ unpack ghostscript-fonts-std-8.11.tar.gz
+
+ cd ${S}
+
+ if [ `use cjk` ] ; then
+ epatch ${FILESDIR}/gs7.05.6-cjk.diff
+ epatch ${FILESDIR}/gs7.05.6-kochi-substitute.patch
+ fi
+
+ # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150
+ epatch ${FILESDIR}/ghostscript-7.05.6.man.patch
+
+ # pxl dash patch
+ epatch ${FILESDIR}/gs${PV}-ps2epsi.patch
+
+ # ijs fPIC patch
+ epatch ${FILESDIR}/gs${PV}-ijs.patch
+
+ # pxl dash patch
+ epatch ${FILESDIR}/gs7.05.6-gdevpx.patch
+}
+
+src_compile() {
+ local myconf
+ myconf="--with-ijs --with-omni --without-gimp-print"
+
+ use X && myconf="${myconf} --with-x" \
+ || myconf="${myconf} --without-x"
+
+ use cups && myconf="${myconf} --enable-cups" \
+ || myconf="${myconf} --disable-cups"
+
+ econf ${myconf}
+ make || die "make failed"
+
+ cd ijs
+ econf --prefix=${D}/usr
+ make || die "make failed"
+ cd ..
+}
+
+src_install() {
+ einstall install_prefix=${D}
+
+ cd ${WORKDIR}
+ cp -a fonts ${D}/usr/share/ghostscript || die
+ cd ${S}
+
+ rm -fr ${D}/usr/share/ghostscript/7.07/doc || die
+ dodoc doc/README doc/COPYING doc/COPYING.LGPL
+ dohtml doc/*.html doc/*.htm
+ insinto /usr/share/emacs/site-lisp
+ doins doc/gsdoc.el || die
+
+ if [ `use cjk` ] ; then
+ dodir /usr/share/ghostscript/Resource
+ dodir /usr/share/ghostscript/Resource/Font
+ dodir /usr/share/ghostscript/Resource/CIDFont
+ cd ${D}/usr/share/ghostscript/Resource
+ unpack adobe-cmaps-200204.tar.gz
+ unpack acro5-cmaps-2001.tar.gz
+ fi
+
+ # Install ijs
+ cd ${S}/ijs
+ dodir /usr/bin /usr/include /usr/lib
+ einstall install_prefix=${D}
+}