bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56437: Reduce closure size of gsettings-desktop-schemas


From: Maxime Devos
Subject: bug#56437: Reduce closure size of gsettings-desktop-schemas
Date: Wed, 20 Jul 2022 20:59:48 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 07-07-2022 16:50, Pierre Neidhardt wrote:

Hi,

Gsettings-desktop-schemas is required by WebKitGTK to load HTTPS pages.
But it also depends on gnome-backgrounds which weights some 40 MiB.

For sure this does not help the closure size...

I suggest we create a separate output, or maybe a
gsettings-desktop-schemas-minimal which does not include the reference
to the backgrounds.

Thoughts?

There are only two schemes that contain a reference, so maybe those can be put in a separate output:

antipode@antipode ~$ grep -RF gnome-background /gnu/store/5nqkzrcgwbbk9lnfz73g1nidfp57szlm-gsettings-desktop-schemas-41.0/ grep: /gnu/store/5nqkzrcgwbbk9lnfz73g1nidfp57szlm-gsettings-desktop-schemas-41.0/share/glib-2.0/schemas/gschemas.compiled: binair bestand bevat de gezochte tekst /gnu/store/5nqkzrcgwbbk9lnfz73g1nidfp57szlm-gsettings-desktop-schemas-41.0/share/glib-2.0/schemas/org.gnome.desktop.background.gschema.xml: <default>'file:///gnu/store/cknaw49l7lnf2r6djvxjd8xvrzl6lcgn-gnome-backgrounds-41.0//share/backgrounds/gnome/adwaita-timed.xml'</default> /gnu/store/5nqkzrcgwbbk9lnfz73g1nidfp57szlm-gsettings-desktop-schemas-41.0/share/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.xml: <default>'file:///gnu/store/cknaw49l7lnf2r6djvxjd8xvrzl6lcgn-gnome-backgrounds-41.0//share/backgrounds/gnome/adwaita-timed.xml'</default>

Two package variants is not ideal, because then one has to determine which one to choose, and people that use the background schemes would have extra disk usage because of the two copies of the other schemes (relatively tiny: 224K if the 36K gschemas.compiles is counted, 153K for apparent size).

As such, I'd prefer gong for a separate output. It would need to be checked that this doesn't cause problems from GNOME users though.

Greetings,
Maxime.

Attachment: OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]