FS#74434 - [gnome-shell] Make gnome-disk-utility dependency optional

Attached to Project: Arch Linux
Opened by Daniel (itsamaniel) - Sunday, 10 April 2022, 13:20 GMT
Last edited by Jan Alexander Steffens (heftig) - Friday, 03 February 2023, 18:07 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Currently, `gnome-shell` depends on `gnome-disk-utility` because of this issue: https://bugs.archlinux.org/task/66513.
I suggest that `gnome-disk-utility` becomes an optional dependency for `gnome-shell`, as not everyone needs the functionality from the issue.
Other distributions (e.g. Fedora) also allow to remove `gnome-disk-utility` itself.
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Friday, 03 February 2023, 18:07 GMT
Reason for closing:  Fixed
Additional comments about closing:  gnome-shell 1:43.2-3
Comment by Jan Alexander Steffens (heftig) - Wednesday, 27 April 2022, 21:52 GMT
 FS#66513  says Nautilus freezes when gnome-disk-utility is not installed. That's bad.
Comment by Balló György (City-busz) - Thursday, 02 February 2023, 08:02 GMT
GNOME Shell does not use gnome-disk-utility at all. It just tries to read the translated application name of gnome-disk-utility, and fails if the desktop file is missing. I sent a simple patch to upstream to fix it:
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2621

Please apply this patch and remove the gnome-disk-utility dependency.
Comment by Balló György (City-busz) - Thursday, 02 February 2023, 20:04 GMT
The patch has been accepted and merged by upstream:
https://gitlab.gnome.org/GNOME/gnome-shell/-/commit/266a19f05cad26d97c659493cd34ba196ef6eeb2

It can be cherry-picked by:
git cherry-pick -n 266a19f05cad26d97c659493cd34ba196ef6eeb2

Loading...