public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] profiles/targets/desktop: make USE=qml default for more than just plasma
@ 2024-09-05 16:51 Eli Schwartz
  2024-09-09  8:55 ` Andreas Sturmlechner
  2024-09-11  1:49 ` Sam James
  0 siblings, 2 replies; 3+ messages in thread
From: Eli Schwartz @ 2024-09-05 16:51 UTC (permalink / raw
  To: gentoo-dev

Installing random applications tends to drag in qml requirements, as it
is a pivotal part of the Qt technology stack required by other
components. One quickly ends up in USE flag resolution hell when trying
to select it on a per-package basis for most use cases other than having
Qt installed solely for an isolated application.

For average desktop use it makes sense to simply default it to on.
People can always disable it manually if they want, but it basically
just adds a single package (qtdeclarative) as a dep to your Qt stack.

Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
---
 profiles/targets/desktop/make.defaults        | 2 +-
 profiles/targets/desktop/plasma/make.defaults | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/profiles/targets/desktop/make.defaults b/profiles/targets/desktop/make.defaults
index 72e77543df12..02e4f168b0a1 100644
--- a/profiles/targets/desktop/make.defaults
+++ b/profiles/targets/desktop/make.defaults
@@ -1,4 +1,4 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr cups dbus dri dts dvd dvdr elogind encode exif flac gif gpm gtk gui icu jpeg kf6compat lcms libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png policykit ppds qt6 qt5 sdl sound spell startup-notification svg tiff truetype vorbis udev udisks unicode upower usb vulkan wxwidgets X xcb xft x264 xml xv xvid"
+USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr cups dbus dri dts dvd dvdr elogind encode exif flac gif gpm gtk gui icu jpeg kf6compat lcms libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png policykit ppds qml qt6 qt5 sdl sound spell startup-notification svg tiff truetype vorbis udev udisks unicode upower usb vulkan wxwidgets X xcb xft x264 xml xv xvid"
diff --git a/profiles/targets/desktop/plasma/make.defaults b/profiles/targets/desktop/plasma/make.defaults
index 62e625bbfdcb..7f42ef98fc5b 100644
--- a/profiles/targets/desktop/plasma/make.defaults
+++ b/profiles/targets/desktop/plasma/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-USE="activities declarative dri kde kwallet networkmanager pipewire plasma policykit pulseaudio qml screencast semantic-desktop wayland widgets"
+USE="activities declarative dri kde kwallet networkmanager pipewire plasma policykit pulseaudio screencast semantic-desktop wayland widgets"
-- 
2.44.2



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

* Re: [gentoo-dev] [PATCH] profiles/targets/desktop: make USE=qml default for more than just plasma
  2024-09-05 16:51 [gentoo-dev] [PATCH] profiles/targets/desktop: make USE=qml default for more than just plasma Eli Schwartz
@ 2024-09-09  8:55 ` Andreas Sturmlechner
  2024-09-11  1:49 ` Sam James
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2024-09-09  8:55 UTC (permalink / raw
  To: gentoo-dev; +Cc: Eli Schwartz

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

On Donnerstag, 5. September 2024 18:51:43 MESZ Eli Schwartz wrote:
> diff --git a/profiles/targets/desktop/make.defaults
> b/profiles/targets/desktop/make.defaults index 72e77543df12..02e4f168b0a1
> 100644
> --- a/profiles/targets/desktop/make.defaults
> +++ b/profiles/targets/desktop/make.defaults
> @@ -1,4 +1,4 @@
>  # Copyright 1999-2024 Gentoo Authors
>  # Distributed under the terms of the GNU General Public License v2
> 
> -USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr cups dbus dri dts
> dvd dvdr elogind encode exif flac gif gpm gtk gui icu jpeg kf6compat lcms
> libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png policykit ppds qt6
> qt5 sdl sound spell startup-notification svg tiff truetype vorbis udev
> udisks unicode upower usb vulkan wxwidgets X xcb xft x264 xml xv xvid"
> +USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr cups dbus dri dts
> dvd dvdr elogind encode exif flac gif gpm gtk gui icu jpeg kf6compat lcms
> libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png policykit ppds qml
> qt6 qt5 sdl sound spell startup-notification svg tiff truetype vorbis udev
> udisks unicode upower usb vulkan wxwidgets X xcb xft x264 xml xv xvid" diff

Feel free to go ahead.

Regards,
Andreas

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 789 bytes --]

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

* Re: [gentoo-dev] [PATCH] profiles/targets/desktop: make USE=qml default for more than just plasma
  2024-09-05 16:51 [gentoo-dev] [PATCH] profiles/targets/desktop: make USE=qml default for more than just plasma Eli Schwartz
  2024-09-09  8:55 ` Andreas Sturmlechner
@ 2024-09-11  1:49 ` Sam James
  1 sibling, 0 replies; 3+ messages in thread
From: Sam James @ 2024-09-11  1:49 UTC (permalink / raw
  To: Eli Schwartz; +Cc: gentoo-dev

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

Eli Schwartz <eschwartz@gentoo.org> writes:

> Installing random applications tends to drag in qml requirements, as it
> is a pivotal part of the Qt technology stack required by other
> components. One quickly ends up in USE flag resolution hell when trying
> to select it on a per-package basis for most use cases other than having
> Qt installed solely for an isolated application.
>
> For average desktop use it makes sense to simply default it to on.
> People can always disable it manually if they want, but it basically
> just adds a single package (qtdeclarative) as a dep to your Qt stack.
>

Yes, please do. Especially given Ionen said he was OK with it (IIRC)
and asturm acked it.

> Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
> ---
>  profiles/targets/desktop/make.defaults        | 2 +-
>  profiles/targets/desktop/plasma/make.defaults | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/profiles/targets/desktop/make.defaults b/profiles/targets/desktop/make.defaults
> index 72e77543df12..02e4f168b0a1 100644
> --- a/profiles/targets/desktop/make.defaults
> +++ b/profiles/targets/desktop/make.defaults
> @@ -1,4 +1,4 @@
>  # Copyright 1999-2024 Gentoo Authors
>  # Distributed under the terms of the GNU General Public License v2
>  
> -USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr cups dbus
> dri dts dvd dvdr elogind encode exif flac gif gpm gtk gui icu jpeg
> kf6compat lcms libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png
> policykit ppds qt6 qt5 sdl sound spell startup-notification svg tiff
> truetype vorbis udev udisks unicode upower usb vulkan wxwidgets X xcb
> xft x264 xml xv xvid"
> +USE="a52 aac acpi alsa bluetooth branding cairo cdda cdr cups dbus
> dri dts dvd dvdr elogind encode exif flac gif gpm gtk gui icu jpeg
> kf6compat lcms libnotify mad mng mp3 mp4 mpeg ogg opengl pango pdf png
> policykit ppds qml qt6 qt5 sdl sound spell startup-notification svg
> tiff truetype vorbis udev udisks unicode upower usb vulkan wxwidgets X
> xcb xft x264 xml xv xvid"
> diff --git a/profiles/targets/desktop/plasma/make.defaults b/profiles/targets/desktop/plasma/make.defaults
> index 62e625bbfdcb..7f42ef98fc5b 100644
> --- a/profiles/targets/desktop/plasma/make.defaults
> +++ b/profiles/targets/desktop/plasma/make.defaults
> @@ -1,4 +1,4 @@
> -# Copyright 1999-2023 Gentoo Authors
> +# Copyright 1999-2024 Gentoo Authors
>  # Distributed under the terms of the GNU General Public License v2
>  
> -USE="activities declarative dri kde kwallet networkmanager pipewire plasma policykit pulseaudio qml screencast semantic-desktop wayland widgets"
> +USE="activities declarative dri kde kwallet networkmanager pipewire plasma policykit pulseaudio screencast semantic-desktop wayland widgets"

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

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

end of thread, other threads:[~2024-09-11  1:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-05 16:51 [gentoo-dev] [PATCH] profiles/targets/desktop: make USE=qml default for more than just plasma Eli Schwartz
2024-09-09  8:55 ` Andreas Sturmlechner
2024-09-11  1:49 ` Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox