FS#72233 - Make gnome-control-center not depend on cheese

Attached to Project: Arch Linux
Opened by Ícar N. S. (juxuanu) - Saturday, 25 September 2021, 10:29 GMT
Last edited by Jan Alexander Steffens (heftig) - Thursday, 11 November 2021, 02:14 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
Gnome Control Center (Settings) depends on package 'cheese' because it is *not* built with `-D cheese=false`. See attached patch.

This would allow for a DE configuration program to not depend on a webcam app.

This would mean to drop the dependency in the PKGBUILD as well (not included in the patch).
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Thursday, 11 November 2021, 02:14 GMT
Reason for closing:  Implemented
Comment by Jan Alexander Steffens (heftig) - Wednesday, 29 September 2021, 12:58 GMT
I don't consider this a problem.
Comment by Ícar N. S. (juxuanu) - Wednesday, 29 September 2021, 13:25 GMT
It's not a problem per se, but it seems extremely weird that a program that changes settings needs a program that takes selfies. Others agree with this view.

What functionality do you lose by not having it depend on cheese? Afaik, none. I've been using the AUR package gnome-control-center-nocheese (which is basically your PKGBUILD with the patch attached) and I haven't found any missing functionality.

On the other hand, I think users should be able to install gnome-control-center without installing cheese because the Gnome project now recommends using Flatpak for their apps - and Cheese is available as Flatpak, but Settings isn't. This leads to having Cheese installed twice.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 29 September 2021, 13:46 GMT
It's used for the "Take a Picture" feature in the user management.

It's not possible to use cheese from Flatpak for this because this doesn't make libcheese accessible.
Comment by Guoyi (malacology) - Wednesday, 06 October 2021, 09:55 GMT
It's just a little strange, it can be put into optional depend. Because not all people use cheese
Comment by Ícar N. S. (juxuanu) - Wednesday, 06 October 2021, 09:57 GMT
What about putting libcheese in a separate package and make cheese and gnome-control-center depend on it?
Comment by Guoyi (malacology) - Wednesday, 20 October 2021, 23:40 GMT
That would be fine.
Comment by Mel (Mel) - Friday, 05 November 2021, 03:18 GMT
libcheese is packaged separately in gnome-unstable right now, allowing for removal of cheese. Well done!
Comment by Ícar N. S. (juxuanu) - Tuesday, 09 November 2021, 02:21 GMT
With this change, it crashes with SIGTRAP when clicking the "Take a picture...". Complains about:
`(gnome-control-center:2966): GLib-GIO-ERROR **: 03:20:36.920: Settings schema 'org.gnome.Cheese' is not installed`
but I do have Cheese flatpak installed. Should this be reported upstream?
Comment by Jan Alexander Steffens (heftig) - Tuesday, 09 November 2021, 09:26 GMT
No, I just need to move a file from cheese to libcheese.
Comment by Jan Alexander Steffens (heftig) - Wednesday, 10 November 2021, 19:18 GMT
Should be fixed in cheese 41.0-2
Comment by Ícar N. S. (juxuanu) - Wednesday, 10 November 2021, 23:13 GMT
Working correctly here :-) Thanks a lot!

Loading...