diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2002-06-28 20:47:54 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2002-06-28 20:47:54 +0000 |
commit | be0e83a3220dd6689a886fb4c778579077e6eb2f (patch) | |
tree | c5862c31fef52cc9abf1babd22a470f307f019fd /app-text/ghostscript | |
parent | fix fping DEPEND (catagory changed) (diff) | |
download | gentoo-2-be0e83a3220dd6689a886fb4c778579077e6eb2f.tar.gz gentoo-2-be0e83a3220dd6689a886fb4c778579077e6eb2f.tar.bz2 gentoo-2-be0e83a3220dd6689a886fb4c778579077e6eb2f.zip |
Added cups pstoraster stuff.
Diffstat (limited to 'app-text/ghostscript')
-rw-r--r-- | app-text/ghostscript/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/ghostscript/files/digest-ghostscript-7.05-r1 | 5 | ||||
-rw-r--r-- | app-text/ghostscript/ghostscript-7.05-r1.ebuild | 79 |
3 files changed, 91 insertions, 1 deletions
diff --git a/app-text/ghostscript/ChangeLog b/app-text/ghostscript/ChangeLog index c439bb1b3bac..6fc361ca4f1d 100644 --- a/app-text/ghostscript/ChangeLog +++ b/app-text/ghostscript/ChangeLog @@ -1,6 +1,12 @@ # 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.7 2002/05/26 14:15:40 verwilst Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ChangeLog,v 1.8 2002/06/28 20:47:54 g2boojum Exp $ + +*ghostscript-7.0.5-r1 (28 Jun 2002) + + 28 Jun 2002; Grant Goodyear <g2boojum@gentoo.org> : + + added cups pstoraster support *ghostscript-7.05 (26 May 2002 26 May: Bart Verwilst: Upgraded to 7.05, added lexmark 3200 driver.. diff --git a/app-text/ghostscript/files/digest-ghostscript-7.05-r1 b/app-text/ghostscript/files/digest-ghostscript-7.05-r1 new file mode 100644 index 000000000000..5328062a505f --- /dev/null +++ b/app-text/ghostscript/files/digest-ghostscript-7.05-r1 @@ -0,0 +1,5 @@ +MD5 821caada7e265ea5b698a78e6b029734 ghostscript-7.05.tar.bz2 4103119 +MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz 1881034 +MD5 33457d3f37de7ef03d2eea05a9e6aa4f gnu-gs-fonts-other-6.0.tar.gz 796086 +MD5 ec11b9ef72ecaabb61eeba27e93f9f2b lxm3200-0.4.1-gs5.50-src.tar.gz 37283 +MD5 971a14d35f61ea19871616f437e199a2 cups-1.1.15-1-source.tar.bz2 2962392 diff --git a/app-text/ghostscript/ghostscript-7.05-r1.ebuild b/app-text/ghostscript/ghostscript-7.05-r1.ebuild new file mode 100644 index 000000000000..a2bf3618121b --- /dev/null +++ b/app-text/ghostscript/ghostscript-7.05-r1.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author Markus Krainer <markus-krainer@chello.at> +# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.5 2002/04/29 22:56:53 sandymac Exp + +S=${WORKDIR}/${P} +DESCRIPTION="GNU Ghostscript" +SRC_URI="http://download.sourceforge.net/ghostscript/${P}.tar.bz2 + http://download.sourceforge.net/gs-fonts/ghostscript-fonts-std-6.0.tar.gz + http://download.sourceforge.net/gs-fonts/gnu-gs-fonts-other-6.0.tar.gz + http://lxm3200.sourceforge.net/lxm3200-0.4.1-gs5.50-src.tar.gz" + +use cups && SRC_URI="${SRC_URI} + ftp://ftp.easysw.com/pub/cups/1.1.15/cups-1.1.15-1-source.tar.bz2" + +DEPEND="virtual/glibc + >=media-libs/jpeg-6b + >=media-libs/libpng-1.2.1 + >=sys-libs/zlib-1.1.4 + X? ( virtual/x11 ) + cups? ( >=net-print/cups-1.1.15 )" +SLOT="0" + +src_unpack() { + +unpack ${P}.tar.bz2 +unpack ghostscript-fonts-std-6.0.tar.gz +unpack gnu-gs-fonts-other-6.0.tar.gz +unpack lxm3200-0.4.1-gs5.50-src.tar.gz +if [ -n "`use cups`" ] +then + unpack cups-1.1.15-1-source.tar.bz2 + cp -r cups-1.1.15/pstoraster ${S} + cd ${S} + cat pstoraster/ghostscript-705.patch | patch -p1 -d ${S} || die "gs patch failed" + cat ${FILESDIR}/lxm3200-cups.diff | patch -p1 -d ${S} || die "lxm3200 patch failed" +else + cd ${WORKDIR} + patch -p0 < ${FILESDIR}/lxm3200-gentoo.diff +fi + +cp ${WORKDIR}/lxm3200-0.4.1-gs5.50-src/gdevlx32.c ${S}/src/ + +} + + +src_compile() { + use X && myconf="--with-x" + use X || myconf="--without-x" + use cups && myconf="${myconf} --enable-cups" + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-gimp-print \ + ${myconf} || die "./configure failed" + + + make || die "make failed" +} + +src_install() { + + make \ + prefix=${D}/usr \ + mandir=${D}/usr/share/man \ + install_prefix=${D} \ + install || die "make install failed" + + cd ${WORKDIR} + cp -a fonts ${D}/usr/share/ghostscript + cd ${S} + + rm -fr ${D}/usr/share/ghostscript/7.05/doc + dodoc doc/README doc/COPYING doc/COPYING.LGPL + dohtml doc/*.html doc/*.htm + insinto /usr/share/emacs/site-lisp + doins doc/gsdoc.el +} |