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 CA9A1158003 for ; Sat, 13 May 2023 16:59:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E78B6E0821; Sat, 13 May 2023 16:59:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B3E44E0821 for ; Sat, 13 May 2023 16:59:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE6CA335DEB for ; Sat, 13 May 2023 16:59:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8923C990 for ; Sat, 13 May 2023 16:59:36 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1683997172.01a4fe8c96efd9fd4ce1114b9a5f86f1ce6adc87.prometheanfire@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/wlroots/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-libs/wlroots/metadata.xml gui-libs/wlroots/wlroots-9999.ebuild X-VCS-Directories: gui-libs/wlroots/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: 01a4fe8c96efd9fd4ce1114b9a5f86f1ce6adc87 X-VCS-Branch: master Date: Sat, 13 May 2023 16:59:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b9e7c862-7319-4c85-8614-c47049e61901 X-Archives-Hash: 977c0be1b25ff40a2a0e0384969df357 commit: 01a4fe8c96efd9fd4ce1114b9a5f86f1ce6adc87 Author: Matthew Thode gentoo org> AuthorDate: Sat May 13 16:09:17 2023 +0000 Commit: Matthew Thode gentoo org> CommitDate: Sat May 13 16:59:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01a4fe8c gui-libs/wlroots: make session support optional based on libseat support currently libseat is the only supported session backend https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/10dd41669492f7582c26bd3989536a66278df75d/backend/session/meson.build also adds optional support for libliftoff display-info and xcb-errors Bug: https://bugs.gentoo.org/883781 Signed-off-by: Matthew Thode gentoo.org> gui-libs/wlroots/metadata.xml | 3 +++ gui-libs/wlroots/wlroots-9999.ebuild | 12 ++++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gui-libs/wlroots/metadata.xml b/gui-libs/wlroots/metadata.xml index 09e9bbf14315..3d959b74fcc6 100644 --- a/gui-libs/wlroots/metadata.xml +++ b/gui-libs/wlroots/metadata.xml @@ -21,11 +21,14 @@ wlroots is developed under the direction of the gui-wm/sway project. + Enable support for EDID and DisplayID Use system hwdata + Enable support for libliftoff kms plane backend Enable libseatd session support Install the minimal wayland client, tinywl Enable support for the vulkan backend renderer Enable support for handling input/output devices through x11-libs/libxcb + Better error reporting when using xwayland Enable support for X11 applications (XWayland) diff --git a/gui-libs/wlroots/wlroots-9999.ebuild b/gui-libs/wlroots/wlroots-9999.ebuild index 465c324cb3b1..ad439b8816b3 100644 --- a/gui-libs/wlroots/wlroots-9999.ebuild +++ b/gui-libs/wlroots/wlroots-9999.ebuild @@ -19,15 +19,16 @@ else fi LICENSE="MIT" -IUSE="+hwdata +seatd tinywl +udev vulkan x11-backend X" +IUSE="display-info +hwdata liftoff +seatd tinywl +udev vulkan x11-backend xcb-errors X" DEPEND=" >=dev-libs/libinput-1.14.0:0= >=dev-libs/wayland-1.22.0 >=dev-libs/wayland-protocols-1.28 media-libs/mesa[egl(+),gles2] - media-libs/libdisplay-info:= + display-info? ( media-libs/libdisplay-info ) hwdata? ( sys-apps/hwdata:= ) + liftoff? ( dev-libs/libliftoff ) seatd? ( sys-auth/seatd:= ) udev? ( virtual/libudev ) vulkan? ( @@ -45,6 +46,7 @@ DEPEND=" x11-libs/xcb-util-image x11-libs/xcb-util-renderutil x11-libs/xcb-util-wm + xcb-errors? ( x11-libs/xcb-util-errors ) ) " RDEPEND=" @@ -61,11 +63,17 @@ src_configure() { # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) local emesonargs=( "-Dxcb-errors=disabled" + -Dxcb-errors=$(usex xcb-errors enabled disabled) $(meson_use tinywl examples) -Drenderers=$(usex vulkan 'gles2,vulkan' gles2) -Dxwayland=$(usex X enabled disabled) -Dbackends=drm,libinput$(usex x11-backend ',x11' '') ) + if use udev; then + emesonargs+=(-Dsession=$(usex seatd enabled disabled)) + else + emesonargs+=(-Dsession=disabled) + fi meson_src_configure }