chore(sync): frawhide -> el10

This commit is contained in:
madonuko
2025-09-17 15:49:49 +08:00
parent a330c7ae08
commit b81788b4b4
83 changed files with 6327 additions and 1696 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit 0a46a7d3329d86629d7562d9f5747da70973a338
%global commit_date 20250723
%global commit 5470662f25a0fc9cdb024d2e3dce4108f5cc529a
%global commit_date 20250917
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: envision-nightly
+2 -2
View File
@@ -1,9 +1,9 @@
#? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec
%global ver 13.1.0
%global commit 06f41a86cc91d53d68871fcdc67053239ff1e87b
%global commit 1e18288738d77beb6acdb2df65ae0cf5f984d58c
%global shortcommit %{sub %{commit} 1 7}
%global commit_date 20250830
%global commit_date 20250911
%global devel_name QtColorWidgets
%global _distro_extra_cflags -fuse-ld=mold
%global _distro_extra_cxxflags -fuse-ld=mold
+1 -1
View File
@@ -1,6 +1,6 @@
Name: fontviewer
Epoch: 1
Version: 1.1.0
Version: 1.2.0
Release: 1%?dist
Summary: View and install fonts
@@ -1,5 +1,5 @@
%global commit 774311e9473dbf7741f0daced1bad98ddac17de8
%global commit_date 20250614
%global commit b55a0f58bae0c633498948ddab054f96da6da2d0
%global commit_date 20250911
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global debug_package %nil
%global __strip /bin/true
+2 -2
View File
@@ -1,9 +1,9 @@
# Disable X11 for RHEL 10+
%bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10]
%global commit 2b74582fcb9c57c981acc11c3e3d57d97c47a8ac
%global commit 764da9919c9dcdd951d9441dac2b56b8a03770ad
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250808
%global commit_date 20250916
%global ver 0.40.0
Name: mpv-nightly
+2 -2
View File
@@ -1,4 +1,4 @@
%global ver 2025-09-13
%global ver 2025-09-17
%global goodver %(echo %ver | sed 's/-//g')
%global __brp_mangle_shebangs %{nil}
%bcond_without mold
@@ -9,7 +9,7 @@ language. Ruffle targets both the desktop and the web using WebAssembly.}
Name: ruffle-nightly
Version: %goodver
Release: 2%?dist
Release: 1%?dist
Summary: A Flash Player emulator written in Rust
License: Apache-2.0 OR MIT
URL: https://ruffle.rs/
@@ -1 +1 @@
1.11.8
v1.11.15
+2 -2
View File
@@ -1,9 +1,9 @@
# Fedora sometimes sources the snapshots under stable versions and just bumps release
# For user clarity I have separated these into different packages
%global commit 2c76995ed67b5bf3e957e73afb4fbb4734593149
%global commit 13bf50cbf84e00a7d5a0f13e1beefad306d58622
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 20250102
%global commit_date 20250807
%global commit_date 20250916
Name: winetricks-git
Version: %{ver}^%{commit_date}git.%{shortcommit}
@@ -1,9 +1,9 @@
%global commit d3cadf24952a6088affee9f752f75c3db8287801
%global commit 0f0a61c38dbebbd70979afbd3df81bf143efca9d
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global fulldate 2025-08-27
%global fulldate 2025-09-17
%global commit_date %(echo %{fulldate} | sed 's/-//g')
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
%global ver 1.1.4
%global ver 1.2.1
%global base_name ghostty
%global appid com.mitchellh.%{base_name}
+2 -2
View File
@@ -12,8 +12,8 @@
# Naming variable as something other than "commit" is necessary
# to stop %%gometa from putting commit hash in release
%global commit_hash b8057f28c6e5adef9744250643ad8cf8b5fafa18
%global commit_date 20250826
%global commit_hash ad24089e4e638209af66a27526f050a41de96b7f
%global commit_date 20250910
%global shortcommit %{sub %{commit_hash} 1 7}
%global ver 2.0.14
+3 -3
View File
@@ -1,7 +1,7 @@
%global commit 0a9f40787216f18ee2f4dc79211877d1af496284
%global commit f6c5c68751f686a4cf90ea1a1d32a361cb7c888e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250828
%global ver 0.203.0
%global commit_date 20250917
%global ver 0.205.0
%bcond_with check
%bcond nightly 1
@@ -2,7 +2,7 @@
%global commit ba967fd8c5de7dc6c623b614296b3872255996b0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20241206
%global commit_date 20250904
Name: gamescope-session-steam
Version: %commit_date.%shortcommit
@@ -2,7 +2,7 @@
%global commit c65fbffa7306167989e4dd6fe76d6bab3c9d8c30
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250802
%global commit_date 20250904
Name: gamescope-session
Version: %commit_date.%shortcommit
@@ -1,10 +1,10 @@
%global real_name prismlauncher
%global nice_name PrismLauncher
%global commit 8275529afb29f0e959de45ee20ec495bd5e6b351
%global commit b7b06c0e487601a2849cbf3063087bd8124e1c02
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250806
%global commit_date 20250917
%global snapshot_info %{commit_date}.%{shortcommit}
%bcond_without qt6
+2 -2
View File
@@ -6,8 +6,8 @@
# Need to get rid of everything Clang can't use and undefine -Wunused-command-line-argument where possible due to the project's build flags
%global build_cflags %(echo %{build_cflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument
%global build_cxxflags %(echo %{build_cxxflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs\=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument
%global commit 0daa6d6fb085fbcedc97dd9b1b2827c9f4741715
%global ver 0.0.37-18140
%global commit 335ed8d91be36902fd47cf45c59ef0cc4caebf15
%global ver 0.0.37-18143
Name: rpcs3
Version: %(echo %{ver} | sed 's/-/^/g')
File diff suppressed because it is too large Load Diff
@@ -3,13 +3,13 @@
%global _default_patch_fuzz 2
%global build_timestamp %(date +"%Y%m%d")
#global gamescope_tag 3.15.11
%global gamescope_commit d3174928d47f7e353e7daca63cf882d65660cc7c
%global gamescope_commit f873ec7868fe84d2850e91148bcbd6d6b19a7443
%define short_commit %(echo %{gamescope_commit} | cut -c1-8)
Name: terra-gamescope
#Version: 100.%{gamescope_tag}
Version: 104.%{short_commit}
Release: 2%?dist
Version: 127.%{short_commit}
Release: 1%?dist
Summary: Micro-compositor for video games on Wayland
License: BSD
@@ -27,6 +27,8 @@ Patch0: 0001-cstdint.patch
# https://github.com/ChimeraOS/gamescope
Patch1: handheld.patch
#Patch2: https://github.com/ValveSoftware/gamescope/pull/1867.patch
BuildRequires: meson >= 0.54.0
BuildRequires: ninja-build
BuildRequires: cmake
@@ -101,9 +103,9 @@ Summary: libs for %{name}
%summary
%prep
%setup -Tc
# git clone --depth 1 --branch %%{gamescope_tag} %%{url}.git
git clone %{url}.git
cd gamescope
git clone %{url}.git $PWD
git checkout %{gamescope_commit}
git submodule update --init --recursive
mkdir -p pkgconfig
@@ -115,7 +117,6 @@ sed -i 's^../thirdparty/SPIRV-Headers/include/spirv/^/usr/include/spirv/^' src/m
%autopatch -p1
%build
cd gamescope
export PKG_CONFIG_PATH=pkgconfig
%meson \
--auto-features=enabled \
@@ -123,12 +124,11 @@ export PKG_CONFIG_PATH=pkgconfig
%meson_build
%install
cd gamescope
%meson_install --skip-subprojects
%files
%license gamescope/LICENSE
%doc gamescope/README.md
%license LICENSE
%doc README.md
%caps(cap_sys_nice=eip) %{_bindir}/gamescope
%{_bindir}/gamescopectl
%{_bindir}/gamescopestream
+2 -2
View File
@@ -1,8 +1,8 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global commit d472022a7701d4c3c807980cf805606f2cb26277
%global commit 51a9ada0436958ba3c3423802dd0d26dec88e18b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 2.3.1
%global commit_date 20250828
%global commit_date 20250917
%global debug_package %nil
Name: nim-nightly
+9
View File
@@ -0,0 +1,9 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "python-colorthief.spec"
}
labels {
updbranch = 1
}
}
@@ -0,0 +1,77 @@
## Spec originally from Fedora, only modified for multibranch support and Terra changes
## ...I don't know why they have this here?
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
ExcludeArch: %{ix86}
%global pypi_name colorthief
Name: python-%{pypi_name}
Version: 0.2.1
Release: 1%{?dist}
Summary: Grabs the dominant color or a representative color palette from an image
# https://gitlab.com/fedora/legal/fedora-license-data/-/issues/382
# License file provided by Python module, see:
# rpm -q --licensefiles {python3_sitelib}/{name}-{version}.dist-info/LICENSE
License: BSD-3-Clause
URL: https://github.com/fengsp/color-thief-py
Source0: %{pypi_source}
BuildRequires: pyproject-rpm-macros
BuildRequires: python3-devel
BuildRequires: python3dist(pillow)
BuildRequires: python3dist(pip)
BuildRequires: python3dist(setuptools)
BuildArch: noarch
Packager: Gilver E. <rockgrub@disroot.org>
%global _description %{expand:
A Python module for grabbing the color palette from an image.}
%description %_description
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name} %_description
%prep
%autosetup -n %{pypi_name}-%{version}
%build
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_build
%else
%pyproject_wheel
%endif
%install
%if 0%{?fedora} <= 41 || 0%{?rhel}
%py3_install
%else
%pyproject_install
%pyproject_save_files %{pypi_name}
%endif
%if 0%{?fedora} > 41
%check
%pyproject_check_import
%endif
%if 0%{?fedora} <= 41 || 0%{?rhel}
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.rst
%{python3_sitelib}/__pycache__/*
%{python3_sitelib}/%{pypi_name}.py
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%else
%files -n python3-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.rst
%endif
%changelog
* Mon May 26 2025 Gilver E. <rockgrub@disroot.org> - 0.2.1-1
- Initial port from Fedora
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("colorthief"));
@@ -5,8 +5,8 @@
%global crate television
Name: rust-television
Version: 0.13.2
Release: %autorelease
Version: 0.13.3
Release: 1%?dist
Summary: Cross-platform, fast and extensible general purpose fuzzy finder TUI
License: MIT
@@ -3,11 +3,11 @@
%global priority 90
%global real_name vala
%global commit ba1b29121791c2a2235f33cf87a11563ac7da945
%global commit d680994c54dd34b8bd3bd808f0023be19ea647da
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global repo https://gitlab.gnome.org/GNOME/%{real_name}.git
%global commit_date 20250806
%global commit_date 20250903
%global snapshot_info %{commit_date}.%{shortcommit}
Name: vala-nightly
+1 -1
View File
@@ -15,7 +15,7 @@
%global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]})
Name: zig-master
Version: 0.16.0~dev.48+aae556071
Version: 0.16.0~dev.237+496313a1b
Release: 1%?dist
Summary: Master builds of the Zig language
License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "krabby.spec"
}
}
+34
View File
@@ -0,0 +1,34 @@
Name: krabby
Version: 0.3.0
Release: 1%{?dist}
SourceLicense: GPL-3.0-or-later
License: (MIT OR Apache-2.0) AND GPL-3.0-or-later AND MIT AND (Unlicense OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND MPL-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT)
Summary: Print Pokémon sprites in your terminal
URL: https://github.com/yannjor/krabby
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: anda-srpm-macros
BuildRequires: cargo-rpm-macros
BuildRequires: mold
Packager: Gilver E. <rockgrub@disroot.org>
%description
Krabby is mostly a Rust rewrite of phoney badger's pokemon-colorscripts with some extra features.
%prep
%autosetup -n %{name}-%{version}
%cargo_prep_online
%build
%install
%cargo_install
%{cargo_license_online} > LICENSE.dependencies
%files
%license LICENSE LICENSE.dependencies
%doc README.md
%{_bindir}/%{name}
%changelog
* Thu Feb 27 2025 Gilver E. <rockgrub@disroot.org>
- Initial package
+1
View File
@@ -0,0 +1 @@
rpm.version(crates("krabby"));
@@ -1,6 +1,6 @@
%global ver 2.0.0
%global commit 8070c29ae80f4ebd539547756f56351d98767b22
%global commit_date 20250724
%global commit 723e348ad2cb0607684d907ce8a9457e12993f4f
%global commit_date 20250820
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: openbangla-keyboard-nightly
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "pokemon-colorscripts.spec"
}
}
@@ -0,0 +1,46 @@
%global commit 5802ff67520be2ff6117a0abc78a08501f6252ad
%global commit_date 20241018
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: pokemon-colorscripts
Version: 0^%{commit_date}git.%{shortcommit}
Release: 1%{?dist}
License: MIT
Summary: CLI utility to print out images of Pokémon to the terminal
URL: https://gitlab.com/phoneybadger/%{name}
Source0: %{url}/-/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
BuildArch: noarch
Requires: python3
Packager: Gilver E. <rockgrub@disroot.org>
%description
A utility that prints unicode sprites of images of Pokémon to the terminal.
%prep
%autosetup -n %{name}-%{commit}
%build
%install
install -Dm644 colorscripts/small/regular/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/small/regular"
install -Dm644 colorscripts/small/shiny/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/small/shiny"
install -Dm644 colorscripts/large/regular/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/large/regular"
install -Dm644 colorscripts/large/shiny/* -t "%{buildroot}%{_datadir}/%{name}/colorscripts/large/shiny"
install -Dm644 pokemon.json "%{buildroot}%{_datadir}/%{name}/pokemon.json"
install -Dm755 pokemon-colorscripts.py "%{buildroot}%{_datadir}/%{name}/pokemon-colorscripts.py"
install -Dm644 pokemon-colorscripts.1 "%{buildroot}%{_mandir}/man1/pokemon-colorscripts.1"
# Make name executable
mkdir -p %{buildroot}%{_bindir}
ln -sf "%{_datadir}/%{name}/pokemon-colorscripts.py" "%{buildroot}%{_bindir}/pokemon-colorscripts"
%files
%license LICENSE.txt
%doc README.md
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/*
%{_bindir}/pokemon-colorscripts
%{_mandir}/man1/pokemon-colorscripts.1.gz
%changelog
* Thu Feb 27 2025 Gilver E. <rockgrub@disroot.org>
- Initial package
@@ -0,0 +1,5 @@
rpm.global("commit", gitlab_commit("gitlab.com", "28721344", "main"));
if rpm.changed() {
rpm.global("commit_date", date());
rpm.release();
}
+11
View File
@@ -0,0 +1,11 @@
For ease of use, packaged helper scripts are aliased in /usr/bin.
To use them, run:
uv run create-pokemon-identifier
OR:
pokeget-timing
to run the create_pokemon_identifier or timing scripts, respectively.
+9
View File
@@ -0,0 +1,9 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "pokeshell.spec"
}
labels {
nightly = 1
}
}
+105
View File
@@ -0,0 +1,105 @@
%global debug_package %{nil}
%global commit 6c9e2569843b08db14a964951f17a3943fd89fa2
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global date 20241124
%global ver 1.0.0
Name: pokeshell
Version: %{ver}^%{date}git.%{shortcommit}
Release: 3%{?dist}
Summary: A shell program to show Pokémon sprites in the terminal.
License: GPL-3.0-or-later
URL: https://github.com/acxz/pokeshell
Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
Source1: HELPER_ALIASES
BuildRequires: sed
Requires: bash
Requires: jq
Requires: ImageMagick
Requires: python3
Requires: chafa
Recommends: timg
BuildArch: noarch
Packager: Gilver E. <rockgrub@disroot.org>
%description
A featureful shell program to show Pokémon sprites in the terminal.
%package helper-scripts
Summary: This package contains helper scripts for Pokéshell
Requires: bash
Requires: %{name}
Requires: uv
Recommends: hyperfine
Recommends: pokeget-rs
Recommends: pokemon-colorscripts
%description helper-scripts
Generates pokemon identifiers (such as localized names) using PokeAPI that the sprite backends do not support natively.
See included README for what these scripts can do.
%package bash-completion
Summary: Bash completion for Pokéshell
Requires: bash
Requires: %{name}
Supplements: (%{name} and bash)
%description bash-completion
Pokéshell Bash completion.
%package zsh-completion
Summary: Zsh completion for Pokéshell
Requires: %{name}
Requires: zsh
Supplements: (%{name} and zsh)
%description zsh-completion
Basic Zsh completion support for Pokéshell.
%prep
%autosetup -n %{name}-%{commit}
cp %{SOURCE1} .
sed -i 's/MY_DIR=.*/MY_DIR=\/usr\/share\/%{name}/g' bin/pokeshell
sed -i 's/\.\.\/share\///' bin/pokeshell
%build
%install
install -Dm755 bin/pokeshell %{buildroot}%{_bindir}/%{name}
install -Dm755 bin/imageshell/imageshell.sh -t %{buildroot}%{_datadir}/%{name}/imageshell
install -Dm644 share/pokemon_identifiers.json -t %{buildroot}%{_datadir}/%{name}
install -Dm644 scripts/*.py -t %{buildroot}%{_datadir}/%{name}/scripts
install -Dm644 scripts/*.sh -t %{buildroot}%{_datadir}/%{name}/scripts
# Bash and Zsh completion share a single file, Zsh completion is pretty rudimentary
install -Dm644 share/bash-completion/completions/pokeshell -t %{buildroot}%{bash_completions_dir}
install -Dm644 share/bash-completion/completions/pokeshell %{buildroot}%{zsh_completions_dir}/_%{name}
# Make helper scripts directly executable
ln -sf %{_datadir}/%{name}/scripts/create_pokemon_identifiers.py %{buildroot}%{_bindir}/create-pokemon-identifiers
ln -sf %{_datadir}/%{name}/scripts/timing.sh %{buildroot}%{_bindir}/pokeget-timing
%files
%license LICENSE.md
%doc README.md
%{_bindir}/%{name}
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/pokemon_identifiers.json
%dir %{_datadir}/%{name}/imageshell
%{_datadir}/%{name}/imageshell/imageshell.sh
%files helper-scripts
%doc scripts/README.md HELPER_ALIASES
%dir %{_datadir}/%{name}/scripts
%{_datadir}/%{name}/scripts/*
%{_bindir}/create-pokemon-identifiers
%{_bindir}/pokeget-timing
%files bash-completion
%{bash_completions_dir}/%{name}
%files zsh-completion
%{zsh_completions_dir}/_%{name}
%changelog
* Sat Mar 01 2025 Gilver E. <rockgrub@disroot.org>
- Initial package
+8
View File
@@ -0,0 +1,8 @@
rpm.global("commit", gh_commit("acxz/pokeshell"));
if rpm.changed() {
rpm.release();
rpm.global("date", date());
let v = gh_tag("acxz/pokeshell");
v.crop(1);
rpm.global("ver", v);
}
+1 -1
View File
@@ -1,5 +1,5 @@
Name: zapret
Version: 71.2
Version: 71.4
Release: 1%?dist
Summary: A multi-platform Deep Packet Inspection (DPI) bypass tool
License: MIT
+2 -2
View File
@@ -1,8 +1,8 @@
%global pname carla
%global ver 2.5.10
%global commit c355f1c5d766070e855be095858b38b127b393ce
%global commit 12bc40fd6c9c5b36481c7df55086b27ba9ae8a80
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250804
%global commit_date 20250901
Name: Carla-nightly
Version: %(echo %ver | tr -d 'v')^%commit_date.git~%shortcommit
@@ -0,0 +1 @@
4.0.1
+1 -1
View File
@@ -1 +1 @@
5.5.0
0.3.13
+1
View File
@@ -2,6 +2,7 @@ project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "ffmpeg.spec"
extra_repos = ["https://repos.fyralabs.com/terrarawhide-nvidia"]
}
labels {
updbranch = 1
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,40 @@
--- a/libavcodec/lcevcdec.c
+++ b/libavcodec/lcevcdec.c
@@ -139,7 +139,7 @@ static int lcevc_send_frame(void *logctx
if (!sd)
return 1;
- res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 0, sd->data, sd->size);
+ res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, (uint64_t) in->pts, sd->data, sd->size);
if (res != LCEVC_Success)
return AVERROR_EXTERNAL;
@@ -147,7 +147,7 @@ static int lcevc_send_frame(void *logctx
if (ret < 0)
return ret;
- res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, NULL);
+ res = LCEVC_SendDecoderBase(lcevc->decoder, (uint64_t) in->pts, picture, -1, NULL);
if (res != LCEVC_Success)
return AVERROR_EXTERNAL;
--- a/libavfilter/vf_lcevc.c
+++ b/libavfilter/vf_lcevc.c
@@ -139,7 +139,7 @@ static int send_frame(AVFilterLink *inlink, AVFrame *in)
return ret;
if (sd) {
- res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, in->pts, 0, sd->data, sd->size);
+ res = LCEVC_SendDecoderEnhancementData(lcevc->decoder, (uint64_t) in->pts, sd->data, sd->size);
if (res == LCEVC_Again)
return AVERROR(EAGAIN);
else if (res != LCEVC_Success) {
@@ -148,7 +148,7 @@ static int send_frame(AVFilterLink *inlink, AVFrame *in)
}
}
- res = LCEVC_SendDecoderBase(lcevc->decoder, in->pts, 0, picture, -1, in);
+ res = LCEVC_SendDecoderBase(lcevc->decoder, (uint64_t) in->pts, picture, -1, in);
if (res != LCEVC_Success) {
av_log(ctx, AV_LOG_ERROR, "LCEVC_SendDecoderBase failed\n");
LCEVC_FreePicture(lcevc->decoder, picture);
@@ -28,3 +28,4 @@ diff -Naur ffmpeg-7.1.1.old/libavformat/utils.c ffmpeg-7.1.1/libavformat/utils.c
+
/* an arbitrarily chosen "sane" max packet size -- 50M */
#define SANE_CHUNK_SIZE (50000000)
+35 -43
View File
@@ -1,8 +1,7 @@
diff --git a/configure b/configure
index 727c3daea8..1da8f40bff 100755
--- a/configure
+++ b/configure
@@ -278,6 +278,7 @@ External library support:
diff -Naur ffmpeg-7.1.1.old/configure ffmpeg-7.1.1/configure
--- ffmpeg-7.1.1.old/configure 2025-03-24 10:54:38.202757211 +0100
+++ ffmpeg-7.1.1/configure 2025-03-24 10:54:38.618546808 +0100
@@ -278,6 +278,7 @@
--enable-libsrt enable Haivision SRT protocol via libsrt [no]
--enable-libssh enable SFTP protocol via libssh [no]
--enable-libsvtav1 enable AV1 encoding via SVT [no]
@@ -10,7 +9,7 @@ index 727c3daea8..1da8f40bff 100755
--enable-libtensorflow enable TensorFlow as a DNN module backend
for DNN based filters like sr [no]
--enable-libtesseract enable Tesseract, needed for ocr filter [no]
@@ -1973,6 +1974,7 @@ EXTERNAL_LIBRARY_LIST="
@@ -1953,6 +1954,7 @@
libshaderc
libshine
libsmbclient
@@ -18,7 +17,7 @@ index 727c3daea8..1da8f40bff 100755
libsnappy
libsoxr
libspeex
@@ -3658,6 +3660,7 @@ libvpx_vp8_decoder_deps="libvpx"
@@ -3575,6 +3577,7 @@
libvpx_vp8_encoder_deps="libvpx"
libvpx_vp9_decoder_deps="libvpx"
libvpx_vp9_encoder_deps="libvpx"
@@ -26,31 +25,18 @@ index 727c3daea8..1da8f40bff 100755
libvvenc_encoder_deps="libvvenc"
libwebp_encoder_deps="libwebp"
libwebp_anim_encoder_deps="libwebp"
@@ -7160,6 +7163,7 @@ enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame
die "ERROR: libtwolame must be installed and version must be >= 0.3.10"; }
enabled libuavs3d && require_pkg_config libuavs3d "uavs3d >= 1.1.41" uavs3d.h uavs3d_decode
enabled libv4l2 && require_pkg_config libv4l2 libv4l2 libv4l2.h v4l2_ioctl
@@ -6997,6 +7000,7 @@
enabled libspeex && require_pkg_config libspeex speex speex/speex.h speex_decoder_init
enabled libsrt && require_pkg_config libsrt "srt >= 1.3.0" srt/srt.h srt_socket
enabled libsvtav1 && require_pkg_config libsvtav1 "SvtAv1Enc >= 0.9.0" EbSvtAv1Enc.h svt_av1_enc_init_handle
+enabled libsvtvp9 && require_pkg_config libsvtvp9 SvtVp9Enc EbSvtVp9Enc.h eb_vp9_svt_init_handle
enabled libvidstab && require_pkg_config libvidstab "vidstab >= 0.98" vid.stab/libvidstab.h vsMotionDetectInit
enabled libvmaf && require_pkg_config libvmaf "libvmaf >= 2.0.0" libvmaf.h vmaf_init
enabled libvmaf && check_pkg_config libvmaf_cuda "libvmaf >= 2.0.0" libvmaf_cuda.h vmaf_cuda_state_init
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 83ef92963a..d63ec14d84 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -1191,6 +1191,7 @@ OBJS-$(CONFIG_LIBVO_AMRWBENC_ENCODER) += libvo-amrwbenc.o
OBJS-$(CONFIG_LIBVORBIS_DECODER) += libvorbisdec.o
OBJS-$(CONFIG_LIBVORBIS_ENCODER) += libvorbisenc.o \
vorbis_data.o
+OBJS-$(CONFIG_LIBSVT_VP9_ENCODER) += libsvt_vp9.o
OBJS-$(CONFIG_LIBVPX_VP8_DECODER) += libvpxdec.o
OBJS-$(CONFIG_LIBVPX_VP8_ENCODER) += libvpxenc.o
OBJS-$(CONFIG_LIBVPX_VP9_DECODER) += libvpxdec.o
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index f5ec2e01e8..11928d7afa 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -809,6 +809,7 @@ extern const FFCodec ff_libuavs3d_decoder;
enabled libtensorflow && require libtensorflow tensorflow/c/c_api.h TF_Version -ltensorflow
enabled libtesseract && require_pkg_config libtesseract tesseract tesseract/capi.h TessBaseAPICreate
enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
diff -Naur ffmpeg-7.1.1.old/libavcodec/allcodecs.c ffmpeg-7.1.1/libavcodec/allcodecs.c
--- ffmpeg-7.1.1.old/libavcodec/allcodecs.c 2025-03-24 10:54:38.119756212 +0100
+++ ffmpeg-7.1.1/libavcodec/allcodecs.c 2025-03-24 10:54:38.619934060 +0100
@@ -796,6 +796,7 @@
extern const FFCodec ff_libvo_amrwbenc_encoder;
extern const FFCodec ff_libvorbis_encoder;
extern const FFCodec ff_libvorbis_decoder;
@@ -58,11 +44,9 @@ index f5ec2e01e8..11928d7afa 100644
extern const FFCodec ff_libvpx_vp8_encoder;
extern const FFCodec ff_libvpx_vp8_decoder;
extern FFCodec ff_libvpx_vp9_encoder;
diff --git a/libavcodec/libsvt_vp9.c b/libavcodec/libsvt_vp9.c
new file mode 100644
index 0000000000..90ed5cbff2
--- /dev/null
+++ b/libavcodec/libsvt_vp9.c
diff -Naur ffmpeg-7.1.1.old/libavcodec/libsvt_vp9.c ffmpeg-7.1.1/libavcodec/libsvt_vp9.c
--- ffmpeg-7.1.1.old/libavcodec/libsvt_vp9.c 1970-01-01 01:00:00.000000000 +0100
+++ ffmpeg-7.1.1/libavcodec/libsvt_vp9.c 2025-03-24 10:54:38.620176868 +0100
@@ -0,0 +1,701 @@
+/*
+* Scalable Video Technology for VP9 encoder library plugin
@@ -276,11 +260,11 @@ index 0000000000..90ed5cbff2
+ param->intra_period = avctx->gop_size - 1;
+
+ if (avctx->framerate.num > 0 && avctx->framerate.den > 0) {
+ param->frame_rate_numerator = avctx->framerate.num;
+ param->frame_rate_denominator = avctx->framerate.den;
+ param->frame_rate_numerator = avctx->framerate.num;
+ param->frame_rate_denominator = avctx->framerate.den * avctx->ticks_per_frame;
+ } else {
+ param->frame_rate_numerator = avctx->time_base.den;
+ param->frame_rate_denominator = avctx->time_base.num;
+ param->frame_rate_numerator = avctx->time_base.den;
+ param->frame_rate_denominator = avctx->time_base.num * avctx->ticks_per_frame;
+ }
+
+ if (param->rate_control_mode) {
@@ -765,6 +749,14 @@ index 0000000000..90ed5cbff2
+ .defaults = eb_enc_defaults,
+ .p.wrapper_name = "libsvt_vp9",
+};
--
2.50.1
diff -Naur ffmpeg-7.1.1.old/libavcodec/Makefile ffmpeg-7.1.1/libavcodec/Makefile
--- ffmpeg-7.1.1.old/libavcodec/Makefile 2025-03-24 10:54:37.935753999 +0100
+++ ffmpeg-7.1.1/libavcodec/Makefile 2025-03-24 10:54:38.620394147 +0100
@@ -1157,6 +1157,7 @@
OBJS-$(CONFIG_LIBVORBIS_DECODER) += libvorbisdec.o
OBJS-$(CONFIG_LIBVORBIS_ENCODER) += libvorbisenc.o \
vorbis_data.o
+OBJS-$(CONFIG_LIBSVT_VP9_ENCODER) += libsvt_vp9.o
OBJS-$(CONFIG_LIBVPX_VP8_DECODER) += libvpxdec.o
OBJS-$(CONFIG_LIBVPX_VP8_ENCODER) += libvpxenc.o
OBJS-$(CONFIG_LIBVPX_VP9_DECODER) += libvpxdec.o
+97 -86
View File
@@ -1,18 +1,19 @@
%global _lto_cflags %{nil}
%global avcodec_soversion 62
%global avdevice_soversion 62
%global avfilter_soversion 11
%global avformat_soversion 62
%global avutil_soversion 60
%global swresample_soversion 6
%global swscale_soversion 9
%global avcodec_soversion 61
%global avdevice_soversion 61
%global avfilter_soversion 10
%global avformat_soversion 61
%global avutil_soversion 59
%global postproc_soversion 58
%global swresample_soversion 5
%global swscale_soversion 8
Summary: A complete solution to record, convert and stream audio and video
Name: ffmpeg
Version: 7.1.1
Release: 3%?dist
License: LGPL-3.0-or-later
Release: 16%?dist
License: LGPLv3+
URL: http://%{name}.org/
Epoch: 1
@@ -20,13 +21,15 @@ Source0: http://%{name}.org/releases/%{name}-%{version}.tar.xz
# https://github.com/OpenVisualCloud/SVT-VP9/tree/master/ffmpeg_plugin
Patch0: %{name}-svt-vp9.patch
# https://github.com/HandBrake/HandBrake/tree/e117cfe7fca37abeec59ea4201e5d93ed7477746
Patch2: %{name}-HandBrake.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2240127
# Reference: https://crbug.com/1306560
Patch3: %{name}-chromium.patch
# Fix build with recent NVCC:
Patch4: %{name}-nvcc.patch
# Support LCEVCdec 4.0+:
Patch5: https://aur.archlinux.org/cgit/aur.git/plain/080-ffmpeg-lcevcdec4.0.0-fix.patch?h=ffmpeg-full#/%{name}-LCEVCdec-4.patch
BuildRequires: AMF-devel
BuildRequires: AMF-devel >= 1.4.28
BuildRequires: bzip2-devel
BuildRequires: codec2-devel
BuildRequires: doxygen
@@ -34,9 +37,8 @@ BuildRequires: frei0r-devel
BuildRequires: gmp-devel
BuildRequires: gsm-devel
BuildRequires: ilbc-devel
BuildRequires: lame-devel
BuildRequires: lame-devel >= 3.98.3
BuildRequires: ladspa-devel
BuildRequires: LCEVCdec-devel >= 4.0.0
BuildRequires: libavc1394-devel
BuildRequires: libchromaprint-devel
BuildRequires: libgcrypt-devel
@@ -55,60 +57,62 @@ BuildRequires: snappy-devel
BuildRequires: soxr-devel
BuildRequires: subversion
BuildRequires: texinfo
BuildRequires: twolame-devel
BuildRequires: twolame-devel >= 0.3.10
BuildRequires: vo-amrwbenc-devel
BuildRequires: xvidcore-devel
BuildRequires: xz-devel
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(aom)
BuildRequires: pkgconfig(aribb24)
BuildRequires: pkgconfig(aom) >= 1.0.0
BuildRequires: pkgconfig(aribb24) >= 1.0.3
BuildRequires: pkgconfig(caca)
BuildRequires: pkgconfig(dav1d)
BuildRequires: pkgconfig(davs2)
BuildRequires: pkgconfig(dvdnav)
BuildRequires: pkgconfig(dav1d) >= 0.5.0
BuildRequires: pkgconfig(davs2) >= 1.6.0
BuildRequires: pkgconfig(dvdnav) >= 6.1.1
BuildRequires: pkgconfig(fdk-aac)
BuildRequires: pkgconfig(ffnvcodec) >= 12.0.16.0
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(harfbuzz)
BuildRequires: pkgconfig(jack)
BuildRequires: pkgconfig(kvazaar)
BuildRequires: pkgconfig(lc3)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libaribcaption)
BuildRequires: pkgconfig(libass)
BuildRequires: pkgconfig(kvazaar) >= 0.8.1
BuildRequires: pkgconfig(lc3) >= 1.1.0
BuildRequires: pkgconfig(lcms2) >= 2.13
BuildRequires: pkgconfig(lcevc_dec) >= 2.0.0
BuildRequires: pkgconfig(libaribcaption) >= 1.1.1
BuildRequires: pkgconfig(libass) >= 0.11.0
BuildRequires: pkgconfig(libbluray)
BuildRequires: pkgconfig(libbs2b)
BuildRequires: pkgconfig(libcdio_paranoia)
BuildRequires: pkgconfig(libdc1394-2)
BuildRequires: pkgconfig(libdrm)
BuildRequires: pkgconfig(libgme)
BuildRequires: pkgconfig(libjxl)
#BuildRequires: pkgconfig(lensfun)
BuildRequires: pkgconfig(libjxl) >= 0.7.0
#BuildRequires: pkgconfig(lensfun) > 0.3.95
BuildRequires: pkgconfig(libmodplug)
BuildRequires: pkgconfig(libmysofa)
BuildRequires: pkgconfig(libopenjp2)
BuildRequires: pkgconfig(libopenmpt)
#BuildRequires: pkgconfig(libplacebo) >= 7.351.0
BuildRequires: pkgconfig(libopenjp2) >= 2.1.0
BuildRequires: pkgconfig(libopenmpt) >= 0.2.6557
BuildRequires: pkgconfig(libplacebo) >= 4.192.0
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(libqrencode)
#BuildRequires: pkgconfig(libquirc)
BuildRequires: pkgconfig(librabbitmq)
BuildRequires: pkgconfig(librist)
BuildRequires: pkgconfig(librabbitmq) >= 0.7.1
BuildRequires: pkgconfig(librist) >= 0.2.7
BuildRequires: pkgconfig(librtmp)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libssh)
BuildRequires: pkgconfig(libtcmalloc)
BuildRequires: pkgconfig(libva)
BuildRequires: pkgconfig(libva) >= 0.35.0
BuildRequires: pkgconfig(libva-drm)
BuildRequires: pkgconfig(libva-x11)
BuildRequires: pkgconfig(libv4l2)
BuildRequires: pkgconfig(libvvenc)
BuildRequires: pkgconfig(libvvenc) >= 1.11.0
BuildRequires: pkgconfig(libwebp)
BuildRequires: pkgconfig(libwebpmux)
BuildRequires: pkgconfig(libwebpmux) >= 0.4.0
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(libzmq)
BuildRequires: pkgconfig(libzmq) >= 4.2.1
BuildRequires: pkgconfig(lilv-0)
BuildRequires: pkgconfig(lv2)
#BuildRequires: pkgconfig(OpenCL)
@@ -116,24 +120,24 @@ BuildRequires: pkgconfig(lv2)
BuildRequires: pkgconfig(openh264)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(opus)
BuildRequires: pkgconfig(rav1e)
BuildRequires: pkgconfig(rubberband)
BuildRequires: pkgconfig(rav1e) >= 0.4.0
BuildRequires: pkgconfig(rubberband) >= 1.8.1
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(shaderc)
BuildRequires: pkgconfig(shaderc) >= 2019.1
#BuildRequires: pkgconfig(shine)
BuildRequires: pkgconfig(smbclient)
BuildRequires: pkgconfig(speex)
BuildRequires: pkgconfig(srt)
BuildRequires: pkgconfig(srt) >= 1.3.0
BuildRequires: pkgconfig(tesseract)
BuildRequires: pkgconfig(uavs3d)
BuildRequires: pkgconfig(vapoursynth-script)
BuildRequires: pkgconfig(vidstab)
BuildRequires: pkgconfig(uavs3d) >= 1.1.41
BuildRequires: pkgconfig(vapoursynth-script) >= 42
BuildRequires: pkgconfig(vidstab) >= 0.98
BuildRequires: pkgconfig(vorbis)
BuildRequires: pkgconfig(vorbisenc)
BuildRequires: pkgconfig(vpx)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(xavs2)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(vpx) >= 1.4.0
BuildRequires: pkgconfig(vulkan) >= 1.3.277
BuildRequires: pkgconfig(xavs2) >= 1.3.0
BuildRequires: pkgconfig(xcb) >= 1.4
BuildRequires: pkgconfig(xcb-shape)
BuildRequires: pkgconfig(xcb-shm)
BuildRequires: pkgconfig(xcb-xfixes)
@@ -142,29 +146,24 @@ BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(x264)
BuildRequires: pkgconfig(x265)
BuildRequires: pkgconfig(xv)
BuildRequires: pkgconfig(zimg)
BuildRequires: pkgconfig(zimg) >= 2.7.0
BuildRequires: pkgconfig(zlib)
BuildRequires: pkgconfig(zvbi-0.2)
BuildRequires: pkgconfig(zvbi-0.2) >= 0.2.28
%ifarch x86_64 aarch64
# Nvidia CUVID support and Performance Primitives based code
BuildRequires: cuda-cudart-devel
BuildRequires: cuda-nvcc
BuildRequires: libnpp-devel
BuildRequires: pkgconfig(ffnvcodec) >= 12.0.16.0
%endif
%ifarch x86_64
BuildRequires: pkgconfig(libmfx)
BuildRequires: pkgconfig(libvmaf)
BuildRequires: pkgconfig(SvtAv1Enc)
BuildRequires: pkgconfig(libvmaf) >= 2.0.0
BuildRequires: pkgconfig(SvtAv1Enc) >= 0.9.0
BuildRequires: pkgconfig(SvtVp9Enc)
BuildRequires: pkgconfig(vpl)
#BuildRequires: pkgconfig(xevd)
#BuildRequires: pkgconfig(xeve)
BuildRequires: pkgconfig(vpl) >= 2.6
#BuildRequires: pkgconfig(xevd) >= 0.4.1
#BuildRequires: pkgconfig(xeve) >= 0.4.3
%endif
Obsoletes: %{name} < %{epoch}:%{version}-%{release}
Obsoletes: %{name}-free < %{epoch}:%{version}-%{release}
Provides: %{name}-free = %{epoch}:%{version}-%{release}
@@ -181,11 +180,9 @@ Requires: libavdevice%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavfilter%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavformat%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavutil%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libpostproc%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswresample%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswscale%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libpostproc-free < %{epoch}:%{version}-%{release}
Obsoletes: libpostproc < %{epoch}:%{version}-%{release}
Obsoletes: %{name}-libs < %{epoch}:%{version}-%{release}
%description libs
FFmpeg is a complete and free Internet live audio and video
@@ -198,9 +195,6 @@ This metapackage pulls in all the %{name} libraries.
Summary: Metapackage for %{name} development files
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
Obsoletes: %{name}-devel < %{epoch}:%{version}-%{release}
Obsoletes: %{name}-free-devel < %{epoch}:%{version}-%{release}
Provides: %{name}-free-devel = %{epoch}:%{version}-%{release}
%description devel
FFmpeg is a complete and free Internet live audio and video broadcasting
@@ -209,7 +203,6 @@ time in many formats. This package contains development files for %{name}.
%package -n libavcodec
Summary: FFmpeg codec library
Obsoletes: libavcodec < %{epoch}:%{version}-%{release}
Obsoletes: libavcodec-free < %{epoch}:%{version}-%{release}
Provides: libavcodec-free = %{epoch}:%{version}-%{release}
@@ -223,7 +216,6 @@ Summary: Development files for FFmpeg's codec library
Requires: libavcodec%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavutil-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
Obsoletes: libavcodec-devel < %{epoch}:%{version}-%{release}
Obsoletes: libavcodec-free-devel < %{epoch}:%{version}-%{release}
Provides: libavcodec-free-devel = %{epoch}:%{version}-%{release}
@@ -236,7 +228,6 @@ This subpackage contains the headers for FFmpeg libavcodec.
%package -n libavdevice
Summary: FFMpeg devices muxing/demuxing library
Obsoletes: libavdevice < %{epoch}:%{version}-%{release}
Obsoletes: libavdevice-free < %{epoch}:%{version}-%{release}
Provides: libavdevice-free = %{epoch}:%{version}-%{release}
@@ -253,7 +244,6 @@ Requires: libavfilter-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavformat-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavutil-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
Obsoletes: libavdevice-devel < %{epoch}:%{version}-%{release}
Obsoletes: libavdevice-free-devel < %{epoch}:%{version}-%{release}
Provides: libavdevice-free-devel = %{epoch}:%{version}-%{release}
@@ -265,9 +255,9 @@ Summary: FFmpeg audio and video filtering library
Requires: libavcodec%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavformat%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavutil%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libpostproc%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswresample%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswscale%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libavfilter < %{epoch}:%{version}-%{release}
Obsoletes: libavfilter-free < %{epoch}:%{version}-%{release}
Provides: libavfilter-free = %{epoch}:%{version}-%{release}
@@ -281,10 +271,10 @@ Requires: libavcodec-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavfilter%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavformat-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavutil-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libpostproc-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswresample-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswscale-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
Obsoletes: libavfilter-devel < %{epoch}:%{version}-%{release}
Obsoletes: libavfilter-free-devel < %{epoch}:%{version}-%{release}
Provides: libavfilter-free-devel = %{epoch}:%{version}-%{release}
@@ -293,7 +283,6 @@ This subpackage contains the headers for FFmpeg libavfilter.
%package -n libavformat
Summary: FFmpeg's stream format library
Obsoletes: libavformat < %{epoch}:%{version}-%{release}
Obsoletes: libavformat-free < %{epoch}:%{version}-%{release}
Provides: libavformat-free = %{epoch}:%{version}-%{release}
@@ -309,7 +298,6 @@ Requires: libavformat%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libavutil-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswresample-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
Obsoletes: libavformat-devel < %{epoch}:%{version}-%{release}
Obsoletes: libavformat-free-devel < %{epoch}:%{version}-%{release}
Provides: libavformat-free-devel = %{epoch}:%{version}-%{release}
@@ -318,7 +306,6 @@ This subpackage contains the headers for FFmpeg libavformat.
%package -n libavutil
Summary: FFmpeg's utility library
Obsoletes: libavutil < %{epoch}:%{version}-%{release}
Obsoletes: libavutil-free < %{epoch}:%{version}-%{release}
Provides: libavutil-free = %{epoch}:%{version}-%{release}
@@ -333,17 +320,38 @@ for pixel and sample formats).
Summary: Development files for FFmpeg's utility library
Requires: libavutil%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
Obsoletes: libavutil-devel < %{epoch}:%{version}-%{release}
Obsoletes: libavutil-free-devel < %{epoch}:%{version}-%{release}
Provides: libavutil-free-devel = %{epoch}:%{version}-%{release}
%description -n libavutil-devel
This subpackage contains the headers for FFmpeg libavutil.
%package -n libpostproc
Summary: FFmpeg post-processing library
Obsoletes: libpostproc-free < %{epoch}:%{version}-%{release}
Provides: libpostproc-free = %{epoch}:%{version}-%{release}
%description -n libpostproc
A library with video postprocessing filters, such as deblocking and
deringing filters, noise reduction, automatic contrast and brightness
correction, linear/cubic interpolating deinterlacing.
%package -n libpostproc-devel
Summary: Development files for the FFmpeg post-processing library
Requires: libavutil-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libpostproc%{?_isa} = %{epoch}:%{version}-%{release}
Requires: pkgconfig
Obsoletes: libpostproc-free-devel < %{epoch}:%{version}-%{release}
Provides: libpostproc-free-devel = %{epoch}:%{version}-%{release}
%description -n libpostproc-devel
This subpackage contains the headers for FFmpeg libpostproc.
%package -n libswresample
Summary: FFmpeg software resampling library
Requires: libavutil%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libavresemple < %{epoch}:%{version}-%{release}
Provides: libavresemple = %{epoch}:%{version}-%{release}
Obsoletes: libswresample-free < %{epoch}:%{version}-%{release}
Provides: libswresample-free = %{epoch}:%{version}-%{release}
@@ -356,6 +364,7 @@ Summary: Development files for the FFmpeg software resampling library
Requires: libavutil-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswresample%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libavresemple-devel < %{epoch}:%{version}-%{release}
Provides: libavresemple-devel = %{epoch}:%{version}-%{release}
Obsoletes: libswresample-free-devel < %{epoch}:%{version}-%{release}
Provides: libswresample-free-devel = %{epoch}:%{version}-%{release}
@@ -364,7 +373,6 @@ This subpackage contains the headers for FFmpeg libswresample.
%package -n libswscale
Summary: FFmpeg image scaling and colorspace/pixel conversion library
Obsoletes: libswscale < %{epoch}:%{version}-%{release}
Obsoletes: libswscale-free < %{epoch}:%{version}-%{release}
Provides: libswscale-free = %{epoch}:%{version}-%{release}
@@ -376,7 +384,6 @@ pixel format conversion operations.
Summary: Development files for FFmpeg's image scaling and colorspace library
Requires: libavutil-devel%{?_isa} = %{epoch}:%{version}-%{release}
Requires: libswscale%{?_isa} = %{epoch}:%{version}-%{release}
Obsoletes: libswscale-devel < %{epoch}:%{version}-%{release}
Obsoletes: libswscale-free-devel < %{epoch}:%{version}-%{release}
Provides: libswscale-free-devel = %{epoch}:%{version}-%{release}
@@ -390,12 +397,6 @@ This subpackage contains the headers for FFmpeg libswscale.
#sed -i -e 's|#!/bin/sh|#!/bin/sh -x|g' configure
%build
# Work around a new GCC15 change until FFmpeg updates for it
%if 0%{?fedora} >= 42
%if "%{version}" <= "7.1.1"
export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
%endif
%endif
%set_build_flags
./configure \
@@ -412,6 +413,7 @@ export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
--enable-alsa \
--enable-bzlib \
--enable-chromaprint \
--disable-cuda-nvcc \
--enable-frei0r \
--enable-gcrypt \
--enable-gmp \
@@ -455,6 +457,7 @@ export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
--enable-libmodplug \
--enable-libmp3lame \
--enable-libmysofa \
--disable-libnpp \
--enable-libopencore-amrnb \
--enable-libopencore-amrwb \
--disable-libopencv \
@@ -462,7 +465,7 @@ export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
--enable-libopenjpeg \
--enable-libopenmpt \
--enable-libopus \
--disable-libplacebo \
--enable-libplacebo \
--enable-libpulse \
--enable-libqrencode \
--disable-libquirc \
@@ -514,6 +517,7 @@ export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
--enable-opencl \
--enable-opengl \
--enable-openssl \
--enable-postproc \
--enable-sdl2 \
--enable-shared \
--enable-swresample \
@@ -534,10 +538,8 @@ export CFLAGS="%{optflags} -Wno-incompatible-pointer-types"
--prefix=%{_prefix} \
--shlibdir=%{_libdir} \
%ifarch x86_64 aarch64
--enable-cuda-nvcc \
--enable-cuvid \
--enable-ffnvcodec \
--enable-libnpp \
--enable-nvdec \
--enable-nvenc \
--extra-cflags="-I%{_includedir}/cuda" \
@@ -630,6 +632,15 @@ mv doc/*.html doc/html
%{_libdir}/libavutil.so
%{_mandir}/man3/libavutil.3*
%files -n libpostproc
%license COPYING.GPLv2 LICENSE.md
%{_libdir}/libpostproc.so.%{postproc_soversion}*
%files -n libpostproc-devel
%{_includedir}/libpostproc
%{_libdir}/pkgconfig/libpostproc.pc
%{_libdir}/libpostproc.so
%files -n libswresample
%license COPYING.GPLv2 LICENSE.md
%{_libdir}/libswresample.so.%{swresample_soversion}*
+4 -1
View File
@@ -1,11 +1,14 @@
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
rpm.version(find(`<small>ffmpeg-([\d.]+?)\.tar\.xz</small>`, get("https://ffmpeg.org/download.html"), 1));
// rpm.version(find(`<small>ffmpeg-([\d.]+?)\.tar\.xz</small>`, get("https://ffmpeg.org/download.html"), 1));
rpm.version(bump::bodhi("ffmpeg", bump::as_bodhi_ver(labels.branch)));
open_file("anda/multimedia/ffmpeg/VERSION_x265.txt", "w").write(bump::madoguchi("x265", labels.branch));
open_file("anda/multimedia/ffmpeg/VERSION_tesseract.txt", "w").write(bump::bodhi("tesseract", bump::as_bodhi_ver(labels.branch)));
open_file("anda/multimedia/ffmpeg/VERSION_vvenc.txt", "w").write(bump::madoguchi("vvenc-libs", labels.branch));
// open_file("anda/multimedia/ffmpeg/VERSION_libnpp.txt", "w").write(bump::madoguchi("libnpp", labels.branch));
open_file("anda/multimedia/ffmpeg/VERSION_LCEVCdec.txt", "w").write(bump::madoguchi("LCEVCdec", labels.branch));
let dir = sub(`/[^/]+$`, "", __script_path);
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
@@ -1,8 +1,9 @@
Name: gstreamer1-plugin-libav
Version: 1.24.11
Version: 1.26.5
Release: 1%?dist
Epoch: 1
Summary: GStreamer Libav plugin
License: LGPLv2+
License: LGPL-2.0-or-later
URL: https://gstreamer.freedesktop.org/modules/gst-libav.html
Source0: https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-%{version}.tar.xz
@@ -34,9 +35,10 @@ GStreamer plugin containing libav library code.
%autosetup -p1 -n gst-libav-%{version}
%build
#export CFLAGS="%{optflags} -Wno-error=attributes"
%meson \
-D package-name="Fedora GStreamer-plugins-ugly package" \
-D package-origin="https://gstreamer.freedesktop.org" \
-D package-origin="https://terra.fyralabs.com" \
-D doc=disabled
%meson_build
@@ -3,8 +3,8 @@
%global majorminor 1.0
Name: gstreamer1-plugins-bad
Version: 1.26.1
Release: 5%?dist
Version: 1.26.5
Release: 1%?dist
Epoch: 2
Summary: GStreamer streaming media framework "bad" plugins
License: LGPL-2.0-or-later and LGPL-2.0-only
@@ -252,7 +252,7 @@ Provides: %{name}-free-devel = %{?epoch}:%{version}-%{release}
Provides: %{name}-free-devel%{?_isa} = %{?epoch}:%{version}-%{release}
%description devel
%summary.
%summary.
%prep
%autosetup -p1 -n gst-plugins-bad-%{version}
@@ -1,10 +1,11 @@
%global majorminor 1.0
Name: gstreamer1-plugins-ugly
Version: 1.24.11
Version: 1.26.5
Release: 1%?dist
Epoch: 1
Summary: GStreamer streaming media framework "ugly" plugins
License: LGPLv2+ and LGPLv2
License: LGPL-2.0-or-later and LGPL-2.0-only
URL: http://gstreamer.freedesktop.org/
Source0: http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{version}.tar.xz
@@ -39,7 +40,7 @@ This module contains a set of plugins that have good quality and are well tested
%build
%meson \
-D package-name="Fedora GStreamer-plugins-ugly package" \
-D package-origin="http://gstreamer.freedesktop.org" \
-D package-origin="https://terra.fyralabs.com" \
-D a52dec=enabled \
-D asfdemux=enabled \
-D cdio=enabled \
@@ -1 +1 @@
2.fcrawhide
1.fcrawhide
@@ -1,6 +1,6 @@
Name: gstreamer1-plugin-vaapi
Version: 1.26.0
Release: 1%{?dist}
Version: 1.26.5
Release: 1%?dist
Epoch: 1
Summary: GStreamer VA-API integration
License: LGPLv2+
+3 -3
View File
@@ -1,8 +1,8 @@
#? https://src.fedoraproject.org/rpms/rtaudio/blob/db1aa72863ccbfd480e22c2f7aefb41ebb8e2360/f/rtaudio.spec
%global commit 40e0d8140f14acd8552d2dc4f42dcc853274a12c
%global commit acec45bb17425b0bfbc9972ead29d2b0c22c0c93
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250430
%global ver 6.0.1
%global commit_date 20250909
%global ver .0.1
Name: rtaudio-nightly
Version: %{ver}^%{commit_date}.git.%{shortcommit}
@@ -1,5 +1,5 @@
%global commit c7a6beca177e67983f826bfad2b8875adef000ae
%global commit_date 20250521
%global commit c933525a6efe8229a7129b7b0b66798f19d2bef7
%global commit_date 20250627
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global build_cflags %{__build_flags_lang_c} %{?_distro_extra_cflags} -Wno-alloc-size-larger-than
%global build_cxxflags %{__build_flags_lang_cxx} %{?_distro_extra_cxxflags} -Wno-alloc-size-larger-than
@@ -1,8 +1,8 @@
%global buildforkernels akmod
%global debug_package %{nil}
%global commit e89983c628d046b2f77af3b6678cc49c2dd58332
%global commit 69b2fde9edcbc24128b91541fdf2791fbd4bf7a4
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250521
%global commit_date 20250917
%global modulename intel-ipu6
# Actual "release" version, currently unused as the release versions are back and forth on if on if they use 1.0.0 or 1.0.1
%global ver 1.0.1
@@ -10,7 +10,7 @@
Name: %{modulename}-kmod
Summary: Akmods module for %{modulename}
Version: 0^%{commit_date}git.%{shortcommit}
Release: 2%?dist
Release: 1%?dist
License: GPL-2.0-or-later
URL: https://github.com/intel/ipu6-drivers
Source0: https://github.com/intel/ipu6-drivers/archive/%{commit}/ipu6-drivers-%{shortcommit}.tar.gz
@@ -1,7 +1,7 @@
%global debug_package %{nil}
%global commit e89983c628d046b2f77af3b6678cc49c2dd58332
%global commit 69b2fde9edcbc24128b91541fdf2791fbd4bf7a4
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250521
%global commit_date 20250917
%global modulename intel-ipu6
# Actual "release" version, currently unused as the release versions are back and forth on if on if they use 1.0.0 or 1.0.1
%global ver 1.0.1
@@ -9,7 +9,7 @@
Name: dkms-%{modulename}
Summary: DKMS module for %{modulename}
Version: 0^%{commit_date}git.%{shortcommit}
Release: 2%?dist
Release: 1%?dist
License: GPL-2.0-or-later
URL: https://github.com/intel/ipu6-drivers
Source0: %{url}/archive/%{commit}.tar.gz#/ipu6-drivers-%{shortcommit}.tar.gz
@@ -1,7 +1,7 @@
%global debug_package %{nil}
%global commit e89983c628d046b2f77af3b6678cc49c2dd58332
%global commit 69b2fde9edcbc24128b91541fdf2791fbd4bf7a4
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250521
%global commit_date 20250917
# Actual "release" version, currently unused as the release versions are back and forth on if on if they use 1.0.0 or 1.0.1
# Use this if they ever stop doing that I guess
%global ver 1.0.1
@@ -9,7 +9,7 @@
Name: intel-ipu6-drivers
Summary: Common files for Intel IPU6 drivers
Version: 0^%{commit_date}git.%{shortcommit}
Release: 2%?dist
Release: 1%?dist
License: GPL-2.0-or-later
URL: https://github.com/intel/ipu6-drivers
Source0: https://github.com/intel/ipu6-drivers/archive/%{commit}/ipu6-drivers-%{shortcommit}.tar.gz
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "joycond.spec"
}
}
+47
View File
@@ -0,0 +1,47 @@
%global commit 39d5728d41b70840342ddc116a59125b337fbde2
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date %(date '+%Y%m%d')
Name: joycond
Version: %{commit_date}.git~%{shortcommit}
Release: 1%?dist
Summary: Userspace daemon to combine joy-cons from the hid-nintendo kernel driver
License: GPL-3.0-or-later
URL: https://github.com/DanielOgorchock/joycond
Source0: %url/archive/%{commit}/%{commit}.tar.gz#/%{name}-%{commit_date}.git~%{shortcommit}.tar.gz
Patch0: https://github.com/terrapkg/pkg-joycond/raw/refs/heads/main/0001-Revert-virt_ctrlr_passthrough-send-uevent-change-eve.patch
Patch1: https://github.com/terrapkg/pkg-joycond/raw/refs/heads/main/0001-Change-permissions-for-hidraw-access.patch
Packager: Cappy Ishihara <cappy@fyralabs.com>
BuildRequires: libevdev-devel libudev-devel
BuildRequires: cmake make systemd-rpm-macros gcc-c++
%description
joycond is a linux daemon which uses the evdev devices provided by hid-nintendo
(formerly known as hid-joycon) to implement joycon pairing.
%prep
%autosetup -n %{name}-%{commit} -p1
%build
%cmake .
%cmake_build
%install
%cmake_install
%post
%systemd_post joycond.service
%preun
%systemd_preun joycond.service
%postun
%systemd_postun_with_restart joycond.service
%files
%_bindir/joycond
%_udevrulesdir/72-joycond.rules
%_udevrulesdir/89-joycond.rules
%_unitdir/joycond.service
%_sysconfdir/modules-load.d/joycond.conf
%_datadir/metainfo/com.github.DanielOgorchock.joycond.metainfo.xml
+2 -2
View File
@@ -1,7 +1,7 @@
%global debug_package %{nil}
%global commit 119accbcc6d3c56b0fe748dc4990c53bb2359b5e
%global commit e181448e64e2a252962ddf0f8664274cd6c69e6e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250722
%global commit_date 20250916
%global patches %{_datadir}/src/nvidia-patch
@@ -1,5 +1,5 @@
%global commit0 ef1e1aa3843f806740c866df4863f2a3ff77a359
%global date 20250808
%global commit0 e02b9c5c714f35a7576f0c1e549327e060fc7903
%global date 20250819
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
%global upstream_name nvidia-vaapi-driver
@@ -1,7 +1,7 @@
%global commit d4150dea3c0e1f60177b3bb47faea114ba221663
%global commit 4cebd851f5a90dbb11c48eba709ac27fe289ebf1
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250125
%global ver 0.6.5.0
%global commit_date 20250904
%global ver 0.6.5.1
# We aren't using Mono but RPM expected Mono
%global __requires_exclude_from ^/usr/lib/opentabletdriver/.*$
+3 -2
View File
@@ -1,5 +1,5 @@
%global commit eced36223a7683dec87af0f6496a5c01ff757bab
%global commit_date 20250610
%global commit 9621ae11165ad4de4a3d9edd722bb32d0233ebed
%global commit_date 20250908
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: readymade-git
@@ -63,3 +63,4 @@ ln -sf %{_datadir}/applications/com.fyralabs.Readymade.desktop %{buildroot}%{_da
%_datadir/applications/liveinst.desktop
%ghost %_datadir/readymade
%_datadir/icons/hicolor/scalable/apps/com.fyralabs.Readymade.svg
+2 -2
View File
@@ -1,5 +1,5 @@
Name: readymade
Version: 0.12.2
Version: 0.12.5
Release: 1%?dist
Summary: Install ready-made distribution images!
License: GPL-3.0-or-later
@@ -53,6 +53,6 @@ ln -sf %{_datadir}/applications/com.fyralabs.Readymade.desktop %{buildroot}%{_da
%_datadir/polkit-1/actions/com.fyralabs.pkexec.readymade.policy
%_datadir/applications/com.fyralabs.Readymade.desktop
%_datadir/applications/liveinst.desktop
%_datadir/readymade
%ghost %_datadir/readymade
%_datadir/icons/hicolor/scalable/apps/com.fyralabs.Readymade.svg
@@ -1,6 +1,6 @@
%global commit 945c687aa1e62ee0b95b1ddd1dbfdbd513c30152
%global commit 07fa9cf0fa8b0c08920c359c725dfc250e91422b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250722
%global commit_date 20250911
%global ver 5.12.0.4
%global modulename rtl8821cu
%global git_name 8821cu-20210916
@@ -1,6 +1,6 @@
%global commit 945c687aa1e62ee0b95b1ddd1dbfdbd513c30152
%global commit 07fa9cf0fa8b0c08920c359c725dfc250e91422b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250722
%global commit_date 20250911
%global ver 5.12.0.4
%global modulename rtl8821cu
%global git_name 8821cu-20210916
@@ -1,6 +1,6 @@
%global commit 945c687aa1e62ee0b95b1ddd1dbfdbd513c30152
%global commit 07fa9cf0fa8b0c08920c359c725dfc250e91422b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20250722
%global commit_date 20250911
%global ver 5.12.0.4
%global modulename rtl8821cu
%global git_name 8821cu-20210916
@@ -1,11 +1,11 @@
%global commit 5ff891e71ce282c802332b398e8a98ccd4207552
%global commit eb6e035b623d27d8d81bd054917751d060c6d8c5
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20250808
%global ver 1.0.14
%global commitdate 20250917
%global ver 1.0.16
Name: scx-scheds-nightly
Version: %{ver}^%{commitdate}.git.%{shortcommit}
Release: 2%?dist
Release: 1%?dist
Summary: Nightly builds of sched_ext schedulers and tools
SourceLicense: GPL-2.0-only
License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1 AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-only and MPL-2.0-or-later AND (Unlicense OR MIT) AND Zlib
@@ -0,0 +1 @@
*.tar.gz
@@ -0,0 +1,8 @@
project pkg {
rpm {
spec = "uutils-coreutils-replace.spec"
}
labels {
subrepo = "extras"
}
}
@@ -0,0 +1,53 @@
--- coreutils-*/Cargo.toml
+++ coreutils-*/Cargo.toml
@@ -18,6 +18,7 @@
categories = ["command-line-utilities"]
rust-version = "1.82.0"
edition = "2021"
+autobins = false
build = "build.rs"
@@ -25,7 +26,11 @@
all-features = true
[features]
-default = ["feat_common_core"]
+default = [
+ "feat_acl",
+ "feat_common_core",
+ "feat_selinux",
+]
## OS feature shortcodes
macos = ["feat_os_macos"]
unix = ["feat_os_unix"]
@@ -325,7 +330,7 @@
rand_core = "0.9.0"
rayon = "1.10"
regex = "1.10.4"
-rstest = "0.25.0"
+rstest = ">=0.25,<0.28"
rust-ini = "0.21.0"
same-file = "1.0.6"
self_cell = "1.0.4"
@@ -516,7 +521,7 @@
rstest = { workspace = true }
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dev-dependencies]
-procfs = { version = "0.17", default-features = false }
+procfs = { version = ">=0.17, <0.18", default-features = false }
[target.'cfg(unix)'.dev-dependencies]
nix = { workspace = true, features = ["process", "signal", "user", "term"] }
@@ -538,11 +543,6 @@
name = "coreutils"
path = "src/bin/coreutils.rs"
-[[bin]]
-name = "uudoc"
-path = "src/bin/uudoc.rs"
-required-features = ["uudoc"]
-
# The default release profile. It contains all optimizations, without
# sacrificing debug info. With this profile (like in the standard
# release profile), the debug info and the stack traces will still be available.
@@ -0,0 +1,134 @@
--- a/tests/by-util/test_seq.rs
+++ b/tests/by-util/test_seq.rs
@@ -381,80 +381,80 @@
#[test]
fn test_width_negative_zero_scientific_notation() {
new_ucmd!()
- .args(&["-w", "-0e0", "1"])
+ .args(&["-w", "--", "-0e0", "1"])
.succeeds()
.stdout_only("-0\n01\n");
new_ucmd!()
- .args(&["-w", "-0e0", "1", "2"])
+ .args(&["-w", "--", "-0e0", "1", "2"])
.succeeds()
.stdout_only("-0\n01\n02\n");
new_ucmd!()
- .args(&["-w", "-0e0", "1", "2.0"])
+ .args(&["-w", "--", "-0e0", "1", "2.0"])
.succeeds()
.stdout_only("-0\n01\n02\n");
new_ucmd!()
- .args(&["-w", "-0e+1", "1"])
+ .args(&["-w", "--", "-0e+1", "1"])
.succeeds()
.stdout_only("-00\n001\n");
new_ucmd!()
- .args(&["-w", "-0e+1", "1", "2"])
+ .args(&["-w", "--", "-0e+1", "1", "2"])
.succeeds()
.stdout_only("-00\n001\n002\n");
new_ucmd!()
- .args(&["-w", "-0e+1", "1", "2.0"])
+ .args(&["-w", "--", "-0e+1", "1", "2.0"])
.succeeds()
.stdout_only("-00\n001\n002\n");
new_ucmd!()
- .args(&["-w", "-0.000e0", "1"])
+ .args(&["-w", "--", "-0.000e0", "1"])
.succeeds()
.stdout_only("-0.000\n01.000\n");
new_ucmd!()
- .args(&["-w", "-0.000e0", "1", "2"])
+ .args(&["-w", "--", "-0.000e0", "1", "2"])
.succeeds()
.stdout_only("-0.000\n01.000\n02.000\n");
new_ucmd!()
- .args(&["-w", "-0.000e0", "1", "2.0"])
+ .args(&["-w", "--", "-0.000e0", "1", "2.0"])
.succeeds()
.stdout_only("-0.000\n01.000\n02.000\n");
new_ucmd!()
- .args(&["-w", "-0.000e-2", "1"])
+ .args(&["-w", "--", "-0.000e-2", "1"])
.succeeds()
.stdout_only("-0.00000\n01.00000\n");
new_ucmd!()
- .args(&["-w", "-0.000e-2", "1", "2"])
+ .args(&["-w", "--", "-0.000e-2", "1", "2"])
.succeeds()
.stdout_only("-0.00000\n01.00000\n02.00000\n");
new_ucmd!()
- .args(&["-w", "-0.000e-2", "1", "2.0"])
+ .args(&["-w", "--", "-0.000e-2", "1", "2.0"])
.succeeds()
.stdout_only("-0.00000\n01.00000\n02.00000\n");
new_ucmd!()
- .args(&["-w", "-0.000e5", "1"])
+ .args(&["-w", "--", "-0.000e5", "1"])
.succeeds()
.stdout_only("-000000\n0000001\n");
new_ucmd!()
- .args(&["-w", "-0.000e5", "1", "2"])
+ .args(&["-w", "--", "-0.000e5", "1", "2"])
.succeeds()
.stdout_only("-000000\n0000001\n0000002\n");
new_ucmd!()
- .args(&["-w", "-0.000e5", "1", "2.0"])
+ .args(&["-w", "--", "-0.000e5", "1", "2.0"])
.succeeds()
.stdout_only("-000000\n0000001\n0000002\n");
new_ucmd!()
- .args(&["-w", "-0.000e5", "1"])
+ .args(&["-w", "--", "-0.000e5", "1"])
.succeeds()
.stdout_only("-000000\n0000001\n");
new_ucmd!()
- .args(&["-w", "-0.000e5", "1", "2"])
+ .args(&["-w", "--", "-0.000e5", "1", "2"])
.succeeds()
.stdout_only("-000000\n0000001\n0000002\n");
new_ucmd!()
- .args(&["-w", "-0.000e5", "1", "2.0"])
+ .args(&["-w", "--", "-0.000e5", "1", "2.0"])
.succeeds()
.stdout_only("-000000\n0000001\n0000002\n");
}
@@ -493,7 +493,7 @@
#[test]
fn test_width_negative_decimal_notation() {
new_ucmd!()
- .args(&["-w", "-.1", ".1", ".11"])
+ .args(&["-w", "--", "-.1", ".1", ".11"])
.succeeds()
.stdout_only("-0.1\n00.0\n00.1\n");
}
@@ -501,19 +501,19 @@
#[test]
fn test_width_negative_scientific_notation() {
new_ucmd!()
- .args(&["-w", "-1e-3", "1"])
+ .args(&["-w", "--", "-1e-3", "1"])
.succeeds()
.stdout_only("-0.001\n00.999\n");
new_ucmd!()
- .args(&["-w", "-1.e-3", "1"])
+ .args(&["-w", "--", "-1.e-3", "1"])
.succeeds()
.stdout_only("-0.001\n00.999\n");
new_ucmd!()
- .args(&["-w", "-1.0e-4", "1"])
+ .args(&["-w", "--", "-1.0e-4", "1"])
.succeeds()
.stdout_only("-0.00010\n00.99990\n");
new_ucmd!()
- .args(&["-w", "-.1e2", "10", "100"])
+ .args(&["-w", "--", "-.1e2", "10", "100"])
.succeeds()
.stdout_only(
"-010
@@ -0,0 +1 @@
rpm.version(crates("coreutils"));
@@ -0,0 +1,107 @@
%global coreutils_ver 9.3
%if 0%{?fedora} >= 42
### Temporary solution, will be fixed on newer Oniguruma releases.
%global build_cflags %{__build_flags_lang_c} %{?_distro_extra_cflags} -std=c18 -std=gnu18
%endif
Name: uutils-coreutils-replace
Version: 0.2.2
Release: 1%?dist
Summary: Cross-platform Rust rewrite of the GNU coreutils
License: MIT
URL: https://github.com/uutils/coreutils
Source0: %url/archive/refs/tags/%version.tar.gz
Source1: https://src.fedoraproject.org/rpms/coreutils/raw/rawhide/f/coreutils-colorls.sh
Source2: https://src.fedoraproject.org/rpms/coreutils/raw/rawhide/f/coreutils-colorls.csh
Source3: https://raw.githubusercontent.com/coreutils/coreutils/refs/heads/master/src/dircolors.hin
Patch0: coreutils-fix-metadata.diff
Patch1: coreutils-fix-seq-neg-num-tests.diff
Patch3: https://src.fedoraproject.org/rpms/coreutils/raw/rawhide/f/coreutils-8.32-DIR_COLORS.patch
BuildRequires: anda-srpm-macros
BuildRequires: cargo
BuildRequires: clang-devel
BuildRequires: gcc-c++
BuildRequires: libselinux-devel
BuildRequires: make
BuildRequires: rustfmt
BuildRequires: selinux-policy-devel
Requires: glibc
Provides: coreutils
Provides: coreutils-common
Conflicts: uutils-coreutils
%description
uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust.
While all programs have been implemented, some options might be missing or different
behavior might be experienced.
This package replaces the GNU coreutils commands.
%prep
%setup -q -n coreutils-%version
%cargo_prep_online
/usr/bin/cp %{SOURCE3} .
sed dircolors.hin \
-e 's| 00;36$| 01;36|' \
> DIR_COLORS
sed dircolors.hin \
-e 's| 01;31$| 00;31|' \
-e 's| 01;35$| 00;35|' \
> DIR_COLORS.lightbgcolor
%autopatch -p1
%build
%install
install -p -c -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/colorls.sh
install -p -c -Dm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/colorls.csh
install -p -c -Dm644 DIR_COLORS{,.lightbgcolor} %{buildroot}%{_sysconfdir}
/usr/bin/rm dircolors.hin DIR_COLORS DIR_COLORS.lightbgcolor
%make_install PROFILE_CMD='--profile=rpm' MULTICALL=n DESTDIR=%buildroot BUILDDIR=target/rpm PREFIX=%_prefix SELINUX_ENABLED=1 SKIP_UTILS='hostname kill more uptime' &
wait
/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/b2sum
/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/md5sum
/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha1sum
/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha224sum
/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha256sum
/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha384sum
/usr/bin/ln -sf hashsum %{buildroot}%{_bindir}/sha512sum
%define cmds() $(echo %1{runcon,arch,base{32,64,name,nc},cat,ch{grp,mod,own,root,con},cksum,comm,cp,csplit,cut,date,dd,df,dir{,colors,name},du,echo,env,expand,expr,factor,false,fmt,fold,groups,hashsum,head,host{id},id,install,join,link,ln,logname,ls,mk{dir,fifo,nod,temp},mv,nice,nl,nohup,nproc,numfmt,od,paste,pathchk,pinky,pr,printenv,printf,ptx,pwd,readlink,realpath,rm{,dir},seq,shred,shuf,sleep,sort,split,stat,stdbuf,sum,sync,tac,tail,tee,test,timeout,touch,tr,true,truncate,tsort,tty,uname,un{expand,iq,link},users,vdir,wc,who{,ami},yes}%2)
cat <<EOF > files.txt
%cmds %_bindir/ ""
%_bindir/[
%cmds %_datadir/bash-completion/completions/ ""
%cmds %_datadir/fish/vendor_completions.d/ .fish
%cmds %_mandir/man1/ .1.gz
%cmds %_datadir/zsh/site-functions/_ ""
EOF
sed -i 's@ @\n@g' files.txt
# remove buildroot from paths in files.txt
sed -i "s@%buildroot@/@g" files.txt
echo "=== Files ==="
cat files.txt
%files -f files.txt
%doc README.md
%license LICENSE
%{_bindir}/b2sum
%{_bindir}/md5sum
%{_bindir}/sha1sum
%{_bindir}/sha224sum
%{_bindir}/sha256sum
%{_bindir}/sha384sum
%{_bindir}/sha512sum
%config(noreplace) %{_sysconfdir}/DIR_COLORS
%config(noreplace) %{_sysconfdir}/DIR_COLORS.lightbgcolor
%{_sysconfdir}/profile.d/colorls.sh
%{_sysconfdir}/profile.d/colorls.csh
%changelog
%autochangelog
+1 -1
View File
@@ -2,7 +2,7 @@ project pkg {
arches = ["x86_64", "i386"]
rpm {
spec = "wine-dxvk.spec"
extra_repos = ["https://repos.fyralabs.com/terra\\$releasever-mesa"]
extra_repos = ["https://repos.fyralabs.com/terrarawhide-mesa"]
}
labels {
mock = 1
+1
View File
@@ -2,6 +2,7 @@ project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "wine-dev.spec"
extra_repos = ["https://repos.fyralabs.com/terrarawhide-mesa"]
}
labels {
mock = 1
+1
View File
@@ -2,6 +2,7 @@ project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "wine-stable.spec"
extra_repos = ["https://repos.fyralabs.com/terrarawhide-mesa"]
}
labels {
mock = 1
+1
View File
@@ -2,6 +2,7 @@ project pkg {
arches = ["x86_64", "aarch64", "i386"]
rpm {
spec = "wine-staging.spec"
extra_repos = ["https://repos.fyralabs.com/terrarawhide-mesa"]
}
labels {
mock = 1
@@ -1,4 +1,4 @@
%global ver 1.8.42
%global ver 1.8.61
Summary: tauOS GTK/GNOME Shell Themes
Name: helium-gtk-theme
+1 -1
View File
@@ -1 +1 @@
8
9
+1 -1
View File
@@ -1,7 +1,7 @@
%global pypi_name copyparty
Name: %{pypi_name}
Version: 1.19.8
Version: 1.19.9
Release: 1%?dist
Summary: Portable, featureful, and fast file server
URL: https://github.com/9001/copyparty
@@ -2,7 +2,7 @@
Name: neovim-default-editor
# Version, release, and epoch are inherited from the editor package just like other default editors
Version: 0.11.3
Version: 0.6.0
Release: 1%?dist
Epoch: 0
# Inherited from Neovim itself
+2 -2
View File
@@ -5,8 +5,8 @@
%endif
Name: cuda-gcc
Version: 14.2.1
Release: 2%?dist
Version: 14.3.1
Release: 1%?dist
Summary: GNU Compiler Collection CUDA compatibility package
License: BSD
URL: http://gcc.gnu.org
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit bde730fec64491b5687b3a2eb9108527156e8b02
%global commit_date 20250824
%global commit d763ce8858547602c9039c0a54455b54df8d01c4
%global commit_date 20250907
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: spotx-bash