Red Hat Bugzilla – Bug 62587
Invalid IJS and HPIJS support
Last modified: 2007-04-18 12:41:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)
Description of problem:
The Skipjack beta uses the wrong IJS client (gdevijs.c) with Ghostscript 6.53.
You are using a temporary IJS client that came with hpijs 1.0.2 until
Ghostscript 6.53 came out. Ghostscript 6.53 comes with it's own IJS client.
You also need to upgrade to hpijs 1.0.4. Hpijs 1.0.4 is compatible with
Ghostscript 6.53 and matches the foomatic data being used by printconf-gui.
Hpijs 1.0.2 will not work with the foomatic data.
I have a updated ghostscript.spec which supports hpijs 1.0.4. The spec file
creates ghostscript-6.53-5.i386.rpm which I have tested with your printconf-gui
Let me know if you have any questions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. printconf-gui with hpijs
I built this earlier today as ghostscript-6.53-7. Thanks for the report (and
your earlier mail).
Actually we will probably back off to ghostscript-6.52, so we will probably also
stick with hpijs-1.0.2 for the moment.
Hpijs 1.0.2 will not match the foomatic-1.1-0.20020313.1 database. Hpijs 1.0.4
will. Also, I thought ghostscript-6.53 fixes some security issues.
Regarding 6.53 and security issues: these are the PARANOIDSAFER changes which we
already apply as a patch.
And the foomatic database: you're right; I only checked that our database didn't
have 1.0.4 (looking in the ChangeLog). It looks like 2002-02-20 is when 1.0.3
data went in, so I'll look at backporting any fixes there have been since then
into the foomatic data from that date.
Created attachment 52133 [details]
Seems like this patch should do it.
Your foomatic-1.1-hpijs-1.0.2.patch does not correct all the differences between
hpijs 1.0.2 and hpijs 1.0.3. The hpijs-Quality.xml file is wrong too.
But, I am not getting the big picture here. Is there a problem supporting hpijs
1.0.4? Hpijs 1.0.4 fixes many hpijs 1.0.2 bugs. If you want to use gs6.52, it
would be easier to just patch the gs6.53 IJS client (gdevijs.c) into gs6.52 and
then you can use hpijs 1.0.4.
Hpijs 1.0.4 is compatible with the foomatic-1.1-0.20020313.1 database.
I tried but couldn't get it building. I am not familiar enough with ghostscript
yet. I am trying for minimal changes at this point.
Created attachment 52164 [details]
Here is attempt 2 at that patch.