Switch to gbp pq
This commit is contained in:
parent
d8a56f12fb
commit
396d6d75b9
5 changed files with 44 additions and 30 deletions
6
debian/patches/0001-Use-common-license.patch
vendored
6
debian/patches/0001-Use-common-license.patch
vendored
|
@ -5,12 +5,14 @@ Subject: Use common license
|
||||||
use common license at /usr/share/common-licenses instead of the shipped
|
use common license at /usr/share/common-licenses instead of the shipped
|
||||||
copy
|
copy
|
||||||
---
|
---
|
||||||
obs/window-license-agreement.cpp | 4 +---
|
UI/window-license-agreement.cpp | 4 +---
|
||||||
1 file changed, 1 insertion(+), 3 deletions(-)
|
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
|
--- a/UI/window-license-agreement.cpp
|
||||||
+++ b/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);
|
ui->setupUi(this);
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,17 @@
|
||||||
Description: Various build system fixes
|
From: Sebastian Ramacher <sramacher@debian.org>
|
||||||
This fixes issues with underlinking and build libobs with -fvisibility=hidden
|
Date: Wed, 19 Apr 2017 21:45:40 +0200
|
||||||
to hide internal symbols. It also disables -msse*.
|
Subject: Build system fixes
|
||||||
Author: Sebastian Ramacher <sramacher@debian.org>
|
|
||||||
Last-Update: 2016-02-24
|
|
||||||
|
|
||||||
|
---
|
||||||
|
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
|
--- a/libobs/CMakeLists.txt
|
||||||
+++ b/libobs/CMakeLists.txt
|
+++ b/libobs/CMakeLists.txt
|
||||||
@@ -168,6 +168,23 @@
|
@@ -168,6 +168,23 @@ elseif(UNIX)
|
||||||
${libobs_PLATFORM_DEPS}
|
${libobs_PLATFORM_DEPS}
|
||||||
${X11_XCB_LIBRARIES})
|
${X11_XCB_LIBRARIES})
|
||||||
|
|
||||||
|
@ -30,7 +35,7 @@ Last-Update: 2016-02-24
|
||||||
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD")
|
||||||
# use the sysinfo compatibility library on bsd
|
# use the sysinfo compatibility library on bsd
|
||||||
find_package(Libsysinfo REQUIRED)
|
find_package(Libsysinfo REQUIRED)
|
||||||
@@ -401,15 +418,11 @@
|
@@ -401,15 +418,11 @@ target_compile_definitions(libobs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
HAVE_OBSCONFIG_H)
|
HAVE_OBSCONFIG_H)
|
||||||
|
|
||||||
|
@ -49,6 +54,8 @@ Last-Update: 2016-02-24
|
||||||
target_compile_options(libobs
|
target_compile_options(libobs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
"${THREADS_DEFINITIONS}")
|
"${THREADS_DEFINITIONS}")
|
||||||
|
diff --git a/libobs/util/c99defs.h b/libobs/util/c99defs.h
|
||||||
|
index 43d52c8..4890858 100644
|
||||||
--- a/libobs/util/c99defs.h
|
--- a/libobs/util/c99defs.h
|
||||||
+++ b/libobs/util/c99defs.h
|
+++ b/libobs/util/c99defs.h
|
||||||
@@ -46,7 +46,7 @@
|
@@ -46,7 +46,7 @@
|
24
debian/patches/0003-Use-path-in-usr-lib.patch
vendored
Normal file
24
debian/patches/0003-Use-path-in-usr-lib.patch
vendored
Normal 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, "\" \"");
|
||||||
|
|
19
debian/patches/0003-override-path.patch
vendored
19
debian/patches/0003-override-path.patch
vendored
|
@ -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, "\" \"");
|
|
||||||
|
|
4
debian/patches/series
vendored
4
debian/patches/series
vendored
|
@ -1,3 +1,3 @@
|
||||||
0001-Use-common-license.patch
|
0001-Use-common-license.patch
|
||||||
0002-Buildsystem.patch
|
0002-Build-system-fixes.patch
|
||||||
0003-override-path.patch
|
0003-Use-path-in-usr-lib.patch
|
||||||
|
|
Loading…
Reference in a new issue