diff --git a/.gitignore b/.gitignore index 6dd4ef1..69b000f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ x264-0.148-20160118-5c65704.tar.bz2 /x264-0.148-20170521-aaa9aa8.tar.bz2 /x264-0.152-20171224-e9a5903.tar.bz2 /x264-0.155-20180806-0a84d98.tar.bz2 +/x264-0.157-20190303-72db437.tar.bz2 diff --git a/sources b/sources index 4ca7a53..67ea432 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -38666b9a1b712f3d0c1073105af2e6a5 x264-0.155-20180806-0a84d98.tar.bz2 +fc5fb1afb4a87a0e65ad966e1d8ea28d x264-0.157-20190303-72db437.tar.bz2 diff --git a/x264-10b.patch b/x264-10b.patch index eb062ca..dc819db 100644 --- a/x264-10b.patch +++ b/x264-10b.patch @@ -1,7 +1,7 @@ diff -up generic10/configure.10b generic10/configure ---- generic10/configure.10b 2016-08-26 19:48:41.447839506 +0200 -+++ generic10/configure 2016-08-26 19:49:26.902033893 +0200 -@@ -1466,6 +1466,12 @@ PROF_USE_LD=$PROF_USE_LD +--- generic10/configure.10b 2016-08-26 19:48:41.447839506 +0200 ++++ generic10/configure 2016-08-26 19:49:26.902033893 +0200 +@@ -1473,6 +1473,12 @@ PROF_USE_LD=$PROF_USE_LD HAVE_OPENCL=$opencl EOF @@ -14,7 +14,7 @@ diff -up generic10/configure.10b generic10/configure if [ $compiler_style = MS ]; then echo 'CC_O=-Fo$@' >> config.mak else -@@ -1505,7 +1511,7 @@ if [ "$shared" = "yes" ]; then +@@ -1512,7 +1518,7 @@ if [ "$shared" = "yes" ]; then echo "SOFLAGS=-shared -Wl,-h,\$(SONAME) $SOFLAGS" >> config.mak else echo "SOSUFFIX=so" >> config.mak @@ -24,9 +24,9 @@ diff -up generic10/configure.10b generic10/configure fi echo 'default: lib-shared' >> config.mak diff -up generic10/Makefile.10b generic10/Makefile ---- generic10/Makefile.10b 2016-06-14 14:04:37.000000000 +0200 -+++ generic10/Makefile 2016-08-26 19:48:41.449839514 +0200 -@@ -405,7 +405,7 @@ ifneq ($(IMPLIBNAME),) +--- generic10/Makefile.10b 2016-06-14 14:04:37.000000000 +0200 ++++ generic10/Makefile 2016-08-26 19:48:41.449839514 +0200 +@@ -398,7 +398,7 @@ ifneq ($(IMPLIBNAME),) $(INSTALL) -m 755 $(SONAME) $(DESTDIR)$(bindir) $(INSTALL) -m 644 $(IMPLIBNAME) $(DESTDIR)$(libdir) else ifneq ($(SONAME),) diff --git a/x264-gpac.patch b/x264-gpac.patch index 19d1a4e..3979342 100644 --- a/x264-gpac.patch +++ b/x264-gpac.patch @@ -1,6 +1,6 @@ ---- x264-0.140-20140122-de0bc36/configure.orig 2014-01-22 23:26:55.922650888 +0000 -+++ x264-0.140-20140122-de0bc36/configure 2014-02-24 02:35:19.263127505 +0000 -@@ -941,7 +941,9 @@ +--- ./configure.orig 2019-03-12 00:41:42.000000000 +0000 ++++ ./configure 2019-03-12 01:10:12.603640526 +0000 +@@ -1207,7 +1207,9 @@ fi if [ "$gpac" = "auto" -a "$lsmash" != "yes" ] ; then gpac="no" GPAC_LIBS="-lgpac_static" diff --git a/x264-sandbox.git-b63c73dc5c37e5405bf032c9113c1daced3e45a4.patch b/x264-sandbox.git-b63c73dc5c37e5405bf032c9113c1daced3e45a4.patch deleted file mode 100644 index e12616d..0000000 --- a/x264-sandbox.git-b63c73dc5c37e5405bf032c9113c1daced3e45a4.patch +++ /dev/null @@ -1,34 +0,0 @@ -From b63c73dc5c37e5405bf032c9113c1daced3e45a4 Mon Sep 17 00:00:00 2001 -From: Henrik Gramner -Date: Tue, 7 Aug 2018 22:42:22 +0200 -Subject: [PATCH] cli: Fix linking with --system-libx264 on x86 - ---- - common/x86/cpu-a.asm | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/common/x86/cpu-a.asm b/common/x86/cpu-a.asm -index d94f7d54..a41d67f8 100644 ---- a/common/x86/cpu-a.asm -+++ b/common/x86/cpu-a.asm -@@ -83,7 +83,7 @@ cglobal cpu_sfence - ;----------------------------------------------------------------------------- - ; intptr_t stack_align( void (*func)(void*), ... ); (up to 5 args) - ;----------------------------------------------------------------------------- --cglobal stack_align -+cvisible stack_align - mov rax, r0mp - mov r0, r1mp - mov r1, r2mp -@@ -131,7 +131,7 @@ cglobal cpu_cpuid_test - popfd - ret - --cglobal stack_align -+cvisible stack_align - push ebp - mov ebp, esp - sub esp, 20 --- -2.11.0 - diff --git a/x264.spec b/x264.spec index 9073ca9..cecdb12 100644 --- a/x264.spec +++ b/x264.spec @@ -1,7 +1,7 @@ -# globals for x264-0.155-20180806-0a84d98.tar.bz2 -%global api 155 -%global gitdate 20180806 -%global gitversion 0a84d98 +# globals for x264-0.157-20190303-72db437.tar.bz2 +%global api 157 +%global gitdate 20190303 +%global gitversion 72db437 %global snapshot %{gitdate}-%{gitversion} %global gver .%{gitdate}git%{gitversion} @@ -31,7 +31,7 @@ Summary: H264/AVC video streams encoder Name: x264 Version: 0.%{api} -Release: 3%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} +Release: 1%{?gver}%{?_with_bootstrap:_bootstrap}%{?dist} License: GPLv2+ URL: https://www.videolan.org/developers/x264.html Source0: %{name}-0.%{api}-%{snapshot}.tar.bz2 @@ -42,7 +42,6 @@ Patch0: x264-nover.patch # add 10b suffix to high bit depth build Patch1: x264-10b.patch Patch10: x264-gpac.patch -Patch20: x264-sandbox.git-b63c73dc5c37e5405bf032c9113c1daced3e45a4.patch BuildRequires: gcc %{!?_without_gpac:BuildRequires: gpac-devel-static zlib-devel openssl-devel libpng-devel libjpeg-devel} @@ -99,7 +98,6 @@ pushd %{name}-0.%{api}-%{snapshot} %patch0 -p1 -b .nover %patch1 -p1 -b .10b %patch10 -p1 -b .gpac -%patch20 -p1 -b .stack_align popd variants="generic generic10" @@ -205,6 +203,10 @@ install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/ %endif %changelog +* Tue Mar 12 2019 Sérgio Basto - 0.157-1.20190303git72db437 +- Update to 0.157 (stable branch) +- Rebase patches + * Tue Mar 05 2019 RPM Fusion Release Engineering - 0.155-3.20180806git0a84d98 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild