GNOME Bugzilla – Bug 84166
pango-querymodules doesn't respect DESTDIR
Last modified: 2004-12-22 21:47:04 UTC
In the modules directory, the install-data-local hook calls pango-querymodules to generate a pango.modules file. It does installs the generated file correctly in DESTDIR but it should also parse the modules installed in DESTDIR and remove the DESTDIR part from the generated file. I guess the cleanest way to fix this is to hack pango-querymodules so that it looks for a DESTDIR environment variable or (even better) takes an optional command-line parameter that allows to specify DESTDIR (for example --destdir=<DIR>).
Note that it's not particularly _useful_ to support DESTDIR in this context; if you are packaging pango, pango-querymodules should be rerun at package installation time.
So this bug can be considered as packaging issue, and the report can be closed?
Well, it might be nice to fix for the sake of elegance, or if someone is using DESTDIR for something other than package creation.
Example Carl Worth mentioned to me recently was "stow" - http://www.gnu.org/software/stow/ - though that has some compat problems with libtool's handling of DESTDIR as well. But actually, this gets fixed by the rewrite of pango.modules handling planned for bug 129534. *** This bug has been marked as a duplicate of 129534 ***