Hi,

This updates wayland-utils to 1.2.0. Update SITE + no more patches.
ok ?

Index: Makefile
===================================================================
RCS file: /local/cvs/ports/wayland/wayland-utils/Makefile,v
diff -u -p -u -r1.3 Makefile
--- Makefile    27 Sep 2023 18:13:48 -0000      1.3
+++ Makefile    29 Jul 2025 13:22:22 -0000
@@ -1,6 +1,7 @@
 COMMENT =      Wayland utils
 
-DISTNAME =     wayland-utils-1.0.0
+V =            1.2.0
+DISTNAME =     wayland-utils-${V}
 
 CATEGORIES =   wayland
 
@@ -11,7 +12,7 @@ WANTLIB += c wayland-client
 # MIT
 PERMIT_PACKAGE =       Yes
 
-SITES =                        https://wayland.freedesktop.org/releases/
+SITES =                        
https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/${V}/downloads/
 EXTRACT_SUFX =         .tar.xz
 
 MODULES =              devel/meson
Index: distinfo
===================================================================
RCS file: /local/cvs/ports/wayland/wayland-utils/distinfo,v
diff -u -p -u -r1.1.1.1 distinfo
--- distinfo    6 Nov 2021 19:00:41 -0000       1.1.1.1
+++ distinfo    29 Jul 2025 13:22:22 -0000
@@ -1,2 +1,2 @@
-SHA256 (wayland-utils-1.0.0.tar.xz) = 
ZP7MTFjoeumzApAavhDC6K9px1A8IhqW7NBwDgqiaMA=
-SIZE (wayland-utils-1.0.0.tar.xz) = 12212
+SHA256 (wayland-utils-1.2.0.tar.xz) = 
2SeMIlVFhogYAlQHUbzEJWkmK/gM2aybD9Ev9L0JqeQ=
+SIZE (wayland-utils-1.2.0.tar.xz) = 15152
Index: patches/patch-meson_build
===================================================================
RCS file: patches/patch-meson_build
diff -N patches/patch-meson_build
--- patches/patch-meson_build   11 Mar 2022 20:04:05 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,18 +0,0 @@
-Index: meson.build
---- meson.build.orig
-+++ meson.build
-@@ -27,6 +27,14 @@ dep_wayland_client = dependency('wayland-client', vers
- config_h = configuration_data()
- config_h.set('_GNU_SOURCE', '1')
- config_h.set('_ALL_SOURCE', '1')
-+if cc.has_header_symbol('errno.h', 'program_invocation_name',
-+                        args: '-D_GNU_SOURCE')
-+   # Linux (glibc, musl)
-+   config_h.set('HAVE_PROGRAM_INVOCATION_NAME', '1')
-+elif cc.has_header_symbol('stdlib.h', 'getprogname')
-+   # Android, BSDs, Solaris
-+   config_h.set('HAVE_GETPROGNAME', '1')
-+endif
- configure_file(output: 'config.h', configuration: config_h)
- 
- subdir('wayland-info')
Index: patches/patch-wayland-info_wayland-info_c
===================================================================
RCS file: patches/patch-wayland-info_wayland-info_c
diff -N patches/patch-wayland-info_wayland-info_c
--- patches/patch-wayland-info_wayland-info_c   11 Mar 2022 20:04:05 -0000      
1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,31 +0,0 @@
-Index: wayland-info/wayland-info.c
---- wayland-info/wayland-info.c.orig
-+++ wayland-info/wayland-info.c
-@@ -255,7 +255,11 @@ static void *
- fail_on_null(void *p, size_t size, char *file, int32_t line)
- {
-       if (p == NULL) {
-+#if defined(HAVE_PROGRAM_INVOCATION_NAME)
-               fprintf(stderr, "[%s] ", program_invocation_short_name);
-+#elif defined(HAVE_GETPROGNAME)
-+                      fprintf(stderr, "[%s] ", getprogname());
-+#endif
-               if (file)
-                       fprintf(stderr, "%s:%d: ", file, line);
-               fprintf(stderr, "out of memory");
-@@ -1750,9 +1754,15 @@ clock_name(clockid_t clk_id)
-       static const char *names[] = {
-               [CLOCK_REALTIME] =              "CLOCK_REALTIME",
-               [CLOCK_MONOTONIC] =             "CLOCK_MONOTONIC",
-+#ifdef CLOCK_MONOTONIC_RAW
-               [CLOCK_MONOTONIC_RAW] = "CLOCK_MONOTONIC_RAW",
-+#endif
-+#ifdef CLOCK_REALTIME_COARSE
-               [CLOCK_REALTIME_COARSE] =       "CLOCK_REALTIME_COARSE",
-+#endif
-+#ifdef CLOCK_MONOTONIC_COARSE
-               [CLOCK_MONOTONIC_COARSE] =      "CLOCK_MONOTONIC_COARSE",
-+#endif
- #ifdef CLOCK_BOOTTIME
-               [CLOCK_BOOTTIME] =              "CLOCK_BOOTTIME",
- #endif

-- 
Matthieu Herrb

Reply via email to