Hi,
On Tue, Jul 05, 2011 at 07:01:27PM -0600, Antoine Jacoutot wrote:
> Modified files:
> print/cups : Makefile
>
> Log message:
> Remove outdated comment.
Well, but ghostscript still does dlopen("libcupsimage.so.4", 0).
Probably some miscommunication on my side; what happened during the
update to ghostscript-9.02 was this:
The old pstoraster shell script, which invoked ghostscript with
-sDEVICE=cups, had been replaced by a new program `gstoraster',
written in C and linked against libcups and/or libcupsimaga, which
still invoked ghostscript with -sDEVICE=cups. I didn't want to do
the same dlopen(3) hack I did back during p2k8 for gsdevcups.c (the
cups driver built into ghostscript), so the idea of a subpackage
for gstoraster came up. While working on this, I found the gstoraster
perl script in the cupsaddons project, which is now in the ports
tree (print/gstoraster).
Ciao,
Kili
ps: I really have to think about a better solution. For example,
there's already libgs.so, and it should be possible to write a
simple `gscups' program that includes the gsdevcups driver, links
against libgs.so and hooks up the driver to ghostscripts driver
list. But I can't do this without having some Trofea food first,
so it'll have to wait until p2k11 ;-)