git: 0924669cade4 - main - graphics/libliftoff: update to 0.5.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 28 May 2024 00:53:25 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0924669cade4f1f1bb74fb6c95f65cef987c3b5a

commit 0924669cade4f1f1bb74fb6c95f65cef987c3b5a
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-05-27 22:22:40 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-05-28 00:53:02 +0000

    graphics/libliftoff: update to 0.5.0
    
    Changes:        https://gitlab.freedesktop.org/emersion/libliftoff/-/tags/v0.5.0
    Reported by:    GitLab (notify releases)
---
 graphics/libliftoff/Makefile            |  2 +-
 graphics/libliftoff/distinfo            |  6 +++---
 graphics/libliftoff/files/patch-layer.c | 13 +++++++++++++
 graphics/libliftoff/pkg-plist           |  2 +-
 x11-toolkits/wlroots-devel/Makefile     |  3 ++-
 x11-toolkits/wlroots-devel/distinfo     |  2 ++
 x11-toolkits/wlroots/Makefile           |  4 +++-
 x11-toolkits/wlroots/distinfo           |  2 ++
 x11-wm/gamescope/Makefile               |  4 +++-
 x11-wm/gamescope/distinfo               |  4 ++++
 10 files changed, 34 insertions(+), 8 deletions(-)

diff --git a/graphics/libliftoff/Makefile b/graphics/libliftoff/Makefile
index 169aa80e901a..eb7d26927c01 100644
--- a/graphics/libliftoff/Makefile
+++ b/graphics/libliftoff/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libliftoff
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.4.1
+DISTVERSION=	0.5.0
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/graphics/libliftoff/distinfo b/graphics/libliftoff/distinfo
index d04e6096835b..96035265aae7 100644
--- a/graphics/libliftoff/distinfo
+++ b/graphics/libliftoff/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1678041375
-SHA256 (libliftoff-v0.4.1.tar.bz2) = 2ec4a6b467dda20476acb4d6bd864538ccdaa946e8666f96efa98156bf25cfb5
-SIZE (libliftoff-v0.4.1.tar.bz2) = 30107
+TIMESTAMP = 1716848560
+SHA256 (libliftoff-v0.5.0.tar.bz2) = 2ed21be3c563b129bd8f188195a23256017e15908c195f3edcd3697584caf1c8
+SIZE (libliftoff-v0.5.0.tar.bz2) = 31999
diff --git a/graphics/libliftoff/files/patch-layer.c b/graphics/libliftoff/files/patch-layer.c
new file mode 100644
index 000000000000..b26aea545b03
--- /dev/null
+++ b/graphics/libliftoff/files/patch-layer.c
@@ -0,0 +1,13 @@
+https://gitlab.freedesktop.org/emersion/libliftoff/-/issues/80
+
+--- layer.c.orig	2024-05-27 22:22:40 UTC
++++ layer.c
+@@ -73,7 +73,7 @@ layer_get_property(struct liftoff_layer *layer, const 
+ 
+ 	core_prop_idx = core_property_index(name);
+ 	if (core_prop_idx >= 0) {
+-		return layer_get_core_property(layer, core_prop_idx);
++		return layer_get_core_property(layer, (enum liftoff_core_property)core_prop_idx);
+ 	}
+ 
+ 	for (i = 0; i < layer->props_len; i++) {
diff --git a/graphics/libliftoff/pkg-plist b/graphics/libliftoff/pkg-plist
index 5e03585a03c3..3e06ad5ce270 100644
--- a/graphics/libliftoff/pkg-plist
+++ b/graphics/libliftoff/pkg-plist
@@ -1,5 +1,5 @@
 include/libliftoff.h
 lib/libliftoff.so
 lib/libliftoff.so.0
-lib/libliftoff.so.0.4.1
+lib/libliftoff.so.0.5.0
 libdata/pkgconfig/libliftoff.pc
diff --git a/x11-toolkits/wlroots-devel/Makefile b/x11-toolkits/wlroots-devel/Makefile
index baea494c8a8b..1042b32fc9e5 100644
--- a/x11-toolkits/wlroots-devel/Makefile
+++ b/x11-toolkits/wlroots-devel/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	wlroots
 DISTVERSION=	0.17.0-312
 DISTVERSIONSUFFIX=	-gb1b34cd665
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-toolkits
 PKGNAMESUFFIX=	-devel
 
@@ -9,6 +9,7 @@ PATCH_SITES+=	https://github.com/hyprwm/wlroots-hyprland/raw/5c1d51c5a279/patche
 PATCHFILES+=	surface-nondivisible-by-scale.patch:-p1:hyprland
 PATCHFILES+=	nvidia-hardware-cursors.patch:-p1:hyprland
 PATCH_SITES+=	${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
+PATCHFILES+=	cc6a7a04418f.patch:-p1 # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4697
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Modular Wayland compositor library (development snapshot)
diff --git a/x11-toolkits/wlroots-devel/distinfo b/x11-toolkits/wlroots-devel/distinfo
index 00a5768fecd7..05e622c6953c 100644
--- a/x11-toolkits/wlroots-devel/distinfo
+++ b/x11-toolkits/wlroots-devel/distinfo
@@ -5,3 +5,5 @@ SHA256 (surface-nondivisible-by-scale.patch) = e9b9f9a537090627ea4fac0b5a101d8ff
 SIZE (surface-nondivisible-by-scale.patch) = 1778
 SHA256 (nvidia-hardware-cursors.patch) = ed4720310d61068b24ebd4a30767556cb7590acfd5c66c95d7408a0c95539dbc
 SIZE (nvidia-hardware-cursors.patch) = 12545
+SHA256 (cc6a7a04418f.patch) = eb2bf98b372b668f773dbb1e3108bff16fefcc51be148775e6517ea4c9d35d83
+SIZE (cc6a7a04418f.patch) = 1291
diff --git a/x11-toolkits/wlroots/Makefile b/x11-toolkits/wlroots/Makefile
index a23624eeb135..3f05abdfc85c 100644
--- a/x11-toolkits/wlroots/Makefile
+++ b/x11-toolkits/wlroots/Makefile
@@ -1,8 +1,10 @@
 PORTNAME=	wlroots
 DISTVERSION=	0.17.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-toolkits
 
+PATCH_SITES+=	https://github.com/swaywm/${GL_PROJECT}/commit/:github
+PATCHFILES+=	7f9bc2d1e0b8.patch:-p1:github # https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4697
 PATCH_SITES+=	${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/x11-toolkits/wlroots/distinfo b/x11-toolkits/wlroots/distinfo
index dd7d2612b796..571f03c57ef7 100644
--- a/x11-toolkits/wlroots/distinfo
+++ b/x11-toolkits/wlroots/distinfo
@@ -1,3 +1,5 @@
 TIMESTAMP = 1714156372
 SHA256 (wlroots-0.17.3.tar.bz2) = b916d9574367373d42334ea12ea3cead27ebc3b8de3bea375619e537d86b0757
 SIZE (wlroots-0.17.3.tar.bz2) = 453887
+SHA256 (7f9bc2d1e0b8.patch) = 5633882f28ffe898adea6e2dbc14d9bcc73136445363957692bf1399025cae11
+SIZE (7f9bc2d1e0b8.patch) = 1257
diff --git a/x11-wm/gamescope/Makefile b/x11-wm/gamescope/Makefile
index 731b5aaf759c..2e82050900c3 100644
--- a/x11-wm/gamescope/Makefile
+++ b/x11-wm/gamescope/Makefile
@@ -1,12 +1,14 @@
 PORTNAME=	gamescope
 DISTVERSION=	3.13.8
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-wm wayland
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
 PATCHFILES+=	a618ea074660.patch:-p1 # https://github.com/ValveSoftware/gamescope/issues/120
 PATCHFILES+=	4a067fb4ebe2.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/678
 PATCHFILES+=	243582c0c762.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/1057
+PATCHFILES+=	4a4fb1b53133.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/1296
+PATCHFILES+=	a9199c2097ff.patch:-p1 # https://github.com/ValveSoftware/gamescope/pull/1323
 
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	SteamOS session compositing window manager
diff --git a/x11-wm/gamescope/distinfo b/x11-wm/gamescope/distinfo
index 74984976f64f..69b4c2051502 100644
--- a/x11-wm/gamescope/distinfo
+++ b/x11-wm/gamescope/distinfo
@@ -17,3 +17,7 @@ SHA256 (4a067fb4ebe2.patch) = fb12df8318e06a77ead4aa5752e32eec48efc70de43f069369
 SIZE (4a067fb4ebe2.patch) = 4823
 SHA256 (243582c0c762.patch) = c7de00de34682207df64e43a235cbaa2fd5332b5e1bb647d6dcee668971a5249
 SIZE (243582c0c762.patch) = 3710
+SHA256 (4a4fb1b53133.patch) = 5d984f71a4d60113f8096893462e7bbb7bda01d667d80055c2a2022bacef5914
+SIZE (4a4fb1b53133.patch) = 735
+SHA256 (a9199c2097ff.patch) = 55b9985b01c8b0bcbd2411fb8f6190982129fcc5f6016164fe2769ce354120b2
+SIZE (a9199c2097ff.patch) = 1061