Summary: | postscript library files shouldn't be installed with COMPILE_INITS=1 | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Ralph Giles <ralph.giles> |
Component: | Config/Install | Assignee: | Default assignee <ghostpdl-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | till.kamppeter |
Priority: | P4 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Bug Depends on: | 691449 | ||
Bug Blocks: | |||
Attachments: | not to install Resources/* and iccprofiles/* if compile-inits=1 |
Description
Ralph Giles
2007-05-29 20:43:22 UTC
Grabbing a Ralph's bugs. One way of implementing this is to test for the creation of the generation and existence of gsromfs1.c or romfs1.dev (a direct consequence of setting COMPILE_INIT=1) . Created attachment 6457 [details]
not to install Resources/* and iccprofiles/* if compile-inits=1
Patch to not install Resources/* and iccprofiles/* if COMPILE_INITS=1 . This patch works similarly to SHARE_JPEG=0/1 , SHARE_LIBTIFF=0/1 , SHARE_LIBPNG=0/1
where the graphic library depends on one target e.g. "target$SHARE_JPEG" but target0 and target1 are defined which does different things.
In this case, COMPILE_INITS=1 does nothing (not to copy files).
Since Ralph wrote, lib has splitted into "lib" and "Resources" . "lib" is optional functional and still needed regardless of COMPILE_INITS, so this part does not touch the "install-libdata" target.
This patch can be (and was) tested with
./configure --with-/--without-compile-inits --prefix=/tmp/gsinst ; make -k install
and just look at what files are copied.
Since romfs is now built with the content of Resources/* and iccprofiles/*, this patch to optionally _not_ install iccprofiles with compile-init=1 depends on the patch for bug 691449 for installing iccprofiles. Reassign back to support for review and commit. Committed Hin-Tak's most recent patch as rev. 11580. |