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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 30 04:19:00 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240154

--- Comment #3 from Ting-Wei Lan <lantw44 at gmail.com> ---
(In reply to Christoph Moench-Tegeder from comment #2)
I meant downstream. The inconsistency comes from a downstream patch.

In configure.ac, the plugin directory is defined as:
gimpplugindir="$libdir/$PACKAGE/gimp_plugin_version"

In tools/gimptool.c, the file you modified, defines it as:
dir = g_build_path (..., LIBDIR, "gimp", GIMP_PLUGIN_VERSION, ..., NULL);

They should be the same. It is files/patch-configure in the port changing the
the definition in configure.ac that causes the problem.
-gimpplugindir="$libdir/$PACKAGE/2.0"
+gimpplugindir="$libexecdir/$PACKAGE/2.2"

I have an installation of GIMP under my home directory for testing, and the two
commands you mentioned did return consistent results.

$ gimptool-2.99 --gimpplugindir
/home/lantw44/gnome/devinstall/lib/gimp/2.99

$ gimptool-2.99 --dry-run --install-admin-bin foo
cp 'foo' '/home/lantw44/gnome/devinstall/lib/gimp/2.99/plug-ins'

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list