FS#78077 - [gnome-control-center] Missing dependency: gnome-shell

Attached to Project: Arch Linux
Opened by Balló György (City-busz) - Friday, 31 March 2023, 16:28 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Fabian Bornschein (fabis_cafe)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Without mutter and gnome-shell installed, gnome-control-center crashes when the user clicks on the multitasking panel, because it tries to read some settings from unavailable schemas:

$ gnome-control-center
(gnome-control-center:24552): GLib-GIO-ERROR **: 18:12:01.460: Settings schema 'org.gnome.mutter' is not installed
Trace/breakpoint trap (core dumped)

$ gnome-control-center
(gnome-control-center:24715): GLib-GIO-ERROR **: 18:13:55.068: Settings schema 'org.gnome.shell.app-switcher' is not installed
Trace/breakpoint trap (core dumped)

This is a problem if someone use gnome-control-center outside of GNOME Shell (e.g. in GNOME Flashback), so please add gnome-shell to dependencies to avoid this crash.

Reference:
https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/main/panels/multitasking/cc-multitasking-panel.c
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:18 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/gnome-control-center/i ssues/1
Comment by Jan Alexander Steffens (heftig) - Tuesday, 03 October 2023, 21:37 GMT
I had to revert this for GNOME 45 because a build dependency cycle between gnome-shell and gnome-control-center made building gnome-shell with a new mutter impossible.
Comment by Balló György (City-busz) - Saturday, 07 October 2023, 12:56 GMT
You can add gnome-shell to the depends+=() array inside of the package() function, so it won't be installed during build.
Comment by Jan Alexander Steffens (heftig) - Saturday, 07 October 2023, 23:53 GMT
That doesn't help because it's gnome-shell that fails to build, not gnome-control-center.

And gnome-shell needs gnome-control-center to check() successfully, so it needs to be installed during build.
Comment by Balló György (City-busz) - Sunday, 08 October 2023, 01:11 GMT

Loading...