Summary: | app-editors/gedit-3.12.2 - build system incorrectly determines pyexecdir | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506276 | ||
Attachments: | config.log |
Description
Alexander Tsoy
2014-09-29 12:40:23 UTC
Yes, this is a result of gedit relying on the standard AM_PATH_PYTHON macro that comes with autoconf and doesn't understand Gentoo's filesystem layout. Another issue is that gedit claims to allow multiple python targets, but the build system clearly only supports one. So to fix this properly, we probably have to give the gedit ebuild the same treatment as libxml2/libxslt. On second thought, since gedit loads its plugins from an un-versioned directory with no possibility of compiling for multiple python ABIs, it probably needs to use python-single-r1 eclass. After looking at this further, it seems that multiple python targets should be OK, since in python3, the .pyc/.pyo files are versioned. +*gedit-3.12.2-r1 (29 Sep 2014) + + 29 Sep 2014; Alexandre Rostovtsev <tetromino@gentoo.org> + -gedit-3.12.1.ebuild, +gedit-3.12.2-r1.ebuild: + Really allow multiple python targets for python plugins and install gi + overrides in the right place (bug #524018, thanks to Alexander Tsoy). Drop + old. @Alexandre (tetromino), Michal and I did various fixes to libpeas and gedit. We found out that libpeas has only 2 python plugin loaders: one for py2 and one for py3. So Gedit (which only requests the py3 loader) only supports one python3 version. Furthermore, Gedit's GI data is in a private directory, so the python bindings cannot work outside of a proper Gedit plugin. (just a quick heads up if you ever look at gedit-3.14 and see that the ebuild doesn't look like the one you wrote :) ) Cheers |