summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-03-04 11:24:20 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-03-04 11:24:20 +0000
commite210a82c35243dd1254119906a4f994cd8c09e51 (patch)
tree4e08d5ff947cdb293179b0ca2fe0c8e016bd18ed /app-text/ghostscript
parentchanged xml-commons dependency to xerces-2 in order to fix #82561 (diff)
downloadhistorical-e210a82c35243dd1254119906a4f994cd8c09e51.tar.gz
historical-e210a82c35243dd1254119906a4f994cd8c09e51.tar.bz2
historical-e210a82c35243dd1254119906a4f994cd8c09e51.zip
cleanups
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'app-text/ghostscript')
-rw-r--r--app-text/ghostscript/ChangeLog9
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.05.65
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.05.6-r13
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.07.1-r14
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.07.1-r24
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.07.1-r34
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.07.1-r44
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.07.1-r53
-rw-r--r--app-text/ghostscript/files/digest-ghostscript-7.07.1-r63
-rw-r--r--app-text/ghostscript/ghostscript-7.05.6-r1.ebuild90
-rw-r--r--app-text/ghostscript/ghostscript-7.05.6.ebuild90
-rw-r--r--app-text/ghostscript/ghostscript-7.07.1-r1.ebuild119
-rw-r--r--app-text/ghostscript/ghostscript-7.07.1-r2.ebuild123
-rw-r--r--app-text/ghostscript/ghostscript-7.07.1-r3.ebuild127
-rw-r--r--app-text/ghostscript/ghostscript-7.07.1-r4.ebuild141
-rw-r--r--app-text/ghostscript/ghostscript-7.07.1-r5.ebuild140
-rw-r--r--app-text/ghostscript/ghostscript-7.07.1-r6.ebuild142
17 files changed, 8 insertions, 1003 deletions
diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog
index ed4722052363..a276f858e5d6 100644
--- a/app-text/ghostscript/ChangeLog
+++ b/app-text/ghostscript/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-text/ghostscript
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.94 2005/01/02 22:05:00 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.95 2005/03/04 11:24:20 lanius Exp $
+
+ 04 Mar 2005; Heinrich Wendel <lanius@gentoo.org>
+ -ghostscript-7.05.6-r1.ebuild, -ghostscript-7.05.6.ebuild,
+ -ghostscript-7.07.1-r1.ebuild, -ghostscript-7.07.1-r2.ebuild,
+ -ghostscript-7.07.1-r3.ebuild, -ghostscript-7.07.1-r4.ebuild,
+ -ghostscript-7.07.1-r5.ebuild, -ghostscript-7.07.1-r6.ebuild:
+ cleanups
02 Jan 2005; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/app-text/ghostscript/files/digest-ghostscript-7.05.6 b/app-text/ghostscript/files/digest-ghostscript-7.05.6
deleted file mode 100644
index a76e8443ea4a..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.05.6
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 991cbd7bafc6917a19abf9df3ecad58e espgs-7.05.6-source.tar.bz2 5410541
-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/digest-ghostscript-7.05.6-r1 b/app-text/ghostscript/files/digest-ghostscript-7.05.6-r1
deleted file mode 100644
index 641ffce1b288..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.05.6-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 991cbd7bafc6917a19abf9df3ecad58e espgs-7.05.6-source.tar.bz2 5410541
-MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486
-MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653
diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r1 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r1
deleted file mode 100644
index 986bb4d51dda..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r1
+++ /dev/null
@@ -1,4 +0,0 @@
-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/digest-ghostscript-7.07.1-r2 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r2
deleted file mode 100644
index 986bb4d51dda..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r2
+++ /dev/null
@@ -1,4 +0,0 @@
-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/digest-ghostscript-7.07.1-r3 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r3
deleted file mode 100644
index 986bb4d51dda..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r3
+++ /dev/null
@@ -1,4 +0,0 @@
-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/digest-ghostscript-7.07.1-r4 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r4
deleted file mode 100644
index 986bb4d51dda..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r4
+++ /dev/null
@@ -1,4 +0,0 @@
-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/digest-ghostscript-7.07.1-r5 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r5
deleted file mode 100644
index 86d2854e2bfc..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d30bf5c09f2c7caa8291f6305cf03044 espgs-7.07.1-source.tar.bz2 5400198
-MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486
-MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653
diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r6 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r6
deleted file mode 100644
index 86d2854e2bfc..000000000000
--- a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 d30bf5c09f2c7caa8291f6305cf03044 espgs-7.07.1-source.tar.bz2 5400198
-MD5 a3bf430a7e21cd82401258a2ec3b8afb adobe-cmaps-200204.tar.gz 4360486
-MD5 2fbae60417d42779f6488ab897dcaaf6 acro5-cmaps-2001.tar.gz 631653
diff --git a/app-text/ghostscript/ghostscript-7.05.6-r1.ebuild b/app-text/ghostscript/ghostscript-7.05.6-r1.ebuild
deleted file mode 100644
index 167f07fb463f..000000000000
--- a/app-text/ghostscript/ghostscript-7.05.6-r1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.6-r1.ebuild,v 1.11 2005/01/01 16:15:30 eradicator Exp $
-
-inherit eutils
-
-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
- 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 cjk"
-
-DEPEND="virtual/libc
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.1
- >=sys-libs/zlib-1.1.4
- X? ( virtual/x11 )
- cjk? ( <=media-fonts/arphicfonts-0.1-r1
- <=media-fonts/kochi-substitute-20030809-r2
- <=media-fonts/baekmuk-fonts-2.1-r1 )
- cups? ( net-print/cups )
- !virtual/ghostscript
- media-fonts/gnu-gs-fonts-std"
-
-PROVIDE="virtual/ghostscript"
-
-S=${WORKDIR}/espgs-${PV}
-
-src_unpack() {
- unpack espgs-${PV}-source.tar.bz2
-
- # Brother HL-12XX support
- cp ${FILESDIR}/gs7.05-gdevhl12.c.bz2 ${S}/src/gdevhl12.c.bz2 || die
- bzip2 -df ${S}/src/gdevhl12.c.bz2 || 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"
-
- use cjk && epatch ${FILESDIR}/gs${PV}-cjk.diff.bz2
-
- # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150
- patch -p0 ${S}/man/gs.1 < ${FILESDIR}/${P}.man.patch || die
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.05/$(get_libdir):"\
- ${S}/src/Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
- ${S}/src/Makefile.in || die "sed failed"
-
-}
-
-src_compile() {
- local myconf
- myconf="--with-ijs --with-omni"
-
- use X && myconf="${myconf} --with-x" \
- || myconf="${myconf} --without-x"
-
- use cups && myconf="${myconf} --enable-cups --with-gimp-print" \
- || myconf="${myconf} --disable-cups --without-gimp-print"
-
- econf ${myconf} || die "econf failed"
- make || die "make failed"
-}
-
-src_install() {
- einstall install_prefix=${D}
-
- 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
-}
diff --git a/app-text/ghostscript/ghostscript-7.05.6.ebuild b/app-text/ghostscript/ghostscript-7.05.6.ebuild
deleted file mode 100644
index 4dd61b5def56..000000000000
--- a/app-text/ghostscript/ghostscript-7.05.6.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.6.ebuild,v 1.19 2005/01/01 16:15:30 eradicator Exp $
-
-inherit eutils
-
-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 cjk"
-
-DEPEND="virtual/libc
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.1
- >=sys-libs/zlib-1.1.4
- X? ( virtual/x11 )
- cjk? ( <=media-fonts/arphicfonts-0.1-r1
- <=media-fonts/kochi-substitute-20030809-r2
- <=media-fonts/baekmuk-fonts-2.1-r1 )
- cups? ( net-print/cups )
- !virtual/ghostscript"
-
-PROVIDE="virtual/ghostscript"
-
-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.bz2 ${S}/src/gdevhl12.c.bz2 || die
- bzip2 -df ${S}/src/gdevhl12.c.bz2 || 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"
-
- use cjk && epatch ${FILESDIR}/gs${PV}-cjk.diff.bz2
-
- # man page patch from absinthe@pobox.com (Dylan Carlson) bug #14150
- patch -p0 ${S}/man/gs.1 < ${FILESDIR}/${P}.man.patch || die
-}
-
-src_compile() {
- local myconf
- myconf="--with-ijs --with-omni"
-
- use X && myconf="${myconf} --with-x" \
- || myconf="${myconf} --without-x"
-
- use cups && myconf="${myconf} --enable-cups --with-gimp-print" \
- || myconf="${myconf} --disable-cups --without-gimp-print"
-
- econf ${myconf} || die "econf failed"
- 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
-}
diff --git a/app-text/ghostscript/ghostscript-7.07.1-r1.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r1.ebuild
deleted file mode 100644
index 8d69b8ecd13d..000000000000
--- a/app-text/ghostscript/ghostscript-7.07.1-r1.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r1.ebuild,v 1.18 2005/01/01 16:15:30 eradicator Exp $
-
-inherit flag-o-matic eutils gcc
-
-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 mips"
-IUSE="X cups cjk"
-
-DEPEND="virtual/libc
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.1
- >=sys-libs/zlib-1.1.4
- X? ( virtual/x11 )
- cjk? ( <=media-fonts/arphicfonts-0.1-r1
- <=media-fonts/kochi-substitute-20030809-r2
- <=media-fonts/baekmuk-fonts-2.1-r1 )
- cups? ( net-print/cups )
- !virtual/ghostscript"
-
-S=${WORKDIR}/espgs-${PV}
-
-PROVIDE="virtual/ghostscript"
-
-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.bz2
- 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
-
- # Fix the garbage collector on ia64 and ppc
- epatch ${FILESDIR}/gs-fix-gc.patch
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):" \
- Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/ghostscript/fonts:' \
- Makefile.in || die "sed failed"
-}
-
-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"
-
- # -O3 will make ghostscript fail when compiling with gcc 3.4
- if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ]
- then
- strip-flags
- replace-flags -O? -O2
- fi
-
- econf ${myconf} || die "econf failed"
- make || die "make failed"
-
- cd ijs
- econf --prefix=${D}/usr || die "econf failed"
- 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/$(get_libdir)
- einstall install_prefix=${D}
-}
diff --git a/app-text/ghostscript/ghostscript-7.07.1-r2.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r2.ebuild
deleted file mode 100644
index f27c85f0a113..000000000000
--- a/app-text/ghostscript/ghostscript-7.07.1-r2.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r2.ebuild,v 1.15 2005/01/01 16:15:30 eradicator Exp $
-
-inherit flag-o-matic eutils gcc
-
-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 ~mips ~ppc64"
-IUSE="X cups cjk emacs"
-
-DEPEND="virtual/libc
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.1
- >=sys-libs/zlib-1.1.4
- X? ( virtual/x11 )
- cjk? ( <=media-fonts/arphicfonts-0.1-r1
- <=media-fonts/kochi-substitute-20030809-r2
- <=media-fonts/baekmuk-fonts-2.1-r1 )
- cups? ( net-print/cups )
- !virtual/ghostscript"
-
-S=${WORKDIR}/espgs-${PV}
-
-PROVIDE="virtual/ghostscript"
-
-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.bz2
- 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
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):" \
- Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/ghostscript/fonts:' \
- Makefile.in || die "sed failed"
-
- # krgb support
- cd src
- epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz
-}
-
-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"
-
- # -O3 will make ghostscript fail when compiling with gcc 3.4
- if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ]
- then
- strip-flags
- replace-flags -O? -O2
- fi
-
- econf ${myconf} || die "econf failed"
- make || die "make failed"
-
- cd ijs
- econf --prefix=${D}/usr || die "econf failed"
- 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
-
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins doc/gsdoc.el
- fi
-
- 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/$(get_libdir)
- einstall install_prefix=${D}
-}
diff --git a/app-text/ghostscript/ghostscript-7.07.1-r3.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r3.ebuild
deleted file mode 100644
index d15917fd7e14..000000000000
--- a/app-text/ghostscript/ghostscript-7.07.1-r3.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r3.ebuild,v 1.8 2005/01/01 16:15:30 eradicator Exp $
-
-inherit flag-o-matic eutils gcc
-
-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 ~mips ppc64"
-IUSE="X cups cjk emacs"
-
-DEPEND="virtual/libc
- >=media-libs/jpeg-6b
- >=media-libs/libpng-1.2.1
- >=sys-libs/zlib-1.1.4
- X? ( virtual/x11 )
- cjk? ( <=media-fonts/arphicfonts-0.1-r1
- <=media-fonts/kochi-substitute-20030809-r2
- <=media-fonts/baekmuk-fonts-2.1-r1 )
- cups? ( net-print/cups )
- !virtual/ghostscript"
-
-S=${WORKDIR}/espgs-${PV}
-
-PROVIDE="virtual/ghostscript"
-
-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.bz2
- 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
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):" \
- Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/ghostscript/fonts:' \
- Makefile.in || die "sed failed"
-
- # krgb support
- cd src
- epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz
-}
-
-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"
-
- # -O3 will make ghostscript fail when compiling with gcc 3.4
- if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ]
- then
- strip-flags
- replace-flags -O? -O2
- fi
-
- econf ${myconf} || die "econf failed"
- make || die "make failed"
-
- cd ijs
- econf --prefix=${D}/usr || die "econf failed"
- 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
-
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins doc/gsdoc.el
- fi
-
- 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/$(get_libdir)
- # This is broken - there are not even a 'install_prefix'
- # anywhere in ${S}/ijs ...
- #einstall install_prefix=${D}
- einstall
- dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config
-}
diff --git a/app-text/ghostscript/ghostscript-7.07.1-r4.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r4.ebuild
deleted file mode 100644
index b542710af211..000000000000
--- a/app-text/ghostscript/ghostscript-7.07.1-r4.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r4.ebuild,v 1.7 2005/01/01 16:15:30 eradicator Exp $
-
-inherit flag-o-matic eutils gcc
-
-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 ~mips ~ppc64"
-IUSE="X cups cjk emacs truetype"
-
-RDEPEND="virtual/libc
- >=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 )
- !virtual/ghostscript
- truetype? ( media-libs/fontconfig )"
-
-DEPEND="${RDEPEND}
- truetype? ( dev-util/pkgconfig )"
-
-S=${WORKDIR}/espgs-${PV}
-
-PROVIDE="virtual/ghostscript"
-
-src_unpack() {
- unpack espgs-${PV}-source.tar.bz2
- unpack ghostscript-fonts-std-8.11.tar.gz
-
- cd ${S}
-
- if use cjk ; then
- epatch ${FILESDIR}/gs${PV}-cjk.diff.bz2
- epatch ${FILESDIR}/gs7.05.6-kochi-substitute.patch
- fi
-
- # add fontconfig support
- use truetype && epatch ${FILESDIR}/gs7.07.1-fontconfig-rh.patch.bz2
-
- # 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
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):" \
- Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/ghostscript/fonts:' \
- Makefile.in || die "sed failed"
-
- # krgb support
- cd src
- epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz
-}
-
-src_compile() {
- local myconf
- myconf="--with-ijs --with-omni --without-gimp-print"
-
- if use truetype ; then
- # bug #56998, only compiled-in fontpath is searched when running
- # gs -DPARANOIDSAFER out.ps
- myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute"
- fi
-
- use X && myconf="${myconf} --with-x" \
- || myconf="${myconf} --without-x"
-
- use cups && myconf="${myconf} --enable-cups" \
- || myconf="${myconf} --disable-cups"
-
- # -O3 will make ghostscript fail when compiling with gcc 3.4
- if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ]
- then
- strip-flags
- replace-flags -O? -O2
- fi
-
- autoconf
- econf ${myconf} || die "econf failed"
- make || die "make failed"
-
- cd ijs
- econf --prefix=${D}/usr || die "econf failed"
- 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
-
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins doc/gsdoc.el
- fi
-
- 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
- # This is broken - there are not even a 'install_prefix'
- # anywhere in ${S}/ijs ...
- #einstall install_prefix=${D}
- einstall
- dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config
-}
diff --git a/app-text/ghostscript/ghostscript-7.07.1-r5.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r5.ebuild
deleted file mode 100644
index 065ce265c679..000000000000
--- a/app-text/ghostscript/ghostscript-7.07.1-r5.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r5.ebuild,v 1.9 2005/01/01 16:15:30 eradicator Exp $
-
-inherit flag-o-matic eutils gcc
-
-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
- 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 ~mips ~ppc64"
-IUSE="X cups cjk emacs truetype"
-
-RDEPEND="virtual/libc
- >=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 )
- !virtual/ghostscript
- media-libs/fontconfig
- media-fonts/gnu-gs-fonts-std"
-
-DEPEND="${RDEPEND}
- truetype? ( dev-util/pkgconfig )"
-
-S=${WORKDIR}/espgs-${PV}
-
-PROVIDE="virtual/ghostscript"
-
-src_unpack() {
- unpack espgs-${PV}-source.tar.bz2
- unpack ghostscript-fonts-std-8.11.tar.gz
-
- cd ${S}
-
- if use cjk ; then
- epatch ${FILESDIR}/gs${PV}-cjk.diff.bz2
- epatch ${FILESDIR}/gs7.05.6-kochi-substitute.patch
- fi
-
- # add fontconfig support
- epatch ${FILESDIR}/gs7.07.1-fontconfig-rh.patch.bz2
-
- # 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
-
- # Makefile.in fixes for DESTDIR support in libijs because
- # einstall borks on multilib systems -- eradicator
- epatch ${FILESDIR}/gs${PV}-ijsdestdir.patch
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):"\
- Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/ghostscript/:' \
- Makefile.in || die "sed failed"
-
- # krgb support
- cd src
- epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz
-}
-
-src_compile() {
- local myconf
- myconf="--with-ijs --with-omni --without-gimp-print"
-
- # bug #56998, only compiled-in fontpath is searched when running
- # gs -DPARANOIDSAFER out.ps
- myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute"
-
- use X && myconf="${myconf} --with-x" \
- || myconf="${myconf} --without-x"
-
- use cups && myconf="${myconf} --enable-cups" \
- || myconf="${myconf} --disable-cups"
-
- # -O3 will make ghostscript fail when compiling with gcc 3.4
- if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ]
- then
- strip-flags
- replace-flags -O? -O2
- fi
-
- autoconf
- econf ${myconf} || die "econf failed"
- make || die "make failed"
-
- cd ijs
- econf || die "econf failed"
- make || die "make failed"
- cd ..
-}
-
-src_install() {
- einstall install_prefix=${D}
-
- rm -fr ${D}/usr/share/ghostscript/7.07/doc || die
- dodoc doc/README doc/COPYING doc/COPYING.LGPL
- dohtml doc/*.html doc/*.htm
-
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins doc/gsdoc.el
- fi
-
- 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/$(get_libdir)
- # This is broken - there are not even a 'install_prefix'
- # anywhere in ${S}/ijs ...
- #einstall install_prefix=${D}
- #einstall
- #dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config
- make DESTDIR="${D}" install || die
-}
diff --git a/app-text/ghostscript/ghostscript-7.07.1-r6.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r6.ebuild
deleted file mode 100644
index 3848fd0e57e7..000000000000
--- a/app-text/ghostscript/ghostscript-7.07.1-r6.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.07.1-r6.ebuild,v 1.7 2005/01/01 16:15:30 eradicator Exp $
-
-inherit flag-o-matic eutils gcc
-
-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
- 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 ~mips ~ppc64"
-IUSE="X cups cjk emacs truetype"
-
-RDEPEND="virtual/libc
- >=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 )
- !virtual/ghostscript
- media-libs/fontconfig
- media-fonts/gnu-gs-fonts-std"
-
-DEPEND="${RDEPEND}
- truetype? ( dev-util/pkgconfig )"
-
-S=${WORKDIR}/espgs-${PV}
-
-PROVIDE="virtual/ghostscript"
-
-src_unpack() {
- unpack espgs-${PV}-source.tar.bz2
-
- cd ${S}
-
- if use cjk ; then
- epatch ${FILESDIR}/gs${PV}-cjk.diff.bz2
- epatch ${FILESDIR}/gs7.05.6-kochi-substitute.patch
- fi
-
- # add fontconfig support
- epatch ${FILESDIR}/gs7.07.1-fontconfig-rh.patch.bz2
-
- # 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
-
- # Makefile.in fixes for DESTDIR support in libijs because
- # einstall borks on multilib systems -- eradicator
- epatch ${FILESDIR}/gs${PV}-ijsdestdir.patch
-
- # Fix the garbage collector on ia64 and ppc
- epatch ${FILESDIR}/gs-fix-gc.patch
-
- # search path fix
- sed -i -e "s:\$\(gsdatadir\)/lib:/usr/share/ghostscript/7.07/$(get_libdir):"\
- Makefile.in || die "sed failed"
- sed -i -e 's:$(gsdir)/fonts:/usr/share/fonts/default/ghostscript/:' \
- Makefile.in || die "sed failed"
-
- # krgb support
- cd src
- epatch ${FILESDIR}/gs7.07.1-krgb.patch.gz
-}
-
-src_compile() {
- local myconf
- myconf="--with-ijs --with-omni --without-gimp-print"
-
- # bug #56998, only compiled-in fontpath is searched when running
- # gs -DPARANOIDSAFER out.ps
- myconf="${myconf} --with-fontconfig --with-fontpath=/usr/share/fonts:/usr/share/fonts/ttf/zh_TW:/usr/share/fonts/ttf/zh_CN:/usr/share/fonts/arphicfonts:/usr/share/fonts/ttf/korean/baekmuk:/usr/share/fonts/baekmuk-fonts:/usr/X11R6/lib/X11/fonts/truetype:/usr/share/fonts/kochi-substitute"
-
- use X && myconf="${myconf} --with-x" \
- || myconf="${myconf} --without-x"
-
- use cups && myconf="${myconf} --enable-cups" \
- || myconf="${myconf} --disable-cups"
-
- # -O3 will make ghostscript fail when compiling with gcc 3.4
- if [ "`gcc-major-version`" -eq "3" ] && [ "`gcc-minor-version`" -eq "4" ]
- then
- strip-flags
- replace-flags -O? -O2
- fi
-
- autoconf
- econf ${myconf} || die "econf failed"
- make || die "make failed"
-
- cd ijs
- econf || die "econf failed"
- make || die "make failed"
- cd ..
-}
-
-src_install() {
- einstall install_prefix=${D}
-
- rm -fr ${D}/usr/share/ghostscript/7.07/doc || die
- dodoc doc/README doc/COPYING doc/COPYING.LGPL
- dohtml doc/*.html doc/*.htm
-
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins doc/gsdoc.el
- fi
-
- 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/$(get_libdir)
- # This is broken - there are not even a 'install_prefix'
- # anywhere in ${S}/ijs ...
- #einstall install_prefix=${D}
- #einstall
- #dosed "s:^prefix=.*:prefix=/usr:" /usr/bin/ijs-config
- make DESTDIR="${D}" install || die
-}