[chromium-freeworld] xEnable expired vaapi support
by Leigh Scott
commit c3e5074f969c8329fa28141e3818dab064962907
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Aug 26 22:07:57 2021 +0100
xEnable expired vaapi support
chromium-freeworld.spec | 8 +++++-
extend-enable-accelerated-video-decode-flag.patch | 35 +++++++++++++++++++++++
2 files changed, 42 insertions(+), 1 deletion(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 14a64b7..e9cd71c 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -25,7 +25,7 @@
##############################Package Definitions######################################
Name: chromium-freeworld
Version: 92.0.4515.159
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: Chromium built with all freeworld codecs and VA-API support
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
URL: https://www.chromium.org/Home
@@ -150,6 +150,9 @@ ExclusiveArch: x86_64
Patch201: chromium-92-EnumTable-crash.patch
Patch202: chromium-92-crashpad-consent.patch
+# Archlinux patches:
+Patch230: extend-enable-accelerated-video-decode-flag.patch
+
# Upstream patches:
Patch251: chromium-sandbox-syscall-broker-use-struct-kernel_stat.patch
Patch252: chromium-sandbox-fix-fstatat-crash.patch
@@ -695,6 +698,9 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
+* Thu Aug 26 2021 Leigh Scott <leigh123linux(a)gmail.com> - 92.0.4515.159-5
+- Enable expired vaapi support
+
* Wed Aug 25 2021 Leigh Scott <leigh123linux(a)gmail.com> - 92.0.4515.159-4
- Disable eu-strip
diff --git a/extend-enable-accelerated-video-decode-flag.patch b/extend-enable-accelerated-video-decode-flag.patch
new file mode 100644
index 0000000..51e346f
--- /dev/null
+++ b/extend-enable-accelerated-video-decode-flag.patch
@@ -0,0 +1,35 @@
+From e48f18eba0eae199ba7bc8a6a09ebf39799447c1 Mon Sep 17 00:00:00 2001
+From: Ted Meyer <tmathmeyer(a)chromium.org>
+Date: Wed, 2 Jun 2021 05:35:22 +0000
+Subject: [PATCH] Extend enable-accelerated-video-decode flag for linux to m93
+
+It appears that there is insistence that the flag be totally removed or
+have its end-milestone increased, I can't just let it wait until the
+feature is working again and then re-enable it. So i've moved it to 93.
+
+R=dalecurtis
+
+Fixed: 1207478
+Change-Id: I26a5e790cd390825516b4a4b6af88e89b2d4f4eb
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2918478
+Reviewed-by: Dale Curtis <dalecurtis(a)chromium.org>
+Reviewed-by: Ted Meyer <tmathmeyer(a)chromium.org>
+Commit-Queue: Ted Meyer <tmathmeyer(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#888312}
+---
+ chrome/browser/flag-metadata.json | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
+index 67e0330436..34542671f2 100644
+--- a/chrome/browser/flag-metadata.json
++++ b/chrome/browser/flag-metadata.json
+@@ -1193,7 +1193,7 @@
+ {
+ "name": "enable-accelerated-video-decode",
+ "owners": [ "media-dev(a)chromium.org" ],
+- "expiry_milestone": 90
++ "expiry_milestone": 93
+ },
+ {
+ "name": "enable-accessibility-live-caption",
3 years, 2 months
[libopenshot] Add opencv build requires
by Leigh Scott
commit 3e6d7f65b722c86c90379a49d0344509e4ac140a
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Aug 26 20:26:00 2021 +0100
Add opencv build requires
libopenshot.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libopenshot.spec b/libopenshot.spec
index 7f2f701..546f17f 100644
--- a/libopenshot.spec
+++ b/libopenshot.spec
@@ -25,6 +25,7 @@ BuildRequires: cmake
BuildRequires: alsa-lib-devel
BuildRequires: ImageMagick-c++-devel
BuildRequires: ffmpeg-devel
+BuildRequires: opencv-devel
BuildRequires: protobuf-devel
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qtmultimedia-devel
3 years, 2 months
[libopenshot] Add missing alsa build requires
by Leigh Scott
commit ef5c1224d59d2ade4e23052058dbe883f79f3667
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Aug 26 20:02:43 2021 +0100
Add missing alsa build requires
libopenshot.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/libopenshot.spec b/libopenshot.spec
index 5a40155..7f2f701 100644
--- a/libopenshot.spec
+++ b/libopenshot.spec
@@ -22,6 +22,7 @@ BuildRequires: cmake3
%else
BuildRequires: cmake
%endif
+BuildRequires: alsa-lib-devel
BuildRequires: ImageMagick-c++-devel
BuildRequires: ffmpeg-devel
BuildRequires: protobuf-devel
3 years, 2 months
[libopenshot] New upstream release
by Leigh Scott
commit 665578ca6a1c7db5767100245b4d879d78cff834
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Aug 26 19:49:19 2021 +0100
New upstream release
.gitignore | 1 +
gcc10_fix.patch | 51 ---------------------------------------------------
libopenshot.spec | 28 +++++++++++++++++-----------
sources | 2 +-
test_fix.patch | 45 ---------------------------------------------
5 files changed, 19 insertions(+), 108 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e6489e8..fa31da1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,3 +14,4 @@ libopenshot-0.0.6.tar.gz
/libopenshot-c685571.tar.gz
/libopenshot-0.2.4.tar.gz
/libopenshot-0.2.5.tar.gz
+/libopenshot-0.2.6.tar.gz
diff --git a/libopenshot.spec b/libopenshot.spec
index ecc9757..5a40155 100644
--- a/libopenshot.spec
+++ b/libopenshot.spec
@@ -4,24 +4,27 @@
%define _lto_cflags %{nil}
Name: libopenshot
-Version: 0.2.5
-Release: 10%{?dist}
+Version: 0.2.6
+Release: 1%{?dist}
Summary: Library for creating and editing videos
License: LGPLv3+
URL: http://www.openshot.org/
Source0: %{github_url}/archive/v%{version}/%{name}-%{version}.tar.gz
-Patch0: %{github_url}/commit/13290364e7bea54164ab83d973951f2898ad9e23.patch#/gcc10_fix.patch
-Patch1: %{github_url}/commit/f71051e8f1add0b893ffaa9a799625017978e7f8.patch#/test_fix.patch
# libopenshot is completely broken on ppc64le, see rfbz #5528
ExcludeArch: ppc64le
BuildRequires: gcc-c++
%{?el7:BuildRequires: epel-rpm-macros}
+%if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: cmake3
+%else
+BuildRequires: cmake
+%endif
BuildRequires: ImageMagick-c++-devel
BuildRequires: ffmpeg-devel
+BuildRequires: protobuf-devel
BuildRequires: qt5-qttools-devel
BuildRequires: qt5-qtmultimedia-devel
BuildRequires: unittest-cpp-devel
@@ -77,16 +80,14 @@ applications that use %{name}.
%autosetup -p1
%build
-
-#export CXXFLAGS="%{optflags} -Wl,--as-needed %{__global_ldflags}"
%cmake3 -Wno-dev -DCMAKE_BUILD_TYPE:STRING=Release .
-%cmake_build
+%cmake3_build
%check
-%cmake_build --target os_test || :
+%cmake3_build --target test || :
%install
-%cmake_install
+%cmake3_install
%if 0%{?rhel} && 0%{?rhel} <= 7
%ldconfig_scriptlets
@@ -95,11 +96,13 @@ applications that use %{name}.
%files
%doc AUTHORS README.md
%license COPYING
-%{_libdir}/*.so.*
+%{_libdir}/%{name}.so.*
+%{_libdir}/%{name}_protobuf.so.*
%files devel
%{_includedir}/%{name}/
-%{_libdir}/*.so
+%{_libdir}/%{name}.so
+%{_libdir}/%{name}_protobuf.so
%files -n python%{python3_pkgversion}-libopenshot
%{python3_sitearch}/*
@@ -108,6 +111,9 @@ applications that use %{name}.
%{ruby_vendorarchdir}/*
%changelog
+* Thu Aug 26 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.6-1
+- New upstream release
+
* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.2.5-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index 2dad97d..225f4c5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (libopenshot-0.2.5.tar.gz) = b7cdf72897e6edaa8cc00e17dbe30f5b22a6b5d69aab64ddafb184458b41ef0332db1f3e2c6f039492bf7adb521d9758834d0bf6c24e6421a55970d8cf8caba7
+SHA512 (libopenshot-0.2.6.tar.gz) = 13706733280e8c70638a02ad220e6a84f3d26a5a35f5f8f1b820408236aeda8bd8683e19a85a0d466007a1d711ca31bb436f8d4ca4fb6ffbfe169b2976dea525
3 years, 2 months
[libopenshot-audio] New upstream release
by Leigh Scott
commit 1251e575b507131c7fdd22ece743cbf9458ffe7b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Aug 26 17:47:45 2021 +0100
New upstream release
.gitignore | 1 +
libopenshot-audio.spec | 27 +++++++++++++++++----------
sources | 3 +--
3 files changed, 19 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 826f559..bad23f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,3 +9,4 @@ libopenshot-audio-0.0.6.tar.gz
/libopenshot-audio-7001b68.tar.gz
/libopenshot-audio-0.1.9.tar.gz
/libopenshot-audio-0.2.0.tar.gz
+/libopenshot-audio-0.2.1.tar.gz
diff --git a/libopenshot-audio.spec b/libopenshot-audio.spec
index 7d8430a..4528aa5 100644
--- a/libopenshot-audio.spec
+++ b/libopenshot-audio.spec
@@ -1,6 +1,6 @@
Name: libopenshot-audio
-Version: 0.2.0
-Release: 5%{?dist}
+Version: 0.2.1
+Release: 1%{?dist}
Summary: Audio library used by OpenShot
License: GPLv3+
@@ -11,7 +11,11 @@ Source0: https://github.com/OpenShot/%{name}/archive/v%{version}/%{name}-
ExcludeArch: ppc64le
BuildRequires: gcc-c++
+%if 0%{?rhel} && 0%{?rhel} <= 7
BuildRequires: cmake3
+%else
+BuildRequires: cmake
+%endif
BuildRequires: alsa-lib-devel
BuildRequires: zlib-devel
@@ -35,13 +39,12 @@ developing applications that use %{name}.
%build
-#export CXXFLAGS="%{optflags} -Wl,--as-needed"
%cmake3
-%cmake_build
+%cmake3_build
%install
-%cmake_install
+%cmake3_install
%if 0%{?rhel} && 0%{?rhel} <= 7
%ldconfig_scriptlets
@@ -49,17 +52,21 @@ developing applications that use %{name}.
%files
%doc AUTHORS COPYING README.md
-%{_libdir}/*.so.*
+%{_libdir}/%{name}.so.*
%files devel
%doc
-%{_bindir}/openshot-audio-test-sound
-%{_includedir}/*
-%{_libdir}/*.so
-%{_mandir}/man1/*.1*
+%{_bindir}/openshot-audio-demo
+%{_includedir}/%{name}/
+%{_libdir}/%{name}.so
+%{_libdir}/cmake/OpenShotAudio/
+%{_mandir}/man1/openshot-audio-demo.1*
%changelog
+* Thu Aug 26 2021 Leigh Scott <leigh123linux(a)gmail.com> - 0.2.1-1
+- New upstream release
+
* Tue Aug 03 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
diff --git a/sources b/sources
index 737c34d..99b0fa8 100644
--- a/sources
+++ b/sources
@@ -1,2 +1 @@
-SHA512 (libopenshot-audio-0.1.9.tar.gz) = 8113bf6f5747b0f72391a30560f49c97b13c68994097170797cdfeb44813791b90b073a6caffc91ba1a2153a41b86e8c1b188de0daaec3f5c785013c049c1b4d
-SHA512 (libopenshot-audio-0.2.0.tar.gz) = c014a619f32283a8482e0df9224785610a9563073fbd98378367f28f713afa1dc9873d212a40352d3c96040004344f16084e5fe30e4cf64c57309f96e66068c1
+SHA512 (libopenshot-audio-0.2.1.tar.gz) = 2d9182f6e25df188a4502cea331de15363e4fa013e7f6d173602326cce60530d317300682d057bf03c7af6fbdc930a76226c3c5b135ef040145c0c997bc394d6
3 years, 2 months
[chromium-freeworld] Another sandbox fix
by Leigh Scott
commit 970e263a483e402b55c8cc29497fadadbd4578c8
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Aug 25 18:09:00 2021 +0100
Another sandbox fix
chromium-freeworld.spec | 1 +
chromium-sandbox-clone3.patch | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 56c662f..14a64b7 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -160,6 +160,7 @@ Patch301: chromium-gcc11.patch
Patch302: chromium-py3-fixes.patch
Patch303: chromium-java-only-allowed-in-android-builds.patch
Patch304: chromium-freetype-2.11.patch
+Patch305: chromium-sandbox-clone3.patch
Patch1303: chromium-rawhide-gcc-std-max-fix.patch
# RPM Fusion patches [free/chromium-freeworld]:
diff --git a/chromium-sandbox-clone3.patch b/chromium-sandbox-clone3.patch
new file mode 100644
index 0000000..a439935
--- /dev/null
+++ b/chromium-sandbox-clone3.patch
@@ -0,0 +1,16 @@
+diff -up chromium-92.0.4515.107/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc.clone3 chromium-92.0.4515.107/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+--- chromium-92.0.4515.107/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc.clone3 2021-08-16 09:05:35.836277326 -0400
++++ chromium-92.0.4515.107/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc 2021-08-16 09:06:17.420502628 -0400
+@@ -178,6 +178,12 @@ ResultExpr EvaluateSyscallImpl(int fs_de
+ return RestrictCloneToThreadsAndEPERMFork();
+ }
+
++ // clone3 takes a pointer argument which we cannot examine, so return ENOSYS
++ // to force the libc to use clone. See https://crbug.com/1213452.
++ if (sysno == __NR_clone3) {
++ return Error(ENOSYS);
++ }
++
+ if (sysno == __NR_fcntl)
+ return RestrictFcntlCommands();
+
3 years, 2 months