From 2643bf8b61bfbe632f849d2adc1a0af9a757233b Mon Sep 17 00:00:00 2001 From: Heinrich Wendel Date: Tue, 9 Dec 2003 16:36:14 +0000 Subject: virtual/ghostscript - stable --- app-text/ghostscript/ChangeLog | 9 +- app-text/ghostscript/Manifest | 8 +- .../ghostscript/files/digest-ghostscript-7.07.1 | 4 - .../ghostscript/files/digest-ghostscript-7.07.1-r1 | 4 + app-text/ghostscript/ghostscript-7.05.6-r4.ebuild | 4 +- app-text/ghostscript/ghostscript-7.07.1-r1.ebuild | 106 +++++++++++++++++++++ app-text/ghostscript/ghostscript-7.07.1.ebuild | 104 -------------------- 7 files changed, 124 insertions(+), 115 deletions(-) delete mode 100644 app-text/ghostscript/files/digest-ghostscript-7.07.1 create mode 100644 app-text/ghostscript/files/digest-ghostscript-7.07.1-r1 create mode 100644 app-text/ghostscript/ghostscript-7.07.1-r1.ebuild delete mode 100644 app-text/ghostscript/ghostscript-7.07.1.ebuild diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog index 011b1b47a8e7..e576decbc9d0 100644 --- a/app-text/ghostscript/ChangeLog +++ b/app-text/ghostscript/ChangeLog @@ -1,6 +1,13 @@ # 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.42 2003/12/08 11:35:46 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.43 2003/12/09 16:36:08 lanius Exp $ + +*ghostscript-7.07.1-r1 (09 Dec 2003) + + 09 Dec 2003; Heinrich Wendel + ghostscript-7.05.6-r4.ebuild, ghostscript-7.07.1-r1.ebuild, + ghostscript-7.07.1.ebuild: + virtual/ghostscript - stable *ghostscript-7.07.1 (08 Dec 2003) diff --git a/app-text/ghostscript/Manifest b/app-text/ghostscript/Manifest index b3caa60a82e7..9498eb413ef8 100644 --- a/app-text/ghostscript/Manifest +++ b/app-text/ghostscript/Manifest @@ -1,13 +1,13 @@ MD5 d527cfe1fad5dd57a105edd9aac835bd ghostscript-7.05.6-r3.ebuild 3292 -MD5 70cc8bbe88a75cd2bd9d7f02d7b93248 ghostscript-7.05.6-r4.ebuild 3358 -MD5 ae4112782f5938d3618b152714421031 ghostscript-7.07.1.ebuild 2802 -MD5 f5b11328a5c133365028243c30a7ffa2 ChangeLog 7655 +MD5 83c48f973837e068481f90ab97fe6c3b ghostscript-7.05.6-r4.ebuild 3351 +MD5 01f663db9f560070b5eafd53160194ba ghostscript-7.07.1-r1.ebuild 2838 +MD5 c7016699721f9d38be7c36e6ad097f38 ChangeLog 7867 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 MD5 5f1b04ca58928a339b749703e067e2ba files/gs7.05.6-kochi-substitute.patch 3774 MD5 c63f6d71a403dbc72265831386b84eb0 files/digest-ghostscript-7.05.6-r3 359 MD5 c63f6d71a403dbc72265831386b84eb0 files/digest-ghostscript-7.05.6-r4 359 +MD5 71a93bd09748f37be38b726b0530e497 files/digest-ghostscript-7.07.1-r1 291 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 7208aacbb4aa234ce1a6126e8f682c06 files/gs7.07.1-ps2epsi.patch 372 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.07.1 b/app-text/ghostscript/files/digest-ghostscript-7.07.1 deleted file mode 100644 index 986bb4d51dda..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-7.07.1 +++ /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-r1 b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r1 new file mode 100644 index 000000000000..986bb4d51dda --- /dev/null +++ b/app-text/ghostscript/files/digest-ghostscript-7.07.1-r1 @@ -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/ghostscript-7.05.6-r4.ebuild b/app-text/ghostscript/ghostscript-7.05.6-r4.ebuild index 423f58a6b9d3..09220b624978 100644 --- a/app-text/ghostscript/ghostscript-7.05.6-r4.ebuild +++ b/app-text/ghostscript/ghostscript-7.05.6-r4.ebuild @@ -1,6 +1,6 @@ # 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.05.6-r4.ebuild,v 1.2 2003/12/08 11:35:46 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05.6-r4.ebuild,v 1.3 2003/12/09 16:36:08 lanius Exp $ inherit eutils @@ -14,7 +14,7 @@ SRC_URI="ftp://ftp.easysw.com/pub/ghostscript/espgs-${PV}-source.tar.bz2 LICENSE="GPL-2 LGPL-2" SLOT="0" -KEYWORDS="~ia64 ~x86 ~ppc ~sparc ~alpha ~hppa ~amd64" +KEYWORDS="ia64 x86 ppc sparc alpha hppa amd64" IUSE="X cups cjk" DEPEND="virtual/glibc diff --git a/app-text/ghostscript/ghostscript-7.07.1-r1.ebuild b/app-text/ghostscript/ghostscript-7.07.1-r1.ebuild new file mode 100644 index 000000000000..0e2a3a3424e9 --- /dev/null +++ b/app-text/ghostscript/ghostscript-7.07.1-r1.ebuild @@ -0,0 +1,106 @@ +# 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-r1.ebuild,v 1.1 2003/12/09 16:36:08 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 arm 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 )" + +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 +} + +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} +} diff --git a/app-text/ghostscript/ghostscript-7.07.1.ebuild b/app-text/ghostscript/ghostscript-7.07.1.ebuild deleted file mode 100644 index 1dd932704ebf..000000000000 --- a/app-text/ghostscript/ghostscript-7.07.1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# 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.2 2003/12/08 11:35:46 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 - - # 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 -} - -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} -} -- cgit v1.2.3-65-gdbad