After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568351 - gimptool-2.0 does not respect DESTDIR
gimptool-2.0 does not respect DESTDIR
Status: RESOLVED WONTFIX
Product: GIMP
Classification: Other
Component: Tools
2.6.4
Other All
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2009-01-19 21:43 UTC by Fabian Deutsch
Modified: 2009-01-21 21:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabian Deutsch 2009-01-19 21:43:48 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.
Comment 1 Sven Neumann 2009-01-21 21:38:12 UTC
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.