[vlc-commits] Makefile: generate Wayland code as private

Rémi Denis-Courmont git at videolan.org
Sun May 20 19:50:56 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 19 19:59:34 2018 +0300| [a10086c4c126e29fe9b9fa495e087f13b6c78ae9] | committer: Rémi Denis-Courmont

Makefile: generate Wayland code as private

"code" is deprecated in wayland-scanner.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a10086c4c126e29fe9b9fa495e087f13b6c78ae9
---

 modules/Makefile.am              | 2 +-
 modules/video_output/Makefile.am | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/Makefile.am b/modules/Makefile.am
index 5e2151a051..c1f423d1d4 100644
--- a/modules/Makefile.am
+++ b/modules/Makefile.am
@@ -88,5 +88,5 @@ SUFFIXES += -client-protocol.h -protocol.c .xml
 	$(AM_V_at)mv -f -- "$@.tmp" "$@"
 
 .xml-protocol.c:
-	$(AM_V_GEN)$(WAYLAND_SCANNER) code < "$^" > "$@.tmp"
+	$(AM_V_GEN)$(WAYLAND_SCANNER) private-code < "$^" > "$@.tmp"
 	$(AM_V_at)mv -f -- "$@.tmp" "$@"
diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index 7281340b3f..c27daf8a21 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -200,7 +200,7 @@ video_output/wayland/viewporter-client-protocol.h: \
 
 video_output/wayland/viewporter-protocol.c: \
 		$(WAYLAND_PROTOCOLS)/stable/viewporter/viewporter.xml
-	$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
+	$(AM_V_GEN)$(WAYLAND_SCANNER) private-code $< $@
 
 libwl_shell_plugin_la_SOURCES = video_output/wayland/shell.c
 libwl_shell_plugin_la_CFLAGS = $(WAYLAND_CLIENT_CFLAGS)
@@ -223,7 +223,7 @@ video_output/wayland/xdg-shell-client-protocol.h: \
 
 video_output/wayland/xdg-shell-protocol.c: \
 		$(WAYLAND_PROTOCOLS)/unstable/xdg-shell/xdg-shell-unstable-v5.xml
-	$(AM_V_GEN)$(WAYLAND_SCANNER) code $< $@
+	$(AM_V_GEN)$(WAYLAND_SCANNER) private-code $< $@
 
 video_output/wayland/server-decoration-client-protocol.h: \
 		video_output/wayland/server-decoration.xml



More information about the vlc-commits mailing list