From d297a347571441ba4a1f5d2e165261a3e5c1b671 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Thu, 27 Jun 2024 15:50:56 +0000 Subject: [PATCH 01/25] bump: ruff --- anda/langs/python/ruff/python3-ruff.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/langs/python/ruff/python3-ruff.spec b/anda/langs/python/ruff/python3-ruff.spec index b6541c1bf7..2d5969d30d 100644 --- a/anda/langs/python/ruff/python3-ruff.spec +++ b/anda/langs/python/ruff/python3-ruff.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: python3-ruff -Version: 0.4.10 +Version: 0.5.0 Release: 1%?dist Summary: An extremely fast Python linter, written in Rust License: MIT From 9d4651a8970322d5a4c2366b1e2e91790ca5514e Mon Sep 17 00:00:00 2001 From: Raboneko Date: Thu, 27 Jun 2024 17:17:37 +0000 Subject: [PATCH 02/25] bump: tau-helium --- anda/themes/tau-helium/tau-helium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/themes/tau-helium/tau-helium.spec b/anda/themes/tau-helium/tau-helium.spec index f237677c40..d3b193c8de 100644 --- a/anda/themes/tau-helium/tau-helium.spec +++ b/anda/themes/tau-helium/tau-helium.spec @@ -1,4 +1,4 @@ -%global ver 1.8.10-10 +%global ver 1.8.10-11 Summary: tauOS GTK/GNOME Shell Themes Name: tau-helium From 9869943744122cbc05a1ad769aa5dc7f6f5e0253 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Thu, 27 Jun 2024 17:45:45 +0000 Subject: [PATCH 03/25] bump: discord-ptb-openasar discord-ptb --- anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec | 2 +- anda/apps/discord-ptb/discord-ptb.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec index 474f868aff..a037d5af42 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.91 +Version: 0.0.92 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 8b10b74f1f..10f1b34aa7 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.91 +Version: 0.0.92 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers. URL: https://discord.com From ffe17ec04bbe338cebba09a378121cf8cb10aa0b Mon Sep 17 00:00:00 2001 From: Raboneko Date: Fri, 28 Jun 2024 06:31:05 +0000 Subject: [PATCH 04/25] bump: limine sops --- anda/system/limine/limine.spec | 2 +- anda/tools/sops/sops.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/anda/system/limine/limine.spec b/anda/system/limine/limine.spec index 95029d48b5..522f1d3d7c 100644 --- a/anda/system/limine/limine.spec +++ b/anda/system/limine/limine.spec @@ -1,5 +1,5 @@ Name: limine -Version: 7.8.0 +Version: 7.9.0 Release: 1%?dist Summary: Modern, advanced, portable, multiprotocol bootloader License: BSD-2-Clause diff --git a/anda/tools/sops/sops.spec b/anda/tools/sops/sops.spec index 2b5408953d..a7d01ac821 100644 --- a/anda/tools/sops/sops.spec +++ b/anda/tools/sops/sops.spec @@ -1,7 +1,7 @@ %define debug_package %nil Name: sops -Version: 3.8.1 -Release: 1%{?dist} +Version: 3.9.0 +Release: 1%?dist Summary: Simple and flexible tool for managing secrets License: MPL-2.0 URL: https://github.com/getsops/sops From 8d057dc352f98804a05ba1bee1f733b70091d149 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Fri, 28 Jun 2024 18:19:38 +0000 Subject: [PATCH 05/25] bump: libhelium --- anda/lib/libhelium/libhelium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 4cf0dea68b..f39f1aef78 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,6 +1,6 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.8.11.1 +Version: 1.8.11.2 Release: 1%?dist License: GPL-3.0 URL: https://github.com/tau-OS/libhelium From d2b9803c4eec33e1fab4e55b0a5bd046e506313f Mon Sep 17 00:00:00 2001 From: Raboneko Date: Fri, 28 Jun 2024 19:12:08 +0000 Subject: [PATCH 06/25] bump: rgbds --- anda/devs/rgbds/terra-rgbds.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/devs/rgbds/terra-rgbds.spec b/anda/devs/rgbds/terra-rgbds.spec index 1358ce7b15..cea227b557 100644 --- a/anda/devs/rgbds/terra-rgbds.spec +++ b/anda/devs/rgbds/terra-rgbds.spec @@ -1,6 +1,6 @@ Name: terra-rgbds -Version: 0.7.0 -Release: 1%{?dist} +Version: 0.8.0 +Release: 1%?dist Summary: A development package for the Game Boy, including an assembler # See LICENSE for details From 36840c41a9af66c1ee7c8f84f2538c7b56c84db3 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Fri, 28 Jun 2024 14:12:53 -0700 Subject: [PATCH 07/25] add zed-preview (#1397) (#1402) * todo: update.rhai script * make update.rhai for preview Co-authored-by: madomado * not nightly --------- Co-authored-by: madomado (cherry picked from commit 5872dcddc1dd38999aa0a2f6cc20e77406dfa676) Co-authored-by: june <159748074+june-fish@users.noreply.github.com> --- anda/devs/zed/preview/anda.hcl | 8 +++ anda/devs/zed/preview/update.rhai | 10 +++ anda/devs/zed/preview/zed-preview.spec | 91 ++++++++++++++++++++++++++ 3 files changed, 109 insertions(+) create mode 100644 anda/devs/zed/preview/anda.hcl create mode 100644 anda/devs/zed/preview/update.rhai create mode 100644 anda/devs/zed/preview/zed-preview.spec diff --git a/anda/devs/zed/preview/anda.hcl b/anda/devs/zed/preview/anda.hcl new file mode 100644 index 0000000000..4f9b04a0c5 --- /dev/null +++ b/anda/devs/zed/preview/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "zed-preview.spec" + } + labels { + large = 1 + } +} diff --git a/anda/devs/zed/preview/update.rhai b/anda/devs/zed/preview/update.rhai new file mode 100644 index 0000000000..135a06de91 --- /dev/null +++ b/anda/devs/zed/preview/update.rhai @@ -0,0 +1,10 @@ +let releases = "https://api.github.com/repos/zed-industries/zed/releases".get().json_arr(); +for release in releases { + if !release.prerelease { + continue; + } + let tag = release.tag_name; + tag.pop(4); // remove the "-pre" suffix + rpm.global("ver", tag); + terminate(); +} diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec new file mode 100644 index 0000000000..10973e4736 --- /dev/null +++ b/anda/devs/zed/preview/zed-preview.spec @@ -0,0 +1,91 @@ +%bcond_without check +%global debug_package %{nil} +%global ver 0.142.1 + +%global crate zed +%global app_id dev.zed.Zed-Preview + +Name: zed-preview +Version: %ver +Release: pre1%?dist +Summary: Zed is a high-performance, multiplayer code editor + +License: MIT +URL: https://zed.dev/ +Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{ver}-pre.tar.gz + +Conflicts: zed +Provides: zed + +BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: anda-srpm-macros +BuildRequires: gcc +BuildRequires: g++ +BuildRequires: clang +BuildRequires: mold +BuildRequires: alsa-lib-devel +BuildRequires: fontconfig-devel +BuildRequires: wayland-devel +BuildRequires: libxkbcommon-x11-devel +BuildRequires: openssl-devel +BuildRequires: libzstd-devel +BuildRequires: perl-FindBin +BuildRequires: perl-IPC-Cmd +BuildRequires: perl-File-Compare +BuildRequires: perl-File-Copy +BuildRequires: perl-lib +BuildRequires: vulkan-loader + +%description +Code at the speed of thought - Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. + +%prep +%autosetup -n %{crate}-%{ver}-pre -p1 +%cargo_prep_online + +export DO_STARTUP_NOTIFY="true" +export APP_ID="%app_id" +export APP_ICON="%app_id" +export APP_NAME="Zed Preview" +export APP_CLI="zed" +export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra." +export ZED_RELEASE_CHANNEL=preview +export BRANDING_LIGHT="#99c1f1" +export BRANDING_DARK="#1a5fb4" + +echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in +envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52 + +envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml + +%build +export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra." +echo "preview" > crates/zed/RELEASE_CHANNEL + +%cargo_build -- --package zed --package cli +script/generate-licenses + +%install +install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor +install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed + +install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop +install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png + +install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml + +%if %{with check} +%check +%cargo_test +%endif + +%files +%{_libexecdir}/zed-editor +%{_bindir}/zed +%{_datadir}/applications/%app_id.desktop +%{_datadir}/pixmaps/%app_id.png +%{_metainfodir}/%app_id.metainfo.xml +%license assets/licenses.md + +%changelog +%autochangelog From f0ce4c2aca97b146e4614ff3b1aa054d10832427 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Fri, 28 Jun 2024 21:36:35 +0000 Subject: [PATCH 08/25] bump: libhelium --- anda/lib/libhelium/libhelium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index f39f1aef78..9fa65e178f 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,6 +1,6 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.8.11.2 +Version: 1.8.11.3 Release: 1%?dist License: GPL-3.0 URL: https://github.com/tau-OS/libhelium From e85e4b81d8243aa8ffa21143b1441cb779bd4fff Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sat, 29 Jun 2024 14:31:12 +0000 Subject: [PATCH 09/25] bump: limine --- anda/system/limine/limine.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/system/limine/limine.spec b/anda/system/limine/limine.spec index 522f1d3d7c..33f329fa6c 100644 --- a/anda/system/limine/limine.spec +++ b/anda/system/limine/limine.spec @@ -1,5 +1,5 @@ Name: limine -Version: 7.9.0 +Version: 7.9.1 Release: 1%?dist Summary: Modern, advanced, portable, multiprotocol bootloader License: BSD-2-Clause From 0999941d68140d6eb2b4d89f7b564bd61882b542 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 30 Jun 2024 02:29:09 +0000 Subject: [PATCH 10/25] bump: osu-lazer --- anda/games/osu-lazer/osu-lazer.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/games/osu-lazer/osu-lazer.spec b/anda/games/osu-lazer/osu-lazer.spec index 36b34cb86b..31ee0d5e3d 100644 --- a/anda/games/osu-lazer/osu-lazer.spec +++ b/anda/games/osu-lazer/osu-lazer.spec @@ -3,7 +3,7 @@ %define __strip /bin/true Name: osu-lazer -Version: 2024.625.2 +Version: 2024.625.3 Release: 1%?dist Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew. ExclusiveArch: x86_64 From 6da2ba636d0d5b30bb39d6670017bd063ff007c5 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 30 Jun 2024 02:50:17 +0000 Subject: [PATCH 11/25] bump: osu-lazer --- anda/games/osu-lazer/osu-lazer.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/games/osu-lazer/osu-lazer.spec b/anda/games/osu-lazer/osu-lazer.spec index 31ee0d5e3d..36b34cb86b 100644 --- a/anda/games/osu-lazer/osu-lazer.spec +++ b/anda/games/osu-lazer/osu-lazer.spec @@ -3,7 +3,7 @@ %define __strip /bin/true Name: osu-lazer -Version: 2024.625.3 +Version: 2024.625.2 Release: 1%?dist Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew. ExclusiveArch: x86_64 From 32aef70c157eceab2ebc8fd3ea00beccaef5ca6b Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 30 Jun 2024 08:31:17 +0000 Subject: [PATCH 12/25] bump: groovy-docs groovy --- anda/langs/groovy/groovy-docs/groovy-docs.spec | 2 +- anda/langs/groovy/groovy.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/langs/groovy/groovy-docs/groovy-docs.spec b/anda/langs/groovy/groovy-docs/groovy-docs.spec index d11409087e..e0ba914930 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.21 +Version: 4.0.22 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 147d3c8757..7009e3e8a5 100644 --- a/anda/langs/groovy/groovy.spec +++ b/anda/langs/groovy/groovy.spec @@ -1,5 +1,5 @@ Name: groovy -Version: 4.0.21 +Version: 4.0.22 Release: 1%?dist Summary: A multi-faceted language for the Java platform BuildArch: noarch From 0ece878b6105d1e97ef9669503aa1d0709703942 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 30 Jun 2024 11:47:01 +0000 Subject: [PATCH 13/25] bump: libhelium --- anda/lib/libhelium/libhelium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 9fa65e178f..cdbe0ba10a 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,6 +1,6 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.8.11.3 +Version: 1.8.11.4 Release: 1%?dist License: GPL-3.0 URL: https://github.com/tau-OS/libhelium From ec0c72e8b0f8d6c69f1491b18af28b43bb153cb7 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 30 Jun 2024 14:49:57 +0000 Subject: [PATCH 14/25] bump: anki-bin anki-qt5 anki --- anda/apps/anki-bin/anki-bin.spec | 2 +- anda/apps/anki-qt5/anki-qt5.spec | 2 +- anda/apps/anki/anki.spec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index 677ef037ce..b440a8f11e 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -1,5 +1,5 @@ Name: anki-bin -Version: 24.06.2 +Version: 24.06.3 Release: 1%?dist Summary: Flashcard program for using space repetition learning (Installed with wheel) 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-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 65f9cbc920..ba360e8da8 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: 24.06.2 +Version: 24.06.3 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 48ab98209d..96fdfbd925 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -1,5 +1,5 @@ Name: anki -Version: 24.06.2 +Version: 24.06.3 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 From 4728e84b51e084389e2515fb7e9543aa434f128e Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 30 Jun 2024 15:21:59 +0000 Subject: [PATCH 15/25] bump: sarasa-gothic --- anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec index 7a949d9cbe..1072f6edea 100644 --- a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec +++ b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec @@ -1,5 +1,5 @@ Name: sarasa-gothic-fonts -Version: 1.0.14 +Version: 1.0.15 Release: 1%?dist URL: https://github.com/be5invis/Sarasa-Gothic Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z From 1aaa5a5ea174429c82a2e3e2bd84f0c025f2a7a0 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Sun, 30 Jun 2024 19:57:58 +0000 Subject: [PATCH 16/25] bump: libhelium --- anda/lib/libhelium/libhelium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index cdbe0ba10a..a5a7ac7bc4 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,6 +1,6 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.8.11.4 +Version: 1.8.11.5 Release: 1%?dist License: GPL-3.0 URL: https://github.com/tau-OS/libhelium From b570b280a2ee3799475cbc125393f8364e637f21 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 30 Jun 2024 16:13:48 -0700 Subject: [PATCH 17/25] fix: gendesk (#1404) (#1405) make this actually provides gendesk Signed-off-by: madomado (cherry picked from commit c5e4f66330769bf3d6650d6089891185820c1d5e) Co-authored-by: madomado --- anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec b/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec index c8792a89e2..3195bd60da 100644 --- a/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec +++ b/anda/langs/go/gendesk/golang-github-xyproto-gendesk.spec @@ -27,6 +27,7 @@ License: BSD-3-Clause URL: %{gourl} Source: %{gosource} BuildRequires: git-core gcc +Provides: gendesk %description %{common_description} From a0a0b73900d994518887d5a735068da5ed09afdf Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 1 Jul 2024 01:23:37 +0000 Subject: [PATCH 18/25] bump: libhelium --- anda/lib/libhelium/libhelium.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index a5a7ac7bc4..6546452a56 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -1,6 +1,6 @@ Summary: The Application Framework for tauOS apps Name: libhelium -Version: 1.8.11.5 +Version: 1.8.12 Release: 1%?dist License: GPL-3.0 URL: https://github.com/tau-OS/libhelium From 6daf4529104af33173ed911f5b91ba1154e3aaea Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 1 Jul 2024 03:46:04 +0000 Subject: [PATCH 19/25] bump: fuc --- anda/tools/fuc/fuc.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/tools/fuc/fuc.spec b/anda/tools/fuc/fuc.spec index 44742bc74c..7ea89be98b 100644 --- a/anda/tools/fuc/fuc.spec +++ b/anda/tools/fuc/fuc.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} Name: fuc -Version: 2.1.0 +Version: 2.2.0 Release: 1%?dist Summary: Modern, performance focused unix commands URL: https://github.com/SUPERCILEX/fuc From b68594c53e4454e4746282954a9f1acdf8267c33 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 1 Jul 2024 18:46:22 +0000 Subject: [PATCH 20/25] bump: discord-canary-openasar discord-canary --- anda/apps/discord-canary-openasar/discord-canary-openasar.spec | 2 +- anda/apps/discord-canary/discord-canary.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index 5043d216b9..1d048c209e 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.438 +Version: 0.0.439 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 717552ea4d..7cdaba14c7 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.438 +Version: 0.0.439 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com From 300cb00180d64e0a46882ca9cafcc325eb33ef5b Mon Sep 17 00:00:00 2001 From: Raboneko Date: Mon, 1 Jul 2024 19:47:25 +0000 Subject: [PATCH 21/25] bump: discord-canary-openasar discord-canary --- anda/apps/discord-canary-openasar/discord-canary-openasar.spec | 2 +- anda/apps/discord-canary/discord-canary.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index 1d048c209e..c4a99cedba 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.439 +Version: 0.0.440 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 7cdaba14c7..df60e630db 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.439 +Version: 0.0.440 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com From 9619b6aa363502a28e0872d37a3101505b2a8b83 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Tue, 2 Jul 2024 01:33:54 +0000 Subject: [PATCH 22/25] bump: discord-canary-openasar discord-canary --- anda/apps/discord-canary-openasar/discord-canary-openasar.spec | 2 +- anda/apps/discord-canary/discord-canary.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index c4a99cedba..28f452052e 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.440 +Version: 0.0.441 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 df60e630db..56b3975a23 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.440 +Version: 0.0.441 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com From 504039aaaa7fe3d6348027420dd082cb85c5fa9c Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 2 Jul 2024 00:10:51 -0700 Subject: [PATCH 23/25] add: python3-pillow-heif (#1408) (#1409) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit ea16041aadd9197391174ff21c4315f5bff520e9) Co-authored-by: Trung Lê <8@tle.id.au> --- anda/langs/python/pillow-heif/anda.hcl | 5 + .../pillow-heif/python3-pillow-heif.spec | 112 ++++++++++++++++++ anda/langs/python/pillow-heif/test.py | 2 + anda/langs/python/pillow-heif/update.rhai | 1 + 4 files changed, 120 insertions(+) create mode 100644 anda/langs/python/pillow-heif/anda.hcl create mode 100644 anda/langs/python/pillow-heif/python3-pillow-heif.spec create mode 100644 anda/langs/python/pillow-heif/test.py create mode 100644 anda/langs/python/pillow-heif/update.rhai diff --git a/anda/langs/python/pillow-heif/anda.hcl b/anda/langs/python/pillow-heif/anda.hcl new file mode 100644 index 0000000000..257479e388 --- /dev/null +++ b/anda/langs/python/pillow-heif/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "python3-pillow-heif.spec" + } +} diff --git a/anda/langs/python/pillow-heif/python3-pillow-heif.spec b/anda/langs/python/pillow-heif/python3-pillow-heif.spec new file mode 100644 index 0000000000..14568f3f94 --- /dev/null +++ b/anda/langs/python/pillow-heif/python3-pillow-heif.spec @@ -0,0 +1,112 @@ +%global py3_incdir %(RPM_BUILD_ROOT= %{python3} -Ic 'import sysconfig; print(sysconfig.get_path("include"))') + +%global srcname pillow-heif + +# Dependencies are missing to build the documentation +%bcond_with doc + +Name: python-%{srcname} +Version: 0.16.0 +Release: 1%{?dist} +Summary: Python library for working with HEIF images and plugin for Pillow + +License: BSD-3-Clause +URL: https://github.com/bigcat88/pillow_heif +Source0: https://github.com/bigcat88/pillow_heif/archive/refs/tags/v%{version}/pillow-heif-%{version}.tar.gz +Source1: test.py + +BuildRequires: gcc +BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion} +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-pillow-devel +BuildRequires: libheif-devel +%if %{with doc} +BuildRequires: make +BuildRequires: python%{python3_pkgversion}-sphinx +BuildRequires: python%{python3_pkgversion}-sphinx-copybutton +BuildRequires: python%{python3_pkgversion}-sphinx-issues +BuildRequires: python%{python3_pkgversion}-sphinx_rtd_theme +%endif + +%description +Python library for working with HEIF images and plugin for Pillow + +There are two subpackages: devel (development) and doc (documentation). + +%package -n python%{python3_pkgversion}-%{srcname} +Summary: Python library for working with HEIF images and plugin for Pillow +Requires: python%{python3_pkgversion}-pillow +Requires: libheif +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} + +%description -n python%{python3_pkgversion}-%{srcname} +Python library for working with HEIF images and plugin for Pillow + +There are two subpackages: devel (development) and doc (documentation). + +%package -n python%{python3_pkgversion}-%{srcname}-devel +Summary: Development files for %{srcname} +Requires: python%{python3_pkgversion}-devel, libheif-devel +Requires: python%{python3_pkgversion}-%{srcname}%{?_isa} = %{version}-%{release} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}-devel} + +%description -n python%{python3_pkgversion}-%{srcname}-devel +Development files for %{srcname}. + + +%package -n python%{python3_pkgversion}-%{srcname}-doc +Summary: Documentation for %{srcname} +BuildArch: noarch +Requires: python%{python3_pkgversion}-%{srcname} = %{version}-%{release} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}-doc} + +%description -n python%{python3_pkgversion}-%{srcname}-doc +Documentation for %{srcname}. + + +%prep +%autosetup -p1 -n pillow_heif-%{version} + + +%build +# Native build +%py3_build + +# Doc build +%if %{with doc} +PYTHONPATH=$(echo $PWD/build/lib.linux-*) make -C docs html BUILDDIR=_build_py3 SPHINXBUILD=sphinx-build-%python3_version +rm -f docs/_build_py3/html/.buildinfo +%endif + + +%install +# Native build +%py3_install + +%check +# Check Python 3 modules +cp %{SOURCE1} $(echo $PWD/build/lib.linux-*)/ +pushd build/lib.linux-* +PYTHONPATH=$PWD %{__python3} test.py +pytest pillow_heif && echo "Test done" +popd + +%files -n python%{python3_pkgversion}-%{srcname} +%doc README.md CHANGELOG.md +%license LICENSE.txt +%{python3_sitearch}/pillow_heif/ +%{python3_sitearch}/pillow_heif-%{version}-py%{python3_version}.egg-info/ +%{python3_sitearch}/_pillow_heif.*.so + +%files -n python%{python3_pkgversion}-%{srcname}-devel + +%if %{with doc} +%files -n python%{python3_pkgversion}-%{srcname}-doc +%doc docs/_build_py3/html +%endif + +%changelog +* Thu Jun 27 2024 Trung Lê <8@tle.id.au> - 0.16.0-1 +- Initial RPM package diff --git a/anda/langs/python/pillow-heif/test.py b/anda/langs/python/pillow-heif/test.py new file mode 100644 index 0000000000..099f11044d --- /dev/null +++ b/anda/langs/python/pillow-heif/test.py @@ -0,0 +1,2 @@ +import pillow_heif; +print(pillow_heif.libheif_info()); diff --git a/anda/langs/python/pillow-heif/update.rhai b/anda/langs/python/pillow-heif/update.rhai new file mode 100644 index 0000000000..6db9721b57 --- /dev/null +++ b/anda/langs/python/pillow-heif/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("pillow-heif")); From 56193c3651c6182647001bb3a93876f3b687ca0c Mon Sep 17 00:00:00 2001 From: Raboneko Date: Tue, 2 Jul 2024 07:48:43 +0000 Subject: [PATCH 24/25] bump: mkfstab --- anda/langs/nim/mkfstab/mkfstab.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anda/langs/nim/mkfstab/mkfstab.spec b/anda/langs/nim/mkfstab/mkfstab.spec index 74b3cb1f83..8073c4ac4c 100644 --- a/anda/langs/nim/mkfstab/mkfstab.spec +++ b/anda/langs/nim/mkfstab/mkfstab.spec @@ -1,5 +1,5 @@ Name: mkfstab -Version: 0.1.1 +Version: 0.1.2 Release: 1%?dist Summary: An alternative to genfstab: generate output suitable for addition to /etc/fstab License: MIT From e3708839da592f53c07c0ea598a42c27ad8e7e16 Mon Sep 17 00:00:00 2001 From: Raboneko Date: Tue, 2 Jul 2024 09:35:54 +0000 Subject: [PATCH 25/25] bump: discord-canary-openasar discord-canary --- anda/apps/discord-canary-openasar/discord-canary-openasar.spec | 2 +- anda/apps/discord-canary/discord-canary.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index 28f452052e..7e2b048049 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.441 +Version: 0.0.442 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 56b3975a23..0ac164eafa 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.441 +Version: 0.0.442 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: discord.com