From 1ad1dc9182997a826dfae66b7df87f7d80feefe0 Mon Sep 17 00:00:00 2001 From: sadlerm4 Date: Fri, 14 Feb 2025 16:26:50 +1100 Subject: [PATCH] chore(el10): remove packages (#3321) * chore(el10): remove bazzite-specific packages * chore(el10): remove misc packages either in upstream or are not maintained in terra Ref: #2876 * revert: "chore(el10): remove bazzite-specific packages" Ref: d5d5b6958f6a161a49d4502caa4dc2d72614f6fe * chore(el10): rm mesa-freeworld and packages in haskell and zig * rm: xyproto-{env,textoutput,vt100} (#3302) Close #3088. (cherry picked from commit 1efece3) --------- Co-authored-by: madomado --- ...ve-schema-handling-from-transpile.sh.patch | 34 - ....wm.keybindings.pop-shell.gschema.override | 18 - ...rg.gnome.mutter.pop-shell.gschema.override | 7 - ....mutter.wayland.pop-shell.gschema.override | 2 - ...gins.media-keys.pop-shell.gschema.override | 6 - ...org.gnome.shell.pop-shell.gschema.override | 18 - .../gnome-shell-extension-pop-shell/anda.hcl | 8 - ...terra-gnome-shell-extension-pop-shell.spec | 90 --- .../update.rhai | 8 - anda/devs/flow/anda.hcl | 5 - anda/devs/flow/flow-control-nightly.spec | 30 - anda/devs/flow/flow-control.spec | 28 - anda/devs/flow/update.rhai | 1 - anda/devs/ghostty/nightly/anda.hcl | 8 - .../devs/ghostty/nightly/ghostty-nightly.spec | 204 ------ anda/devs/ghostty/nightly/no-strip.diff | 17 - anda/devs/ghostty/nightly/update.rhai | 13 - anda/devs/ghostty/stable/anda.hcl | 5 - anda/devs/ghostty/stable/ghostty.spec | 193 ------ anda/devs/ghostty/stable/no-strip.diff | 17 - anda/devs/ghostty/stable/update.rhai | 1 - ...compatible-include-path-for-xxhash.h.patch | 44 -- ...-another-test-that-fails-with-GCC-14.patch | 30 - anda/devs/mold/anda.hcl | 5 - anda/devs/mold/mold.spec | 101 --- anda/devs/mold/update.rhai | 1 - anda/langs/go/xyproto-env/anda.hcl | 5 - .../golang-github-xyproto-env.spec | 48 -- anda/langs/go/xyproto-env/update.rhai | 1 - anda/langs/go/xyproto-env/v1/anda.hcl | 5 - .../v1/golang-github-xyproto-env.spec | 48 -- anda/langs/go/xyproto-textoutput/anda.hcl | 5 - .../golang-github-xyproto-textoutput.spec | 57 -- anda/langs/go/xyproto-textoutput/update.rhai | 1 - anda/langs/go/xyproto-vt100/anda.hcl | 5 - .../golang-github-xyproto-vt100.spec | 57 -- anda/langs/go/xyproto-vt100/update.rhai | 1 - anda/langs/rust/maturin/anda.hcl | 5 - .../rust/maturin/rust-terra-maturin.spec | 388 ----------- anda/langs/rust/maturin/update.rhai | 1 - anda/langs/rust/nushell/anda.hcl | 5 - anda/langs/rust/nushell/nushell.spec | 50 -- anda/langs/rust/nushell/update.rhai | 1 - anda/langs/rust/oxipng/anda.hcl | 5 - .../rust/oxipng/oxipng-fix-metadata-auto.diff | 25 - anda/langs/rust/oxipng/rust-oxipng.spec | 160 ----- anda/langs/rust/oxipng/update.rhai | 1 - anda/langs/rust/pop-launcher/.gitignore | 5 - .../0001-Copy-instead-of-symlink.patch | 25 - .../0001-Remove-frozen-lock.patch | 25 - anda/langs/rust/pop-launcher/anda.hcl | 5 - .../langs/rust/pop-launcher/pop-launcher.spec | 61 -- anda/langs/rust/pop-launcher/prepare.sh | 26 - anda/langs/rust/pop-launcher/umpkg.cfg | 9 - anda/langs/rust/pop-launcher/umpkg.toml | 5 - anda/langs/rust/pop-launcher/update.rhai | 1 - anda/lib/dbus-test-runner/anda.hcl | 5 - .../dbus-test-runner/dbus-test-runner.spec | 77 --- anda/lib/dbus-test-runner/update.rhai | 3 - anda/lib/libindicator/anda.hcl | 5 - anda/lib/libindicator/terra-libindicator.spec | 179 ------ anda/lib/marble-gtk/anda.hcl | 5 - anda/lib/marble-gtk/marble-gtk.spec | 52 -- anda/lib/marble-gtk/update.rhai | 3 - anda/lib/placebo/anda.hcl | 5 - anda/lib/placebo/terra-libplacebo.spec | 80 --- anda/lib/placebo/update.rhai | 4 - anda/misc/uxplay/anda.hcl | 5 - anda/misc/uxplay/update.rhai | 1 - anda/misc/uxplay/uxplay.spec | 63 -- .../Mesa-MLAA-License-Clarification-Email.txt | 117 ---- anda/system/mesa-freeworld/anda.hcl | 9 - .../system/mesa-freeworld/mesa-freeworld.spec | 604 ------------------ .../org.mesa3d.vaapi.freeworld.metainfo.xml | 39 -- .../org.mesa3d.vdpau.freeworld.metainfo.xml | 38 -- anda/system/mesa-freeworld/update.rhai | 11 - .../uutils-coreutils-replace/.gitignore | 1 - anda/system/uutils-coreutils-replace/anda.hcl | 8 - .../coreutils-colorls.csh | 63 -- .../coreutils-colorls.sh | 53 -- .../coreutils-fix-metadata.diff | 40 -- .../coreutils-fix-seq-neg-num-tests.diff | 134 ---- .../uutils-coreutils-replace/update.rhai | 1 - .../uutils-coreutils-replace.spec | 118 ---- anda/system/uutils-coreutils/.gitignore | 1 - anda/system/uutils-coreutils/anda.hcl | 5 - anda/system/uutils-coreutils/update.rhai | 1 - .../uutils-coreutils/uutils-coreutils.spec | 160 ----- anda/tools/buildsys/anda/rust-anda.spec | 2 +- anda/tools/kmonad/anda.hcl | 5 - anda/tools/kmonad/kmonad.spec | 93 --- anda/tools/kmonad/update.rhai | 4 - anda/tools/yt-dlp/yt-dlp-nightly.spec | 128 ---- 93 files changed, 1 insertion(+), 4051 deletions(-) delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/0001-Remove-schema-handling-from-transpile.sh.patch delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.desktop.wm.keybindings.pop-shell.gschema.override delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.pop-shell.gschema.override delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.wayland.pop-shell.gschema.override delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.settings-daemon.plugins.media-keys.pop-shell.gschema.override delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.shell.pop-shell.gschema.override delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/anda.hcl delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec delete mode 100644 anda/desktops/gnome/gnome-shell-extension-pop-shell/update.rhai delete mode 100644 anda/devs/flow/anda.hcl delete mode 100644 anda/devs/flow/flow-control-nightly.spec delete mode 100644 anda/devs/flow/flow-control.spec delete mode 100644 anda/devs/flow/update.rhai delete mode 100644 anda/devs/ghostty/nightly/anda.hcl delete mode 100644 anda/devs/ghostty/nightly/ghostty-nightly.spec delete mode 100644 anda/devs/ghostty/nightly/no-strip.diff delete mode 100644 anda/devs/ghostty/nightly/update.rhai delete mode 100644 anda/devs/ghostty/stable/anda.hcl delete mode 100644 anda/devs/ghostty/stable/ghostty.spec delete mode 100644 anda/devs/ghostty/stable/no-strip.diff delete mode 100644 anda/devs/ghostty/stable/update.rhai delete mode 100644 anda/devs/mold/0001-Use-system-compatible-include-path-for-xxhash.h.patch delete mode 100644 anda/devs/mold/0002-ELF-S390X-Skip-another-test-that-fails-with-GCC-14.patch delete mode 100644 anda/devs/mold/anda.hcl delete mode 100644 anda/devs/mold/mold.spec delete mode 100644 anda/devs/mold/update.rhai delete mode 100644 anda/langs/go/xyproto-env/anda.hcl delete mode 100644 anda/langs/go/xyproto-env/golang-github-xyproto-env.spec delete mode 100644 anda/langs/go/xyproto-env/update.rhai delete mode 100644 anda/langs/go/xyproto-env/v1/anda.hcl delete mode 100644 anda/langs/go/xyproto-env/v1/golang-github-xyproto-env.spec delete mode 100644 anda/langs/go/xyproto-textoutput/anda.hcl delete mode 100644 anda/langs/go/xyproto-textoutput/golang-github-xyproto-textoutput.spec delete mode 100644 anda/langs/go/xyproto-textoutput/update.rhai delete mode 100644 anda/langs/go/xyproto-vt100/anda.hcl delete mode 100644 anda/langs/go/xyproto-vt100/golang-github-xyproto-vt100.spec delete mode 100644 anda/langs/go/xyproto-vt100/update.rhai delete mode 100644 anda/langs/rust/maturin/anda.hcl delete mode 100644 anda/langs/rust/maturin/rust-terra-maturin.spec delete mode 100644 anda/langs/rust/maturin/update.rhai delete mode 100644 anda/langs/rust/nushell/anda.hcl delete mode 100644 anda/langs/rust/nushell/nushell.spec delete mode 100644 anda/langs/rust/nushell/update.rhai delete mode 100644 anda/langs/rust/oxipng/anda.hcl delete mode 100644 anda/langs/rust/oxipng/oxipng-fix-metadata-auto.diff delete mode 100644 anda/langs/rust/oxipng/rust-oxipng.spec delete mode 100644 anda/langs/rust/oxipng/update.rhai delete mode 100644 anda/langs/rust/pop-launcher/.gitignore delete mode 100644 anda/langs/rust/pop-launcher/0001-Copy-instead-of-symlink.patch delete mode 100644 anda/langs/rust/pop-launcher/0001-Remove-frozen-lock.patch delete mode 100644 anda/langs/rust/pop-launcher/anda.hcl delete mode 100644 anda/langs/rust/pop-launcher/pop-launcher.spec delete mode 100755 anda/langs/rust/pop-launcher/prepare.sh delete mode 100644 anda/langs/rust/pop-launcher/umpkg.cfg delete mode 100644 anda/langs/rust/pop-launcher/umpkg.toml delete mode 100644 anda/langs/rust/pop-launcher/update.rhai delete mode 100644 anda/lib/dbus-test-runner/anda.hcl delete mode 100644 anda/lib/dbus-test-runner/dbus-test-runner.spec delete mode 100644 anda/lib/dbus-test-runner/update.rhai delete mode 100644 anda/lib/libindicator/anda.hcl delete mode 100644 anda/lib/libindicator/terra-libindicator.spec delete mode 100644 anda/lib/marble-gtk/anda.hcl delete mode 100644 anda/lib/marble-gtk/marble-gtk.spec delete mode 100644 anda/lib/marble-gtk/update.rhai delete mode 100644 anda/lib/placebo/anda.hcl delete mode 100644 anda/lib/placebo/terra-libplacebo.spec delete mode 100644 anda/lib/placebo/update.rhai delete mode 100644 anda/misc/uxplay/anda.hcl delete mode 100644 anda/misc/uxplay/update.rhai delete mode 100644 anda/misc/uxplay/uxplay.spec delete mode 100644 anda/system/mesa-freeworld/Mesa-MLAA-License-Clarification-Email.txt delete mode 100644 anda/system/mesa-freeworld/anda.hcl delete mode 100644 anda/system/mesa-freeworld/mesa-freeworld.spec delete mode 100644 anda/system/mesa-freeworld/org.mesa3d.vaapi.freeworld.metainfo.xml delete mode 100644 anda/system/mesa-freeworld/org.mesa3d.vdpau.freeworld.metainfo.xml delete mode 100644 anda/system/mesa-freeworld/update.rhai delete mode 100644 anda/system/uutils-coreutils-replace/.gitignore delete mode 100644 anda/system/uutils-coreutils-replace/anda.hcl delete mode 100644 anda/system/uutils-coreutils-replace/coreutils-colorls.csh delete mode 100644 anda/system/uutils-coreutils-replace/coreutils-colorls.sh delete mode 100644 anda/system/uutils-coreutils-replace/coreutils-fix-metadata.diff delete mode 100644 anda/system/uutils-coreutils-replace/coreutils-fix-seq-neg-num-tests.diff delete mode 100644 anda/system/uutils-coreutils-replace/update.rhai delete mode 100644 anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec delete mode 100644 anda/system/uutils-coreutils/.gitignore delete mode 100644 anda/system/uutils-coreutils/anda.hcl delete mode 100644 anda/system/uutils-coreutils/update.rhai delete mode 100644 anda/system/uutils-coreutils/uutils-coreutils.spec delete mode 100644 anda/tools/kmonad/anda.hcl delete mode 100644 anda/tools/kmonad/kmonad.spec delete mode 100644 anda/tools/kmonad/update.rhai delete mode 100644 anda/tools/yt-dlp/yt-dlp-nightly.spec diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/0001-Remove-schema-handling-from-transpile.sh.patch b/anda/desktops/gnome/gnome-shell-extension-pop-shell/0001-Remove-schema-handling-from-transpile.sh.patch deleted file mode 100644 index eb41bed4d5..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/0001-Remove-schema-handling-from-transpile.sh.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 3f8b19139bf3f13b4285fd9d949cb5460a0909df Mon Sep 17 00:00:00 2001 -From: Carl George -Date: Fri, 25 Jun 2021 22:26:50 -0500 -Subject: [PATCH] Remove schema handling from transpile.sh - ---- - scripts/transpile.sh | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -diff --git a/scripts/transpile.sh b/scripts/transpile.sh -index e619a8c..8977c29 100755 ---- a/scripts/transpile.sh -+++ b/scripts/transpile.sh -@@ -15,8 +15,6 @@ transpile() { - - rm -rf _build - --glib-compile-schemas schemas & -- - # Transpile to JavaScript - - for proj in ${PROJECTS}; do -@@ -30,7 +28,7 @@ wait - - # Convert JS to GJS-compatible scripts - --cp -r metadata.json icons schemas *.css _build & -+cp -r metadata.json icons *.css _build & - - for src in $(find target -name '*.js'); do - dest=$(echo "$src" | sed s#target#_build#g) --- -2.31.1 - diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.desktop.wm.keybindings.pop-shell.gschema.override b/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.desktop.wm.keybindings.pop-shell.gschema.override deleted file mode 100644 index ca2303ab0d..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.desktop.wm.keybindings.pop-shell.gschema.override +++ /dev/null @@ -1,18 +0,0 @@ -[org.gnome.desktop.wm.keybindings] -close = ['F4', 'q'] -maximize = [] -minimize = [] -move-to-monitor-down = [] -move-to-monitor-left = [] -move-to-monitor-right = [] -move-to-monitor-up = [] -move-to-workspace-down = [] -move-to-workspace-left = [] -move-to-workspace-right = [] -move-to-workspace-up = [] -switch-to-workspace-down = ['Down', 'KP_Down', 'j'] -switch-to-workspace-left = [] -switch-to-workspace-right = [] -switch-to-workspace-up = ['Up', 'KP_Up', 'k'] -toggle-maximized = ['m'] -unmaximize = [] diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.pop-shell.gschema.override b/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.pop-shell.gschema.override deleted file mode 100644 index 4238624854..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.pop-shell.gschema.override +++ /dev/null @@ -1,7 +0,0 @@ -[org.gnome.mutter:GNOME] -attach-modal-dialogs = false -workspaces-only-on-primary = false - -[org.gnome.mutter.keybindings] -toggle-tiled-left = ['Left', 'KP_Left', 'h'] -toggle-tiled-right = ['Right', 'KP_Right', 'l'] diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.wayland.pop-shell.gschema.override b/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.wayland.pop-shell.gschema.override deleted file mode 100644 index 18566ed983..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.mutter.wayland.pop-shell.gschema.override +++ /dev/null @@ -1,2 +0,0 @@ -[org.gnome.mutter.wayland.keybindings] -restore-shortcuts = [] diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.settings-daemon.plugins.media-keys.pop-shell.gschema.override b/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.settings-daemon.plugins.media-keys.pop-shell.gschema.override deleted file mode 100644 index bee7aa9219..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.settings-daemon.plugins.media-keys.pop-shell.gschema.override +++ /dev/null @@ -1,6 +0,0 @@ -[org.gnome.settings-daemon.plugins.media-keys] -email = ['e'] -home = ['f'] -screensaver = ['Escape'] -www = ['b'] -rotate-video-lock-static = ['XF86RotationLockToggle'] diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.shell.pop-shell.gschema.override b/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.shell.pop-shell.gschema.override deleted file mode 100644 index 03ba5c5f8b..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/50_org.gnome.shell.pop-shell.gschema.override +++ /dev/null @@ -1,18 +0,0 @@ -[org.gnome.shell.keybindings] -open-application-menu = [] -shift-overview-down = [] -shift-overview-up = [] -switch-to-application-1 = [] -switch-to-application-2 = [] -switch-to-application-3 = [] -switch-to-application-4 = [] -switch-to-application-5 = [] -switch-to-application-6 = [] -switch-to-application-7 = [] -switch-to-application-8 = [] -switch-to-application-9 = [] -toggle-message-tray = ['v'] - -[org.gnome.shell.overrides] -attach-modal-dialogs = false -workspaces-only-on-primary = false diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/anda.hcl b/anda/desktops/gnome/gnome-shell-extension-pop-shell/anda.hcl deleted file mode 100644 index 8acef3b5c2..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "terra-gnome-shell-extension-pop-shell.spec" - } - labels { - nightly = "1" - } -} diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec b/anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec deleted file mode 100644 index 5c65531bb1..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/terra-gnome-shell-extension-pop-shell.spec +++ /dev/null @@ -1,90 +0,0 @@ -# from Fedora upstream -%global extension pop-shell -%global uuid %{extension}@system76.com -%global commit cfa0c55e84b7ce339e5ce83832f76fee17e99d51 -%global shortcommit %{lua:print(macros.commit:sub(1,7))} -%global commit_date 20240404 -%global ver 1.2.0 - -Name: terra-gnome-shell-extension-%{extension} -Version: %{ver}^%commit_date.%{shortcommit} -Release: 1%?dist -Summary: GNOME Shell extension for advanced tiling window management -License: GPL-3.0-only -URL: https://github.com/pop-os/shell -BuildArch: noarch - -Source0: %{url}/archive/%{commit}/%{extension}-%{shortcommit}.tar.gz -Source1: 50_org.gnome.desktop.wm.keybindings.%{extension}.gschema.override -Source2: 50_org.gnome.mutter.%{extension}.gschema.override -Source3: 50_org.gnome.mutter.wayland.%{extension}.gschema.override -Source4: 50_org.gnome.settings-daemon.plugins.media-keys.%{extension}.gschema.override -Source5: 50_org.gnome.shell.%{extension}.gschema.override -# downstream-only -Patch0: 0001-Remove-schema-handling-from-transpile.sh.patch - -BuildRequires: typescript >= 3.8 -BuildRequires: make - -Requires: (gnome-shell >= 45~ with gnome-shell < 46~) -Recommends: gnome-extensions-app -Recommends: %{name}-shortcut-overrides = %{version}-%{release} -Provides: %{extension} = %{version}-%{release} - - -%description -Pop Shell is a keyboard-driven layer for GNOME Shell which allows for quick and -sensible navigation and management of windows. The core feature of Pop Shell -is the addition of advanced tiling window management - a feature that has been -highly sought within our community. For many - ourselves included - i3wm has -become the leading competitor to the GNOME desktop. - - -%package shortcut-overrides -Summary: Shortcut overrides for %{name} - - -%description shortcut-overrides -Shortcut overrides for %{name}. - - -%prep -%autosetup -p 1 -n shell-%{commit} - - -%build -%make_build compile - - -%install -# install main extension files -%make_install - -# install the schema file -install -D -p -m 0644 \ - schemas/org.gnome.shell.extensions.%{extension}.gschema.xml \ - %{buildroot}%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{extension}.gschema.xml - -# install the gnome-control-center keybindings -install -d -m 0755 %{buildroot}%{_datadir}/gnome-control-center/keybindings -install -p -m 0644 keybindings/*.xml %{buildroot}%{_datadir}/gnome-control-center/keybindings/ - -# install the schema override files -install -d -m 0755 %{buildroot}%{_datadir}/glib-2.0/schemas -install -p -m 0644 %{S:1} %{S:2} %{S:3} %{S:4} %{S:5} %{buildroot}%{_datadir}/glib-2.0/schemas/ - - -%files -%license LICENSE -%doc README.md -%{_datadir}/gnome-shell/extensions/%{uuid} -%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.%{extension}.gschema.xml -%{_datadir}/gnome-control-center/keybindings/*.xml - - -%files shortcut-overrides -%{_datadir}/glib-2.0/schemas/*.%{extension}.gschema.override - - -%changelog -%autochangelog diff --git a/anda/desktops/gnome/gnome-shell-extension-pop-shell/update.rhai b/anda/desktops/gnome/gnome-shell-extension-pop-shell/update.rhai deleted file mode 100644 index 077e121d19..0000000000 --- a/anda/desktops/gnome/gnome-shell-extension-pop-shell/update.rhai +++ /dev/null @@ -1,8 +0,0 @@ -if filters.contains("nightly") { - rpm.global("commit", gh_commit("pop-os/shell")); - if rpm.changed() { - rpm.global("ver", gh("pop-os/shell")); - rpm.release(); - rpm.global("commit_date", date()); - } -} diff --git a/anda/devs/flow/anda.hcl b/anda/devs/flow/anda.hcl deleted file mode 100644 index 705fb5dda6..0000000000 --- a/anda/devs/flow/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "flow-control.spec" - } -} diff --git a/anda/devs/flow/flow-control-nightly.spec b/anda/devs/flow/flow-control-nightly.spec deleted file mode 100644 index db0d1df916..0000000000 --- a/anda/devs/flow/flow-control-nightly.spec +++ /dev/null @@ -1,30 +0,0 @@ -%global commit b970031a7f4f17057c9a2d1ccb32752554fef278 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20240906 - -Name: flow-control-nightly -Version: %commit_date.%shortcommit -Release: 1%?dist -Summary: A programmer's text editor -License: MIT -URL: https://github.com/neurocyte/flow -Source0: %url/archive/%commit.tar.gz -BuildRequires: zig -Provides: flow = %version-%release - -%description -%summary. - -%prep -%autosetup -n flow-%commit - -%build -zig build -Doptimize=ReleaseFast --release=fast - -%install -install -Dpm755 zig-out/bin/flow %buildroot%_bindir/flow - -%files -%doc README.md help.md -%license LICENSE -%_bindir/flow diff --git a/anda/devs/flow/flow-control.spec b/anda/devs/flow/flow-control.spec deleted file mode 100644 index c1e005b0f2..0000000000 --- a/anda/devs/flow/flow-control.spec +++ /dev/null @@ -1,28 +0,0 @@ -Name: flow-control -Epoch: 1 -Version: 0.3.3 -Release: 1%?dist -Summary: A programmer's text editor -License: MIT -URL: https://github.com/neurocyte/flow -BuildRequires: zig -BuildRequires: anda-srpm-macros -Provides: flow = %epoch:%version-%release -Obsoletes: flow-control-nightly < 20250212.9999999 - -%description -%summary. - -%prep -%git_clone %url v%version - -%build -zig build -Doptimize=ReleaseFast --release=fast - -%install -install -Dpm755 zig-out/bin/flow %buildroot%_bindir/flow - -%files -%doc README.md help.md -%license LICENSE -%_bindir/flow diff --git a/anda/devs/flow/update.rhai b/anda/devs/flow/update.rhai deleted file mode 100644 index 9693a0dbdf..0000000000 --- a/anda/devs/flow/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("neurocyte/flow")); diff --git a/anda/devs/ghostty/nightly/anda.hcl b/anda/devs/ghostty/nightly/anda.hcl deleted file mode 100644 index 67cc25515c..0000000000 --- a/anda/devs/ghostty/nightly/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "ghostty-nightly.spec" - } - labels { - nightly = 1 - } -} diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec deleted file mode 100644 index 2e032703a5..0000000000 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ /dev/null @@ -1,204 +0,0 @@ -%global commit 52a5069decb6d698df347e4b46d5f26ebe639ebb -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global fulldate 2025-02-13 -%global commit_date %(echo %{fulldate} | sed 's/-//g') -%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV -%global dev_ver 1.1.3 -%if 0%{?fedora} <= 40 -%global cache_dir %{_builddir}/zig-cache -%else -%global cache_dir %{builddir}/zig-cache -%endif - -Name: ghostty-nightly -Version: 1.1.2 -Release: 1%?dist -Summary: A fast, native terminal emulator written in Zig; this is the Tip (nightly) build. -License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0 -URL: https://ghostty.org/ -Source0: https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz -Source1: https://github.com/ghostty-org/ghostty/releases/download/tip/ghostty-source.tar.gz.minisig -BuildRequires: gtk4-devel -BuildRequires: libadwaita-devel -BuildRequires: libX11-devel -BuildRequires: minisign -BuildRequires: ncurses -BuildRequires: ncurses-devel -BuildRequires: pandoc-cli -BuildRequires: zig -BuildRequires: pkgconfig(bzip2) -BuildRequires: pkgconfig(freetype2) -BuildRequires: pkgconfig(fontconfig) -BuildRequires: pkgconfig(gtk4) -BuildRequires: pkgconfig(harfbuzz) -BuildRequires: pkgconfig(libadwaita-1) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(oniguruma) -BuildRequires: pkgconfig(zlib) -Requires: %{name}-terminfo = %{version}-%{release} -Requires: %{name}-shell-integration = %{version}-%{release} -Requires: gtk4 -Requires: libadwaita -Conflicts: ghostty -Provides: ghostty-tip = %{version}-%{release} -Obsoletes: %{name} <= 20250130.04d3636-1%{?dist} -Packager: ShinyGil - -%description -👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. - -%package bash-completion -Summary: Ghostty Bash completion -Requires: %{name} = %{version}-%{release} -Requires: bash-completion -Supplements: (%{name} and bash-completion) -Obsoletes: %{name}-bash-completion <= 20250130.04d3636-1%{?dist} -BuildArch: noarch - -%description bash-completion -Bash shell completion for Ghostty. - -%package fish-completion -Summary: Ghostty Fish completion -Requires: %{name} = %{version}-%{release} -Requires: fish -Supplements: (%{name} and fish) -Obsoletes: %{name}-fish-completion <= 20250130.04d3636-1%{?dist} -BuildArch: noarch - -%description fish-completion -Fish shell completion for Ghostty. - -%package zsh-completion -Summary: Ghostty Zsh completion -Requires: %{name} = %{version}-%{release} -Requires: zsh -Supplements: (%{name} and zsh) -Obsoletes: %{name}-zsh-completion <= 20250130.04d3636-1%{?dist} -BuildArch: noarch - -%description zsh-completion -Zsh shell completion for Ghostty. - -%package shell-integration -Summary: Ghostty shell integration -Supplements: %{name} -Obsoletes: %{name}-shell-integration <= 20250130.04d3636-1%{?dist} -BuildArch: noarch - -%description shell-integration -This package contains files allowing Ghostty to integrate with various shells. - -%package terminfo -Summary: Ghostty terminfo -Supplements: %{name} -Obsoletes: %{name}-terminfo <= 20250130.04d3636-1%{?dist} -BuildArch: noarch - -%description terminfo -Ghostty's terminfo. Needed for basic terminal function. - -%package terminfo-source -Summary: Source files for Ghostty's terminfo -Requires: %{name} -Requires: %{name}-terminfo -BuildArch: noarch - -%description terminfo-source -This package contains files for Ghostty's terminfo. Available for debugging use. - -%prep -/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} -%autosetup -n ghostty-source - -# Download everything ahead of time so we can enable system integration mode -ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" ./nix/build-support/fetch-zig-cache.sh - -%build - -%install -DESTDIR="%{buildroot}" \ -zig build \ - --summary all \ - --release=fast \ - --system "%{cache_dir}/p" \ - --prefix "%{_prefix}" --prefix-lib-dir "%{_libdir}" \ - --prefix-exe-dir "%{_bindir}" --prefix-include-dir "%{_includedir}" \ - --verbose \ - -Dcpu=baseline \ - -Dstrip=false \ - -Dpie=true \ - -Demit-docs \ - -Demit-termcap \ - -Demit-terminfo - -%files -%doc README.md -%license LICENSE -%_bindir/ghostty -%_datadir/applications/com.mitchellh.ghostty.desktop -%_datadir/bat/syntaxes/ghostty.sublime-syntax -%_datadir/ghostty/ -%_datadir/kio/servicemenus/com.mitchellh.ghostty.desktop -%_datadir/nautilus-python/extensions/ghostty.py -%_datadir/nvim/site/compiler/ghostty.vim -%_datadir/nvim/site/ftdetect/ghostty.vim -%_datadir/nvim/site/ftplugin/ghostty.vim -%_datadir/nvim/site/syntax/ghostty.vim -%_datadir/vim/vimfiles/compiler/ghostty.vim -%_datadir/vim/vimfiles/ftdetect/ghostty.vim -%_datadir/vim/vimfiles/ftplugin/ghostty.vim -%_datadir/vim/vimfiles/syntax/ghostty.vim -%_iconsdir/hicolor/16x16/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/16x16@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/512x512/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/1024x1024/apps/com.mitchellh.ghostty.png -%_mandir/man1/ghostty.1.gz -%_mandir/man5/ghostty.5.gz - -%files bash-completion -%bash_completions_dir/ghostty.bash - -%files fish-completion -%fish_completions_dir/ghostty.fish - -%files zsh-completion -%zsh_completions_dir/_ghostty - -%files shell-integration -%_datadir/ghostty/shell-integration/bash/bash-preexec.sh -%_datadir/ghostty/shell-integration/bash/ghostty.bash -%_datadir/ghostty/shell-integration/elvish/lib/ghostty-integration.elv -%_datadir/ghostty/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish -%_datadir/ghostty/shell-integration/zsh/.zshenv -%_datadir/ghostty/shell-integration/zsh/ghostty-integration - -%files terminfo -%_datadir/terminfo/g/ghostty -%_datadir/terminfo/x/xterm-ghostty - -%files terminfo-source -%_datadir/terminfo/ghostty.termcap -%_datadir/terminfo/ghostty.terminfo - -%changelog -* Fri Jan 31 2025 ShinyGil -- Update to 1.1.1-1%{?dist}.20250131tipc5508e7 - * Low GHSA-98wc-794w-gjx3: Ghostty leaked file descriptors allowing the shell and any of its child processes to impact other Ghostty terminal instances - * Better Git versioning scheme - * Ghostty terminfo source files are now a subpackage - * Shell integration and completion and terminfo subpackages are now properly noarch -* Tue Dec 31 2024 ShinyGil -- Update to 20241231.3f7c3af - * High CVE-2003-0063: Allows execution of arbitrary commands - * Medium CVE-2003-0070: Allows execution of arbitrary commands - -* Thu Dec 26 2024 ShinyGil -- Initial package diff --git a/anda/devs/ghostty/nightly/no-strip.diff b/anda/devs/ghostty/nightly/no-strip.diff deleted file mode 100644 index 80c5534f73..0000000000 --- a/anda/devs/ghostty/nightly/no-strip.diff +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/build.zig b/build.zig -index c3f7302..a0ecf25 100644 ---- a/build.zig -+++ b/build.zig -@@ -295,11 +295,7 @@ pub fn build(b: *std.Build) !void { - .root_source_file = b.path("src/main.zig"), - .target = target, - .optimize = optimize, -- .strip = switch (optimize) { -- .Debug => false, -- .ReleaseSafe => false, -- .ReleaseFast, .ReleaseSmall => true, -- }, -+ .strip = false, - }) else null; - - // Exe diff --git a/anda/devs/ghostty/nightly/update.rhai b/anda/devs/ghostty/nightly/update.rhai deleted file mode 100644 index 3261f0ef2d..0000000000 --- a/anda/devs/ghostty/nightly/update.rhai +++ /dev/null @@ -1,13 +0,0 @@ -let url = `https://api.github.com/repos/ghostty-org/ghostty/releases/83450291`; -let json = get(url).json(); -let commit = json.target_commitish; -rpm.global("commit", commit); -if rpm.changed() { - let date = json.created_at; - date.truncate(10); - let html = get(`https://raw.githubusercontent.com/ghostty-org/ghostty/refs/heads/main/build.zig.zon`); - let ver = find(".version = \"([\\d.]+)\"", html, 1); - rpm.version(gh_tag("ghostty-org/ghostty")); - rpm.global("fulldate", date); - rpm.global("dev_ver", ver) -} diff --git a/anda/devs/ghostty/stable/anda.hcl b/anda/devs/ghostty/stable/anda.hcl deleted file mode 100644 index 88409ea7ca..0000000000 --- a/anda/devs/ghostty/stable/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "ghostty.spec" - } -} diff --git a/anda/devs/ghostty/stable/ghostty.spec b/anda/devs/ghostty/stable/ghostty.spec deleted file mode 100644 index 0ed44e5921..0000000000 --- a/anda/devs/ghostty/stable/ghostty.spec +++ /dev/null @@ -1,193 +0,0 @@ -# Signing key from https://github.com/ghostty-org/ghostty/blob/main/PACKAGING.md -%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV -%if 0%{?fedora} <= 40 -%global cache_dir %{_builddir}/zig-cache -%else -%global cache_dir %{builddir}/zig-cache -%endif - -Name: ghostty -Version: 1.1.2 -Release: 1%?dist -Summary: A fast, native terminal emulator written in Zig. -License: MIT AND MPL-2.0 AND OFL-1.1 AND (WTFPL OR CC0-1.0) AND Apache-2.0 -URL: https://ghostty.org/ -Source0: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz -Source1: https://release.files.ghostty.org/%{version}/ghostty-%{version}.tar.gz.minisig -BuildRequires: gtk4-devel -BuildRequires: libadwaita-devel -BuildRequires: libX11-devel -BuildRequires: minisign -BuildRequires: ncurses -BuildRequires: ncurses-devel -BuildRequires: pandoc-cli -BuildRequires: zig -BuildRequires: pkgconfig(bzip2) -BuildRequires: pkgconfig(freetype2) -BuildRequires: pkgconfig(fontconfig) -BuildRequires: pkgconfig(gtk4) -BuildRequires: pkgconfig(harfbuzz) -BuildRequires: pkgconfig(libadwaita-1) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(oniguruma) -BuildRequires: pkgconfig(zlib) -Requires: %{name}-terminfo = %{version}-%{release} -Requires: %{name}-shell-integration = %{version}-%{release} -Requires: gtk4 -Requires: libadwaita -Conflicts: ghostty-nightly -Packager: ShinyGil - -%description -👻 Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration. - -%package bash-completion -Summary: Ghostty Bash completion -Requires: %{name} = %{version}-%{release} -Requires: bash-completion -Supplements: (%{name} and bash-completion) -BuildArch: noarch - -%description bash-completion -Bash shell completion for Ghostty. - -%package fish-completion -Summary: Ghostty Fish completion -Requires: %{name} = %{version}-%{release} -Requires: fish -Supplements: (%{name} and fish) -BuildArch: noarch - -%description fish-completion -Fish shell completion for Ghostty. - -%package zsh-completion -Summary: Ghostty Zsh completion -Requires: %{name} = %{version}-%{release} -Requires: zsh -Supplements: (%{name} and zsh) -BuildArch: noarch - -%description zsh-completion -Zsh shell completion for Ghostty. - -%package shell-integration -Summary: Ghostty shell integration -Supplements: %{name} -BuildArch: noarch - -%description shell-integration -This package contains files allowing Ghostty to integrate with various shells. - -%package terminfo -Summary: Ghostty terminfo -Supplements: %{name} -BuildArch: noarch - -%description terminfo -Ghostty's terminfo. Needed for basic terminal function. - -%package terminfo-source -Summary: Source files for Ghostty's terminfo -Requires: %{name} -Requires: %{name}-terminfo -BuildArch: noarch - -%description terminfo-source -Source files for Ghostty's terminfo. Available for debugging use. - -%prep -/usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} -%autosetup -p1 - -# Download everything ahead of time so we can enable system integration mode -ZIG_GLOBAL_CACHE_DIR="%{cache_dir}" ./nix/build-support/fetch-zig-cache.sh - -%build - -%install -DESTDIR="%{buildroot}" \ -zig build \ - --summary all \ - --release=fast \ - --system "%{cache_dir}/p" \ - --prefix "%{_prefix}" --prefix-lib-dir "%{_libdir}" \ - --prefix-exe-dir "%{_bindir}" --prefix-include-dir "%{_includedir}" \ - --verbose \ - -Dversion-string=%{version} \ - -Dcpu=baseline \ - -Dstrip=false \ - -Dpie=true \ - -Demit-docs \ - -Demit-termcap \ - -Demit-terminfo - -%files -%doc README.md -%license LICENSE -%_bindir/ghostty -%_datadir/applications/com.mitchellh.ghostty.desktop -%_datadir/bat/syntaxes/ghostty.sublime-syntax -%_datadir/ghostty/ -%_datadir/kio/servicemenus/com.mitchellh.ghostty.desktop -%_datadir/nautilus-python/extensions/com.mitchellh.ghostty.py -%_datadir/nvim/site/compiler/ghostty.vim -%_datadir/nvim/site/ftdetect/ghostty.vim -%_datadir/nvim/site/ftplugin/ghostty.vim -%_datadir/nvim/site/syntax/ghostty.vim -%_datadir/vim/vimfiles/compiler/ghostty.vim -%_datadir/vim/vimfiles/ftdetect/ghostty.vim -%_datadir/vim/vimfiles/ftplugin/ghostty.vim -%_datadir/vim/vimfiles/syntax/ghostty.vim -%_iconsdir/hicolor/16x16/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/16x16@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/32x32@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/128x128@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/256x256@2/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/512x512/apps/com.mitchellh.ghostty.png -%_iconsdir/hicolor/1024x1024/apps/com.mitchellh.ghostty.png -%_mandir/man1/ghostty.1.gz -%_mandir/man5/ghostty.5.gz - -%files bash-completion -%bash_completions_dir/ghostty.bash - -%files fish-completion -%fish_completions_dir/ghostty.fish - -%files zsh-completion -%zsh_completions_dir/_ghostty - -%files shell-integration -%_datadir/ghostty/shell-integration/bash/bash-preexec.sh -%_datadir/ghostty/shell-integration/bash/ghostty.bash -%_datadir/ghostty/shell-integration/elvish/lib/ghostty-integration.elv -%_datadir/ghostty/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish -%_datadir/ghostty/shell-integration/zsh/.zshenv -%_datadir/ghostty/shell-integration/zsh/ghostty-integration - -%files terminfo -%_datadir/terminfo/g/ghostty -%_datadir/terminfo/x/xterm-ghostty - -%files terminfo-source -%_datadir/terminfo/ghostty.termcap -%_datadir/terminfo/ghostty.terminfo - -%changelog -* Fri Jan 31 2025 ShinyGil -- Update to 1.1.0-1%{?dist} - * Low GHSA-98wc-794w-gjx3: Ghostty leaked file descriptors allowing the shell and any of its child processes to impact other Ghostty terminal instances - * Ghostty terminfo source files are now a subpackage - * Shell integration and completion and terminfo subpackages are now properly noarch -* Tue Dec 31 2024 ShinyGil -- Update to 1.0.1 - * High CVE-2003-0063: Allows execution of arbitrary commands - * Medium CVE-2003-0070: Allows execution of arbitrary commands - -* Thu Dec 26 2024 ShinyGil -- Initial package diff --git a/anda/devs/ghostty/stable/no-strip.diff b/anda/devs/ghostty/stable/no-strip.diff deleted file mode 100644 index c9d9e3ae08..0000000000 --- a/anda/devs/ghostty/stable/no-strip.diff +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/build.zig b/build.zig -index c3f7302..a0ecf25 100644 ---- a/build.zig -+++ b/build.zig -@@ -295,11 +295,7 @@ pub fn build(b: *std.Build) !void { - .root_source_file = b.path("src/main.zig"), - .target = target, - .optimize = optimize, -- .strip = switch (optimize) { -- .Debug => false, -- .ReleaseSafe => false, -- .ReleaseFast, .ReleaseSmall => true, -- }, -+ .strip = false, - }) else null; - - // Exe diff --git a/anda/devs/ghostty/stable/update.rhai b/anda/devs/ghostty/stable/update.rhai deleted file mode 100644 index a3b9cedfae..0000000000 --- a/anda/devs/ghostty/stable/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh_tag("ghostty-org/ghostty")); diff --git a/anda/devs/mold/0001-Use-system-compatible-include-path-for-xxhash.h.patch b/anda/devs/mold/0001-Use-system-compatible-include-path-for-xxhash.h.patch deleted file mode 100644 index 53b9d187f6..0000000000 --- a/anda/devs/mold/0001-Use-system-compatible-include-path-for-xxhash.h.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 6b57f8b406dc5105d5d83c8b937c3491c7f3852c Mon Sep 17 00:00:00 2001 -Message-ID: <6b57f8b406dc5105d5d83c8b937c3491c7f3852c.1727252245.git.github@sicherha.de> -From: Christoph Erhardt -Date: Sat, 6 Aug 2022 09:18:54 +0200 -Subject: [PATCH 1/2] Use system-compatible include path for `xxhash.h` - -Distributors that build mold against the system-provided xxHash package -expect its header file `xxhash.h` in the top-level include directory, -not in an `xxhash` subdirectory. Adjust the include path and the -`#include` directive accordingly. ---- - CMakeLists.txt | 2 ++ - lib/common.h | 2 +- - 2 files changed, 3 insertions(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d6d1500a..b5f8b56e 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -224,6 +224,8 @@ else() - mold_add_tbb() - endif() - -+target_include_directories(mold PRIVATE third-party/xxhash) -+ - # We always use Clang to build mold on Windows. MSVC can't compile mold. - if(WIN32) - if(MSVC AND NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") -diff --git a/lib/common.h b/lib/common.h -index d915c97e..417801d1 100644 ---- a/lib/common.h -+++ b/lib/common.h -@@ -34,7 +34,7 @@ - #endif - - #define XXH_INLINE_ALL 1 --#include "../third-party/xxhash/xxhash.h" -+#include - - #ifdef NDEBUG - # define unreachable() __builtin_unreachable() --- -2.46.1 - diff --git a/anda/devs/mold/0002-ELF-S390X-Skip-another-test-that-fails-with-GCC-14.patch b/anda/devs/mold/0002-ELF-S390X-Skip-another-test-that-fails-with-GCC-14.patch deleted file mode 100644 index 921f4f86ee..0000000000 --- a/anda/devs/mold/0002-ELF-S390X-Skip-another-test-that-fails-with-GCC-14.patch +++ /dev/null @@ -1,30 +0,0 @@ -From c4a950cfb4fb78a6009c3834b9875606d4bde475 Mon Sep 17 00:00:00 2001 -Message-ID: -In-Reply-To: <6b57f8b406dc5105d5d83c8b937c3491c7f3852c.1727252245.git.github@sicherha.de> -References: <6b57f8b406dc5105d5d83c8b937c3491c7f3852c.1727252245.git.github@sicherha.de> -From: Christoph Erhardt -Date: Sat, 20 Jan 2024 23:58:00 +0100 -Subject: [PATCH 2/2] [ELF][S390X] Skip another test that fails with GCC 14 - ---- - test/rodata-name.sh | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/test/rodata-name.sh b/test/rodata-name.sh -index def5a6fd..f5de4b4a 100755 ---- a/test/rodata-name.sh -+++ b/test/rodata-name.sh -@@ -5,6 +5,10 @@ - # Concretely speaking, ARM as uses "@" as a start of a comment. - [ $MACHINE = arm ] && skip - -+# GCC produces buggy code for this test case on s390x. -+# https://sourceware.org/bugzilla/show_bug.cgi?id=29655 -+[ $MACHINE = s390x ] && $CC -v 2>&1 | grep -E '^gcc version 14\.' && skip -+ - cat <<'EOF' | $CC -c -o $t/a.o -x assembler - - .globl val1, val2, val3, val4, val5 - --- -2.46.1 - diff --git a/anda/devs/mold/anda.hcl b/anda/devs/mold/anda.hcl deleted file mode 100644 index f54e6aa2bc..0000000000 --- a/anda/devs/mold/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "mold.spec" - } -} diff --git a/anda/devs/mold/mold.spec b/anda/devs/mold/mold.spec deleted file mode 100644 index f6e5dadbfd..0000000000 --- a/anda/devs/mold/mold.spec +++ /dev/null @@ -1,101 +0,0 @@ -Name: mold -Version: 2.35.0 -Release: %autorelease -Summary: A Modern Linker - -License: MIT AND (Apache-2.0 OR MIT) -URL: https://github.com/rui314/mold -Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz - -# Allow building against the system-provided `xxhash.h` -Patch0: 0001-Use-system-compatible-include-path-for-xxhash.h.patch - -# Possibly https://sourceware.org/bugzilla/show_bug.cgi?id=29655 -Patch1: 0002-ELF-S390X-Skip-another-test-that-fails-with-GCC-14.patch - -BuildRequires: blake3-devel -BuildRequires: cmake -%if 0%{?el8} -BuildRequires: gcc-toolset-13 -%else -BuildRequires: gcc -BuildRequires: gcc-c++ >= 10 -%endif -BuildRequires: libzstd-devel -BuildRequires: mimalloc-devel -BuildRequires: xxhash-static -BuildRequires: zlib-devel -BuildRequires: tbb-devel >= 2021.9 -# The following packages are only required for executing the tests -BuildRequires: clang -BuildRequires: gdb -BuildRequires: glibc-static -%if ! 0%{?el8} -%ifarch x86_64 -# Koji 64-bit buildroots do not contain packages from 32-bit builds, therefore -# the 'glibc-devel.i686' variant is provided as 'glibc32'. -%dnl BuildRequires: (glibc32 or glibc-devel(%__isa_name-32)) -%endif -BuildRequires: libdwarf-tools -%endif -BuildRequires: libstdc++-static -BuildRequires: llvm -BuildRequires: perl-interpreter - -Requires(post): %{_sbindir}/alternatives -Requires(preun): %{_sbindir}/alternatives - -%description -mold is a faster drop-in replacement for existing Unix linkers. -It is several times faster than the LLVM lld linker. -mold is designed to increase developer productivity by reducing -build time, especially in rapid debug-edit-rebuild cycles. - -%prep -%autosetup -p1 -rm -r third-party/{blake3,mimalloc,xxhash,zlib,zstd} -%if 0%{?fedora} >= 40 -rm -r third-party/tbb -%endif - -%build -%if 0%{?el8} -. /opt/rh/gcc-toolset-13/enable -%endif -%cmake -DMOLD_USE_SYSTEM_MIMALLOC=ON %{?tbb_flags} -%cmake_build -- -j$(($(nproc) * 2 / 3)) - -%install -%cmake_install - -%post -if [ "$1" = 1 ]; then - %{_sbindir}/alternatives --install %{_bindir}/ld ld %{_bindir}/ld.mold 1 -fi - -%postun -if [ "$1" = 0 ]; then - %{_sbindir}/alternatives --remove ld %{_bindir}/ld.mold -fi - -%if 0 -%check -%if 0%{?el8} -. /opt/rh/gcc-toolset-13/enable -%endif -%ctest -%endif - -%files -%license %{_docdir}/mold/LICENSE -%ghost %{_bindir}/ld -%{_bindir}/mold -%{_bindir}/ld.mold -%{_libdir}/mold/mold-wrapper.so -%{_libexecdir}/mold/ld -%{_mandir}/man1/ld.mold.1* -%{_mandir}/man1/mold.1* - -%changelog -%autochangelog - diff --git a/anda/devs/mold/update.rhai b/anda/devs/mold/update.rhai deleted file mode 100644 index b66e0248b6..0000000000 --- a/anda/devs/mold/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("rui314/mold")); diff --git a/anda/langs/go/xyproto-env/anda.hcl b/anda/langs/go/xyproto-env/anda.hcl deleted file mode 100644 index ea4f5641c0..0000000000 --- a/anda/langs/go/xyproto-env/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "golang-github-xyproto-env.spec" - } -} diff --git a/anda/langs/go/xyproto-env/golang-github-xyproto-env.spec b/anda/langs/go/xyproto-env/golang-github-xyproto-env.spec deleted file mode 100644 index 77e39d77e2..0000000000 --- a/anda/langs/go/xyproto-env/golang-github-xyproto-env.spec +++ /dev/null @@ -1,48 +0,0 @@ -# Generated by go2rpm 1.8.2 -%bcond_without check -%global debug_package %{nil} - -# https://github.com/xyproto/env -%global goipath github.com/xyproto/env -Version: 2.5.0 - -%gometa -f - -%global common_description %{expand: -Provide default values when fetching environment variables.} - -%global golicenses LICENSE -%global godocs README.md - -Name: golang-%{goname} -Release: 1%?dist -Summary: Provide default values when fetching environment variables - -License: BSD-3-Clause -URL: %{gourl} -Source: %{gosource} - -%description %{common_description} - -%gopkg - -%prep -%goprep - -%generate_buildrequires -%go_generate_buildrequires - -%build - -%install -%gopkginstall - -%if %{with check} -%check -%gocheck -%endif - -%gopkgfiles - -%changelog -%autochangelog diff --git a/anda/langs/go/xyproto-env/update.rhai b/anda/langs/go/xyproto-env/update.rhai deleted file mode 100644 index fd71963ab8..0000000000 --- a/anda/langs/go/xyproto-env/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh_tag("xyproto/env")); diff --git a/anda/langs/go/xyproto-env/v1/anda.hcl b/anda/langs/go/xyproto-env/v1/anda.hcl deleted file mode 100644 index ea4f5641c0..0000000000 --- a/anda/langs/go/xyproto-env/v1/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "golang-github-xyproto-env.spec" - } -} diff --git a/anda/langs/go/xyproto-env/v1/golang-github-xyproto-env.spec b/anda/langs/go/xyproto-env/v1/golang-github-xyproto-env.spec deleted file mode 100644 index 3728807777..0000000000 --- a/anda/langs/go/xyproto-env/v1/golang-github-xyproto-env.spec +++ /dev/null @@ -1,48 +0,0 @@ -# Generated by go2rpm 1.8.2 -%bcond_without check -%global debug_package %{nil} - -# https://github.com/xyproto/env -%global goipath github.com/xyproto/env -Version: 1.9.1 - -%gometa -f - -%global common_description %{expand: -Provide default values when fetching environment variables.} - -%global golicenses LICENSE -%global godocs README.md - -Name: golang-%{goname} -Release: 1%{?dist} -Summary: Provide default values when fetching environment variables - -License: BSD-3-Clause -URL: %{gourl} -Source: %{gosource} - -%description %{common_description} - -%gopkg - -%prep -%goprep - -%generate_buildrequires -%go_generate_buildrequires - -%build - -%install -%gopkginstall - -%if %{with check} -%check -%gocheck -%endif - -%gopkgfiles - -%changelog -%autochangelog diff --git a/anda/langs/go/xyproto-textoutput/anda.hcl b/anda/langs/go/xyproto-textoutput/anda.hcl deleted file mode 100644 index 7b35648f8e..0000000000 --- a/anda/langs/go/xyproto-textoutput/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "golang-github-xyproto-textoutput.spec" - } -} diff --git a/anda/langs/go/xyproto-textoutput/golang-github-xyproto-textoutput.spec b/anda/langs/go/xyproto-textoutput/golang-github-xyproto-textoutput.spec deleted file mode 100644 index 91156f027d..0000000000 --- a/anda/langs/go/xyproto-textoutput/golang-github-xyproto-textoutput.spec +++ /dev/null @@ -1,57 +0,0 @@ -# Generated by go2rpm 1.8.2 -%bcond_without check - -# https://github.com/xyproto/textoutput -%global goipath github.com/xyproto/textoutput -Version: 1.16.6 - -%gometa -f - -%global common_description %{expand: -:a: Output text, with and without colors.} - -%global golicenses LICENSE -%global godocs README.md - -Name: golang-%{goname} -Release: 1%?dist -Summary: :a: Output text, with and without colors - -License: BSD-3-Clause -URL: %{gourl} -Source: %{gosource} - -%description %{common_description} - -%gopkg - -%prep -%goprep - -%generate_buildrequires -%go_generate_buildrequires - -%build -for cmd in cmd/* ; do - %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd -done - -%install -%gopkginstall -install -m 0755 -vd %{buildroot}%{_bindir} -install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ - -%if %{with check} -%check -%gocheck -%endif - -%files -%license LICENSE -%doc README.md -%{_bindir}/* - -%gopkgfiles - -%changelog -%autochangelog diff --git a/anda/langs/go/xyproto-textoutput/update.rhai b/anda/langs/go/xyproto-textoutput/update.rhai deleted file mode 100644 index 7a7f25cbb7..0000000000 --- a/anda/langs/go/xyproto-textoutput/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh_tag("xyproto/textoutput")); diff --git a/anda/langs/go/xyproto-vt100/anda.hcl b/anda/langs/go/xyproto-vt100/anda.hcl deleted file mode 100644 index 23d0a4a7b3..0000000000 --- a/anda/langs/go/xyproto-vt100/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "golang-github-xyproto-vt100.spec" - } -} diff --git a/anda/langs/go/xyproto-vt100/golang-github-xyproto-vt100.spec b/anda/langs/go/xyproto-vt100/golang-github-xyproto-vt100.spec deleted file mode 100644 index 02060f31b8..0000000000 --- a/anda/langs/go/xyproto-vt100/golang-github-xyproto-vt100.spec +++ /dev/null @@ -1,57 +0,0 @@ -# Generated by go2rpm 1.8.2 -%bcond_without check - -# https://github.com/xyproto/vt100 -%global goipath github.com/xyproto/vt100 -Version: 1.14.5 - -%gometa -f - -%global common_description %{expand: -:computer: VT100 Terminal Package.} - -%global golicenses LICENSE -%global godocs README.md cmd/widget/README.md - -Name: golang-%{goname} -Release: 1%?dist -Summary: VT100 Terminal Package - -License: BSD-3-Clause -URL: %{gourl} -Source: %{gosource} - -%description %{common_description} - -%gopkg - -%prep -%goprep - -%generate_buildrequires -%go_generate_buildrequires - -%build -for cmd in cmd/* ; do - %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd -done - -%install -%gopkginstall -install -m 0755 -vd %{buildroot}%{_bindir} -install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ - -%if %{with check} -%check -%gocheck -%endif - -%files -%license LICENSE -%doc TODO.md README.md cmd/widget/README.md -%{_bindir}/* - -%gopkgfiles - -%changelog -%autochangelog diff --git a/anda/langs/go/xyproto-vt100/update.rhai b/anda/langs/go/xyproto-vt100/update.rhai deleted file mode 100644 index 6a78d4692e..0000000000 --- a/anda/langs/go/xyproto-vt100/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh_tag("xyproto/vt100")); diff --git a/anda/langs/rust/maturin/anda.hcl b/anda/langs/rust/maturin/anda.hcl deleted file mode 100644 index 6152003a22..0000000000 --- a/anda/langs/rust/maturin/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "rust-terra-maturin.spec" - } -} diff --git a/anda/langs/rust/maturin/rust-terra-maturin.spec b/anda/langs/rust/maturin/rust-terra-maturin.spec deleted file mode 100644 index b968371fb9..0000000000 --- a/anda/langs/rust/maturin/rust-terra-maturin.spec +++ /dev/null @@ -1,388 +0,0 @@ -# Generated by rust2rpm 26 -%global crate maturin - -Name: rust-terra-maturin -Version: 1.7.1 -Release: 1%?dist -Summary: Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages - -License: MIT OR Apache-2.0 -URL: https://crates.io/crates/maturin -Source: %{crates_source} - -BuildRequires: pkgconfig anda-srpm-macros cargo-rpm-macros >= 24 -Conflicts: rust-maturin - -%global _description %{expand: -Build and publish crates with pyo3, rust-cpython and cffi bindings as -well as rust binaries as python packages.} - -%description %{_description} - -%package -n terra-%{crate} -Summary: %{summary} -Conflicts: %crate - -%description -n terra-%{crate} %{_description} - -%files -n terra-%{crate} -%license license-apache -%license license-mit -%doc Changelog.md -%doc README.md -%{_bindir}/maturin - -%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 -%{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 - -%package -n %{name}+bytesize-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+bytesize-devel %{_description} - -This package contains library source intended for building other packages which -use the "bytesize" feature of the "%{crate}" crate. - -%files -n %{name}+bytesize-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+cargo-xwin-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+cargo-xwin-devel %{_description} - -This package contains library source intended for building other packages which -use the "cargo-xwin" feature of the "%{crate}" crate. - -%files -n %{name}+cargo-xwin-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+cargo-zigbuild-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+cargo-zigbuild-devel %{_description} - -This package contains library source intended for building other packages which -use the "cargo-zigbuild" feature of the "%{crate}" crate. - -%files -n %{name}+cargo-zigbuild-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+cli-completion-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+cli-completion-devel %{_description} - -This package contains library source intended for building other packages which -use the "cli-completion" feature of the "%{crate}" crate. - -%files -n %{name}+cli-completion-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+configparser-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+configparser-devel %{_description} - -This package contains library source intended for building other packages which -use the "configparser" feature of the "%{crate}" crate. - -%files -n %{name}+configparser-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+console-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+console-devel %{_description} - -This package contains library source intended for building other packages which -use the "console" feature of the "%{crate}" crate. - -%files -n %{name}+console-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+cross-compile-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+cross-compile-devel %{_description} - -This package contains library source intended for building other packages which -use the "cross-compile" feature of the "%{crate}" crate. - -%files -n %{name}+cross-compile-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+dialoguer-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+dialoguer-devel %{_description} - -This package contains library source intended for building other packages which -use the "dialoguer" feature of the "%{crate}" crate. - -%files -n %{name}+dialoguer-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+faster-tests-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+faster-tests-devel %{_description} - -This package contains library source intended for building other packages which -use the "faster-tests" feature of the "%{crate}" crate. - -%files -n %{name}+faster-tests-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+full-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+full-devel %{_description} - -This package contains library source intended for building other packages which -use the "full" feature of the "%{crate}" crate. - -%files -n %{name}+full-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+human-panic-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+human-panic-devel %{_description} - -This package contains library source intended for building other packages which -use the "human-panic" feature of the "%{crate}" crate. - -%files -n %{name}+human-panic-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+keyring-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+keyring-devel %{_description} - -This package contains library source intended for building other packages which -use the "keyring" feature of the "%{crate}" crate. - -%files -n %{name}+keyring-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+log-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+log-devel %{_description} - -This package contains library source intended for building other packages which -use the "log" feature of the "%{crate}" crate. - -%files -n %{name}+log-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+minijinja-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+minijinja-devel %{_description} - -This package contains library source intended for building other packages which -use the "minijinja" feature of the "%{crate}" crate. - -%files -n %{name}+minijinja-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+multipart-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+multipart-devel %{_description} - -This package contains library source intended for building other packages which -use the "multipart" feature of the "%{crate}" crate. - -%files -n %{name}+multipart-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+native-tls-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+native-tls-devel %{_description} - -This package contains library source intended for building other packages which -use the "native-tls" feature of the "%{crate}" crate. - -%files -n %{name}+native-tls-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+password-storage-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+password-storage-devel %{_description} - -This package contains library source intended for building other packages which -use the "password-storage" feature of the "%{crate}" crate. - -%files -n %{name}+password-storage-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+rustls-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rustls-devel %{_description} - -This package contains library source intended for building other packages which -use the "rustls" feature of the "%{crate}" crate. - -%files -n %{name}+rustls-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+scaffolding-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+scaffolding-devel %{_description} - -This package contains library source intended for building other packages which -use the "scaffolding" feature of the "%{crate}" crate. - -%files -n %{name}+scaffolding-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+tracing-subscriber-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+tracing-subscriber-devel %{_description} - -This package contains library source intended for building other packages which -use the "tracing-subscriber" feature of the "%{crate}" crate. - -%files -n %{name}+tracing-subscriber-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+unicode-xid-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+unicode-xid-devel %{_description} - -This package contains library source intended for building other packages which -use the "unicode-xid" feature of the "%{crate}" crate. - -%files -n %{name}+unicode-xid-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+upload-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+upload-devel %{_description} - -This package contains library source intended for building other packages which -use the "upload" feature of the "%{crate}" crate. - -%files -n %{name}+upload-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+ureq-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+ureq-devel %{_description} - -This package contains library source intended for building other packages which -use the "ureq" feature of the "%{crate}" crate. - -%files -n %{name}+ureq-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+wild-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+wild-devel %{_description} - -This package contains library source intended for building other packages which -use the "wild" feature of the "%{crate}" crate. - -%files -n %{name}+wild-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+xwin-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+xwin-devel %{_description} - -This package contains library source intended for building other packages which -use the "xwin" feature of the "%{crate}" crate. - -%files -n %{name}+xwin-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+zig-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+zig-devel %{_description} - -This package contains library source intended for building other packages which -use the "zig" feature of the "%{crate}" crate. - -%files -n %{name}+zig-devel -%ghost %{crate_instdir}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{version} -p1 -%cargo_prep_online - -%build -cargo add time -F macros -%cargo_build - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -%autochangelog diff --git a/anda/langs/rust/maturin/update.rhai b/anda/langs/rust/maturin/update.rhai deleted file mode 100644 index b92ca17a73..0000000000 --- a/anda/langs/rust/maturin/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("PyO3/maturin")); diff --git a/anda/langs/rust/nushell/anda.hcl b/anda/langs/rust/nushell/anda.hcl deleted file mode 100644 index a7f37bd92f..0000000000 --- a/anda/langs/rust/nushell/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "nushell.spec" - } -} diff --git a/anda/langs/rust/nushell/nushell.spec b/anda/langs/rust/nushell/nushell.spec deleted file mode 100644 index fa9b0fcd76..0000000000 --- a/anda/langs/rust/nushell/nushell.spec +++ /dev/null @@ -1,50 +0,0 @@ -Name: nushell -Version: 0.97.1 -Release: 1%?dist -Summary: A new type of shell -License: MIT -URL: https://www.nushell.sh/ -BuildRequires: anda-srpm-macros rust-packaging git-core -BuildRequires: openssl-devel-engine mold -Requires: glibc openssl zlib - -%description -%summary. - -%prep -rm -rf ./* -git clone https://github.com/nushell/nushell -b %version --depth 1 . -%cargo_prep_online - -%build -%{cargo_build} --workspace - -%install -mkdir -p %buildroot%_bindir -cp target/rpm/nu* %buildroot%_bindir/ -rm -rf .cargo - -%post -if [ "$1" = 1 ]; then - if [ ! -f %{_sysconfdir}/shells ] ; then - echo "%{_bindir}/nu" > %{_sysconfdir}/shells - echo "/bin/nu" >> %{_sysconfdir}/shells - else - grep -q "^%{_bindir}/nu$" %{_sysconfdir}/shells || echo "%{_bindir}/nu" >> %{_sysconfdir}/shells - grep -q "^/bin/nu$" %{_sysconfdir}/shells || echo "/bin/nu" >> %{_sysconfdir}/shells - fi -fi - -%postun -if [ "$1" = 0 ] && [ -f %{_sysconfdir}/shells ] ; then - sed -i '\!^%{_bindir}/nu$!d' %{_sysconfdir}/shells - sed -i '\!^/bin/nu$!d' %{_sysconfdir}/shells -fi - -%files -%doc README.md -%license LICENSE -%_bindir/nu* - -%changelog -%autochangelog diff --git a/anda/langs/rust/nushell/update.rhai b/anda/langs/rust/nushell/update.rhai deleted file mode 100644 index 039accd131..0000000000 --- a/anda/langs/rust/nushell/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("nushell/nushell")); diff --git a/anda/langs/rust/oxipng/anda.hcl b/anda/langs/rust/oxipng/anda.hcl deleted file mode 100644 index fc80691367..0000000000 --- a/anda/langs/rust/oxipng/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "rust-oxipng.spec" - } -} diff --git a/anda/langs/rust/oxipng/oxipng-fix-metadata-auto.diff b/anda/langs/rust/oxipng/oxipng-fix-metadata-auto.diff deleted file mode 100644 index 5e4fb32163..0000000000 --- a/anda/langs/rust/oxipng/oxipng-fix-metadata-auto.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- oxipng-9.1.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ oxipng-9.1.2/Cargo.toml 2024-07-13T07:08:09.478330+00:00 -@@ -150,7 +150,6 @@ - [features] - binary = [ - "dep:clap", -- "dep:glob", - "dep:env_logger", - ] - default = [ -@@ -169,13 +168,10 @@ - sanity-checks = ["dep:image"] - zopfli = ["dep:zopfli"] - --[target."cfg(windows)".dependencies.glob] --version = "0.3.1" --optional = true -- - [badges.maintenance] - status = "actively-developed" - - [badges.travis-ci] - branch = "master" - repository = "shssoichiro/oxipng" -+ diff --git a/anda/langs/rust/oxipng/rust-oxipng.spec b/anda/langs/rust/oxipng/rust-oxipng.spec deleted file mode 100644 index aaa8bf1f3d..0000000000 --- a/anda/langs/rust/oxipng/rust-oxipng.spec +++ /dev/null @@ -1,160 +0,0 @@ -# Generated by rust2rpm 26 -%bcond_without check -# don't mangle shebangs -%global __brp_mangle_shebangs %{nil} - -%global crate oxipng - -Name: rust-oxipng -Version: 9.1.2 -Release: %autorelease -Summary: Lossless PNG compression optimizer - -License: MIT -URL: https://crates.io/crates/oxipng -Source: %{crates_source} -# Automatically generated patch to strip dependencies and normalize metadata -Patch: oxipng-fix-metadata-auto.diff - -BuildRequires: anda-srpm-macros cargo-rpm-macros >= 24 - -%global _description %{expand: -A lossless PNG compression optimizer.} - -%description %{_description} - -%package -n %{crate} -Summary: %{summary} -# FIXME: paste output of %%cargo_license_summary here -License: # FIXME -# LICENSE.dependencies contains a full license breakdown - -%description -n %{crate} %{_description} - -%files -n %{crate} -%license LICENSE -#license LICENSE.dependencies -%doc CHANGELOG.md -%doc MANUAL.txt -%doc README.md -%{_bindir}/oxipng - -%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 %{crate_instdir}/LICENSE -%doc %{crate_instdir}/CHANGELOG.md -%doc %{crate_instdir}/MANUAL.txt -%doc %{crate_instdir}/README.md -%{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 - -%package -n %{name}+binary-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+binary-devel %{_description} - -This package contains library source intended for building other packages which -use the "binary" feature of the "%{crate}" crate. - -%files -n %{name}+binary-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+filetime-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+filetime-devel %{_description} - -This package contains library source intended for building other packages which -use the "filetime" feature of the "%{crate}" crate. - -%files -n %{name}+filetime-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+freestanding-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+freestanding-devel %{_description} - -This package contains library source intended for building other packages which -use the "freestanding" feature of the "%{crate}" crate. - -%files -n %{name}+freestanding-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+parallel-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+parallel-devel %{_description} - -This package contains library source intended for building other packages which -use the "parallel" feature of the "%{crate}" crate. - -%files -n %{name}+parallel-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+sanity-checks-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+sanity-checks-devel %{_description} - -This package contains library source intended for building other packages which -use the "sanity-checks" feature of the "%{crate}" crate. - -%files -n %{name}+sanity-checks-devel -%ghost %{crate_instdir}/Cargo.toml - -%package -n %{name}+zopfli-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+zopfli-devel %{_description} - -This package contains library source intended for building other packages which -use the "zopfli" feature of the "%{crate}" crate. - -%files -n %{name}+zopfli-devel -%ghost %{crate_instdir}/Cargo.toml - -%prep -%autosetup -n %{crate}-%{version} -p1 -%cargo_prep_online - -%build -%cargo_build -#{cargo_license_summary} -#{cargo_license} > LICENSE.dependencies - -%install -%cargo_install - -%if %{with check} -%check -%cargo_test -%endif - -%changelog -%autochangelog diff --git a/anda/langs/rust/oxipng/update.rhai b/anda/langs/rust/oxipng/update.rhai deleted file mode 100644 index 2042f2f0ae..0000000000 --- a/anda/langs/rust/oxipng/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(crates("oxipng")); diff --git a/anda/langs/rust/pop-launcher/.gitignore b/anda/langs/rust/pop-launcher/.gitignore deleted file mode 100644 index 1d804f11e5..0000000000 --- a/anda/langs/rust/pop-launcher/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -*.rpm -*.src.rpm -*.log -build/ -*.tar* diff --git a/anda/langs/rust/pop-launcher/0001-Copy-instead-of-symlink.patch b/anda/langs/rust/pop-launcher/0001-Copy-instead-of-symlink.patch deleted file mode 100644 index 2b5eb32f0d..0000000000 --- a/anda/langs/rust/pop-launcher/0001-Copy-instead-of-symlink.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 211c16228c2d7ec02eb63a23b3190bc840bb6b35 Mon Sep 17 00:00:00 2001 -From: Cappy Ishihara -Date: Fri, 20 May 2022 02:59:50 +0700 -Subject: [PATCH] Copy instead of symlink - ---- - justfile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/justfile b/justfile -index 9aab837..826049d 100644 ---- a/justfile -+++ b/justfile -@@ -60,7 +60,7 @@ install_plugins: - dest={{plugin_dir}}${plugin} - mkdir -p ${dest} - install -Dm0644 plugins/src/${plugin}/*.ron ${dest} -- ln -sf {{bin_path}} {{plugin_dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/') -+ cp -af {{bin_path}} {{plugin_dir}}${plugin}/$(echo ${plugin} | sed 's/_/-/') - done - - # Install pop-launcher scripts --- -2.36.1 - diff --git a/anda/langs/rust/pop-launcher/0001-Remove-frozen-lock.patch b/anda/langs/rust/pop-launcher/0001-Remove-frozen-lock.patch deleted file mode 100644 index e47fe9abe2..0000000000 --- a/anda/langs/rust/pop-launcher/0001-Remove-frozen-lock.patch +++ /dev/null @@ -1,25 +0,0 @@ -From db7faffa6d4da9c53a34180854508ad89acf16de Mon Sep 17 00:00:00 2001 -From: Cappy Ishihara -Date: Fri, 20 May 2022 19:26:32 +0700 -Subject: [PATCH] Remove frozen lock - ---- - justfile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/justfile b/justfile -index 826049d..261fb13 100644 ---- a/justfile -+++ b/justfile -@@ -2,7 +2,7 @@ debug := '0' - vendor := '0' - - target := if debug == '1' { 'debug' } else { 'release' } --vendor_args := if vendor == '1' { '--frozen --offline' } else { '' } -+vendor_args := if vendor == '1' { '--offline' } else { '' } - debug_args := if debug == '1' { '' } else { '--release' } - cargo_args := vendor_args + ' ' + debug_args - --- -2.36.1 - diff --git a/anda/langs/rust/pop-launcher/anda.hcl b/anda/langs/rust/pop-launcher/anda.hcl deleted file mode 100644 index a7ce998c67..0000000000 --- a/anda/langs/rust/pop-launcher/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "pop-launcher.spec" - } -} diff --git a/anda/langs/rust/pop-launcher/pop-launcher.spec b/anda/langs/rust/pop-launcher/pop-launcher.spec deleted file mode 100644 index 33a3b8ee91..0000000000 --- a/anda/langs/rust/pop-launcher/pop-launcher.spec +++ /dev/null @@ -1,61 +0,0 @@ -%global debug_package %{nil} -%define _disable_source_fetch 0 -%bcond_without check -%global debug_package %{nil} - -%global crate pop-launcher - -Name: %{crate} -Version: 1.2.1 -Release: 1%{?dist} -Summary: Library for writing plugins and frontends for pop-launcher - -# Upstream license specification: MPL-2.0 -License: MPL-2.0 -URL: https://github.com/pop-os/launcher/ -Source: https://github.com/pop-os/launcher/archive/refs/tags/%{version}.tar.gz -Patch: 0001-Copy-instead-of-symlink.patch -Patch1: 0001-Remove-frozen-lock.patch - -Provides: rust-%{crate} = 1.2.1 - -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 -BuildRequires: external:crate:just -BuildRequires: anda-srpm-macros -BuildRequires: fdupes - -%global _description %{expand: -Library for writing plugins and frontends for pop-launcher.} - -%description %{_description} - - -%prep -%autosetup -n launcher-%{version_no_tilde} -%cargo_prep_online - -%build -just - -%install -just rootdir=%{buildroot} install -chmod +x %buildroot%_prefix/lib/pop-launcher/scripts/{session,system76-power}/*.sh - -%fdupes %buildroot%_prefix/ - -%if %{with check} -%check -%cargo_test -%endif - - -%files -%doc README.md -%license LICENSE -%{_bindir}/pop-launcher -%{_prefix}/lib/pop-launcher/ - -%changelog -%autochangelog diff --git a/anda/langs/rust/pop-launcher/prepare.sh b/anda/langs/rust/pop-launcher/prepare.sh deleted file mode 100755 index 512a46370c..0000000000 --- a/anda/langs/rust/pop-launcher/prepare.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash -set -x -spectool -g pop-launcher.spec || true - -FOLDER="$PWD" - -# Extract the tarball to /tmp/src/ -mkdir -p /tmp/src -tar -xzf ./1.*.tar.gz -C /tmp/src - -pushd /tmp/src/* || exit - -just vendor - -mv -v ./vendor.tar "$FOLDER"/vendor.tar - - -# tarball the .cargo folder - -tar -czf "$FOLDER"/cargo-config.tar.gz .cargo - - -popd || exit - -rm -rf /tmp/src -set +x \ No newline at end of file diff --git a/anda/langs/rust/pop-launcher/umpkg.cfg b/anda/langs/rust/pop-launcher/umpkg.cfg deleted file mode 100644 index 4bb1553770..0000000000 --- a/anda/langs/rust/pop-launcher/umpkg.cfg +++ /dev/null @@ -1,9 +0,0 @@ -[umpkg] -srcdir = $PWD -git_repo = -git_ref = -build_script = -build_mode = local -tag = -spec = - diff --git a/anda/langs/rust/pop-launcher/umpkg.toml b/anda/langs/rust/pop-launcher/umpkg.toml deleted file mode 100644 index 23a4ff4d42..0000000000 --- a/anda/langs/rust/pop-launcher/umpkg.toml +++ /dev/null @@ -1,5 +0,0 @@ -[package] -build_method = "mock" -spec = "pop-launcher.spec" -git_repo = "https://github.com/Ultramarine-Linux/pop-launcher.git" -build_script = "bash prepare.sh" \ No newline at end of file diff --git a/anda/langs/rust/pop-launcher/update.rhai b/anda/langs/rust/pop-launcher/update.rhai deleted file mode 100644 index 9e345dc572..0000000000 --- a/anda/langs/rust/pop-launcher/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("pop-os/launcher")); diff --git a/anda/lib/dbus-test-runner/anda.hcl b/anda/lib/dbus-test-runner/anda.hcl deleted file mode 100644 index a0b0123d73..0000000000 --- a/anda/lib/dbus-test-runner/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "dbus-test-runner.spec" - } -} diff --git a/anda/lib/dbus-test-runner/dbus-test-runner.spec b/anda/lib/dbus-test-runner/dbus-test-runner.spec deleted file mode 100644 index eecb489024..0000000000 --- a/anda/lib/dbus-test-runner/dbus-test-runner.spec +++ /dev/null @@ -1,77 +0,0 @@ -Name: dbus-test-runner -Version: 19.04.0 -Release: 2%?dist -Summary: A small utility to run executables under a new DBus session for testing -License: GPL-3.0 -URL: https://launchpad.net/dbus-test-runner -Source0: %{url}/19.04/%{version}/+download/dbus-test-runner-%{version}.tar.gz -Source1: https://salsa.debian.org/debian/dbus-test-runner/-/raw/debian/sid/debian/man/dbus-test-runner.1 -Source2: https://salsa.debian.org/debian/dbus-test-runner/-/archive/debian/sid/dbus-test-runner-debian-sid.tar.gz - -BuildRequires: automake libtool mate-common -BuildRequires: pkgconfig -BuildRequires: make -BuildRequires: g++ -BuildRequires: gcc -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(gio-2.0) -BuildRequires: pkgconfig(gio-unix-2.0) -BuildRequires: pkgconfig(dbus-glib-1) - -%description -A small little utility to run a couple of executables under a new DBus session -for testing. - -%package devel -Summary: Development files for dbus-test-runner -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -Development files and headers for dbus-test-runner. - -%prep -%autosetup -n dbus-test-runner-%{version} - -# Apply patch fixes from Debian -tar -xf '%{SOURCE2}' -for i in dbus-test-runner-debian-sid/debian/patches/*.patch; do patch -p1 < $i; done - -%build -NOCONFIGURE=1 autoreconf -fi - -%configure -%make_build - -%install -%make_install - -# Don't package static files -rm -rf %{buildroot}%{_libdir}/libdbustest.a - -# Install manpage -install -dm755 %{buildroot}%{_mandir}/man1/ -install -Dm644 %{SOURCE1} %{buildroot}%{_mandir}/man1/ - -%files -%doc README -%license COPYING -%{_libdir}/libdbustest.so.* -%dir %{_libexecdir}/dbus-test-runner -%{_libexecdir}/dbus-test-runner/dbus-test-watchdog -%{_bindir}/dbus-test-runner -%{_mandir}/man1/dbus-test-runner.1.gz -%dir %{_datadir}/dbus-test-runner -%{_datadir}/dbus-test-runner/*.conf -%{_datadir}/dbus-test-runner/dbus-test-bustle-handler - -%files devel -%doc README -%license COPYING -%dir %{_includedir}/libdbustest-1 -%dir %{_includedir}/libdbustest-1/libdbustest -%{_includedir}/libdbustest-1/libdbustest/*.h -%{_libdir}/libdbustest.so -%{_libdir}/pkgconfig/dbustest-1.pc - -%changelog -%autochangelog diff --git a/anda/lib/dbus-test-runner/update.rhai b/anda/lib/dbus-test-runner/update.rhai deleted file mode 100644 index c63475cd29..0000000000 --- a/anda/lib/dbus-test-runner/update.rhai +++ /dev/null @@ -1,3 +0,0 @@ -let html = get("https://launchpad.net/dbus-test-runner"); -let v = find("Latest version is ([\\d.]+)", html, 1); -rpm.version(v); diff --git a/anda/lib/libindicator/anda.hcl b/anda/lib/libindicator/anda.hcl deleted file mode 100644 index b76b3d96ec..0000000000 --- a/anda/lib/libindicator/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "terra-libindicator.spec" - } -} diff --git a/anda/lib/libindicator/terra-libindicator.spec b/anda/lib/libindicator/terra-libindicator.spec deleted file mode 100644 index 611037c11a..0000000000 --- a/anda/lib/libindicator/terra-libindicator.spec +++ /dev/null @@ -1,179 +0,0 @@ -Name: terra-libindicator -Version: 16.10.0 -Release: %autorelease -Summary: Shared functions for Ayatana indicators - -License: GPL-3.0 -URL: https://launchpad.net/libindicator -Source0: http://archive.ubuntu.com/ubuntu/pool/universe/libi/libindicator/libindicator_16.10.0+18.04.20180321.1.orig.tar.gz -Source1: https://raw.githubusercontent.com/ubports/libindicator/097906132ffb479205be15a92cae97e5daf4e154/data/indicators.target -# From GLib 2.62 -Patch1: http://archive.ubuntu.com/ubuntu/pool/universe/libi/libindicator/libindicator_16.10.0+18.04.20180321.1-0ubuntu5.diff.gz - -BuildRequires: chrpath -BuildRequires: gtk-doc -BuildRequires: libtool -BuildRequires: pkgconfig -BuildRequires: pkgconfig(systemd) -BuildRequires: dbus-glib-devel -BuildRequires: gtk2-devel -BuildRequires: gtk3-devel -BuildRequires: systemd-rpm-macros -BuildRequires: gnome-common -BuildRequires: make - -%description -A set of symbols and convenience functions that all Ayatana indicators are -likely to use. - -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig - -%description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. - - -%package gtk3 -Summary: GTK+3 build of %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description gtk3 -A set of symbols and convenience functions that all Ayatana indicators -are likely to use. This is the GTK+ 3 build of %{name}, for use -by GTK+ 3 apps. - - -%package gtk3-devel -Summary: Development files for %{name}-gtk3 -Requires: %{name}-gtk3%{?_isa} = %{version}-%{release} -Requires: pkgconfig - -%description gtk3-devel -The %{name}-gtk3-devel package contains libraries and header files for -developing applications that use %{name}-gtk3. - -%prep -%setup -q -c -%patch 1 -p1 -b .orig -# Remove all IDO references -# This is only needed for tools/indicator-loader.c -sed -i '6d' ./Makefile.am -sed -i 's!libindicator \\!libindicator!' Makefile.am -sed -i '59d' configure.ac -sed -ie 58's/$/) &/' configure.ac - -sed -i.addvar configure.ac \ - -e '\@LIBINDICATOR_LIBS@s|\$LIBM| \$LIBM|' -sed -i 's!tests/Makefile!!' configure.ac - -NOCONFIGURE=1 \ - sh autogen.sh - -%build -%global _configure ../configure --libdir=%{_libdir} -rm -rf build-gtk2 build-gtk3 -mkdir build-gtk2 build-gtk3 - -pushd build-gtk2 -export CFLAGS="%{optflags} -Wno-error=deprecated-declarations" -%configure --with-gtk=2 --disable-tests --disable-static --disable-silent-rules -sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool -sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool -sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} -popd - -pushd build-gtk3 -export CFLAGS="%{optflags} -Wno-error=deprecated-declarations" -%configure --with-gtk=3 --disable-tests --disable-static --disable-silent-rules -sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool -sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool -sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} -popd - - -%install -pushd build-gtk2 -make install DESTDIR=%{buildroot} -popd -( - PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig - export PKG_CONFIG_PATH - for var in \ - iconsdir \ - indicatordir \ - %{nil} - do - vardir=$(pkg-config --variable=${var} indicator-0.4) - mkdir -p %{buildroot}${vardir} - done -) - -pushd build-gtk3 -make install DESTDIR=%{buildroot} -popd -( - PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig - export PKG_CONFIG_PATH - for var in \ - iconsdir \ - indicatordir \ - %{nil} - do - vardir=$(pkg-config --variable=${var} indicator3-0.4) - mkdir -p %{buildroot}${vardir} - done -) - -# Ubuntu doesn't package the dummy indicator -%dnl rm -f %{buildroot}%{_libdir}/libdummy-indicator*.so - -# Remove libtool files -find %{buildroot} -type f -name '*.la' -delete - -# Lomiri compatability -install -Dm644 %{SOURCE1} %{buildroot}%{_userunitdir}/ - -%ldconfig_scriptlets -%ldconfig_scriptlets gtk3 - -%files -%license COPYING -%doc AUTHORS COPYING NEWS ChangeLog README -%{_libdir}/libindicator.so.* -%{_prefix}/lib/indicators/ -%dir %{_datadir}/libindicator/ -%dir %{_datadir}/libindicator/icons/ -%{_userunitdir}/indicators-pre.target -%{_userunitdir}/indicators.target - -%files devel -%dir %{_includedir}/libindicator-0.4/ -%dir %{_includedir}/libindicator-0.4/libindicator/ -%{_includedir}/libindicator-0.4/libindicator/*.h -%{_libdir}/libindicator.so -%{_libdir}/pkgconfig/indicator-0.4.pc - -%files gtk3 -%doc AUTHORS COPYING NEWS ChangeLog README -%license COPYING -%{_libdir}/libindicator3.so.* -%{_prefix}/lib/indicators3/ -%dir %{_datadir}/libindicator/ -%dir %{_datadir}/libindicator/icons/ - -%files gtk3-devel -%doc README -%license COPYING -%dir %{_includedir}/libindicator3-0.4/ -%dir %{_includedir}/libindicator3-0.4/libindicator/ -%{_includedir}/libindicator3-0.4/libindicator/*.h -%{_libdir}/libindicator3.so -%{_libdir}/pkgconfig/indicator3-0.4.pc - -%changelog -%autochangelog diff --git a/anda/lib/marble-gtk/anda.hcl b/anda/lib/marble-gtk/anda.hcl deleted file mode 100644 index d10e213a4c..0000000000 --- a/anda/lib/marble-gtk/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "marble-gtk.spec" - } -} diff --git a/anda/lib/marble-gtk/marble-gtk.spec b/anda/lib/marble-gtk/marble-gtk.spec deleted file mode 100644 index d1d5a7128d..0000000000 --- a/anda/lib/marble-gtk/marble-gtk.spec +++ /dev/null @@ -1,52 +0,0 @@ -Name: marble-gtk -Version: 1.3.0 -Release: 1%{?dist} -Summary: My GTK library -License: GPL-3.0 -URL: https://gitlab.gnome.org/raggesilver/marble -BuildRequires: vala pkgconfig(gtk4) meson >= 0.50.0 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.24 -BuildRequires: pkgconfig(gio-2.0) >= 2.50 - -Provides: pkgconfig(marble) = 42 - -Source0: %{url}/-/archive/v%{version}/marble-v%{version}.tar.gz - -%description -%summary. -Just as Elementary has Granite I have Marble, my collection of useful functions -and reusable widgets. - -%package devel -Summary: Development files for marble-gtk - -%description devel -%summary. - - -%prep -%autosetup -n marble-v%{version} - -%build -%meson -%meson_build - -%install -%meson_install - -%files -%doc README.md -%license COPYING -/usr/lib64/girepository-1.0/Marble-*.typelib -/usr/lib64/libmarble.so.* -/usr/share/vala/vapi/marble.* - -%files devel -/usr/include/marble.h -%_libdir/libmarble.so -%_libdir/pkgconfig/marble.pc -%_datadir/gir-1.0/Marble-%version.gir - -%changelog -* Sat Oct 29 2022 windowsboy111 - 1.3.0-1 -- Initial package diff --git a/anda/lib/marble-gtk/update.rhai b/anda/lib/marble-gtk/update.rhai deleted file mode 100644 index 474d711912..0000000000 --- a/anda/lib/marble-gtk/update.rhai +++ /dev/null @@ -1,3 +0,0 @@ -let txt = get("https://gitlab.gnome.org/api/v4/projects/20662/releases/"); -let ver = txt.json_arr()[0].tag_name; -rpm.version(ver); diff --git a/anda/lib/placebo/anda.hcl b/anda/lib/placebo/anda.hcl deleted file mode 100644 index 43b027d77c..0000000000 --- a/anda/lib/placebo/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "terra-libplacebo.spec" - } -} diff --git a/anda/lib/placebo/terra-libplacebo.spec b/anda/lib/placebo/terra-libplacebo.spec deleted file mode 100644 index 1d8034b7ce..0000000000 --- a/anda/lib/placebo/terra-libplacebo.spec +++ /dev/null @@ -1,80 +0,0 @@ -Name: terra-libplacebo -Version: 7.349.0 -Release: 1%?dist -Summary: Reusable library for GPU-accelerated video/image rendering primitives - -License: LGPLv2+ -URL: https://github.com/haasn/libplacebo -Source0: %{url}/archive/v%{version}%{?prerelease}/libplacebo-%{version}%{?prerelease}.tar.gz - -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: meson -BuildRequires: glad2 >= 2.0.0 -BuildRequires: lcms2-devel -BuildRequires: libdovi-devel -BuildRequires: libepoxy-devel -BuildRequires: libunwind-devel -BuildRequires: libshaderc-devel >= 2018.0-1 -BuildRequires: python3-mako -BuildRequires: spirv-tools-devel -BuildRequires: vulkan-devel -BuildRequires: glslang-devel -BuildRequires: xxhash-devel - - -%description -libplacebo is essentially the core rendering algorithms and ideas of -mpv turned into a library. This grew out of an interest to accomplish -the following goals: - -- Clean up mpv's internal API and make it reusable for other projects. -- Provide a standard library of useful GPU-accelerated image processing - primitives based on GLSL, so projects like VLC or Firefox can use them - without incurring a heavy dependency on `libmpv`. -- Rewrite core parts of mpv's GPU-accelerated video renderer on top of - redesigned abstractions. (Basically, I wanted to eliminate code smell - like `shader_cache.c` and totally redesign `gpu/video.c`) - - -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -The %{name}-devel package contains libraries and header files for -developing applications that use %{name}. - - -%prep -%autosetup -p1 -n libplacebo-%{version}%{?prerelease} - - -%build -%meson \ - -Dd3d11=disabled \ - -Ddemos=False - -%meson_build - - -%install -%meson_install - - -%ldconfig_scriptlets - - -%files -%license LICENSE -%doc README.md -%{_libdir}/libplacebo.so.* - -%files devel -%{_includedir}/* -%{_libdir}/*.so -%{_libdir}/pkgconfig/libplacebo.pc - - -%changelog -%autochangelog diff --git a/anda/lib/placebo/update.rhai b/anda/lib/placebo/update.rhai deleted file mode 100644 index 9db2da940d..0000000000 --- a/anda/lib/placebo/update.rhai +++ /dev/null @@ -1,4 +0,0 @@ -// let txt = get("https://code.videolan.org/api/v4/projects/380/releases/"); -// rpm.version(txt.json_arr()[0].tag_name); -// apparently their API doesn't work (for sake) -rpm.version(gh("haasn/libplacebo")); diff --git a/anda/misc/uxplay/anda.hcl b/anda/misc/uxplay/anda.hcl deleted file mode 100644 index 9a43e44b5a..0000000000 --- a/anda/misc/uxplay/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "uxplay.spec" - } -} diff --git a/anda/misc/uxplay/update.rhai b/anda/misc/uxplay/update.rhai deleted file mode 100644 index 03a2e63fec..0000000000 --- a/anda/misc/uxplay/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("FDH2/UxPlay")); diff --git a/anda/misc/uxplay/uxplay.spec b/anda/misc/uxplay/uxplay.spec deleted file mode 100644 index 05441aa2ec..0000000000 --- a/anda/misc/uxplay/uxplay.spec +++ /dev/null @@ -1,63 +0,0 @@ -Name: uxplay -Version: 1.69 -Release: 1%?dist -Summary: AirPlay Unix mirroring server -License: GPL-3.0 -URL: https://github.com/FDH2/UxPlay -Source0: %url/archive/refs/tags/v%version.tar.gz -Requires: openssl libplist avahi gstreamer1-plugin-libav gstreamer1-plugins-bad-free gstreamer1-plugins-good gstreamer1-plugins-base -Recommends: gstreamer1-vaapi -BuildRequires: cmake desktop-file-utils systemd-rpm-macros gcc gcc-c++ openssl-devel avahi-compat-libdns_sd-devel -BuildRequires: pkgconfig(gstreamer-1.0) pkgconfig(gstreamer-sdp-1.0) pkgconfig(gstreamer-video-1.0) pkgconfig(gstreamer-app-1.0) pkgconfig(libplist-2.0) - -%description -%summary. - -%prep -%autosetup -n UxPlay-%version -cat < %name.desktop -[Desktop Entry] -Type=Application -Version=1.0 -Name=UxPlay -GenericName=AirPlay server -Exec=%_bindir/uxplay -Icon=computer-apple-ipad-symbolic -Terminal=true -Categories=AudioVideo; -Comment=%summary -EOF - -%build -%cmake . -DNO_MARCH_NATIVE=ON -%cmake_build --config Release - - -%install -mkdir -p %buildroot%_bindir %buildroot%_datadir/applications %buildroot%_mandir/man1 -install -Dm755 redhat-linux-build/%name %buildroot%_bindir/ -install -Dm644 %name.desktop %buildroot%_datadir/applications/ - -mv %name.1 %buildroot%_mandir/man1/%name.1 - -%post -%systemd_post avahi-daemon.service - -%preun -%systemd_preun avahi-daemon.service - -%postun -%systemd_postun_with_restart avahi-daemon.service - -%check -desktop-file-validate %name.desktop - -%files -%license LICENSE -%doc README.* -%_bindir/%name -%_datadir/applications/%name.desktop -%_mandir/man1/* - -%changelog -%autochangelog diff --git a/anda/system/mesa-freeworld/Mesa-MLAA-License-Clarification-Email.txt b/anda/system/mesa-freeworld/Mesa-MLAA-License-Clarification-Email.txt deleted file mode 100644 index 30bdf2e9dd..0000000000 --- a/anda/system/mesa-freeworld/Mesa-MLAA-License-Clarification-Email.txt +++ /dev/null @@ -1,117 +0,0 @@ - -Subject: RE: Question about Mesa MLAA license -From: Jorge Jimenez -Date: 01/08/2013 12:50 PM -To: Tom Callaway -CC: "jorge@iryoku.com" - -Yes to both questions. - -Thanks, -Jorge - -From: Tom Callaway -Sent: January 8, 2013 6:49 PM -To: Jorge Jimenez -CC: jorge@iryoku.com -Subject: Re: Question about Mesa MLAA license - -On 01/08/2013 12:39 PM, Jorge Jimenez wrote: -> Hi Tom, -> -> What we meant with that is that we made an exception for clause 2. -> Instead of clause 2, in the case of the Mesa project, you have to name -> the technique Jimenez's MLAA in the config options of Mesa. We did that -> just to allow them to solve license issues. This exception should be for -> the Mesa project, and any project using Mesa, like Fedora. -> -> We want to widespread usage of our MLAA, so we want to avoid any kind of -> license complications. Hope current one is good for Fedora, if not -> please tell, and we'll see what we can do! - -Okay, a few more questions: - -* If Fedora decides to simply reproduce the quoted statement: -"Uses Jimenez's MLAA. Copyright (C) 2010 by Jorge Jimenez, Belen Masia, -Jose I. Echevarria, Fernando Navarro and Diego Gutierrez." - -Specifically, if this is done as part of documentation included with -Mesa, is that sufficient to meet clause 2 even if the Mesa config option -is not set as described in your exception? - -* Currently, the Mesa config option for MLAA says: "Morphological -anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default -quality". Is this in compliance with your exception? - -Thanks again, - -~tom - -== -Fedora Project - -Subject: RE: Question about Mesa MLAA license -From: Jorge Jimenez -Date: 01/08/2013 12:39 PM -To: "jorge@iryoku.com" , Tom Callaway - -Hi Tom, - -What we meant with that is that we made an exception for clause 2. -Instead of clause 2, in the case of the Mesa project, you have to name -the technique Jimenez's MLAA in the config options of Mesa. We did that -just to allow them to solve license issues. This exception should be for -the Mesa project, and any project using Mesa, like Fedora. - -We want to widespread usage of our MLAA, so we want to avoid any kind of -license complications. Hope current one is good for Fedora, if not -please tell, and we'll see what we can do! - -Cheers, -Jorge - -From: Tom Callaway -Sent: January 8, 2013 6:30 PM -To: jorge@iryoku.com -Subject: Question about Mesa MLAA license - -Jorge, - -Thanks for all of your fantastic graphics work! I have been auditing -Fedora (a popular distribution of Linux) for license compliance and I -came across your MLAA code in Mesa. - -The license says: - - * 2. Redistributions in binary form must reproduce the following -statement: - * - * "Uses Jimenez's MLAA. Copyright (C) 2010 by Jorge Jimenez, Belen Masia, - * Jose I. Echevarria, Fernando Navarro and Diego Gutierrez." - * - * Only for use in the Mesa project, this point 2 is filled by naming the - * technique Jimenez's MLAA in the Mesa config options. - -That wording is unclear. When you say "Only for use in the Mesa -project...", it seems like you could either be saying: - -- This code may only be used as part of Mesa. - -OR - -- In Mesa, you can comply with clause 2 by simply selecting "Jimenez's -MLAA" in the Mesa config options. - -***** - -If the first item is true, then we may have to remove the MLAA code from -Fedora's copy of Mesa. However, looking at the license on your SMAA -code, I do not believe it to be the case. Please let me know either way! - -Thanks in advance, - -Tom Callaway -Fedora Legal - -== -Fedora Project diff --git a/anda/system/mesa-freeworld/anda.hcl b/anda/system/mesa-freeworld/anda.hcl deleted file mode 100644 index d30486b421..0000000000 --- a/anda/system/mesa-freeworld/anda.hcl +++ /dev/null @@ -1,9 +0,0 @@ -project pkg { - rpm { - spec = "mesa-freeworld.spec" - } - labels { - updbranch = 1 - multilib = 1 - } -} diff --git a/anda/system/mesa-freeworld/mesa-freeworld.spec b/anda/system/mesa-freeworld/mesa-freeworld.spec deleted file mode 100644 index 3bd13bccbe..0000000000 --- a/anda/system/mesa-freeworld/mesa-freeworld.spec +++ /dev/null @@ -1,604 +0,0 @@ -%global srcname mesa -%global _description These drivers contains video acceleration codecs for decoding/encoding H.264 and H.265 \ -algorithms and decoding only VC1 algorithm. -%ifnarch s390x -%global with_hardware 1 -%global with_radeonsi 1 -%global with_vmware 1 -%global with_vulkan_hw 0 -%global with_vdpau 1 -%global with_va 1 -%if !0%{?rhel} -%global with_r300 1 -%global with_r600 1 -%global with_nine 0 -#%%if 0%%{?with_vulkan_hw} -%global with_nvk %{with_vulkan_hw} -#%%endif -%global with_omx 0 -%global with_opencl 0 -%endif -#%%global base_vulkan %%{?with_vulkan_hw:,amd}%%{!?with_vulkan_hw:%%{nil}} -%endif - -#%%ifnarch %%{ix86} -%if !0%{?rhel} -%global with_teflon 0 -%endif -#%%endif - -%ifarch %{ix86} x86_64 -%global with_crocus 0 -%global with_i915 0 -%global with_iris 0 -%global with_xa 0 -%global with_intel_clc 0 -#%%global intel_platform_vulkan %%{?with_vulkan_hw:,intel,intel_hasvk}%%{!?with_vulkan_hw:%%{nil}} -%endif -#%%ifarch x86_64 -#%%if !0%%{?with_vulkan_hw} -%global with_intel_vk_rt 0 -#%%endif -#%%endif - -%ifarch aarch64 x86_64 %{ix86} -%global with_kmsro 0 -%if !0%{?rhel} -%global with_lima 0 -%global with_vc4 0 -%global with_etnaviv 0 -%global with_tegra 0 -%endif -%global with_freedreno 0 -%global with_panfrost 0 -%global with_v3d 0 -%global with_xa 0 -#%%global extra_platform_vulkan %%{?with_vulkan_hw:,broadcom,freedreno,panfrost,imagination-experimental}%%{!?with_vulkan_hw:%%{nil}} -%endif - -%if !0%{?rhel} -%global with_libunwind 1 -%global with_lmsensors 1 -%endif - -%ifarch %{valgrind_arches} -%bcond_without valgrind -%else -%bcond_with valgrind -%endif - -#%%global vulkan_drivers swrast%%{?base_vulkan}%%{?intel_platform_vulkan}%%{?extra_platform_vulkan}%%{?with_nvk:,nouveau} - -Name: %{srcname}-freeworld -Summary: Mesa graphics libraries -%global ver 24.2.2 -Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 2%{?dist} -License: MIT AND BSD-3-Clause AND SGI-B-2.0 -URL: http://www.mesa3d.org - -Source0: https://archive.mesa3d.org/%{srcname}-%{ver}.tar.xz -# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license. -# Source1 contains email correspondence clarifying the license terms. -# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD. -Source1: Mesa-MLAA-License-Clarification-Email.txt -Source2: org.mesa3d.vaapi.freeworld.metainfo.xml -Source3: org.mesa3d.vdpau.freeworld.metainfo.xml - -BuildRequires: meson >= 1.3.0 -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: gettext -%if 0%{?with_hardware} -BuildRequires: kernel-headers -%endif -# We only check for the minimum version of pkgconfig(libdrm) needed so that the -# SRPMs for each arch still have the same build dependencies. See: -# https://bugzilla.redhat.com/show_bug.cgi?id=1859515 -BuildRequires: pkgconfig(libdrm) >= 2.4.122 -%if 0%{?with_libunwind} -BuildRequires: pkgconfig(libunwind) -%endif -BuildRequires: pkgconfig(expat) -BuildRequires: pkgconfig(zlib) >= 1.2.3 -BuildRequires: pkgconfig(libzstd) -BuildRequires: pkgconfig(libselinux) -BuildRequires: pkgconfig(wayland-scanner) -BuildRequires: pkgconfig(wayland-protocols) >= 1.34 -BuildRequires: pkgconfig(wayland-client) >= 1.11 -BuildRequires: pkgconfig(wayland-server) >= 1.11 -BuildRequires: pkgconfig(wayland-egl-backend) >= 3 -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xext) -BuildRequires: pkgconfig(xdamage) >= 1.1 -BuildRequires: pkgconfig(xfixes) -BuildRequires: pkgconfig(xcb-glx) >= 1.8.1 -BuildRequires: pkgconfig(xxf86vm) -BuildRequires: pkgconfig(xcb) -BuildRequires: pkgconfig(x11-xcb) -BuildRequires: pkgconfig(xcb-dri2) >= 1.8 -BuildRequires: pkgconfig(xcb-dri3) -BuildRequires: pkgconfig(xcb-present) -BuildRequires: pkgconfig(xcb-sync) -BuildRequires: pkgconfig(xshmfence) >= 1.1 -BuildRequires: pkgconfig(dri2proto) >= 2.8 -BuildRequires: pkgconfig(glproto) >= 1.4.14 -BuildRequires: pkgconfig(xcb-xfixes) -BuildRequires: pkgconfig(xcb-randr) -BuildRequires: pkgconfig(xrandr) >= 1.3 -BuildRequires: bison -BuildRequires: flex -%if 0%{?with_lmsensors} -BuildRequires: lm_sensors-devel -%endif -%if 0%{?with_vdpau} -BuildRequires: pkgconfig(vdpau) >= 1.1 -%endif -%if 0%{?with_va} -BuildRequires: pkgconfig(libva) >= 0.38.0 -%endif -%if 0%{?with_omx} -BuildRequires: pkgconfig(libomxil-bellagio) -%endif -BuildRequires: pkgconfig(libelf) -BuildRequires: pkgconfig(libglvnd) >= 1.3.2 -BuildRequires: llvm-devel >= 7.0.0 -%if 0%{?fedora} >= 41 -BuildRequires: llvm-devel >= 19.0.0 -%endif -%if 0%{?with_teflon} -BuildRequires: flatbuffers-devel -BuildRequires: flatbuffers-compiler -BuildRequires: xtensor-devel -%endif -%if 0%{?with_opencl} || 0%{?with_nvk} || 0%{?with_intel_clc} -BuildRequires: rust-packaging -%endif -%ifarch %{ix86} x86_64 -BuildRequires: clang-devel -BuildRequires: bindgen -BuildRequires: pkgconfig(libclc) -BuildRequires: pkgconfig(SPIRV-Tools) -BuildRequires: pkgconfig(LLVMSPIRVLib) -%endif -%if 0%{?with_nvk} -BuildRequires: cbindgen -BuildRequires: (crate(paste) >= 1.0.14 with crate(paste) < 2) -BuildRequires: (crate(proc-macro2) >= 1.0.56 with crate(proc-macro2) < 2) -BuildRequires: (crate(quote) >= 1.0.25 with crate(quote) < 2) -BuildRequires: (crate(syn/clone-impls) >= 2.0.15 with crate(syn/clone-impls) < 3) -BuildRequires: (crate(unicode-ident) >= 1.0.6 with crate(unicode-ident) < 2) -%endif -%if %{with valgrind} -BuildRequires: pkgconfig(valgrind) -%endif -BuildRequires: python3-devel -BuildRequires: python3-mako -%if 0%{?with_intel_clc} -BuildRequires: python3-ply -%endif -BuildRequires: python3-pycparser -BuildRequires: python3-pyyaml -BuildRequires: vulkan-headers -BuildRequires: glslang -%if 0%{?with_vulkan_hw} -BuildRequires: pkgconfig(vulkan) -%endif - -%description -%{_description} - -%if 0%{?with_va} -%package -n %{srcname}-va-drivers-freeworld -Summary: Mesa-based VA-API drivers -Requires: %{srcname}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version} -Conflicts: %{srcname}-va-drivers%{?_isa} - -%description -n %{srcname}-va-drivers-freeworld -%{_description} -%endif - -%if 0%{?with_vdpau} -%package -n %{srcname}-vdpau-drivers-freeworld -Summary: Mesa-based VDPAU drivers -Requires: %{srcname}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version} -Conflicts: %{srcname}-vdpau-drivers%{?_isa} - -%description -n %{srcname}-vdpau-drivers-freeworld -%{_description} -%endif -%prep -%autosetup -n %{srcname}-%{ver} -p1 -cp %{SOURCE1} docs/ - -%build -# ensure standard Rust compiler flags are set -export RUSTFLAGS="%build_rustflags" - -# We've gotten a report that enabling LTO for mesa breaks some games. See -# https://bugzilla.redhat.com/show_bug.cgi?id=1862771 for details. -# Disable LTO for now -%define _lto_cflags %{nil} - -%meson \ - --libdir=%{_libdir}/dri-freeworld \ - -Dvdpau-libs-path=%{_libdir}/vdpau \ - -Ddri-drivers-path=%{_libdir}/dri-freeworld \ - -Dva-libs-path=%{_libdir}/dri-freeworld \ - -Dplatforms=x11,wayland \ - -Ddri3=enabled \ - -Dosmesa=false \ -%if 0%{?with_hardware} - -Dgallium-drivers=swrast,virgl,nouveau%{?with_r300:,r300}%{?with_crocus:,crocus}%{?with_i915:,i915}%{?with_iris:,iris}%{?with_vmware:,svga}%{?with_radeonsi:,radeonsi}%{?with_r600:,r600}%{?with_freedreno:,freedreno}%{?with_etnaviv:,etnaviv}%{?with_tegra:,tegra}%{?with_vc4:,vc4}%{?with_v3d:,v3d}%{?with_lima:,lima}%{?with_panfrost:,panfrost}%{?with_vulkan_hw:,zink} \ -%else - -Dgallium-drivers=swrast,virgl \ -%endif - -Dgallium-vdpau=%{?with_vdpau:enabled}%{!?with_vdpau:disabled} \ - -Dgallium-omx=%{!?with_omx:bellagio}%{?with_omx:disabled} \ - -Dgallium-va=%{?with_va:enabled}%{!?with_va:disabled} \ - -Dgallium-xa=%{!?with_xa:enabled}%{?with_xa:disabled} \ - -Dgallium-nine=%{!?with_nine:true}%{?with_nine:false} \ - -Dteflon=%{!?with_teflon:true}%{?with_teflon:false} \ - -Dgallium-opencl=%{!?with_opencl:icd}%{?with_opencl:disabled} \ -%if 0%{?with_opencl} - -Dgallium-rusticl=true \ -%endif - -Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec,av1dec,av1enc,vp9dec \ - -Dvulkan-drivers=%{?vulkan_drivers} \ - -Dvulkan-layers=device-select \ - -Dshared-glapi=enabled \ - -Dgles1=disabled \ - -Dgles2=disabled \ - -Dopengl=true \ - -Dgbm=disabled \ - -Dglx=dri \ - -Degl=disabled \ - -Dglvnd=false \ -%if 0%{?with_intel_clc} - -Dintel-clc=enabled \ -%endif - -Dintel-rt=%{!?with_intel_vk_rt:enabled}%{?with_intel_vk_rt:disabled} \ - -Dmicrosoft-clc=disabled \ - -Dllvm=enabled \ - -Dshared-llvm=enabled \ - -Dvalgrind=%{?with_valgrind:enabled}%{!?with_valgrind:disabled} \ - -Dbuild-tests=false \ - -Dselinux=true \ -%if !0%{?with_libunwind} - -Dlibunwind=disabled \ -%endif -%if !0%{?with_lmsensors} - -Dlmsensors=disabled \ -%endif - -Dandroid-libbacktrace=disabled \ -%ifarch %{ix86} - -Dglx-read-only-text=true \ -%endif - %{nil} -%meson_build - -%install -%meson_install - -# install Appdata files -mkdir -p %{buildroot}%{_metainfodir} -install -pm 0644 %{SOURCE2} %{buildroot}%{_metainfodir} -install -pm 0644 %{SOURCE3} %{buildroot}%{_metainfodir} - -# libvdpau opens the versioned name, don't bother including the unversioned -rm -vf %{buildroot}%{_libdir}/vdpau/*.so -# likewise glvnd -rm -vf %{buildroot}%{_libdir}/libGLX_mesa.so -rm -vf %{buildroot}%{_libdir}/libEGL_mesa.so -# XXX can we just not build this -rm -vf %{buildroot}%{_libdir}/libGLES* - -# glvnd needs a default provider for indirect rendering where it cannot -# determine the vendor -ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0 - -# this keeps breaking, check it early. note that the exit from eu-ftr is odd. -pushd %{buildroot}%{_libdir} -for i in libOSMesa*.so libGL.so ; do - eu-findtextrel $i && exit 1 -done -popd - -# strip unneeded files from va-api and vdpau -rm -rf %{buildroot}%{_datadir}/{drirc.d,glvnd,vulkan} -rm -rf %{buildroot}%{_libdir}{,/dri-freeworld}/{d3d,EGL,gallium-pipe,libGLX,pkgconfig} -rm -rf %{buildroot}%{_includedir}/{d3dadapter,EGL,GL,KHR} -rm -fr %{buildroot}%{_sysconfdir}/OpenGL -rm -fr %{buildroot}%{_libdir}{,/dri-freeworld}/libGL.so* -rm -fr %{buildroot}%{_libdir}/libgallium-*.so -rm -fr %{buildroot}%{_libdir}{,/dri-freeworld}/libglapi.so* -rm -fr %{buildroot}%{_libdir}/libOSMesa.so* -rm -fr %{buildroot}%{_libdir}/pkgconfig/osmesa.pc -rm -fr %{buildroot}%{_libdir}/libgbm.so* -rm -fr %{buildroot}%{_includedir}/gbm.h -rm -fr %{buildroot}%{_libdir}{,/dri-freeworld}/libxatracker.so* -rm -fr %{buildroot}%{_includedir}/xa_*.h -rm -fr %{buildroot}%{_libdir}/libMesaOpenCL.so* -rm -fr %{buildroot}%{_libdir}/dri/*_dri.so -rm -fr %{buildroot}%{_libdir}/libvulkan*.so -rm -fr %{buildroot}%{_libdir}{,/dri-freeworld}/libVkLayer_MESA_device_select.so - -%if 0%{?with_va} -%files -n %{srcname}-va-drivers-freeworld -%{_libdir}/dri-freeworld/libgallium-%{version}.so -%{_libdir}/dri-freeworld/nouveau_drv_video.so -%if 0%{?with_r600} -%{_libdir}/dri-freeworld/r600_drv_video.so -%endif -%if 0%{?with_radeonsi} -%{_libdir}/dri-freeworld/radeonsi_drv_video.so -%endif -%{_libdir}/dri-freeworld/virtio_gpu_drv_video.so -%{_metainfodir}/org.mesa3d.vaapi.freeworld.metainfo.xml -%license docs/license.rst -%endif - -%if 0%{?with_vdpau} -%files -n %{srcname}-vdpau-drivers-freeworld -%{_libdir}/vdpau/libvdpau_nouveau.so.1* -%if 0%{?with_r600} -%{_libdir}/vdpau/libvdpau_r600.so.1* -%endif -%if 0%{?with_radeonsi} -%{_libdir}/vdpau/libvdpau_radeonsi.so.1* -%endif -%{_libdir}/vdpau/libvdpau_virtio_gpu.so.1* -%{_metainfodir}/org.mesa3d.vdpau.freeworld.metainfo.xml -%license docs/license.rst -%endif - -%changelog -* Mon Oct 28 2024 Thorsten Leemhuis - 24.2.5-1 -- Update to 24.2.5 - -* Fri Oct 04 2024 Thorsten Leemhuis - 24.2.4-1 -- Update to 24.2.4 -- drop 0001-gallium-Don-t-pass-avx512er-and-avx512pf-features-on.patch - -* Sun Sep 29 2024 Thorsten Leemhuis - 24.2.3-5 -- rebuild for -Ehuman-not-enough-tee-error - -* Sun Sep 29 2024 Thorsten Leemhuis - 24.2.3-4 -- add 0001-gallium-Don-t-pass-avx512er-and-avx512pf-features-on.patch - -* Wed Sep 25 2024 Thorsten Leemhuis - 24.2.3-3 -- temporarily require llvm 19 for Fedora 41 and up - -* Fri Sep 20 2024 Nicolas Chauvet - 24.2.3-2 -- Attempt to complement Fedora - -* Thu Sep 19 2024 Thorsten Leemhuis - 24.2.3-1 -- Update to 24.2.3 -- Sync a few bits with mesa.spec from fedora - -* Fri Sep 6 2024 Thorsten Leemhuis - 24.2.2-1 -- Update to 24.2.2 -- Sync a few bits with mesa.spec from fedora - -* Thu Aug 29 2024 Thorsten Leemhuis - 24.2.1-1 -- Update to 24.2.1 -- Sync a few bits with mesa.spec from fedora - -* Mon Aug 19 2024 Thorsten Leemhuis - 24.2.0-1 -- Update to 24.2.0 - -* Thu Aug 8 2024 Thorsten Leemhuis - 24.2.0~rc4-1 -- Update to 24.2.0-rc4 - -* Fri Aug 02 2024 RPM Fusion Release Engineering - 24.2.0~rc3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Thu Aug 1 2024 Thorsten Leemhuis - 24.2.0~rc3-1 -- Update to 24.2.0-rc3 -- Drop upstreamed patch - -* Fri Jul 19 2024 Thorsten Leemhuis - 24.1.4-2 -- add revert-6746d4df-to-fix-av1-slice_data_offset.patch - -* Thu Jul 18 2024 Thorsten Leemhuis - 24.1.4-1 -- Update to 24.1.4 -- Drop upstreamed patch - -* Mon Jul 01 2024 Leigh Scott - 24.1.2-2 -- Fix mutter crash when calling eglQueryDmaBufModifiersEXT -- Fix GNOME and KDE crash with some AMD GPUs - -* Thu Jun 20 2024 Thorsten Leemhuis - 24.1.2-1 -- Update to 24.1.2 - -* Thu Jun 06 2024 Thorsten Leemhuis - 24.1.1-1 -- Update to 24.1.1 - -* Thu May 23 2024 Thorsten Leemhuis - 24.1.0-1 -- Update to 24.1.0 - -* Fri May 17 2024 Thorsten Leemhuis - 24.1.0~rc4-2 -- disable teflon on ix86, too - -* Thu May 16 2024 Thorsten Leemhuis - 24.1.0~rc4-1 -- Update to 24.1.0-rc4 -- Sync a few more bits with mesa.spec from fedora - -* Thu May 9 2024 Thorsten Leemhuis - 24.1.0~rc3-1 -- Update to 24.1.0-rc3 -- Sync with_intel_vk_rt bits with mesa.spec from fedora -- Unconditionally BR clang-devel, bindgen, libclc, SPIRV-Tools, and - LLVMSPIRVLib which are needed now - -* Tue May 7 2024 Thorsten Leemhuis - 24.1.0~rc2-1 -- Update to 24.1.0-rc2 - -* Thu Apr 25 2024 Thorsten Leemhuis - 24.0.6-1 -- Update to 24.0.6 - -* Thu Apr 11 2024 Thorsten Leemhuis - 24.0.5-1 -- Update to 24.0.5 - -* Mon Apr 1 2024 Thorsten Leemhuis - 24.0.4-1 -- Update to 24.0.4 - -* Thu Mar 14 2024 Thorsten Leemhuis - 24.0.3-1 -- Update to 24.0.3 - -* Wed Mar 6 2024 Thorsten Leemhuis - 24.0.2-3 -- Disable nvk explicitly to avoid BR on rust-packaging - -* Wed Mar 6 2024 Thorsten Leemhuis - 24.0.2-2 -- Update to 24.0.2 - -* Thu Feb 22 2024 Thorsten Leemhuis - 24.0.0-2 -- enable vp9, av1 codecs due to new meson build flag (#6873) - -* Fri Feb 02 2024 Thorsten Leemhuis - 24.0.0-1 -- Update to 24.0.0 - -* Fri Jan 19 2024 Thorsten Leemhuis - 24.0.0~rc2-1 -- Update to 24.0.0-rc2 - -* Thu Jan 11 2024 Thorsten Leemhuis - 23.3.3-1 -- Update to 23.3.3 - -* Wed Jan 3 2024 Thorsten Leemhuis - 23.3.2-1 -- Update to 23.3.2 - -* Mon Dec 18 2023 Thorsten Leemhuis - 23.3.1-1 -- Update to 23.3.1 - -* Fri Dec 15 2023 Thorsten Leemhuis - 23.3.0-2 -- sync a few bit with fedora's mesa.spec - -* Fri Dec 1 2023 Thorsten Leemhuis - 23.3.0-1 -- Update to 23.3.0 - -* Thu Nov 30 2023 Thorsten Leemhuis - 23.3.0~rc5-1 -- Update to 23.3.0-rc5 - -* Thu Nov 2 2023 Thorsten Leemhuis - 23.3.0~rc2-1 -- Update to 23.3.0-rc2 - -* Thu Oct 26 2023 Thorsten Leemhuis - 23.3.0~rc1-1 -- Update to 23.3.0-rc1 - -* Tue Oct 10 2023 Thorsten Leemhuis - 23.2.1-2 -- follow Fedora: backport MR #24045 to fix Iris crashes (RHBZ#2238711) -- temporarily hard require llvm16, as that's what's used by fedora - -* Sat Sep 30 2023 Thorsten Leemhuis - 23.2.1-1 -- Update to 23.2.1 - -* Wed Sep 6 2023 Thorsten Leemhuis - 23.2.0~rc3.1 -- Update to 23.2.0-rc3 -- sync a few spec file bits with Fedora's mesa package - -* Fri Aug 11 2023 Thorsten Leemhuis - 23.2.0~rc1.1 -- Update to 23.2.0-rc2 - -* Thu Aug 3 2023 Thorsten Leemhuis - 23.1.5-1 -- Update to 23.1.5 - -* Sun Jul 23 2023 Thorsten Leemhuis - 23.1.4-1 -- Update to 23.1.4 - -* Fri Jun 23 2023 Thorsten Leemhuis - 23.1.3-1 -- Update to 23.1.3 - -* Mon Jun 12 2023 Thorsten Leemhuis - 23.1.2-1 -- Update to 23.1.2 -- sync a few spec file bits with Fedora's mesa package - -* Fri May 26 2023 Thorsten Leemhuis - 23.1.1-1 -- Update to 23.1.1 - -* Tue May 23 2023 Thorsten Leemhuis - 23.1.0-1 -- Update to 23.1.0 -- sync a few spec file bits with Fedora's mesa package - -* Tue Apr 25 2023 Thorsten Leemhuis - 23.0.3-1 -- Update to 23.0.3 - -* Thu Apr 20 2023 Thorsten Leemhuis - 23.0.2-1.1 -- Re-introduce Conflicts (rfbz#6612, kwizart) -- Enforces version to avoid miss-match with fedora (rfbz#6613, kwizart) - -* Thu Apr 13 2023 Thorsten Leemhuis - 23.0.2-1 -- Update to 23.0.2 - -* Tue Apr 11 2023 Thorsten Leemhuis - 23.0.1-2 -- Rebuild for LLVM 16 - -* Sat Mar 25 2023 Thorsten Leemhuis - 23.0.1-1 -- Update to 23.0.1 - -* Thu Feb 23 2023 Thorsten Leemhuis - 23.0.0-1 -- Update to 23.0.0 - -* Thu Feb 16 2023 Luya Tshimbalanga - 23.0.0~rc4-2 -- Remove trailed .1 in release tag - -* Thu Feb 2 2023 Thorsten Leemhuis - 23.0.0~rc4-1 -- Update to 23.0.0-rc4 - -* Mon Jan 30 2023 Thorsten Leemhuis - 23.0.0~rc3-1 -- Update to 23.0.0-rc3 - -* Wed Jan 18 2023 Luya Tshimbalanga - 22.3.3-2.1 -- Drop conflicts with provides - -* Tue Jan 17 2023 Luya Tshimbalanga - 22.3.3-2 -- Fix dependencies issues between Fedora and RPM Fusion - -* Thu Jan 12 2023 Thorsten Leemhuis - 22.3.3-1 -- Update to 22.3.3 - -* Wed Jan 4 2023 Luya Tshimbalanga - 22.3.2-3 -- fix typo on conflict condition for vdpau sub-package - -* Sun Jan 1 2023 Luya Tshimbalanga - 22.3.2-2 -- Add conflicts to resolve dependencies from Fedora repo on update - -* Sat Dec 31 2022 Thorsten Leemhuis - 22.3.2-1 -- Update to 22.3.2 - -* Mon Dec 19 2022 Thorsten Leemhuis - 22.3.1-1 -- adjust placement of a few files entries to stay in sync with Fedora; while at it - make it more obvious that the license files are specific to rpmfusion - -* Mon Dec 19 2022 Thorsten Leemhuis - 22.3.1-1 -- Update to 22.3.1 -- sync a few bits with Fedora's mesa.spec - -* Sun Nov 13 2022 Vitaly Zaitsev - 22.3.0~rc2-2 -- Updated to version 22.3.0-rc2. - -* Sun Nov 13 2022 Vitaly Zaitsev - 22.2.3-1 -- Updated to version 22.2.3. - -* Sun Nov 6 2022 Luya Tshimbalanga - 22.2.2-1 -- Update to 22.2.2 - -* Thu Oct 13 2022 Luya Tshimbalanga - 22.2.1-1 -- Update to 22.2.1 -- Add appdata files for each subpackage - -* Wed Oct 5 2022 Luya Tshimbalanga - 22.2.0-4 -- Drop unneeded omx support -- Add missing license for each files - -* Sun Oct 2 2022 Luya Tshimbalanga - 22.2.0-3 -- Rename vaapi to va -- Broaden description -- Add Enhancement line -- Clean up spec file - -* Sat Oct 1 2022 Luya Tshimbalanga - 22.2.0-2 -- Drop unsupported autospec in rpmfusion infra -- Enable h264, h265 and vc1 codecs -- Re-enable vdpau and omx (OpenMax) support - -* Sat Oct 1 2022 Luya Tshimbalanga - 22.2.0-1 -- Initial release \ No newline at end of file diff --git a/anda/system/mesa-freeworld/org.mesa3d.vaapi.freeworld.metainfo.xml b/anda/system/mesa-freeworld/org.mesa3d.vaapi.freeworld.metainfo.xml deleted file mode 100644 index a0091212a1..0000000000 --- a/anda/system/mesa-freeworld/org.mesa3d.vaapi.freeworld.metainfo.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - org.mesa3d.vaapi.freeworld - Video Acceleration API - Video Acceleration API Driver - -

- The Mesa VA-API (Video Acceleration API) - user mode driver brings hardware accelerated decoding, encoding, - and video post processing for AMD graphics processing units and NVIDIA - counterpart running on Nouveau driver. The drive provides support for H264, AVC and VC-1. -

-
- - https://github.com/intel/intel-media-driver - CC0-1.0 - MIT - MESA 3D - - AMD - Nouveau - NVIDIA - driver - VA-API - vaapi - HW - Media - Video - Decode - Encode - hevc - h264 - vp8 - vp9 - - https://bugzilla.rpmfusion.org - mesa-freeworld-owner@rpmfusion.org -
diff --git a/anda/system/mesa-freeworld/org.mesa3d.vdpau.freeworld.metainfo.xml b/anda/system/mesa-freeworld/org.mesa3d.vdpau.freeworld.metainfo.xml deleted file mode 100644 index 4991da06d2..0000000000 --- a/anda/system/mesa-freeworld/org.mesa3d.vdpau.freeworld.metainfo.xml +++ /dev/null @@ -1,38 +0,0 @@ - - - - org.mesa3d.vdpau.freeworld - Video Decode and Presentation API for UNIX Driver - Accelerated Linux Graphics Driver - -

- The Mesa VA-API (Video Decode and Presentation API for UNIX) - user mode driver provides an interface to video decode acceleration and presentation hardware present in AMD graphics processing units and NVIDIA - counterpart running on Nouveau driver. The drive provides support for H264, AVC and VC-1. -

-
- - https://github.com/intel/intel-media-driver - CC0-1.0 - MIT - MESA 3D - - AMD - Nouveau - NVIDIA - driver - VDPAU - vdpau - HW - Media - Video - Decode - Encode - hevc - h264 - vp8 - vp9 - - https://bugzilla.rpmfusion.org - mesa-freeworld-owner@rpmfusion.org -
diff --git a/anda/system/mesa-freeworld/update.rhai b/anda/system/mesa-freeworld/update.rhai deleted file mode 100644 index 352a252e33..0000000000 --- a/anda/system/mesa-freeworld/update.rhai +++ /dev/null @@ -1,11 +0,0 @@ -if !labels.branch.starts_with("f") { - print(`mesa-freeworld: unsupported branch: ${labels.branch}`); - terminate(); -} -let b = labels.branch; -if b == "frawhide" { - b = "rawhide"; -} -let spec = get(`https://src.fedoraproject.org/rpms/mesa/raw/${b}/f/mesa.spec`); -let v = find(`(?m)^%global\s+ver\s+([\w\d.-]+)$`, spec, 1); -rpm.global("ver", v); diff --git a/anda/system/uutils-coreutils-replace/.gitignore b/anda/system/uutils-coreutils-replace/.gitignore deleted file mode 100644 index c32b546f7d..0000000000 --- a/anda/system/uutils-coreutils-replace/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.tar.gz \ No newline at end of file diff --git a/anda/system/uutils-coreutils-replace/anda.hcl b/anda/system/uutils-coreutils-replace/anda.hcl deleted file mode 100644 index b19312cdcf..0000000000 --- a/anda/system/uutils-coreutils-replace/anda.hcl +++ /dev/null @@ -1,8 +0,0 @@ -project pkg { - rpm { - spec = "uutils-coreutils-replace.spec" - } - labels { - subrepo = "extras" - } -} diff --git a/anda/system/uutils-coreutils-replace/coreutils-colorls.csh b/anda/system/uutils-coreutils-replace/coreutils-colorls.csh deleted file mode 100644 index 66ec2fa8d2..0000000000 --- a/anda/system/uutils-coreutils-replace/coreutils-colorls.csh +++ /dev/null @@ -1,63 +0,0 @@ -# skip everything for non-interactive shells -if (! $?prompt) exit - -# color-ls initialization -if ( $?USER_LS_COLORS ) then - if ( "$USER_LS_COLORS" != "" ) then - #when USER_LS_COLORS defined do not override user - #specified LS_COLORS and use them - goto finish - endif -endif - -alias ll 'ls -l' -alias l. 'ls -d .*' -set COLORS=/etc/DIR_COLORS - -if ($?TERM) then - if ( -e "/etc/DIR_COLORS.$TERM" ) then - set COLORS="/etc/DIR_COLORS.$TERM" - endif -endif -if ( -f ~/.dircolors ) set COLORS=~/.dircolors -if ( -f ~/.dir_colors ) set COLORS=~/.dir_colors -if ($?TERM) then - if ( -f ~/.dircolors."$TERM" ) set COLORS=~/.dircolors."$TERM" - if ( -f ~/.dir_colors."$TERM" ) set COLORS=~/.dir_colors."$TERM" -endif -set INCLUDE="`/usr/bin/cat "$COLORS" | /usr/bin/grep '^INCLUDE' | /usr/bin/cut -d ' ' -f2-`" - -if ( ! -e "$COLORS" ) exit - -set _tmp="`/usr/bin/mktemp .colorlsXXX -q --tmpdir=/tmp`" -#if mktemp fails, exit when include was active, otherwise use $COLORS file -if ( "$_tmp" == '' ) then - if ( "$INCLUDE" == '' ) then - eval "`/usr/bin/dircolors -c $COLORS`" - endif - goto cleanup -endif - -if ( "$INCLUDE" != '' ) /usr/bin/cat "$INCLUDE" >> $_tmp -/usr/bin/grep -v '^INCLUDE' "$COLORS" >> $_tmp - -eval "`/usr/bin/dircolors -c $_tmp`" - -/usr/bin/rm -f $_tmp - -if ( "$LS_COLORS" == '' ) exit -cleanup: -set color_none=`/usr/bin/sed -n '/^COLOR.*none/Ip' < $COLORS` -if ( "$color_none" != '' ) then - unset color_none - exit -endif -unset color_none -unset _tmp -unset INCLUDE -unset COLORS - -finish: -alias ll 'ls -l --color=auto' -alias l. 'ls -d .* --color=auto' -alias ls 'ls --color=auto' diff --git a/anda/system/uutils-coreutils-replace/coreutils-colorls.sh b/anda/system/uutils-coreutils-replace/coreutils-colorls.sh deleted file mode 100644 index 5162f1e39c..0000000000 --- a/anda/system/uutils-coreutils-replace/coreutils-colorls.sh +++ /dev/null @@ -1,53 +0,0 @@ -# color-ls initialization - -# Skip all for noninteractive shells. -[ ! -t 0 ] && return - -#when USER_LS_COLORS defined do not override user LS_COLORS, but use them. -if [ -z "$USER_LS_COLORS" ]; then - - alias ll='ls -l' 2>/dev/null - alias l.='ls -d .*' 2>/dev/null - - INCLUDE= - COLORS= - - for colors in "$HOME/.dir_colors.$TERM" "$HOME/.dircolors.$TERM" \ - "$HOME/.dir_colors" "$HOME/.dircolors"; do - [ -e "$colors" ] && COLORS="$colors" && \ - INCLUDE="`/usr/bin/cat "$COLORS" | /usr/bin/grep '^INCLUDE' | /usr/bin/cut -d ' ' -f2-`" && \ - break - done - - [ -z "$COLORS" ] && [ -e "/etc/DIR_COLORS.$TERM" ] && \ - COLORS="/etc/DIR_COLORS.$TERM" - - [ -z "$COLORS" ] && [ -e "/etc/DIR_COLORS" ] && \ - COLORS="/etc/DIR_COLORS" - - # Existence of $COLORS already checked above. - [ -n "$COLORS" ] || return - - if [ -e "$INCLUDE" ]; - then - TMP="`/usr/bin/mktemp .colorlsXXX -q --tmpdir=/tmp`" - [ -z "$TMP" ] && return - - /usr/bin/cat "$INCLUDE" >> $TMP - /usr/bin/grep -v '^INCLUDE' "$COLORS" >> $TMP - - eval "`/usr/bin/dircolors --sh $TMP 2>/dev/null`" - /usr/bin/rm -f $TMP - else - eval "`/usr/bin/dircolors --sh $COLORS 2>/dev/null`" - fi - - [ -z "$LS_COLORS" ] && return - /usr/bin/grep -qi "^COLOR.*none" $COLORS >/dev/null 2>/dev/null && return -fi - -unset TMP COLORS INCLUDE - -alias ll='ls -l --color=auto' 2>/dev/null -alias l.='ls -d .* --color=auto' 2>/dev/null -alias ls='ls --color=auto' 2>/dev/null diff --git a/anda/system/uutils-coreutils-replace/coreutils-fix-metadata.diff b/anda/system/uutils-coreutils-replace/coreutils-fix-metadata.diff deleted file mode 100644 index 2ae3d7b2f0..0000000000 --- a/anda/system/uutils-coreutils-replace/coreutils-fix-metadata.diff +++ /dev/null @@ -1,40 +0,0 @@ ---- coreutils-*/Cargo.toml -+++ coreutils-*/Cargo.toml -@@ -18,6 +18,7 @@ - categories = ["command-line-utilities"] - rust-version = "1.79.0" - edition = "2021" -+autobins = false - - build = "build.rs" - -@@ -325,7 +326,7 @@ - rand_core = "0.6.4" - rayon = "1.10" - regex = "1.10.4" --rstest = "0.24.0" -+rstest = ">=0.24" - rust-ini = "0.21.0" - same-file = "1.0.6" - self_cell = "1.0.4" -@@ -514,7 +515,7 @@ - rstest = { workspace = true } - - [target.'cfg(any(target_os = "linux", target_os = "android"))'.dev-dependencies] --procfs = { version = "0.17", default-features = false } -+procfs = { version = ">=0.16, <0.18", default-features = false } - - [target.'cfg(unix)'.dev-dependencies] - nix = { workspace = true, features = ["process", "signal", "user", "term"] } -@@ -537,11 +538,6 @@ - name = "coreutils" - path = "src/bin/coreutils.rs" -- --[[bin]] --name = "uudoc" --path = "src/bin/uudoc.rs" --required-features = ["uudoc"] - - # The default release profile. It contains all optimizations, without - # sacrificing debug info. With this profile (like in the standard - # release profile), the debug info and the stack traces will still be available. diff --git a/anda/system/uutils-coreutils-replace/coreutils-fix-seq-neg-num-tests.diff b/anda/system/uutils-coreutils-replace/coreutils-fix-seq-neg-num-tests.diff deleted file mode 100644 index dbb164e778..0000000000 --- a/anda/system/uutils-coreutils-replace/coreutils-fix-seq-neg-num-tests.diff +++ /dev/null @@ -1,134 +0,0 @@ ---- a/tests/by-util/test_seq.rs -+++ b/tests/by-util/test_seq.rs -@@ -381,80 +381,80 @@ - #[test] - fn test_width_negative_zero_scientific_notation() { - new_ucmd!() -- .args(&["-w", "-0e0", "1"]) -+ .args(&["-w", "--", "-0e0", "1"]) - .succeeds() - .stdout_only("-0\n01\n"); - new_ucmd!() -- .args(&["-w", "-0e0", "1", "2"]) -+ .args(&["-w", "--", "-0e0", "1", "2"]) - .succeeds() - .stdout_only("-0\n01\n02\n"); - new_ucmd!() -- .args(&["-w", "-0e0", "1", "2.0"]) -+ .args(&["-w", "--", "-0e0", "1", "2.0"]) - .succeeds() - .stdout_only("-0\n01\n02\n"); - - new_ucmd!() -- .args(&["-w", "-0e+1", "1"]) -+ .args(&["-w", "--", "-0e+1", "1"]) - .succeeds() - .stdout_only("-00\n001\n"); - new_ucmd!() -- .args(&["-w", "-0e+1", "1", "2"]) -+ .args(&["-w", "--", "-0e+1", "1", "2"]) - .succeeds() - .stdout_only("-00\n001\n002\n"); - new_ucmd!() -- .args(&["-w", "-0e+1", "1", "2.0"]) -+ .args(&["-w", "--", "-0e+1", "1", "2.0"]) - .succeeds() - .stdout_only("-00\n001\n002\n"); - - new_ucmd!() -- .args(&["-w", "-0.000e0", "1"]) -+ .args(&["-w", "--", "-0.000e0", "1"]) - .succeeds() - .stdout_only("-0.000\n01.000\n"); - new_ucmd!() -- .args(&["-w", "-0.000e0", "1", "2"]) -+ .args(&["-w", "--", "-0.000e0", "1", "2"]) - .succeeds() - .stdout_only("-0.000\n01.000\n02.000\n"); - new_ucmd!() -- .args(&["-w", "-0.000e0", "1", "2.0"]) -+ .args(&["-w", "--", "-0.000e0", "1", "2.0"]) - .succeeds() - .stdout_only("-0.000\n01.000\n02.000\n"); - - new_ucmd!() -- .args(&["-w", "-0.000e-2", "1"]) -+ .args(&["-w", "--", "-0.000e-2", "1"]) - .succeeds() - .stdout_only("-0.00000\n01.00000\n"); - new_ucmd!() -- .args(&["-w", "-0.000e-2", "1", "2"]) -+ .args(&["-w", "--", "-0.000e-2", "1", "2"]) - .succeeds() - .stdout_only("-0.00000\n01.00000\n02.00000\n"); - new_ucmd!() -- .args(&["-w", "-0.000e-2", "1", "2.0"]) -+ .args(&["-w", "--", "-0.000e-2", "1", "2.0"]) - .succeeds() - .stdout_only("-0.00000\n01.00000\n02.00000\n"); - - new_ucmd!() -- .args(&["-w", "-0.000e5", "1"]) -+ .args(&["-w", "--", "-0.000e5", "1"]) - .succeeds() - .stdout_only("-000000\n0000001\n"); - new_ucmd!() -- .args(&["-w", "-0.000e5", "1", "2"]) -+ .args(&["-w", "--", "-0.000e5", "1", "2"]) - .succeeds() - .stdout_only("-000000\n0000001\n0000002\n"); - new_ucmd!() -- .args(&["-w", "-0.000e5", "1", "2.0"]) -+ .args(&["-w", "--", "-0.000e5", "1", "2.0"]) - .succeeds() - .stdout_only("-000000\n0000001\n0000002\n"); - - new_ucmd!() -- .args(&["-w", "-0.000e5", "1"]) -+ .args(&["-w", "--", "-0.000e5", "1"]) - .succeeds() - .stdout_only("-000000\n0000001\n"); - new_ucmd!() -- .args(&["-w", "-0.000e5", "1", "2"]) -+ .args(&["-w", "--", "-0.000e5", "1", "2"]) - .succeeds() - .stdout_only("-000000\n0000001\n0000002\n"); - new_ucmd!() -- .args(&["-w", "-0.000e5", "1", "2.0"]) -+ .args(&["-w", "--", "-0.000e5", "1", "2.0"]) - .succeeds() - .stdout_only("-000000\n0000001\n0000002\n"); - } -@@ -493,7 +493,7 @@ - #[test] - fn test_width_negative_decimal_notation() { - new_ucmd!() -- .args(&["-w", "-.1", ".1", ".11"]) -+ .args(&["-w", "--", "-.1", ".1", ".11"]) - .succeeds() - .stdout_only("-0.1\n00.0\n00.1\n"); - } -@@ -501,19 +501,19 @@ - #[test] - fn test_width_negative_scientific_notation() { - new_ucmd!() -- .args(&["-w", "-1e-3", "1"]) -+ .args(&["-w", "--", "-1e-3", "1"]) - .succeeds() - .stdout_only("-0.001\n00.999\n"); - new_ucmd!() -- .args(&["-w", "-1.e-3", "1"]) -+ .args(&["-w", "--", "-1.e-3", "1"]) - .succeeds() - .stdout_only("-0.001\n00.999\n"); - new_ucmd!() -- .args(&["-w", "-1.0e-4", "1"]) -+ .args(&["-w", "--", "-1.0e-4", "1"]) - .succeeds() - .stdout_only("-0.00010\n00.99990\n"); - new_ucmd!() -- .args(&["-w", "-.1e2", "10", "100"]) -+ .args(&["-w", "--", "-.1e2", "10", "100"]) - .succeeds() - .stdout_only( - "-010 diff --git a/anda/system/uutils-coreutils-replace/update.rhai b/anda/system/uutils-coreutils-replace/update.rhai deleted file mode 100644 index 69aaaf4ad9..0000000000 --- a/anda/system/uutils-coreutils-replace/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(crates("coreutils")); diff --git a/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec b/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec deleted file mode 100644 index 5a86590f55..0000000000 --- a/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec +++ /dev/null @@ -1,118 +0,0 @@ -%global coreutils_ver 9.3 -%if 0%{?fedora} >= 42 -### Temporary solution, will be fixed on newer Oniguruma releases. -%global build_cflags %{__build_flags_lang_c} %{?_distro_extra_cflags} -std=c18 -std=gnu18 -%endif - -Name: uutils-coreutils-replace -Version: 0.0.29 -Release: 1%?dist -Summary: Cross-platform Rust rewrite of the GNU coreutils -License: MIT -URL: https://github.com/uutils/coreutils -Source0: %url/archive/refs/tags/%version.tar.gz -Source1: https://src.fedoraproject.org/rpms/coreutils/raw/rawhide/f/coreutils-colorls.sh -Source2: https://src.fedoraproject.org/rpms/coreutils/raw/rawhide/f/coreutils-colorls.csh -Source3: https://raw.githubusercontent.com/coreutils/coreutils/refs/heads/master/src/dircolors.hin -Patch0: coreutils-fix-metadata.diff -Patch1: coreutils-fix-seq-neg-num-tests.diff -Patch3: https://src.fedoraproject.org/rpms/coreutils/raw/rawhide/f/coreutils-8.32-DIR_COLORS.patch -BuildRequires: anda-srpm-macros -BuildRequires: cargo -BuildRequires: clang-devel -BuildRequires: gcc-c++ -BuildRequires: libselinux-devel -BuildRequires: make -BuildRequires: rustfmt -BuildRequires: selinux-policy-devel -Requires: glibc -Provides: coreutils -Provides: coreutils-common -Conflicts: uutils-coreutils - -%description -uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust. -While all programs have been implemented, some options might be missing or different -behavior might be experienced. - -This package replaces the GNU coreutils commands. - - -%prep -%setup -q -n coreutils-%version -%cargo_prep_online -cp %{SOURCE3} . -sed dircolors.hin \ - -e 's| 00;36$| 01;36|' \ - > DIR_COLORS -sed dircolors.hin \ - -e 's| 01;31$| 00;31|' \ - -e 's| 01;35$| 00;35|' \ - > DIR_COLORS.lightbgcolor -%autopatch -p1 - -%build - -%install -export CARGOFLAGS="-vv --verbose" -install -p -c -Dm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/profile.d/colorls.sh -install -p -c -Dm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d/colorls.csh -install -p -c -Dm644 DIR_COLORS{,.lightbgcolor} %{buildroot}%{_sysconfdir} -/usr/bin/rm dircolors.hin DIR_COLORS DIR_COLORS.lightbgcolor -%make_install PROFILE_CMD='--profile=rpm' MULTICALL=n DESTDIR=%buildroot BUILDDIR=target/rpm PREFIX=%_prefix SELINUX_ENABLED=1 SKIP_UTILS='hostname kill more uptime' & -wait -ln -sr hashsum %{buildroot}%{_bindir}/sha1sum -ln -sr hashsum %{buildroot}%{_bindir}/sha224sum -ln -sr hashsum %{buildroot}%{_bindir}/sha256sum -ln -sr hashsum %{buildroot}%{_bindir}/sha384sum -ln -sr hashsum %{buildroot}%{_bindir}/sha512sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-224sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-256sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-384sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3-512sum -ln -sr hashsum %{buildroot}%{_bindir}/sha3sum -ln -sr hashsum %{buildroot}%{_bindir}/shake128sum -ln -sr hashsum %{buildroot}%{_bindir}/shake256sum - -%define cmds() $(echo %1{runcon,arch,base{32,64,name,nc},cat,ch{grp,mod,own,root,con},cksum,comm,cp,csplit,cut,date,dd,df,dir{,colors,name},du,echo,env,expand,expr,factor,false,fmt,fold,groups,hashsum,head,host{id},id,install,join,link,ln,logname,ls,mk{dir,fifo,nod,temp},mv,nice,nl,nohup,nproc,numfmt,od,paste,pathchk,pinky,pr,printenv,printf,ptx,pwd,readlink,realpath,rm{,dir},seq,shred,shuf,sleep,sort,split,stat,stdbuf,sum,sync,tac,tail,tee,test,timeout,touch,tr,true,truncate,tsort,tty,uname,un{expand,iq,link},users,vdir,wc,who{,ami},yes}%2) -cat < files.txt -%cmds %_bindir/ "" -%_bindir/[ -%cmds %_datadir/bash-completion/completions/ "" -%cmds %_datadir/fish/vendor_completions.d/ .fish -%cmds %_mandir/man1/ .1.gz -%cmds %_datadir/zsh/site-functions/_ "" -EOF -sed -i 's@ @\n@g' files.txt - -# remove buildroot from paths in files.txt -sed -i "s@%buildroot@/@g" files.txt - - -echo "=== Files ===" -cat files.txt - -%files -f files.txt -%doc README.md -%license LICENSE -%{_bindir}/sha1sum -%{_bindir}/sha224sum -%{_bindir}/sha256sum -%{_bindir}/sha384sum -%{_bindir}/sha512sum -%{_bindir}/sha3-224sum -%{_bindir}/sha3-256sum -%{_bindir}/sha3-384sum -%{_bindir}/sha3-512sum -%{_bindir}/sha3sum -%{_bindir}/shake128sum -%{_bindir}/shake256sum -%config(noreplace) %{_sysconfdir}/DIR_COLORS -%config(noreplace) %{_sysconfdir}/DIR_COLORS.lightbgcolor -%{_sysconfdir}/profile.d/colorls.sh -%{_sysconfdir}/profile.d/colorls.csh - - - -%changelog -%autochangelog diff --git a/anda/system/uutils-coreutils/.gitignore b/anda/system/uutils-coreutils/.gitignore deleted file mode 100644 index c32b546f7d..0000000000 --- a/anda/system/uutils-coreutils/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.tar.gz \ No newline at end of file diff --git a/anda/system/uutils-coreutils/anda.hcl b/anda/system/uutils-coreutils/anda.hcl deleted file mode 100644 index 71536c0fc6..0000000000 --- a/anda/system/uutils-coreutils/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "uutils-coreutils.spec" - } -} diff --git a/anda/system/uutils-coreutils/update.rhai b/anda/system/uutils-coreutils/update.rhai deleted file mode 100644 index 69aaaf4ad9..0000000000 --- a/anda/system/uutils-coreutils/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(crates("coreutils")); diff --git a/anda/system/uutils-coreutils/uutils-coreutils.spec b/anda/system/uutils-coreutils/uutils-coreutils.spec deleted file mode 100644 index 674f97124b..0000000000 --- a/anda/system/uutils-coreutils/uutils-coreutils.spec +++ /dev/null @@ -1,160 +0,0 @@ -%global coreutils_ver 9.3 - -Name: uutils-coreutils -Version: 0.0.27 -Release: 1%?dist -Summary: Cross-platform Rust rewrite of the GNU coreutils -License: MIT -URL: https://github.com/uutils/coreutils -Source0: %url/archive/refs/tags/%version.tar.gz -Requires: glibc -BuildRequires: cargo make gcc-c++ -Conflicts: uutils-coreutils-replace -BuildRequires: libselinux-devel -BuildRequires: selinux-policy-devel -BuildRequires: clang-devel - -%description -uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust. -While all programs have been implemented, some options might be missing or different -behavior might be experienced. - -%package replace -Summary: Cross-platform Rust replacement of the GNU coreutils -Provides: coreutils = %coreutils_ver -Provides: coreutils(%arch) -Provides: coreutils-full - -%description replace -uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust. -While all programs have been implemented, some options might be missing or different -behavior might be experienced. - -This package removes the `uu-` prefixes. - -%package util-linux -Summary: uutil-coreutils single binary, with util-linux commands -Requires: uutils-coreutils - -%description util-linux -uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust. -While all programs have been implemented, some options might be missing or different -behavior might be experienced. - -This package provides a single binary with commands for util-linux with the `uu-` prefix. - -%package util-linux-replace -Summary: uutils-coreutils single-binary, replaces coreutils and util-linux -Provides: util-linux - -%description util-linux-replace -uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust. -While all programs have been implemented, some options might be missing or different -behavior might be experienced. - -This package provides a single binary with all commands, and replaces the GNU coreutils and util-linux commands. - - -%prep -%autosetup -n coreutils-%version - -%build -export CARGOFLAGS="-vv --verbose" -%make_build PROFILE=release SELINUX_ENABLED=1 - -%install -%make_install PROFILE=release MULTICALL=n DESTDIR=%buildroot PREFIX=%_prefix SELINUX_ENABLED=1 PROG_PREFIX=uu- & -%make_install PROFILE=release MULTICALL=n DESTDIR=%buildroot PREFIX=%_prefix SELINUX_ENABLED=1 & -wait - -# function to remove files from a file list (used below for excludes) - -rm_filelist() { - local filelist=$1 - - for file in $(cat $filelist); do - echo ":: --> $file" - if [ -f "$file" ]; then - rm -vf "$file" - fi - if [ -f "%buildroot/$file" ]; then - rm -vf "%buildroot/$file" - fi - done -} - -%define cmds() $(echo %1{runcon,arch,base{32,64,name,nc},cat,ch{grp,mod,own,root,con},cksum,comm,cp,csplit,cut,date,dd,df,dir{,colors,name},du,echo,env,expand,expr,factor,false,fmt,fold,groups,hashsum,head,host{id},id,install,join,link,ln,logname,ls,mk{dir,fifo,nod,temp},mv,nice,nl,nohup,nproc,numfmt,od,paste,pathchk,pinky,pr,printenv,printf,ptx,pwd,readlink,realpath,rm{,dir},seq,shred,shuf,sleep,sort,split,stat,stdbuf,sum,sync,tac,tail,tee,test,timeout,touch,tr,true,truncate,tsort,tty,uname,un{expand,iq,link},users,vdir,wc,who{,ami},yes}%2) -%define excludes() $(echo %1{hostname,kill,more,uptime}%2) -cat < files.txt -%cmds %_bindir/uu- "" -%_bindir/uu-[ -%cmds %_datadir/bash-completion/completions/uu- "" -%cmds %_datadir/fish/vendor_completions.d/uu- .fish -%cmds %_mandir/man1/uu- .1.gz -%cmds %_datadir/zsh/site-functions/_uu- "" -EOF -sed -i 's@ @\n@g' files.txt - -cat < files-exclude.txt -%excludes %_datadir/bash-completion/completions/uu- "" -%excludes %_datadir/fish/vendor_completions.d/uu- .fish -%excludes %_mandir/man1/uu- .1.gz -%excludes %_datadir/zsh/site-functions/_uu- "" -%excludes %_bindir/uu- "" -EOF - -sed -i 's@ @\n@g' files-exclude.txt - -# remove buildroot from paths in files.txt -sed -i "s@%buildroot@/@g" files.txt - -### files-replace - -cat < files-replace.txt -%cmds %_bindir/ "" -%_bindir/[ -%cmds %_datadir/bash-completion/completions/ "" -%cmds %_datadir/fish/vendor_completions.d/ .fish -%cmds %_mandir/man1/ .1.gz -%cmds %_datadir/zsh/site-functions/_ "" -EOF -sed -i 's@ @\n@g' files-replace.txt - -cat < files-replace-exclude.txt -%excludes %_datadir/bash-completion/completions/ "" -%excludes %_datadir/fish/vendor_completions.d/ .fish -%excludes %_mandir/man1/ .1.gz -%excludes %_datadir/zsh/site-functions/_ "" -%excludes %_bindir/ "" -EOF - -sed -i 's@ @\n@g' files-replace-exclude.txt - -# remove buildroot from paths in files.txt -sed -i "s@%buildroot@/@g" files-replace.txt - - -echo "=== Files ===" -cat files.txt -echo "=== Files (Replace) ===" -cat files-replace.txt - -#echo "=== Removing files ===" - -#rm_filelist files-exclude.txt -#rm_filelist files-replace-exclude.txt - -%files -f files.txt -%doc README.md -%license LICENSE - -%files replace -f files-replace.txt -%doc README.md -%license LICENSE - -%files util-linux -f files-exclude.txt - -%files util-linux-replace -f files-replace-exclude.txt - -%changelog -%autochangelog diff --git a/anda/tools/buildsys/anda/rust-anda.spec b/anda/tools/buildsys/anda/rust-anda.spec index 5f3afa66c5..113fe129bb 100644 --- a/anda/tools/buildsys/anda/rust-anda.spec +++ b/anda/tools/buildsys/anda/rust-anda.spec @@ -52,7 +52,7 @@ Summary: %{summary} %cargo_prep_online %build -%cargo_build +# %%cargo_build cargo run --release -p xtask -- manpage cargo run --release -p xtask -- completion diff --git a/anda/tools/kmonad/anda.hcl b/anda/tools/kmonad/anda.hcl deleted file mode 100644 index 0cf265114c..0000000000 --- a/anda/tools/kmonad/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "kmonad.spec" - } -} diff --git a/anda/tools/kmonad/kmonad.spec b/anda/tools/kmonad/kmonad.spec deleted file mode 100644 index e4bee0bd80..0000000000 --- a/anda/tools/kmonad/kmonad.spec +++ /dev/null @@ -1,93 +0,0 @@ -%global pkg_name kmonad - -Name: %{pkg_name} -Version: 0.4.3 -Release: 1%{?dist} -Summary: An advanced keyboard manager - -License: MIT -URL: https://hackage.haskell.org/package/%{name} -Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz - -BuildRequires: gcc-c++ -BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros - -BuildRequires: ghc-base-prof -BuildRequires: ghc-cereal-prof -BuildRequires: ghc-lens-prof -BuildRequires: ghc-megaparsec-prof -BuildRequires: ghc-mtl-prof -BuildRequires: ghc-optparse-applicative-prof -BuildRequires: ghc-resourcet-prof -BuildRequires: ghc-rio-prof -BuildRequires: ghc-unliftio-devel - -BuildRequires: systemd-rpm-macros - -Packager: sadlerm - -%description -The Onion of Keyboard Management Tools, available on GNU/Linux, Windows, and MacOS! - - -%package -n ghc-%{name} -Summary: Haskell %{name} library - -%description -n ghc-%{name} -This package contains the Haskell %{name} library. - - -%package -n ghc-%{name}-devel -Summary: Haskell %{name} library development files -Requires: ghc-compiler = %{ghc_version} -Requires: ghc-%{name} = %{version}-%{release} - -%description -n ghc-%{name}-devel -This package provides the Haskell %{name} library development files. - - -%package -n ghc-%{name}-prof -Summary: Haskell %{name} profiling library -Requires: ghc-%{name}-devel = %{version}-%{release} -Supplements: (ghc-%{name}-devel and ghc-prof) - -%description -n ghc-%{name}-prof -This package provides the Haskell %{name} profiling library. - - -%prep -%autosetup - -%build -%ghc_lib_build - -%install -%ghc_lib_install -install -Dm644 startup/kmonad@.service -t %{buildroot}%{_unitdir} - - -%files -%license LICENSE -%doc README.md -%doc doc/faq.md doc/quick-reference.md -%{_bindir}/%{name} -%{_unitdir}/%{name}@.service - - -%files -n ghc-%{name} -f ghc-%{name}.files -%license LICENSE - - -%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files -%doc CONTRIBUTING.md -%doc doc/module_structure.md - - -%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files - - - -%changelog -* Fri Jan 17 2025 sadlerm -- Initial package diff --git a/anda/tools/kmonad/update.rhai b/anda/tools/kmonad/update.rhai deleted file mode 100644 index c13a4a9044..0000000000 --- a/anda/tools/kmonad/update.rhai +++ /dev/null @@ -1,4 +0,0 @@ -rpm.version(gh("kmonad/kmonad")); -if rpm.changed() { - rpm.release(); -} diff --git a/anda/tools/yt-dlp/yt-dlp-nightly.spec b/anda/tools/yt-dlp/yt-dlp-nightly.spec deleted file mode 100644 index 92c86bffe4..0000000000 --- a/anda/tools/yt-dlp/yt-dlp-nightly.spec +++ /dev/null @@ -1,128 +0,0 @@ -#bcond_without tests -%global commit d1c4d88b2d912e8da5e76db455562ca63b1af690 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20240909 -%global ver 2024.08.06 - -Name: yt-dlp-nightly -Version: %commit_date.git~%shortcommit -Provides: yt-dlp-nightly = %ver^%version -Release: 1%?dist -Summary: A command-line program to download videos from online video platforms - -License: Unlicense -URL: https://github.com/yt-dlp/yt-dlp -Source: %url/archive/%commit.tar.gz -# License of the specfile -Source: https://src.fedoraproject.org/rpms/yt-dlp/raw/rawhide/f/yt-dlp.spec.license - -BuildArch: noarch - -BuildRequires: python3-devel - -%if %{with tests} -# Needed for %%check -BuildRequires: %{py3_dist pytest} -%endif - -# Needed for docs -BuildRequires: pandoc -BuildRequires: make - -# ffmpeg-free is now available in Fedora. -Recommends: /usr/bin/ffmpeg -Recommends: /usr/bin/ffprobe - -Provides: yt-dlp -Conflicts: yt-dlp - -Suggests: python3dist(keyring) - -%global _description %{expand: -yt-dlp is a command-line program to download videos from many different online -video platforms, such as youtube.com. The project is a fork of youtube-dl with -additional features and fixes.} - -%description %{_description} - -%package bash-completion -Summary: Bash completion for yt-dlp -Requires: %{name} = %{version}-%{release} -Requires: bash-completion -Supplements: (%{name} and bash-completion) - -Provides: yt-dlp-bash-completion -Conflicts: yt-dlp-bash-completion - -%description bash-completion -Bash command line completion support for %{name}. - -%package zsh-completion -Summary: Zsh completion for %{name} -Requires: %{name} = %{version}-%{release} -Requires: zsh -Supplements: (%{name} and zsh) - -Provides: yt-dlp-zsh-completion -Conflicts: yt-dlp-zsh-completion - -%description zsh-completion -Zsh command line completion support for %{name}. - -%package fish-completion -Summary: Fish completion for %{name} -Requires: %{name} = %{version}-%{release} -Requires: fish -Supplements: (%{name} and fish) - -Provides: yt-dlp-fish-completion -Conflicts: yt-dlp-fish-completion - -%description fish-completion -Fish command line completion support for %{name}. - -%prep -%autosetup -n yt-dlp-%commit - -# Remove unnecessary shebangs -find -type f ! -executable -name '*.py' -print -exec sed -i -e '1{\@^#!.*@d}' '{}' + -# Relax version constraints -sed -i 's@"\(requests\|urllib3\|websockets\)>=.*"@"\1"@' pyproject.toml - -%generate_buildrequires -%pyproject_buildrequires -r - -%build -# Docs and shell completions -make yt-dlp.1 completion-bash completion-zsh completion-fish - -# Docs and shell completions are also included in the wheel. -%pyproject_wheel - -%install -%pyproject_install -%pyproject_save_files yt_dlp - -%check -%if %{with tests} -# See https://github.com/yt-dlp/yt-dlp/blob/master/devscripts/run_tests.sh -%pytest -m 'not download' -%endif - -%files -f %{pyproject_files} -%{_bindir}/yt-dlp -%{_mandir}/man1/yt-dlp.1* -%doc README.md -%license LICENSE - -%files bash-completion -%{bash_completions_dir}/yt-dlp - -%files zsh-completion -%{zsh_completions_dir}/_yt-dlp - -%files fish-completion -%{fish_completions_dir}/yt-dlp.fish - -%changelog -%autochangelog