[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:16 UTC 2019


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

            Bug ID: 240154
           Summary: graphics/gimp-app: gimptool installs plugins into
                    wrong directory
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch, patch-ready
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome at FreeBSD.org
          Reporter: cmt at freebsd.org
          Assignee: gnome at FreeBSD.org
             Flags: maintainer-feedback?(gnome at FreeBSD.org)

Created attachment 206961
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=206961&action=edit
fixes gimptool to install plugins into the actual plugin-directory

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.

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


More information about the freebsd-gnome mailing list