Bug 691905

Summary: 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
Product: Ghostscript Reporter: Till Kamppeter <till.kamppeter>
Component: Build ProcessAssignee: Chris Liddell (chrisl) <chris.liddell>
Status: RESOLVED FIXED    
Severity: major    
Priority: P4    
Version: master   
Hardware: PC   
OS: Linux   
Customer: Word Size: ---

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.