version bump
authorHeinrich Wendel <lanius@gentoo.org>
Mon, 20 Dec 2004 21:19:53 +0000 (21:19 +0000)
committerHeinrich Wendel <lanius@gentoo.org>
Mon, 20 Dec 2004 21:19:53 +0000 (21:19 +0000)
net-print/hpijs/ChangeLog
net-print/hpijs/Manifest
net-print/hpijs/files/digest-hpijs-1.7.1 [new file with mode: 0644]
net-print/hpijs/hpijs-1.7.1.ebuild [new file with mode: 0644]

index 5947eac00c2cd9651927ebd289b7598f6825b06d..cf86a25665d8b340a40e603c8a5e70c888f85de7 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-print/hpijs
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/hpijs/ChangeLog,v 1.32 2004/09/04 01:49:03 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/hpijs/ChangeLog,v 1.33 2004/12/20 21:19:52 lanius Exp $
+
+*hpijs-1.7.1 (20 Dec 2004)
+
+  20 Dec 2004; Heinrich Wendel <lanius@gentoo.org> +hpijs-1.7.1.ebuild:
+  version bump
 
   04 Sep 2004; Bryan Ã˜stergaard <kloeri@gentoo.org> hpijs-1.5.ebuild:
   Stable on alpha.
index e5a289558ee4065147d1889de6be80e1853f7931..ae221c69565687e44c88da89de10f2736a0a10e7 100644 (file)
@@ -1,10 +1,12 @@
-MD5 2b0e76e6dc407349f47b427877bace29 ChangeLog 3394
-MD5 3b917cf4ef8f616597347e806ce8c5e2 hpijs-1.4.1.ebuild 2006
+MD5 0e2ce5308132d817f9e5e5597e101927 hpijs-1.7.1.ebuild 2037
 MD5 29c3dda867492a08ea041bbc009fbece hpijs-1.5.ebuild 2072
+MD5 3b917cf4ef8f616597347e806ce8c5e2 hpijs-1.4.1.ebuild 2006
 MD5 f2a2f0a49bc4793ab7d451a35fa3eb21 hpijs-1.6.1.ebuild 2110
+MD5 9c500e2cb8743195f91eb8d04fe3adf1 ChangeLog 3510
 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
-MD5 9eb7c84d396d9a290a23086489dc1a2c files/digest-hpijs-1.4.1 137
-MD5 4a45d7f2afffa6ae0b5a8c27d7608ddc files/digest-hpijs-1.5 143
-MD5 58fac4387f6a0b15374d24019eac6816 files/digest-hpijs-1.6.1 63
 MD5 153b11771cdc5889cbe726925c862292 files/hpijs-1.4.1-rss.1.patch 6182
 MD5 f332f0c4b395ed9a2c8d89cf38787447 files/hpijs-1.5-gcc34.patch 1482
+MD5 9eb7c84d396d9a290a23086489dc1a2c files/digest-hpijs-1.4.1 137
+MD5 58fac4387f6a0b15374d24019eac6816 files/digest-hpijs-1.6.1 63
+MD5 001779aa38e92ba16c9ee47f6c0051d9 files/digest-hpijs-1.7.1 144
+MD5 4a45d7f2afffa6ae0b5a8c27d7608ddc files/digest-hpijs-1.5 143
diff --git a/net-print/hpijs/files/digest-hpijs-1.7.1 b/net-print/hpijs/files/digest-hpijs-1.7.1
new file mode 100644 (file)
index 0000000..863da82
--- /dev/null
@@ -0,0 +1,2 @@
+MD5 cba40858e27204db0211c559bd606aaa hpijs-1.7.1.tar.gz 845193
+MD5 08810fcea2e65afd4f2ca90d8dc1ee25 foomatic-db-hpijs-1.5-20041220.tar.gz 86491
diff --git a/net-print/hpijs/hpijs-1.7.1.ebuild b/net-print/hpijs/hpijs-1.7.1.ebuild
new file mode 100644 (file)
index 0000000..518ef1d
--- /dev/null
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/hpijs/hpijs-1.7.1.ebuild,v 1.1 2004/12/20 21:19:53 lanius Exp $
+
+inherit eutils gnuconfig
+
+DB_V=1.5-20041220
+DESCRIPTION="The HP Inkjet server for Ghostscript. Provides best output for HP Inkjet Printers and some LaserJets"
+HOMEPAGE="http://hpinkjet.sourceforge.net/"
+SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz
+       http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-${DB_V}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~alpha ~sparc ~hppa ~amd64"
+IUSE="cups foomaticdb ppds"
+
+DEPEND="virtual/ghostscript
+       cups? ( net-print/cups )
+       net-print/foomatic-filters
+       foomaticdb? ( net-print/foomatic-db-engine )"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+       gnuconfig_update
+       epatch ${FILESDIR}/hpijs-1.4.1-rss.1.patch
+}
+
+src_compile () {
+       econf --disable-cups-install \
+               --disable-foomatic-install || die "econf failed"
+
+       sed -i -e 's|/usr/share/cups|${prefix}/share/cups|g' \
+               -e 's|/usr/lib/cups|${prefix}/lib/cups|g' Makefile \
+               || die "sed failed"
+
+       make || die "make failed"
+
+       if use foomaticdb ; then
+               cd ${WORKDIR}/foomatic-db-hpijs-${DB_V}
+               econf || die "econf failed"
+               rm -fR data-generators/hpijs-rss
+               make || die
+       fi
+}
+
+src_install() {
+       einstall || die
+
+       if use cups && use ppds ; then
+               dodir /usr/share/cups/model
+               dosym /usr/share/ppd /usr/share/cups/model/foomatic-ppds
+       fi
+
+       if ! use ppds; then
+               rm -fR ${D}/usr/share/ppd
+       fi
+
+       if use foomaticdb ; then
+               cd ../foomatic-db-hpijs-${DB_V}
+               make DESTDIR=${D} install || die
+       fi
+}
+
+pkg_postinst() {
+       einfo "To use the hpijs driver with the PDQ spooler you will need the PDQ"
+       einfo "driver file for your printer from"
+       einfo "http://www.linuxprinting.org/show_driver.cgi?driver=hpijs"
+       einfo "This file should be installed in /etc/pdq/drivers"
+       einfo
+       einfo "The hpijs ebuild no longer creates the ppds automatically, please use"
+       einfo "foomatic to do so or remerge hpijs with the ppds use flag."
+}