diff --git a/.gitignore b/.gitignore index e1cc557..6a20884 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ /dav1d-0.2.1.tar.gz /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 3c6780b..cfccc8b 100644 --- a/dav1d.spec +++ b/dav1d.spec @@ -1,11 +1,13 @@ Name: dav1d -Version: 0.3.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 @@ -16,14 +18,12 @@ BuildRequires: meson >= 0.47.0 dav1d is a new AV1 cross-platform Decoder, open-source, and focused on speed and correctness. - %package -n libdav1d Summary: Library files for dav1d %description -n libdav1d Library files for dav1d, the AV1 cross-platform Decoder. - %package -n libdav1d-devel Summary: Development files for dav1d Requires: libdav1d%{?_isa} = %{version}-%{release} @@ -31,40 +31,29 @@ Requires: libdav1d%{?_isa} = %{version}-%{release} %description -n libdav1d-devel Development files for dav1d, the AV1 cross-platform Decoder. - %prep -%autosetup -n %{name}-%{version} - +%autosetup -p1 -n %{name}-%{version} %build -# https://code.videolan.org/videolan/dav1d/issues/221 -%ifarch %{arm} -export CFLAGS+="%optflags -fPIC" -%endif %meson --buildtype=release %meson_build %meson_build doc/html - %install %meson_install - %check %meson_test - %files %license COPYING doc/PATENTS %doc CONTRIBUTING.md NEWS README.md %{_bindir}/dav1d - %files -n libdav1d %license COPYING doc/PATENTS -%{_libdir}/libdav1d.so.1* - +%{_libdir}/libdav1d.so.3* %files -n libdav1d-devel %doc %{_host_alias}/doc/html @@ -72,8 +61,16 @@ export CFLAGS+="%optflags -fPIC" %{_libdir}/libdav1d.so %{_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) + +* Wed Jul 24 2019 Fedora Release Engineering - 0.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Mon Apr 29 2019 Robert-André Mauchin - 0.3.0-1 - Release 0.3.0 (#1701494) diff --git a/sources b/sources index 84c47f0..c03da2c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (dav1d-0.3.0.tar.gz) = 40f490b8c6ec473f0ea9e33c3062288b681c43db53576ac982a216b83c88af0ef18f2440229cfb5ed0a0a0613b7c11f05514c16476457d93cfbb64ec841ff4fe +SHA512 (dav1d-0.5.0.tar.gz) = 5e53b9664a2ab3cd2491b89b65646fdd5aef3774a3aca20efd559f4f36b6725068129c27174b2cb596e447c639634c105a2790006c01fae155a703000f64ca95