Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411253 - net-im/gajim-0.15 plugin installer is installed to wrong directory
Summary: net-im/gajim-0.15 plugin installer is installed to wrong directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-08 10:35 UTC by Mira Ressel
Modified: 2012-04-23 19:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
proposed patch for gajim's configure script (0.15-plugins-dir.patch,432 bytes, patch)
2012-04-08 10:37 UTC, Mira Ressel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mira Ressel 2012-04-08 10:35:44 UTC
Since 0.15, gajim has an inbuilt plugin system.
The Gentoo ebuild passes --enable-site-packages to the configure script. That results in gajim's python scripts being installed to /usr/lib64/python2.?/site-packages/gajim instead of /usr/share/gajim/src. That's perfectly fine.
But this argument also installs the plugins contained in the gajim tarball (it's just one plugin atm, the "plugin installer", but it's important as it's the only way to fetch plugins from inside gajim) to /usr/lib64/python2.?/site-packages/gajim instead of /usr/share/gajim/plugins.
This leads to the plugin not being found, as gajim still searches for it in /usr/share/gajim/plugins.
This issue was already reported to upstream and should be fixed in the next release. But until then, we can simply patch the configure script with the attached patch.

Reproducible: Always
Comment 1 Mira Ressel 2012-04-08 10:37:22 UTC
Created attachment 308195 [details, diff]
proposed patch for gajim's configure script
Comment 2 Mira Ressel 2012-04-08 10:40:56 UTC
Fix by upstream: https://trac.gajim.org/changeset/2aaa268a776f8bf0e90bcaa13da82b59b390a6de

They fix it in configure.ac instead of configure, but for us it's easier to patch configure directly.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-04-23 19:50:06 UTC
+*gajim-0.15-r1 (23 Apr 2012)
+
+  23 Apr 2012; Justin Lecher <jlec@gentoo.org> +gajim-0.15-r1.ebuild,
+  +files/gajim-0.15-plugin.patch:
+  Backport upstream commit 13748 to fix plugin dir location, #411253
+