Changes of Revision 90

obs-studio.changes Changed
x
 
1
@@ -1,4 +1,601 @@
2
 -------------------------------------------------------------------
3
+Fri Jun 18 22:54:05 UTC 2021 - Jimmy Berry <jimmy@boombatower.com>
4
+
5
+- Rebase patches:
6
+  - 0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
7
+  - 0002-Include-moonjit.patch
8
+- Add OBS packaged cef_binary_4280_linux64.tar.bz2.
9
+- Include browser build cmake options.
10
+- Add dependencies:
11
+  - libqt5-qtbase-private-headers-devel
12
+  - pipewire-devel
13
+- Disabled browser build as needs more packaging work.
14
+
15
+-------------------------------------------------------------------
16
+Fri Jun 18 19:10:41 UTC 2021 - jimmy@boombatower.com
17
+
18
+- Update to version 27.0.1:
19
+  * UI: Fix unused parameter warning
20
+  * Update translations from Crowdin
21
+  * libobs,deps/media-playback: Avoid bitfields
22
+  * UI: Fix context bar crash
23
+  * libobs: Update version to 27.0.1
24
+  * UI: Handle mac-vth264 encoder ID change
25
+  * UI: Optimize backup scene for undo/redo
26
+  * obs-ffmpeg: Add missing return statement
27
+  * UI: Fix filters changes not properly being added to undo stack
28
+  * obs-ffmpeg: NVENC usage fixes
29
+  * UI: Translate Undo action "Delete Scene" and include scene name
30
+  * obs-ffmpeg: Support lack of Psycho Visual Tuning
31
+  * UI: Don't execute or track empty SceneItem move actions
32
+  * Revert "UI: Cleanup on_scenes_currentItemChanged function"
33
+  * obs-ffmpeg: Add linear alpha setting
34
+  * deps/media-playback: Plumb linear alpha flag
35
+  * libobs: Plumb linear alpha flag
36
+  * Revert "UI: Fix spamming of log when setting current scene"
37
+  * CI: Bump dmgbuild to 1.5.2 to fix detach error
38
+  * UI: Disable Copy Filters in scene list for scene with no filters
39
+  * UI: Disable Copy Filters in Audio Mixer for source with no filters
40
+  * obs-filters: Fix swapped chroma distance values
41
+  * libobs: Assume sRGB instead of linear for 64 bpp
42
+  * libobs: Restrict direct filtering to SRGB match
43
+  * UI: Disable drag/drop on Linux scenes/sources (for now)
44
+  * CI: Fix dmgbuild breaking CI by pinning its version number
45
+  * libobs: Update version to 27.0.0
46
+  * UI: Remove scene collection undo/redo actions
47
+  * Update translations from Crowdin
48
+  * obs-filters: Test if NVAFX is supported on load
49
+  * UI: Fix OBS signal recursion
50
+  * obs-transitions: Disable separate track matte file for now
51
+  * UI: Correct add_action repeatable arg type
52
+  * libobs: Straight alpha blend for filtered inputs
53
+  * UI: Fix null string being passed to blog()
54
+  * UI: Add Group/Ungroup Undo/Redo actions
55
+  * UI: Do not allow new undo actions while undo disabled
56
+  * UI: Add OBSBasic::BackupScene() with scene param
57
+  * cmake: Fix Detours package name CMake warning
58
+  * graphics-hook: Add Detours include dir
59
+  * CI: Add check for code signing credentials used by notarization
60
+  * win-capture: Remove D3D12 fix toggle
61
+  * UI: Fix hide undo/redo not working with group items
62
+  * libobs: Add obs_group_or_scene_from_source()
63
+  * win-capture: Bump graphics hook version to 1.5.0
64
+  * graphics-hook: Try multiple D3D12 queues
65
+  * graphics-hook: Do not persist device unnecessarily
66
+  * graphics-hook: More logging to help debugging
67
+  * graphics-hook: Kill early return
68
+  * graphics-hook: Give up on DXGI swap chain
69
+  * graphics-hook: Reduce variable scopes
70
+  * graphics-hook: Prevent recursive free
71
+  * graphics-hook: Fix potential D3D12 device leak
72
+  * graphics-hook: Use Detours for D3D12 hook
73
+  * graphics-hook: Link Detours library
74
+  * cmake: Add module for Detours
75
+  * CI: Add versioning for dependencies zip file
76
+  * obs-vst: Remove unused code
77
+  * decklink-output-ui: Stop outputs when unloading
78
+  * decklink-output-ui: Render texrender once per frame
79
+  * UI: Add versioned sources to scene collection importer
80
+  * UI: Fix scene collection importer OS translation
81
+  * obs-transitions: Make sure gs calls are in graphics context
82
+  * obs-filters: Fix blend state for Scale filter
83
+  * obs-filters: Premultiply alpha for precision
84
+  * libobs: Add srgb.h to CMakeLists.txt
85
+  * obs-transitions: Fix memory leak
86
+  * UI: Add paste source undo/redo actions
87
+  * UI: Add disable push/pop to undo/redo stack
88
+  * UI: Use "enabled" instead of "disabled" variable name
89
+  * UI: Rename enable/disable funcs for undo/redo stack
90
+  * cmake: Fix FindJack to support finding PipeWire's libjack
91
+  * decklink: Fix crash during shutdown when output is on
92
+  * obs-filters: Fix color key distance
93
+  * libobs: Remove DrawAlphaBlend technique
94
+  * image-source: Premultiply images on load
95
+  * libobs: Support premultiplying images on load
96
+  * libobs: Fix direct rendering test
97
+  * obs-transitions: Use texrender with stacked track mattes
98
+  * obs-transitions: Fix track matte rendering improper sizes
99
+  * obs-transitions: Fix annoying log message
100
+  * obs-transitions: Only check matte duration if matte exists
101
+  * obs-transitions: Free matte texrender when not in use
102
+  * obs-transitions: Remove unnecessary matrix push/pop
103
+  * obs-transitions: Reset track matte texture in tick
104
+  * Revert transition scaling fix
105
+  * frontend-plugins: Fix script properties not updating
106
+  * Revert "rtmp-services: Add Odysee.com"
107
+  * obs-transitions: Blend in linear space
108
+  * rtmp-service: Rename "stream key" for dacast
109
+  * UI: Clear fade to black source
110
+  * UI: Simplify fade to black code
111
+  * cmake: Remove outdated osxbundle files
112
+  * flatpak: Cleanup unwanted static libraries
113
+  * Revert "flatpak: Disable obs-browser build"
114
+  * UI: Disable transition props menu when transitioning
115
+  * rtmp-services: Add Odysee.com
116
+  * rtmp-services: Add Brime Live service
117
+  * obs-filters: Fix unreferenced variable warning
118
+  * libobs: Mark unused parameters
119
+  * libobs: Fix uninitialized variable warning
120
+  * libobs: Fix deadlock removing scene item
121
+  * libobs-winrt,win-capture: Cursor toggle exceptions
122
+  * win-capture: Fix WGC disable index for display
123
+  * image-source: Premultiply alpha in shader
124
+  * libobs: Support 64 bpp images
125
+  * libobs: Add DrawAlphaBlend technique
126
+  * obs-filters: Fix shader for LUT on OpenGL
127
+  * image-source: Allow linear space alpha
128
+  * obs-browser: Add SRGB flag
129
+  * win-capture: Remove SRGB code
130
+  * text-freetype2: Remove SRGB code
131
+  * win-capture: Add OBS_SOURCE_SRGB flag
132
+  * obs-text: Add OBS_SOURCE_SRGB flag
133
+  * mac-capture: Add OBS_SOURCE_SRGB flag
134
+  * linux-capture: Add OBS_SOURCE_SRGB flag
135
+  * image-source: Add OBS_SOURCE_SRGB flag
136
+  * libobs, obs-filters: SRGB backwards compatibility
137
+  * UI: Fix rounding truncation
138
+  * obs-transitions: Remove dead code
139
+  * docs: Remove block quotes (#4621)
140
+  * win-dshow: Add support for ASUS coupled audio
141
+  * obs-browser: Update version to 2.14.2
142
+  * README.rst: Use High DPI Discord Badge
143
+  * UI: Move clearing of copy/paste variables
144
+  * CI: Remove unneeded runtime deps
145
+  * UI: Fix proprty Undo not updating settings properly
146
+  * text-freetype2: Fix empty text not updating source
147
+  * libobs: Add obs_source_reset_settings()
148
+  * UI: Remove duplicate include
149
+  * UI: Fix Undo/Redo for pasting multiple filters
150
+  * obs-filters: Increase opacity precision
151
+  * UI: Add Undo/Redo for single filter copy/paste
152
+  * UI: Add Undo/Redo for pasting multiple filters
153
+  * libobs: Add functions to backup/restore filters
154
+  * obs-filters: Fix bad math in Color Key v1
155
+  * UI: Fix missing files dialog starting hidden (macOS)
156
+  * UI: Fix audio filter changes not being added to undo
157
+  * UI: Fix audio filters being deleted not getting added to undo
158
+  * UI: Fix undo/redo enabling redo with no items in redo
159
+  * obs-filters: Handle premultiplied alpha input
160
+  * libobs: Don't force premultiplied alpha on filters
161
+  * CI: Use a stable version of the Flatpak action
162
+  * UI: Use std::bind for visibility undo/redo action
163
+  * UI: Add Undo/Redo for volume change/mute via main fader
164
+  * UI: Add Undo/Redo items for adv. audio properties
165
+  * UI: Add repeat protection for Undo/Redo
166
+  * UI: Remove unnecessary Undo/Redo cleanup func
167
+  * obs-filters: Use correct branding for NVIDIA Noise Removal
168
+  * UI: Cleanup on_scenes_currentItemChanged function
169
+  * UI: Add undo/redo actions for move up/down/top/bottom
170
+  * text-freetype2: Render in nonlinear space
171
+  * obs-filters: Check NVAFX is enabled before using mutexes
172
+  * libobs: Fix crash in missingfiles when source is invalid
173
+  * obs-filters: Better describe denoiser methods in menu
174
+  * obs-filters: RTX denoiser, initialize only output channels
175
+  * obs-filters: Initialize NVIDIA AFX in a thread
176
+  * image-source: Use DrawNonlinearAlpha
177
+  * libobs: Render async video with DrawNonlinearAlpha
178
+  * libobs: Filter using premultiplied alpha
179
+  * docs: Fix erroneous code example
180
+  * libobs: Add DrawNonlinearAlpha technique
181
+  * UI: Use scene backup/undo/redo funcs for reordering
182
+  * UI: Refactor scene action undo/redo
183
+  * libobs: Add obs_data_get_last_json()
184
+  * obs-transitions: Nonlinear SRGB, swipe
185
+  * obs-transitions: Nonlinear SRGB, slide
186
+  * obs-transitions: Nonlinear SRGB, luma wipe
187
+  * obs-transitions: Nonlinear SRGB, fade
188
+  * obs-transitions: Nonlinear SRGB, fade to color
189
+  * UI: Add missing locale text for reorder undo/redo
190
+  * UI: Add undo/redo for source reordering
191
+  * UI: Fix imported scene collection names duplicating
192
+  * rtmp-services: Update Twitter.com
193
+  * rtmp-services: Add Luzento.com
194
+  * obs-transitions: Crop output of stinger media player
195
+  * obs-transitions: Remove scaling of track matte texture
196
+  * UI: Delete unimplemented declaration, LoadProfile()
197
+  * CI: Use flatpak-builder subaction
198
+  * CI,cmake: Fix macOS version information
199
+  * linux-v4l2: Use flatpak-spawn when inside a Flatpak sandbox
200
+  * UI: Fix crash when closing missing files window
201
obs-studio.spec Changed
54
 
1
@@ -1,13 +1,14 @@
2
 Name:           obs-studio
3
-Version:        26.1.1
4
+Version:        27.0.1
5
 Release:        0
6
 Summary:        A recording/broadcasting program
7
 Group:          Productivity/Multimedia/Video/Editors and Convertors
8
 License:        GPL-2.0
9
 URL:            https://obsproject.com/
10
 Source:         %{name}-%{version}.tar.xz
11
-Patch0:         fix-luajit-include-path.patch
12
-Patch1:         modinfo-use-full-path.patch
13
+Source17:       cef_binary_4280_linux64.tar.bz2
14
+Patch0:         0002-Include-moonjit.patch
15
+Patch1:         0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
16
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
17
 BuildRequires:  update-desktop-files
18
 BuildRequires:  cmake >= 2.8.12
19
@@ -24,12 +25,14 @@
20
 BuildRequires:  libjansson-devel
21
 BuildRequires:  libpulse-devel
22
 BuildRequires:  libqt5-qtbase-devel >= 5.3
23
+BuildRequires:  libqt5-qtbase-private-headers-devel
24
 BuildRequires:  libqt5-qtsvg-devel
25
 BuildRequires:  libqt5-qtx11extras-devel >= 5.3
26
 BuildRequires:  libudev-devel
27
 BuildRequires:  libv4l-devel
28
 BuildRequires:  libx264-devel
29
 BuildRequires:  mbedtls-devel
30
+BuildRequires:  pipewire-devel
31
 BuildRequires:  pkgconfig
32
 BuildRequires:  pkgconfig(jack)
33
 BuildRequires:  pkgconfig(libavcodec)
34
@@ -61,7 +64,7 @@
35
 Open Broadcaster Software is free and open source software for video recording and live streaming.
36
 
37
 %prep
38
-%autosetup -p1
39
+%autosetup -a 17 -p1
40
 
41
 %build
42
 mkdir -p build && cd build
43
@@ -73,7 +76,10 @@
44
 %endif
45
   -DCMAKE_INSTALL_PREFIX=/usr \
46
   -DOBS_VERSION_OVERRIDE="$(echo "%{version}" | grep -oE "^[^+]+")" \
47
+  -DBUILD_BROWSER=OFF \
48
   ..
49
+# Close, but needs some work.
50
+#   -DCEF_ROOT_DIR="../cef_binary_4280_linux64" \
51
 
52
 %install
53
 %cmake_install
54
0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch Added
27
 
1
@@ -0,0 +1,25 @@
2
+From c465c8bf5860a0b8f9a644cbf3c6b5e08ec9450d Mon Sep 17 00:00:00 2001
3
+From: Jimmy Berry <jimmy@boombatower.com>
4
+Date: Fri, 18 Jun 2021 17:31:56 -0500
5
+Subject: [PATCH 1/2] Prefix modinfo with /sbin since not in normal path.
6
+
7
+---
8
+ plugins/linux-v4l2/v4l2-output.c | 2 +-
9
+ 1 file changed, 1 insertion(+), 1 deletion(-)
10
+
11
+diff --git a/plugins/linux-v4l2/v4l2-output.c b/plugins/linux-v4l2/v4l2-output.c
12
+index 05ac70b42..d48088ad4 100644
13
+--- a/plugins/linux-v4l2/v4l2-output.c
14
++++ b/plugins/linux-v4l2/v4l2-output.c
15
+@@ -86,7 +86,7 @@ bool loopback_module_available()
16
+       return true;
17
+   }
18
+ 
19
+-  if (run_command("modinfo v4l2loopback >/dev/null 2>&1") == 0) {
20
++  if (run_command("/sbin/modinfo v4l2loopback >/dev/null 2>&1") == 0) {
21
+       return true;
22
+   }
23
+ 
24
+-- 
25
+2.31.1
26
+
27
0002-Include-moonjit.patch Added
27
 
1
@@ -0,0 +1,25 @@
2
+From c81dae130a61a27f47cd89d06232a442eb63a2da Mon Sep 17 00:00:00 2001
3
+From: Jimmy Berry <jimmy@boombatower.com>
4
+Date: Fri, 18 Jun 2021 17:33:49 -0500
5
+Subject: [PATCH 2/2] Include moonjit.
6
+
7
+---
8
+ cmake/Modules/FindLuajit.cmake | 2 ++
9
+ 1 file changed, 2 insertions(+)
10
+
11
+diff --git a/cmake/Modules/FindLuajit.cmake b/cmake/Modules/FindLuajit.cmake
12
+index ddd094803..ac5db2365 100644
13
+--- a/cmake/Modules/FindLuajit.cmake
14
++++ b/cmake/Modules/FindLuajit.cmake
15
+@@ -48,6 +48,8 @@ FIND_PATH(LUAJIT_INCLUDE_DIR
16
+       include/luajit-2.1
17
+       luajit2.1
18
+       include/luajit2.1
19
++      moonjit-2.2
20
++      include/moonjit-2.2
21
+       )
22
+ 
23
+ find_library(LUAJIT_LIB
24
+-- 
25
+2.31.1
26
+
27
fix-luajit-include-path.patch Deleted
13
 
1
@@ -1,11 +0,0 @@
2
---- obs-studio-26.0.2/cmake/Modules/FindLuajit.cmake   2020-10-06 17:49:58.000000000 +0200
3
-+++ obs-studio-26.0.2-luafix/cmake/Modules/FindLuajit.cmake    2020-10-18 18:55:51.636447909 +0200
4
-@@ -48,6 +48,8 @@
5
-       include/luajit-2.1
6
-       luajit2.1
7
-       include/luajit2.1
8
-+      moonjit-2.2
9
-+      include/moonjit-2.2
10
-       )
11
- 
12
- find_library(LUAJIT_LIB
13
modinfo-use-full-path.patch Deleted
15
 
1
@@ -1,13 +0,0 @@
2
-Index: obs-studio-26.1.0/plugins/linux-v4l2/linux-v4l2.c
3
-===================================================================
4
---- obs-studio-26.1.0.orig/plugins/linux-v4l2/linux-v4l2.c
5
-+++ obs-studio-26.1.0/plugins/linux-v4l2/linux-v4l2.c
6
-@@ -31,7 +31,7 @@ static bool v4l2loopback_installed()
7
- {
8
-   bool loaded = false;
9
- 
10
--  int ret = system("modinfo v4l2loopback >/dev/null 2>&1");
11
-+  int ret = system("/sbin/modinfo v4l2loopback >/dev/null 2>&1");
12
- 
13
-   if (ret == 0)
14
-       loaded = true;
15
_service Changed
10
 
1
@@ -1,7 +1,7 @@
2
 <services>
3
   <service name="tar_scm" mode="disabled">
4
     <param name="versionformat">@PARENT_TAG@</param>
5
-    <param name="revision">refs/tags/26.1.1</param>
6
+    <param name="revision">refs/tags/27.0.1</param>
7
     <param name="url">git://github.com/jp9000/obs-studio.git</param>
8
     <param name="scm">git</param>
9
     <param name="changesgenerate">enable</param>
10
_servicedata Changed
9
 
1
@@ -1,6 +1,6 @@
2
 <servicedata>
3
   <service name="tar_scm">
4
     <param name="url">git://github.com/jp9000/obs-studio.git</param>
5
-    <param name="changesrevision">dffa8221124106bc2a4c92e5f5d0fa21128a61f6</param>
6
+    <param name="changesrevision">cd5873e9bcfaf9cc2614939ddb3264bea919be4a</param>
7
   </service>
8
 </servicedata>
9
cef_binary_4280_linux64.tar.bz2 Added
obs-studio-26.1.1.tar.xz -> obs-studio-27.0.1.tar.xz Changed