GNU bug report logs - #56437
Reduce closure size of gsettings-desktop-schemas

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Thu, 7 Jul 2022 14:51:02 UTC

Severity: normal

Full log


Message #8 received at 56437 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>, 56437 <at> debbugs.gnu.org
Subject: Re: bug#56437: Reduce closure size of gsettings-desktop-schemas
Date: Wed, 20 Jul 2022 20:59:48 +0200
[Message part 1 (text/plain, inline)]
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 <at> 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.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 2 years and 313 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.