From 63c24f6fdabcaf20fdfee7baa653a45c9e87a5aa Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Thu, 7 May 2026 20:02:27 -0500 Subject: [PATCH] chore: remove supergfxctl packages (#12010) (#12067) --- .../anda.hcl | 6 -- ...hell-extension-gpu-supergfxctl-switch.spec | 43 -------------- .../update.rhai | 9 --- anda/system/supergfxctl/anda.hcl | 6 -- anda/system/supergfxctl/supergfxctl.spec | 59 ------------------- anda/system/supergfxctl/update.rhai | 3 - 6 files changed, 126 deletions(-) delete mode 100644 anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/anda.hcl delete mode 100644 anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec delete mode 100644 anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/update.rhai delete mode 100644 anda/system/supergfxctl/anda.hcl delete mode 100644 anda/system/supergfxctl/supergfxctl.spec delete mode 100644 anda/system/supergfxctl/update.rhai diff --git a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/anda.hcl b/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/anda.hcl deleted file mode 100644 index 3870cb13d0..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project pkg { - arches = ["x86_64"] - rpm { - spec = "gnome-shell-extension-gpu-supergfxctl-switch.spec" - } -} diff --git a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec b/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec deleted file mode 100644 index 6c81ff0bf6..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec +++ /dev/null @@ -1,43 +0,0 @@ -%global commit 1de26db2ea4166fdca85306300b12bdc24f2c955 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250925 -%global ver 11 -%global extension gpu-switcher-supergfxctl -%global uuid %{extension}@chikobara.github.io - -Name: gnome-shell-extension-%{extension} -Version: %ver^%commit_date.%shortcommit -Release: 3%{?dist} -Summary: GPU Profile switcher Gnome-Shell-Extension for ASUS laptops using Supergfxctl -License: GPL-3.0-only -URL: https://github.com/chikobara/GPU-Switcher-Supergfxctl - -Source0: %url/archive/%commit.tar.gz - -Requires: gnome-shell >= 48~ -Requires: asusctl -Requires: supergfxctl -Recommends: gnome-extensions-app - -BuildArch: noarch - -Packager: june-fish - -%description -GPU Profile switcher Gnome-Shell-Extension for ASUS laptops using Supergfxctl - -%prep -%autosetup -n GPU-Switcher-Supergfxctl-%{commit} -p1 - -%install -install -Dm644 metadata.json %{buildroot}%{_gnomeextensionsdir}/metadata.json -install -Dm644 extension.js %{buildroot}%{_gnomeextensionsdir}/extension.js - -%files -%license LICENSE -%doc README.md -%{_gnomeextensionsdir} - -%changelog -* Mon Oct 27 2025 june-fish - 11 -- Initial Package diff --git a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/update.rhai b/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/update.rhai deleted file mode 100644 index 10ce2bdccd..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/update.rhai +++ /dev/null @@ -1,9 +0,0 @@ -if filters.contains("nightly") { - rpm.global("commit", gh_commit("chikobara/GPU-Switcher-Supergfxctl")); - if rpm.changed() { - let v = find("\"version\": ([.\\d]+)\n", gh_rawfile("chikobara/GPU-Switcher-Supergfxctl", "main", "metadata.json"), 1); - rpm.global("ver", v); - rpm.global("commit_date", date()); - rpm.release(); - } -} diff --git a/anda/system/supergfxctl/anda.hcl b/anda/system/supergfxctl/anda.hcl deleted file mode 100644 index 7b76ffb458..0000000000 --- a/anda/system/supergfxctl/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project pkg { - arches = ["x86_64"] - rpm { - spec = "supergfxctl.spec" - } -} diff --git a/anda/system/supergfxctl/supergfxctl.spec b/anda/system/supergfxctl/supergfxctl.spec deleted file mode 100644 index 1de7f5e6af..0000000000 --- a/anda/system/supergfxctl/supergfxctl.spec +++ /dev/null @@ -1,59 +0,0 @@ -Name: supergfxctl -Version: 5.2.7 -Release: 2%?dist -Summary: GPU Utility for ASUS ROG Laptops -URL: https://gitlab.com/asus-linux/supergfxctl -Source0: %url/-/archive/%{version}/supergfxctl-%{version}.tar.gz -SourceLicense: MPL-2.0 -License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) -BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold rust-udev-devel -BuildRequires: rpm_macro(systemd_post) -Packager: Its-J - -%description -%{summary}. - -%prep -%autosetup -n supergfxctl-%{version} -%cargo_prep_online - -%build -%cargo_license_summary_online -%{cargo_license_online} > LICENSE.dependencies -%cargo_build -f "cli daemon" - -%install -install -Dm 0755 target/rpm/supergfxd target/rpm/supergfxctl -t %buildroot%_bindir -install -Dm 0644 data/90-supergfxd-nvidia-pm.rules %{buildroot}%{_udevrulesdir}/90-supergfxd-nvidia-pm.rules -install -Dm 0644 data/org.supergfxctl.Daemon.conf %{buildroot}%{_datadir}/dbus-1/system.d/org.supergfxctl.Daemon.conf -install -Dm 0644 data/supergfxd.preset %{buildroot}%{_presetdir}/99-supergfxd.preset -install -Dm 0644 data/90-nvidia-screen-G05.conf %{buildroot}%{_datadir}/X11/xorg.conf.d/90-nvidia-screen-G05.conf -install -Dm 0644 data/supergfxd.service -t %buildroot%_unitdir - -%post -%systemd_post supergfxd.service - -%preun -%systemd_preun supergfxd.service - -%postun -%systemd_postun_with_restart supergfxd.service - -%files -%license LICENSE -%doc README.md -%{_bindir}/supergfxctl -%{_bindir}/supergfxd -%{_udevrulesdir}/90-supergfxd-nvidia-pm.rules -%{_datadir}/X11/xorg.conf.d/90-nvidia-screen-G05.conf -%{_datadir}/dbus-1/system.d/org.supergfxctl.Daemon.conf -%{_unitdir}/supergfxd.service -# We should not be installing .preset files (errors if not listed) -%ghost %{_presetdir}/99-supergfxd.preset - -%changelog -* Tue Apr 14 2026 Its-J -- Add email to my previous contributor attributions - -* Sun Oct 26 2025 Its-J -- Package SuperGFXctl diff --git a/anda/system/supergfxctl/update.rhai b/anda/system/supergfxctl/update.rhai deleted file mode 100644 index ada985a118..0000000000 --- a/anda/system/supergfxctl/update.rhai +++ /dev/null @@ -1,3 +0,0 @@ -let v = gitlab_tag("bcdca4be"); -v.replace("-", "~"); -rpm.version(v);