From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 93CBA158083 for ; Sat, 14 Sep 2024 10:23:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78869E29B1; Sat, 14 Sep 2024 10:23:13 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1FD7BE29AB for ; Sat, 14 Sep 2024 10:23:13 +0000 (UTC) From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] profiles: desktop: Add "wayland" to make.defaults Date: Sat, 14 Sep 2024 12:23:05 +0200 Message-ID: <4923407.GXAFRqVoOG@tuxbrain.fritz.box> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1900107.tdWV9SEqCh"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Archives-Salt: 45fb79dd-0bb0-4719-b28a-394322f44b77 X-Archives-Hash: c39985af87254ce305a30e4daef520fc --nextPart1900107.tdWV9SEqCh Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Andreas Sturmlechner To: gentoo-dev@lists.gentoo.org Subject: profiles: desktop: Add "wayland" to make.defaults Date: Sat, 14 Sep 2024 12:23:05 +0200 Message-ID: <4923407.GXAFRqVoOG@tuxbrain.fritz.box> MIME-Version: 1.0 1) overall small impact on binary size, no runtime implications for X users 2) desktop profile definition is "minimal" USE flags, not necessarily "legacy" 3) plenty of "minimal" gui-wm/* exist, so X WMs can't claim that space 4) KWin is not just used with Plasma, but also as LXQt default, and both Plasma as well as Gnome have plenty of desktop profile users for some reason (mostly no-multilib of course ...) 5) deduplication++ PR link: https://github.com/gentoo/gentoo/pull/38601 Cleanup summary: profiles/targets/desktop/gnome/make.defaults | 2 +- profiles/targets/desktop/gnome/package.use | 18 ------------------ profiles/targets/desktop/make.defaults | 2 +- profiles/targets/desktop/package.use | 17 +++++++++++++++-- profiles/targets/desktop/plasma/make.defaults | 2 +- profiles/targets/desktop/plasma/package.use | 11 ----------- 6 files changed, 18 insertions(+), 34 deletions(-) diff --git a/profiles/targets/desktop/make.defaults b/profiles/targets/ desktop/make.defaults index 02e4f168b0a1..3e4f9fd3998b 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 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" +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 wayland wxwidgets X xcb xft x264 xml xv xvid" diff --git a/profiles/targets/desktop/gnome/make.defaults b/profiles/targets/ desktop/gnome/make.defaults index 3f9e6955f3b8..2dc85fe967ca 100644 --- a/profiles/targets/desktop/gnome/make.defaults +++ b/profiles/targets/desktop/gnome/make.defaults @@ -1,4 +1,4 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -USE="colord eds evo gnome gnome-keyring gnome-online-accounts gnome-shell gstreamer introspection keyring nautilus networkmanager pulseaudio sysprof tracker wayland" +USE="colord eds evo gnome gnome-keyring gnome-online-accounts gnome-shell gstreamer introspection keyring nautilus networkmanager pulseaudio sysprof tracker" diff --git a/profiles/targets/desktop/gnome/package.use b/profiles/targets/ desktop/gnome/package.use index 3914d0992c9e..a60190ee8b3e 100644 --- a/profiles/targets/desktop/gnome/package.use +++ b/profiles/targets/desktop/gnome/package.use @@ -1,15 +1,6 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Alfred Wingate (2023-12-25) -# Prefer wayland over X with REQUIRED_USE: ^^ ( gbm wayland X ) ->=media-tv/kodi-20.2 wayland -X - -# Mart Raudsepp (2023-10-01) -# x11-wm/mutter[wayland] requires xwayland[libei] for emulated input portal -# for e.g. remote desktop remote input support -x11-base/xwayland libei - # Mart Raudsepp (2022-01-05) # gnome-boxes requires spice-gtk[vala] net-misc/spice-gtk vala @@ -32,15 +23,6 @@ dev-libs/efl sound # Needed by gnome-photos media-libs/gegl raw -# Needed by a global USE=wayland right now; some REQUIRED_USE may be outdated and need review ->=media-libs/cogl-1.18.2-r1 gles2 ->=media-libs/clutter-1.20 egl -media-libs/cogl kms -media-libs/libsdl2 gles2 - -# Needed by mutter defaults and USE=wayland, bug #547300 ->=media-libs/mesa-10.3 gles2 - # For eautoreconf in =app-crypt/seahorse-3.10.2-r1 app-crypt/gcr vala diff --git a/profiles/targets/desktop/package.use b/profiles/targets/desktop/ package.use index 82330969f098..febf52c3b940 100644 --- a/profiles/targets/desktop/package.use +++ b/profiles/targets/desktop/package.use @@ -11,8 +11,9 @@ net-p2p/transmission -qt5 dev-qt/qtbase libproxy # Alfred Wingate (2023-12-25) -# Prefer X over gbm with REQUIRED_USE: ^^ ( gbm wayland X ) ->=media-tv/kodi-20.2 X -gbm +# Prefer wayland over X with REQUIRED_USE: ^^ ( gbm wayland X ) +# >=21.1 allows build with multiple display backends again + (2023-11-12) # NSS: Required by kde-apps/okular[pdf] @@ -24,6 +25,11 @@ app-text/poppler nss boost # accessibility required by kde-plasma/kwin:5 dev-qt/qtgui:5 accessibility egl libinput +# Mart Raudsepp (2023-10-01) +# kde-plasma/kwin and x11-wm/mutter[wayland] require xwayland[libei] for +# emulated input portal for e.g. remote desktop remote input support +x11-base/xwayland libei + # Sam James (2023-09-22) # Most people aren't going to use CMake's GUI. USE=gui is enabled by default # on desktop profiles and CMake is unavoidable, it feels a shame to drag in @@ -35,6 +41,13 @@ dev-build/cmake -gui -qt6 # Required by dev-python/PyQt5[multimedia] dev-qt/qtmultimedia:5 widgets +# Andreas Sturmlechner (2023-05-21) +# Needed by a global USE=wayland right now (REQUIRED_USE conflicts) +media-libs/clutter egl +media-libs/cogl gles2 +media-libs/libsdl2 gles2 + (2022-12-27) # On desktops it's common to use browser to browse internet, which these # days is full of emojis, which wouldn't render properly without the fonts. diff --git a/profiles/targets/desktop/plasma/make.defaults b/profiles/targets/ desktop/plasma/make.defaults index 7f42ef98fc5b..952f3e112e02 100644 --- a/profiles/targets/desktop/plasma/make.defaults +++ b/profiles/targets/desktop/plasma/make.defaults @@ -1,4 +1,4 @@ # 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 screencast semantic-desktop wayland widgets" +USE="activities declarative dri kde kwallet networkmanager pipewire plasma policykit pulseaudio screencast semantic-desktop widgets" diff --git a/profiles/targets/desktop/plasma/package.use b/profiles/targets/ desktop/plasma/package.use index 88e56d0ddcf1..f72f96ede24e 100644 --- a/profiles/targets/desktop/plasma/package.use +++ b/profiles/targets/desktop/plasma/package.use @@ -1,10 +1,6 @@ # Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# Alfred Wingate (2023-12-25) -# Prefer wayland over X with REQUIRED_USE: ^^ ( gbm wayland X ) ->=media-tv/kodi-20.2 wayland -X - # Marek Szuba (2023-11-12) # FUSE cannot be built with multiple audio drivers, and desktop/gnome # profiles set both USE=pulseaudio (directly) and USE=alsa (inherited @@ -41,13 +37,6 @@ kde-plasma/kde-cli-tools kdesu # Required by media-gfx/graphviz which is required by kde-apps/kcachegrind media-libs/gd fontconfig -# Needed by a global USE=wayland right now -media-libs/libsdl2 gles2 - -# Required by kde-plasma/kwin -media-libs/mesa wayland -x11-base/xwayland libei - # Required by kde-apps/kdenlive media-libs/mlt ffmpeg frei0r rubberband --nextPart1900107.tdWV9SEqCh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQITBAABCgB9FiEESn1gz6RHOTQPAoX/ASQjMY0fts0FAmblZAlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRB N0Q2MENGQTQ0NzM5MzQwRjAyODVGRjAxMjQyMzMxOEQxRkI2Q0QACgkQASQjMY0f ts36rAwAl6z1qANwTuGnR8W4sWIjt5GrG+iytEt0bgwDW3rySdEJGKHMCdYlmrJp 9Hk52HTBvxL21a8B29RQDUtF8mz30pIMczkA8B6+R48jz7FTLdwBQbj0G8AumQwO vUKdma5kDGFfiR5tZJMq3f3XqyxKXgM+W8IT3wiLljTqZfZMb2pT4koGfQYEr0T9 E3kroV2bmlg7nh4kFt7k6cb9E9Rixqf+HxUeOkV5Pc+X0WESTJW6bw2U76eluIeN ij5Ml+S7yWTze2af8PYbffbkLVWmNQx+QAdy/vnir8RgZzhJm9zl5aR99buRGwXe mHiRKJnZCs3CpFJjWm//tmh7HmLZABgCFE8c+K1vZcCpi9Ahppv66Bq9I2zG7g+i QILgCCzPDqimmJ9OV5e+3ygzxUIc0A+8e0M8iZljAlfW68JadRXC4Tsk56FgIPDN gQ523Yy7SCqzMs/NdQMaF4G1CIeUu+s8lwgL4KJKYdlEqXL1xTtAaWdN8s8GdPRp PW7m0Gqt =dSx4 -----END PGP SIGNATURE----- --nextPart1900107.tdWV9SEqCh--