diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2004-04-26 10:15:09 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2004-04-26 10:15:09 +0000 |
commit | afa784a80f4f78bc14d7dbc0144afc0b3077856f (patch) | |
tree | 091a7085ed8a3427b97f9b254001b605dd7aa373 /app-text/ghostscript | |
parent | bug #47688 (Manifest recommit) (diff) | |
download | gentoo-2-afa784a80f4f78bc14d7dbc0144afc0b3077856f.tar.gz gentoo-2-afa784a80f4f78bc14d7dbc0144afc0b3077856f.tar.bz2 gentoo-2-afa784a80f4f78bc14d7dbc0144afc0b3077856f.zip |
add krgb support from hpij
Diffstat (limited to 'app-text/ghostscript')
-rw-r--r-- | app-text/ghostscript/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/ghostscript/Manifest | 11 | ||||
-rw-r--r-- | app-text/ghostscript/files/digest-ghostscript-7.07.1-r2 | 4 | ||||
-rw-r--r-- | app-text/ghostscript/files/gs7.07.1-krgb.patch.gz | bin | 0 -> 5569 bytes | |||
-rw-r--r-- | app-text/ghostscript/ghostscript-7.07.1-r2.ebuild | 111 |
5 files changed, 129 insertions, 5 deletions
diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog index bec50f29c4fa..b73dd9a9ca82 100644 --- a/app-text/ghostscript/ChangeLog +++ b/app-text/ghostscript/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/ghostscript # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.45 2004/03/07 19:28:46 psi29a Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.46 2004/04/26 10:15:09 lanius Exp $ + +*ghostscript-7.07.1-r2 (26 Apr 2004) + + 26 Apr 2004; Heinrich Wendel <lanius@gentoo.org> + ghostscript-7.07.1-r2.ebuild, files/gs7.07.1-krgb.patch.gz: + add krgb support from hpijs 07 Mar 2004; Bret Curtis <psi29a@gentoo.org> ghostscript-7.07.1-r1.ebuild: Added ~mips to KEYWORDS diff --git a/app-text/ghostscript/Manifest b/app-text/ghostscript/Manifest index 91ee358b37d5..fabd1b7f9f66 100644 --- a/app-text/ghostscript/Manifest +++ b/app-text/ghostscript/Manifest @@ -1,10 +1,13 @@ +MD5 9c49ec0c8fd817fb68c4df4ced9d18fe ghostscript-7.07.1-r2.ebuild 2924 +MD5 9586d88c6c3b3f979e8a6d384235bee9 ghostscript-7.07.1-r1.ebuild 2857 MD5 83cb41ba46a3b56e5339639a422a716a ChangeLog 8036 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 -MD5 9586d88c6c3b3f979e8a6d384235bee9 ghostscript-7.07.1-r1.ebuild 2857 -MD5 68fa21d11a860c222c8ba89c39ce578e files/gs7.05.6-gdevpx.patch 402 +MD5 5f1b04ca58928a339b749703e067e2ba files/gs7.05.6-kochi-substitute.patch 3774 +MD5 acda8ddfde1efeaf451cb28a67dcc773 files/gs7.07.1-krgb.patch.gz 5569 +MD5 71a93bd09748f37be38b726b0530e497 files/digest-ghostscript-7.07.1-r1 291 +MD5 71a93bd09748f37be38b726b0530e497 files/digest-ghostscript-7.07.1-r2 291 MD5 f0a076c486b8d72e90c8aac2355ccd4d files/gs7.05.6-cjk.diff 20038 MD5 7208aacbb4aa234ce1a6126e8f682c06 files/gs7.07.1-ps2epsi.patch 372 -MD5 71a93bd09748f37be38b726b0530e497 files/digest-ghostscript-7.07.1-r1 291 MD5 fd34b2b7a029f19eab4ba3f69afe295e files/ghostscript-7.05.6.man.patch 1231 +MD5 68fa21d11a860c222c8ba89c39ce578e files/gs7.05.6-gdevpx.patch 402 MD5 ac6af6bf67095500ea043aea27062d62 files/gs7.07.1-ijs.patch 401 -MD5 5f1b04ca58928a339b749703e067e2ba files/gs7.05.6-kochi-substitute.patch 3774 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1-r2 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r2 new file mode 100644 index 000000000000..986bb4d51dda --- /dev/null +++ b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r2 @@ -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-krgb.patch.gz b/app-text/ghostscript/files/gs7.07.1-krgb.patch.gz Binary files differnew file mode 100644 index 000000000000..4588236cfe9a --- /dev/null +++ b/app-text/ghostscript/files/gs7.07.1-krgb.patch.gz diff --git a/app-text/ghostscript/ghostscript-7.07.1-r2.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r2.ebuild new file mode 100644 index 000000000000..01f146b9f10a --- /dev/null +++ b/app-text/ghostscript/ghostscript-7.07.1-r2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2004 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-r2.ebuild,v 1.1 2004/04/26 10:15:09 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 ~mips" +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 ) + !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 + 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/lib:' Makefile.in + sed -i -e 's:$(gsdir)/fonts:/usr/share/ghostscript/fonts:' Makefile.in + + # 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" + + 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} +} |