Changes of Revision 96

obs-studio.changes Changed
x
 
1
@@ -1,4 +1,1248 @@
2
 -------------------------------------------------------------------
3
+Sat Sep 24 16:13:45 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
4
+
5
+- Disable cef for other than x86_64 archs
6
+- Disable i586 builds
7
+- Improve cef_binary handling
8
+- Build with C++17 standard
9
+
10
+-------------------------------------------------------------------
11
+Sat Sep 24 10:41:06 UTC 2022 - Hans-Peter Jansen <hpj@urpla.net>
12
+
13
+- Rename and add more luajit engines:
14
+  0002-Include-moonjit.patch -> 0002-Include-diverse-luajit.patch
15
+- Add cef build conditional
16
+- Update to cef_binary_4638_linux64.tar.bz2
17
+- Add some missing deps
18
+- Enable fdupes
19
+- Failed to add/enable libsndio
20
+
21
+-------------------------------------------------------------------
22
+Sat Sep 24 08:33:25 UTC 2022 - hpj@urpla.net
23
+
24
+- Update to version 28.0.2:
25
+  * libobs: Update version to 28.0.2
26
+  * obs-filter: Update model for NVIDIA Audio FX
27
+  * UI: Fix crash when removing filter after changing a value
28
+  * obs-transitions: Allow fetching source properties without source
29
+  * mac-avcapture: Allow fetching source properties without source
30
+  * mac-capture: Allow fetching source properties without source
31
+  * coreaudio-encoder: Allow fetching source properties without source
32
+  * UI: Fix Light theme Studio Mode labels and T-bar
33
+  * obs-vst: Make VST editor buttons reflect UI and VST loaded state
34
+  * obs-vst: Add public function to check for load state of VST
35
+  * obs-vst: Fix crash on macOS when no VST bundle was loaded
36
+  * obs-vst: Allow fetching source properties without source
37
+  * mac-virtualcam: Fix distorted virtual cam image when using full range
38
+  * mac-virtualcam: Fix virtualcam video on Intel-based Macs
39
+  * UI: Update volume controls decay rate on profile switch
40
+  * mac-capture: Undeprecate traditional capture sources on macOS 12
41
+  * CI: Fix Xcode selection in new runner image
42
+  * CI: Switch to Xcode Beta
43
+  * libobs/util: Reject plugins linking Qt5 library for Linux
44
+  * CI: Fix service check workflow using outdated cache
45
+  * UI: Refine YouTube dialog
46
+  * obs-outputs: Drop unused config file
47
+  * rtmp-services: Add Livepush to service list
48
+  * libobs: Add support for reading NV12/YUY2 PQ/HLG
49
+  * w32-pthreads: Add pthread.h as public header
50
+  * libobs-opengl: Disable deprecation warnings on macOS
51
+  * UI: Fix source name edit textbox not accepting input on enter
52
+  * UI: Ignore left-click on non-multiview projectors
53
+  * cmake: Fix rundir installation accepting DESTDIR environment variable
54
+  * linux-v4l2: Remove redundant non-NULL check on FILE
55
+  * linux-v4l2: Fix resource leak on device open error path
56
+  * cmake: Fix CMake package files not being installed on FreeBSD
57
+  * deps: Fix broken prefix for obspython binary module on Linux
58
+  * UI: Fix hotkey settings screen not accepting all input on macOS
59
+  * libobs: Add support for reading I420 HLG
60
+  * linux-capture: Ensure name pixmap is checked
61
+  * UI: Don't mark all widgets in main window as native on macOS
62
+  * UI: Remove spacing from scene and source tree
63
+  * image-source: Update media states when source is de-/activated
64
+  * UI: Don't save/overwrite browser docks if CEF hasn't loaded
65
+  * graphics-hook: Print DXGI swap chain desc
66
+  * graphics-hook: Remove unused code
67
+  * libobs/media-io: Create scaler in more cases
68
+  * decklink: Set output range and color space
69
+  * decklink-output-ui: Set preview color range
70
+  * libobs: Remove unnecessary branch
71
+  * win-capture: Remove unused wildcard code
72
+  * obs-ffmpeg: Fix memory leak with mpegts
73
+  * UI: Fix non-Windows vstrprintf
74
+  * cmake: Fix Sparkle framework permissions
75
+  * UI/updater: CMake: Add /utf-8 to MSVC command line
76
+  * UI/updater: Fix manifest XML namespace for dpiAware setting
77
+  * libobs-winrt,win-capture: Allow forcing SDR
78
+  * image-source: Add JXR HDR support to slide show
79
+  * Revert "UI: Remove "Resize output (source size)" menu"
80
+  * libobs: Update version to 28.0.1
81
+  * UI/updater: Only run updater on Windows 10+
82
+  * win-dshow: Update libdshowcapture
83
+  * Revert "win-dshow: Save and restore video device config props"
84
+  * decklink: Keep deckLinkConfiguration while in use
85
+  * decklink: Remove unnecessary AddRef
86
+  * obs-ffmpeg: Fix seek offset being calculated incorrectly
87
+  * UI/updater: Fix files with similar hashes clashing
88
+  * UI/updater: Fix silent failure on auto-update
89
+  * UI/updater: Fix wrong parameter order for MessageBox
90
+  * UI/updater: Use a unique temp path for patch files
91
+  * win-dshow: Fix avermedia HDR tonemapping
92
+  * UI: Remove button box setIcon
93
+  * UI: Fix Previous icon in System
94
+  * UI: Fix padding on context bar buttons in Dark
95
+  * UI: Fix scene list crash
96
+  * libobs: Update version to 28.0.0
97
+  * UI: Fix "Stop Virtual Camera" button color
98
+  * obs-ffmpeg: Always reset timestamp
99
+  * UI: Remove reset-timestamp option
100
+  * UI: Fix missing files warning icon
101
+  * UI: Fix context bar being squished
102
+  * UI: Remove individual sources (for now) from vcam config
103
+  * obs-ffmpeg: NVENC "(new)" begone
104
+  * plugins: Update obs-websocket to 5.0.2 (Crowdin translations)
105
+  * libobs-opengl: Use a simple 24bit framebuffer
106
+  * UI: Fix properties tool button styling
107
+  * UI: Make list widget styles consistent
108
+  * UI: Fix styling of buttons in scene switcher dialog
109
+  * UI: Add HTTP header if the update check is manually initiated
110
+  * Update translations from Crowdin
111
+  * UI: Fix source tree hovering being inconsistent
112
+  * UI: Show sizing grip in dialogs where resizing is useful
113
+  * UI: Use QDialog for all dialogs
114
+  * UI/updater: Delete files listed as removed in manifest
115
+  * obs-ffmpeg: Log codec when creating NVENC encoders
116
+  * UI: Fix padding on context bar buttons in System and Dark themes
117
+  * obs-ffmpeg: Rename NVENC type for clarity
118
+  * obs-ffmpeg: Fix NVENC HEVC regression
119
+  * UI: Fix scene list spacing (#7202)
120
+  * UI: Get correct coordinates for items in Scene Grid Mode
121
+  * UI: Fix scrollbar enablement in Scene Grid Mode
122
+  * UI: Resize SceneTree after dropEvent
123
+  * UI: Change groupbox radius
124
+  * UI: Make settings margins consistant
125
+  * UI: Fix position of Sources dock actions on horizontal resize
126
+  * plugins: Rename Partial to Limited in localization files
127
+  * obs-ffmpeg: Add AVContentLightMetadata to MPEG-TS
128
+  * libobs: Extend NVIDIA anti-flicker to desktops
129
+  * obs-ffmpeg: Don't use NVENC async mode
130
+  * UI: Add workaround for scenes being unselected
131
+  * mac-capture: Remove explicit call to setBackgroundColor
132
+  * obs-ffmpeg: Fix NVENC async usage pattern
133
+  * UI: Fix crash with adding source
134
+  * UI: Fix source item widget color height
135
+  * obs-filters: Clarify that HDR Tone Mapping filter is optional
136
+  * libobs: Avoid display clear workaround if possible
137
+  * libobs: Increase texture encode buffering
138
+  * obs-ffmpeg: In AMF, use bframe count + 1 as DTS offset
139
+  * obs-ffmpeg: Set max AMF consecutive bframes to 3 by default
140
+  * obs-filters: Fix HDR tonemap filter for scRGB
141
+  * mac-capture: Replace false with 0
142
+  * UI: Widen Edit Transform inputs to fit suffix in Yami
143
+  * rtmp-services: Update Streamvi
144
+  * UI: Fix small font size on macOS and fallback font
145
+  * UI: Copy va_list in strprintf on non-Windows
146
+  * UI: Force expand.svg in menu arrows
147
+  * UI: Increase QGroupBox title padding
148
+  * UI: Unify context menus
149
+  * UI: Cleanup QMenu QSS
150
+  * UI: Unify all border radii
151
+  * libobs: Use system header notation for pthread.h include
152
+  * obs-ffmpeg: Change AMF bitrate to kbps
153
+  * UI: Simplify multiview projector removal
154
+  * UI: Remove allProjectors list
155
+  * UI: Fix extra browsers trash icon
156
+  * UI: Fix crash when toggling volume control mode
157
+  * libobs-opengl: Fix Mac projector color space
158
+  * libobs: Fix Windows 10/11 Gamemode/HAGS detection
159
+  * libobs: Emulate clear with draw for displays
160
+  * UI: Fix color select buttons with Yami
161
+  * CI: Bump Linux CEF build to disable GTK
162
+  * UI: Force fixed font in plain text edits
163
+  * mac-capture: Use cleaner render patterns
164
+  * UI: Fix scripts dialog buttons
165
+  * UI: Fix disabled sliders color
166
+  * UI: Fix fields not growing in FFmpeg output settings
167
+  * UI: Use bigger default size for button dock
168
+  * obs-ffmpeg: Fix AMF encoder lockup with older AMD cards
169
+  * obs-ffmpeg: Use AMD example PTS/DTS offset
170
+  * cmake: Set RELEASE_CANDIDATE/BETA based on git describe
171
+  * ffmpeg-mux: Do not output error if non-fatal error
172
+  * Revert "ffmpeg-mux: Disable stdout/stderr on Windows"
173
+  * ffmpeg-mux: Disable stdout/stderr on Windows
174
+  * UI/installer: Update references to dependencies for 28.0.0
175
+  * UI: Remove separate trash icon themeID
176
+  * UI: Properly register VoidFunc in Meta Object System
177
+  * mac-capture: Clip gamut to sRGB
178
+  * UI: Reset volume/media sliders on theme change
179
+  * Revert "flatpak: Install CMake config files"
180
+  * flatpak: Avoid cleaning all pkgconfig files
181
+  * CI: Update Flatpak image to KDE 6.3
182
+  * cmake: Fix missing interface include directory on Framework export
183
+  * UI: Use backspace icon to indicate "Clear" in hotkey-edit
184
+  * mac-capture: Add missing locale text
185
+  * rtmp-services: Remove defunct servers/services
186
+  * libobs: Initialize main_view video mix before video thread
187
+  * obs-ffmpeg: Fix ffmpeg_output memory leak
188
+  * Revert "libobs: Correctly set texture size"
189
+  * win-dshow: Incorporate Elgato submodule
190
+  * UI: Check for virtual camera enablement before loading config
191
+  * libobs: Correctly set texture size Correctly set texture size according to the frame to be rendered this time. Fixes the mismatch between frame and texture when async-delay-filter on.
192
+  * UI: Remove spaces from translation keys
193
+  * Revert "UI: Don't set theme if it didn't change"
194
+  * UI: Correctly draw sub-item SpacingHelper on group
195
+  * UI: Don't show sub-item SpacingHelper on locked group
196
+  * UI: Save virtual camera outside of the modules object
197
+  * UI: Reintroduce faster theme switching
198
+  * UI: Remove unused stylesheet code
199
+  * UI: Free virtual cam memory on shutdown
200
+  * obs-x264: Remove unused HDR code
201
obs-studio.spec Changed
141
 
1
@@ -1,18 +1,30 @@
2
+
3
+# Chromium Embedded Framework
4
+%ifarch x86_64
5
+%bcond_without cef
6
+%define cef_binary cef_binary_4638_linux64
7
+%else
8
+%bcond_with cef
9
+%endif
10
+
11
 Name:           obs-studio
12
-Version:        27.2.4
13
+Version:        28.0.2
14
 Release:        0
15
 Summary:        A recording/broadcasting program
16
 Group:          Productivity/Multimedia/Video/Editors and Convertors
17
 License:        GPL-2.0
18
 URL:            https://obsproject.com/
19
 Source:         %{name}-%{version}.tar.xz
20
-Source17:       cef_binary_4280_linux64.tar.bz2
21
-Patch0:         0002-Include-moonjit.patch
22
+%if %{with cef}
23
+Source17:       %{cef_binary}.tar.bz2
24
+%endif
25
+Patch0:         0002-Include-diverse-luajit.patch
26
 Patch1:         0001-Prefix-modinfo-with-sbin-since-not-in-normal-path.patch
27
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
28
 BuildRequires:  update-desktop-files
29
 BuildRequires:  cmake >= 2.8.12
30
 BuildRequires:  fdk-aac-devel
31
+BuildRequires:  fdupes
32
 BuildRequires:  fontconfig-devel
33
 BuildRequires:  freetype2-devel
34
 BuildRequires:  gcc
35
@@ -36,6 +48,7 @@
36
 BuildRequires:  mbedtls-devel
37
 BuildRequires:  pipewire-devel
38
 BuildRequires:  pkgconfig
39
+BuildRequires:  pkgconfig(alsa)
40
 BuildRequires:  pkgconfig(jack)
41
 BuildRequires:  pkgconfig(libavcodec)
42
 BuildRequires:  pkgconfig(libavdevice)
43
@@ -44,15 +57,21 @@
44
 BuildRequires:  pkgconfig(libavutil)
45
 BuildRequires:  pkgconfig(libswresample)
46
 BuildRequires:  pkgconfig(libswscale)
47
+BuildRequires:  pkgconfig(librist)
48
 BuildRequires:  pkgconfig(lua)
49
 BuildRequires:  pkgconfig(luajit)
50
+BuildRequires:  pkgconfig(srt)
51
 BuildRequires:  python3-devel
52
 %if 0%{?suse_version} != 1315 || 0%{?is_opensuse}
53
 BuildRequires:  speexdsp-devel
54
 %endif
55
 BuildRequires:  swig
56
 BuildRequires:  vlc-devel
57
-ExclusiveArch:  i586 x86_64 aarch64
58
+%if %{with cef}
59
+BuildRequires:  mozilla-nss
60
+BuildRequires:  mozilla-nspr
61
+%endif
62
+ExclusiveArch:  x86_64 aarch64
63
 
64
 %description
65
 Open Broadcaster Software is free and open source software for video recording and live streaming.
66
@@ -66,29 +85,38 @@
67
 Open Broadcaster Software is free and open source software for video recording and live streaming.
68
 
69
 %prep
70
-%autosetup -a 17 -p1
71
+%autosetup -p1
72
+%if %{with cef}
73
+tar xvf %{SOURCE17} -C %{_builddir}
74
+%endif
75
 
76
 %build
77
 mkdir -p build && cd build
78
 # does not like cmake macro as it fails to link in math.h (-lm)
79
 cmake \
80
+  -DCMAKE_CXX_STANDARD=17 \
81
+  -DCMAKE_INSTALL_PREFIX=/usr \
82
   -DUNIX_STRUCTURE=1 \
83
 %if "%{_lib}" == "lib64"
84
   -DOBS_MULTIARCH_SUFFIX=64 \
85
 %endif
86
-  -DCMAKE_INSTALL_PREFIX=/usr \
87
   -DOBS_VERSION_OVERRIDE="$(echo "%{version}" | grep -oE "^^++")" \
88
+  -DENABLE_AJA=OFF \
89
 %if 0%{?sle_version} > 150000 && 0%{?sle_version} < 150500 && 0%{?is_opensuse}
90
   -DENABLE_PIPEWIRE=OFF \
91
 %endif
92
+%if %{with cef}
93
+  -DBUILD_BROWSER=ON \
94
+  -DCEF_ROOT_DIR="%{_builddir}/%{cef_binary}" \
95
+%else
96
   -DBUILD_BROWSER=OFF \
97
+%endif
98
   ..
99
-# Close, but needs some work.
100
-#   -DCEF_ROOT_DIR="../cef_binary_4280_linux64" \
101
 
102
 %install
103
 %cmake_install
104
 %suse_update_desktop_file com.obsproject.Studio
105
+%fdupes %{buildroot}%{_datadir}/obs/
106
 
107
 %post
108
 /sbin/ldconfig
109
@@ -104,12 +132,12 @@
110
 # Upstream forces libs dir regardless of arch and building plugins is encumbered
111
 # by moving them to the proper directory.
112
 %{_libdir}/obs-plugins
113
-%{_libdir}/libobs.so.0
114
+%{_libdir}/libobs.so.*
115
+%{_libdir}/libobsglad.so.*
116
 %{_libdir}/libobs-frontend-api.so.*
117
 %{_libdir}/libobs-opengl.so.*
118
-%{_libdir}/libobs-scripting.so
119
+%{_libdir}/libobs-scripting.so.*
120
 %{_libdir}/obs-scripting
121
-%{_libdir}/libobsglad.so.0
122
 %dir %{_datadir}/metainfo
123
 %{_datadir}/metainfo/com.obsproject.Studio.appdata.xml
124
 %{_datadir}/applications/com.obsproject.Studio.desktop
125
@@ -117,12 +145,12 @@
126
 %{_datadir}/obs
127
 
128
 %files devel
129
-%{_libdir}/cmake
130
 %{_libdir}/libobs.so
131
+%{_libdir}/libobsglad.so
132
 %{_libdir}/libobs-frontend-api.so
133
 %{_libdir}/libobs-opengl.so
134
-%{_libdir}/libobsglad.so
135
+%{_libdir}/libobs-scripting.so
136
+%{_libdir}/cmake
137
 %{_libdir}/pkgconfig/libobs.pc
138
 %{_includedir}/obs
139
-
140
 %changelog
141
0002-Include-diverse-luajit.patch Added
20
 
1
@@ -0,0 +1,18 @@
2
+Index: b/cmake/Modules/FindLuajit.cmake
3
+===================================================================
4
+--- a/cmake/Modules/FindLuajit.cmake
5
++++ b/cmake/Modules/FindLuajit.cmake
6
+@@ -37,7 +37,12 @@ find_path(
7
+     luajit-2.1
8
+     include/luajit-2.1
9
+     luajit2.1
10
+-    include/luajit2.1)
11
++    include/luajit2.1
12
++    luajit5.1
13
++    include/luajit-5_1-2.1
14
++    moonjit-2.2
15
++    include/moonjit-2.2
16
++)
17
+ 
18
+ find_library(
19
+   LUAJIT_LIB
20
0002-Include-moonjit.patch Deleted
27
 
1
@@ -1,25 +0,0 @@
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
_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/27.2.4</param>
6
+    <param name="revision">refs/tags/28.0.2</param>
7
     <param name="url">https://github.com/obsproject/obs-studio.git</param>
8
     <param name="scm">git</param>
9
     <param name="changesgenerate">enable</param>
10
_servicedata Changed
11
 
1
@@ -1,6 +1,6 @@
2
 <servicedata>
3
   <service name="tar_scm">
4
     <param name="url">https://github.com/obsproject/obs-studio.git</param>
5
-    <param name="changesrevision">aab14ba29a759037e42610f127ba844f17dbd416</param>
6
+    <param name="changesrevision">087ee39e2d8b9240b2ada1492fc7ad85102084ab</param>
7
   </service>
8
-</servicedata>
9
+</servicedata>
10
\ No newline at end of file
11
cef_binary_4280_linux64.tar.bz2 -> cef_binary_4638_linux64.tar.bz2 Changed
obs-studio-27.2.4.tar.xz -> obs-studio-28.0.2.tar.xz Changed