Bug 691905 - Output device selection clean-up of SVN rev 12025 broken: X drivers get built in also if dynamically linked X driver (--enable-dynamic) is selected
Summary: Output device selection clean-up of SVN rev 12025 broken: X drivers get built...
Status: RESOLVED FIXED
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: master
Hardware: PC Linux
: P4 major
Assignee: Chris Liddell (chrisl)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-24 10:20 UTC by Till Kamppeter
Modified: 2011-01-24 14:57 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Till Kamppeter 2011-01-24 10:20:47 UTC
After the clean-up of the output device selection in rev 12025 the following happens:

I run "./configure" with "--enable-dynamic" for the packaging of Ghostscript for Ubuntu, so that the X drivers get into a separate dynamically linkable module (X11.so). This way the core Ghostscript is independent of X and so on headless print servers Ghostscript does not cause the installation of unneeded X libraries due to package dependencies. On desktop machines the X11.so is simply installed as an additional package.

This worked all perfectly before rev 12025. Now the X11.so gets also built, but the libgs.so.9.01 contains the X drivers in addition, making it dependent on the X libraries and also listing all X drivers twice in "gs -h".

In the Ubuntu package I have worked around this by running

make DEVICE_DEVS='$(DD)bbox.dev' so

to override the wrong insertion of the X devices. The problem is that if "--enable-dynamic" is set the ./configure substitution variable "@X11_DEVS@" does not get cleared (inserted in the "DEVICE_DEVS=$(DISPLAY_DEV) @X11_DEVS@" line of Makefile.in).

Can this get fixed for GS 9.01? Thanks.
Comment 1 Chris Liddell (chrisl) 2011-01-24 14:57:06 UTC
fixed in r12049.