From 30215740a9c4a85cf3f3c23bdd96047da7148d38 Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Mon, 24 Nov 2025 10:52:07 +0100 Subject: [PATCH] Updated to 0.19.2 --- gui-libs/wlroots/Manifest | 2 +- ...ts-0.18.2.ebuild => wlroots-0.19.2.ebuild} | 29 +++++++++---------- x11-wm/phoc/phoc-0.51.0.ebuild | 2 +- 3 files changed, 16 insertions(+), 17 deletions(-) rename gui-libs/wlroots/{wlroots-0.18.2.ebuild => wlroots-0.19.2.ebuild} (78%) diff --git a/gui-libs/wlroots/Manifest b/gui-libs/wlroots/Manifest index 877df5b..f97ce4f 100644 --- a/gui-libs/wlroots/Manifest +++ b/gui-libs/wlroots/Manifest @@ -1,2 +1,2 @@ -DIST wlroots-0.18.2.tar.gz 629379 BLAKE2B db88626c208085f5e3744ab90427469f828a602d3842d8fefd8fa35efa10928e5ff1f38bfc40fee69106dfb60d84847ddf3fee380fd71535482aff5a2e567dfb SHA512 a03826f51dbca287ecbb217aadc361a1dedbbe5e225ee7b9ca22779456156c1035acaea7301ca509c410bfef9d0c33cf94cba140bba25d979608b14a99be8c8a DIST wlroots-0.19.0.tar.gz 669326 BLAKE2B 7f98bab6c21dee7d1634042c8d430c77b572dc760913fae8d4ae6defc525909b6eb65174ed21a84eda1d4da9dceb91b2029cf754775ec15df8cbca6f23c4d581 SHA512 f48055b9bf480f05c97d1d65597697ac9a68cc0529f09bd8667e86555eea5c4635613045076017f87dee6a1b72419b9828d3493991e563ac7b9e614684d7bcde +DIST wlroots-0.19.2.tar.gz 670983 BLAKE2B b1feba85ea31a1ded7ab13429aeac7d7f8aa44ee831b0031b9befa9354e9c3eadc82d7ecb7f2362c2a1d6bcaf92c14844491e5cc3256bbb06835b2861370c7dd SHA512 8228bdd463f3b79c02cc36311f93eb3a2fe2c8406222316a9996abebfbefa39cc4a9587ea800d677961d59b27c82ae906e538dceaf565403bbb3f2b1ae19eff1 diff --git a/gui-libs/wlroots/wlroots-0.18.2.ebuild b/gui-libs/wlroots/wlroots-0.19.2.ebuild similarity index 78% rename from gui-libs/wlroots/wlroots-0.18.2.ebuild rename to gui-libs/wlroots/wlroots-0.19.2.ebuild index 149f4bd..166e1b9 100644 --- a/gui-libs/wlroots/wlroots-0.18.2.ebuild +++ b/gui-libs/wlroots/wlroots-0.19.2.ebuild @@ -11,10 +11,10 @@ HOMEPAGE="https://gitlab.freedesktop.org/wlroots/wlroots" if [[ ${PV} == 9999 ]]; then EGIT_REPO_URI="https://gitlab.freedesktop.org/${PN}/${PN}.git" inherit git-r3 - SLOT="0.18" + SLOT="0.19" else SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/releases/${PV}/downloads/${P}.tar.gz" - KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" + KEYWORDS="amd64 ~arm arm64 ~loong ppc64 ~riscv x86" SLOT="$(ver_cut 1-2)" fi @@ -22,22 +22,18 @@ LICENSE="MIT" IUSE="liftoff +libinput +drm +session lcms vulkan x11-backend xcb-errors X +phoc-patch" REQUIRED_USE=" drm? ( session ) - lcms? ( vulkan ) libinput? ( session ) liftoff? ( drm ) xcb-errors? ( || ( x11-backend X ) ) " DEPEND=" - >=dev-libs/wayland-1.23.0 + >=dev-libs/wayland-1.23.1 media-libs/libglvnd - || ( - >=media-libs/mesa-24.1.0_rc1[opengl] - =media-libs/mesa-24.1.0_rc1[opengl] >=x11-libs/libdrm-2.4.122 - x11-libs/libxkbcommon - >=x11-libs/pixman-0.42.0 + >=x11-libs/libxkbcommon-1.8.0 + >=x11-libs/pixman-0.43.0 drm? ( media-libs/libdisplay-info:= sys-apps/hwdata @@ -69,17 +65,18 @@ RDEPEND=" ${DEPEND} " BDEPEND=" - >=dev-libs/wayland-protocols-1.35 + >=dev-libs/wayland-protocols-1.41 dev-util/wayland-scanner virtual/pkgconfig " PATCHES=( "${FILESDIR}"/0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch -"${FILESDIR}"/0001-seat-Don-t-forget-to-destroy-touch-points-on-touch-u.patch -"${FILESDIR}"/0001-xwm-Handle-NET_WM_WINDOW_OPACITY.patch ) src_configure() { + # assert SLOT matches the version + grep -q -e "version.*${SLOT}" meson.build || die "SLOT ${SLOT} does not match the version in meson.build" + local backends=( $(usev drm) $(usev libinput) @@ -106,6 +103,8 @@ src_install() { } pkg_postinst() { - elog "You must be in the input group to allow your compositor" - elog "to access input devices via libinput." + if use !session; then + elog "You must be in the input group to allow your compositor" + elog "to access input devices via libinput." + fi } diff --git a/x11-wm/phoc/phoc-0.51.0.ebuild b/x11-wm/phoc/phoc-0.51.0.ebuild index 7858f12..dda47cf 100755 --- a/x11-wm/phoc/phoc-0.51.0.ebuild +++ b/x11-wm/phoc/phoc-0.51.0.ebuild @@ -45,7 +45,7 @@ RDEPEND=" x11-libs/libxkbcommon dev-util/gi-docgen dev-libs/gmobile - >=gui-libs/wlroots-0.18.0[phoc-patch] + >=gui-libs/wlroots-0.19.2[phoc-patch] " BDEPEND="