Source: vulkan
Severity: wishlist
Tags: patch

Hi,

the Wayland WSI support works now, it can be enabled with the
BUILD_WSI_WAYLAND_SUPPORT CMake option after adding libwayland-dev to
Build-Depends.

regards
Philipp
From 3dbbdadea7e6930fd130200ca23a62834987aab8 Mon Sep 17 00:00:00 2001
From: Philipp Zabel <philipp.za...@gmail.com>
Date: Mon, 5 Sep 2016 07:19:28 +0200
Subject: [PATCH] enable wayland support

---
 debian/control                     |  1 +
 debian/patches/enable-wayland.diff | 13 +++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 15 insertions(+)
 create mode 100644 debian/patches/enable-wayland.diff

diff --git a/debian/control b/debian/control
index afceef3..db10b2e 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
 Uploaders: Timo Aaltonen <tjaal...@debian.org>
 Build-Depends: debhelper (>= 9),
  cmake,
+ libwayland-dev,
  libx11-dev,
  libxcb1-dev,
  pkg-config,
diff --git a/debian/patches/enable-wayland.diff b/debian/patches/enable-wayland.diff
new file mode 100644
index 0000000..2858c68
--- /dev/null
+++ b/debian/patches/enable-wayland.diff
@@ -0,0 +1,13 @@
+Index: vulkan/CMakeLists.txt
+===================================================================
+--- vulkan.orig/CMakeLists.txt
++++ vulkan/CMakeLists.txt
+@@ -22,7 +22,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
+     #         MIR is stubbed and untested 
+     option(BUILD_WSI_XCB_SUPPORT "Build XCB WSI support" ON)
+     option(BUILD_WSI_XLIB_SUPPORT "Build Xlib WSI support" ON)
+-    option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" OFF)
++    option(BUILD_WSI_WAYLAND_SUPPORT "Build Wayland WSI support" ON)
+     option(BUILD_WSI_MIR_SUPPORT "Build Mir WSI support" OFF)
+ 
+     if (BUILD_WSI_XCB_SUPPORT)
diff --git a/debian/patches/series b/debian/patches/series
index d8cfb66..fd2300a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ loader-add-install-rule.diff
 demos-add-install-rule.diff
 layers-install-to-cmake-install-libdir.diff
 use-mxgot-for-mips64.patch
+enable-wayland.diff
-- 
2.9.3

Reply via email to