[vlc-commits] [Git][videolan/vlc][master] wayland: require wayland-protocols 1.33 and use stable linux-dmabuf protocol

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun May 10 08:56:32 UTC 2026



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
2802f158 by Fatih Uzunoglu at 2026-05-10T10:42:17+02:00
wayland: require wayland-protocols 1.33 and use stable linux-dmabuf protocol

wayland-protocols 1.33 marks linux-dmabuf
as stable with version 5. No code change
is required because it is backward compatible.

I have also updated wayland-scanner to
its first stable release after the protocols
1.33 update.

I have checked the other unstable protocols
that we are using, such as xdg decorations,
and idle inhibit, and realized that they are
still unstable.

For the record, wayland-protocols 1.33 was
released in January 2024, and wayland-scanner
1.23 was released in May 2024.

- - - - -


3 changed files:

- configure.ac
- modules/meson.build
- modules/video_output/wayland/Makefile.am


Changes:

=====================================
configure.ac
=====================================
@@ -3502,7 +3502,7 @@ AS_IF([test "${enable_wayland}" != "no"], [
     wl_err="$wl_err ${WAYLAND_EGL_PKG_ERRORS}."
   ])
   AS_VAR_SET_IF(WAYLAND_SCANNER, [],[
-    PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner >= 1.15], [
+    PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner >= 1.23], [
       WAYLAND_SCANNER="$(${PKG_CONFIG} wayland-scanner --variable wayland_scanner)"
     ], [
       wl_err="$wl_err ${WAYLAND_SCANNER_PKG_ERRORS}."
@@ -3510,7 +3510,7 @@ AS_IF([test "${enable_wayland}" != "no"], [
   ])
 
   dnl wayland-protocols
-  PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= 1.15], [
+  PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= 1.33], [
     WAYLAND_PROTOCOLS="$(${PKG_CONFIG} wayland-protocols --variable pkgdatadir)"
   ], [
     wl_err="$wl_err ${WAYLAND_PROTOCOLS_PKG_ERRORS}."


=====================================
modules/meson.build
=====================================
@@ -25,10 +25,10 @@ xcb_xfixes_dep = dependency('xcb-xfixes', required: xcb_auto_option)
 
 # Check for Wayland
 if (host_system != 'darwin' and host_system != 'windows') or get_option('xcb').enabled()
-    wayland_scanner_dep = dependency('wayland-scanner', version: '>= 1.15',
+    wayland_scanner_dep = dependency('wayland-scanner', version: '>= 1.23',
         required: get_option('wayland'), native: true)
 
-    wayland_protocols_dep = dependency('wayland-protocols', version: '>= 1.15',
+    wayland_protocols_dep = dependency('wayland-protocols', version: '>= 1.33',
         required: get_option('wayland'))
 
     wayland_deps = [


=====================================
modules/video_output/wayland/Makefile.am
=====================================
@@ -69,12 +69,12 @@ video_output/wayland/xdg-decoration-protocol.c: \
 	$(AM_V_GEN)$(WAYLAND_SCANNER) private-code $< $@
 
 video_output/wayland/linux-dmabuf-client-protocol.h: \
-		$(WAYLAND_PROTOCOLS)/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml \
+		$(WAYLAND_PROTOCOLS)/stable/linux-dmabuf/linux-dmabuf-v1.xml \
 		video_output/Makefile.am
 	$(AM_V_GEN)$(WAYLAND_SCANNER) client-header $< $@
 
 video_output/wayland/linux-dmabuf-protocol.c: \
-		$(WAYLAND_PROTOCOLS)/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml \
+		$(WAYLAND_PROTOCOLS)/stable/linux-dmabuf/linux-dmabuf-v1.xml \
 		video_output/Makefile.am
 	$(AM_V_GEN)$(WAYLAND_SCANNER) private-code $< $@
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2802f1582588ed1c822cda8b4876c7ece5424fac

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/2802f1582588ed1c822cda8b4876c7ece5424fac
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list