Date: Tue, 27 Aug 2019 20:12:15 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 240154] graphics/gimp-app: gimptool installs plugins into wrong directory Message-ID: <bug-240154-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240154 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@FreeBSD.org Reporter: cmt@freebsd.org Assignee: gnome@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Created attachment 206961 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D206961&action= =3Dedit 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 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=20=20=20=20=20= =20=20=20=20=20=20=20=20=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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240154-6497>