Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rav1e for openSUSE:Factory checked in at 2021-07-16 22:12:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rav1e (Old) and /work/SRC/openSUSE:Factory/.rav1e.new.2632 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rav1e" Fri Jul 16 22:12:30 2021 rev:9 rq:905264 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rav1e/rav1e.changes 2021-04-08 21:03:30.125987254 +0200 +++ /work/SRC/openSUSE:Factory/.rav1e.new.2632/rav1e.changes 2021-07-16 22:12:54.594759085 +0200 @@ -1,0 +2,11 @@ +Fri Jul 9 06:11:11 UTC 2021 - Andreas Schneider <a...@cryptomilk.org> + +- Fixed squared artefacts on image when converting to AVIF + * Added f553646d70fba8e265d436103a73520eb7adec8c.patch + +------------------------------------------------------------------- +Wed Jun 2 07:19:00 UTC 2021 - Andreas Schneider <a...@cryptomilk.org> + +- Fix service for cargo vendor creation + +------------------------------------------------------------------- New: ---- README.suse-maint cargo_config f553646d70fba8e265d436103a73520eb7adec8c.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rav1e.spec ++++++ --- /var/tmp/diff_new_pack.AbAa7m/_old 2021-07-16 22:12:55.502752669 +0200 +++ /var/tmp/diff_new_pack.AbAa7m/_new 2021-07-16 22:12:55.502752669 +0200 @@ -28,8 +28,14 @@ # Source0: https://github.com/xiph/rav1e/archive/v%{version}/%{name}-%{version}.tar.gz Source1: vendor.tar.xz +Source2: cargo_config +Source98: README.suse-maint Source99: baselibs.conf # +# Fix squared artefacts on image when converting to AVIF +Patch0: https://github.com/xiph/rav1e/commit/f553646d70fba8e265d436103a73520eb7adec8c.patch +# +BuildRequires: cargo BuildRequires: cargo-c BuildRequires: nasm BuildRequires: rust-packaging @@ -89,8 +95,6 @@ rustc = "%{__rustc}" rustdoc = "%{__rustdoc}" rustflags = %{__global_rustflags_toml} -[install] -root = '%{buildroot}%{_prefix}' [term] verbose = true EOF @@ -101,21 +105,22 @@ %build export RUSTFLAGS=%{rustflags} -%{cargo_build} -CFLAGS="%{optflags}" %{__cargo} cbuild +cargo build --offline --release +CFLAGS="%{optflags}" cargo cbuild %install export RUSTFLAGS=%{rustflags} -%{cargo_install} +cargo install --offline --root=%{buildroot}%{_prefix} --path . rm -rf %{buildroot}%{_datadir}/cargo -%{__cargo} cinstall \ +cargo cinstall \ --destdir=%{buildroot} \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --includedir=%{_includedir} \ --pkgconfigdir=%{_libdir}/pkgconfig rm -f %{buildroot}%{_libdir}/librav1e.a +rm -f %{buildroot}%{_prefix}/.crates* %post -n librav1e0 -p /sbin/ldconfig %postun -n librav1e0 -p /sbin/ldconfig ++++++ README.suse-maint ++++++ # How to update the rav1e package ## Prerequisites: You need the download_files and cargo_vendor obs services installed: zypper in obs-service-download_files obs-service-cargo_vendor ## Updating to a new version from upstream Edit the spec file and update the version variable. Download the new source file by running: osc service ra download_files Uncompress the rav1e-%{version}.tar.gz file: tar xf rav1e-*.tar.gz This will create a rav1e-%{version} directory Edit the _service file and set the srcdir param to the extracted directory. Run the cargo_vendor service with: osc service disabledrun Update the changelog file with the upstream release notes. ++++++ _service ++++++ --- /var/tmp/diff_new_pack.AbAa7m/_old 2021-07-16 22:12:55.546752358 +0200 +++ /var/tmp/diff_new_pack.AbAa7m/_new 2021-07-16 22:12:55.546752358 +0200 @@ -1,5 +1,5 @@ <services> <service name="cargo_vendor" mode="disabled"> - <param name="srcdir">rav1e</param> + <param name="srcdir">rav1e-0.4.1</param> </service> </services> ++++++ cargo_config ++++++ [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor"++++++ f553646d70fba8e265d436103a73520eb7adec8c.patch ++++++ >From f553646d70fba8e265d436103a73520eb7adec8c Mon Sep 17 00:00:00 2001 From: David Michael Barr <b...@rr-dav.id.au> Date: Thu, 8 Jul 2021 13:39:59 +0900 Subject: [PATCH] Initialise residual when less than the transform width is visible The input stride for forward transforms did not match the output stride of residual computation in this case. Extend the residual stride to the transform width and zero the non-visible portion. Fixes #2662. Fixes #2757. --- src/encoder.rs | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/encoder.rs b/src/encoder.rs index 564d78d7e..1ccf8c831 100644 --- a/src/encoder.rs +++ b/src/encoder.rs @@ -1209,12 +1209,20 @@ pub fn encode_tx_block<T: Pixel, W: Writer>( residual, &ts.input_tile.planes[p].subregion(area), &rec.subregion(area), - visible_tx_w, + tx_size.width(), visible_tx_h, ); + if visible_tx_w < tx_size.width() { + for row in residual.chunks_mut(tx_size.width()).take(visible_tx_h) { + for a in &mut row[visible_tx_w..] { + *a = 0; + } + } + } } - let visible_area = visible_tx_w * visible_tx_h; - for a in residual[visible_area..].iter_mut() { + let initialized_area = + if visible_tx_w == 0 { 0 } else { tx_size.width() * visible_tx_h }; + for a in residual[initialized_area..].iter_mut() { *a = 0; } ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/rav1e/vendor.tar.xz /work/SRC/openSUSE:Factory/.rav1e.new.2632/vendor.tar.xz differ: char 26, line 1