From b1db9c253f0fa3da6832ee7d31b299687326086d Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 01:46:16 +0000 Subject: [PATCH 001/267] bump: ruffle-nightly --- anda/apps/ruffle/ruffle-nightly.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/apps/ruffle/ruffle-nightly.spec b/anda/apps/ruffle/ruffle-nightly.spec index 764b2297cf..0f93779f17 100644 --- a/anda/apps/ruffle/ruffle-nightly.spec +++ b/anda/apps/ruffle/ruffle-nightly.spec @@ -1,4 +1,4 @@ -%global ver 2025-05-17 +%global ver 2025-05-18 %global goodver %(echo %ver | sed 's/-//g') %global __brp_mangle_shebangs %{nil} %bcond_without mold From 68ca355718ef0c8d17517a79685e572a13d65ca1 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 01:57:03 +0000 Subject: [PATCH 002/267] bump(nightly): flameshot-nightly legcord-nightly mpv-nightly zed-nightly nim-nightly --- anda/apps/flameshot/flameshot-nightly.spec | 4 ++-- anda/apps/legcord/nightly/legcord-nightly.spec | 4 ++-- anda/apps/mpv/mpv-nightly.spec | 4 ++-- anda/devs/zed/nightly/zed-nightly.spec | 4 ++-- anda/langs/nim/nim-nightly/nim-nightly.spec | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/anda/apps/flameshot/flameshot-nightly.spec b/anda/apps/flameshot/flameshot-nightly.spec index 09ca6438d2..57f54d5c28 100644 --- a/anda/apps/flameshot/flameshot-nightly.spec +++ b/anda/apps/flameshot/flameshot-nightly.spec @@ -1,9 +1,9 @@ #? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec %global ver v12.1.0 -%global commit e9817d8a81c7ff8b2497d087c18a3bc43fd97490 +%global commit f7a049ee78531b7dfa36ead4945ce9c721d90bfe %global shortcommit %{sub %{commit} 1 7} -%global commit_date 20250515 +%global commit_date 20250518 Name: flameshot.nightly Version: %ver^%{commit_date}git.%shortcommit diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index 6fe0887ba3..00f17c63a7 100644 --- a/anda/apps/legcord/nightly/legcord-nightly.spec +++ b/anda/apps/legcord/nightly/legcord-nightly.spec @@ -1,5 +1,5 @@ -%global commit 77e2ccafb221936a99654c237cb385d486780bc7 -%global commit_date 20250505 +%global commit d973796b141b61a2bb8a6bd28f447c8c9aea3520 +%global commit_date 20250518 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define debug_package %nil diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index 367f281ab6..7b67b54b3a 100644 --- a/anda/apps/mpv/mpv-nightly.spec +++ b/anda/apps/mpv/mpv-nightly.spec @@ -1,6 +1,6 @@ -%global commit f9ec3d2c25ce8f7377f6494270467ca89bea9fc9 +%global commit 817372ac96b19ec7228e0ea415598bc629a10431 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250515 +%global commit_date 20250518 %global ver 0.40.0 Name: mpv-nightly diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 5d8ad179e6..ff76519dbd 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,6 +1,6 @@ -%global commit ff0060aa36c76a02e696acacde25af1095277a0a +%global commit 230eb12f7220aea21733a259b670201bc79c7020 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250517 +%global commit_date 20250518 %global ver 0.188.0 %bcond_with check diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 3fbc1c2bf3..891149195b 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -1,8 +1,8 @@ %global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10 -%global commit 1e602490e9f015a2c3c753bbe7d9c239a7e60ab8 +%global commit e855019f84e93e01022ad57aa3624c8e4d237486 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20250517 +%global commit_date 20250518 %global debug_package %nil Name: nim-nightly From 2fb7a86c3fe966b0cb5c291f1897ab40937e1107 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 03:10:57 +0000 Subject: [PATCH 003/267] bump: yt-dlp-git --- anda/tools/yt-dlp/yt-dlp-git.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/yt-dlp/yt-dlp-git.spec b/anda/tools/yt-dlp/yt-dlp-git.spec index 844ef66cfa..002e0f7ac3 100644 --- a/anda/tools/yt-dlp/yt-dlp-git.spec +++ b/anda/tools/yt-dlp/yt-dlp-git.spec @@ -2,7 +2,7 @@ %global oldpkgname yt-dlp-nightly Name: yt-dlp-git -Version: 2025.05.17.203717 +Version: 2025.05.18.014544 Release: 1%?dist Summary: A command-line program to download videos from online video platforms From ac0891f29a7dc84f48558dce32cda769abfc4b2f Mon Sep 17 00:00:00 2001 From: Gilver Date: Sun, 18 May 2025 05:56:58 -0500 Subject: [PATCH 004/267] chore: Update spec to automatically handle Dracut, following Negativo (#4840) * chore: Update spec to automatically handle Dracut, following Negativo Signed-off-by: Gilver * fix: Add open-kmod Signed-off-by: Gilver --------- Signed-off-by: Gilver --- .../nvidia/nvidia-kmod-common/nvidia-kmod-common.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec b/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec index 8e707d5d38..87ba5e0d42 100644 --- a/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec +++ b/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec @@ -8,7 +8,7 @@ Name: nvidia-kmod-common Version: 570.144 -Release: 3%?dist +Release: 4%?dist Summary: Common file for NVIDIA's proprietary driver kernel modules Epoch: 3 License: NVIDIA License @@ -25,6 +25,7 @@ Source21: 60-nvidia.rules # UDev rule location (_udevrulesdir) and systemd macros: BuildRequires: systemd-rpm-macros +Requires: dracut Requires: nvidia-modprobe Requires: (nvidia-open-kmod = %{?epoch:%{epoch}:}%{version} or nvidia-kmod = %{?epoch:%{epoch}:}%{version}) Provides: nvidia-kmod-common = %{?epoch:%{epoch}:}%{version} @@ -66,6 +67,9 @@ if [ "$1" -eq "2" ] && [ -x %{_bindir}/nvidia-boot-update ]; then fi ||: +%triggerin -- nvidia-kmod,nvidia-open-kmod +dracut --regenerate-all --force + %files %doc MODULE_VARIANT.txt %{_modprobedir}/nvidia.conf From d89af55e0c714717d13605696d0c0ca047a70147 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 10:59:29 +0000 Subject: [PATCH 005/267] bump: rust-mise --- anda/tools/buildsys/mise/rust-mise.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/buildsys/mise/rust-mise.spec b/anda/tools/buildsys/mise/rust-mise.spec index a21db6b5c8..d047b47dcb 100644 --- a/anda/tools/buildsys/mise/rust-mise.spec +++ b/anda/tools/buildsys/mise/rust-mise.spec @@ -5,7 +5,7 @@ %global crate mise Name: rust-mise -Version: 2025.5.6 +Version: 2025.5.7 Release: 1%?dist Summary: Front-end to your dev env From da26946fe164bab701975dbe2e4cfac7b64f16dc Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 13:33:08 +0000 Subject: [PATCH 006/267] bump: nekoray --- anda/apps/nekoray/Sagernet.SingBox.Version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/apps/nekoray/Sagernet.SingBox.Version.txt b/anda/apps/nekoray/Sagernet.SingBox.Version.txt index 754b11c226..12410289c4 100644 --- a/anda/apps/nekoray/Sagernet.SingBox.Version.txt +++ b/anda/apps/nekoray/Sagernet.SingBox.Version.txt @@ -1 +1 @@ -v1.11.10 \ No newline at end of file +v1.11.11 \ No newline at end of file From d09a1fee3356a750c6d7e2d52ff2eff4ccfd66e2 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 13:45:47 +0000 Subject: [PATCH 007/267] bump: eww --- anda/desktops/waylands/eww/eww.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/desktops/waylands/eww/eww.spec b/anda/desktops/waylands/eww/eww.spec index b465e859ef..0aa2c2b179 100644 --- a/anda/desktops/waylands/eww/eww.spec +++ b/anda/desktops/waylands/eww/eww.spec @@ -1,7 +1,7 @@ # Generated by rust2rpm 27 -%global commit 15315a05ece87aa36fd6b0ff54f6484823e40cda +%global commit 98c220126d912b935987766f56650b55f3e226eb %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250513 +%global commit_date 20250518 %global ver v0.6.0 %bcond check 0 From ca50a85f4941d101c52780c971f361258cd95d8d Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 15:56:07 +0000 Subject: [PATCH 008/267] bump: lomiri-system-settings --- .../lomiri-system-settings/lomiri-system-settings.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec index 7750f4b302..00b5c2543e 100644 --- a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec +++ b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings -%global commit e0ea88f4f6f0f34d39112f4be455c339f11d3b3d +%global commit cc438c3a3274af4bb088ca85f18bad392e041f9c %forgemeta Name: lomiri-system-settings From 75fa1f1fd245ad6c545d33f2ee2f75b05cc4761e Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 18:26:02 +0000 Subject: [PATCH 009/267] bump: lomiri-system-settings --- .../lomiri-system-settings/lomiri-system-settings.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec index 00b5c2543e..7490b33191 100644 --- a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec +++ b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings -%global commit cc438c3a3274af4bb088ca85f18bad392e041f9c +%global commit c475f095c6619435b4e8b31547505a92e73169cc %forgemeta Name: lomiri-system-settings From f14a65e5ffdc8042856429acdab175441dbff1f2 Mon Sep 17 00:00:00 2001 From: Gilver Date: Sun, 18 May 2025 14:04:55 -0500 Subject: [PATCH 010/267] fix(zig): Increase memory limit due to aarch64 memory needs (#4870) * fix(zig): Increase memory limit due or aarch64 memory needs * feat(zig): Use a macro to have the update script more efficient --- ...ounds-of-main-zig-executable-to-10G.patch} | 2 +- .../zig/bootstrap/zig-master-bootstrap.spec | 4 +- ...ounds-of-main-zig-executable-to-10G.patch} | 2 +- anda/langs/zig/master/update.rhai | 5 -- anda/langs/zig/master/zig-master.spec | 67 ++++++++++--------- 5 files changed, 39 insertions(+), 41 deletions(-) rename anda/langs/zig/bootstrap/{0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch => 0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch} (89%) rename anda/langs/zig/master/{0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch => 0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch} (89%) diff --git a/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch b/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch similarity index 89% rename from anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch rename to anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch index 2101ac8a2d..b6f8ca3a6d 100644 --- a/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch +++ b/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch @@ -5,7 +5,7 @@ const exe = b.addExecutable(.{ .name = "zig", - .max_rss = 7_800_000_000, -+ .max_rss = 9_000_000_000, ++ .max_rss = 10_000_000_000, .root_module = compiler_mod, }); exe.stack_size = stack_size; diff --git a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec index e6f52df4d0..eb264752ae 100644 --- a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec +++ b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec @@ -39,14 +39,14 @@ Name: zig-master-bootstrap Version: %(echo %{ver} | sed 's/-/~/g') -Release: 1%?dist +Release: 2%?dist Summary: Boostrap builds for Zig. 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 URL: https://ziglang.org Source0: %{url}/builds/zig-%{ver}.tar.xz Source1: %{url}/builds/zig-%{ver}.tar.xz.minisig Patch0: 0000-remove-native-lib-directories-from-rpath.patch -Patch1: 0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch +Patch1: 0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch Patch2: 0002-build-pass-zig-lib-dir-as-directory-instead-of-as-st.patch BuildRequires: cmake BuildRequires: gcc diff --git a/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch b/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch similarity index 89% rename from anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch rename to anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch index 2101ac8a2d..b6f8ca3a6d 100644 --- a/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch +++ b/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch @@ -5,7 +5,7 @@ const exe = b.addExecutable(.{ .name = "zig", - .max_rss = 7_800_000_000, -+ .max_rss = 9_000_000_000, ++ .max_rss = 10_000_000_000, .root_module = compiler_mod, }); exe.stack_size = stack_size; diff --git a/anda/langs/zig/master/update.rhai b/anda/langs/zig/master/update.rhai index fb5cefc6c1..1ddb84e899 100644 --- a/anda/langs/zig/master/update.rhai +++ b/anda/langs/zig/master/update.rhai @@ -1,8 +1,3 @@ import "andax/bump_extras.rhai" as bump; rpm.version(bump::madoguchi("zig-master-bootstrap", labels.branch)); -if rpm.changed () { - let v = sh("cat anda/langs/zig/bootstrap/zig-master-bootstrap.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; - v.pop(); - rpm.global("ver", v); -} diff --git a/anda/langs/zig/master/zig-master.spec b/anda/langs/zig/master/zig-master.spec index 76e17e8cd4..8655ab424f 100644 --- a/anda/langs/zig/master/zig-master.spec +++ b/anda/langs/zig/master/zig-master.spec @@ -7,46 +7,21 @@ %define llvm_compat 20 %endif %global llvm_version 20.0.0 -%global ver 0.15.0-dev.565+8e72a2528 %bcond bootstrap 0 %bcond docs %{without bootstrap} %bcond test 1 %global zig_cache_dir %{builddir}/zig-cache -%global zig_build_options %{shrink: \ - --verbose \ - --release=fast \ - --summary all \ - \ - -Dtarget=native \ - -Dcpu=baseline \ - --zig-lib-dir lib \ - --build-id=sha1 \ - \ - --cache-dir "%{zig_cache_dir}" \ - --global-cache-dir "%{zig_cache_dir}" \ - \ - -Dversion-string="%(v=%{ver}; echo ${v:0:6})" \ - -Dstatic-llvm=false \ - -Denable-llvm=true \ - -Dno-langref=true \ - -Dstd-docs=false \ - -Dpie \ - -Dconfig_h="%{__cmake_builddir}/config.h" \ -} -%global zig_install_options %zig_build_options %{shrink: \ - --prefix "%{_prefix}" \ -} Name: zig-master Version: 0.15.0~dev.565+8e72a2528 -Release: 1%?dist +Release: 2%?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 URL: https://ziglang.org -Source0: %{url}/builds/zig-%{ver}.tar.xz -Source1: %{url}/builds/zig-%{ver}.tar.xz.minisig +Source0: %{url}/builds/zig-%{version_no_tilde}.tar.xz +Source1: %{url}/builds/zig-%{version_no_tilde}.tar.xz.minisig Patch0: 0000-remove-native-lib-directories-from-rpath.patch -Patch1: 0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch +Patch1: 0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch Patch2: 0002-build-pass-zig-lib-dir-as-directory-instead-of-as-st.patch BuildRequires: cmake BuildRequires: gcc @@ -67,6 +42,8 @@ BuildRequires: %{name}-bootstrap = %{version} BuildRequires: elfutils-libelf-devel BuildRequires: libstdc++-static %endif +# For the version_no_tilde macro +BuildRequires: rust-srpm-macros # Zig invokes the C compiler to figure out system info Requires: gcc Requires: %{name}-libs = %{version} @@ -90,6 +67,32 @@ Conflicts: zig ExclusiveArch: %{zig_arches} Packager: Gilver E. +# Must be defined AFTER the version is +%global zig_build_options %{shrink: \ + --verbose \ + --release=fast \ + --summary all \ + \ + -Dtarget=native \ + -Dcpu=baseline \ + --zig-lib-dir lib \ + --build-id=sha1 \ + \ + --cache-dir "%{zig_cache_dir}" \ + --global-cache-dir "%{zig_cache_dir}" \ + \ + -Dversion-string="%(v=%{version_no_tilde}; echo ${v:0:6})" \ + -Dstatic-llvm=false \ + -Denable-llvm=true \ + -Dno-langref=true \ + -Dstd-docs=false \ + -Dpie \ + -Dconfig_h="%{__cmake_builddir}/config.h" \ +} +%global zig_install_options %zig_build_options %{shrink: \ + --prefix "%{_prefix}" \ +} + %description Zig is an open source alternative to C. This package provides the master/"prerelease" builds of the Zig compiler and the associated runtime. @@ -117,7 +120,7 @@ Documentation for Zig. For more information, visit %{url} %prep /usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} -%autosetup -p1 -n zig-%{ver} +%autosetup -p1 -n zig-%{version_no_tilde} %if %{without bootstrap} # Ensure that the pre-build stage1 binary is not used rm -f stage1/zig1.wasm @@ -141,7 +144,7 @@ rm -f stage1/zig1.wasm -DZIG_TARGET_MCPU:STRING=baseline \ -DZIG_TARGET_TRIPLE:STRING=native \ \ - -DZIG_VERSION:STRING="%(v=%{ver}; echo ${v:0:6})" + -DZIG_VERSION:STRING="%(v=%{version_no_tilde}; echo ${v:0:6})" %if %{with bootstrap} %cmake_build --target stage3 @@ -163,7 +166,7 @@ attempt=1 while ./zig-out/bin/zig build docs \ --verbose \ --global-cache-dir "%{zig_cache_dir}" \ - -Dversion-string="%(v=%{ver}; echo ${v:0:6})"; [[ $? -ne 0 ]]; + -Dversion-string="%(v=%{version_no_tilde}; echo ${v:0:6})"; [[ $? -ne 0 ]]; do echo "Transitive failure. Trying again." From 9314c0fbee278f6013ea738b1505991569a70962 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 20:26:55 +0000 Subject: [PATCH 011/267] bump: rust-mise --- anda/tools/buildsys/mise/rust-mise.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/buildsys/mise/rust-mise.spec b/anda/tools/buildsys/mise/rust-mise.spec index d047b47dcb..0d1f6603d7 100644 --- a/anda/tools/buildsys/mise/rust-mise.spec +++ b/anda/tools/buildsys/mise/rust-mise.spec @@ -5,7 +5,7 @@ %global crate mise Name: rust-mise -Version: 2025.5.7 +Version: 2025.5.8 Release: 1%?dist Summary: Front-end to your dev env From e1c08e541bf32c4ce36d4ec150052ad56a019eed Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 18 May 2025 20:55:31 +0000 Subject: [PATCH 012/267] bump: legcord-bin legcord --- anda/apps/legcord/legcord-bin/legcord-bin.spec | 2 +- anda/apps/legcord/stable/legcord.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/apps/legcord/legcord-bin/legcord-bin.spec b/anda/apps/legcord/legcord-bin/legcord-bin.spec index fa6a014c2e..19dfb36b67 100644 --- a/anda/apps/legcord/legcord-bin/legcord-bin.spec +++ b/anda/apps/legcord/legcord-bin/legcord-bin.spec @@ -14,7 +14,7 @@ %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so Name: legcord-bin -Version: 1.1.3 +Version: 1.1.4 Release: 1%?dist License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience diff --git a/anda/apps/legcord/stable/legcord.spec b/anda/apps/legcord/stable/legcord.spec index 5d9ad21569..e2958b95de 100644 --- a/anda/apps/legcord/stable/legcord.spec +++ b/anda/apps/legcord/stable/legcord.spec @@ -5,7 +5,7 @@ %global __provides_exclude_from %{_datadir}/(armcord|legcord)/.*\\.so Name: legcord -Version: 1.1.3 +Version: 1.1.4 Release: 1%?dist License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience From 0100e509c8413eef6d6d72fc855bd702fbf5c101 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 19 May 2025 01:56:14 +0000 Subject: [PATCH 013/267] bump(nightly): legcord-nightly zed-nightly --- anda/apps/legcord/nightly/legcord-nightly.spec | 4 ++-- anda/devs/zed/nightly/zed-nightly.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index 00f17c63a7..fd09e18511 100644 --- a/anda/apps/legcord/nightly/legcord-nightly.spec +++ b/anda/apps/legcord/nightly/legcord-nightly.spec @@ -1,5 +1,5 @@ -%global commit d973796b141b61a2bb8a6bd28f447c8c9aea3520 -%global commit_date 20250518 +%global commit f5894a734d0f23826e987f45fdf35490e3da955a +%global commit_date 20250519 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define debug_package %nil diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index ff76519dbd..daa9cd7453 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,6 +1,6 @@ -%global commit 230eb12f7220aea21733a259b670201bc79c7020 +%global commit a8292818417d8b06ab4a274e38b5801564390331 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250518 +%global commit_date 20250519 %global ver 0.188.0 %bcond_with check From 0e9cfdca4cea25c6dc17c6d2f5994165e663e58a Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 19 May 2025 03:10:59 +0000 Subject: [PATCH 014/267] bump: limine --- anda/system/limine/limine.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/system/limine/limine.spec b/anda/system/limine/limine.spec index a0e88feb2f..df0631c1ea 100644 --- a/anda/system/limine/limine.spec +++ b/anda/system/limine/limine.spec @@ -1,5 +1,5 @@ Name: limine -Version: 9.3.1 +Version: 9.3.2 Release: 1%?dist Summary: Modern, advanced, portable, multiprotocol bootloader License: BSD-2-Clause From 74492ac8f1059b25ce606303104f9c71208b8af5 Mon Sep 17 00:00:00 2001 From: Gilver Date: Sun, 18 May 2025 23:34:41 -0500 Subject: [PATCH 015/267] chore(modern-colorthief): pyproject-rpm-macros build dep (#4867) I forgot EL10 is different and doesn't automatically pull this as a dep of the other Python build packages. Partner to a PR I am going to do for <= 42 to re-enable the tests so this backports cleanly once this package is merged on all branches. Signed-off-by: Gilver --- anda/tools/modern-colorthief/modern-colorthief.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/tools/modern-colorthief/modern-colorthief.spec b/anda/tools/modern-colorthief/modern-colorthief.spec index 9d7e624e53..26ca5fc500 100644 --- a/anda/tools/modern-colorthief/modern-colorthief.spec +++ b/anda/tools/modern-colorthief/modern-colorthief.spec @@ -17,6 +17,7 @@ BuildRequires: cargo-rpm-macros BuildRequires: maturin BuildRequires: mold BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros BuildRequires: python3dist(pip) BuildRequires: python3dist(setuptools) %if %{with docs} From cdd6b26c69185197b6064b10b8591d3a5a37e31e Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 19 May 2025 08:52:06 +0000 Subject: [PATCH 016/267] bump: lightdm-kde-greeter --- .../desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec b/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec index abfe7a2159..adeb1f8bb2 100644 --- a/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec +++ b/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec @@ -1,7 +1,7 @@ -%global commit c3f01539e3b036ae940e678f5739b37ca0300ce2 +%global commit 31d29530ad834c1bfb70ed43f9395a549fbace56 Name: lightdm-kde-greeter -Version: 6.0.2 +Version: 6.0.3 Release: 1%?dist Summary: Login screen using the LightDM framework License: GPL-3.0-or-later From 8f13a9d56d7e27930ece58fd8269a99fb611855f Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 19 May 2025 09:43:02 +0000 Subject: [PATCH 017/267] bump: zig-master-bootstrap --- anda/langs/zig/bootstrap/zig-master-bootstrap.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec index eb264752ae..28bb1d2799 100644 --- a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec +++ b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec @@ -7,7 +7,7 @@ %define llvm_compat 20 %endif %global llvm_version 20.0.0 -%global ver 0.15.0-dev.565+8e72a2528 +%global ver 0.15.0-dev.566+74a3ae492 %bcond bootstrap 1 %bcond docs %{without bootstrap} %bcond test 1 @@ -39,7 +39,7 @@ Name: zig-master-bootstrap Version: %(echo %{ver} | sed 's/-/~/g') -Release: 2%?dist +Release: 1%?dist Summary: Boostrap builds for Zig. 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 URL: https://ziglang.org From 9f5b32c7985fd6ce7749c9dde40eca47e7fd1d8f Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 19 May 2025 10:44:47 +0000 Subject: [PATCH 018/267] bump(branch): zig-master --- anda/langs/zig/master/zig-master.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/langs/zig/master/zig-master.spec b/anda/langs/zig/master/zig-master.spec index 8655ab424f..fe0f6caaa2 100644 --- a/anda/langs/zig/master/zig-master.spec +++ b/anda/langs/zig/master/zig-master.spec @@ -13,8 +13,8 @@ %global zig_cache_dir %{builddir}/zig-cache Name: zig-master -Version: 0.15.0~dev.565+8e72a2528 -Release: 2%?dist +Version: 0.15.0~dev.566+74a3ae492 +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 URL: https://ziglang.org From 891a586411f8b1eede714cab64bd79fe7f5a4b14 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 19 May 2025 10:46:41 +0000 Subject: [PATCH 019/267] bump: lomiri-system-settings --- .../lomiri-system-settings/lomiri-system-settings.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec index 7490b33191..b4691b05bd 100644 --- a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec +++ b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings -%global commit c475f095c6619435b4e8b31547505a92e73169cc +%global commit 8ea4a5730db308b73b3e3a9d6935477700091bfd %forgemeta Name: lomiri-system-settings From 3c1be11bfd91710378646e9f5bcefe1e77f54b4d Mon Sep 17 00:00:00 2001 From: Gilver Date: Mon, 19 May 2025 06:38:13 -0500 Subject: [PATCH 020/267] add: Terra WINE (#4857) * add: Terra WINE stack * chore: Rename some stuff and conflicts * chore: Rename Git * Update winetricks-git.spec Signed-off-by: Gilver * Update winetricks.spec Signed-off-by: Gilver * Update and rename wine-devel.spec to wine-dev.spec Signed-off-by: Gilver * fix: Weird ix86 stuff * fix: I messed with Winetricks last can you tell * fix: Requires * fix: Files * fix?: aarch64 fixes * fix: Better dir fix * fix: Even better * fix: What * fix: ? * AaaaaAAAAA Signed-off-by: Gilver * Update wine-stable.spec Signed-off-by: Gilver * Update wine-dev.spec Signed-off-by: Gilver * Update winetricks-git.spec Signed-off-by: Gilver * Hopefully actually fix that jank --------- Signed-off-by: Gilver --- anda/apps/winetricks/git/anda.hcl | 10 + anda/apps/winetricks/git/update.rhai | 7 + anda/apps/winetricks/git/winetricks-git.spec | 75 ++++ anda/apps/winetricks/stable/anda.hcl | 9 + anda/apps/winetricks/stable/update.rhai | 1 + anda/apps/winetricks/stable/winetricks.spec | 68 +++ anda/system/wine/dev/anda.hcl | 11 + anda/system/wine/dev/update.rhai | 12 + anda/system/wine/dev/wine-dev.spec | 420 +++++++++++++++++++ anda/system/wine/dev/wine.keyring | 52 +++ anda/system/wine/stable/anda.hcl | 11 + anda/system/wine/stable/update.rhai | 6 + anda/system/wine/stable/wine-stable.spec | 413 ++++++++++++++++++ anda/system/wine/stable/wine.keyring | 52 +++ anda/system/wine/staging/anda.hcl | 11 + anda/system/wine/staging/update.rhai | 12 + anda/system/wine/staging/wine-staging.spec | 417 ++++++++++++++++++ anda/system/wine/staging/wine.keyring | 52 +++ 18 files changed, 1639 insertions(+) create mode 100644 anda/apps/winetricks/git/anda.hcl create mode 100644 anda/apps/winetricks/git/update.rhai create mode 100644 anda/apps/winetricks/git/winetricks-git.spec create mode 100644 anda/apps/winetricks/stable/anda.hcl create mode 100644 anda/apps/winetricks/stable/update.rhai create mode 100644 anda/apps/winetricks/stable/winetricks.spec create mode 100644 anda/system/wine/dev/anda.hcl create mode 100644 anda/system/wine/dev/update.rhai create mode 100644 anda/system/wine/dev/wine-dev.spec create mode 100644 anda/system/wine/dev/wine.keyring create mode 100644 anda/system/wine/stable/anda.hcl create mode 100644 anda/system/wine/stable/update.rhai create mode 100644 anda/system/wine/stable/wine-stable.spec create mode 100644 anda/system/wine/stable/wine.keyring create mode 100644 anda/system/wine/staging/anda.hcl create mode 100644 anda/system/wine/staging/update.rhai create mode 100644 anda/system/wine/staging/wine-staging.spec create mode 100644 anda/system/wine/staging/wine.keyring diff --git a/anda/apps/winetricks/git/anda.hcl b/anda/apps/winetricks/git/anda.hcl new file mode 100644 index 0000000000..dfa0346fa5 --- /dev/null +++ b/anda/apps/winetricks/git/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "winetricks-git.spec" + } + labels { + subrepo = "extras" + nightly = 1 + } +} diff --git a/anda/apps/winetricks/git/update.rhai b/anda/apps/winetricks/git/update.rhai new file mode 100644 index 0000000000..72c0a1c662 --- /dev/null +++ b/anda/apps/winetricks/git/update.rhai @@ -0,0 +1,7 @@ +rpm.global("commit", gh_commit("Winetricks/winetricks")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("Winetricks/winetricks"); + rpm.global("ver", v); +} diff --git a/anda/apps/winetricks/git/winetricks-git.spec b/anda/apps/winetricks/git/winetricks-git.spec new file mode 100644 index 0000000000..881a9d4fa8 --- /dev/null +++ b/anda/apps/winetricks/git/winetricks-git.spec @@ -0,0 +1,75 @@ +# Fedora sometimes sources the snapshots under stable versions and just bumps release +# For user clarity I have separated these into different packages +%global commit 00427b67de70bfefd282d0abc7edd1daa442e73e +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global ver 20250102 +%global commit_date 20250504 + +Name: winetricks-git +Version: %{ver}^%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: Work around common problems in Wine; Winetricks Git builds +License: LGPL-2.1-or-later +URL: https://github.com/Winetricks/winetricks +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: make +Requires: cabextract +Requires: gzip +Requires: unzip +Requires: wget +Requires: which +Requires: hicolor-icon-theme +Requires: (kdialog or zenity) +Requires: (wine-stable or wine-staging or wine-dev or wine-common) +Conflicts: winetricks +Conflicts: terra-winetricks +BuildArch: noarch +# need arch-specific wine, not available everywhere: +# - adopted from wine.spec +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 +ExcludeArch: ppc64 ppc64le + +%description +Winetricks is an easy way to work around common problems in Wine. + +It has a menu of supported games/apps for which it can do all the +workarounds automatically. It also lets you install missing DLLs +or tweak various Wine settings individually. + +This version of Winetricks is built from the latest Git. + +It is also compatible with Terra WINE builds. + +%prep +%setup -qn winetricks-%{commit} + +sed -i -e s:steam:: -e s:flash:: tests/* + +%build +# Empty build section because RPM + +%install +%make_install +# some tarballs do not install appdata +install -Dm0644 -t %{buildroot}%{_datadir}/metainfo src/io.github.winetricks.Winetricks.metainfo.xml + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/winetricks.desktop + + +%files +%license COPYING +%license debian/copyright +%doc README.md +%{_bindir}/winetricks +%{_mandir}/man1/winetricks.1* +%{_datadir}/applications/winetricks.desktop +%{_datadir}/bash-completion/completions/winetricks +%{_datadir}/icons/hicolor/scalable/apps/winetricks.svg +%{_datadir}/metainfo/io.github.winetricks.Winetricks.metainfo.xml + + +%changelog +%autochangelog diff --git a/anda/apps/winetricks/stable/anda.hcl b/anda/apps/winetricks/stable/anda.hcl new file mode 100644 index 0000000000..a57839ea14 --- /dev/null +++ b/anda/apps/winetricks/stable/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "winetricks.spec" + } + labels { + subrepo = "extras" + } +} diff --git a/anda/apps/winetricks/stable/update.rhai b/anda/apps/winetricks/stable/update.rhai new file mode 100644 index 0000000000..bf79b1bee5 --- /dev/null +++ b/anda/apps/winetricks/stable/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Winetricks/winetricks")); diff --git a/anda/apps/winetricks/stable/winetricks.spec b/anda/apps/winetricks/stable/winetricks.spec new file mode 100644 index 0000000000..29132eb2d7 --- /dev/null +++ b/anda/apps/winetricks/stable/winetricks.spec @@ -0,0 +1,68 @@ +# Fedora sometimes sources the snapshots under stable versions and just bumps release +# For user clarity I have separated these into different packages + +Name: terra-winetricks +Version: 20250102 +Release: 1%{?dist} +Summary: Winetricks built to be compatible with Terra WINE builds +License: LGPL-2.1-or-later +URL: https://github.com/Winetricks/winetricks +Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +BuildRequires: desktop-file-utils +BuildRequires: gcc +BuildRequires: make +Requires: cabextract +Requires: gzip +Requires: unzip +Requires: wget +Requires: which +Requires: hicolor-icon-theme +Requires: (kdialog or zenity) +Requires: (wine-stable or wine-staging or wine-dev) +Conflicts: winetricks +Conflicts: winetricks-git +BuildArch: noarch +# need arch-specific wine, not available everywhere: +# - adopted from wine.spec +ExclusiveArch: %{ix86} x86_64 %{arm} aarch64 +ExcludeArch: ppc64 ppc64le + +%description +Winetricks is an easy way to work around common problems in Wine. + +It has a menu of supported games/apps for which it can do all the +workarounds automatically. It also lets you install missing DLLs +or tweak various Wine settings individually. + + +%prep +%setup -q -n winetricks-%{version} + +sed -i -e s:steam:: -e s:flash:: tests/* + +%build +# Empty build section because RPM + +%install +%make_install +# some tarballs do not install appdata +install -Dm0644 -t %{buildroot}%{_datadir}/metainfo src/io.github.winetricks.Winetricks.metainfo.xml + +%check +desktop-file-validate %{buildroot}%{_datadir}/applications/winetricks.desktop + + +%files +%license COPYING +%license debian/copyright +%doc README.md +%{_bindir}/winetricks +%{_mandir}/man1/winetricks.1* +%{_datadir}/applications/winetricks.desktop +%{_datadir}/bash-completion/completions/winetricks +%{_datadir}/icons/hicolor/scalable/apps/winetricks.svg +%{_datadir}/metainfo/io.github.winetricks.Winetricks.metainfo.xml + + +%changelog +%autochangelog diff --git a/anda/system/wine/dev/anda.hcl b/anda/system/wine/dev/anda.hcl new file mode 100644 index 0000000000..ae57da621e --- /dev/null +++ b/anda/system/wine/dev/anda.hcl @@ -0,0 +1,11 @@ +project pkg { + arches = ["x86_64", "aarch64", "i386"] + rpm { + spec = "wine-dev.spec" + extra_repos = ["https://repos.fyralabs.com/terrarawhide-mesa"] + } + labels { + mock = 1 + subrepo = "extras" + } +} diff --git a/anda/system/wine/dev/update.rhai b/anda/system/wine/dev/update.rhai new file mode 100644 index 0000000000..65224dc820 --- /dev/null +++ b/anda/system/wine/dev/update.rhai @@ -0,0 +1,12 @@ +let v = (gitlab_tag("gitlab.winehq.org", "5")); +v.crop(1); +rpm.global("ver", v); // Sometimes the development branch includes RC candidates +if rpm.changed () { + rpm.release(); + // Only find versions ending in .x (point releases) + let matches = (find_all("[\\d.]+[.]x", get("https://dl.winehq.org/wine/source/"))); + matches.dedup(); + let s = sh(`echo ${matches} | sed 's/,//g' | sed 's/\[//g' | sed 's/\]//g' | sed 's/"//g' | tr ' ' '\n' | sort -nr | tr '\n' ' '`, #{"stdout": "piped"}).ctx.stdout; + s.truncate(4); + rpm.global("srcmajor", s); +} diff --git a/anda/system/wine/dev/wine-dev.spec b/anda/system/wine/dev/wine-dev.spec new file mode 100644 index 0000000000..270a0ed1f7 --- /dev/null +++ b/anda/system/wine/dev/wine-dev.spec @@ -0,0 +1,420 @@ +# Terra WINE Development branch +# Based on WineHQ's WINE builds with changes for our repos and update system + + +%define _lto_cflags %{nil} +%global flavor %nil +%global compat_package terra-wine-dev +# Cannot use the _datadir macro here or it will cause mass macro recursion +%global _prefix /usr/share/wine-dev +%global srcmajor 10.x +# Make this as a variable instead in case of WINE RCs +%global ver 10.7 + +# This is unfortunate but a lot of Fedora's/SUSE's hardening flags break WINE +%undefine _hardened_build + +# Upstream WineHQ names this -devel, I have renamed it dev to signify it is the dev branch +# Also less confusing because it has a devel package +Name: wine-dev +Version: %(echo %{ver} | sed 's/-/~/g') +Release: 1 +Epoch: 1 +Summary: WINE Is Not An Emulator - runs MS Windows programs +License: LGPL-2.0-or-later +Group: Emulators +URL: https://www.winehq.org + +%define lib_major 1 +%define lib_name lib%{name}1 +%define lib_name_devel lib%{name}-devel + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%define wine %{name}64 +%define mark64 ()(64bit) +%else +%define wine %{name} +%define mark64 %{nil} +%endif +%endif + +%if 0%{?fedora} >= 40 +%define wine %{name} +%ifarch x86_64 +%define mark64 ()(64bit) +%else +%define mark64 %{nil} +%endif +%endif + +Source0: https://dl.winehq.org/wine/source/%{srcmajor}/wine-%{ver}.tar.xz +Source1: https://dl.winehq.org/wine/source/%{srcmajor}/wine-%{version}.tar.xz.sign + +# Alexandres key +Source99: wine.keyring + +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: autoconf +BuildRequires: bison +BuildRequires: coreutils +BuildRequires: cups-devel +BuildRequires: dbus-devel +BuildRequires: desktop-file-utils +BuildRequires: flex +BuildRequires: fontconfig-devel +BuildRequires: fontforge +BuildRequires: fontpackages-devel +BuildRequires: freeglut-devel +BuildRequires: freetype-devel +BuildRequires: gawk +BuildRequires: gcc +BuildRequires: gettext-devel +BuildRequires: giflib-devel +BuildRequires: gnupg2 +BuildRequires: gnutls-devel +BuildRequires: gstreamer1-devel +BuildRequires: gstreamer1-plugins-base-devel +BuildRequires: icoutils +BuildRequires: ImageMagick-devel +BuildRequires: krb5-devel +BuildRequires: lcms2-devel +BuildRequires: libattr-devel +BuildRequires: libavcodec-free-devel +BuildRequires: libavformat-free-devel +BuildRequires: libavutil-free-devel +BuildRequires: libgphoto2-devel +BuildRequires: libieee1284-devel +BuildRequires: libnetapi-devel +BuildRequires: libpcap-devel +BuildRequires: librsvg2 +BuildRequires: librsvg2-devel +BuildRequires: libstdc++-devel +BuildRequires: libudev-devel +BuildRequires: libusb1-devel +BuildRequires: libv4l-devel +BuildRequires: libX11-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXcursor-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libxkbcommon-devel +BuildRequires: libXmu-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: lzma +BuildRequires: mesa-compat-libOSMesa-devel +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +BuildRequires: mingw32-gcc +BuildRequires: mingw64-gcc +BuildRequires: ncurses-devel +BuildRequires: ocl-icd-devel +BuildRequires: opencl-headers +BuildRequires: pcsc-lite-devel +BuildRequires: pulseaudio-libs-devel +BuildRequires: samba-devel +BuildRequires: sane-backends-devel +BuildRequires: SDL2-devel +BuildRequires: unixODBC-devel +BuildRequires: unzip +BuildRequires: util-linux +BuildRequires: vulkan-devel +BuildRequires: xz + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%package -n %{wine} +%endif +%endif + +Summary: WINE Is Not An Emulator - runs MS Windows programs +Group: Emulators +%ifarch x86_64 +Conflicts: %{name} +%else +Conflicts: %{name}64 +%endif +%if 0%{?fedora} < 40 +Requires: %{name}-common = %{epoch}:%{version}-%{release} +%endif +Provides: %{lib_name} = %{epoch}:%{version}-%{release} +Provides: %{name}-bin = %{epoch}:%{version}-%{release} +Obsoletes: %{lib_name} <= %{epoch}:%{version}-%{release} + +%ifarch %{ix86} +%package -n %{name}-common +Summary: WINE Is Not An Emulator - runs MS Windows programs (32-bit common files) +Group: Emulators +Requires: %{name}-bin = %{epoch}:%{version}-%{release} + +%description -n %{name}-common +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This package contains the files needed to support 32-bit Windows +programs, and is used by both %{name} and %{name}64. +%endif + +%define dlopenreq() %(F=/usr/%{_lib}/lib%{1}.so;[ -e $F ] && (file $F|grep -q ASCII && grep -o 'lib[^ ]*' $F|sed -e "s/\$/%{mark64}/"||objdump -p $F | grep SONAME | awk '{ print $2 "%{mark64}" }') || echo "wine-missing-buildrequires-on-%{1}") +Requires: %dlopenreq asound +Requires: %dlopenreq attr +Requires: %dlopenreq cups +Requires: %dlopenreq dbus-1 +Requires: %dlopenreq fontconfig +Requires: %dlopenreq freetype +Requires: %dlopenreq gnutls +Requires: %dlopenreq krb5 +Requires: %dlopenreq ncurses +Requires: %dlopenreq odbc +Requires: %dlopenreq OSMesa +Requires: %dlopenreq sane +Requires: %dlopenreq SDL2 +Requires: %dlopenreq v4l1 +Requires: %dlopenreq vulkan +Requires: %dlopenreq Xcomposite +Requires: %dlopenreq Xcursor +Requires: %dlopenreq Xi +Requires: %dlopenreq Xinerama +Requires: %dlopenreq Xrandr +Requires: %dlopenreq Xrender +Requires: %dlopenreq Xxf86vm +%if 0%{?fedora} +Suggests: sane-frontends +%endif +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils + +%define desc Wine is a program which allows running Microsoft Windows programs \ +(including DOS, Windows 3.x and Win32 executables) on Unix. It \ +consists of a program loader which loads and executes a Microsoft \ +Windows binary, and a library (called Winelib) that implements Windows \ +API calls using their Unix or X11 equivalents. The library may also \ +be used for porting Win32 code into native Unix executables. + +%description +%desc + +%ifarch x86_64 +%description -n %{wine} +%desc +%endif + +%package -n %{wine}-devel +Summary: Static libraries and headers for %{name} (64-bit) +Group: Development/C +Requires: %{wine} = %{epoch}:%{version}-%{release} +%ifarch x86_64 +Conflicts: %{name}-devel +%else +Conflicts: %{name}64-devel +%endif +Provides: %{lib_name_devel} = %{epoch}:%{version}-%{release} +Obsoletes: %{lib_name_devel} <= %{epoch}:%{version}-%{release} +%description -n %{wine}-devel +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This package contains the libraries and header files needed to +develop programs which make use of Wine. + +%package -n %compat_package +Summary: WINE Is Not An Emulator - runs MS Windows programs +Group: Emulators +Requires: %{wine} = %{epoch}:%{version}-%{release} +%if 0%{?fedora} < 40 +Conflicts: wine wine64 wine-core wine-common wine-desktop wine-devel +%else +Conflicts: wine wine64 wine-core wine-common wine-desktop +%endif + +%description -n %compat_package +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This compatibility package allows to use %{wine} system-wide as +the default Wine version. + +%prep +# Pull key from key server, if this fails import local copy and then refresh it to make sure it is up to date +gpg --keyserver hkp://keys.gnupg.net --recv-keys CEFAC8EAAF17519D || { gpg --with-fingerprint --import %{SOURCE99} && gpg --refresh-keys; } +gpg --update-trustdb +gpg --verify --with-fingerprint %{SOURCE1} %{SOURCE0} +%setup -n wine-%{version} -q -T -b0 + +%build +# MinGW GCC does not support these options +%define debug_package %{nil} +export LDFLAGS="$(echo "%{build_ldflags}" | sed -e 's/-Wl,-z,relro//' -e 's/-Wl,--build-id=sha1//' -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-package-notes//')" +%ifarch x86_64 +export CFLAGS="$(echo "%{optflags}" | sed -e 's/-O2//' -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//') -O2" +%else +export CFLAGS="$(echo "%{optflags}" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//')" +%endif +%configure \ + --with-gstreamer \ + --disable-tests \ +%if 0%{?fedora} >= 40 + --enable-archs=i386,x86_64 \ +%else +%ifarch x86_64 + --enable-win64 \ +%endif +%endif + --with-x +make -j4 + +%install +%makeinstall LDCONFIG=/bin/true + +# Compat symlinks for bindir +mkdir -p "%{buildroot}/usr/bin" +for _file in $(ls "%{buildroot}%{_bindir}"); do \ + ln -s "%{_bindir}/$_file" "%{buildroot}/usr/bin/$_file"; \ +done +%if 0%{?fedora} < 40 +%ifarch x86_64 +for _file in wine wine-preloader; do \ + ln -s "%{_prefix}/bin/$_file" "%{buildroot}/usr/bin/$_file"; \ +done +%endif +%endif + +# Compat symlinks for desktop file +mkdir -p "%{buildroot}/usr/share/applications" +for _file in $(ls "%{buildroot}%{_datadir}/applications"); do \ + ln -s "%{_datadir}/applications/$_file" "%{buildroot}/usr/share/applications/$_file"; \ +done + +# Compat manpages +%if 0%{?fedora} || 0%{?scientificlinux} || 0%{?centos} >= 700 || 0%{?rhel} >= 700 +for _dir in man1 de.UTF-8/man1 fr.UTF-8/man1 pl.UTF-8/man1; do \ + if [ -d "%{buildroot}%{_mandir}/$_dir" ]; then \ + mkdir -p "$(dirname "%{buildroot}/usr/share/man/$_dir")"; \ + cp -pr "%{buildroot}%{_mandir}/$_dir" "%{buildroot}/usr/share/man/$_dir"; \ + else \ + mkdir -p "%{buildroot}/usr/share/man/$_dir"; \ + fi; \ +done +%else +for _dir in man1 de.UTF-8/man1 fr.UTF-8/man1 pl.UTF-8/man1; do \ + mkdir -p "%{buildroot}/usr/share/man/$_dir"; \ +done +%endif + +%ifarch x86_64 +#install -p -m 0644 loader/wine.man "%{buildroot}/usr/share/man/man1/wine.1" +#install -p -m 0644 loader/wine.de.UTF-8.man "%{buildroot}/usr/share/man/de.UTF-8/man1/wine.1" +#install -p -m 0644 loader/wine.fr.UTF-8.man "%{buildroot}/usr/share/man/fr.UTF-8/man1/wine.1" +#install -p -m 0644 loader/wine.pl.UTF-8.man "%{buildroot}/usr/share/man/pl.UTF-8/man1/wine.1" +%endif + +%files -n %{wine} +%doc ANNOUNCE.md AUTHORS README.md +%license LICENSE + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%{_bindir}/wine64 +%{_bindir}/wine64-preloader +%endif +%endif +%{_bindir}/function_grep.pl +%{_bindir}/msiexec +%{_bindir}/msidb +%{_bindir}/notepad +%{_bindir}/regedit +%{_bindir}/regsvr32 +%{_bindir}/widl +%{_bindir}/wineboot +%{_bindir}/winebuild +%{_bindir}/winecfg +%{_bindir}/wineconsole* +%{_bindir}/winecpp +%{_bindir}/winedbg +%{_bindir}/winedump +%{_bindir}/winefile +%{_bindir}/wineg++ +%{_bindir}/winegcc +%{_bindir}/winemaker +%{_bindir}/winemine +%{_bindir}/winepath +%{_bindir}/wineserver +%{_bindir}/wmc +%{_bindir}/wrc +%lang(de) %{_mandir}/de.UTF-8/man?/winemaker.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wineserver.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/winemaker.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wineserver.?* +%{_mandir}/man?/widl.1* +%{_mandir}/man?/winebuild.1* +%{_mandir}/man?/winecpp.1* +%{_mandir}/man?/winedbg.1* +%{_mandir}/man?/winedump.1* +%{_mandir}/man?/wineg++.1* +%{_mandir}/man?/winegcc.1* +%{_mandir}/man?/winemaker.1* +%{_mandir}/man?/wmc.1* +%{_mandir}/man?/wrc.1* +%{_mandir}/man?/msiexec.?* +%{_mandir}/man?/notepad.?* +%{_mandir}/man?/regedit.?* +%{_mandir}/man?/regsvr32.?* +%{_mandir}/man?/wineboot.?* +%{_mandir}/man?/winecfg.?* +%{_mandir}/man?/wineconsole.?* +%{_mandir}/man?/winefile.?* +%{_mandir}/man?/winemine.?* +%{_mandir}/man?/winepath.?* +%{_mandir}/man?/wineserver.?* +%dir %{_datadir}/wine +%{_datadir}/wine/wine.inf +%{_datadir}/wine/nls/*.nls +%{_datadir}/applications/*.desktop +%dir %{_datadir}/wine/fonts +%{_datadir}/wine/fonts/* + +%if 0%{?fedora} < 40 +%ifarch %{ix86} +%files -n %{name}-common +%{_bindir}/wine +%{_bindir}/wine-preloader +%{_mandir}/man?/wine.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wine.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wine.?* +%lang(pl) %{_mandir}/pl.UTF-8/man?/wine.?* +%endif +%else +%{_bindir}/wine +#%{_bindir}/wine-preloader +%{_mandir}/man?/wine.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wine.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wine.?* +%lang(pl) %{_mandir}/pl.UTF-8/man?/wine.?* +%endif + +%if 0%{?fedora} < 40 +%ifarch %ix86 x86_64 +%{_libdir}/wine/%{_arch}-unix/*.* +%{_libdir}/wine/%{_arch}-windows/*.* +%endif +%else +%{_libdir}/wine/%{_arch}-unix/* +%{_libdir}/wine/i386-windows/*.* +%{_libdir}/wine/x86_64-windows/*.* +%endif + +%files -n %{wine}-devel +%{_includedir}/* + +%files -n %compat_package +/usr/bin/* +/usr/share/applications/*.desktop +/usr/share/man/man?/* +%lang(de) /usr/share/man/de.UTF-8/man?/* +%lang(fr) /usr/share/man/fr.UTF-8/man?/* +%lang(pl) /usr/share/man/pl.UTF-8/man?/* diff --git a/anda/system/wine/dev/wine.keyring b/anda/system/wine/dev/wine.keyring new file mode 100644 index 0000000000..1b658e615b --- /dev/null +++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K----- diff --git a/anda/system/wine/stable/anda.hcl b/anda/system/wine/stable/anda.hcl new file mode 100644 index 0000000000..49b50d5736 --- /dev/null +++ b/anda/system/wine/stable/anda.hcl @@ -0,0 +1,11 @@ +project pkg { + arches = ["x86_64", "aarch64", "i386"] + rpm { + spec = "wine-stable.spec" + extra_repos = ["https://repos.fyralabs.com/terrarawhide-mesa"] + } + labels { + mock = 1 + subrepo = "extras" + } +} diff --git a/anda/system/wine/stable/update.rhai b/anda/system/wine/stable/update.rhai new file mode 100644 index 0000000000..7dd828c5de --- /dev/null +++ b/anda/system/wine/stable/update.rhai @@ -0,0 +1,6 @@ +let matches = (find_all("[\\d.]+[.]0", get("https://dl.winehq.org/wine/source/"))); // Only find versions ending in .0. Stable WINE always ends in .0 +matches.dedup(); +// Sort for the largest match, the sed and tr commands remove everything preventing sort from working correctly +let v = sh(`echo ${matches} | sed 's/,//g' | sed 's/\[//g' | sed 's/\]//g' | sed 's/"//g' | tr ' ' '\n' | sort -nr | tr '\n' ' '`, #{"stdout": "piped"}).ctx.stdout; +v.truncate(4); +rpm.version(v); diff --git a/anda/system/wine/stable/wine-stable.spec b/anda/system/wine/stable/wine-stable.spec new file mode 100644 index 0000000000..339da1adf3 --- /dev/null +++ b/anda/system/wine/stable/wine-stable.spec @@ -0,0 +1,413 @@ +# Terra WINE Stable branch +# Based on WineHQ's WINE builds with changes for our repos and update system + +%define _lto_cflags %{nil} + +%global flavor %nil +%define compat_package terra-wine-stable +%define _prefix /usr/share/wine-stable + +# This is unfortunate but a lot of Fedora's/SUSE's hardening flags break WINE +%undefine _hardened_build + +Name: wine-stable +Version: 10.0 +Release: 1 +Epoch: 1 +Summary: WINE Is Not An Emulator - runs MS Windows programs +License: LGPL-2.0-or-later +Group: Emulators +URL: https://www.winehq.org/ + +%define lib_major 1 +%define lib_name lib%{name}1 +%define lib_name_devel lib%{name}-devel + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%define wine %{name}64 +%define mark64 ()(64bit) +%else +%define wine %{name} +%define mark64 %{nil} +%endif +%endif + +%if 0%{?fedora} >= 40 +%define wine %{name} +%ifarch x86_64 +%define mark64 ()(64bit) +%else +%define mark64 %{nil} +%endif +%endif + +Source0: https://dl.winehq.org/wine/source/%{version}/wine-%{version}.tar.xz +Source1: https://dl.winehq.org/wine/source/%{version}/wine-%{version}.tar.xz.sign + +# Alexandres key +Source99: wine.keyring + +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: autoconf +BuildRequires: bison +BuildRequires: coreutils +BuildRequires: cups-devel +BuildRequires: dbus-devel +BuildRequires: desktop-file-utils +BuildRequires: flex +BuildRequires: fontconfig-devel +BuildRequires: fontforge +BuildRequires: fontpackages-devel +BuildRequires: freeglut-devel +BuildRequires: freetype-devel +BuildRequires: gawk +BuildRequires: gcc +BuildRequires: gettext-devel +BuildRequires: giflib-devel +BuildRequires: gnupg2 +BuildRequires: gnutls-devel +BuildRequires: gstreamer1-devel +BuildRequires: gstreamer1-plugins-base-devel +BuildRequires: icoutils +BuildRequires: ImageMagick-devel +BuildRequires: krb5-devel +BuildRequires: lcms2-devel +BuildRequires: libattr-devel +BuildRequires: libavcodec-free-devel +BuildRequires: libavformat-free-devel +BuildRequires: libavutil-free-devel +BuildRequires: libgphoto2-devel +BuildRequires: libieee1284-devel +BuildRequires: libnetapi-devel +BuildRequires: libpcap-devel +BuildRequires: librsvg2 +BuildRequires: librsvg2-devel +BuildRequires: libstdc++-devel +BuildRequires: libudev-devel +BuildRequires: libusb1-devel +BuildRequires: libv4l-devel +BuildRequires: libX11-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXcursor-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libxkbcommon-devel +BuildRequires: libXmu-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: lzma +BuildRequires: mesa-compat-libOSMesa-devel +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +BuildRequires: mingw32-gcc +BuildRequires: mingw64-gcc +BuildRequires: ncurses-devel +BuildRequires: ocl-icd-devel +BuildRequires: opencl-headers +BuildRequires: pcsc-lite-devel +BuildRequires: pulseaudio-libs-devel +BuildRequires: samba-devel +BuildRequires: sane-backends-devel +BuildRequires: SDL2-devel +BuildRequires: unixODBC-devel +BuildRequires: unzip +BuildRequires: util-linux +BuildRequires: vulkan-devel +BuildRequires: xz + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%package -n %{wine} +%endif +%endif + +Summary: WINE Is Not An Emulator - runs MS Windows programs +Group: Emulators +%ifarch x86_64 +Conflicts: %{name} +%else +Conflicts: %{name}64 +%endif +%if 0%{?fedora} < 40 +Requires: %{name}-common = %{epoch}:%{version}-%{release} +%endif +Provides: %{lib_name} = %{epoch}:%{version}-%{release} +Provides: %{name}-bin = %{epoch}:%{version}-%{release} +Obsoletes: %{lib_name} <= %{epoch}:%{version}-%{release} + +%ifarch %{ix86} +%package -n %{name}-common +Summary: WINE Is Not An Emulator - runs MS Windows programs (32-bit common files) +Group: Emulators +Requires: %{name}-bin = %{epoch}:%{version}-%{release} + +%description -n %{name}-common +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This package contains the files needed to support 32-bit Windows +programs, and is used by both %{name} and %{name}64. +%endif + +%define dlopenreq() %(F=/usr/%{_lib}/lib%{1}.so;[ -e $F ] && (file $F|grep -q ASCII && grep -o 'lib[^ ]*' $F|sed -e "s/\$/%{mark64}/"||objdump -p $F | grep SONAME | awk '{ print $2 "%{mark64}" }') || echo "wine-missing-buildrequires-on-%{1}") +Requires: %dlopenreq asound +Requires: %dlopenreq attr +Requires: %dlopenreq cups +Requires: %dlopenreq dbus-1 +Requires: %dlopenreq fontconfig +Requires: %dlopenreq freetype +Requires: %dlopenreq gnutls +Requires: %dlopenreq krb5 +Requires: %dlopenreq ncurses +Requires: %dlopenreq odbc +Requires: %dlopenreq OSMesa +Requires: %dlopenreq sane +Requires: %dlopenreq SDL2 +Requires: %dlopenreq v4l1 +Requires: %dlopenreq vulkan +Requires: %dlopenreq Xcomposite +Requires: %dlopenreq Xcursor +Requires: %dlopenreq Xi +Requires: %dlopenreq Xinerama +Requires: %dlopenreq Xrandr +Requires: %dlopenreq Xrender +Requires: %dlopenreq Xxf86vm +Suggests: sane-frontends + +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils + +%define desc Wine is a program which allows running Microsoft Windows programs \ +(including DOS, Windows 3.x and Win32 executables) on Unix. It \ +consists of a program loader which loads and executes a Microsoft \ +Windows binary, and a library (called Winelib) that implements Windows \ +API calls using their Unix or X11 equivalents. The library may also \ +be used for porting Win32 code into native Unix executables. + +%description +%desc + +%ifarch x86_64 +%description -n %{wine} +%desc +%endif + +%package -n %{wine}-devel +Summary: Static libraries and headers for %{name} (64-bit) +Group: Development/C +Requires: %{wine} = %{epoch}:%{version}-%{release} +%ifarch x86_64 +Conflicts: %{name}-devel +%else +Conflicts: %{name}64-devel +%endif +Provides: %{lib_name_devel} = %{epoch}:%{version}-%{release} +Obsoletes: %{lib_name_devel} <= %{epoch}:%{version}-%{release} +%description -n %{wine}-devel +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This package contains the libraries and header files needed to +develop programs which make use of Wine. + +%package -n %compat_package +Summary: WINE Is Not An Emulator - runs MS Windows programs +Group: Emulators +Requires: %{wine} = %{epoch}:%{version}-%{release} +%if 0%{?fedora} < 40 +Conflicts: wine wine64 wine-core wine-common wine-desktop wine-devel +%else +Conflicts: wine wine64 wine-core wine-common wine-desktop +%endif + +%description -n %compat_package +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This compatibility package allows to use %{wine} system-wide as +the default Wine version. + +%prep +# Pull key from key server, if this fails import local copy and then refresh it to make sure it is up to date +gpg --keyserver hkp://keys.gnupg.net --recv-keys CEFAC8EAAF17519D || { gpg --with-fingerprint --import %{SOURCE99} && gpg --refresh-keys; } +gpg --update-trustdb +gpg --verify --with-fingerprint %{SOURCE1} %{SOURCE0} +%setup -n wine-%{version} -q -T -b0 + +%build +# MinGW GCC does not support these options +%define debug_package %{nil} +export LDFLAGS="$(echo "%{build_ldflags}" | sed -e 's/-Wl,-z,relro//' -e 's/-Wl,--build-id=sha1//' -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-package-notes//')" +%ifarch x86_64 +export CFLAGS="$(echo "%{optflags}" | sed -e 's/-O2//' -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//') -O2" +%else +export CFLAGS="$(echo "%{optflags}" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//')" +%endif +%configure \ + --with-gstreamer \ + --disable-tests \ +%if 0%{?fedora} >= 40 + --enable-archs=i386,x86_64 \ +%else +%ifarch x86_64 + --enable-win64 \ +%endif +%endif + --with-x +make -j4 + +%install +%makeinstall LDCONFIG=/bin/true + +# Compat symlinks for bindir +mkdir -p "%{buildroot}/usr/bin" +for _file in $(ls "%{buildroot}/%{_bindir}"); do \ + ln -s "%{_bindir}/$_file" "%{buildroot}/usr/bin/$_file"; \ +done +%if 0%{?fedora} < 40 +%ifarch x86_64 +for _file in wine wine-preloader; do \ + ln -s "%{_prefix}/bin/$_file" "%{buildroot}/usr/bin/$_file"; \ +done +%endif +%endif + +# Compat symlinks for desktop file +mkdir -p "%{buildroot}/usr/share/applications" +for _file in $(ls "%{buildroot}/%{_datadir}/applications"); do \ + ln -s "%{_datadir}/applications/$_file" "%{buildroot}/usr/share/applications/$_file"; \ +done + +# Compat manpages +%if 0%{?fedora} || 0%{?scientificlinux} || 0%{?centos} >= 700 || 0%{?rhel} >= 700 +for _dir in man1 de.UTF-8/man1 fr.UTF-8/man1 pl.UTF-8/man1; do \ + if [ -d "%{buildroot}/%{_mandir}/$_dir" ]; then \ + mkdir -p "$(dirname "%{buildroot}/usr/share/man/$_dir")"; \ + cp -pr "%{buildroot}/%{_mandir}/$_dir" "%{buildroot}/usr/share/man/$_dir"; \ + else \ + mkdir -p "%{buildroot}/usr/share/man/$_dir"; \ + fi; \ +done +%else +for _dir in man1 de.UTF-8/man1 fr.UTF-8/man1 pl.UTF-8/man1; do \ + mkdir -p "%{buildroot}/usr/share/man/$_dir"; \ +done +%endif + +%ifarch x86_64 +install -p -m 0644 loader/wine.man "%{buildroot}/usr/share/man/man1/wine.1" +install -p -m 0644 loader/wine.de.UTF-8.man "%{buildroot}/usr/share/man/de.UTF-8/man1/wine.1" +install -p -m 0644 loader/wine.fr.UTF-8.man "%{buildroot}/usr/share/man/fr.UTF-8/man1/wine.1" +install -p -m 0644 loader/wine.pl.UTF-8.man "%{buildroot}/usr/share/man/pl.UTF-8/man1/wine.1" +%endif + +%files -n %{wine} +%doc ANNOUNCE.md AUTHORS README.md +%license LICENSE + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%{_bindir}/wine64 +%{_bindir}/wine64-preloader +%endif +%endif +%{_bindir}/function_grep.pl +%{_bindir}/msiexec +%{_bindir}/msidb +%{_bindir}/notepad +%{_bindir}/regedit +%{_bindir}/regsvr32 +%{_bindir}/widl +%{_bindir}/wineboot +%{_bindir}/winebuild +%{_bindir}/winecfg +%{_bindir}/wineconsole* +%{_bindir}/winecpp +%{_bindir}/winedbg +%{_bindir}/winedump +%{_bindir}/winefile +%{_bindir}/wineg++ +%{_bindir}/winegcc +%{_bindir}/winemaker +%{_bindir}/winemine +%{_bindir}/winepath +%{_bindir}/wineserver +%{_bindir}/wmc +%{_bindir}/wrc +%lang(de) %{_mandir}/de.UTF-8/man?/winemaker.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wineserver.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/winemaker.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wineserver.?* +%{_mandir}/man?/widl.1* +%{_mandir}/man?/winebuild.1* +%{_mandir}/man?/winecpp.1* +%{_mandir}/man?/winedbg.1* +%{_mandir}/man?/winedump.1* +%{_mandir}/man?/wineg++.1* +%{_mandir}/man?/winegcc.1* +%{_mandir}/man?/winemaker.1* +%{_mandir}/man?/wmc.1* +%{_mandir}/man?/wrc.1* +%{_mandir}/man?/msiexec.?* +%{_mandir}/man?/notepad.?* +%{_mandir}/man?/regedit.?* +%{_mandir}/man?/regsvr32.?* +%{_mandir}/man?/wineboot.?* +%{_mandir}/man?/winecfg.?* +%{_mandir}/man?/wineconsole.?* +%{_mandir}/man?/winefile.?* +%{_mandir}/man?/winemine.?* +%{_mandir}/man?/winepath.?* +%{_mandir}/man?/wineserver.?* +%dir %{_datadir}/wine +%{_datadir}/wine/wine.inf +%{_datadir}/wine/nls/*.nls +%{_datadir}/applications/*.desktop +%dir %{_datadir}/wine/fonts +%{_datadir}/wine/fonts/* + +%if 0%{?fedora} < 40 +%ifarch %{ix86} +%files -n %{name}-common +%{_bindir}/wine +%{_bindir}/wine-preloader +%{_mandir}/man?/wine.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wine.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wine.?* +%lang(pl) %{_mandir}/pl.UTF-8/man?/wine.?* +%endif +%else +%{_bindir}/wine +%{_bindir}/wine-preloader +%{_mandir}/man?/wine.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wine.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wine.?* +%lang(pl) %{_mandir}/pl.UTF-8/man?/wine.?* +%endif + +%if 0%{?fedora} < 40 +%ifarch %ix86 x86_64 +%{_libdir}/wine/%{_arch}-unix/*.* +%{_libdir}/wine/%{_arch}-windows/*.* +%endif +%else +%{_libdir}/wine/%{_arch}-unix/* +%{_libdir}/wine/i386-windows/*.* +%{_libdir}/wine/x86_64-windows/*.* +%endif + +%files -n %{wine}-devel +%{_includedir}/* + +%files -n %compat_package +/usr/bin/* +/usr/share/applications/*.desktop +/usr/share/man/man?/* +%lang(de) /usr/share/man/de.UTF-8/man?/* +%lang(fr) /usr/share/man/fr.UTF-8/man?/* +%lang(pl) /usr/share/man/pl.UTF-8/man?/* diff --git a/anda/system/wine/stable/wine.keyring b/anda/system/wine/stable/wine.keyring new file mode 100644 index 0000000000..1b658e615b --- /dev/null +++ b/anda/system/wine/stable/wine.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFY4SBYBEAC11sh4AMhIhiLxj76FXsluVJIU4nZjVmexar+/5WMlVvMX+Dxk +lUbKDCBOUMtPFsAXMpcxOGwscCr3WMuI8WszTjKDs3mdQ37o/pzXMbRhY0oZV29Z +EhNLds14qhMLlQiDEm5lJ5bOsLevHJ9hR4wvwY6UR881xsiXsNU+iNMRP0cWeRjQ +84pSCLOt9i+D8rdllVob871gN/tjY4Ll13Tg7qmtFE1YEFJaLb2yik0bO7gPkig/ +ADmKMBhOtgAHU9i+gmtP+x+agk7cbXkR06Pd9VBkd9nYlFXbR+zcE15AqauEF1Y2 +V9RbW/Ewt4Fmgr+QQnJhiSMO2BUTS2Q0CC3LznB9QOdEriUmeXGJdim0OJiwYDDX +4CNRk+2CAePbrZnGv+YXgeNPHvFa0Baj73HP8Ptok+OeyWIenRPHG3Ni+O5p1n5k +QK0bHqIwChMtAJvzdoC77XIJhbCtStmvo2FdSA8YcG4stlz+Wk1ZtNMen83ZEscS +OXEVpxcPGlbmWmkWj8DF5zbB1dRdh4T6LLM4nZViBu7oGD76z3c/x2zc7l3pyVHx +Cw70a+r+6LvUwnvCiApCBS72uDc4zZtnkNUQHlXHkz9wEeYUtUB0wkCYWPZy7BZy +0aFfKWK4Jg7uGx/mdHRCJ35MdXWxeQ4yPUE+tF951s167ANr1+ayt87pQwARAQAB +tChBbGV4YW5kcmUgSnVsbGlhcmQgPGp1bGxpYXJkQHdpbmVocS5vcmc+iQI3BBMB +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31sHM1yEJgQKAtEL2AKWGSadly +/eI2rCQDEn6mIe34I04SPr/XrTpFClmUBbZBBir7KMRhB8B9ERdJElbtb4ubGZ0D +FCYpueJgVv9agvV2ONVb/K0BIevJy9v5+FbSFIQG/spkwf/71olib93iUr9tKTaE +mOMR1xJlCiQvAQYsmqwM9FHDmGJYTQE1WbVZu4gZ +=6vF7 +-----END PGP PUBLIC KEY BLOCK----- diff --git a/anda/system/wine/staging/anda.hcl b/anda/system/wine/staging/anda.hcl new file mode 100644 index 0000000000..4e0642affd --- /dev/null +++ b/anda/system/wine/staging/anda.hcl @@ -0,0 +1,11 @@ +project pkg { + arches = ["x86_64", "aarch64", "i386"] + rpm { + spec = "wine-staging.spec" + extra_repos = ["https://repos.fyralabs.com/terrarawhide-mesa"] + } + labels { + mock = 1 + subrepo = "extras" + } +} diff --git a/anda/system/wine/staging/update.rhai b/anda/system/wine/staging/update.rhai new file mode 100644 index 0000000000..a636df05bd --- /dev/null +++ b/anda/system/wine/staging/update.rhai @@ -0,0 +1,12 @@ +let v = (gitlab_tag("gitlab.winehq.org", "231")); +v.crop(1); +rpm.version(v); +if rpm.changed () { + rpm.release(); + // Only find versions ending in .x (point releases) + let matches = (find_all("[\\d.]+[.]x", get("https://dl.winehq.org/wine/source/"))); + matches.dedup(); + let s = sh(`echo ${matches} | sed 's/,//g' | sed 's/\[//g' | sed 's/\]//g' | sed 's/"//g' | tr ' ' '\n' | sort -nr | tr '\n' ' '`, #{"stdout": "piped"}).ctx.stdout; + s.truncate(4); + rpm.global("srcmajor", s); +} diff --git a/anda/system/wine/staging/wine-staging.spec b/anda/system/wine/staging/wine-staging.spec new file mode 100644 index 0000000000..dffd43394e --- /dev/null +++ b/anda/system/wine/staging/wine-staging.spec @@ -0,0 +1,417 @@ +# Terra WINE Staging branch +# Based on WineHQ's WINE builds with changes for our repos and update system + +# Gonna be real man, WINE is a mess +%global _default_patch_fuzz 2 +# This is unfortunate but a lot of Fedora's/SUSE's hardening flags break WINE +%define _lto_cflags %{nil} + +%global flavor %nil +# I love MinGW +%global build_type_safety_c 0 + +%define compat_package terra-wine-staging +%define _prefix /usr/share/wine-staging +%undefine _hardened_build + +%global srcmajor 10.x + + +Name: wine-staging +Version: 10.7 +Release: 1 +Epoch: 1 +Summary: WINE Is Not An Emulator - runs MS Windows programs +License: LGPL-2.0-or-later +Group: Emulators +URL: https://www.winehq.org + +%define lib_major 1 +%define lib_name lib%{name}1 +%define lib_name_devel lib%{name}-devel + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%define wine %{name}64 +%define mark64 ()(64bit) +%else +%define wine %{name} +%define mark64 %{nil} +%endif +%endif + +%if 0%{?fedora} >= 40 +%define wine %{name} +%ifarch x86_64 +%define mark64 ()(64bit) +%else +%define mark64 %{nil} +%endif +%endif + +Source0: https://dl.winehq.org/wine/source/%{srcmajor}/wine-%{version}.tar.xz +Source1: https://dl.winehq.org/wine/source/%{srcmajor}/wine-%{version}.tar.xz.sign + +# The official GitLab repo containing the patches does not appear to be downloadable so we have to download them from the mirror. What +Source100: https://github.com/wine-staging/wine-staging/archive/v%{version}.tar.gz#/wine-staging-%{version}.tar.xz + +# Alexandres key +Source99: wine.keyring + +BuildRequires: alsa-lib-devel +BuildRequires: audiofile-devel +BuildRequires: autoconf +BuildRequires: bison +BuildRequires: coreutils +BuildRequires: cups-devel +BuildRequires: dbus-devel +BuildRequires: desktop-file-utils +BuildRequires: flex +BuildRequires: fontconfig-devel +BuildRequires: fontforge +BuildRequires: fontpackages-devel +BuildRequires: freeglut-devel +BuildRequires: freetype-devel +BuildRequires: gawk +BuildRequires: gcc +BuildRequires: gettext-devel +BuildRequires: giflib-devel +BuildRequires: gnupg2 +BuildRequires: gnutls-devel +BuildRequires: gstreamer1-devel +BuildRequires: gstreamer1-plugins-base-devel +BuildRequires: gtk3-devel +BuildRequires: icoutils +BuildRequires: ImageMagick-devel +BuildRequires: krb5-devel +BuildRequires: libattr-devel +BuildRequires: libavcodec-free-devel +BuildRequires: libavformat-free-devel +BuildRequires: libavutil-free-devel +BuildRequires: libgcrypt-devel +BuildRequires: libgphoto2-devel +BuildRequires: libieee1284-devel +BuildRequires: libnetapi-devel +BuildRequires: libpcap-devel +BuildRequires: librsvg2 +BuildRequires: librsvg2-devel +BuildRequires: libstdc++-devel +BuildRequires: libudev-devel +BuildRequires: libusb1-devel +BuildRequires: libv4l-devel +BuildRequires: libva-devel +BuildRequires: libX11-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXcursor-devel +BuildRequires: libXext-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libxkbcommon-devel +BuildRequires: libXmu-devel +BuildRequires: libXrandr-devel +BuildRequires: libXrender-devel +BuildRequires: libXxf86dga-devel +BuildRequires: libXxf86vm-devel +BuildRequires: lzma +BuildRequires: mesa-compat-libOSMesa-devel +BuildRequires: mesa-libGL-devel +BuildRequires: mesa-libGLU-devel +BuildRequires: mingw32-gcc +BuildRequires: mingw64-gcc +BuildRequires: ncurses-devel +BuildRequires: ocl-icd-devel +BuildRequires: opencl-headers +BuildRequires: pcsc-lite-devel +BuildRequires: pulseaudio-libs-devel +BuildRequires: samba-devel +BuildRequires: sane-backends-devel +BuildRequires: SDL2-devel +BuildRequires: unixODBC-devel +BuildRequires: unzip +BuildRequires: util-linux +BuildRequires: vulkan-devel +BuildRequires: xz + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%package -n %{wine} +%endif +%endif + +Summary: WINE Is Not An Emulator - runs MS Windows programs +Group: Emulators +%ifarch x86_64 +Conflicts: %{name} +%else +Conflicts: %{name}64 +%endif +%if 0%{?fedora} < 40 +Requires: %{name}-common = %{epoch}:%{version}-%{release} +%endif +Provides: %{lib_name} = %{epoch}:%{version}-%{release} +Obsoletes: %{lib_name} <= %{epoch}:%{version}-%{release} +Provides: %{name}-bin = %{epoch}:%{version}-%{release} + +%ifarch %{ix86} +%package -n %{name}-common +Summary: WINE Is Not An Emulator - runs MS Windows programs (32-bit common files) +Group: Emulators +Requires: %{name}-bin = %{epoch}:%{version}-%{release} + +%description -n %{name}-common +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This package contains the files needed to support 32-bit Windows +programs, and is used by both %{name} and %{name}64. +%endif + +%define dlopenreq() %(F=/usr/%{_lib}/lib%{1}.so;[ -e $F ] && (file $F|grep -q ASCII && grep -o 'lib[^ ]*' $F|sed -e "s/\$/%{mark64}/"||objdump -p $F | grep SONAME | awk '{ print $2 "%{mark64}" }') || echo "wine-missing-buildrequires-on-%{1}") +Requires: %dlopenreq asound +Requires: %dlopenreq attr +Requires: %dlopenreq cups +Requires: %dlopenreq dbus-1 +Requires: %dlopenreq fontconfig +Requires: %dlopenreq freetype +Requires: %dlopenreq gnutls +Requires: %dlopenreq krb5 +Requires: %dlopenreq ncurses +Requires: %dlopenreq odbc +Requires: %dlopenreq OSMesa +Requires: %dlopenreq sane +Requires: %dlopenreq SDL2 +Requires: %dlopenreq v4l1 +Requires: %dlopenreq vulkan +Requires: %dlopenreq Xcomposite +Requires: %dlopenreq Xcursor +Requires: %dlopenreq Xi +Requires: %dlopenreq Xinerama +Requires: %dlopenreq Xrandr +Requires: %dlopenreq Xrender +Requires: %dlopenreq Xxf86vm +%if 0%{?fedora} +Suggests: sane-frontends +%endif +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils + +%define desc Wine is a program which allows running Microsoft Windows programs \ +(including DOS, Windows 3.x and Win32 executables) on Unix. It \ +consists of a program loader which loads and executes a Microsoft \ +Windows binary, and a library (called Winelib) that implements Windows \ +API calls using their Unix or X11 equivalents. The library may also \ +be used for porting Win32 code into native Unix executables. + +%description +%desc + +%ifarch x86_64 +%description -n %{wine} +%desc +%endif + +%package -n %{wine}-devel +Summary: Static libraries and headers for %{name} (64-bit) +Group: Development/C +Requires: %{wine} = %{epoch}:%{version}-%{release} +%ifarch x86_64 +Conflicts: %{name}-devel +%else +Conflicts: %{name}64-devel +%endif +Provides: %{lib_name_devel} = %{epoch}:%{version}-%{release} +Obsoletes: %{lib_name_devel} <= %{epoch}:%{version}-%{release} +%description -n %{wine}-devel +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This package contains the libraries and header files needed to +develop programs which make use of Wine. + +%package -n %compat_package +Summary: WINE Is Not An Emulator - runs MS Windows programs +Group: Emulators +Requires: %{wine} = %{epoch}:%{version}-%{release} +Conflicts: wine wine64 wine-core wine-common wine-desktop wine-devel + +%description -n %compat_package +Wine is a program which allows running Microsoft Windows programs +(including DOS, Windows 3.x and Win32 executables) on Unix. + +This compatibility package allows to use %{wine} system-wide as +the default Wine version. + +%prep +# Pull key from key server, if this fails import local copy and then refresh it to make sure it is up to date +gpg --keyserver hkp://keys.gnupg.net --recv-keys CEFAC8EAAF17519D || { gpg --with-fingerprint --import %{SOURCE99} && gpg --refresh-keys; } +gpg --update-trustdb +gpg --verify --with-fingerprint %{SOURCE1} %{SOURCE0} +%setup -n wine-%{version} -q -T -b0 + +# apply wine staging patch set on top of the wine release. +tar xf %{SOURCE100} +./wine-staging-%{version}/staging/patchinstall.py --all -W shell32-IconCache -W server-Stored_ACLs + +%build +# MinGW GCC does not support these options +%define debug_package %{nil} +export LDFLAGS="$(echo "%{build_ldflags}" | sed -e 's/-Wl,-z,relro//' -e 's/-Wl,--build-id=sha1//' -e 's/-specs=\/usr\/lib\/rpm\/redhat\/redhat-package-notes//')" +%ifarch x86_64 +export CFLAGS="$(echo "%{optflags}" | sed -e 's/-O2//' -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//') -O2" +%else +export CFLAGS="$(echo "%{optflags}" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//' -e 's/-fcf-protection//' -e 's/-fstack-protector-strong//' -e 's/-fstack-clash-protection//')" +%endif +autoreconf -i -f +%configure \ + --with-gstreamer \ + --disable-tests \ + --with-xattr \ + --enable-archs=i386,x86_64 \ + --with-x + +make -j4 + +%install +%makeinstall LDCONFIG=/bin/true + +# Compat symlinks for bindir +mkdir -p "%{buildroot}/usr/bin" +for _file in $(ls "%{buildroot}%{_bindir}"); do \ + ln -s "%{_bindir}/$_file" "%{buildroot}/usr/bin/$_file"; \ +done + +# Compat symlinks for desktop file +mkdir -p "%{buildroot}/usr/share/applications" +for _file in $(ls "%{buildroot}/%{_datadir}/applications"); do \ + ln -s "%{_datadir}/applications/$_file" "%{buildroot}/usr/share/applications/$_file"; \ +done + +# Compat manpages +%if 0%{?fedora} || 0%{?scientificlinux} || 0%{?centos} >= 700 || 0%{?rhel} >= 700 +for _dir in man1 de.UTF-8/man1 fr.UTF-8/man1 pl.UTF-8/man1; do \ + if [ -d "%{buildroot}/%{_mandir}/$_dir" ]; then \ + mkdir -p "$(dirname "%{buildroot}/usr/share/man/$_dir")"; \ + cp -pr "%{buildroot}/%{_mandir}/$_dir" "%{buildroot}/usr/share/man/$_dir"; \ + else \ + mkdir -p "%{buildroot}/usr/share/man/$_dir"; \ + fi; \ +done +%else +for _dir in man1 de.UTF-8/man1 fr.UTF-8/man1 pl.UTF-8/man1; do \ + mkdir -p "%{buildroot}/usr/share/man/$_dir"; \ +done +%endif + +%ifarch x86_64 +#install -p -m 0644 loader/wine.man "%{buildroot}/usr/share/man/man1/wine.1" +#install -p -m 0644 loader/wine.de.UTF-8.man "%{buildroot}/usr/share/man/de.UTF-8/man1/wine.1" +#install -p -m 0644 loader/wine.fr.UTF-8.man "%{buildroot}/usr/share/man/fr.UTF-8/man1/wine.1" +#install -p -m 0644 loader/wine.pl.UTF-8.man "%{buildroot}/usr/share/man/pl.UTF-8/man1/wine.1" +%endif + +%files -n %{wine} +%doc ANNOUNCE.md AUTHORS README.md +%license LICENSE + +%if 0%{?fedora} < 40 +%ifarch x86_64 +%{_bindir}/wine64 +%{_bindir}/wine64-preloader +%endif +%endif +%{_bindir}/function_grep.pl +%{_bindir}/msidb +%{_bindir}/msiexec +%{_bindir}/notepad +%{_bindir}/regedit +%{_bindir}/regsvr32 +%{_bindir}/widl +%{_bindir}/wineboot +%{_bindir}/winebuild +%{_bindir}/winecfg +%{_bindir}/wineconsole* +%{_bindir}/winecpp +%{_bindir}/winedbg +%{_bindir}/winedump +%{_bindir}/winefile +%{_bindir}/wineg++ +%{_bindir}/winegcc +%{_bindir}/winemaker +%{_bindir}/winemine +%{_bindir}/winepath +%{_bindir}/wineserver +%{_bindir}/wmc +%{_bindir}/wrc +%lang(de) %{_mandir}/de.UTF-8/man?/winemaker.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wineserver.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/winemaker.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wineserver.?* +%{_mandir}/man?/widl.1* +%{_mandir}/man?/winebuild.1* +%{_mandir}/man?/winecpp.1* +%{_mandir}/man?/winedbg.1* +%{_mandir}/man?/winedump.1* +%{_mandir}/man?/wineg++.1* +%{_mandir}/man?/winegcc.1* +%{_mandir}/man?/winemaker.1* +%{_mandir}/man?/wmc.1* +%{_mandir}/man?/wrc.1* +%{_mandir}/man?/msiexec.?* +%{_mandir}/man?/notepad.?* +%{_mandir}/man?/regedit.?* +%{_mandir}/man?/regsvr32.?* +%{_mandir}/man?/wineboot.?* +%{_mandir}/man?/winecfg.?* +%{_mandir}/man?/wineconsole.?* +%{_mandir}/man?/winefile.?* +%{_mandir}/man?/winemine.?* +%{_mandir}/man?/winepath.?* +%{_mandir}/man?/wineserver.?* +%dir %{_datadir}/wine +%{_datadir}/wine/wine.inf +%{_datadir}/wine/nls/*.nls +%{_datadir}/applications/*.desktop +%dir %{_datadir}/wine/fonts +%{_datadir}/wine/fonts/* +# %{_datadir}/wine/color/* + +%if 0%{?fedora} < 40 +%ifarch %{ix86} +%files -n %{name}-common +%{_bindir}/wine +%{_bindir}/wine-preloader +%{_mandir}/man?/wine.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wine.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wine.?* +%lang(pl) %{_mandir}/pl.UTF-8/man?/wine.?* +%endif +%else +%{_bindir}/wine +#%{_bindir}/wine-preloader +%{_mandir}/man?/wine.?* +%lang(de) %{_mandir}/de.UTF-8/man?/wine.?* +%lang(fr) %{_mandir}/fr.UTF-8/man?/wine.?* +%lang(pl) %{_mandir}/pl.UTF-8/man?/wine.?* +%endif + +%if 0%{?fedora} < 40 +%ifarch %ix86 x86_64 +%{_libdir}/wine/%{_arch}-unix/*.* +%{_libdir}/wine/%{_arch}-windows/*.* +%endif +%else +%{_libdir}/wine/%{_arch}-unix/* +%{_libdir}/wine/i386-windows/*.* +%{_libdir}/wine/x86_64-windows/*.* +%endif + +%files -n %{wine}-devel +%{_includedir}/* + +%files -n %compat_package +/usr/bin/* +/usr/share/applications/*.desktop +/usr/share/man/man?/* +%lang(de) /usr/share/man/de.UTF-8/man?/* +%lang(fr) /usr/share/man/fr.UTF-8/man?/* +%lang(pl) /usr/share/man/pl.UTF-8/man?/* diff --git a/anda/system/wine/staging/wine.keyring b/anda/system/wine/staging/wine.keyring new file mode 100644 index 0000000000..1b658e615b --- /dev/null +++ b/anda/system/wine/staging/wine.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFY4SBYBEAC11sh4AMhIhiLxj76FXsluVJIU4nZjVmexar+/5WMlVvMX+Dxk +lUbKDCBOUMtPFsAXMpcxOGwscCr3WMuI8WszTjKDs3mdQ37o/pzXMbRhY0oZV29Z +EhNLds14qhMLlQiDEm5lJ5bOsLevHJ9hR4wvwY6UR881xsiXsNU+iNMRP0cWeRjQ +84pSCLOt9i+D8rdllVob871gN/tjY4Ll13Tg7qmtFE1YEFJaLb2yik0bO7gPkig/ +ADmKMBhOtgAHU9i+gmtP+x+agk7cbXkR06Pd9VBkd9nYlFXbR+zcE15AqauEF1Y2 +V9RbW/Ewt4Fmgr+QQnJhiSMO2BUTS2Q0CC3LznB9QOdEriUmeXGJdim0OJiwYDD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fNXXflX0cIeAC9yqB3Z6RO77NoMy +HzMlw4EcNUXdmC46s+h6y74BeWWLBwYR18XgTSuw3gYpL7P0lqM2d7H6HCQMkZD/ +on9pT3lOc5k9YeM+B+Ak0nDyJGrdj6EES/ukrmq/szJhx+2zMbKU6Ds/uIRE0zuS +VUPnCy+3KPuJk+xLWtuVD2v2G0PXBrKKcgLfQzTQeGT5R/8rTt2w3ah4dXYRG5Ad +N5fIaTfjJTZGmht3pvHuucoloqMWl6DD7a3XZjWtUBMhPboAZiCmXiBWn3c26ITu +N9j4gSpl3hbWYJXjTWocGs2YyiuMRsO6Minfz5l2/iZjp8xHJ8GajuLGQES7CwGH +uShQ0hknHZmrH0d6xOhD64czgmTI2HraujWz+u31sHM1yEJgQKAtEL2AKWGSadly +/eI2rCQDEn6mIe34I04SPr/XrTpFClmUBbZBBir7KMRhB8B9ERdJElbtb4ubGZ0D +FCYpueJgVv9agvV2ONVb/K0BIevJy9v5+FbSFIQG/spkwf/71olib93iUr9tKTaE +mOMR1xJlCiQvAQYsmqwM9FHDmGJYTQE1WbVZu4gZ +=6vF7 +-----END PGP PUBLIC KEY BLOCK----- From 1b3ac8c99e52d4a8eb9bfdf13060400c841258f5 Mon Sep 17 00:00:00 2001 From: Gilver Date: Mon, 19 May 2025 06:40:06 -0500 Subject: [PATCH 021/267] chore(.github/workflows/sync.yaml): Update to latest Action version (#4883) Honestly I'm kinda just hoping some of the bugfixes make this thing work better. I will revert if any issues arise. Signed-off-by: Gilver --- .github/workflows/sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 10b85a5a55..fdd4824ec0 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -23,7 +23,7 @@ jobs: git config --global commit.gpgsign true - name: Backport Action - uses: sorenlouv/backport-github-action@v9.3.0 + uses: sorenlouv/backport-github-action@v9.5.1 with: github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }} auto_backport_label_prefix: sync- From a466682e7936941c8f619ba97f04f82079b5ceef Mon Sep 17 00:00:00 2001 From: Gilver Date: Mon, 19 May 2025 06:40:16 -0500 Subject: [PATCH 022/267] chore: Add more patches for DOOM: The Dark Ages & Proton GE/Wine Wayland (#4878) (#4888) (cherry picked from commit 94a64c141c1ddfe8bca3d5e36eea13724d7d3e2e) Signed-off-by: RockGrub Co-authored-by: Kyle Gospodnetich --- anda/lib/mesa/bazzite.patch | 700 +++++++++++++++++++++++++++++++++--- anda/lib/mesa/mesa.spec | 4 +- 2 files changed, 657 insertions(+), 47 deletions(-) diff --git a/anda/lib/mesa/bazzite.patch b/anda/lib/mesa/bazzite.patch index b2d6141a5b..b9e368abbb 100644 --- a/anda/lib/mesa/bazzite.patch +++ b/anda/lib/mesa/bazzite.patch @@ -1,7 +1,7 @@ From aac6b04f39717f7363071f5500a89bb33e01cb33 Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis Date: Sat, 15 Mar 2025 16:39:08 +0100 -Subject: [PATCH 1/9] [BEGIN] SteamOS Changes +Subject: [PATCH 01/12] [BEGIN] SteamOS Changes -- 2.49.0 @@ -10,7 +10,7 @@ Subject: [PATCH 1/9] [BEGIN] SteamOS Changes From 9fc35e8c53fe7e6c84b7da9ddff3d528f22ea4a9 Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 14 Jan 2022 15:58:45 +0100 -Subject: [PATCH 2/9] STEAMOS: radv: min image count override for FH5 +Subject: [PATCH 02/12] STEAMOS: radv: min image count override for FH5 Otherwise in combination with the vblank time reservation in gamescope the game could get stuck in low power states. @@ -39,8 +39,8 @@ index aef8b9006cd..2a6b0ec84a4 100644 From 09299a2cf516078ce9ed9786a49ea6f957ac6527 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Thu, 22 Feb 2024 22:32:45 +0100 -Subject: [PATCH 3/9] STEAMOS: Dynamic swapchain override for gamescope limiter - for DRI3 only +Subject: [PATCH 03/12] STEAMOS: Dynamic swapchain override for gamescope + limiter for DRI3 only The original patch (from Bas) contained WSI VK support too but it's been removed because the Gamescope WSI layer already handles that. @@ -143,59 +143,28 @@ index 4da19d73090..819a0e548fc 100644 2.49.0 -From d89154279b50afa429848b84624530f9e8771853 Mon Sep 17 00:00:00 2001 -From: Kyle Gospodnetich -Date: Sun, 11 May 2025 13:30:57 -0700 -Subject: [PATCH 4/9] STEAMOS: Fixes for DOOM: The Dark Ages - ---- - src/util/00-radv-defaults.conf | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/src/util/00-radv-defaults.conf b/src/util/00-radv-defaults.conf -index 2a6b0ec84a4..b28d9215b59 100644 ---- a/src/util/00-radv-defaults.conf -+++ b/src/util/00-radv-defaults.conf -@@ -123,6 +123,13 @@ Application bugs worked around in this file: -