Switch to gbp pq

This commit is contained in:
Sebastian Ramacher 2017-04-19 21:47:41 +02:00
parent d8a56f12fb
commit 396d6d75b9
5 changed files with 44 additions and 30 deletions

View file

@ -5,12 +5,14 @@ Subject: Use common license
use common license at /usr/share/common-licenses instead of the shipped
copy
---
obs/window-license-agreement.cpp | 4 +---
UI/window-license-agreement.cpp | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/UI/window-license-agreement.cpp b/UI/window-license-agreement.cpp
index a7a5f3b..60cad40 100644
--- a/UI/window-license-agreement.cpp
+++ b/UI/window-license-agreement.cpp
@@ -13,9 +13,7 @@
@@ -13,9 +13,7 @@ OBSLicenseAgreement::OBSLicenseAgreement(QWidget *parent)
{
ui->setupUi(this);

View file

@ -1,12 +1,17 @@
Description: Various build system fixes
This fixes issues with underlinking and build libobs with -fvisibility=hidden
to hide internal symbols. It also disables -msse*.
Author: Sebastian Ramacher <sramacher@debian.org>
Last-Update: 2016-02-24
From: Sebastian Ramacher <sramacher@debian.org>
Date: Wed, 19 Apr 2017 21:45:40 +0200
Subject: Build system fixes
---
libobs/CMakeLists.txt | 27 ++++++++++++++++++++-------
libobs/util/c99defs.h | 2 +-
2 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/libobs/CMakeLists.txt b/libobs/CMakeLists.txt
index cd2b80e..de274dd 100644
--- a/libobs/CMakeLists.txt
+++ b/libobs/CMakeLists.txt
@@ -168,6 +168,23 @@
@@ -168,6 +168,23 @@ elseif(UNIX)
${libobs_PLATFORM_DEPS}
${X11_XCB_LIBRARIES})
@ -30,7 +35,7 @@ Last-Update: 2016-02-24
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
# use the sysinfo compatibility library on bsd
find_package(Libsysinfo REQUIRED)
@@ -401,15 +418,11 @@
@@ -401,15 +418,11 @@ target_compile_definitions(libobs
PUBLIC
HAVE_OBSCONFIG_H)
@ -49,6 +54,8 @@ Last-Update: 2016-02-24
target_compile_options(libobs
PUBLIC
"${THREADS_DEFINITIONS}")
diff --git a/libobs/util/c99defs.h b/libobs/util/c99defs.h
index 43d52c8..4890858 100644
--- a/libobs/util/c99defs.h
+++ b/libobs/util/c99defs.h
@@ -46,7 +46,7 @@

View file

@ -0,0 +1,24 @@
From: Sebastian Ramacher <sramacher@debian.org>
Date: Wed, 19 Apr 2017 21:45:52 +0200
Subject: Use path in /usr/lib
---
plugins/obs-ffmpeg/obs-ffmpeg-mux.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/plugins/obs-ffmpeg/obs-ffmpeg-mux.c b/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
index 5d5d533..c25ddcc 100644
--- a/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
@@ -236,7 +236,11 @@ static void build_command_line(struct ffmpeg_muxer *stream, struct dstr *cmd,
num_tracks++;
}
+#ifdef FFMPEG_MUX_FIXED
+ dstr_init_copy(cmd, FFMPEG_MUX_FIXED);
+#else
dstr_init_move_array(cmd, obs_module_file(FFMPEG_MUX));
+#endif
dstr_insert_ch(cmd, 0, '\"');
dstr_cat(cmd, "\" \"");

View file

@ -1,19 +0,0 @@
Description: Override path for ffmpeg-mux
Author: Sebastian Ramacher <sramacher@debian.org>
Forwarded: not-needed
Last-Update: 2016-02-24
--- a/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
@@ -236,7 +236,11 @@
num_tracks++;
}
+#ifdef FFMPEG_MUX_FIXED
+ dstr_init_copy(cmd, FFMPEG_MUX_FIXED);
+#else
dstr_init_move_array(cmd, obs_module_file(FFMPEG_MUX));
+#endif
dstr_insert_ch(cmd, 0, '\"');
dstr_cat(cmd, "\" \"");

View file

@ -1,3 +1,3 @@
0001-Use-common-license.patch
0002-Buildsystem.patch
0003-override-path.patch
0002-Build-system-fixes.patch
0003-Use-path-in-usr-lib.patch