unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Separate packages for wayland variants
@ 2023-01-02 13:49 Jonathan Brielmaier
  2023-01-05 21:03 ` Josselin Poiret
  0 siblings, 1 reply; 2+ messages in thread
From: Jonathan Brielmaier @ 2023-01-02 13:49 UTC (permalink / raw)
  To: Guix-devel

Happy new year fellow Guix hackers,

I wonder how we usually deal with package variants for wayland support.

In my case I want to make keepassxc working more nicely on sway. It is
as simple as adding `qtwayland-5` to its input list. Increasing its size
from 1271.8 MiB to 1303.5 MiB.

Indicators for a separate wayland package:
* size gets increased noticeable
* "enabling" wayland breaks X.org
* launching for wayland requires certain environment variables (like
icedove-wayland with MOZ_ENABLE_WAYLAND=1)

Indicators for an all-in-one package:
* size increase relative small
* package works with wayland or X.org
* reducing duplicated build runs and space on disk with almost identical
package variants

Any guidance on this topic is appreciated :)

~Jonathan


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

* Re: Separate packages for wayland variants
  2023-01-02 13:49 Separate packages for wayland variants Jonathan Brielmaier
@ 2023-01-05 21:03 ` Josselin Poiret
  0 siblings, 0 replies; 2+ messages in thread
From: Josselin Poiret @ 2023-01-05 21:03 UTC (permalink / raw)
  To: Jonathan Brielmaier, Guix-devel

Hi Jonathan,

Jonathan Brielmaier <jonathan.brielmaier@web.de> writes:

> Happy new year fellow Guix hackers,
>
> I wonder how we usually deal with package variants for wayland support.
>
> In my case I want to make keepassxc working more nicely on sway. It is
> as simple as adding `qtwayland-5` to its input list. Increasing its size
> from 1271.8 MiB to 1303.5 MiB.

My opinion is that those packages should work out of the box on wayland,
and we shouldn't duplicate CI effort by having duplicate packages.

The qt 5 base package should probably include qtwayland-5 somehow,
although I don't really know if that is doable without cycles.  We can
probably have a minimal package and one with qtwayland-5 included. I
don't think it is manageable to add qtwayland-5 to every single
application.

Best,
-- 
Josselin Poiret


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

end of thread, other threads:[~2023-01-05 21:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-02 13:49 Separate packages for wayland variants Jonathan Brielmaier
2023-01-05 21:03 ` Josselin Poiret

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).