summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Raschbacher <lordvan@gentoo.org>2003-01-28 06:26:17 +0000
committerThomas Raschbacher <lordvan@gentoo.org>2003-01-28 06:26:17 +0000
commitc5cafcdff75b5077f3af27252517f7b1a4784356 (patch)
tree85f28c66048171ae155a0e7f82107aec19de7b2a /app-text/ghostscript
parentadded missing ) (diff)
downloadhistorical-c5cafcdff75b5077f3af27252517f7b1a4784356.tar.gz
historical-c5cafcdff75b5077f3af27252517f7b1a4784356.tar.bz2
historical-c5cafcdff75b5077f3af27252517f7b1a4784356.zip
man gs fixed; bug #14150 (absinthe@pobox.com (Dylan Carlson))
Diffstat (limited to 'app-text/ghostscript')
-rw-r--r--app-text/ghostscript/ChangeLog9
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.05.5-r25
-rw-r--r--app-text/ghostscript/files/ghostscript-7.05.5.man.patch32
-rw-r--r--app-text/ghostscript/ghostscript-7.05.5-r2.ebuild88
4 files changed, 132 insertions, 2 deletions
diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog
index f36a61910f14..4355165ba6e7 100644
--- a/app-text/ghostscript/ChangeLog
+++ b/app-text/ghostscript/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for app-text/ghostscript
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.21 2003/01/19 14:42:53 seo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.22 2003/01/28 06:26:17 lordvan Exp $
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
+
+*ghostscript-7.05.5-r2 (28 Jan 2003)
+ 28 Jan 2003; Thomas Raschbacher <lordvan@gentoo.org> ghostscript-7.05.5-r2.ebuild:
+ files/ghostscript-7.05.5.man.patch, patch for 'man gs' from
+ Dylan Carlson (absinthe@pobox.com) bug #14150
+
*ghostscript-7.05.5-r1 (13 Jan 2003)
13 Jan 2003; Jungmin Seo <seo@gentoo.org> ghostscript-7.05.5-r1.ebuild,
diff --git a/app-text/ghostscript/files/digest-ghostscript-7.05.5-r2 b/app-text/ghostscript/files/digest-ghostscript-7.05.5-r2
new file mode 100644
index 000000000000..e595135ed90f
--- /dev/null
+++ b/app-text/ghostscript/files/digest-ghostscript-7.05.5-r2
@@ -0,0 +1,5 @@
+MD5 984b8b08389e79f7da3b714238652d34 espgs-7.05.5-source.tar.bz2 5368020
+MD5 1521fab85ca3e8ce3ce781d4970e6c79 gnu-gs-fonts-std-6.0.tar.gz 1881193
+MD5 33457d3f37de7ef03d2eea05a9e6aa4f gnu-gs-fonts-other-6.0.tar.gz 796086
+MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486
+MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653
diff --git a/app-text/ghostscript/files/ghostscript-7.05.5.man.patch b/app-text/ghostscript/files/ghostscript-7.05.5.man.patch
new file mode 100644
index 000000000000..285e871acdae
--- /dev/null
+++ b/app-text/ghostscript/files/ghostscript-7.05.5.man.patch
@@ -0,0 +1,32 @@
+--- espgs-7.05.5/man/gs.1 2002-04-23 07:58:37.000000000 -0400
++++ espgs-7.05.5/man/gs.1.new 2003-01-18 14:22:46.000000000 -0500
+@@ -257,7 +257,7 @@
+ the directories specified by the \fBGS_LIB_DEFAULT\fR macro in the
+ Ghostscript makefile when the executable was built. When \fBgs\fR is built
+ on Unix, \fBGS_LIB_DEFAULT\fR is usually
+-"/usr/local/share/ghostscript/#.##:/usr/local/share/ghostscript/fonts"
++"/usr/share/ghostscript/#.##:/usr/share/ghostscript/fonts"
+ where "#.##" represents the Ghostscript version number.
+ .PP
+ Each of these (\fBGS_LIB_DEFAULT\fR, \fBGS_LIB\fR, and \fB\-I\fR parameter)
+@@ -432,16 +432,16 @@
+ location of Ghostscript documentation on your system, from which you can
+ get more details.
+ .TP
+-.B /usr/local/share/ghostscript/#.##/*
++.B /usr/share/ghostscript/#.##/*
+ Startup files, utilities, and basic font definitions
+ .TP
+-.B /usr/local/share/ghostscript/fonts/*
++.B /usr/share/ghostscript/#.##/fonts/*
+ More font definitions
+ .TP
+-.B /usr/local/share/ghostscript/#.##/examples/*
++.B /usr/share/ghostscript-#.##/examples/*
+ Ghostscript demonstration files
+ .TP
+-.B /usr/local/share/ghostscript/#.##/doc/*
++.B /usr/share/doc/ghostscript-#.##/html/*
+ Diverse document files
+ .SH ENVIRONMENT
+ .TP
diff --git a/app-text/ghostscript/ghostscript-7.05.5-r2.ebuild b/app-text/ghostscript/ghostscript-7.05.5-r2.ebuild
new file mode 100644
index 000000000000..302f35dcdc6a
--- /dev/null
+++ b/app-text/ghostscript/ghostscript-7.05.5-r2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.5-r2.ebuild,v 1.1 2003/01/28 06:26:17 lordvan Exp $
+
+DESCRIPTION="ESP Ghostscript -- an enhanced version of GNU Ghostscript with better printer support"
+SRC_URI="ftp://ftp.easysw.com/pub/ghostscript/espgs-${PV}-source.tar.bz2
+ ftp://ftp.easysw.com/pub/ghostscript/gnu-gs-fonts-std-6.0.tar.gz
+ ftp://ftp.easysw.com/pub/ghostscript/gnu-gs-fonts-other-6.0.tar.gz
+ cjk? ( ftp://ftp.gyve.org/pub/gs-cjk/adobe-cmaps-200204.tar.gz
+ ftp://ftp.gyve.org/pub/gs-cjk/acro5-cmaps-2001.tar.gz)"
+HOMEPAGE="http://www.easysw.com/"
+
+SLOT="0"
+LICENSE="GPL-2 LGPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+IUSE="X cups gnome cjk"
+
+DEPEND="virtual/glibc
+ >=media-libs/jpeg-6b
+ >=media-libs/libpng-1.2.1
+ >=sys-libs/zlib-1.1.4
+ X? ( virtual/x11 )
+ gnome? ( >=media-gfx/gimp-print-4.2.1 )
+ cjk? ( x11-misc/arphicfonts
+ x11-misc/kochi-fonts
+ x11-misc/baekmuk-fonts )"
+
+S=${WORKDIR}/espgs-${PV}
+
+src_unpack() {
+ unpack espgs-${PV}-source.tar.bz2
+ unpack gnu-gs-fonts-std-6.0.tar.gz
+ unpack gnu-gs-fonts-other-6.0.tar.gz
+
+ # Brother HL-12XX support
+ cp ${FILESDIR}/gs7.05-gdevhl12.c ${S}/src/gdevhl12.c || die
+ mv ${S}/src/Makefile.in ${S}/src/Makefile.in.orig
+ sed 's#^\(DEVICE_DEVS6=.*\)$#\1 $(DD)hl1240.dev $(DD)hl1250.dev#' \
+ ${S}/src/Makefile.in.orig > ${S}/src/Makefile.in || die
+
+ patch -p0 < ${FILESDIR}/png.diff || die "patch failed"
+
+ if [ -n `use cjk` ] ; then
+ patch -p0 < ${FILESDIR}/gs7.05-cjk.diff || die "patch failed"
+ fi
+ # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150
+ patch -p0 ${S}/man/gs.1 < ${FILESDIR}/${P}.man.patch
+}
+
+src_compile() {
+ local myconf
+ myconf="--with-ijs --with-omni"
+
+ use X && myconf="${myconf} --with-x --with-gimp-print" \
+ || myconf="${myconf} --without-x --without-gimp-print"
+
+ use cups && myconf="${myconf} --enable-cups" \
+ || myconf="${myconf} --disable-cups"
+
+ use gnome && myconf="${myconf} --with-gimp-print" \
+ || myconf="${myconf} --without-gimp-print"
+
+ econf ${myconf}
+ make || die "make failed"
+}
+
+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.05/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
+}