GNOME Bugzilla – Bug 568351
gimptool-2.0 does not respect DESTDIR
Last modified: 2009-01-21 21:38:12 UTC
Please describe the problem: When using gimptool-2.0 to install some plugin, the DESTDIR env var ist not respected as mentioned in the man pages. Steps to reproduce: 1. Get some plugin (http://people.via.ecp.fr/~remi/soft/gimp/gimp_plugin_en.php3) 2. make 3. DESTDIR=/foo/baz make install Actual results: The plugin get's installed into the users gimp plugin folder. _Not_ under /foo/baz Expected results: The plugin is installed into /foo/baz Does this happen every time? Yes Other information: Seems to be a regression. When looking at current trunk, it's clear that destdir is not handled correctly. Sadly I can not provide a patch. (tools/gimptool.c, L. 447 and some jumping around). Mostly the dest_dir param is set NULL.
gimptool is meant to be a convenience tool for the user to install simple plug-ins that are distributed as a single .c file. Use of gimptool in Makefiles is strongly discouraged. There's pkg-config for this purpose. Please fix the plug-in instead.