Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 793404 - gnome-extra/gnome-tweaks-40.0 compiles but does not run in gnome-light-40.0
Summary: gnome-extra/gnome-tweaks-40.0 compiles but does not run in gnome-light-40.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-01 00:54 UTC by Sudrien
Modified: 2021-06-04 03:12 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sudrien 2021-06-01 00:54:56 UTC
Emerged gnome-extra/gnome-tweaks-40.0::gentoo after emerging gnome-base/ -40.0::gentoo

Compile went fine.


> ~ $ gnome-tweaks 
> 
> (gnome-tweaks:7472): GLib-GIO-ERROR **: 20:42:32.921: Settings schema 'org.gnome.tweaks' is not installed
> Trace/breakpoint trap


The fix is to emerge gnome-base/gsettings-desktop-schemas - that is currently listed as an RDEPEND, which apparently portage doesn't actually support automatically installing? https://devmanual.gentoo.org/general-concepts/dependencies/#runtime-dependencies

I assume this means either gnome-tweaks or gnome-light needs a new DEPEND.
Comment 1 Matt Turner gentoo-dev 2021-06-02 02:42:51 UTC
Interesting. What version of gnome-base/gsettings-desktop-schemas do you have?

gnome-tweaks only requires >=gnome-base/gsettings-desktop-schemas-3.33.0 but I suspect that it probably should depend on gnome-base/gsettings-desktop-schemas-40.0.

If you could tell me what version you currently have, and then update gnome-base/gsettings-desktop-schemas to 40.0 and see if it works, that would be very nice.

Thanks!
Comment 2 Sudrien 2021-06-03 00:04:54 UTC
gnome-base/gsettings-desktop-schemas-40.0 was what pulled with the manual install.

Did a reversion...


>>> Installing (1 of 1) gnome-base/gsettings-desktop-schemas-3.38.0::gentoo

.....

sudrien@asrock ~ $ gnome-tweaks 
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/gtweak/app.py", line 51, in do_activate
    self.win = Window(self, model)
  File "/usr/lib/python3.8/site-packages/gtweak/tweakview.py", line 58, in __init__
    self._model.load_tweaks(self)
  File "/usr/lib/python3.8/site-packages/gtweak/tweakmodel.py", line 107, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib/python3.8/site-packages/gtweak/tweaks/tweak_group_font.py", line 113, in <module>
    FontXSettingsTweak(),
  File "/usr/lib/python3.8/site-packages/gtweak/tweaks/tweak_group_font.py", line 41, in __init__
    self.btn_full.set_active(self.settings["font-hinting"] == "full")
  File "/usr/lib/python3.8/site-packages/gi/overrides/Gio.py", line 259, in __getitem__
    raise KeyError('unknown key: %r' % (key,))
KeyError: "unknown key: 'font-hinting'"

So gnome-base/gsettings-desktop-schemas-40.0 is a requirement.
Comment 3 Larry the Git Cow gentoo-dev 2021-06-04 03:12:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=077acb1702696b2407cbcd07f98ec9280bedad86

commit 077acb1702696b2407cbcd07f98ec9280bedad86
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-06-04 02:56:48 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-06-04 03:11:52 +0000

    gnome-extra/gnome-tweaks: Raise gsettings-desktop-schemas dep
    
    Closes: https://bugs.gentoo.org/793404
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 gnome-extra/gnome-tweaks/gnome-tweaks-40.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)