diff --git a/.gitignore b/.gitignore index e8ceb88..6a20884 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /dav1d-0.2.2.tar.gz /dav1d-0.3.0.tar.gz /dav1d-0.4.0.tar.gz +/dav1d-0.5.0.tar.gz diff --git a/0001-arm64-ipred-Make-sure-all-symbols-are-aligned.patch b/0001-arm64-ipred-Make-sure-all-symbols-are-aligned.patch new file mode 100644 index 0000000..c99da8a --- /dev/null +++ b/0001-arm64-ipred-Make-sure-all-symbols-are-aligned.patch @@ -0,0 +1,38 @@ +From a6228f47f0eebcdfebb1753a786e3e1654b51ea4 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Martin=20Storsj=C3=B6?= +Date: Fri, 11 Oct 2019 13:17:36 +0300 +Subject: [PATCH] arm64: ipred: Make sure all symbols are aligned + +If building with debug information enabled, binutils error out with +"unaligned opcodes detected in executable segment", if there are +symbols (even local ones that don't end up in the symbol table) +that point to unaligned addresses in the text section. + +This fixes issue #300. +--- + src/arm/64/ipred.S | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/arm/64/ipred.S b/src/arm/64/ipred.S +index 41b3c1cb..9513212b 100644 +--- a/src/arm/64/ipred.S ++++ b/src/arm/64/ipred.S +@@ -2244,6 +2244,7 @@ L(ipred_cfl_ac_420_tbl): + .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w16) + .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w8) + .hword L(ipred_cfl_ac_420_tbl) - L(ipred_cfl_ac_420_w4) ++ .hword 0 + + L(ipred_cfl_ac_420_w16_tbl): + .hword L(ipred_cfl_ac_420_w16_tbl) - L(ipred_cfl_ac_420_w16_wpad0) +@@ -2432,6 +2433,7 @@ L(ipred_cfl_ac_422_tbl): + .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w16) + .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w8) + .hword L(ipred_cfl_ac_422_tbl) - L(ipred_cfl_ac_422_w4) ++ .hword 0 + + L(ipred_cfl_ac_422_w16_tbl): + .hword L(ipred_cfl_ac_422_w16_tbl) - L(ipred_cfl_ac_422_w16_wpad0) +-- +2.22.0 + diff --git a/dav1d.spec b/dav1d.spec index 4c55f6b..cfccc8b 100644 --- a/dav1d.spec +++ b/dav1d.spec @@ -1,11 +1,13 @@ Name: dav1d -Version: 0.4.0 +Version: 0.5.0 Release: 1%{?dist} Summary: AV1 cross-platform Decoder License: BSD URL: https://code.videolan.org/videolan/dav1d Source0: %url/-/archive/%{version}/%{name}-%{version}.tar.gz +# arm64: ipred: Make sure all symbols are aligned +Patch0: https://code.videolan.org/videolan/dav1d/commit/a6228f47f0eebcdfebb1753a786e3e1654b51ea4.patch#/0001-arm64-ipred-Make-sure-all-symbols-are-aligned.patch BuildRequires: gcc BuildRequires: nasm @@ -30,7 +32,7 @@ Requires: libdav1d%{?_isa} = %{version}-%{release} Development files for dav1d, the AV1 cross-platform Decoder. %prep -%autosetup -n %{name}-%{version} +%autosetup -p1 -n %{name}-%{version} %build %meson --buildtype=release @@ -51,7 +53,7 @@ Development files for dav1d, the AV1 cross-platform Decoder. %files -n libdav1d %license COPYING doc/PATENTS -%{_libdir}/libdav1d.so.2* +%{_libdir}/libdav1d.so.3* %files -n libdav1d-devel %doc %{_host_alias}/doc/html @@ -60,6 +62,9 @@ Development files for dav1d, the AV1 cross-platform Decoder. %{_libdir}/pkgconfig/%{name}.pc %changelog +* Fri Oct 11 2019 Robert-André Mauchin - 0.5.0-1 +- Release 0.5.0 (#1760765) + * Fri Aug 09 2019 Robert-André Mauchin - 0.4.0-1 - Release 0.4.0 (#1708919) diff --git a/sources b/sources index 37e3f7d..c03da2c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dav1d-0.4.0.tar.gz) = f3534ba372382dc9213a51e3b47b2e6be769f591172bc8535cf1f80a2ad7c6acfceabfa0d39839a230d35b7daed57e78852e9c9e2d27f56f566dc9ff5bc3398e +SHA512 (dav1d-0.5.0.tar.gz) = 5e53b9664a2ab3cd2491b89b65646fdd5aef3774a3aca20efd559f4f36b6725068129c27174b2cb596e447c639634c105a2790006c01fae155a703000f64ca95