diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2002-07-10 07:11:53 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2002-07-10 07:11:53 +0000 |
commit | 257a34a8bb2a4502c7b39c2c20817c110f50261b (patch) | |
tree | f17110a966abee3a9f0ec7787cd1ff5c8de28462 /app-text | |
parent | mixer applet, intended for gnustep, works fine under black/flux-box (diff) | |
download | gentoo-2-257a34a8bb2a4502c7b39c2c20817c110f50261b.tar.gz gentoo-2-257a34a8bb2a4502c7b39c2c20817c110f50261b.tar.bz2 gentoo-2-257a34a8bb2a4502c7b39c2c20817c110f50261b.zip |
Added esp-ghostscript; a candidate to replace our default GNU ghostscript
Diffstat (limited to 'app-text')
4 files changed, 95 insertions, 6 deletions
diff --git a/app-text/esp-ghostscript/esp-ghostscript-7.05.3.ebuild b/app-text/esp-ghostscript/esp-ghostscript-7.05.3.ebuild new file mode 100644 index 000000000000..5668489536d3 --- /dev/null +++ b/app-text/esp-ghostscript/esp-ghostscript-7.05.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/app-text/esp-ghostscript/esp-ghostscript-7.05.3.ebuild,v 1.1 2002/07/10 07:11:53 drobbins Exp $ + +S=${WORKDIR}/espgs-${PV} +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 +http://lxm3200.sourceforge.net/lxm3200-0.4.1-gs5.50-src.tar.gz" +HOMEPAGE="http://www.easysw.com/" +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 )" +RDEPEND="${DEPEND}" +LICENSE="GPL-2 LGPL-2" +SLOT="0" + +src_unpack() { + unpack espgs-${PV}-source.tar.bz2 || die + unpack gnu-gs-fonts-std-6.0.tar.gz || die + unpack gnu-gs-fonts-other-6.0.tar.gz || die + unpack lxm3200-0.4.1-gs5.50-src.tar.gz || die + cat ${FILESDIR}/lxm3200-cups.diff | patch -p1 -d ${S} || die "lxm3200 patch failed" + cp ${WORKDIR}/lxm3200-0.4.1-gs5.50-src/gdevlx32.c ${S}/src/ || die +} + +src_compile() { + use X && myconf="--with-x" || myconf="--without-x" + use cups && myconf="${myconf} --enable-cups" || myconf="${myconf} --disable-cups" + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --with-gimp-print \ + ${myconf} || die "./configure failed" + + emake || 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 || 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 +} diff --git a/app-text/esp-ghostscript/files/digest-esp-ghostscript-7.05.3 b/app-text/esp-ghostscript/files/digest-esp-ghostscript-7.05.3 new file mode 100644 index 000000000000..3c9bc520404e --- /dev/null +++ b/app-text/esp-ghostscript/files/digest-esp-ghostscript-7.05.3 @@ -0,0 +1,5 @@ +MD5 e21697ae9c4aa82d16e48f202ba6f69c espgs-7.05.3-source.tar.bz2 4223681 +MD5 1521fab85ca3e8ce3ce781d4970e6c79 gnu-gs-fonts-std-6.0.tar.gz 1881193 +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/esp-ghostscript/files/lxm3200-cups.diff b/app-text/esp-ghostscript/files/lxm3200-cups.diff new file mode 100644 index 000000000000..3edc38c6b3c3 --- /dev/null +++ b/app-text/esp-ghostscript/files/lxm3200-cups.diff @@ -0,0 +1,32 @@ +diff -uP --to-file ../ghost/ ghostscript-7.05/src/Makefile.in ../ghost/Makefile.in +--- ghostscript-7.05/src/Makefile.in Sat Apr 20 00:23:09 2002 ++++ ../ghost/Makefile.in Sun May 12 17:09:07 2002 +@@ -360,7 +360,7 @@ + DEVICE_DEVS3=@FILES@ + DEVICE_DEVS4=@PRINTERS@ + DEVICE_DEVS5= +-DEVICE_DEVS6= ++DEVICE_DEVS6=$(DD)lxm3200.dev + DEVICE_DEVS7= + DEVICE_DEVS8= + DEVICE_DEVS9= +diff -uP --to-file ../ghost/ ghostscript-7.05/src/contrib.mak ../ghost/contrib.mak +--- ghostscript-7.05/src/contrib.mak Fri Feb 22 20:45:55 2002 ++++ ../ghost/contrib.mak Sun May 12 17:10:16 2002 +@@ -652,6 +652,16 @@ + $(GLOBJ)gdevlxm.$(OBJ) : $(GLSRC)gdevlxm.c $(PDEVH) $(gsparams_h) + $(GLCC) $(GLO_)gdevlxm.$(OBJ) $(C_) $(GLSRC)gdevlxm.c + ++### ---------------- Lexmark 3200 device ----------------- ### ++ ++lxm3200_=$(GLOBJ)gdevlx32.$(OBJ) ++ ++$(GLOBJ)gdevlx32.$(OBJ): $(GLSRC)gdevlx32.c $(PDEVH) $(gsparam_h) ++ $(GLCC) $(GLO_)gdevlx32.$(OBJ) $(C_) $(GLSRC)gdevlx32.c ++ ++$(DD)lxm3200.dev: $(lxm3200_) $(DD)page.dev ++ $(SETPDEV) $(DD)lxm3200 $(lxm3200_) ++ + ### ----------------- The Okidata MicroLine 182 device ----------------- ### + ### Note: this driver was contributed by a user: please contact ### + ### Maarten Koning (smeg@bnr.ca) if you have questions. ### diff --git a/app-text/ghostscript/ghostscript-7.05-r2.ebuild b/app-text/ghostscript/ghostscript-7.05-r2.ebuild index 7303bbe8014c..c38202004132 100644 --- a/app-text/ghostscript/ghostscript-7.05-r2.ebuild +++ b/app-text/ghostscript/ghostscript-7.05-r2.ebuild @@ -1,16 +1,13 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05-r2.ebuild,v 1.2 2002/07/05 00:03:31 verwilst Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/ghostscript/ghostscript-7.05-r2.ebuild,v 1.3 2002/07/10 07:11:53 drobbins 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" + http://lxm3200.sourceforge.net/lxm3200-0.4.1-gs5.50-src.tar.gz + cups? ftp://ftp.easysw.com/pub/cups/1.1.15/cups-1.1.15-1-source.tar.bz2" HOMEPAGE="http://www.cs.wisc.edu/~ghost/" DEPEND="virtual/glibc >=media-libs/jpeg-6b |