Index | Thread | Search

From:
yaydn@protonmail.com
Subject:
[update] wayland/wayland 1.24.0
To:
"ports@openbsd.org" <ports@openbsd.org>
Date:
Wed, 16 Jul 2025 22:46:54 +0000

Download raw body.

Thread
Hello everyone,

Here is wayland 1.24.0. I have been testing 1.23.93(rc3) on
current/amd64 for a few weeks which is near identical to 1.24.0.
Additionally, I have run 1.24.0 itself for nearly two weeks. Looks fine.

I waited for various updates in ports and base to settle before
proposing to reduce conflicts and fallout. I haven't had issues so far.

I rebuilt kde-plasma, wayland/* and see no obvious problems, so I hope
this will be clean update.

Thank you @matthieu for pushing the previously needed patch upstream.

Here is the changelog:

https://lore.freedesktop.org/wayland-devel/plU5smxin5VXbiedTGtL7CNHe0t2mHtgQlQ3-xwREmSSNYaClAcZpEBV8L7JvMT8JHwdD_a_uSFkDUaP45CAWyL545iZh5gInAdToX6hgt4=@emersion.fr/T/#u

I made this with

cd /usr/ports/wayland/wayland/ && cvs diff -uNp > wayland-1.24.0.patch

and should be applied somewhat like this? (I attached a copy of the
the patch for convenience)

cd /usr/ports/wayland/wayland/ && patch -l -p0 -E < wayland-1.24.0.patch

Is this acceptable? Comments, advice, and testing welcome. Thank you.

Index: Makefile
===================================================================
RCS file: /cvs/ports/wayland/wayland/Makefile,v
diff -u -p -u -p -r1.11 Makefile
--- Makefile	1 Nov 2024 10:42:05 -0000	1.11
+++ Makefile	7 Jul 2025 08:18:07 -0000
@@ -1,7 +1,7 @@
 COMMENT =	Display server protocol

 DISTNAME =	wayland-${V}
-V =		1.23.1
+V =		1.24.0

 CATEGORIES =	wayland

Index: distinfo
===================================================================
RCS file: /cvs/ports/wayland/wayland/distinfo,v
diff -u -p -u -p -r1.5 distinfo
--- distinfo	1 Nov 2024 10:42:05 -0000	1.5
+++ distinfo	7 Jul 2025 08:18:07 -0000
@@ -1,2 +1,2 @@
-SHA256 (wayland-1.23.1.tar.xz) = hk+yqDmeLQ7DnVbp2bdTwJN3W+rcYCLOgfRBkpqB5e0=
-SIZE (wayland-1.23.1.tar.xz) = 238212
+SHA256 (wayland-1.24.0.tar.xz) = gokkh6Aa1nszTsqDtUMXp8hqA6ic+trP71IR8RpdBTY=
+SIZE (wayland-1.24.0.tar.xz) = 241764
Index: patches/patch-src_wayland-util_h
===================================================================
RCS file: patches/patch-src_wayland-util_h
diff -N patches/patch-src_wayland-util_h
--- patches/patch-src_wayland-util_h	1 Nov 2024 10:42:05 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,22 +0,0 @@
-Index: src/wayland-util.h
---- src/wayland-util.h.orig
-+++ src/wayland-util.h
-@@ -48,7 +48,8 @@ extern "C" {
- #endif
-
- /** Deprecated attribute */
--#if __STDC_VERSION__ >= 202311L
-+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L \
-+	|| defined(__cplusplus) && __cplusplus >= 201402L
- #define WL_DEPRECATED [[deprecated]]
- #elif defined(__GNUC__) && __GNUC__ >= 4
- #define WL_DEPRECATED __attribute__ ((deprecated))
-@@ -70,7 +71,7 @@ extern "C" {
- #define WL_PRINTF(x, y)
- #endif
-
--#if __STDC_VERSION__ >= 202311L
-+#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
- #define WL_TYPEOF(expr) typeof(expr)
- #else
- #define WL_TYPEOF(expr) __typeof__(expr)
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/wayland/wayland/pkg/PLIST,v
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST	19 Aug 2022 06:39:55 -0000	1.3
+++ pkg/PLIST	7 Jul 2025 08:18:07 -0000
@@ -21,6 +21,7 @@ lib/pkgconfig/wayland-egl-backend.pc
 lib/pkgconfig/wayland-egl.pc
 lib/pkgconfig/wayland-scanner.pc
 lib/pkgconfig/wayland-server.pc
+share/aclocal/
 share/aclocal/wayland-scanner.m4
 share/wayland/
 share/wayland/wayland-scanner.mk


--
Happy porting and well wishes to all!
Ha en fin ferie!