File: 0003-Unvendor-wayland-protocols.patch

package info (click to toggle)
looking-glass 0%2Bb7%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 14,548 kB
  • sloc: ansic: 75,048; cpp: 68,744; python: 455; sh: 184; makefile: 102; awk: 11
file content (24 lines) | stat: -rw-r--r-- 1,035 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: James Lu <james@overdrivenetworks.com>
Date: Sun, 11 Aug 2024 11:47:52 -0700
Subject: Unvendor wayland-protocols

Change WAYLAND_PROTOCOLS_BASE to point to the system wide /usr/share/wayland-protocols/

Forwarded: not-needed
---
 client/displayservers/Wayland/protocol/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/displayservers/Wayland/protocol/CMakeLists.txt b/client/displayservers/Wayland/protocol/CMakeLists.txt
index d262af2..cd65edb 100644
--- a/client/displayservers/Wayland/protocol/CMakeLists.txt
+++ b/client/displayservers/Wayland/protocol/CMakeLists.txt
@@ -27,7 +27,7 @@ macro(wayland_generate protocol_file output_file)
   target_sources(wayland_protocol PRIVATE "${output_file}.h" "${output_file}.c")
 endmacro()
 
-set(WAYLAND_PROTOCOLS_BASE "${PROJECT_TOP}/repos/wayland-protocols")
+set(WAYLAND_PROTOCOLS_BASE "/usr/share/wayland-protocols")
 file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/wayland")
 include_directories("${CMAKE_BINARY_DIR}/wayland")
 wayland_generate(