[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961779: obs-studio: FTBFS when using SIMDE



Attached is a fix , also available at https://salsa.debian.org/multimedia-team/obs-studio/-/merge_requests/3 for the convenience of the maintainers


On Fri, May 29, 2020 at 7:51 AM Adrian Bunk <bunk@debian.org> wrote:
Source: obs-studio
Version: 25.0.8+dfsg1-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/package.php?p=obs-studio&suite=sid

...
-- No Native SSE2 SIMD Support - Using SIMDE
...
CMake Error at libobs/CMakeLists.txt:482 (add_library):
  Cannot find source file:

    util/simde/check.h
...


--
Michael R. Crusoe
commit 8bdc468f32c8da5edb8ac689fb08a18bfe86ae50
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Date:   Fri May 29 10:30:02 2020 +0200

    remove last references to the bundled simde paths

diff --git a/debian/changelog b/debian/changelog
index d777c65..52e8e8c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+obs-studio (25.0.8+dfsg1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/0009-use-libsimde-dev.patch: update to remove last
+    references to the bundled simde paths (Closes: #961779)
+
+ -- Michael R. Crusoe <crusoe@debian.org>  Fri, 29 May 2020 10:28:38 +0200
+
 obs-studio (25.0.8+dfsg1-1) unstable; urgency=medium
 
   [ Michael R. Crusoe ]
diff --git a/debian/patches/0009-use-libsimde-dev.patch b/debian/patches/0009-use-libsimde-dev.patch
index 4414e8b..1a27581 100644
--- a/debian/patches/0009-use-libsimde-dev.patch
+++ b/debian/patches/0009-use-libsimde-dev.patch
@@ -11,3 +11,19 @@ Subject: Use the simd everywhere headers from libsimde-dev
  
  #define __m128 simde__m128
  #define _mm_setzero_ps simde_mm_setzero_ps
+--- obs-studio.orig/libobs/CMakeLists.txt
++++ obs-studio/libobs/CMakeLists.txt
+@@ -186,13 +186,6 @@
+ 
+ 	if(NEEDS_SIMDE)
+ 		set(libobs_PLATFORM_HEADERS
+-			util/simde/check.h
+-			util/simde/hedley.h
+-			util/simde/mmx.h
+-			util/simde/simde-arch.h
+-			util/simde/simde-common.h
+-			util/simde/sse.h
+-			util/simde/sse2.h
+ 			util/threading-posix.h)
+ 	else()
+ 		set(libobs_PLATFORM_HEADERS

Reply to: