diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index 74503d887f..6ec720d5b6 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -69,7 +69,7 @@ jobs: dnf builddep -y ${dir}/*.spec - name: Build with Andaman - run: anda build ${{ matrix.pkg.pkg }} -c terra-el${{ matrix.version }}-dev-${{ matrix.pkg.arch }} ${{ !matrix.pkg.labels.mock == '1' && '-rrpmbuild' || '' }} + run: anda build ${{ matrix.pkg.pkg }} -c terra-el${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ !matrix.pkg.labels.mock == '1' && '-rrpmbuild' || '' }} - name: Generating artifact name id: art diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 978e5c20ed..364238665e 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -48,14 +48,14 @@ jobs: run: anda build anda/terra/release/pkg --rpm-builder=rpmbuild - name: Build Subatomic - run: anda build -c terra-el${{ matrix.version }}-dev-${{ matrix.arch }}.cfg anda/tools/buildsys/subatomic/pkg --rpm-builder=rpmbuild + run: anda build -c terra-el${{ matrix.version }}-${{ matrix.arch }}.cfg anda/tools/buildsys/subatomic/pkg --rpm-builder=rpmbuild - name: Install Subatomic and anda-srpm-macros run: dnf install -y ./anda-build/rpm/rpms/{subatomic,anda-srpm-macros}-*.rpm - name: Install Build Dependencies for Andaman run: dnf builddep -y anda/tools/buildsys/anda/*.spec - name: Build Andaman - run: anda build -c terra-el${{ matrix.version }}-dev-${{ matrix.arch }} anda/tools/buildsys/anda/pkg --rpm-builder=rpmbuild + run: anda build -c terra-el${{ matrix.version }}-${{ matrix.arch }} anda/tools/buildsys/anda/pkg --rpm-builder=rpmbuild - name: Upload packages to subatomic run: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d4e0d2099e..b892c07973 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Build with Andaman - run: anda build -c terra-el${{ matrix.version }}-dev-${{ matrix.arch }} anda/${{ matrix.pkg }}pkg + run: anda build -c terra-el${{ matrix.version }}-${{ matrix.arch }} anda/${{ matrix.pkg }}pkg - name: Generating artifact name id: art diff --git a/.github/workflows/json-build.yml b/.github/workflows/json-build.yml index 5423f73945..7f61f31635 100644 --- a/.github/workflows/json-build.yml +++ b/.github/workflows/json-build.yml @@ -41,7 +41,7 @@ jobs: dnf builddep -y ${dir}/*.spec - name: Build with Andaman - run: anda build ${{ matrix.pkg.pkg }} -c terra-el${{ matrix.version }}-dev-${{ matrix.pkg.arch }} ${{ contains(matrix.pkg.labels, 'mock') && '' || '-rrpmbuild' }} + run: anda build ${{ matrix.pkg.pkg }} -c terra-el${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ contains(matrix.pkg.labels, 'mock') && '' || '-rrpmbuild' }} - name: Generating artifact name id: art diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 3fdf3b0a07..348e4e88c9 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- diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 7ef5c9c974..70596ba93d 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -1,5 +1,5 @@ Name: anki-qt5 -Version: 25.02.4 +Version: 25.02.5 Release: 1%?dist Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 diff --git a/anda/apps/anki/anki.spec b/anda/apps/anki/anki.spec index 03fa0837fa..555c42aae7 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -1,5 +1,5 @@ Name: anki -Version: 25.02.4 +Version: 25.02.5 Release: 1%?dist Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index 2b6a7566f5..c5cfe75c7b 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary-openasar -Version: 0.0.678 +Version: 0.0.687 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index ffefa77159..4bdca222ca 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary -Version: 0.0.678 +Version: 0.0.687 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index d1cddc42ff..caf8345786 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-openasar -Version: 0.0.94 +Version: 0.0.95 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec index c503b53cdb..ceed238582 100644 --- a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec +++ b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-ptb-openasar -Version: 0.0.143 +Version: 0.0.144 Release: 1%?dist Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-ptb/discord-ptb.spec b/anda/apps/discord-ptb/discord-ptb.spec index 65ce9cfc34..5117bfd834 100644 --- a/anda/apps/discord-ptb/discord-ptb.spec +++ b/anda/apps/discord-ptb/discord-ptb.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-ptb -Version: 0.0.143 +Version: 0.0.144 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers. URL: https://discord.com diff --git a/anda/apps/discord/discord.spec b/anda/apps/discord/discord.spec index 585ef00ccd..7af5b0510b 100644 --- a/anda/apps/discord/discord.spec +++ b/anda/apps/discord/discord.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord -Version: 0.0.94 +Version: 0.0.95 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: https://discord.com diff --git a/anda/apps/envision/envision.spec b/anda/apps/envision/envision.spec index ea1ec47169..d809c583bf 100644 --- a/anda/apps/envision/envision.spec +++ b/anda/apps/envision/envision.spec @@ -1,5 +1,5 @@ -%global commit b174fab6bf85eeb14af2ad3f0e7427f1b9fb4b4c -%global commit_date 20250515 +%global commit d42de840a2d1f2bb973278c45a873db75b773e25 +%global commit_date 20250521 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: envision-nightly diff --git a/anda/apps/feishin/feishin.spec b/anda/apps/feishin/feishin.spec index 59ec047959..18937c3507 100644 --- a/anda/apps/feishin/feishin.spec +++ b/anda/apps/feishin/feishin.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: feishin -Version: 0.12.7 +Version: 0.13.0 Release: 1%?dist Summary: A modern self-hosted music player License: GPL-3.0 diff --git a/anda/apps/flameshot/flameshot-nightly.spec b/anda/apps/flameshot/flameshot-nightly.spec index 09ca6438d2..3d6d270bbe 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 0299a6776b7116c243fd1c285ad660d38cc65914 %global shortcommit %{sub %{commit} 1 7} -%global commit_date 20250515 +%global commit_date 20250529 Name: flameshot.nightly Version: %ver^%{commit_date}git.%shortcommit diff --git a/anda/apps/komikku/komikku.spec b/anda/apps/komikku/komikku.spec index 76b0e92638..7f422c324d 100644 --- a/anda/apps/komikku/komikku.spec +++ b/anda/apps/komikku/komikku.spec @@ -3,10 +3,10 @@ %global gtk4_version 4.14.4 %global libadwaita_version 1.5.1 %global pure_protobuf_version 2.0.0 -%global raw_ver v1.77.0 +%global raw_ver v1.78.0 Name: komikku -Version: 1.77.0 +Version: 1.78.0 %forgemeta Release: 1%?dist Summary: A manga reader for GNOME diff --git a/anda/apps/legcord/legcord-bin/legcord-bin.spec b/anda/apps/legcord/legcord-bin/legcord-bin.spec index fa6a014c2e..0032ed2e87 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.5 Release: 1%?dist License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index 6fe0887ba3..a78e73c5d8 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 c8449c05b1f39936424c616cdee34bab670063ce +%global commit_date 20250529 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %define debug_package %nil diff --git a/anda/apps/legcord/stable/legcord.spec b/anda/apps/legcord/stable/legcord.spec index 5d9ad21569..68fad2c554 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.5 Release: 1%?dist License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience diff --git a/anda/apps/mission-center/anda.hcl b/anda/apps/mission-center/anda.hcl new file mode 100644 index 0000000000..f89af37ed0 --- /dev/null +++ b/anda/apps/mission-center/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "mission-center.spec" + } +} diff --git a/anda/apps/mission-center/mission-center.spec b/anda/apps/mission-center/mission-center.spec new file mode 100644 index 0000000000..d47733b512 --- /dev/null +++ b/anda/apps/mission-center/mission-center.spec @@ -0,0 +1,99 @@ +%global forgeurl0 https://gitlab.com/mission-center-devs/mission-center +Version: 1.0.2 +%global tag0 v%{version} + +%global forgeurl1 https://gitlab.com/mission-center-devs/gng +%global commit1 319d95d29cbc3c373ae61cff228e8440fbaadbbb + + +%forgemeta -a + +Name: mission-center +Release: 1%?dist +Summary: Monitor your CPU, Memory, Disk, Network and GPU usage + +License: GPL-3.0-or-later +URL: %{forgeurl0} +Source0: %{forgesource0} +Source1: %{forgesource1} +Provides: bundled(mission-center-magpie) +Provides: bundled(nvtop) = 3.2.0 +#mission centere uses a patched version of nvtop + +BuildRequires: meson >= 0.63 +BuildRequires: cargo +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(protobuf) +BuildRequires: pkgconfig(python3) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(egl) +BuildRequires: libadwaita-devel +BuildRequires: desktop-file-utils +BuildRequires: blueprint-compiler +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: gettext +BuildRequires: desktop-file-utils +BuildRequires: appstream-data +BuildRequires: libappstream-glib +Recommends: nethogs + +%description +Monitor your CPU, Memory, Disk, Network and GPU usage + + +%prep +%forgesetup -z 0 +mkdir -p ./subprojects/magpie +tar -x --strip-components=1 -f %{SOURCE1} -C ./subprojects/magpie +pushd ./subprojects/magpie/ +%cargo_prep_online +popd +%cargo_prep_online +%{cargo_license_summary_online} +# %cargo_license_online > LICENSE.dependencies +#builds is erroring + +%build +%meson +%meson_build + + +%install +%meson_install +%find_lang missioncenter + +%check +desktop-file-validate %{buildroot}/%{_datadir}/applications/io.missioncenter.MissionCenter.desktop +appstream-util validate-relax %{buildroot}/%{_datadir}/metainfo/io.missioncenter.MissionCenter.metainfo.xml +%meson_test + +# https://gitlab.com/mission-center-devs/mission-center/-/wikis/Home/Nethogs +%post +if command -v nethogs 2>&1 >/dev/null +then + setcap "cap_net_admin,cap_net_raw,cap_dac_read_search,cap_sys_ptrace+pe" "$(which nethogs)" +fi + + +%files -f missioncenter.lang +%doc README.md +%license COPYING +#builds is erroring +# [%]license LICENSE.dependencies +%{_datadir}/missioncenter/ +%{_datadir}/applications/io.missioncenter.MissionCenter.desktop +%{_datadir}/metainfo/io.missioncenter.MissionCenter.metainfo.xml +%{_datadir}/glib-2.0/schemas/io.missioncenter.MissionCenter.gschema.xml +%{_datadir}/icons/hicolor/scalable/apps/io.missioncenter.MissionCenter.svg +%{_datadir}/icons/hicolor/symbolic/apps/io.missioncenter.MissionCenter-symbolic.svg +%{_bindir}/missioncenter-magpie +%{_bindir}/missioncenter + + +%changelog +%autochangelog diff --git a/anda/apps/mission-center/update.rhai b/anda/apps/mission-center/update.rhai new file mode 100644 index 0000000000..85a26a5e08 --- /dev/null +++ b/anda/apps/mission-center/update.rhai @@ -0,0 +1,4 @@ +rpm.version(gitlab_tag("44426042")); +if rpm.changed() { + rpm.global("commit1", gitlab_commit("66855638", "main")); +} \ No newline at end of file diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index 367f281ab6..f5d9b85c62 100644 --- a/anda/apps/mpv/mpv-nightly.spec +++ b/anda/apps/mpv/mpv-nightly.spec @@ -1,6 +1,6 @@ -%global commit f9ec3d2c25ce8f7377f6494270467ca89bea9fc9 +%global commit 1d1535ff9124fdeb3c81a2f089551e2cc8404613 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250515 +%global commit_date 20250523 %global ver 0.40.0 Name: mpv-nightly diff --git a/anda/apps/ruffle/ruffle-nightly.spec b/anda/apps/ruffle/ruffle-nightly.spec index bd850e40d6..0ad871582a 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-29 %global goodver %(echo %ver | sed 's/-//g') %global __brp_mangle_shebangs %{nil} %bcond_without mold 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/desktops/compiz9/compiz9.spec b/anda/desktops/compiz9/compiz9.spec index e4c86dcca7..43d887d68b 100644 --- a/anda/desktops/compiz9/compiz9.spec +++ b/anda/desktops/compiz9/compiz9.spec @@ -1,4 +1,4 @@ -%define _ubuntu_rel 22.10.20220822-0ubuntu13 +%define _ubuntu_rel 22.10.20220822-0ubuntu16 %global _hardened_build 0 Name: compiz9 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 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 73a3fd93b9..260c60c2fc 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 8ea4a5730db308b73b3e3a9d6935477700091bfd %forgemeta Name: lomiri-system-settings diff --git a/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec b/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec index cfaf42d970..89e4666c5b 100644 --- a/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec +++ b/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec @@ -4,7 +4,7 @@ Name: lomiri-ui-toolkit Version: 1.3.5110 -Release: 1%?dist +Release: 2%?dist Summary: QML components to ease the creation of beautiful applications in QML for Lomiri License: LGPL-3.0 @@ -34,6 +34,7 @@ BuildRequires: python3-devel BuildRequires: python3-rpm-macros BuildRequires: qt5-qtsvg-devel BuildRequires: fdupes +BuildRequires: python3dist(pip) BuildRequires: python3dist(setuptools) Requires: qt5-qtgraphicaleffects Requires: qt5-qtfeedback @@ -84,7 +85,11 @@ Examples for Lomiri-ui-toolkit. %build %{qmake_qt5} 'CONFIG+=ubuntu-uitk-compat' 'CONFIG+=test' pushd tests/autopilot +%if 0%{?fedora} <= 41 || 0%{?rhel} %py3_build +%else +%pyproject_wheel +%endif popd %make_build @@ -96,8 +101,12 @@ rm -rf %{buildroot}%{_qt5_qmldir}/Extinct %fdupes %buildroot%_libdir/qt5/examples/%name/examples/ pushd tests/autopilot +%if 0%{?fedora} <= 41 || 0%{?rhel} %py3_install -mv lomiriuitoolkit/{tests,_custom_proxy_objects} %{buildroot}%{python3_sitelib}/lomiriuitoolkit/ +%else +%pyproject_install +%endif +mv lomiriuitoolkit/{tests,_custom_proxy_objects} -t %{buildroot}%{python3_sitelib}/lomiriuitoolkit/ popd %find_lang %{name} @@ -143,11 +152,14 @@ popd %doc README.md %dir %{python3_sitelib}/lomiriuitoolkit %{python3_sitelib}/lomiriuitoolkit/*.py -%dir %{python3_sitelib}/lomiriuitoolkit-%{version}-py%{python3_version}.egg-info -%{python3_sitelib}/lomiriuitoolkit-%{version}-py%{python3_version}.egg-info/* %{python3_sitelib}/lomiriuitoolkit/_custom_proxy_objects/ %{python3_sitelib}/lomiriuitoolkit/__pycache__/ %{python3_sitelib}/lomiriuitoolkit/tests/ +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitelib}/lomiriuitoolkit-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitelib}/lomiriuitoolkit-%{version}.dist-info/ +%endif %files doc %license COPYING.CC-BY-SA-3.0 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 diff --git a/anda/desktops/waylands/swww/swww.spec b/anda/desktops/waylands/swww/swww.spec index b6d19e5097..dab0d00e8a 100644 --- a/anda/desktops/waylands/swww/swww.spec +++ b/anda/desktops/waylands/swww/swww.spec @@ -1,16 +1,19 @@ Name: swww -Version: 0.9.5 +Version: 0.10.0 Release: 1%?dist Summary: Wallpaper daemon for Wayland SourceLicense: GPL-3.0-only -License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND (CC0-1.0 OR Apache-2.0) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) +License: (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) URL: https://github.com/LGFae/swww Source0: %url/archive/refs/tags/v%version.tar.gz +Packager: madonuko BuildRequires: anda-srpm-macros rust-packaging rpm_macro(bash_completions_dir) mold BuildRequires: scdoc BuildRequires: zstd BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-protocols) %description swww is a wallpaper daemon for Wayland that is controlled @@ -56,8 +59,8 @@ Zsh command-line completion support for %{name}. ./doc/gen.sh %install -%{cargo_install} & -cd daemon && %{cargo_install} & +(cd client && %{cargo_install}) & +(cd daemon && %{cargo_install}) & wait install -Dm644 -T completions/swww.bash %buildroot%bash_completions_dir/swww install -Dm644 -T completions/swww.fish %buildroot%fish_completions_dir/swww.fish @@ -73,7 +76,6 @@ install -Dm644 -t %buildroot%_mandir/man1 doc/generated/swww*1 %_mandir/man1/%name-clear.1.gz %_mandir/man1/%name-daemon.1.gz %_mandir/man1/%name-img.1.gz -%_mandir/man1/%name-init.1.gz %_mandir/man1/%name-kill.1.gz %_mandir/man1/%name-query.1.gz %_mandir/man1/%name-restore.1.gz diff --git a/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec b/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec index 0db46672ea..c5b9a0d39b 100644 --- a/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec +++ b/anda/desktops/waylands/walker/golang-github-abenz1267-walker.spec @@ -12,7 +12,7 @@ # https://github.com/abenz1267/walker %global goipath github.com/abenz1267/walker -Version: 0.12.21 +Version: 0.12.23 %gometa -f diff --git a/anda/devs/atac/atac.spec b/anda/devs/atac/atac.spec index 297a5d8e5f..98029c3cf0 100644 --- a/anda/devs/atac/atac.spec +++ b/anda/devs/atac/atac.spec @@ -6,7 +6,7 @@ %global __brp_mangle_shebangs %{nil} Name: atac -Version: 0.20.0 +Version: 0.20.1 Release: 1%?dist Summary: Arguably a Terminal API Client diff --git a/anda/devs/bun/bun-bin.spec b/anda/devs/bun/bun-bin.spec index df64dfc886..2eaf13b3b7 100644 --- a/anda/devs/bun/bun-bin.spec +++ b/anda/devs/bun/bun-bin.spec @@ -1,12 +1,12 @@ %define debug_package %nil %ifarch x86_64 -%global a x64 +%global a x64-baseline %elifarch aarch64 %global a aarch64 %endif Name: bun-bin -Version: 1.2.13 +Version: 1.2.15 Release: 1%?dist Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one License: MIT @@ -17,10 +17,37 @@ BuildRequires: unzip %description %summary. + +%package bash-completion +Summary: Bash completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: bash-completion +Supplements: (%{name} and bash-completion) + +%description bash-completion +Bash command line completion support for %{name}. + +%package fish-completion +Summary: Fish completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: fish +Supplements: (%{name} and fish) + +%description fish-completion +Fish command line completion support for %{name}. + +%package zsh-completion +Summary: Zsh completion for %{name} +Requires: %{name} = %{version}-%{release} +Requires: zsh +Supplements: (%{name} and zsh) + +%description zsh-completion +Zsh command line completion support for %{name}. + + %prep -unzip %SOURCE0 -%global buildsubdir bun-linux-%a -cd %buildsubdir +%autosetup -n bun-linux-%a cat< LICENSE MIT License @@ -61,6 +88,12 @@ ln -s bun %buildroot%_bindir/bunx %license LICENSE %_bindir/bun %_bindir/bunx + +%files bash-completion %bash_completions_dir/bun.bash + +%files fish-completion %fish_completions_dir/bun.fish + +%files zsh-completion %zsh_completions_dir/_bun diff --git a/anda/devs/edit/anda.hcl b/anda/devs/edit/anda.hcl new file mode 100644 index 0000000000..ce214676b7 --- /dev/null +++ b/anda/devs/edit/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "edit.spec" + } +} diff --git a/anda/devs/edit/edit.spec b/anda/devs/edit/edit.spec new file mode 100644 index 0000000000..b895954cbd --- /dev/null +++ b/anda/devs/edit/edit.spec @@ -0,0 +1,57 @@ +%global _description %{expand: +An editor that pays homage to the classic MS-DOS Editor, but with a modern interface and input controls similar to VS Code.} +%global crate edit +%bcond rust_nightly 1 +%if %{with rust_nightly} +%define __cargo /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 RUSTFLAGS='%{build_rustflags}' $HOME/.cargo/bin/cargo +%define __rustc $HOME/.cargo/bin/rustc +%define __rustdoc $HOME/.cargo/bin/rustdoc +%endif + +Name: %{crate} +Version: 1.1.0 +Release: 1%?dist +Summary: A simple editor for simple needs. +SourceLicense: MIT +License: MIT AND (MIT OR Apache-2.0) +URL: https://github.com/microsoft/edit +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros +%if %{with rust_nightly} +BuildRequires: rustup +%endif +BuildRequires: mold +Packager: Gilver E. + +%description %_description + +%prep +%autosetup -n %{name}-%{version} +%if %{with rust_nightly} +rustup-init -y +. "$HOME/.cargo/env" +rustup toolchain install nightly +rustup override set nightly +%endif +%cargo_prep_online + +%build +%cargo_build + +%install +%crate_install_bin +%{cargo_license_online} > LICENSE.dependencies + +%files +%doc CODE_OF_CONDUCT.md +%doc README.md +%doc SECURITY.md +%license LICENSE +%license LICENSE.dependencies +%{_bindir}/%{name} + +%changelog +* Thu May 22 2025 Gilver E. - 1.0.0-1 +- Initial package + diff --git a/anda/devs/edit/update.rhai b/anda/devs/edit/update.rhai new file mode 100644 index 0000000000..f2c7849103 --- /dev/null +++ b/anda/devs/edit/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("microsoft/edit")); diff --git a/anda/devs/flutter/flutter.spec b/anda/devs/flutter/flutter.spec index 0d6efe9b4a..ac94e42165 100644 --- a/anda/devs/flutter/flutter.spec +++ b/anda/devs/flutter/flutter.spec @@ -1,5 +1,5 @@ Name: flutter -Version: 3.29.3 +Version: 3.32.0 Release: 1%?dist Summary: SDK for crafting beautiful, fast user experiences from a single codebase License: BSD-3-Clause diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index 1dc9960262..c3c0b72d2e 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -1,6 +1,6 @@ -%global commit b1af4a597f359491f4b3197a845b39ec86db475a +%global commit 8a00aa8223dddd490e55b741e4293d8ff1e756df %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global fulldate 2025-05-16 +%global fulldate 2025-05-28 %global commit_date %(echo %{fulldate} | sed 's/-//g') %global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV %global ver 1.1.4 diff --git a/anda/devs/micro/micro-nightly.spec b/anda/devs/micro/micro-nightly.spec index 99a70aeca2..2c7ac6ffbe 100644 --- a/anda/devs/micro/micro-nightly.spec +++ b/anda/devs/micro/micro-nightly.spec @@ -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 98ff79dbcaff3df2f70e4c322f0b3d406f6ae698 -%global commit_date 20250512 +%global commit_hash 5eddf5b85d66f95e9e61d2f0a9f972d432936979 +%global commit_date 20250527 %global shortcommit %{sub %{commit_hash} 1 7} %global ver 2.0.14 diff --git a/anda/devs/shibuya/python-shibuya.spec b/anda/devs/shibuya/python-shibuya.spec index a4dd57276d..0d157afa5e 100644 --- a/anda/devs/shibuya/python-shibuya.spec +++ b/anda/devs/shibuya/python-shibuya.spec @@ -1,11 +1,12 @@ %global pypi_name shibuya %global _description %{expand: A responsive, good looking with modern design documentation theme for Sphinx, with great supports for many sphinx extensions.} +# I would love to enable the docs but Fedora has stopped maintaining their jupyter-sphinx package with 42 and it is required to build them %bcond docs 0 Name: python-%{pypi_name} Version: 2025.4.25 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A clean, responsive, and customizable Sphinx documentation theme with light/dark mode License: BSD-3-Clause URL: https://shibuya.lepture.com @@ -15,11 +16,18 @@ Source0: https://github.com/lepture/shibuya/archive/refs/tags/%{version}. Source0: %{pypi_source} %endif BuildRequires: python3-devel +BuildRequires: python3-rpm-macros BuildRequires: python3dist(babel) +BuildRequires: python3dist(pip) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(sphinx) %if %{with docs} +BuildRequires: python3dist(jupyter-sphinx) +BuildRequires: python3dist(myst-parser) BuildRequires: python3dist(shibuya) +BuildRequires: python3dist(sphinx-copybutton) +BuildRequires: python3dist(sphinx-design) +BuildRequires: python3dist(sphinx-togglebutton) %endif BuildArch: noarch Packager: Gilver E. @@ -68,23 +76,43 @@ This package contains the official docs for Shibuya. rm -rf %{pypi_name}.egg-info %build +%if 0%{?fedora} <= 41 || 0%{?rhel} %py3_build +%else +%pyproject_wheel +%endif %if %{with docs} -PYTHONPATH=${PWD} sphinx-build docs build/_html -b dirhtml -a +sphinx-build docs build/_html -b dirhtml -a +pybabel extract -F babel.cfg src/shibuya/theme -o src/shibuya/locale/sphinx.pot +for l in de en es fr ja ko pt pt_BR zh zh_TW; do +pybabel init -D sphinx -i src/shibuya/locale/sphinx.pot -d src/shibuya/locale -l $l +pybabel update -D sphinx -i src/shibuya/locale/sphinx.pot -d src/shibuya/locale -l $l +pybabel compile -D sphinx -d src/shibuya/locale +done %endif %install +%if 0%{?fedora} <= 41 || 0%{?rhel} %py3_install +%else +%pyproject_install +%endif %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/%{pypi_name} -%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ +%endif %if %{with docs} %files -n python3-%{pypi_name}-doc +%doc build/_html/* +%doc src/shibuya/locale/{de,en,es,fr,ja,ko,pt,pt_BR,zh,zh_TW} %endif %changelog diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 5d8ad179e6..12d8077b48 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,7 +1,7 @@ -%global commit ff0060aa36c76a02e696acacde25af1095277a0a +%global commit 384b11392a1ef1c72d40bd1d679f0379875d12e0 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250517 -%global ver 0.188.0 +%global commit_date 20250529 +%global ver 0.190.0 %bcond_with check diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec index 998cde437b..c4efb65175 100644 --- a/anda/devs/zed/preview/zed-preview.spec +++ b/anda/devs/zed/preview/zed-preview.spec @@ -1,6 +1,6 @@ %bcond_with check -%global ver 0.187.2-pre +%global ver 0.189.0-pre # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ diff --git a/anda/devs/zed/stable/zed.spec b/anda/devs/zed/stable/zed.spec index d784cd2540..5db07a36c5 100644 --- a/anda/devs/zed/stable/zed.spec +++ b/anda/devs/zed/stable/zed.spec @@ -9,7 +9,7 @@ %global rustflags_debuginfo 0 Name: zed -Version: 0.186.9 +Version: 0.188.3 Release: 1%?dist Summary: Zed is a high-performance, multiplayer code editor SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later diff --git a/anda/games/gamescope-session/gamescope-session.spec b/anda/games/gamescope-session/gamescope-session.spec index 62fa2e02dc..b9dc158a81 100644 --- a/anda/games/gamescope-session/gamescope-session.spec +++ b/anda/games/gamescope-session/gamescope-session.spec @@ -1,8 +1,8 @@ %define debug_package %nil -%global commit 50304917b71ad220082565c5029e9393e6464a1f +%global commit 35ac9fe5f22f3e8d98a34ecb032bc601c67bfe01 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250408 +%global commit_date 20250526 Name: gamescope-session Version: %commit_date.%shortcommit diff --git a/anda/games/heroic-games-launcher/heroic-games-launcher.spec b/anda/games/heroic-games-launcher/heroic-games-launcher.spec index 04d1cee3b2..a852054de3 100644 --- a/anda/games/heroic-games-launcher/heroic-games-launcher.spec +++ b/anda/games/heroic-games-launcher/heroic-games-launcher.spec @@ -10,14 +10,14 @@ %global git_name %(echo %{org_name} | sed 's/-//g') %global reverse_dns com.heroicgameslauncher.hgl %global shortname heroic -%global legendary_version 0.20.36 +%global legendary_version 0.20.37 %global gogdl_version 1.1.2 %global nile_version 1.1.2 %global comet_version 0.2.0 Name: %{shortname}-games-launcher -Version: 2.16.1 -Release: 4%?dist +Version: 2.17.0 +Release: 1%?dist Summary: A games launcher for GOG, Amazon, and Epic Games License: GPL-3.0-only AND MIT AND BSD-3-Clause URL: https://heroicgameslauncher.com @@ -29,6 +29,7 @@ BuildRequires: gcc-c++ BuildRequires: git BuildRequires: make BuildRequires: nodejs +BuildRequires: nodejs-npm BuildRequires: pnpm BuildRequires: python3 Requires: alsa-lib @@ -51,7 +52,6 @@ Heroic is a Free and Open Source Epic, GOG, and Amazon Prime Games launcher for %prep %git_clone https://github.com/%{org_name}/%{git_name} v%{version} -desktop-file-edit --set-key=Exec --set-value="/usr/share/%{shortname}/%{shortname} %u" flatpak/%{reverse_dns}.desktop %build pnpm install @@ -62,11 +62,10 @@ pnpm dist:linux mkdir -p %{buildroot}%{_datadir}/%{shortname} mv $(find . -iname "*LICENSE*" -not -path "./node_modules/*" -and -not -path "./public/*") . mv LICENSE node-font-list.LICENSE -rm -rf dist/linux-unpacked/resources/app.asar.unpacked/node_modules/font-list/libs/darwin -rm -rf dist/linux-unpacked/resources/app.asar.unpacked/node_modules/font-list/libs/win32 +rm -rf dist/linux-unpacked/resources/app.asar.unpacked/node_modules/font-list/libs/{darwin,win32} %ifarch aarch64 -### Needs testing once aarch64 Heroic is complete: -#rm -rf dist/linux-unpacked/resources/app.asar.unpacked/build/bin/x64 +# Keep the x86_64 Windows binaries run through Wine just in case +rm -rf dist/linux-unpacked/resources/app.asar.unpacked/build/bin/x64/{darwin,linux} mv dist/linux-arm64-unpacked/* %{buildroot}%{_datadir}/%{shortname} %else rm -rf dist/linux-unpacked/resources/app.asar.unpacked/build/bin/arm64 @@ -84,7 +83,7 @@ install -Dm644 dist/.icon-set/icon_128x128.png %{buildroot}%{_iconsdir}/hicolor/ install -Dm644 dist/.icon-set/icon_256x256.png %{buildroot}%{_iconsdir}/hicolor/256x256/apps/%{reverse_dns}.png install -Dm644 dist/.icon-set/icon_512x512.png %{buildroot}%{_iconsdir}/hicolor/512x512/apps/%{reverse_dns}.png install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}%{_iconsdir}/hicolor/1024x1024/apps/%{reverse_dns}.png -install -Dm644 flatpak/%{reverse_dns}.desktop -t %{buildroot}%{_datadir}/applications/ +desktop-file-install --set-key=Exec --set-value="/usr/share/%{shortname}/%{shortname} %u" flatpak/%{reverse_dns}.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{reverse_dns}.desktop diff --git a/anda/games/inputplumber/inputplumber.spec b/anda/games/inputplumber/inputplumber.spec index 45a99eb341..3eaa7edaf9 100644 --- a/anda/games/inputplumber/inputplumber.spec +++ b/anda/games/inputplumber/inputplumber.spec @@ -1,14 +1,15 @@ %global __brp_mangle_shebangs %{nil} Name: inputplumber -Version: 0.58.0 +Version: 0.58.1 Release: 1%?dist Summary: Open source input router and remapper daemon for Linux License: GPL-3.0-or-later URL: https://github.com/ShadowBlip/InputPlumber Source0: %{url}/archive/refs/tags/v%version.tar.gz +Patch0: make-install-dont-build.patch BuildRequires: libevdev-devel libiio-devel git make cargo libudev-devel llvm-devel clang-devel -BuildRequires: rust-packaging cargo-rpm-macros mold rpm_macro(cargo_prep_online) +BuildRequires: rust-packaging cargo-rpm-macros mold rpm_macro(cargo_prep_online) systemd-rpm-macros Requires: libevdev libiio Recommends: steam gamescope-session linuxconsoletools Packager: madonuko @@ -46,5 +47,7 @@ keyboards) and translate their input to a variety of virtual device formats. %_unitdir/inputplumber.service %_unitdir/inputplumber-suspend.service %_udevhwdbdir/59-inputplumber.hwdb +%_udevhwdbdir/60-inputplumber-autostart.hwdb +%_udevrulesdir/90-inputplumber-autostart.rules %_datadir/dbus-1/system.d/org.shadowblip.InputPlumber.conf %_datadir/inputplumber/ diff --git a/anda/games/inputplumber/make-install-dont-build.patch b/anda/games/inputplumber/make-install-dont-build.patch new file mode 100644 index 0000000000..de7f6053e1 --- /dev/null +++ b/anda/games/inputplumber/make-install-dont-build.patch @@ -0,0 +1,13 @@ +--- a/Makefile 2025-05-21 22:56:09.064696169 -0500 ++++ b/Makefile 2025-05-21 23:14:40.494058939 -0500 +@@ -41,8 +41,8 @@ + @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) + + .PHONY: install +-install: build ## Install inputplumber to the given prefix (default: PREFIX=/usr) +- install -D -m 755 target/$(TARGET_ARCH)/$(BUILD_TYPE)/$(NAME) \ ++install: ++ install -D -m 755 target/$(BUILD_TYPE)/$(NAME) \ + $(PREFIX)/bin/$(NAME) + install -D -m 644 rootfs/usr/share/dbus-1/system.d/$(DBUS_NAME).conf \ + $(PREFIX)/share/dbus-1/system.d/$(DBUS_NAME).conf diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index d3da5c074b..722ef8eb07 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,10 +1,10 @@ %global real_name prismlauncher %global nice_name PrismLauncher -%global commit 1c20faccf88999474af70db098a4c10e7a03af33 +%global commit 43c8f74fa0fea286f03a1031fbf6153c4a35958b %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250515 +%global commit_date 20250528 %global snapshot_info %{commit_date}.%{shortcommit} %bcond_without qt6 diff --git a/anda/games/rpcs3/anda.hcl b/anda/games/rpcs3/anda.hcl new file mode 100644 index 0000000000..392781de39 --- /dev/null +++ b/anda/games/rpcs3/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rpcs3.spec" + } +} diff --git a/anda/games/rpcs3/rpcs3.spec b/anda/games/rpcs3/rpcs3.spec new file mode 100644 index 0000000000..878838b3b9 --- /dev/null +++ b/anda/games/rpcs3/rpcs3.spec @@ -0,0 +1,102 @@ +%global _distro_extra_cflags -Wno-maybe-uninitialized -fuse-linker-plugin -fuse-ld=mold +%global _distro_extra_cxxflags -include %_includedir/c++/*/cstdint +# GLIBCXX_ASSERTIONS is known to break RPCS3 +%global build_cflags %(echo %{__build_flags_lang_c} | sed 's/-Wp,-D_GLIBCXX_ASSERTIONS//g') %{?_distro_extra_cflags} +%global build_cxxflags %(echo %{__build_flags_lang_cxx} | sed 's/-Wp,-D_GLIBCXX_ASSERTIONS//g') %{?_distro_extra_cxxflags} +%ifarch aarch64 +# 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 +%endif +%global commit a9df046f21d11b4e7758401bed47d2cad402c294 +%global ver 0.0.36-17973 + +Name: rpcs3 +Version: %(echo %{ver} | sed 's/-/^/g') +Release: 1%?dist +Summary: PlayStation 3 emulator and debugger +License: GPL-2.0-only +URL: https://github.com/RPCS3/rpcs3 +%dnl Source0: %url/archive/refs/tags/v%version.tar.gz +BuildRequires: anda-srpm-macros glew openal-soft cmake vulkan-validation-layers git-core mold +%ifarch x86_64 +BuildRequires: gcc gcc-c++ +%elifarch aarch64 +BuildRequires: clang +%endif +BuildRequires: cmake(FAudio) +BuildRequires: cmake(OpenAL) +BuildRequires: cmake(OpenCV) +BuildRequires: cmake(Qt6Multimedia) +BuildRequires: cmake(Qt6Svg) +BuildRequires: pkgconfig(sdl3) +BuildRequires: pkgconfig(sndio) +BuildRequires: pkgconfig(jack) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(glew) +BuildRequires: pkgconfig(libzstd) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(libevdev) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(gl) +BuildRequires: pkgconfig(vulkan) +BuildRequires: pkgconfig(libffi) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(sdl2) +BuildRequires: pkgconfig(libavcodec) +BuildRequires: pkgconfig(libavformat) +BuildRequires: pkgconfig(libavutil) +BuildRequires: pkgconfig(libswscale) +BuildRequires: pkgconfig(libswresample) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wayland-cursor) +#BuildRequires: pkgconfig(wayland-eglstream) +BuildRequires: doxygen +BuildRequires: qt6-qtbase-private-devel vulkan-devel jack-audio-connection-kit-devel llvm-devel + +%description +%summary. + +%prep +%git_clone %url %commit + +%build +%ifarch aarch64 +# Looking at the CMakeLists.txt, this is the intended compiler and there are no fixes for GCC on aarch64 +export CC=clang +export CXX=clang++ +%endif +%cmake -DDISABLE_LTO=TRUE \ + -DZSTD_BUILD_SHARED=OFF \ + -DZSTD_BUILD_STATIC=ON \ + -DUSE_NATIVE_INSTRUCTIONS=OFF \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DSTATIC_LINK_LLVM=OFF \ + -DUSE_SYSTEM_FAUDIO=ON \ + -DUSE_SDL=ON \ + -DUSE_SYSTEM_SDL=ON \ + -DBUILD_LLVM=OFF \ + -DUSE_PRECOMPILED_HEADERS=OFF \ + -DUSE_DISCORD_RPC=ON \ + -DUSE_SYSTEM_FFMPEG=ON \ + -DUSE_SYSTEM_OPENCV=ON \ +%if 0%{?fedora} < 43 + -DUSE_SYSTEM_CURL=ON +%endif +%cmake_build + +%install +%cmake_install + +%files +%doc README.md +%license LICENSE +%_bindir/rpcs3 +%_datadir/applications/rpcs3.desktop +%_datadir/metainfo/rpcs3.metainfo.xml +%_datadir/rpcs3/ +%_iconsdir/hicolor/48x48/apps/rpcs3.png +%_iconsdir/hicolor/scalable/apps/rpcs3.svg diff --git a/anda/games/rpcs3/update.rhai b/anda/games/rpcs3/update.rhai new file mode 100644 index 0000000000..b0a43bfae8 --- /dev/null +++ b/anda/games/rpcs3/update.rhai @@ -0,0 +1,8 @@ +let html = get("https://rpcs3.net/download"); +let v = find("Build ([\\d.]+-[\\d.]+)\\s+", html, 1); +rpm.global("ver", v); + +if rpm.changed () { + let c = find("Commit - 0.5-1 +- Initial package. diff --git a/anda/langs/d/btdu/update.rhai b/anda/langs/d/btdu/update.rhai new file mode 100644 index 0000000000..1689fa4601 --- /dev/null +++ b/anda/langs/d/btdu/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("CyberShadow/btdu")); diff --git a/anda/langs/dart/dart.spec b/anda/langs/dart/dart.spec index 4d7d253609..4afc075cba 100644 --- a/anda/langs/dart/dart.spec +++ b/anda/langs/dart/dart.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: dart -Version: 3.7.3 +Version: 3.8.1 Release: 1%?dist Summary: The Dart Language License: BSD-3-Clause diff --git a/anda/langs/go/chezmoi/chezmoi.spec b/anda/langs/go/chezmoi/chezmoi.spec index a85b64241a..59a0922821 100644 --- a/anda/langs/go/chezmoi/chezmoi.spec +++ b/anda/langs/go/chezmoi/chezmoi.spec @@ -4,7 +4,7 @@ # https://github.com/twpayne/chezmoi %global goipath github.com/twpayne/chezmoi -Version: 2.62.4 +Version: 2.62.5 %gometa -f diff --git a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec index 78f8be07c7..e541135eba 100644 --- a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec +++ b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec @@ -2,7 +2,7 @@ # https://github.com/jesseduffield/lazygit %global goipath github.com/jesseduffield/lazygit -Version: 0.50.0 +Version: 0.51.1 %gometa -f diff --git a/anda/langs/groovy/groovy-docs/groovy-docs.spec b/anda/langs/groovy/groovy-docs/groovy-docs.spec index 80ebbf2c65..f6804f829c 100644 --- a/anda/langs/groovy/groovy-docs/groovy-docs.spec +++ b/anda/langs/groovy/groovy-docs/groovy-docs.spec @@ -1,5 +1,5 @@ Name: groovy-docs -Version: 4.0.26 +Version: 4.0.27 Release: 1%?dist Summary: Documentation for the Groovy programming language URL: https://groovy-lang.org/ diff --git a/anda/langs/groovy/groovy.spec b/anda/langs/groovy/groovy.spec index fbcbc0c2e4..31bf79d898 100644 --- a/anda/langs/groovy/groovy.spec +++ b/anda/langs/groovy/groovy.spec @@ -1,5 +1,5 @@ Name: groovy -Version: 4.0.26 +Version: 4.0.27 Release: 1%?dist Summary: A multi-faceted language for the Java platform BuildArch: noarch diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 3fbc1c2bf3..360bc3ffef 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 db5973361f3387bf3d559f101e44196df246d7d7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20250517 +%global commit_date 20250528 %global debug_package %nil Name: nim-nightly diff --git a/anda/langs/python/bash-kernel/anda.hcl b/anda/langs/python/bash-kernel/anda.hcl new file mode 100644 index 0000000000..8331b23526 --- /dev/null +++ b/anda/langs/python/bash-kernel/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "python-bash-kernel.spec" + } + labels { + subrepo = "extras" + } +} diff --git a/anda/langs/python/bash-kernel/python-bash-kernel.spec b/anda/langs/python/bash-kernel/python-bash-kernel.spec new file mode 100644 index 0000000000..398774f3fb --- /dev/null +++ b/anda/langs/python/bash-kernel/python-bash-kernel.spec @@ -0,0 +1,65 @@ +# Mostly taken from Fedora, but updated because despite Fedora marking this project as abandoned it is not + +%global pypi_name bash_kernel +%global real_name bash-kernel + +Name: python-%{real_name} +Version: 0.10.0 +Release: 1%{?dist} +Summary: Bash kernel for Jupyter +License: BSD-3-Clause +URL: https://github.com/takluyver/bash_kernel +Source: %{pypi_source} +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3dist(filetype) +BuildRequires: python3dist(flit-core) +BuildRequires: python3dist(ipykernel) +BuildRequires: python3dist(pexpect) +BuildRequires: python3dist(pip) +BuildRequires: %{py3_dist docutils} +# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} +BuildArch: noarch +Packager: Gilver E. + +%description +This package contains a Jupyter kernel for bash. + +%package -n python3-%{real_name} +Summary: %{summary} +Requires: bash +Requires: python-jupyter-filesystem + +%description -n python3-%{real_name} +This package contains a Jupyter kernel for bash. + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + +# Work around an install error +sed -i 's/from \.resources/from %{pypi_name}.resources/' %{pypi_name}/install.py + +%build +%pyproject_wheel +rst2html --no-datestamp README.rst README.html + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} +export PYTHONPATH=$PWD +cd %{pypi_name} +%{python3} install.py --prefix %{buildroot}%{_prefix} +cd - + +%check +%pyproject_check_import + +%files -n python3-%{real_name} -f %{pyproject_files} +%doc README.html +%license LICENSE +%{_datadir}/jupyter/kernels/bash/ + +%changelog +* Mon May 26 2025 Gilver E. - 0.10.0-1 +- Initial port from Fedora diff --git a/anda/langs/python/bash-kernel/update.rhai b/anda/langs/python/bash-kernel/update.rhai new file mode 100644 index 0000000000..6d98ddf008 --- /dev/null +++ b/anda/langs/python/bash-kernel/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("bash_kernel")); diff --git a/anda/langs/python/colorthief/anda.hcl b/anda/langs/python/colorthief/anda.hcl new file mode 100644 index 0000000000..13650eb2df --- /dev/null +++ b/anda/langs/python/colorthief/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "python-colorthief.spec" + } + labels { + updbranch = 1 + } +} diff --git a/anda/langs/python/colorthief/python-colorthief.spec b/anda/langs/python/colorthief/python-colorthief.spec new file mode 100644 index 0000000000..52b1138ad0 --- /dev/null +++ b/anda/langs/python/colorthief/python-colorthief.spec @@ -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. + +%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. - 0.2.1-1 +- Initial port from Fedora diff --git a/anda/langs/python/colorthief/update.rhai b/anda/langs/python/colorthief/update.rhai new file mode 100644 index 0000000000..e0b7496e5a --- /dev/null +++ b/anda/langs/python/colorthief/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("colorthief")); diff --git a/anda/langs/python/colorz/anda.hcl b/anda/langs/python/colorz/anda.hcl new file mode 100644 index 0000000000..5bc35d8d14 --- /dev/null +++ b/anda/langs/python/colorz/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "python-colorz.spec" + } +} diff --git a/anda/langs/python/colorz/python-colorz.spec b/anda/langs/python/colorz/python-colorz.spec new file mode 100644 index 0000000000..5dd228c483 --- /dev/null +++ b/anda/langs/python/colorz/python-colorz.spec @@ -0,0 +1,64 @@ +%global pypi_name colorz + +Name: python-%{pypi_name} +Version: 1.0.3 +Release: 1%{?dist} +Summary: Color scheme generator +License: MIT +URL: https://github.com/metakirby5/colorz +Source0: %{pypi_source} +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3dist(pip) +BuildRequires: python3dist(setuptools) +BuildArch: noarch +Packager: Gilver E. + +%description +A k-means color scheme generator. + +%package -n python3-%{pypi_name} +Summary: %{summary} +Requires: python3dist(pillow) +Requires: python3dist(scipy) +Requires: python3dist(setuptools) +%{?python_provide:%python_provide python3-%{pypi_name}} + + +%description -n python3-%{pypi_name} +A k-means color scheme generator. + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%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 +%endif + +%files -n python3-%{pypi_name} +%doc PKG-INFO +%doc README.rst +%{_bindir}/colorz +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/%{pypi_name}.py +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ +%endif + +%changelog +* Thu May 22 2025 Gilver - 1.0.3-1 +- Initial package. diff --git a/anda/langs/python/colorz/update.rhai b/anda/langs/python/colorz/update.rhai new file mode 100644 index 0000000000..579b53e3f0 --- /dev/null +++ b/anda/langs/python/colorz/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("colorz")); diff --git a/anda/langs/python/fast-colorthief/python-fast-colorthief.spec b/anda/langs/python/fast-colorthief/python-fast-colorthief.spec index 599e5af6b3..69529d2df6 100644 --- a/anda/langs/python/fast-colorthief/python-fast-colorthief.spec +++ b/anda/langs/python/fast-colorthief/python-fast-colorthief.spec @@ -1,6 +1,8 @@ %global pypi_name fast-colorthief %global debug_package %{nil} %bcond docs 1 +# Fedora packages pybind11 but not the test module kill me +%bcond test 0 Name: python-%{pypi_name} Version: 0.0.5 @@ -14,9 +16,16 @@ BuildRequires: doxygen BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: pybind11-devel +BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel +# This package is not buildable on EL due to this dep. There's unfortunately not much I can do about this. BuildRequires: python3-sphinxcontrib-rsvgconverter BuildRequires: python3dist(breathe) +%if %{with test} +BuildRequires: python3dist(colorthief) +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(pybind11-tests) +%endif BuildRequires: python3dist(furo) BuildRequires: python3dist(numpy) BuildRequires: python3dist(pillow) @@ -58,21 +67,32 @@ Documentation files for %{pypi_name} rm -rf %{pypi_name}.egg-info %build -### This is not a fully Python project and is mostly C++ -## Disable PIC -# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_pie -sed -i 's/CMAKE_POSITION_INDEPENDENT_CODE ON/CMAKE_POSITION_INDEPENDENT_CODE OFF/' CMakeLists.txt +## This is not a fully Python project and is mostly C++ +%if 0%{?fedora} <= 41 || 0%{?rhel} +%py3_build +%else %pyproject_wheel +%endif %if %{with docs} -# generate docs -PYTHONPATH=${PWD} sphinx-build pybind11/docs html -# remove the sphinx-build leftovers +# Generate docs +# Only works in English currently. Sad. +PYTHONPATH=${PWD} sphinx-build pybind11/docs html -D language=en +# Remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} %endif %install +%if 0%{?fedora} <= 41 || 0%{?rhel} +%py3_install +%else %pyproject_install +%endif + +%if %{with test} +%check +%pytest +%endif %files -n python3-%{pypi_name} %license pybind11/LICENSE @@ -82,7 +102,11 @@ rm -rf html/.{doctrees,buildinfo} %{python3_sitearch}/fast_colorthief.py %{python3_sitearch}/version.py %{python3_sitearch}/fast_colorthief_backend.cpython-*-%{_arch}-linux-gnu.so -%{python3_sitearch}/fast_colorthief-%{version}.dist-info +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitearch}/fast_colorthief-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitearch}/fast_colorthief-%{version}.dist-info/ +%endif %if %{with docs} %files -n python3-%{pypi_name}-doc diff --git a/anda/langs/python/haishoku/anda.hcl b/anda/langs/python/haishoku/anda.hcl new file mode 100644 index 0000000000..0ddc866ba8 --- /dev/null +++ b/anda/langs/python/haishoku/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "python-haishoku.spec" + } +} diff --git a/anda/langs/python/haishoku/python-haishoku.spec b/anda/langs/python/haishoku/python-haishoku.spec new file mode 100644 index 0000000000..d7187805f3 --- /dev/null +++ b/anda/langs/python/haishoku/python-haishoku.spec @@ -0,0 +1,62 @@ +%global pypi_name haishoku +%global _description1 %{expand: +Haishoku is a development tool for grabbing the dominant color or representative color palette from an image, it depends on Python3 and Pillow.} +%global _description2 %{expand: +Haishoku is a development tool for grabbing the dominant color or representative color palette from an image.} + +Name: python-%{pypi_name} +Version: 1.1.8 +Release: 1%{?dist} +Summary: A development tool for grabbing the dominant color or representative color palette from an image +License: MIT +URL: https://github.com/LanceGin/haishoku +Source0: %{pypi_source} +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3dist(pip) +BuildRequires: python3dist(setuptools) +BuildArch: noarch +Packager: Gilver E. + +%description %_description1 + +%package -n python3-%{pypi_name} +Summary: %{summary} +Requires: python3dist(pillow) +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description2 + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%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 +%endif + +%files -n python3-%{pypi_name} +# This project does have README files but they are not included in the PyPi source +%doc PKG-INFO +%license LICENSE +%{python3_sitelib}/%{pypi_name}/ +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ +%endif + +%changelog +* Thu May 22 2025 Gilver E. - 1.1.8-1 +- Initial package. diff --git a/anda/langs/python/haishoku/update.rhai b/anda/langs/python/haishoku/update.rhai new file mode 100644 index 0000000000..70d621479c --- /dev/null +++ b/anda/langs/python/haishoku/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("haishoku")); diff --git a/anda/langs/python/ignis/python-ignis.spec b/anda/langs/python/ignis/python-ignis.spec index 2148b85600..240fd3fe53 100644 --- a/anda/langs/python/ignis/python-ignis.spec +++ b/anda/langs/python/ignis/python-ignis.spec @@ -1,6 +1,6 @@ Name: python-ignis -Version: 0.5 -Release: 2%{?dist} +Version: 0.5.1 +Release: 1%?dist Summary: A widget framework for building desktop shells, written and configurable in Python License: LGPL-2.1-or-later @@ -8,6 +8,7 @@ URL: https://linkfrg.github.io/ignis Source: https://github.com/linkfrg/ignis/archive/v%{version}/ignis-%{version}.tar.gz Packager: madonuko +BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel BuildRequires: gcc git-core BuildRequires: pkgconfig(glib-2.0) diff --git a/anda/langs/python/jupyter-sphinx/anda.hcl b/anda/langs/python/jupyter-sphinx/anda.hcl new file mode 100644 index 0000000000..eeafa241cf --- /dev/null +++ b/anda/langs/python/jupyter-sphinx/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "python-jupyter-sphinx.spec" + } + labels { + subrepo = "extras" + } +} diff --git a/anda/langs/python/jupyter-sphinx/python-jupyter-sphinx.spec b/anda/langs/python/jupyter-sphinx/python-jupyter-sphinx.spec new file mode 100644 index 0000000000..8f95d36062 --- /dev/null +++ b/anda/langs/python/jupyter-sphinx/python-jupyter-sphinx.spec @@ -0,0 +1,103 @@ +## Taken from Fedora, but updated because this project isn't actually abandoned + +%global giturl https://github.com/jupyter/jupyter-sphinx + +# Tests fail in Anda due to an expected /tmp file not existing there? +%bcond test 0 + +Name: python-jupyter-sphinx +Version: 0.5.3 +Release: 1%{?dist} +Summary: Jupyter Sphinx extensions +License: BSD-3-Clause +URL: https://jupyter-sphinx.readthedocs.io/ +VCS: git:%{giturl}.git +Source0: %{giturl}/archive/v%{version}/jupyter-sphinx-%{version}.tar.gz +BuildRequires: make +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3dist(bash-kernel) +BuildRequires: python3dist(hatchling) +BuildRequires: python3dist(ipykernel) +BuildRequires: python3dist(ipywidgets) +BuildRequires: python3dist(ipython) +BuildRequires: python3dist(matplotlib) +BuildRequires: python3dist(nbconvert) +BuildRequires: python3dist(nbformat) +BuildRequires: python3dist(numpy) +BuildRequires: python3dist(pip) +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(sphinx) +# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval +ExcludeArch: %{ix86} +BuildArch: noarch +Packager: Gilver E. + +%global _desc %{expand: +Jupyter-Sphinx enables running code embedded in Sphinx documentation and +embedding output of that code into the resulting document. It has +support for rich output such as images and even Jupyter interactive +widgets.} + +%description %_desc + +%package -n python3-jupyter-sphinx +Summary: %{summary} + +%description -n python3-jupyter-sphinx %_desc + +%package doc +# The content is BSD-3-Clause. Other licenses are due to files copied in by +# Sphinx. +# _static/_sphinx_javascript_frameworks_compat.js: BSD-2-Clause +# _static/alabaster.css: BSD-3-Clause +# _static/basic.css: BSD-2-Clause +# _static/custom.css: BSD-3-Clause +# _static/doctools.js: BSD-2-Clause +# _static/documentation_options.js: BSD-2-Clause +# _static/file.png: BSD-2-Clause +# _static/jquery*.js: MIT +# _static/js: MIT +# _static/language_data.js: BSD-2-Clause +# _static/minus.png: BSD-2-Clause +# _static/plus.png: BSD-2-Clause +# _static/searchtools.js: BSD-2-Clause +# _static/underscore*.js: MIT +# genindex.html: BSD-2-Clause +# search.html: BSD-2-Clause +# searchindex.js: BSD-2-Clause +License: BSD-3-Clause AND BSD-2-Clause AND MIT +Summary: Documentation for %{name} + +%description doc +Documentation for %{name}. + +%prep +%autosetup -n jupyter-sphinx-%{version} -p1 + +%build +%pyproject_wheel + +# Build the documentation +PYTHONPATH=$PWD make -C doc html +rm doc/build/html/.buildinfo + +%install +%pyproject_install +%pyproject_save_files jupyter_sphinx + +%if %{with test} +%check +export JUPYTER_PLATFORM_DIRS=1 +%pytest +%endif + +%files -n python3-jupyter-sphinx -f %{pyproject_files} +%doc README.md + +%files doc +%doc doc/build/html + +%changelog +* Mon May 26 2025 Gilver E. - 0.5.3-1 +- Initial port from Fedora diff --git a/anda/langs/python/jupyter-sphinx/update.rhai b/anda/langs/python/jupyter-sphinx/update.rhai new file mode 100644 index 0000000000..2c1c56139a --- /dev/null +++ b/anda/langs/python/jupyter-sphinx/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("jupyter-sphinx")); diff --git a/anda/langs/python/materialyoucolor/anda.hcl b/anda/langs/python/materialyoucolor/anda.hcl new file mode 100644 index 0000000000..3e4457e184 --- /dev/null +++ b/anda/langs/python/materialyoucolor/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "python-materialyoucolor.spec" + } +} diff --git a/anda/langs/python/materialyoucolor/python-materialyoucolor.spec b/anda/langs/python/materialyoucolor/python-materialyoucolor.spec new file mode 100644 index 0000000000..cccdaeafe5 --- /dev/null +++ b/anda/langs/python/materialyoucolor/python-materialyoucolor.spec @@ -0,0 +1,70 @@ +%global pypi_name materialyoucolor +%bcond test 0 + +Name: python-%{pypi_name} +Version: 2.0.10 +Release: 1%{?dist} +Summary: Material You color generation algorithms in pure python! +License: MIT +URL: https://github.com/T-Dynamos/materialyoucolor-python +Source0: %{pypi_source} +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3dist(pillow) +BuildRequires: python3dist(pip) +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(rich) +BuildRequires: python3dist(setuptools) +Packager: Gilver E. + +%description +Material You color generation algorithms in Python. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +Material You color generation algorithms in Python. + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%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 +%endif + +# Test image isn't included and I'm not supplying one +%if %{with test} +%check +%pytest test_image.jpg 1 +%endif + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{python3_sitearch}/%{pypi_name}/ +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitearch}/%{pypi_name}-%{version}.dist-info/ +%endif + + +%changelog +* Wed May 28 2025 Gilver E. - 2.0.10-1 +- Initial package. diff --git a/anda/langs/python/materialyoucolor/update.rhai b/anda/langs/python/materialyoucolor/update.rhai new file mode 100644 index 0000000000..b258c2de3d --- /dev/null +++ b/anda/langs/python/materialyoucolor/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("materialyoucolor")); diff --git a/anda/langs/python/pillow-heif/python3-pillow-heif.spec b/anda/langs/python/pillow-heif/python3-pillow-heif.spec index 758f8e1cbd..d98d82d95c 100644 --- a/anda/langs/python/pillow-heif/python3-pillow-heif.spec +++ b/anda/langs/python/pillow-heif/python3-pillow-heif.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 0.22.0 -Release: 1%?dist +Release: 2%?dist Summary: Python library for working with HEIF images and plugin for Pillow License: BSD-3-Clause @@ -22,6 +22,7 @@ BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-pillow-devel BuildRequires: libheif-devel +BuildRequires: python%{python3_pkgversion}dist(pip) %if %{with doc} BuildRequires: make BuildRequires: python%{python3_pkgversion}-sphinx @@ -72,7 +73,11 @@ Documentation for %{srcname}. %build # Native build +%if 0%{?fedora} <= 41 || 0%{?rhel} %py3_build +%else +%pyproject_wheel +%endif # Doc build %if %{with doc} @@ -83,7 +88,11 @@ rm -f docs/_build_py3/html/.buildinfo %install # Native build +%if 0%{?fedora} <= 41 || 0%{?rhel} %py3_install +%else +%pyproject_install +%endif %check # Check Python 3 modules @@ -97,7 +106,11 @@ popd %doc README.md CHANGELOG.md %license LICENSE.txt %{python3_sitearch}/pillow_heif/ +%if 0%{?fedora} <= 41 || 0%{?rhel} %{python3_sitearch}/pillow_heif-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitearch}/pillow_heif-%{version}.dist-info/ +%endif %{python3_sitearch}/_pillow_heif.*.so %files -n python%{python3_pkgversion}-%{srcname}-devel diff --git a/anda/langs/python/protobuf/python3-protobuf.spec b/anda/langs/python/protobuf/python3-protobuf.spec index 1eee2bc017..2682afec07 100644 --- a/anda/langs/python/protobuf/python3-protobuf.spec +++ b/anda/langs/python/protobuf/python3-protobuf.spec @@ -2,7 +2,7 @@ %global pypi_name protobuf Name: python-%{pypi_name} -Version: 6.31.0 +Version: 6.31.1 Release: 1%?dist Summary: Protocol Buffers @@ -11,6 +11,7 @@ URL: https://developers.google.com/protocol-buffers/ Source0: %{pypi_source} BuildRequires: python3-devel gcc +BuildRequires: python3dist(pip) BuildRequires: python3dist(setuptools) %description @@ -30,15 +31,27 @@ Protocol Buffers are Google's data interchange format rm -rf %{pypi_name}.egg-info %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 +%endif %files -n python3-%{pypi_name} %doc README.md -%{python3_sitearch}/google -%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info +%{python3_sitearch}/google/ +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitearch}/%{pypi_name}-%{version}.dist-info/ +%endif %changelog * Sun Feb 19 2023 windowsboy111 - 4.22.0-1 diff --git a/anda/langs/python/pywal16/anda.hcl b/anda/langs/python/pywal16/anda.hcl new file mode 100644 index 0000000000..f98544e892 --- /dev/null +++ b/anda/langs/python/pywal16/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "python-pywal16.spec" + } +} diff --git a/anda/langs/python/pywal16/python-pywal16.spec b/anda/langs/python/pywal16/python-pywal16.spec new file mode 100644 index 0000000000..11a9c384f7 --- /dev/null +++ b/anda/langs/python/pywal16/python-pywal16.spec @@ -0,0 +1,83 @@ +%global pypi_name pywal16 +%global _description %{expand: +Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs.} + +Name: python-%{pypi_name} +Version: 3.8.6 +Release: 1%{?dist} +Summary: 16 color fork of the original Pywal +License: MIT +URL: https://github.com/eylles/pywal16 +Source0: %{pypi_source} +BuildRequires: ImageMagick +BuildRequires: pyproject-rpm-macros +BuildRequires: python3-devel +BuildRequires: python3dist(colorama) +BuildRequires: python3dist(colorthief) +BuildRequires: python3dist(colorz) +BuildRequires: python3dist(fast-colorthief) +BuildRequires: python3dist(haishoku) +BuildRequires: python3dist(modern-colorthief) +BuildRequires: python3dist(pip) +BuildRequires: python3dist(pytest) +BuildRequires: python3dist(setuptools) +Obsoletes: python3-pywal < 3.5.0-1 +BuildArch: noarch +Packager: Gilver E. + +%description +This project is a 16 colors fork of Pywal. + +%package -n python3-%{pypi_name} +Summary: %{summary} +Requires: ImageMagick +Requires: python3dist(colorz) +Requires: python3dist(haishoku) +Requires: (python3dist(modern-colorthief) or python3dist(fast-colorthief) or python3dist(colorthief)) +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + +%prep +%autosetup -n %{pypi_name}-%{version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%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 +%endif + +install -Dm644 data/man/man1/wal.1 -t %{buildroot}%{_mandir}/man1 + +# For some reason this is where the project tries to install the manpage? +rm -rf %{buildroot}%{_prefix}/man + +%check +%pytest + +%files -n python3-%{pypi_name} +%doc PKG-INFO +%doc README.md +%license LICENSE.md +%{_bindir}/wal +%{_mandir}/man1/wal.1.* +%{python3_sitelib}/pywal/ +%if 0%{?fedora} <= 41 || 0%{?rhel} +%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/ +%else +%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ +%endif + +%changelog +* Wed May 28 2025 Gilver E. - 3.8.6-1 +- Initial package. diff --git a/anda/langs/python/pywal16/update.rhai b/anda/langs/python/pywal16/update.rhai new file mode 100644 index 0000000000..6c50d87f70 --- /dev/null +++ b/anda/langs/python/pywal16/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("pywal16")); diff --git a/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec b/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec index 439dbf8fec..4df803be99 100644 --- a/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec +++ b/anda/langs/python/sphinxcontrib-moderncmakedomain/python-sphinxcontrib-moderncmakedomain.spec @@ -3,6 +3,13 @@ %global pypi_name sphinxcontrib_moderncmakedomain %global real_name sphinxcontrib-moderncmakedomain +# Tests fail on EL even with Pytest due to the package versions +%if 0%{?rhel} +%bcond test 0 +%else +%bcond test 1 +%endif + Name: python-%{real_name} Version: 3.29.0 Release: 2%{?dist} @@ -45,10 +52,8 @@ Modern CMake domain entries, originally from Kitware. %install %pyproject_install +%if %{with test} %check -%if 0%{?rhel} -%pytest tests/*.py -%else nox -s tests %endif @@ -57,7 +62,7 @@ nox -s tests %doc README.md %license LICENSE %{python3_sitelib}/sphinxcontrib/moderncmakedomain -%{python3_sitelib}/%{pypi_name}-%{version}.dist-info +%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/ %changelog * Sat May 10 2025 Gilver E. - 3.29.0-1 diff --git a/anda/langs/rust/joshuto/rust-joshuto.spec b/anda/langs/rust/joshuto/rust-joshuto.spec index d641620486..dadba92643 100644 --- a/anda/langs/rust/joshuto/rust-joshuto.spec +++ b/anda/langs/rust/joshuto/rust-joshuto.spec @@ -2,9 +2,10 @@ %bcond_without check %global crate joshuto +%global __brp_mangle_shebangs %{nil} Name: rust-joshuto -Version: 0.9.7 +Version: 0.9.9 Release: 1%?dist Summary: Terminal file manager inspired by ranger diff --git a/anda/langs/rust/pbpctrl/anda.hcl b/anda/langs/rust/pbpctrl/anda.hcl new file mode 100644 index 0000000000..ada11b625e --- /dev/null +++ b/anda/langs/rust/pbpctrl/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "pbpctrl.spec" + } + labels { + weekly = 4 + } +} diff --git a/anda/langs/rust/pbpctrl/pbpctrl.spec b/anda/langs/rust/pbpctrl/pbpctrl.spec new file mode 100644 index 0000000000..033e86e380 --- /dev/null +++ b/anda/langs/rust/pbpctrl/pbpctrl.spec @@ -0,0 +1,44 @@ +# Generated by rust2rpm 27 +%bcond check 0 + +Name: pbpctrl +Version: 0.1.8 +Release: %autorelease +Summary: Command-line utility for controlling Google Pixel Buds Pro + +SourceLicense: MIT OR Apache-2.0 +License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-3-Clause OR MIT OR Apache-2.0) AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) +# LICENSE.dependencies contains a full license breakdown + +URL: https://github.com/qzed/pbpctrl +Source: %url/archive/refs/tags/v%version.tar.gz +Packager: madonuko + +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: pkgconfig(dbus-1) +BuildRequires: protobuf-compiler +BuildRequires: protobuf-devel + +%global _description %{expand: +Command-line utility for controlling Google Pixel Buds Pro.} + +%description %{_description} + +%prep +%autosetup -n pbpctrl-%{version} -p1 +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies +%{cargo_build} -p pbpctrl + +%install +install -Dm755 target/rpm/pbpctrl -t %buildroot%_bindir + +%files +%license LICENSE-APACHE +%license LICENSE-MIT +%license LICENSE.dependencies +%doc README.md +%{_bindir}/pbpctrl diff --git a/anda/langs/rust/pbpctrl/update.rhai b/anda/langs/rust/pbpctrl/update.rhai new file mode 100644 index 0000000000..5fdd1faec5 --- /dev/null +++ b/anda/langs/rust/pbpctrl/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("qzed/pbpctrl")); diff --git a/anda/langs/rust/typst/anda.hcl b/anda/langs/rust/typst/anda.hcl new file mode 100644 index 0000000000..def2098125 --- /dev/null +++ b/anda/langs/rust/typst/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-typst.spec" + } +} diff --git a/anda/langs/rust/typst/rust-typst.spec b/anda/langs/rust/typst/rust-typst.spec new file mode 100644 index 0000000000..d6b435d967 --- /dev/null +++ b/anda/langs/rust/typst/rust-typst.spec @@ -0,0 +1,114 @@ +# Generated by rust2rpm 27 +%bcond check 0 + +%global crate typst + +Name: rust-typst +Version: 0.13.1 +Release: %autorelease +Summary: New markup-based typesetting system that is powerful and easy to learn + +License: Apache-2.0 +URL: https://typst.app +Source: https://github.com/typst/typst/archive/refs/tags/v%version.tar.gz +Packager: madonuko + +BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 +BuildRequires: pkgconfig(openssl) + +%global _description %{expand: +A new markup-based typesetting system that is powerful and easy to +learn.} + +%description %{_description} + +%package -n %crate +Summary: %{summary} +License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND 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 BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT AND (MIT OR Apache-2.0)) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR CC0-1.0) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) +Provides: %crate-cli = %version-%release + +%description -n %crate %{_description} + +%files -n %crate +%license LICENSE +%license LICENSE.dependencies +%doc README.md +%_bindir/typst +%_mandir/man1/typst-compile.1.gz +%_mandir/man1/typst-fonts.1.gz +%_mandir/man1/typst-init.1.gz +%_mandir/man1/typst-query.1.gz +%_mandir/man1/typst-update.1.gz +%_mandir/man1/typst-watch.1.gz +%_mandir/man1/typst.1.gz + + +%package bash-completion +Summary: Bash completion for %{crate} +Requires: %{crate} = %{version}-%{release} +Requires: bash-completion +Supplements: (%{crate} and bash-completion) + +%description bash-completion +Bash command line completion support for %{crate}. + +%package fish-completion +Summary: Fish completion for %{crate} +Requires: %{crate} = %{version}-%{release} +Requires: fish +Supplements: (%{crate} and fish) + +%description fish-completion +Fish command line completion support for %{crate}. + +%package zsh-completion +Summary: Zsh completion for %{crate} +Requires: %{crate} = %{version}-%{release} +Requires: zsh +Supplements: (%{crate} and zsh) + +%description zsh-completion +Zsh command line completion support for %{crate}. + + +%files bash-completion +%{bash_completions_dir}/%{crate} + +%files fish-completion +%{fish_completions_dir}/%{crate}.fish + +%files zsh-completion +%{zsh_completions_dir}/_%{crate} + + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep_online +pushd crates/%{crate}-cli +%cargo_prep_online +popd + +%build +pushd crates/%{crate}-cli +%{cargo_license_summary_online} +%{cargo_license_online} > ../../LICENSE.dependencies +popd +export TYPST_VERSION="%version" +export GEN_ARTIFACTS=artifacts/ +export OPENSSL_NO_VENDOR=true +%{cargo_build} -p typst-cli + +%install +#? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=typst-git#n60 +_artifacts='crates/typst-cli/artifacts' +install -Dm755 -t %buildroot%_bindir target/rpm/%crate +install -Dm644 -t %buildroot%_mandir/man1 $_artifacts/%{crate}*.1 +install -Dm644 -t %buildroot%zsh_completions_dir $_artifacts/_%crate +install -Dm644 -t %buildroot%fish_completions_dir $_artifacts/%crate.fish +# no .bash suffix +install -Dm644 $_artifacts/%crate.bash %buildroot%bash_completions_dir/%crate + +%if %{with check} +%check +%cargo_test +%endif diff --git a/anda/langs/rust/typst/update.rhai b/anda/langs/rust/typst/update.rhai new file mode 100644 index 0000000000..be8c5fed1d --- /dev/null +++ b/anda/langs/rust/typst/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("typst")); diff --git a/anda/langs/rust/usage/anda.hcl b/anda/langs/rust/usage/anda.hcl new file mode 100644 index 0000000000..30b76ddd07 --- /dev/null +++ b/anda/langs/rust/usage/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rust-usage-cli.spec" + } +} diff --git a/anda/langs/rust/usage/rust-usage-cli.spec b/anda/langs/rust/usage/rust-usage-cli.spec new file mode 100644 index 0000000000..e9bfe17d65 --- /dev/null +++ b/anda/langs/rust/usage/rust-usage-cli.spec @@ -0,0 +1,77 @@ +# Generated by rust2rpm 27 +%bcond check 1 + +%global crate usage-cli + +Name: rust-usage-cli +Version: 2.1.1 +Release: %autorelease +Summary: CLI for working with usage-based CLIs + +License: MIT +URL: https://crates.io/crates/usage-cli +Source: %{crates_source} +Source1: https://raw.githubusercontent.com/jdx/usage/refs/tags/v%version/LICENSE +Packager: madonuko + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +CLI for working with usage-based CLIs.} + +%description %{_description} + +%package -n %{crate} +Summary: %{summary} +License: (0BSD OR MIT OR Apache-2.0) AND 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 (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) +# LICENSE.dependencies contains a full license breakdown +Provides: usage = %version-%release + +%description -n %{crate} %{_description} + +%files -n %{crate} +%license LICENSE +%license LICENSE.dependencies +%{_bindir}/usage + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license LICENSE +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +cp %{S:1} . +%cargo_prep_online + +%build +%{cargo_license_summary_online} +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif diff --git a/anda/langs/rust/usage/update.rhai b/anda/langs/rust/usage/update.rhai new file mode 100644 index 0000000000..5b57173e1a --- /dev/null +++ b/anda/langs/rust/usage/update.rhai @@ -0,0 +1 @@ +rpm.version(crates("usage-cli")); diff --git a/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec b/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec index 0886763050..e08cc4438c 100644 --- a/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec +++ b/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec @@ -1,5 +1,5 @@ Name: xwayland-satellite -Version: 0.5.1 +Version: 0.6 Release: 1%?dist Summary: Xwayland outside your Wayland. License: MPL-2.0 diff --git a/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch b/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch new file mode 100644 index 0000000000..f2e22e1bf0 --- /dev/null +++ b/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch @@ -0,0 +1,11 @@ +--- a/build.zig 2025-05-21 00:23:29.485933582 -0500 ++++ b/build.zig 2025-05-21 00:25:06.001631897 -0500 +@@ -690,7 +690,7 @@ + fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile { + const exe = b.addExecutable(.{ + .name = "zig", +- .max_rss = 7_800_000_000, ++ .max_rss = 10_000_000_000, + .root_module = addCompilerMod(b, options), + }); + exe.stack_size = stack_size; 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-9G.patch deleted file mode 100644 index 2101ac8a2d..0000000000 --- a/anda/langs/zig/bootstrap/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/build.zig 2025-04-23 22:33:17.801652844 -0500 -+++ b/build.zig 2025-04-23 22:34:14.127282140 -0500 -@@ -679,7 +679,7 @@ - - const exe = b.addExecutable(.{ - .name = "zig", -- .max_rss = 7_800_000_000, -+ .max_rss = 9_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 dcb73fe418..5e88de2906 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.551+518105471 +%global ver 0.15.0-dev.649+e28b4027e %bcond bootstrap 1 %bcond docs %{without bootstrap} %bcond test 1 @@ -46,8 +46,9 @@ 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 +Patch3: https://src.fedoraproject.org/rpms/zig/raw/rawhide/f/0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ @@ -61,14 +62,12 @@ BuildRequires: help2man # for signature verification BuildRequires: minisign %if %{without bootstrap} -BuildRequires: %{name} <= %{version} +BuildRequires: %{name} = %{version} %endif %if %{with test} BuildRequires: elfutils-libelf-devel BuildRequires: libstdc++-static %endif -# Zig invokes the C compiler to figure out system info -Requires: gcc Requires: %{name}-libs = %{version} # Apache-2.0 WITH LLVM-exception OR NCSA OR MIT Provides: bundled(compiler-rt) = %{llvm_version} diff --git a/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch b/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch new file mode 100644 index 0000000000..f2e22e1bf0 --- /dev/null +++ b/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-10G.patch @@ -0,0 +1,11 @@ +--- a/build.zig 2025-05-21 00:23:29.485933582 -0500 ++++ b/build.zig 2025-05-21 00:25:06.001631897 -0500 +@@ -690,7 +690,7 @@ + fn addCompilerStep(b: *std.Build, options: AddCompilerModOptions) *std.Build.Step.Compile { + const exe = b.addExecutable(.{ + .name = "zig", +- .max_rss = 7_800_000_000, ++ .max_rss = 10_000_000_000, + .root_module = addCompilerMod(b, options), + }); + exe.stack_size = stack_size; 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-9G.patch deleted file mode 100644 index 2101ac8a2d..0000000000 --- a/anda/langs/zig/master/0001-increase-upper-bounds-of-main-zig-executable-to-9G.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/build.zig 2025-04-23 22:33:17.801652844 -0500 -+++ b/build.zig 2025-04-23 22:34:14.127282140 -0500 -@@ -679,7 +679,7 @@ - - const exe = b.addExecutable(.{ - .name = "zig", -- .max_rss = 7_800_000_000, -+ .max_rss = 9_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 c19174e01e..2fcce50e9f 100644 --- a/anda/langs/zig/master/zig-master.spec +++ b/anda/langs/zig/master/zig-master.spec @@ -7,47 +7,23 @@ %define llvm_compat 20 %endif %global llvm_version 20.0.0 -%global ver 0.15.0-dev.483+837e0f9c3 %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.483+837e0f9c3 -Release: 1%?dist +Version: 0.15.0~dev.646+ef35c3d5f +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 +Patch3: https://src.fedoraproject.org/rpms/zig/raw/rawhide/f/0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ @@ -67,8 +43,8 @@ BuildRequires: %{name}-bootstrap = %{version} BuildRequires: elfutils-libelf-devel BuildRequires: libstdc++-static %endif -# Zig invokes the C compiler to figure out system info -Requires: gcc +# For the version_no_tilde macro +BuildRequires: rust-srpm-macros Requires: %{name}-libs = %{version} # Apache-2.0 WITH LLVM-exception OR NCSA OR MIT Provides: bundled(compiler-rt) = %{llvm_version} @@ -90,6 +66,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 +119,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 +143,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 +165,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." diff --git a/anda/lib/astal/astal-gtk/astal-gtk.spec b/anda/lib/astal/astal-gtk/astal-gtk.spec index 38d0291eb6..f984eaac57 100644 --- a/anda/lib/astal/astal-gtk/astal-gtk.spec +++ b/anda/lib/astal/astal-gtk/astal-gtk.spec @@ -1,6 +1,6 @@ -%global commit 4820a3e +%global commit c1bd89a %global shortcommit %{sub %commit 1 7} -%global commit_date 20250513 +%global commit_date 20250529 Name: astal Version: 0^%commit_date.%shortcommit diff --git a/anda/lib/astal/astal/astal.spec b/anda/lib/astal/astal/astal.spec index 92f1e7d74a..9c57f43c86 100644 --- a/anda/lib/astal/astal/astal.spec +++ b/anda/lib/astal/astal/astal.spec @@ -1,7 +1,7 @@ -%global commit 4820a3e37cc8eb81db6ed991528fb23472a8e4de +%global commit c1bd89a47c81c66ab5fc6872db5a916c0433fb89 %global shortcommit %{sub %commit 1 7} -%global commit_date 20250513 +%global commit_date 20250529 Name: astal Version: 0^%commit_date.%shortcommit diff --git a/anda/lib/ipu6-camera-bins/ipu6-camera-bins.spec b/anda/lib/ipu6-camera-bins/ipu6-camera-bins.spec index 7c4597310b..d166633d46 100644 --- a/anda/lib/ipu6-camera-bins/ipu6-camera-bins.spec +++ b/anda/lib/ipu6-camera-bins/ipu6-camera-bins.spec @@ -1,13 +1,13 @@ %global debug_package %{nil} -%global commit 3c1cdd3e634bb4668a900d75efd4d6292b8c7d1d -%global commit_date 20241127 +%global commit eff4a63c32b3ce4ac86d521d924b9973bbec8b99 +%global commit_date 20250521 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global ver 1.0.1 +%global ver 1.0.0 Name: ipu6-camera-bins Summary: Libraries for Intel IPU6 Version: %{ver}^%{commit_date}git.%{shortcommit} -Release: 3%?dist +Release: 1%?dist %if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 Epoch: 1 %endif diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index a1411605a7..c4b4cdda18 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,4 +1,4 @@ -%global ver 1.8.25 +%global ver 1.8.29 %global sanitized_ver %(echo %{ver} | sed -E 's/-/~/g') Summary: The Application Framework for tauOS apps Name: libhelium diff --git a/anda/lib/lovely-injector/anda.hcl b/anda/lib/lovely-injector/anda.hcl new file mode 100644 index 0000000000..68e56cfd6c --- /dev/null +++ b/anda/lib/lovely-injector/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + rpm { + spec = "lovely-injector.spec" + } + # arches = ["x86_64"] +} diff --git a/anda/lib/lovely-injector/lovely-injector.spec b/anda/lib/lovely-injector/lovely-injector.spec new file mode 100644 index 0000000000..a5e3e6761e --- /dev/null +++ b/anda/lib/lovely-injector/lovely-injector.spec @@ -0,0 +1,77 @@ +# Generated by rust2rpm 27 +%bcond check 1 +%bcond rust_nightly 1 +%global debug_package %{nil} +%if %{with rust_nightly} +%define __cargo /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 RUSTFLAGS='%{build_rustflags}' $HOME/.cargo/bin/cargo +%define __rustc $HOME/.cargo/bin/rustc +%define __rustdoc $HOME/.cargo/bin/rustdoc +%endif + +# todo: update for 0.8 because dobby-sys is now a submodule +# I'm going to git clone the repo to prepare for 0.8 + +Name: lovely-injector +Version: 0.7.1 +Release: 1%?dist +Summary: A runtime lua injector for games built with LÖVE + +License: MIT +# LICENSE.dependencies contains a full license breakdown + +URL: https://github.com/ethangreen-dev/lovely-injector +Requires: love +Packager: Cappy Ishihara + +BuildRequires: mold anda-srpm-macros cargo-rpm-macros >= 24 +%if %{with rust_nightly} +BuildRequires: rustup +%endif + +%global _description %{expand: +%{summary}.} + +%description %{_description} + +%prep +rm -rf * +%git_clone %{url} v%{version} + +%if %{with rust_nightly} +rustup-init -y +. "$HOME/.cargo/env" +rustup toolchain install nightly +rustup override set nightly +%endif +%cargo_prep_online + + +%build +%{cargo_license_online} > LICENSE.dependencies +pushd crates/lovely-unix +%cargo_build +popd + +%install +# install library +install -Dm 644 target/rpm/liblovely.so %{buildroot}%{_libdir}/liblovely.so + +%if %{with check} +%check +pushd crates/lovely-unix +%cargo_test +popd +%endif + +%files +%license LICENSE.md +# Only include dobby-sys license for versions >= 0.8 +# Manually uncomment the next line when updating to 0.8 or later +# %license crates/dobby-sys/LICENSE +%license LICENSE.dependencies +%{_libdir}/liblovely.so +%doc README.md + +%changelog +* Mon May 26 2025 Cappy Ishihara - 0.7.1-1 +- Initial package diff --git a/anda/lib/lovely-injector/update.rhai b/anda/lib/lovely-injector/update.rhai new file mode 100644 index 0000000000..67a429e59d --- /dev/null +++ b/anda/lib/lovely-injector/update.rhai @@ -0,0 +1 @@ +rpm.global("ver",gh("ethangreen-dev/lovely-injector")); 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: -