[svt-hevc] Initial commit.
by Vasiliy Glazov
commit 5f65c6f1f858027a764029f61477910a8679aedf
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Wed Nov 13 16:03:49 2019 +0300
Initial commit.
.gitignore | 1 +
d313b632ede3c47945e42289672c08013bc6a56f.patch | 55 +++++++++++++++
sources | 1 +
svt-hevc.spec | 97 ++++++++++++++++++++++++++
4 files changed, 154 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..dfb6aee 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/SVT-HEVC-1.4.1.tar.gz
diff --git a/d313b632ede3c47945e42289672c08013bc6a56f.patch b/d313b632ede3c47945e42289672c08013bc6a56f.patch
new file mode 100644
index 0000000..2fbec2e
--- /dev/null
+++ b/d313b632ede3c47945e42289672c08013bc6a56f.patch
@@ -0,0 +1,55 @@
+From d313b632ede3c47945e42289672c08013bc6a56f Mon Sep 17 00:00:00 2001
+From: Austin Hu <austin.hu(a)intel.com>
+Date: Thu, 19 Sep 2019 06:28:28 +0800
+Subject: [PATCH] Don't compile the binaries as executable stack.
+
+Signed-off-by: Austin Hu <austin.hu(a)intel.com>
+---
+ Source/Lib/ASM_SSE2/x64Macro.asm | 14 ++++++++++++++
+ Source/Lib/ASM_SSE2/x64inc.asm | 14 ++++++++++++++
+ 2 files changed, 28 insertions(+)
+
+diff --git a/Source/Lib/ASM_SSE2/x64Macro.asm b/Source/Lib/ASM_SSE2/x64Macro.asm
+index eaeeac61..7dcb9038 100644
+--- a/Source/Lib/ASM_SSE2/x64Macro.asm
++++ b/Source/Lib/ASM_SSE2/x64Macro.asm
+@@ -28,3 +28,17 @@
+ punpckl%1 xmm%8, xmm%9 ; 67 66 65 64 63 62 61 60 73 63 72 62 71 61 70 60 75 65 55 45 74 64 54 44 76 66 56 46 36 26 16 06
+ punpckh%1 xmm%13, xmm%9 ; 77 76 75 74 73 72 71 70 77 67 76 66 75 65 74 64 77 67 57 47 76 66 56 46 77 67 57 47 37 27 17 07
+ %endmacro
++
++%define FORMAT_ELF 0
++%ifidn __OUTPUT_FORMAT__,elf
++ %define FORMAT_ELF 1
++%elifidn __OUTPUT_FORMAT__,elf32
++ %define FORMAT_ELF 1
++%elifidn __OUTPUT_FORMAT__,elf64
++ %define FORMAT_ELF 1
++%endif
++
++; This is needed for ELF, otherwise the GNU linker assumes the stack is executable by default.
++%if FORMAT_ELF
++ [SECTION .note.GNU-stack noalloc noexec nowrite progbits]
++%endif
+diff --git a/Source/Lib/ASM_SSE2/x64inc.asm b/Source/Lib/ASM_SSE2/x64inc.asm
+index 4440b060..a884545b 100644
+--- a/Source/Lib/ASM_SSE2/x64inc.asm
++++ b/Source/Lib/ASM_SSE2/x64inc.asm
+@@ -323,3 +323,17 @@ bits 64
+ %endif
+ %endmacro
+ %define NEED_EMMS 1
++
++%define FORMAT_ELF 0
++%ifidn __OUTPUT_FORMAT__,elf
++ %define FORMAT_ELF 1
++%elifidn __OUTPUT_FORMAT__,elf32
++ %define FORMAT_ELF 1
++%elifidn __OUTPUT_FORMAT__,elf64
++ %define FORMAT_ELF 1
++%endif
++
++; This is needed for ELF, otherwise the GNU linker assumes the stack is executable by default.
++%if FORMAT_ELF
++ [SECTION .note.GNU-stack noalloc noexec nowrite progbits]
++%endif
diff --git a/sources b/sources
index e69de29..ce172f9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (SVT-HEVC-1.4.1.tar.gz) = 0a41068e7ecbb7d7ec2bd709bfb8b8da3028dbdc7c5c52d1e5bc689722c61fc359312c55ab1b043c9a0d7e8957fce43075f6ec1b24363b0551e4b17c12b5a30f
diff --git a/svt-hevc.spec b/svt-hevc.spec
new file mode 100644
index 0000000..364ca43
--- /dev/null
+++ b/svt-hevc.spec
@@ -0,0 +1,97 @@
+Name: svt-hevc
+Version: 1.4.1
+Release: 1%{?dist}
+Summary: Scalable Video Technology for HEVC Encoder
+
+License: BSD-2-Clause-Patent
+URL: https://github.com/OpenVisualCloud/SVT-HEVC
+Source0: %url/archive/v%{version}/SVT-HEVC-%{version}.tar.gz
+# https://github.com/OpenVisualCloud/SVT-HEVC/issues/364
+Patch0: d313b632ede3c47945e42289672c08013bc6a56f.patch
+
+BuildRequires: gcc
+BuildRequires: cmake
+BuildRequires: yasm
+BuildRequires: meson
+BuildRequires: gstreamer1-devel
+BuildRequires: gstreamer1-plugins-base-devel
+
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+
+ExclusiveArch: x86_64
+
+%description
+The Scalable Video Technology for HEVC Encoder (SVT-HEVC Encoder) is an
+HEVC-compliant encoder library core that achieves excellent density-quality
+tradeoffs, and is highly optimized for Intel® Xeon™ Scalable Processor and
+Xeon™ D processors.
+
+%package libs
+Summary: Libraries for svt-hevc
+
+%description libs
+Libraries for development svt-hevc.
+
+%package devel
+Summary: Include files and mandatory libraries for development svt-hevc
+Requires: %{name}-libs%{?_isa} = %{version}-%{release}
+
+%description devel
+Include files and mandatory libraries for development svt-hevc.
+
+%package -n gstreamer1-%{name}
+Summary: GStreamer 1.0 %{name}-based plug-in
+Requires: gstreamer1-plugins-base%{?_isa}
+
+%description -n gstreamer1-%{name}
+This package provides %{name}-based GStreamer plug-in.
+
+%prep
+%autosetup -p1 -n SVT-HEVC-%{version}
+# Remove unneeded flags
+sed -i 's|-O3)|)|' CMakeLists.txt
+# Patch build gstreamer plugin
+sed -e "s|install: true,|install: true, include_directories : '../Source/API', link_args : '-lSvtHevcEnc',|" \
+-e "/svthevcenc_dep =/d" -e 's|, svthevcenc_dep||' -e "s|svthevcenc_dep.found()|true|" -i gstreamer-plugin/meson.build
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+ %cmake -G Ninja \
+ ..
+popd
+%ninja_build -C %{_target_platform}
+
+pushd gstreamer-plugin
+ export LIBRARY_PATH="$PWD/../Bin/Release:$LIBRARY_PATH"
+ %meson
+ %meson_build
+popd
+
+
+%install
+%ninja_install -C %{_target_platform}
+pushd gstreamer-plugin
+ %meson_install
+popd
+
+%files
+%{_bindir}/SvtHevcEncApp
+
+%files libs
+%license LICENSE.md
+%doc README.md Docs/svt-hevc_encoder_user_guide.md
+%{_libdir}/libSvtHevcEnc.so.1*
+
+%files devel
+%{_includedir}/%{name}
+%{_libdir}/libSvtHevcEnc.so
+%{_libdir}/pkgconfig/*.pc
+
+%files -n gstreamer1-%{name}
+%{_libdir}/gstreamer-1.0/libgstsvthevcenc.so
+
+%changelog
+* Tue Sep 17 2019 Vasiliy Glazov <vascom2(a)gmail.com> - 1.4.1-1
+- Initial release
5 years, 1 month
[chromium-freeworld] Remove: jumbo build from spec as it is going to get removed! https://groups.google.com/a/chromium.o
by hellbanger
commit 58fd912a4038650b1c6b2c05791a3dd26aa8f1cf
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Wed Nov 13 18:17:15 2019 +0530
Remove: jumbo build from spec as it is going to get removed! https://groups.google.com/a/chromium.org/forum/?utm_medium=email&utm_sour...
chromium-freeworld.spec | 12 ------------
1 file changed, 12 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 2d03e97..cf2338f 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -60,9 +60,6 @@
#Turn on verbose mode
%global debug_logs 0
-#Allow jumbo builds
-# Enabled by default
-%global jumbo 1
#------------------------------------------------------
#Build debug packages for debugging
%global debug_pkg 0
@@ -613,15 +610,6 @@ gn_args+=(
is_clang=false
)
-#Jumbo stuff
-gn_args+=(
-%if %{jumbo}
- use_jumbo_build=true
- jumbo_file_merge_limit=6
- concurrent_links=1
-%endif
-)
-
#Pipewire
gn_args+=(
%if 0%{?fedora} >= 29
5 years, 1 month
[smplayer/el7] (4 commits) ...Drop patch4, upstream did a similar fix.
by Sérgio M. Basto
Summary of changes:
32093c0... Use https instead http in URLs (*)
1388ce5... deleted smtube-18.11.0-system-qtsingleapplication.patch (*)
a3e9e79... Update to 19.10.2 (*)
335c8e4... Drop patch4, upstream did a similar fix. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 1 month
[smplayer/f30] (4 commits) ...Drop patch4, upstream did a similar fix.
by Sérgio M. Basto
Summary of changes:
32093c0... Use https instead http in URLs (*)
1388ce5... deleted smtube-18.11.0-system-qtsingleapplication.patch (*)
a3e9e79... Update to 19.10.2 (*)
335c8e4... Drop patch4, upstream did a similar fix. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 1 month
[smplayer/f31] (4 commits) ...Drop patch4, upstream did a similar fix.
by Sérgio M. Basto
Summary of changes:
32093c0... Use https instead http in URLs (*)
1388ce5... deleted smtube-18.11.0-system-qtsingleapplication.patch (*)
a3e9e79... Update to 19.10.2 (*)
335c8e4... Drop patch4, upstream did a similar fix. (*)
(*) This commit already existed in another branch; no separate mail sent
5 years, 1 month
[smplayer] Drop patch4, upstream did a similar fix.
by Sérgio M. Basto
commit 335c8e42e0e8faf31cbaf938c567dc3a7053cdb2
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Nov 13 02:36:04 2019 +0000
Drop patch4, upstream did a similar fix.
smplayer-19.5.0-webserver.patch | 15 ---------------
smplayer.spec | 3 +--
2 files changed, 1 insertion(+), 17 deletions(-)
---
diff --git a/smplayer.spec b/smplayer.spec
index 811476f..3b3412c 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -14,7 +14,6 @@ Source4: https://downloads.sourceforge.net/smplayer/smplayer-skins-%{smpl
# https://bugzilla.rpmfusion.org/show_bug.cgi?id=1217
Patch0: smplayer-0.8.3-desktop-files.patch
Patch2: smplayer-14.9.0.6966-system-qtsingleapplication.patch
-Patch4: smplayer-19.5.0-webserver.patch
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
@@ -79,7 +78,6 @@ rm -rf src/qtsingleapplication/
%patch0 -p1 -b .desktop-files
%patch2 -p1 -b .qtsingleapplication
-%patch4 -p1 -b .webserver
# correction for wrong-file-end-of-line-encoding
%{__sed} -i 's/\r//' *.txt
@@ -172,6 +170,7 @@ fi
%changelog
* Wed Nov 13 2019 Sérgio Basto <sergio(a)serjux.com> - 19.10.2-1
- Update to 19.10.2
+- Drop patch4, upstream did a similar fix.
* Tue Oct 29 2019 Sérgio Basto <sergio(a)serjux.com> - 19.10.0-1
- Update smplayer to 19.10.0 (with fix for new mpv)
5 years, 1 month
[smplayer] Update to 19.10.2
by Sérgio M. Basto
commit a3e9e79aad465846c92ed18a2f770bdce9f4141d
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Nov 13 02:19:40 2019 +0000
Update to 19.10.2
.gitignore | 1 +
smplayer.spec | 5 ++++-
sources | 2 +-
update_smplayer.sh | 2 +-
4 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eb34e8e..39fac40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,3 +53,4 @@ smtube-16.3.0.tar.bz2
/smplayer-19.5.0.tar.bz2
/smtube-19.6.0.tar.bz2
/smplayer-19.10.0.tar.bz2
+/smplayer-19.10.2.tar.bz2
diff --git a/smplayer.spec b/smplayer.spec
index f335c8c..811476f 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -1,5 +1,5 @@
Name: smplayer
-Version: 19.10.0
+Version: 19.10.2
%global smplayer_themes_ver 18.6.0
%global smplayer_skins_ver 15.2.0
Release: 1%{?dist}
@@ -170,6 +170,9 @@ fi
%{_datadir}/smplayer/themes/
%changelog
+* Wed Nov 13 2019 Sérgio Basto <sergio(a)serjux.com> - 19.10.2-1
+- Update to 19.10.2
+
* Tue Oct 29 2019 Sérgio Basto <sergio(a)serjux.com> - 19.10.0-1
- Update smplayer to 19.10.0 (with fix for new mpv)
diff --git a/sources b/sources
index 541d0fb..2ad3f74 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
-SHA512 (smplayer-19.10.0.tar.bz2) = d41394ad61d23af96f94510f9162d9a3b2c88b66cc2bcc17b2210072ad53c322369eda149edccc4ec459b8d65b7ea80a5e1ce3cdbd1ec266b2cf6b4f189dc9c3
+SHA512 (smplayer-19.10.2.tar.bz2) = 46327a1f988cfe8fe4e04f456057c2395f5ad011513988c1ffecf5c91cf2fdedbe8095cfba15f0f61c3e1cabc7f34b78d676bce430a79fcf542d74e14a33ec62
SHA512 (smplayer-themes-18.6.0.tar.bz2) = e16f2dc50015b0034134a096ca99603167309c31bb50a44679c343b5f9c0ea786a17a0fb64eb1d71c61dacbd2a295adc0a82d23bd0837adf96664120f33adda6
SHA512 (smplayer-skins-15.2.0.tar.bz2) = 58d1dcc9caf5d93b7f0692ffa7ff4875eb8dd83db78293aee25a713a1f6007c83af556215cd1f7666dec98bc323b074c6b1fdb66eb9560176db842669c206a83
diff --git a/update_smplayer.sh b/update_smplayer.sh
index 8d28f72..db54bbd 100755
--- a/update_smplayer.sh
+++ b/update_smplayer.sh
@@ -1,4 +1,4 @@
-version=19.10.0
+version=19.10.2
#stube_ver=19.6.0
themes_ver=18.6.0
skins_ver=15.2.0
5 years, 1 month
[chromium-freeworld/f30: 2/2] Merge branch 'master' into f30
by Vasiliy Glazov
commit 50b388e9a3d67270fe5f64c8ae6fe21a8f72debb
Merge: 1ddd956 53eeef4
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Tue Nov 12 16:49:35 2019 +0300
Merge branch 'master' into f30
chromium-freeworld.spec | 5 ++++-
sources | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
---
5 years, 1 month