Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 652584

Summary: gnome-base/gnome-shell: Broken gnome-shell-perf-tool from multiple python support
Product: Gentoo Linux Reporter: Mart Raudsepp <leio>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: normal CC: yaroslav.isakov
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mart Raudsepp gentoo-dev 2018-04-05 11:42:35 UTC
Our multiple python support moves the gnome-shell-perf-tool script to /usr/lib/python-exec/python3.*/ (multiple if multiple pythons supported) and /usr/bin/gnome-shell-perf-tool is the python-exec-c wrapper.
However gnome-shell-perf-tool executes gnome-shell itself, from the directory gnome-shell-perf-tool itself is in. Because this isn't /usr/bin/ in our case, it fails to work at all.

We should fix that, and maybe consider using python-single instead (maybe that in itself solves it as a side-effect by keeping gnome-shell-perf-tool itself in /usr/bin), as neither gnome-shell-perf-tool nor gnome-shell-extension-tool seem to be anything that ships modules, to actually need to be with multiple python support. They are just a perf-tool script and an extensions configuration dialog written in python.
Comment 1 Mart Raudsepp gentoo-dev 2018-04-05 12:04:33 UTC
actually gnome-shell-extension-tool is for command line enable/disable/reload/create of extensions; must have checked the wrong tab completion or something. At any rate, that one works, at least the disable/enable/reload part (including with python3.6 that I tested for 3.6. But no reason for that to be multi-python either.
Probably not going to bother with python-single for 3.24, but on some 3.26 or 3.28 bump; might have to deal with meson conversion too then (though I believe 3.26 is still autotools)
Comment 2 Pacho Ramos gentoo-dev 2018-04-05 21:50:30 UTC
It's broken for a long time :(

*** This bug has been marked as a duplicate of bug 553966 ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-04-11 08:28:12 UTC
*** Bug 652946 has been marked as a duplicate of this bug. ***