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

To reply to this bug, email your comments to 56437 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#56437; Package guix. (Thu, 07 Jul 2022 14:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 07 Jul 2022 14:51:02 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: bug-guix <at> gnu.org
Subject: Reduce closure size of gsettings-desktop-schemas
Date: Thu, 07 Jul 2022 16:50:17 +0200
[Message part 1 (text/plain, inline)]
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?

Pierre
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#56437; Package guix. (Wed, 20 Jul 2022 19:00:02 GMT) Full text and rfc822 format available.

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)]

Information forwarded to bug-guix <at> gnu.org:
bug#56437; Package guix. (Fri, 22 Jul 2022 04:43:01 GMT) Full text and rfc822 format available.

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

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Maxime Devos <maximedevos <at> telenet.be>, 56437 <at> debbugs.gnu.org
Subject: Re: bug#56437: Reduce closure size of gsettings-desktop-schemas
Date: Fri, 22 Jul 2022 06:41:53 +0200
[Message part 1 (text/plain, inline)]
Sounds good!
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#56437; Package guix. (Fri, 05 Aug 2022 08:02:02 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 56437 <at> debbugs.gnu.org, Pierre Neidhardt <mail <at> ambrevar.xyz>
Subject: Re: bug#56437: Reduce closure size of gsettings-desktop-schemas
Date: Fri, 05 Aug 2022 16:01:13 +0800
Maxime Devos <maximedevos <at> telenet.be> writes:

> 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:
> [...]
> 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.

I think we can use some gsettings overrides in the gnome package, there
is no need for gsettings-desktop-schemas hardcode the background
setting itself.




This bug report was last modified 1 year and 264 days ago.

Previous Next


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