Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Aug 2019 04:18:59 +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-XorvJzLrly@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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240154

--- Comment #3 from Ting-Wei Lan <lantw44@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=3D"$libdir/$PACKAGE/gimp_plugin_version"

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

They should be the same. It is files/patch-configure in the port changing t=
he
the definition in configure.ac that causes the problem.
-gimpplugindir=3D"$libdir/$PACKAGE/2.0"
+gimpplugindir=3D"$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'

--=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-XorvJzLrly>