Updated to apply RSS Patch from LinuxPrinting.org: # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/net-print/hpijs/hpijs-1.2.2.ebuild,v 1.1 2002/10/02 12:48:08 woodchip Exp $ # Though this program runs on it's own it makes no sense to run it without ghostscript S=${WORKDIR}/${P} DESCRIPTION="The HP Inkjet server for Ghostscript. Provides best output for HP Inkjet Printers" HOMEPAGE="http://hpinkjet.sourceforge.net" KEYWORDS="x86 ppc" SRC_URI="mirror://sourceforge/hpinkjet/${P}.tar.gz http://www.linuxprinting.org/download/printing/hpijs/${P}-rss.1.patch" DEPEND="virtual/glibc" RDEPEND="${DEPEND} app-text/ghostscript" LICENSE="as-is" SLOT="0" src_unpack() { unpack ${P}.tar.gz cd ${S} cat ${DISTDIR}/${P}-rss.1.patch | patch -p1 || die "patch file: ${P}-rss.1.patch failed" } src_compile () { econf --host=${CHOST} || die "bad ./configure" make || die "compile problem" } src_install () { einstall || die # fix the doc dir, it needs to have the package revision.. mv ${D}/usr/share/doc/${P} ${D}/usr/share/doc/${PF} } pkg_postinst () { if [ "`use cups`" ] ; then einfo "To use the hpijs driver with the cups spooler, you will need the .ppd file" einfo "for your printer. You may obtain it from:" einfo "http://www.linuxprinting.org/show_driver.cgi?driver=hpijs-rss" einfo "Install it in /usr/share/cups/model. After restarting cups you should be" einfo "able to use the new driver" else einfo "To use the hpijs driver with the PDQ spooler you will need the PDQ driver file" einfo "for your printer from http://www.linuxprinting.org/show_driver.cgi?driver=hpijs-rss" einfo "This file should be installed in /etc/pdq/drivers" fi }
root@MQP net # emerge -s hpijs Searching... [ Results for search key : hpijs ] [ Applications found : 1 ] * net-print/hpijs Latest version available: 1.2.2 Latest version installed: [ Not Installed ] Homepage: http://hpinkjet.sourceforge.net Description: The HP Inkjet server for Ghostscript. Provides best output for HP Inkjet Printers
Created attachment 4377 [details] Ebuild for Patch HPIJS This contains a ebuild to install a patched hpijs server. The patch is provided by Richard Spencer-Smith (richardss at users dot sourceforge dot net), and can be found at LinuxPrinting.org The patch is provided by The patch provides extended functionality for the DJ6xx, DJ8xx, DJ9xx series of printers. - Changed color modes to use the black cartridge for black text when printing in color (for DJ6xx, DJ8xx, DJ9xx). - Added Presentation Mode (600x600dpi, plain paper) for DJ9xx series. - Added HiRes Photo Mode (1200x1200dpi, photo paper) for DJ9xx series.
Provided ebuild as an attachment. Changed name to hpijs-rss-1.2.2.ebuild. Provides higher print resolutions(1200x1200) for the HP9XX series of printers, instead of 600x600 max with normal HPIJS
nice patch, ill look at it after the freeze ;)
added in hpijs-1.2.2-r1