Compare commits

1 Commits
1.1 ... main

11 changed files with 113 additions and 47 deletions

View File

@@ -1,25 +1,17 @@
# 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
You need the obs_scm and cargo_vendor obs services installed:
zypper in obs-service-obs_scm obs-service-cargo_vendor
## Updating to a new version from upstream
Edit the spec file and update the version variable.
Edit the _service file and update the revision parameter.
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.
osc service mr obs_scm
Run the cargo_vendor service with:
osc service disabledrun
osc service mr cargo_vendor
Update the changelog file with the upstream release notes.

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/xiph/rav1e.git</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">v0.6.6</param>
<param name="revision">v0.8.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
@@ -20,7 +20,4 @@
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="manual">
<param name="srcdir">rav1e</param>
</service>
</services>

View File

@@ -1 +1 @@
librav1e0_6
librav1e0_8

View File

@@ -1,5 +0,0 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

Binary file not shown.

BIN
rav1e-0.8.0.obscpio LFS Normal file

Binary file not shown.

View File

@@ -1,10 +1,10 @@
Index: rav1e/Cargo.toml
Index: rav1e-0.7.1/Cargo.toml
===================================================================
--- rav1e.orig/Cargo.toml 2023-01-02 16:54:30.914458207 +0100
+++ rav1e/Cargo.toml 2023-01-02 17:06:28.018646860 +0100
--- rav1e-0.7.1.orig/Cargo.toml
+++ rav1e-0.7.1/Cargo.toml
@@ -38,7 +38,7 @@ binaries = [
"av-metrics",
"nom",
"av-metrics",
"nom",
]
-default = ["binaries", "asm", "threading", "signal_support", "git_version"]
+default = ["binaries", "asm", "threading", "signal_support"]

View File

@@ -1,3 +1,85 @@
-------------------------------------------------------------------
Thu May 29 11:09:59 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 0.8.0:
* Remove duplicate assume_slice_init_mut
* Update Cargo.lock by @lu-zero
* Remove rustc_version_check from build.rs
* Remove crate quickcheck_macros
* Ignore IDE config folders
* Only enable av1-grain/serialize with rav1e/serialize
* Remove allow(clippy::undocumented_unsafe_blocks) where not necessary
* Replace cdf! macro with const fns
* Don't use host's strip command when cross-compiling
* Prepare for ivf release
* Update Cargo.lock after ivf version bump
* Fix test-specific clippy lints
* Fix NASM warning about %undef statement
* Update all non-major dependencies
* build(deps): bump shlex from 1.2.0 to 1.3.0
* Add whitespace to compiler flags in long version string
* Replace types from once_cell with std::sync::OnceLock
* Update actions/cache action to v4
* Update codecov/codecov-action action to v4
* Make apply_ssim_boost a const fn
* Remove redundant imports
* Lock clap auto-updates to 4.4 until we bump rustc version
* Use a maintained clippy-check
* Further renovate changes
* Also lock assert_cmd version
* Add new NASM pragma regarding macro parameter expansion
* Add CI job to check the MSRV
* Add CI jobs for wasm32-wasi
* Replace AlignedBoxedSlice with aligned_vec::ABox
* fix(deps): update rust crate dav1d-sys to 0.7.0
* build(deps): bump libdav1d-sys from 0.6.0 to 0.7.0+libdav1d.1.4.0
* chore(deps): update softprops/action-gh-release action to v2
* Expose no_scene_detection in capi
* Fix clippy lints
* Update to itertool 0.13
* Update nasm-rs to 0.3.0
* Disable compiler warnings for known custom cfg values
* fix(deps): update all non-major dependencies
* Cleanup custom lints
* Do not rename the prefix manually for windows
* Update dependencies which do not bump minimum rustc
* Turn get_rect_tx_log_ratio into associated function for TxSize
* Add benchmarks for motion_compensate function
* Drop binary integration test from coverage
* Update clap to v4.5
* Fix deploy CI job
* Use the clap v3 style
* Bump msrv-compatible dependencies
* Update built to 0.7.7
* Freshen rav1e dependencies and CI
* Preparation for rav1e 0.8.0
* Lock file maintenance
* Update clechasseur/rs-clippy-check action to v4
* Update codecov/codecov-action action to v5
* bump to bitstream-io 4.1
* Use av-scenechange for scene detection
* Update all non-major dependencies
- Update shared library name following upstreams so name change, do
this via adding a sover define and set it to 0_8.
-------------------------------------------------------------------
Tue Aug 27 08:43:21 UTC 2024 - Enrico Belleri <kilgore.trout@idesmi.eu>
- remove cargo_config: contained in vendor.tar
- remove cargo_audit service: now part of cargo_vendor
- Update to version 0.7.1:
* Remove some now-unneeded dependencies
* Make sure av1-grain matches the rav1e serialize feature (serde is back optional)
* Make sure to use a version of ivf that does not depends on bitstream-io 1
* More internal cleanups
* Sync up assembly with dav1d 1.2.1
* More encoder-specific assembly for both x86_64 and aarch64
* Many internal cleanups and fixes
* The Channel API does not rely on crossbeam-channel anymore
* Initial Speed level rebalance
- Update README.suse-maint
- Update baselibs.conf
-------------------------------------------------------------------
Thu Oct 19 08:38:11 UTC 2023 - bjorn.lie@gmail.com

View File

@@ -1,4 +1,4 @@
name: rav1e
version: 0.6.6
mtime: 1684219782
commit: 7c9db10494c2fffa98a572027d756e55bf754036
version: 0.8.0
mtime: 1748021621
commit: 1fd67cd1b4a39f69303f28ed27c5d2d3833110c4

View File

@@ -1,7 +1,7 @@
#
# spec file for package rav1e
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2020 Andreas Schneider <asn@cryptomilk.org>.
#
# All modifications and additions to the file contributed by third parties
@@ -17,8 +17,10 @@
#
%define sover 0_8
Name: rav1e
Version: 0.6.6
Version: 0.8.0
Release: 0
Summary: Fastest and safest AV1 encoder
# rav1e is published under the terms of the BSD-2-Clause license,
@@ -29,7 +31,6 @@ URL: https://github.com/xiph/rav1e
#
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
Source98: README.suse-maint
Source99: baselibs.conf
#
@@ -37,7 +38,8 @@ Patch0: rav1e-cargo-no-git-default.patch
#
BuildRequires: cargo-c > 0.9.26
BuildRequires: cargo-packaging
BuildRequires: nasm
BuildRequires: nasm >= 2.14.02
BuildRequires: rust >= 1.70.0
%description
rav1e is an AV1 video encoder.
@@ -62,11 +64,11 @@ rav1e features:
* Variable speed settings
* Near real-time encoding at high speed levels
%package -n librav1e0_6
%package -n librav1e%{sover}
Summary: AV1 encoder library
Group: System/Libraries
%description -n librav1e0_6
%description -n librav1e%{sover}
rav1e is an AV1 video encoder libary. It is designed to eventually cover all
use cases, though in its current form it is most suitable for cases where
libaom (the reference encoder) is too slow.
@@ -74,7 +76,7 @@ libaom (the reference encoder) is too slow.
%package devel
Summary: Development files for rav1e
Group: Development/Libraries/C and C++
Requires: librav1e0_6 = %{version}
Requires: librav1e%{sover} = %{version}
%description devel
The rav1e-devel package contains libraries and header files for
@@ -82,8 +84,6 @@ developing applications that use rav1e.
%prep
%autosetup -a1 -p1
mkdir .cargo
cp %{SOURCE2} .cargo/config
# Disable rav1e_js
sed -i 's/"rav1e_js", //' Cargo.toml
@@ -107,12 +107,12 @@ cargo cinstall \
rm -f %{buildroot}%{_libdir}/librav1e.a
rm -f %{buildroot}%{_prefix}/.crates*
%ldconfig_scriptlets -n librav1e0_6
%ldconfig_scriptlets -n librav1e%{sover}
%files
%{_bindir}/rav1e
%files -n librav1e0_6
%files -n librav1e%{sover}
%license LICENSE
%{_libdir}/librav1e.so.*

BIN
vendor.tar.zst LFS

Binary file not shown.