all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56437: Reduce closure size of gsettings-desktop-schemas
@ 2022-07-07 14:50 Pierre Neidhardt
  2022-07-20 18:59 ` Maxime Devos
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2022-07-07 14:50 UTC (permalink / raw)
  To: 56437

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56437: Reduce closure size of gsettings-desktop-schemas
  2022-07-07 14:50 bug#56437: Reduce closure size of gsettings-desktop-schemas Pierre Neidhardt
@ 2022-07-20 18:59 ` Maxime Devos
  2022-07-22  4:41   ` Pierre Neidhardt
  2022-08-05  8:01   ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 2 replies; 4+ messages in thread
From: Maxime Devos @ 2022-07-20 18:59 UTC (permalink / raw)
  To: Pierre Neidhardt, 56437


[-- Attachment #1.1.1: Type: text/plain, Size: 1863 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56437: Reduce closure size of gsettings-desktop-schemas
  2022-07-20 18:59 ` Maxime Devos
@ 2022-07-22  4:41   ` Pierre Neidhardt
  2022-08-05  8:01   ` 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 4+ messages in thread
From: Pierre Neidhardt @ 2022-07-22  4:41 UTC (permalink / raw)
  To: Maxime Devos, 56437

[-- Attachment #1: Type: text/plain, Size: 13 bytes --]

Sounds good!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#56437: Reduce closure size of gsettings-desktop-schemas
  2022-07-20 18:59 ` Maxime Devos
  2022-07-22  4:41   ` Pierre Neidhardt
@ 2022-08-05  8:01   ` 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 4+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2022-08-05  8:01 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 56437, Pierre Neidhardt

Maxime Devos <maximedevos@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.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-05  8:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-07 14:50 bug#56437: Reduce closure size of gsettings-desktop-schemas Pierre Neidhardt
2022-07-20 18:59 ` Maxime Devos
2022-07-22  4:41   ` Pierre Neidhardt
2022-08-05  8:01   ` 宋文武 via Bug reports for GNU Guix

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.