Bug#908842: libsdl2: Vulkan support not enabled

Sean Bryant bryants at gmail.com
Fri Sep 14 23:06:23 BST 2018


Source: libsdl2
Version: 2.0.8
Severity: important
Tags: patch

Dear Maintainer,

   * What led up to the situation?
Ryan Gordon asked on twitter if anyone knew about why Vulkan was disabled in
the Ubuntu libsdl2 package. I tracked this down the Debian source package.
Simon Quigley, an Ubuntu developer confirmed this and asked for it to be fixed
upstream in Debian.
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
I looked at the commit history and found Vulkan support was disabled with a
note about the package failing to build when Vulkan was enabled. I tracked down
the reason the package failed to build to another option, `SDL_LoadObject` also
being disabled. The commit history doesn't go back far enough to explain why
`SDL_LoadObject` support was also disabled. I sent an email to the sdl
maintainers list to see if I could get some insight but I haven't heard back
and decided to file a bug report.
   * What was the outcome of this action?
I created a patch to enable Vulkan support and SDL_LoadObject support.



-- System Information:
Debian Release: 9.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-7-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
>From 5ea55937182a883ad97a51785e1a6936ed4a9bb2 Mon Sep 17 00:00:00 2001
From: Sean Bryant <bryants at gmail.com>
Date: Wed, 12 Sep 2018 21:26:53 -0700
Subject: [PATCH] enable vulkan support on linux

---
 debian/rules | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3a28a85..9cc5089 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@ SHLIBVER = 2.0.8
 DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-confflags = --disable-rpath --enable-sdl-dlopen --disable-loadso \
+confflags = --disable-rpath --enable-sdl-dlopen --enable-loadso \
             --disable-nas --disable-esd --disable-arts \
             --disable-alsa-shared --disable-pulseaudio-shared \
             --enable-ibus \
@@ -36,9 +36,6 @@ ifeq (kfreefsd,$(findstring kfreebsd,$(DEB_HOST_ARCH_CPU)))
   confflags += --disable-video-wayland
 endif
 
-# the SDL module for Vulkan not compiling even in Linux at the moment
-confflags += --disable-video-vulkan
-
 # disable OpenGLES on Hurd, it does not support it at the moment
 ifeq (hurd,$(findstring hurd,$(DEB_HOST_ARCH_CPU)))
   confflags += --disable--video-opengles
-- 
2.11.0



More information about the Pkg-sdl-maintainers mailing list