Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8664 - [UPDATE] HPIJS 1.2.2-r1 ebuild (add additional support)
Summary: [UPDATE] HPIJS 1.2.2-r1 ebuild (add additional support)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-02 19:13 UTC by Aduanne Carter
Modified: 2002-10-25 08:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for Patch HPIJS (hpijs-rss-1.2.2.ebuild,1.83 KB, text/plain)
2002-10-03 09:00 UTC, Aduanne Carter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aduanne Carter 2002-10-02 19:13:48 UTC
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 
}
Comment 1 SpanKY gentoo-dev 2002-10-02 20:48:02 UTC
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
Comment 2 Aduanne Carter 2002-10-03 09:00:50 UTC
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.
Comment 3 Aduanne Carter 2002-10-03 09:04:32 UTC
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 
Comment 4 SpanKY gentoo-dev 2002-10-03 10:18:57 UTC
nice patch, ill look at it after the freeze ;) 
Comment 5 Donny Davies (RETIRED) gentoo-dev 2002-10-25 08:40:44 UTC
added in hpijs-1.2.2-r1