maintainer-feedback requested: [Bug 240154] graphics/gimp-app: gimptool installs plugins into wrong directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 27 20:12:15 UTC 2019


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-gnome mailing list
<gnome at FreeBSD.org> for maintainer-feedback:
Bug 240154: graphics/gimp-app: gimptool installs plugins into wrong directory
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240154



--- Description ---
The Gimp plugin directory has been set to /usr/local/libexec/gimp/2.2 by means
of the patched configure script.
When querying the plugin directory via gimptool-2.0:

: cmt at elch:/tmp$ /usr/local/bin/gimptool-2.0 --gimpplugindir		       

: /usr/local/libexec/gimp/2.2

But when using gimptool to actually install a plugin:

: cmt at elch:/tmp$ /usr/local/bin/gimptool-2.0 --dry-run --install-admin-bin foo
: cp 'foo' '/usr/local/lib/gimp/2.0/plug-ins'

Note the difference in target directories. When looking at gimp's
tools/gimptool.c, it's obvious that get_sys_plugin_dir() does not use
GIMPPLUGINDIR but constructs the plugin directory name from scratch.

Attached patch (to be dropped into files/) fixes that. Obviously, PORTREVISION
needs to be increased when applying.
A quick grep through the ports tree suggests that currently no port had been
using "gimptool --install...", so any chasing of gimp plugins should be
unneccessary.


More information about the freebsd-gnome mailing list