Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163897 - CUPS >= 1.2.6 pstoraster disabled
Summary: CUPS >= 1.2.6 pstoraster disabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-26 13:41 UTC by djinnZ
Modified: 2007-04-07 12:41 UTC (History)
0 users

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


Attachments
patch for /etc/cups/mime.convs (gpl.patch,167 bytes, text/plain)
2007-01-26 13:42 UTC, djinnZ
Details
patch for cups-1.2.6.ebuild (ebuild.patch,114 bytes, text/plain)
2007-01-26 13:43 UTC, djinnZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description djinnZ 2007-01-26 13:41:06 UTC
I new release of ghostscript-esp is included the pstoraster support and the relative line in /etc/cups/mime.convs is commented.
So cups with ghostscript-esp work better but not work properly with gnu or gpl ghostscript installed.
The patches are just an explanation sample, I not have time to do better for now, it apply to cups 1.2.6.
Comment 1 djinnZ 2007-01-26 13:42:31 UTC
Created attachment 108187 [details]
patch for /etc/cups/mime.convs
Comment 2 djinnZ 2007-01-26 13:43:56 UTC
Created attachment 108189 [details]
patch for cups-1.2.6.ebuild
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2007-02-19 20:54:54 UTC
seems this is already done in 1.2.8. Or is this needed uncommented for -gpl and -gnu? Have some source for further reading?
Comment 4 djinnZ 2007-02-23 12:34:10 UTC
As you can see in esp-ghostscript changes the pstoraster filter (needed to proper communicate with gimp print by example) is included in the program to improve performance. So the invocation of pstoraster has been disabled in the configuration of cups, this remove the ability of printing on some drivers without esp-ghostscript installed.
GPL-ghostscript and GNU-ghostscript need to use the separate filter.

So to make GPL and GNU work in cups with gimp-print and raster driver we have two possibile solution:
Add esp-ghostscript in dependance needed by gimp print and other non postscript raw driver;
or modify the configuration file (by uncomment the proper line in mime.convs) in case are installed -GPL or -GNU and not -esp.
For me the second solution is better and have more respect of the open source's goals.
Another solution is to uncomment everytime, all works fine, the line but in this case the performance benefit of the integration for esp users will be lost.
In the formum are many message that reports problems to printing with -GPL installed and the solution proposed is to often only a "remove GPL and emerge esp".

For the 1.2.8 seems the cups project has understand that leave the default only to work with own esp-ghostscript is wrong I think.
But can be tested how much comment the line will improve the performance.

I not have any other source for reading because this is a my deduction.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2007-04-07 12:41:00 UTC
thanks, fixed in portage.