Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21601 - hpijs-1.4 release
Summary: hpijs-1.4 release
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-24 06:16 UTC by fbusse
Modified: 2003-07-16 07:59 UTC (History)
6 users (show)

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


Attachments
hpijs-1.4 patch (hpijs-1.4.diff,1.17 KB, patch)
2003-05-24 06:16 UTC, fbusse
Details | Diff
net-print/hpijs-1.4.1.ebuild (hpijs-1.4.1.ebuild,1.60 KB, application/octet-stream)
2003-06-13 10:33 UTC, Lars S. Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fbusse 2003-05-24 06:16:03 UTC
The new release supports some new printers and has now the needed needed 
.ppd-files "on board", so there is no need to download them from linuxprinting.org. 
There is only one problem: The Makefile tries to delete the old .ppd-files, which of 
course causes an access violation. 
I got the ebuild working with "sed"-away the rm-lines in Makefile, but I don't know if 
that's a really good idea. 
So I'm attaching a not entirely working diff, since you might know a better way to 
handle this problem. 
It only changes the configure-process and removes the unnecessary hint for the 
ppd-file.
Comment 1 fbusse 2003-05-24 06:16:55 UTC
Created attachment 12358 [details, diff]
hpijs-1.4 patch

Doesn't create a working ebuild, you'll get an access violation.
Comment 2 Arno Ekkes 2003-06-05 06:37:31 UTC
In meantime version 1.4.1 is out.
Maybe it is a good idea to remove the files.
It solves the problem of incompatibility betweem the two versions.
And the sandbox can be switched off for those directories.
Comment 3 fbusse 2003-06-05 06:47:10 UTC
And how would you switch off the sandbox-feature just for this 'rm' command in the 
Makefile? 
Comment 4 Arno Ekkes 2003-06-05 11:18:33 UTC
You can give the ebuild rights to delete or modify files in the 'live' filesystem.
The commando 'addwrite' accomplishs that and it can solve sandbox problems.
But it's tricky, because you have to know exactly what you're doing.
I'm rewriting the ebuild to give the ebuild some rights to the 'live' filesystem.
Hopefully I can post it fast here ;-)
Comment 5 Lars S. Jensen 2003-06-13 10:33:12 UTC
Created attachment 13212 [details]
net-print/hpijs-1.4.1.ebuild 

Here is the ebuild for hpijs-1.4.1 including Foomatic support:
foomatic-ppds/*.ppd and foomatic-rip.

Please test it.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2003-06-15 20:49:06 UTC
I am not thrilled about the rm'ing from live filesystem -- I'll prefer to see the Makefile patched
Comment 7 fbusse 2003-06-15 23:36:45 UTC
Lars' ebuild doesn't modify the live-filesystem, does it. 
Although I'm not happy that you have still to download the PPD from 
linuxprinting.org, hpijs already has all the necessary files bundled. 
Would be nice if we could make use of that. 
Comment 8 Lars S. Jensen 2003-06-17 11:05:34 UTC
Here is  a bit more information:

The hpijs-1.4.1.ebuild installs all the related Foomatic file that is bundle with hpijs-1.4.1.tar.gz --- 240 PPD files and foomatic-rip 
--- no need for net-print/foomatic

It disable the Cups related rm/ln-s (--disable-cups-install) and leave the symbolic linking to Portage via dosym and mkdir. 

It still includes Makefile hacking to support the sandbox from before I disabled cups in configure:-).
  
I print on a HP6122 via Cups/hpijs without the net-print/foomatic install.

from emerge hpijs:

>>> Merging net-print/hpijs-1.4.1 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/hpijs
>>> /usr/bin/foomatic-rip
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/hpijs-1.4.1/
>>> /usr/share/doc/hpijs-1.4.1/hpijs_readme.html
>>> /usr/share/doc/hpijs-1.4.1/gs_hpijs.png
--- /usr/share/ppd/
--- /usr/share/ppd/HP/
>>> /usr/share/ppd/HP/HP-2500C-hpijs.ppd.gz
    ... 238 more ppd files
--- /usr/share/cups/model/
>>> /usr/share/cups/model/foomatic-ppds -> /usr/share/ppd
--- /usr/lib/
--- /usr/lib/cups/
--- /usr/lib/cups/filter/
>>> /usr/lib/cups/filter/foomatic-rip -> /usr/bin/foomatic-rip


 
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2003-06-24 11:14:43 UTC
If the initscript is still perl could we provide a runscript.sh wrapper for it ? The perl script does not deal well with the gentoo initsystem (e.g. dependencies with it don't work).A simple wrapper that maps start, stop and status to the relevant functions in the perl script.
Comment 10 fbusse 2003-06-24 22:33:45 UTC
Why would you want a runscript for a printer-driver? 
Comment 11 Marius Mauch (RETIRED) gentoo-dev 2003-06-24 23:55:35 UTC
Sorry, I confused it with hpoj.
Comment 12 Heinrich Wendel (RETIRED) gentoo-dev 2003-06-29 00:40:13 UTC
will be in portage very soon :) 
Comment 13 James Cloos 2003-07-15 00:07:55 UTC
Just test-installed Lars' ebuild (attachment id 13212).

Everything looks good here.
Comment 14 Heinrich Wendel (RETIRED) gentoo-dev 2003-07-16 07:59:40 UTC
thx, in portage with some little changes