Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2019 20:12:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 240154] graphics/gimp-app: gimptool installs plugins into wrong directory
Message-ID:  <bug-240154-6497-hVZaI0TcZA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240154-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-240154-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome mailing =
list
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 240154: graphics/gimp-app: gimptool installs plugins into wrong directo=
ry
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240154



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

: cmt@elch:/tmp$ /usr/local/bin/gimptool-2.0 --gimpplugindir=09=09=20=20=20=
=20=20=20=20

: /usr/local/libexec/gimp/2.2

But when using gimptool to actually install a plugin:

: cmt@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, PORTREVIS=
ION
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240154-6497-hVZaI0TcZA>