diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index a7ba3a8c91..37938e795b 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -29,6 +29,7 @@ body: description: Which version of Terra are you using? options: - frawhide + - f44 - f43 - f42 - el10 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..8c0202ab18 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: + # Maintain GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + open-pull-requests-limit: 5 diff --git a/.github/workflows/autobuild.yml b/.github/workflows/autobuild.yml index a517936793..1eb90aaa12 100644 --- a/.github/workflows/autobuild.yml +++ b/.github/workflows/autobuild.yml @@ -3,6 +3,9 @@ name: Automatically build packages permissions: contents: read + attestations: write + artifact-metadata: write + id-token: write on: push: paths: @@ -30,7 +33,7 @@ jobs: - name: Set workspace as safe run: git config --global --add safe.directory "$GITHUB_WORKSPACE" - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - name: Generate build matrix @@ -51,11 +54,12 @@ jobs: image: ghcr.io/terrapkg/appstream-generator:main steps: - name: Download artifacts - uses: actions/download-artifact@v8 + uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: merge-multiple: true path: ./artifacts - name: Generate test catalog + id: catalog # run appstream-builder, then add step summary run: | set -x @@ -71,50 +75,64 @@ jobs: --veto-ignore=missing-info 2>&1 | tee asb.log - name: Run appstreamcli validate + if: steps.catalog.outcome == 'success' run: | - echo "## AppStream MetaInfo Validation" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo '```xml' >> $GITHUB_STEP_SUMMARY - for file in output/test.xml.gz; do - appstreamcli validate $file >> $GITHUB_STEP_SUMMARY || true + if stat output/test.xml.gz &>/dev/null; then + echo "## AppStream MetaInfo Validation" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - done - echo '```' >> $GITHUB_STEP_SUMMARY + echo '```xml' >> $GITHUB_STEP_SUMMARY + appstreamcli validate output/test.xml.gz >> $GITHUB_STEP_SUMMARY | true + echo "" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + else + echo "Nothing to do." + fi + - name: Export logs id: export_logs + if: steps.catalog.outcome == 'success' run: | - echo "## AppStream Builder Log" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo '```log' >> $GITHUB_STEP_SUMMARY - cat asb.log >> $GITHUB_STEP_SUMMARY - echo '```' >> $GITHUB_STEP_SUMMARY - echo '---' >> $GITHUB_STEP_SUMMARY + if stat output/*.xml.gz &>/dev/null; then + echo "## AppStream Builder Log" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```log' >> $GITHUB_STEP_SUMMARY + cat asb.log >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo '---' >> $GITHUB_STEP_SUMMARY + else + echo "Nothing to do." + fi - name: Report Summary id: report_summary + if: steps.export_logs.outcome == 'success' run: | echo "## AppStream Builder Report" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - if grep -q "veto" asb.log; then - echo "::group::Vetoed packages" - echo "### Vetoed packages" >> $GITHUB_STEP_SUMMARY + if stat output/*.xml.gz &>/dev/null; then + if grep -q "veto" asb.log; then + echo "::group::Vetoed packages" + echo "### Vetoed packages" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```xml' >> $GITHUB_STEP_SUMMARY + echo "$(grep -i 'veto' asb.log)" >> $GITHUB_STEP_SUMMARY + echo '```' >> $GITHUB_STEP_SUMMARY + echo "::warning file=asb.log::Some packages were vetoed during AppStream generation. Please review the 'Vetoed packages' section in the summary for details." + echo "::endgroup::" + fi + echo "## Full Data Summary" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY - echo '```xml' >> $GITHUB_STEP_SUMMARY - echo "$(grep -i 'veto' asb.log)" >> $GITHUB_STEP_SUMMARY - echo '```' >> $GITHUB_STEP_SUMMARY - echo "::warning file=asb.log::Some packages were vetoed during AppStream generation. Please review the 'Vetoed packages' section in the summary for details." - echo "::endgroup::" + echo "### Generated Appstream files:" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + for file in output/*.xml.gz; do + echo "#### \`$file\`" >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + echo '```xml' >> $GITHUB_STEP_SUMMARY + zcat "$file" >> $GITHUB_STEP_SUMMARY || true + echo '```' >> $GITHUB_STEP_SUMMARY + echo "" >> $GITHUB_STEP_SUMMARY + done + else + echo "No appstream files found." >> $GITHUB_STEP_SUMMARY fi - echo "## Full Data Summary" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo "### Generated Appstream files:" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - for file in output/*.xml.gz; do - echo "#### \`$file\`" >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - echo '```xml' >> $GITHUB_STEP_SUMMARY - zcat "$file" >> $GITHUB_STEP_SUMMARY - echo '```' >> $GITHUB_STEP_SUMMARY - echo "" >> $GITHUB_STEP_SUMMARY - done diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 706fa55e58..b021a21ba5 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -1,6 +1,9 @@ name: Bootstrap Andaman and Subatomic permissions: contents: read + attestations: write + artifact-metadata: write + id-token: write on: workflow_dispatch: @@ -21,7 +24,7 @@ jobs: dnf5 swap -y --setopt=install_weak_deps=False systemd-standalone-sysusers systemd dnf5 install -y --setopt=install_weak_deps=False curl wget git-core openssl-devel cargo podman fuse-overlayfs dnf5-plugins rpmbuild script - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: ref: f${{ matrix.version }} fetch-depth: 1 @@ -79,3 +82,10 @@ jobs: --server https://subatomic.fyralabs.com \ --token ${{ secrets.SUBATOMIC_TOKEN }} \ terra${{ matrix.version }}-source anda-build/rpm/srpm/* + + - name: Attest build provenance + uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 + with: + subject-path: | + anda-build/rpm/rpms/* + anda-build/rpm/srpm/* diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 664348d3f8..1e232af45f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,9 @@ name: Manual Builds permissions: contents: read + attestations: write + artifact-metadata: write + id-token: write on: workflow_dispatch: inputs: @@ -29,7 +32,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - name: Setup Git diff --git a/.github/workflows/json-build.yml b/.github/workflows/json-build.yml index fbd6939520..479de2b539 100644 --- a/.github/workflows/json-build.yml +++ b/.github/workflows/json-build.yml @@ -1,6 +1,9 @@ name: JSON Build permissions: contents: read + attestations: write + artifact-metadata: write + id-token: write on: workflow_call: inputs: @@ -42,13 +45,13 @@ jobs: pkg: ${{ fromJson(inputs.packages) }} version: ["rawhide"] fail-fast: false - runs-on: ${{ inputs.custom_builder && inputs.custom_builder || (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && 'arm64-lg' || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && format('cirun-x86-64-lg--{0}', github.run_id) || 'ubuntu-22.04' }} + runs-on: ${{ inputs.custom_builder && inputs.custom_builder || (matrix.pkg.arch == 'aarch64' && matrix.pkg.labels['large']) && format('cirun-arm64-lg--{0}', github.run_id) || matrix.pkg.arch == 'aarch64' && 'ubuntu-22.04-arm' || matrix.pkg.labels['large'] && format('cirun-x86-64-lg--{0}', github.run_id) || 'ubuntu-22.04' }} container: image: ghcr.io/terrapkg/builder:f${{ matrix.version }} options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 @@ -58,7 +61,7 @@ jobs: - name: Configure sccache id: sccache if: ${{ !contains(matrix.pkg.labels.sccache, '0') }} - uses: actions/github-script@v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 env: SCCACHE_GHA_VERSION: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }} SCCACHE_GHA_CACHE_FROM: ${{ matrix.version }}-${{ matrix.pkg.arch }}-${{ matrix.pkg.pkg }} @@ -86,7 +89,7 @@ jobs: - name: Report Cache Summary if: steps.sccache.outcome == 'success' - uses: actions/github-script@v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const script = require('./.github/scripts/sccache-stats.js') @@ -99,7 +102,7 @@ jobs: x=${NAME//\//@} echo "name=$x" >> $GITHUB_OUTPUT - - uses: actions/upload-artifact@v7 + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: ${{ steps.art.outputs.name }} compression-level: 0 # The RPMs are already compressed :p @@ -125,6 +128,14 @@ jobs: --token ${{ secrets.SUBATOMIC_TOKEN }} \ terra${{ matrix.version }}${{ matrix.pkg.labels['subrepo'] && '-$subrepo' || '' }}-source anda-build/rpm/srpm/* + - name: Attest build provenance + if: inputs.publish + uses: actions/attest-build-provenance@a2bbfa25375fe432b6a289bc6b6cd05ecd0c4c32 # v4.1.0 + with: + subject-path: | + anda-build/rpm/rpms/* + anda-build/rpm/srpm/* + - name: Notify Madoguchi (Success) if: inputs.publish && success() run: ./.github/workflows/mg.sh true "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA" diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000000..e046a46d7f --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,78 @@ +# This workflow uses actions that are not certified by GitHub. They are provided +# by a third-party and are governed by separate terms of service, privacy +# policy, and support documentation. + +name: Scorecard supply-chain security +on: + # For Branch-Protection check. Only the default branch is supported. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection + branch_protection_rule: + # To guarantee Maintained check is occasionally updated. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained + schedule: + - cron: '43 13 * * 2' + push: + branches: [ "frawhide" ] + +# Declare default permissions as read only. +permissions: read-all + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + # `publish_results: true` only works when run from the default branch. conditional can be removed if disabled. + if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request' + permissions: + # Needed to upload the results to code-scanning dashboard. + security-events: write + # Needed to publish results and get a badge (see publish_results below). + id-token: write + # Uncomment the permissions below if installing in a private repository. + # contents: read + # actions: read + + steps: + - name: "Checkout code" + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + + - name: "Run analysis" + uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 + with: + results_file: results.sarif + results_format: sarif + # (Optional) "write" PAT token. Uncomment the `repo_token` line below if: + # - you want to enable the Branch-Protection check on a *public* repository, or + # - you are installing Scorecard on a *private* repository + # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action?tab=readme-ov-file#authentication-with-fine-grained-pat-optional. + # repo_token: ${{ secrets.SCORECARD_TOKEN }} + + # Public repositories: + # - Publish results to OpenSSF REST API for easy access by consumers + # - Allows the repository to include the Scorecard badge. + # - See https://github.com/ossf/scorecard-action#publishing-results. + # For private repositories: + # - `publish_results` will always be set to `false`, regardless + # of the value entered here. + publish_results: true + + # (Optional) Uncomment file_mode if you have a .gitattributes with files marked export-ignore + # file_mode: git + + # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF + # format to the repository Actions tab. + - name: "Upload artifact" + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + # Upload the results to GitHub's code scanning dashboard (optional). + # Commenting out will disable upload of results to your repo's Code Scanning dashboard + - name: "Upload to code-scanning" + uses: github/codeql-action/upload-sarif@e46ed2cbd01164d986452f91f178727624ae40d7 # v4 + with: + sarif_file: results.sarif diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 1d98a83f67..6da91e59e6 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -1,13 +1,15 @@ name: Automatic backport/sync action permissions: - contents: write - pull-requests: write + contents: read on: pull_request_target: types: ["labeled", "closed"] jobs: backport: + permissions: + contents: write + pull-requests: write name: Backport/sync PR runs-on: ubuntu-22.04 if: github.event.pull_request.merged @@ -25,7 +27,7 @@ jobs: git config --global commit.gpgsign true - name: Backport Action - uses: sorenlouv/backport-github-action@v10.2.0 + uses: sorenlouv/backport-github-action@85813678d776774a19ec5af56bd3a04305946f8a # v12.0.0 with: github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }} auto_backport_label_prefix: sync- diff --git a/.github/workflows/update-branch.yml b/.github/workflows/update-branch.yml index 978e08848a..47b7ef26c1 100644 --- a/.github/workflows/update-branch.yml +++ b/.github/workflows/update-branch.yml @@ -1,6 +1,6 @@ name: Update per branch permissions: - contents: write + contents: read on: schedule: - cron: "*/30 * * * *" @@ -8,6 +8,8 @@ on: jobs: autoupdate: + permissions: + contents: write runs-on: ubuntu-24.04-arm strategy: matrix: @@ -22,7 +24,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: ref: ${{ matrix.branch }} fetch-depth: 0 diff --git a/.github/workflows/update-comps.yml b/.github/workflows/update-comps.yml index 61aefdf15e..f9f0dab48e 100644 --- a/.github/workflows/update-comps.yml +++ b/.github/workflows/update-comps.yml @@ -20,7 +20,7 @@ jobs: container: image: ghcr.io/terrapkg/builder:frawhide steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Push to subatomic run: | branch=${{ github.ref_name }} diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml index 28ad326c11..0e8d987fc8 100644 --- a/.github/workflows/update-nightly.yml +++ b/.github/workflows/update-nightly.yml @@ -1,6 +1,6 @@ name: Nightly Update permissions: - contents: write + contents: read on: schedule: - cron: "0 0 * * *" @@ -8,13 +8,15 @@ on: jobs: autoupdate: + permissions: + contents: write runs-on: ubuntu-24.04-arm container: image: ghcr.io/terrapkg/builder:frawhide options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} diff --git a/.github/workflows/update-weekly.yml b/.github/workflows/update-weekly.yml index d26cd1c93d..4a5c328231 100644 --- a/.github/workflows/update-weekly.yml +++ b/.github/workflows/update-weekly.yml @@ -1,6 +1,6 @@ name: Weekly Update permissions: - contents: write + contents: read on: schedule: - cron: "0 0 * * *" @@ -8,13 +8,15 @@ on: jobs: autoupdate: + permissions: + contents: write runs-on: ubuntu-24.04-arm container: image: ghcr.io/terrapkg/builder:frawhide options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 75266259a1..24bddfa103 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -1,6 +1,6 @@ name: Update permissions: - contents: write + contents: read on: schedule: - cron: "*/10 * * * *" @@ -8,13 +8,15 @@ on: jobs: autoupdate: + permissions: + contents: write runs-on: ubuntu-24.04-arm container: image: ghcr.io/terrapkg/builder:frawhide options: --cap-add=SYS_ADMIN --privileged steps: - name: Checkout - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} diff --git a/README.md b/README.md index 8a7ae3ee65..2c71d59f8c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # Terra Sources [![Repository status](https://repology.org/badge/repository-big/terra_rawhide.svg?header=Terra+Rawhide)](https://repology.org/repository/terra_rawhide) +[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/terrapkg/packages/badge)](https://scorecard.dev/viewer/?uri=github.com/terrapkg/packages) + Terra is a rolling-release Fedora repository for all the software you need. With Terra, you can install the latest packages knowing that quality and security are assured. -See the introduction at [our website](https://terra.fyralabs.com). +See the introduction at [our website](https://terrapkg.com). This monorepo contains the package manifests for all packages in Terra. diff --git a/anda/apps/anki-bin/anki-bin.spec b/anda/apps/anki-bin/anki-bin.spec index 2e5f31d091..a00300aee0 100644 --- a/anda/apps/anki-bin/anki-bin.spec +++ b/anda/apps/anki-bin/anki-bin.spec @@ -1,10 +1,10 @@ -%global xurl https://files.pythonhosted.org/packages/22/1c/37fe0377fd5fbfe27b17db20679d76aeb1cef7be3ddfb22e24c0bb62cf96/anki-25.9.2-cp39-abi3-manylinux_2_36_x86_64.whl -%global aurl https://files.pythonhosted.org/packages/c1/49/484a786ea0e1b3659de9478f2546368c5970da60a1cd403cec1fa2f81d65/anki-25.9.2-cp39-abi3-manylinux_2_36_aarch64.whl -%global qurl https://files.pythonhosted.org/packages/e5/d4/26016857a780290264866e1818b1a408106c379906fbd186a0aa26eb1054/aqt-25.9.2-py3-none-any.whl +%global xurl https://files.pythonhosted.org/packages/29/17/68debda9fa3a8234c8a345256254665112180bced608354f7d1361647580/anki-25.9.3-cp39-abi3-manylinux_2_36_x86_64.whl +%global aurl https://files.pythonhosted.org/packages/f9/c7/5d7351f09deed1e294724cfde077d5b2a0c91659b984d05cec291417e806/anki-25.9.3-cp39-abi3-manylinux_2_36_aarch64.whl +%global qurl https://files.pythonhosted.org/packages/54/a3/d5d68ed478b02d44dec3a4a7ba0d671be271dd2203d8ba1d49318b2221ef/aqt-25.9.3-py3-none-any.whl Name: anki-bin -Version: 25.9.2 -Release: 1%?dist +Version: 25.9.3 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning (Installed with wheel) License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 URL: https://apps.ankiweb.net/ diff --git a/anda/apps/anki-qt5/anki-qt5.spec b/anda/apps/anki-qt5/anki-qt5.spec index 3bd44e88d1..8860d3ce77 100644 --- a/anda/apps/anki-qt5/anki-qt5.spec +++ b/anda/apps/anki-qt5/anki-qt5.spec @@ -1,6 +1,6 @@ Name: anki-qt5 -Version: 25.09.2 -Release: 1%?dist +Version: 25.09.3 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 URL: https://apps.ankiweb.net/ diff --git a/anda/apps/anki/anki.spec b/anda/apps/anki/anki.spec index c31ebcf138..8e2069c31b 100644 --- a/anda/apps/anki/anki.spec +++ b/anda/apps/anki/anki.spec @@ -1,12 +1,13 @@ Name: anki -Version: 25.09.2 -Release: 1%?dist +Version: 25.09.3 +Release: 1%{?dist} Summary: Flashcard program for using space repetition learning License: AGPL-3.0-or-later AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND BSD-3-Clause AND CC-BY-SA-3.0 AND CC-BY-3.0 AND Apache-2.0 AND CC-BY-2.5 URL: https://apps.ankiweb.net/ +Packager: madonuko BuildRequires: python3-devel python3-setuptools python3-waitress python3-protobuf python3-pysocks rpm_macro(fdupes) BuildRequires: python3-distro python3-flask-cors python3-jsonschema python3-send2trash python3-certifi python3-simplejson -BuildRequires: python3-installer make mold cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-webengine +BuildRequires: python3-installer make cargo git rsync ninja-build libxcrypt-compat nodejs python3.9 python-unversioned-command gcc python3-pyqt6-webengine Requires: hicolor-icon-theme python3-sqlalchemy python3-simplejson python3-matplotlib python3-decorator python3-markdown python3-send2trash Requires: python3-requests python3-pygame python3-beautifulsoup4 python3-httplib2 python3-pyaudio python3-jsonschema sox libxcrypt-compat python3-pyqt6-webengine Recommends: (mpv or mpv-nightly) @@ -20,9 +21,7 @@ phrases in a foreign language) as easily, quickly and efficiently as possible. Anki is based on a theory called spaced repetition. %prep -rm -rf * -git clone https://github.com/ankitects/anki . -git checkout %{version} +%git_clone https://github.com/ankitects/anki %patch 0 -p1 # See https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=anki @@ -31,7 +30,7 @@ git checkout %{version} export RELEASE=1 export PYTHONPATH=%_libdir/python3/dist-packages cargo update -mold -run ./tools/build +./tools/build %install diff --git a/anda/apps/auto-cpufreq/anda.hcl b/anda/apps/auto-cpufreq/anda.hcl new file mode 100644 index 0000000000..850557c4c1 --- /dev/null +++ b/anda/apps/auto-cpufreq/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "auto-cpufreq.spec" + } +} diff --git a/anda/apps/auto-cpufreq/auto-cpufreq.spec b/anda/apps/auto-cpufreq/auto-cpufreq.spec new file mode 100644 index 0000000000..501b88edf3 --- /dev/null +++ b/anda/apps/auto-cpufreq/auto-cpufreq.spec @@ -0,0 +1,87 @@ +%global _desc Automatic CPU speed & power optimizer for Linux. + +Name: python-auto-cpufreq +Version: 3.0.0 +Release: 2%?dist +Summary: Automatic CPU speed & power optimizer for Linux +License: LGPL-3.0-or-later +URL: https://foolcontrol.org/?p=4603 +Source0: https://github.com/AdnanHodzic/auto-cpufreq/archive/refs/tags/v%{version}.tar.gz +Patch0: prevent-install-and-copy.patch + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-installer +BuildRequires: systemd-rpm-macros +BuildRequires: python3-poetry-core +BuildRequires: python3-poetry-dynamic-versioning +BuildArch: noarch + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-auto-cpufreq +Summary: %{summary} +%{?python_provide:%python_provide python3-auto-cpufreq} + +%description -n python3-auto-cpufreq +%_desc + +%prep +%git_clone https://github.com/AdnanHodzic/auto-cpufreq.git %{version} +%patch -P0 -p1 + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files auto_cpufreq +mkdir -p %{buildroot}%{_datadir}/polkit-1/actions/ +install -Dm644 scripts/org.auto-cpufreq.pkexec.policy %{buildroot}%{_datadir}/polkit-1/actions/ +install -Dm644 images/icon.png %{buildroot}%{_hicolordir}/512x512/apps/auto-cpufreq.png +install -Dm644 images/icon.png %{buildroot}%{_datadir}/%{name}/icon.png + +mkdir -p %{buildroot}%{_datadir}/auto-cpufreq/scripts/ +mkdir -p %{buildroot}/opt/auto-cpufreq/ +mkdir -p %{buildroot}%{_appsdir}/ +mkdir -p %{buildroot}%{_unitdir}/ + +install -Dm755 scripts/auto-cpufreq-install.sh %{buildroot}%{_datadir}/auto-cpufreq/scripts/ +install -Dm755 scripts/auto-cpufreq-remove.sh %{buildroot}%{_datadir}/auto-cpufreq/scripts/ +install -Dm644 scripts/auto-cpufreq.service %{buildroot}%{_unitdir}/auto-cpufreq.service +install -Dm755 scripts/cpufreqctl.sh %{buildroot}%{_datadir}/auto-cpufreq/scripts/ +install -Dm644 scripts/style.css %{buildroot}%{_datadir}/auto-cpufreq/scripts/ +install -Dm644 scripts/auto-cpufreq-gtk.desktop %{buildroot}%{_appsdir}/ + +%post +%systemd_post auto-cpufreq.service + +%preun +%systemd_preun auto-cpufreq.service + +%postun +%systemd_postun_with_restart auto-cpufreq.service + +%files -n python3-auto-cpufreq -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/auto-cpufreq +%{_bindir}/auto-cpufreq-gtk +%{_datadir}/polkit-1/actions/org.auto-cpufreq.pkexec.policy +%{_hicolordir}/512x512/apps/auto-cpufreq.png +%{_datadir}/%{name}/icon.png +%{_unitdir}/auto-cpufreq.service +%{_datadir}/auto-cpufreq/scripts/ +%{_appsdir}/auto-cpufreq-gtk.desktop + +%changelog +* Tue Apr 07 2026 Owen Zimmerman +- Add install fix patch + +* Sun Apr 05 2026 Owen Zimmerman +- Initial commit diff --git a/anda/apps/auto-cpufreq/prevent-install-and-copy.patch b/anda/apps/auto-cpufreq/prevent-install-and-copy.patch new file mode 100644 index 0000000000..776b61452b --- /dev/null +++ b/anda/apps/auto-cpufreq/prevent-install-and-copy.patch @@ -0,0 +1,101 @@ +diff --git a/auto_cpufreq/core.py b/auto_cpufreq/core.py +index f03e7de..2dff5fb 100755 +--- a/auto_cpufreq/core.py ++++ b/auto_cpufreq/core.py +@@ -277,19 +277,12 @@ def get_current_gov(): + ) + + def cpufreqctl(): +- """ +- deploy cpufreqctl.auto-cpufreq script +- """ +- if not (IS_INSTALLED_WITH_SNAP or os.path.isfile("/usr/local/bin/cpufreqctl.auto-cpufreq")): +- copy(SCRIPTS_DIR / "cpufreqctl.sh", "/usr/local/bin/cpufreqctl.auto-cpufreq") +- call(["chmod", "a+x", "/usr/local/bin/cpufreqctl.auto-cpufreq"]) ++ # scripts are already in the correct place ++ pass + + def cpufreqctl_restore(): +- """ +- remove cpufreqctl.auto-cpufreq script +- """ +- if not IS_INSTALLED_WITH_SNAP and os.path.isfile("/usr/local/bin/cpufreqctl.auto-cpufreq"): +- os.remove("/usr/local/bin/cpufreqctl.auto-cpufreq") ++ #no need to restore ++ pass + + def footer(l=79): print("\n" + "-" * l + "\n") + +@@ -307,31 +300,8 @@ def remove_complete_msg(): + footer() + + def deploy_daemon(): +- print("\n" + "-" * 21 + " Deploying auto-cpufreq as a daemon " + "-" * 22 + "\n") +- +- cpufreqctl() # deploy cpufreqctl script func call +- +- bluetooth_disable() # turn off bluetooth on boot +- +- auto_cpufreq_stats_path.touch(exist_ok=True) +- +- print("\n* Deploy auto-cpufreq install script") +- copy(SCRIPTS_DIR / "auto-cpufreq-install.sh", "/usr/local/bin/auto-cpufreq-install") +- call(["chmod", "a+x", "/usr/local/bin/auto-cpufreq-install"]) +- +- print("\n* Deploy auto-cpufreq remove script") +- copy(SCRIPTS_DIR / "auto-cpufreq-remove.sh", "/usr/local/bin/auto-cpufreq-remove") +- call(["chmod", "a+x", "/usr/local/bin/auto-cpufreq-remove"]) +- +- # output warning if gnome power profile is running +- gnome_power_detect_install() +- gnome_power_svc_disable() +- +- tuned_svc_disable() +- +- tlp_service_detect() # output warning if TLP service is detected +- +- call("/usr/local/bin/auto-cpufreq-install", shell=True) ++ # prevent needless copying and system changes ++ pass + + def deploy_daemon_performance(): + print("\n" + "-" * 21 + " Deploying auto-cpufreq as a daemon (performance) " + "-" * 22 + "\n") +@@ -363,37 +333,7 @@ def deploy_daemon_performance(): + + call("/usr/local/bin/auto-cpufreq-install", shell=True) + +-def remove_daemon(): +- # check if auto-cpufreq is installed +- if not os.path.exists("/usr/local/bin/auto-cpufreq-remove"): +- print("\nauto-cpufreq daemon is not installed.\n") +- sys.exit(1) +- +- print("\n" + "-" * 21 + " Removing auto-cpufreq daemon " + "-" * 22 + "\n") +- +- bluetooth_enable() # turn on bluetooth on boot +- +- # output warning if gnome power profile is stopped +- gnome_power_rm_reminder() +- gnome_power_svc_enable() +- +- tuned_svc_enable() +- +- # run auto-cpufreq daemon remove script +- call("/usr/local/bin/auto-cpufreq-remove", shell=True) +- +- # remove auto-cpufreq-remove +- os.remove("/usr/local/bin/auto-cpufreq-remove") +- +- # delete override pickle if it exists +- if os.path.exists(governor_override_state): os.remove(governor_override_state) +- +- # delete stats file +- if auto_cpufreq_stats_path.exists(): +- if auto_cpufreq_stats_file is not None: auto_cpufreq_stats_file.close() +- auto_cpufreq_stats_path.unlink() +- +- cpufreqctl_restore() # restore original cpufrectl script ++def remove_daemon(): pass + + def gov_check(): + for gov in AVAILABLE_GOVERNORS: diff --git a/anda/apps/auto-cpufreq/update.rhai b/anda/apps/auto-cpufreq/update.rhai new file mode 100644 index 0000000000..46dee26f1d --- /dev/null +++ b/anda/apps/auto-cpufreq/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("AdnanHodzic/auto-cpufreq")); diff --git a/anda/apps/bazzite-portal/bazzite-portal.spec b/anda/apps/bazzite-portal/bazzite-portal.spec index 74d29485e8..82ace48145 100644 --- a/anda/apps/bazzite-portal/bazzite-portal.spec +++ b/anda/apps/bazzite-portal/bazzite-portal.spec @@ -1,13 +1,13 @@ Name: bazzite-portal -Version: 0.1.6 -Release: 3%?dist +Version: 0.2.2 +Release: 1%{?dist} Summary: Bazzite Portal is a tabbed frontend for curated script execution, with a focus on distro specific QOL shortcuts URL: https://github.com/ublue-os/yafti-gtk Source0: https://github.com/ublue-os/yafti-gtk/archive/refs/tags/v%{version}.tar.gz License: GPL-3.0-only Requires: python3-gobject Requires: python3-PyYAML -Requires: gtk3 +Requires: gtk4 Provides: Bazzite-Portal BuildArch: noarch Packager: Zacharias Xenakis @@ -35,5 +35,8 @@ install -Dm 644 io.github.ublue_os.yafti_gtk.metainfo.xml %{buildroot}%{_metainf %{_metainfodir}/io.github.ublue_os.yafti_gtk.metainfo.xml %changelog +* Sun Apr 19 2026 Xarishark +- Upgraded to GTK4 + * Wed Jan 28 2026 Xarishark -- Initial commit \ No newline at end of file +- Initial commit diff --git a/anda/apps/bitwarden/cli.bin/bitwarden-cli.bin.spec b/anda/apps/bitwarden/cli.bin/bitwarden-cli.bin.spec index 63aca8e17f..ee5ef79f33 100644 --- a/anda/apps/bitwarden/cli.bin/bitwarden-cli.bin.spec +++ b/anda/apps/bitwarden/cli.bin/bitwarden-cli.bin.spec @@ -1,5 +1,5 @@ Name: bitwarden-cli.bin -Version: 2026.2.0 +Version: 2026.4.1 Release: 1%{?dist} Summary: Bitwarden command-line client License: GPL-3.0-only diff --git a/anda/apps/bitwarden/cli/bitwarden-cli.spec b/anda/apps/bitwarden/cli/bitwarden-cli.spec index fd0df86f79..a32c0bd6b9 100644 --- a/anda/apps/bitwarden/cli/bitwarden-cli.spec +++ b/anda/apps/bitwarden/cli/bitwarden-cli.spec @@ -6,7 +6,7 @@ %endif Name: bitwarden-cli -Version: 2026.2.0 +Version: 2026.4.1 Release: 1%{?dist} Summary: Bitwarden command-line client License: GPL-3.0-only diff --git a/anda/apps/chdig/chdig.spec b/anda/apps/chdig/chdig.spec index 118e9998e6..d61626ce29 100644 --- a/anda/apps/chdig/chdig.spec +++ b/anda/apps/chdig/chdig.spec @@ -1,8 +1,8 @@ %undefine __brp_mangle_shebangs Name: chdig -Version: 26.2.3 -Release: 1%?dist +Version: 26.4.3 +Release: 1%{?dist} Summary: Dig into ClickHouse with TUI interface URL: https://github.com/azat/chdig Source0: %url/archive/refs/tags/v%{version}.tar.gz diff --git a/anda/apps/chrultrabook-tools/chrultrabook-tools.spec b/anda/apps/chrultrabook-tools/chrultrabook-tools.spec index 0f7e915247..87a4b6d203 100644 --- a/anda/apps/chrultrabook-tools/chrultrabook-tools.spec +++ b/anda/apps/chrultrabook-tools/chrultrabook-tools.spec @@ -1,7 +1,7 @@ %undefine __brp_mangle_shebangs Name: chrultrabook-tools -Version: 3.1.4 +Version: 3.1.6 Release: 1%{?dist} Summary: User-friendly configuration utility for Chromebooks running an alternate OS URL: https://github.com/death7654/Chrultrabook-Tools diff --git a/anda/apps/coolercontrol/coolercontrol.spec b/anda/apps/coolercontrol/coolercontrol.spec index a0fe287663..1a07a369c5 100644 --- a/anda/apps/coolercontrol/coolercontrol.spec +++ b/anda/apps/coolercontrol/coolercontrol.spec @@ -8,7 +8,7 @@ for background device management, as well as a GUI to expertly customize your se %global __brp_mangle_shebangs %{nil} Name: coolercontrol -Version: 4.0.1 +Version: 4.2.1 Release: 1%{?dist} Summary: Cooling device control for Linux ExclusiveArch: x86_64 aarch64 diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index ee93f56a92..3e7b89e9f1 100644 --- a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec +++ b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary-openasar -Version: 0.0.889 +Version: 1.0.1046 Release: 1%{?dist} Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-canary/discord-canary.spec b/anda/apps/discord-canary/discord-canary.spec index 0080569adb..1481357048 100644 --- a/anda/apps/discord-canary/discord-canary.spec +++ b/anda/apps/discord-canary/discord-canary.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-canary -Version: 0.0.889 +Version: 1.0.1046 Release: 1%{?dist} Summary: Free Voice and Text Chat for Gamers URL: discord.com diff --git a/anda/apps/discord-openasar/discord-openasar.spec b/anda/apps/discord-openasar/discord-openasar.spec index 8c58cd70a6..b47ed2b597 100644 --- a/anda/apps/discord-openasar/discord-openasar.spec +++ b/anda/apps/discord-openasar/discord-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-openasar -Version: 0.0.128 +Version: 1.0.137 Release: 1%{?dist} Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec index e74ce58103..c90a76458c 100644 --- a/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec +++ b/anda/apps/discord-ptb-openasar/discord-ptb-openasar.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-ptb-openasar -Version: 0.0.181 +Version: 1.0.190 Release: 1%{?dist} Summary: A snappier Discord rewrite with features like further customization and theming License: MIT AND https://discord.com/terms diff --git a/anda/apps/discord-ptb/discord-ptb.spec b/anda/apps/discord-ptb/discord-ptb.spec index 1bbb9567bb..019c28cf3b 100644 --- a/anda/apps/discord-ptb/discord-ptb.spec +++ b/anda/apps/discord-ptb/discord-ptb.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord-ptb -Version: 0.0.181 +Version: 1.0.190 Release: 1%{?dist} Summary: Free Voice and Text Chat for Gamers. URL: https://discord.com @@ -37,7 +37,7 @@ mkdir -p %{buildroot}%{_datadir}/applications/ mkdir -p %{buildroot}%{_datadir}/pixmaps ln -s %_datadir/discord-ptb/discord-ptb.desktop %{buildroot}%{_datadir}/applications/ ln -s %_datadir/discord-ptb/discord.png %{buildroot}%{_datadir}/pixmaps/discord-ptb.png -ln -s %_datadir/discord-ptb/Discord %buildroot%_bindir/discord-ptb +ln -s %_datadir/discord-ptb/discord-ptb %buildroot%_bindir/discord-ptb %files %_bindir/discord-ptb diff --git a/anda/apps/discord/discord.spec b/anda/apps/discord/discord.spec index 210fbf7f0a..c3f1c662af 100644 --- a/anda/apps/discord/discord.spec +++ b/anda/apps/discord/discord.spec @@ -1,24 +1,16 @@ -%define debug_package %{nil} -%global _build_id_links none - -# Exclude private libraries -%global __requires_exclude libffmpeg.so -%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so - Name: discord -Version: 0.0.128 +Version: 1.0.137 Release: 1%{?dist} Summary: Free Voice and Text Chat for Gamers URL: https://discord.com Source0: https://dl.discordapp.net/apps/linux/%{version}/discord-%{version}.tar.gz -License: https://discord.com/terms -Requires: glibc GConf2 -Requires: nspr >= 4.13 -Requires: nss >= 3.27 -Requires: libX11 >= 1.6 -Requires: libXtst >= 1.2 +Source1: https://discord.com/terms#/terms.html +License: Proprietary Group: Applications/Internet ExclusiveArch: x86_64 + +%electronmeta -D + %description All-in-one voice and text chat for gamers that's free, secure, and works on both your desktop and phone. @@ -29,22 +21,24 @@ both your desktop and phone. %build %install -rm -rf $RPM_BUILD_ROOT mkdir -p %{buildroot}%{_bindir} -mkdir -p %{buildroot}%{_datadir}/discord -cp -rv * %{buildroot}%{_datadir}/discord -mkdir -p %{buildroot}%{_datadir}/applications/ +install -Dpm755 ./* -t %{buildroot}%{_datadir}/discord +mkdir -p %{buildroot}%{_appsdir} mkdir -p %{buildroot}%{_datadir}/pixmaps -ln -s %_datadir/discord/discord.desktop %{buildroot}%{_datadir}/applications/discord.desktop -ln -s %_datadir/discord/discord.png %{buildroot}%{_datadir}/pixmaps/discord.png -ln -s %_datadir/discord/Discord %buildroot%_bindir/discord +mv %{buildroot}%{_datadir}/discord/discord.desktop -t %{buildroot}%{_appsdir} +mv %{buildroot}%{_datadir}/discord/discord.png -t %{buildroot}%{_datadir}/pixmaps +mv %{buildroot}%{_datadir}/discord/discord -t %{buildroot}%{_bindir} +cp %{SOURCE1} -t . %files -%_bindir/discord +%license terms.html +%{_bindir}/discord %{_datadir}/discord/ -%{_datadir}/applications/discord.desktop +%{_appsdir}/discord.desktop %{_datadir}/pixmaps/discord.png %changelog +* Mon May 4 2026 Gilver E. - 1.0.136-2 +- Updated /usr/bin symlink * Thu Jan 19 2023 madonuko - 0.0.143-1 - Initial package diff --git a/anda/apps/dorion/dorion.spec b/anda/apps/dorion/dorion.spec index 77f9588661..107e8d5b2f 100644 --- a/anda/apps/dorion/dorion.spec +++ b/anda/apps/dorion/dorion.spec @@ -1,8 +1,8 @@ %undefine __brp_mangle_shebangs Name: dorion -Version: 6.12.0 -Release: 1%?dist +Version: 6.12.2 +Release: 1%{?dist} Summary: Tiny alternative Discord client with a smaller footprint, snappier startup, themes, plugins and more! SourceLicense: GPL-3.0-only License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND 0BSD AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 AND ISC) AND (Apache-2.0 AND MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR Apache-2.0) AND (BSD-3-Clause OR MIT) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND CC0-1.0 AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CDLA-Permissive-2.0 AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) diff --git a/anda/apps/envision/envision.spec b/anda/apps/envision/envision.spec index 185dd997f4..3539b07392 100644 --- a/anda/apps/envision/envision.spec +++ b/anda/apps/envision/envision.spec @@ -1,5 +1,5 @@ -%global commit f036b357d54fa7c4ca33bcdb11c6cd06afd1dd80 -%global commit_date 20260308 +%global commit 0149a82705e97b2f9cdccbc6076b4f213c9dc890 +%global commit_date 20260410 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: envision-nightly diff --git a/anda/apps/feishin/feishin.spec b/anda/apps/feishin/feishin.spec index 2a7bad7917..1ff803c0f0 100644 --- a/anda/apps/feishin/feishin.spec +++ b/anda/apps/feishin/feishin.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: feishin -Version: 1.7.0 +Version: 1.11.0 Release: 1%{?dist} Summary: A modern self-hosted music player License: GPL-3.0 diff --git a/anda/apps/flameshot/flameshot-nightly.spec b/anda/apps/flameshot/flameshot-nightly.spec index adaa01d529..993e3249df 100644 --- a/anda/apps/flameshot/flameshot-nightly.spec +++ b/anda/apps/flameshot/flameshot-nightly.spec @@ -1,9 +1,9 @@ #? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec %global ver 13.3.0 -%global commit 7a67146795935c945432b316c5ba41f8e7ab8b53 +%global commit 1534a895e757b51d34ab5b1184344f04d67b8ebc %global shortcommit %{sub %{commit} 1 7} -%global commit_date 20260309 +%global commit_date 20260504 %global devel_name QtColorWidgets %global _distro_extra_cflags -fuse-ld=mold %global _distro_extra_cxxflags -fuse-ld=mold diff --git a/anda/apps/framework-tool-tui/anda.hcl b/anda/apps/framework-tool-tui/anda.hcl new file mode 100644 index 0000000000..3f7dd905a1 --- /dev/null +++ b/anda/apps/framework-tool-tui/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "framework-tool-tui.spec" + } +} diff --git a/anda/apps/framework-tool-tui/framework-tool-tui.spec b/anda/apps/framework-tool-tui/framework-tool-tui.spec new file mode 100644 index 0000000000..8812b7ca78 --- /dev/null +++ b/anda/apps/framework-tool-tui/framework-tool-tui.spec @@ -0,0 +1,53 @@ +%undefine __brp_mangle_shebangs + +Name: framework-tool-tui +Version: 0.8.3 +Release: 1%{?dist} +Summary: A TUI for controlling and monitoring Framework Computers hardware built in Rust +URL: https://github.com/grouzen/framework-tool-tui +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +License: MIT AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (MIT OR Apache-2.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND Zlib AND (Unlicense OR MIT) +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros +BuildRequires: pkgconfig(libudev) +BuildArch: x86_64 + +Packager: Owen Zimmerman + +%description +A snappy TUI dashboard for controlling and monitoring your Framework Laptop +hardware — charging, privacy, lighting, USB PD ports, and more. + +%package doc +Summary: Documentations for %{name} +BuildArch: noarch + +%description doc +Documentations for %{name}. + +%prep +%autosetup +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dm755 target/rpm/framework-tool-tui %{buildroot}%{_bindir}/framework-tool-tui +%{cargo_license_online} > LICENSE.dependencies + +mkdir -p %{buildroot}%{_docdir}/%{name}/ +cp -r docs/*.md %{buildroot}%{_docdir}/%{name}/ + +%files +%{_bindir}/framework-tool-tui +%license LICENSE +%license LICENSE.dependencies +%doc README.md + +%files doc +%{_docdir}/%{name}/ + +%changelog +* Thu Apr 23 2026 Owen Zimmerman +- Initial commit diff --git a/anda/apps/framework-tool-tui/update.rhai b/anda/apps/framework-tool-tui/update.rhai new file mode 100644 index 0000000000..458dfc2ca0 --- /dev/null +++ b/anda/apps/framework-tool-tui/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("grouzen/framework-tool-tui")); diff --git a/anda/apps/goofcord/nightly/goofcord-nightly.spec b/anda/apps/goofcord/nightly/goofcord-nightly.spec index d8d334a7a3..9c837a0782 100644 --- a/anda/apps/goofcord/nightly/goofcord-nightly.spec +++ b/anda/apps/goofcord/nightly/goofcord-nightly.spec @@ -1,7 +1,7 @@ -%global commit 693414730d0e102e30f9b3fd92f30a81ef05258d +%global commit eebb15d3d940823883afa67bf62692874df7f2d1 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260307 -%global ver 2.1.1^ +%global commit_date 20260426 +%global ver 2.2.1^ %global base_name goofcord %global git_name GoofCord %global appid io.github.milkshiift.GoofCord diff --git a/anda/apps/goofcord/stable/goofcord.spec b/anda/apps/goofcord/stable/goofcord.spec index ac1813f643..ca79bf1ea9 100644 --- a/anda/apps/goofcord/stable/goofcord.spec +++ b/anda/apps/goofcord/stable/goofcord.spec @@ -2,7 +2,7 @@ %global appid io.github.milkshiift.GoofCord Name: goofcord -Version: 2.1.1 +Version: 2.2.1 Release: 1%{?dist} License: OSL-3.0 Summary: A privacy-minded Legcord fork. diff --git a/anda/apps/gurk/gurk.spec b/anda/apps/gurk/gurk.spec index d088ef6423..1960a6f593 100644 --- a/anda/apps/gurk/gurk.spec +++ b/anda/apps/gurk/gurk.spec @@ -1,8 +1,8 @@ %undefine __brp_mangle_shebangs Name: gurk -Version: 0.9.0 -Release: 1%?dist +Version: 0.9.3 +Release: 1%{?dist} Summary: Signal Messenger client for terminal License: AGPL-3.0-or-later AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND ISC AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause OR Apache-2.0) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND BSL-1.0 AND CDLA-Permissive-2.0 AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR BSD-1-Clause) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) URL: https://github.com/boxdot/gurk-rs diff --git a/anda/apps/halloy/halloy.spec b/anda/apps/halloy/halloy.spec index 0de5d3b8ce..723b17527b 100644 --- a/anda/apps/halloy/halloy.spec +++ b/anda/apps/halloy/halloy.spec @@ -4,8 +4,8 @@ %global crate halloy Name: halloy -Version: 2026.4 -Release: 1%?dist +Version: 2026.6 +Release: 1%{?dist} Summary: An open-source IRC client written in Rust, with the Iced GUI library Packager: Yoong jin SourceLicense: GPL-3.0-or-later diff --git a/anda/apps/helium-browser-bin/helium-browser-bin.spec b/anda/apps/helium-browser-bin/helium-browser-bin.spec index a958a7c83f..43fb1cc280 100644 --- a/anda/apps/helium-browser-bin/helium-browser-bin.spec +++ b/anda/apps/helium-browser-bin/helium-browser-bin.spec @@ -11,8 +11,8 @@ %endif Name: helium-browser-bin -Version: 0.9.4.1 -Release: 3%?dist +Version: 0.12.1.1 +Release: 1%{?dist} Summary: Private, fast, and honest web browser based on Chromium URL: https://helium.computer @@ -21,7 +21,7 @@ License: GPL-3.0-only AND BSD-3-Clause Source0: https://github.com/imputnet/helium-linux/releases/download/%{version}/helium-%{version}-%{arch}_linux.tar.xz Source1: https://github.com/imputnet/helium-linux/archive/refs/tags/%{version}.tar.gz Source2: net.imput.helium.metainfo.xml -Source3: net.imput.helium.desktop +Source3: helium.desktop ExclusiveArch: x86_64 aarch64 @@ -47,7 +47,7 @@ tar --strip-components=1 -zxvf %{SOURCE1} install -dm755 %{buildroot}%{_libdir}/%{name} cp -a * %{buildroot}%{_libdir}/%{name}/ -install -Dm644 %{SOURCE3} %{buildroot}%{_appsdir}/%{appid}.desktop +%desktop_file_install %{S:3} install -Dm644 product_logo_256.png %{buildroot}%{_hicolordir}/256x256/apps/%{appid}.png @@ -111,7 +111,7 @@ chmod 755 %{buildroot}%{_bindir}/%{name} %{_libdir}/%{name}/ # shebang reasons %attr(0755,root,root) %{_bindir}/%{name} -%{_appsdir}/%{appid}.desktop +%{_appsdir}/helium.desktop %{_hicolordir}/256x256/apps/%{appid}.png %{_metainfodir}/%{appid}.metainfo.xml diff --git a/anda/apps/helium-browser-bin/net.imput.helium.desktop b/anda/apps/helium-browser-bin/helium.desktop similarity index 100% rename from anda/apps/helium-browser-bin/net.imput.helium.desktop rename to anda/apps/helium-browser-bin/helium.desktop diff --git a/anda/apps/juce/juce.spec b/anda/apps/juce/juce.spec index a99fbc23f1..2f4afa404b 100644 --- a/anda/apps/juce/juce.spec +++ b/anda/apps/juce/juce.spec @@ -1,7 +1,7 @@ Name: juce Version: 8.0.12 -Release: 3%{?dist} -License: AGPL-3.0 +Release: 4%{?dist} +License: AGPL-3.0-or-later Summary: framework for audio application and plug-in development URL: https://juce.com Source: https://github.com/juce-framework/JUCE/archive/refs/tags/%{version}.tar.gz @@ -46,10 +46,12 @@ Documentation files for %{name} %prep %autosetup -p1 -n JUCE-%{version} -%build +%conf %cmake -DJUCER_ENABLE_GPL_MODE=1 \ -DJUCE_BUILD_EXTRAS=ON \ -DJUCE_TOOL_INSTALL_DIR=bin + +%build %cmake_build pushd docs/doxygen diff --git a/anda/apps/komikku/komikku.spec b/anda/apps/komikku/komikku.spec index 1cb2125885..545d2c050d 100644 --- a/anda/apps/komikku/komikku.spec +++ b/anda/apps/komikku/komikku.spec @@ -3,10 +3,9 @@ %global gtk4_version 4.14.4 %global libadwaita_version 1.5.1 %global pure_protobuf_version 2.0.0 -%global raw_ver v1.105.0 Name: komikku -Version: 1.105.0 +Version: 50.3.0 %forgemeta Release: 1%{?dist} Summary: A manga reader for GNOME @@ -15,7 +14,7 @@ BuildArch: noarch License: GPL-3.0-or-later URL: https://apps.gnome.org/Komikku/ -Source0: https://codeberg.org/valos/%{appname}/archive/%{raw_ver}.tar.gz#/%{name}-%{version}.tar.gz +Source0: https://codeberg.org/valos/%{appname}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: intltool diff --git a/anda/apps/komikku/update.rhai b/anda/apps/komikku/update.rhai index 13da8a9cef..4fddd2b9d3 100644 --- a/anda/apps/komikku/update.rhai +++ b/anda/apps/komikku/update.rhai @@ -1,4 +1 @@ -let latest_tag = get("https://codeberg.org/api/v1/repos/valos/Komikku/tags").json_arr()[0].name; -let new_version = find("([\\.\\d]+)", latest_tag, 1); -rpm.global("raw_ver", latest_tag); -rpm.version(new_version); +rpm.version(codeberg("valos/Komikku")); diff --git a/anda/apps/legcord/nightly/legcord-nightly.spec b/anda/apps/legcord/nightly/legcord-nightly.spec index 5dd6e6bf66..01c903c28f 100644 --- a/anda/apps/legcord/nightly/legcord-nightly.spec +++ b/anda/apps/legcord/nightly/legcord-nightly.spec @@ -1,5 +1,5 @@ -%global commit ae772e4b99cb199359fca7f10b96972365868685 -%global commit_date 20260309 +%global commit e55cd408f7eee7d1009a5c0bb4003914292f082d +%global commit_date 20260427 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global debug_package %nil %global __strip /bin/true diff --git a/anda/apps/legcord/stable/legcord.spec b/anda/apps/legcord/stable/legcord.spec index 1ebe509f14..445ae3002e 100644 --- a/anda/apps/legcord/stable/legcord.spec +++ b/anda/apps/legcord/stable/legcord.spec @@ -9,8 +9,8 @@ %endif Name: legcord -Version: 1.2.2 -Release: 1%?dist +Version: 1.2.4 +Release: 1%{?dist} License: OSL-3.0 Summary: Custom lightweight Discord client designed to enhance your experience URL: https://github.com/Legcord/Legcord diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index 8503fdbe3d..7dd067f276 100644 --- a/anda/apps/mpv/mpv-nightly.spec +++ b/anda/apps/mpv/mpv-nightly.spec @@ -1,9 +1,9 @@ # Disable X11 for RHEL 10+ %bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10] -%global commit 147c951a1735e9164d8e862e081792631f7d27f8 +%global commit cfd818bcaef262f82596f49444ee80073fa6d49a %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260309 +%global commit_date 20260506 %global ver 0.41.0 Name: mpv-nightly diff --git a/anda/apps/opensnitch/opensnitch.spec b/anda/apps/opensnitch/opensnitch.spec index 981612ce2b..526c4a597e 100644 --- a/anda/apps/opensnitch/opensnitch.spec +++ b/anda/apps/opensnitch/opensnitch.spec @@ -4,7 +4,7 @@ # https://github.com/evilsocket/opensnitch %global goipath github.com/evilsocket/opensnitch -Version: 1.7.0.0 +Version: 1.8.0 %gometa -f @@ -20,7 +20,7 @@ Snitch.} utils/packaging/ui/deb/debian/changelog Name: opensnitch -Release: %autorelease +Release: 1%{?dist} Summary: OpenSnitch is a GNU/Linux interactive application firewall inspired by Little Snitch License: GPL-3.0-only AND LGPL-2.1-or-later @@ -36,8 +36,7 @@ BuildRequires: python3dist(pyqt5) BuildRequires: /usr/bin/lrelease-qt5 BuildRequires: protobuf-compiler BuildRequires: pkgconfig(libnetfilter_queue) -#BuildRequires: protoc-gen-go -#BuildRequires: /usr/bin/protoc-gen-go-grpc +BuildRequires: qt6-linguist %description %{common_description} @@ -46,7 +45,6 @@ BuildRequires: pkgconfig(libnetfilter_queue) %prep %goprep -A -%autopatch -p1 export GOBIN=$(go env GOPATH | sed -E 's/:.+$//')/bin echo $GOBIN > %_builddir/gobin @@ -83,26 +81,15 @@ popd install -Dm755 opensnitchd -t %buildroot%_bindir pushd ui -%if 0%{?fedora} <= 41 -%py3_install -%else %pyproject_install %pyproject_save_files %name -%endif popd rm -rf %buildroot%python3_sitelib/tests/ cp -r %buildroot%python3_sitelib%_usr/ %buildroot%_usr/ --preserve=all --no-target-directory rm -rf %buildroot%python3_sitelib%_usr - -%if 0%{?fedora} <= 41 -%files -%{python3_sitelib}/%name/ -%{python3_sitelib}/%name-%{version}-py%{python3_version}.egg-info/ -%else %files -f %{pyproject_files} -%endif %license LICENSE %doc README.md %_bindir/opensnitch-ui @@ -113,7 +100,10 @@ rm -rf %buildroot%python3_sitelib%_usr %_iconsdir/hicolor/scalable/apps/opensnitch-ui.svg %_datadir/kservices5/kcm_opensnitch.desktop %_metainfodir/io.github.evilsocket.opensnitch.appdata.xml - -/usr/share/icons/hicolor/scalable/apps/opensnitch-ui.svg +%_scalableiconsdir/opensnitch-ui.svg %gopkgfiles + +%changelog +* Mon Mar 16 2026 Owen Zimmerman +- Fix build, clean up spec diff --git a/anda/apps/opensnitch/update.rhai b/anda/apps/opensnitch/update.rhai index e69de29bb2..def95f43fc 100644 --- a/anda/apps/opensnitch/update.rhai +++ b/anda/apps/opensnitch/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("evilsocket/opensnitch")); diff --git a/anda/apps/opentrack/anda.hcl b/anda/apps/opentrack/anda.hcl new file mode 100644 index 0000000000..3d67e7a597 --- /dev/null +++ b/anda/apps/opentrack/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "opentrack.spec" + } +} diff --git a/anda/apps/opentrack/com.github.opentrack.desktop b/anda/apps/opentrack/com.github.opentrack.desktop new file mode 100644 index 0000000000..0809ab5008 --- /dev/null +++ b/anda/apps/opentrack/com.github.opentrack.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Opentrack +Comment=Head tracking for games and simulation +Exec=opentrack +Icon=opentrack +Terminal=false +Categories=Game;Settings; diff --git a/anda/apps/opentrack/com.github.opentrack.metainfo.xml b/anda/apps/opentrack/com.github.opentrack.metainfo.xml new file mode 100644 index 0000000000..c65352384d --- /dev/null +++ b/anda/apps/opentrack/com.github.opentrack.metainfo.xml @@ -0,0 +1,30 @@ + + + com.github.opentrack + CC0-1.0 + ISC AND BSD-3-Clause AND BSD-2-Clause AND LGPL-2.1-only AND GPL-3.0-only AND LGPL-2.1-or-later AND MIT AND LGPL-3.0-or-later + /usr/share/icons/hicolor/256x256/apps/opentrack.png + + opentrack + Head tracking software for MS Windows, Linux, and Apple OSX + + +

+ opentrack is a program for tracking user's head rotation and transmitting it to flight simulation software and military-themed video games. +

+
+ + com.github.opentrack.desktop + + https://github.com/opentrack/opentrack + + opentrack + + + + head tracking + tracking + body tracking + +
diff --git a/anda/apps/opentrack/fix-qt6-resolve.patch b/anda/apps/opentrack/fix-qt6-resolve.patch new file mode 100644 index 0000000000..a24465e12c --- /dev/null +++ b/anda/apps/opentrack/fix-qt6-resolve.patch @@ -0,0 +1,13 @@ +diff --git a/tracker-neuralnet/env.cpp b/tracker-neuralnet/env.cpp +index 563c9c1..21b1d58 100644 +--- a/tracker-neuralnet/env.cpp ++++ b/tracker-neuralnet/env.cpp +@@ -20,7 +20,7 @@ void NeuralNetTracker::maybe_load_onnxruntime_dynamically() + std::abort(); + } + +- void* fn_OrtGetApiBase = lib.resolve("OrtGetApiBase"); ++ void* fn_OrtGetApiBase = reinterpret_cast(lib.resolve("OrtGetApiBase")); + if (!fn_OrtGetApiBase) + { + qDebug().nospace() << "tracker/nn: can't find OrtGetApiBase in onnxruntime: " << lib.errorString() << ". now crashing."; diff --git a/anda/apps/opentrack/opentrack.spec b/anda/apps/opentrack/opentrack.spec new file mode 100644 index 0000000000..9779cdd024 --- /dev/null +++ b/anda/apps/opentrack/opentrack.spec @@ -0,0 +1,116 @@ +%global debug_package %{nil} +%global openvr_ver 2.12.14 +%global appid com.github.opentrack +%global ver opentrack-2026.1.0 +%global sanitized_ver %(echo %{ver} | sed 's/opentrack\-//') + +Name: opentrack +Version: %{sanitized_ver} +Release: 1%{?dist} +Summary: Head tracking software for MS Windows, Linux, and Apple OSX + +License: ISC AND BSD-3-Clause AND BSD-2-Clause AND LGPL-2.1-only AND GPL-3.0-only AND LGPL-2.1-or-later AND MIT AND LGPL-3.0-or-later +URL: https://github.com/%{name}/%{name} +Source0: %{url}/archive/refs/tags/%{name}-%{version}.tar.gz +Source1: https://github.com/ValveSoftware/openvr/archive/refs/tags/v%{openvr_ver}.tar.gz +Source2: %{appid}.desktop +Source3: %{appid}.metainfo.xml + +Patch0: fix-qt6-resolve.patch + +ExcludeArch: %{ix86} + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: faust +BuildRequires: faust-osclib-devel +BuildRequires: libevdev-devel +BuildRequires: librealsense-devel +BuildRequires: libX11-devel +BuildRequires: libXtst-devel +BuildRequires: ninja-build +BuildRequires: onnxruntime-devel +BuildRequires: opencv-devel +BuildRequires: procps-ng-devel +BuildRequires: qt6-qt5compat-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qtbase-private-devel +BuildRequires: qt6-qtserialport-devel +BuildRequires: qt6-qttools-devel +BuildRequires: terra-wine-staging +BuildRequires: wine-staging-devel + +Requires: qt6-qtbase +Requires: qt6-qt5compat +Requires: qt6-qtserialport +Requires: opencv +Requires: faust-osclib +Requires: onnxruntime + +Packager: Owen Zimmerman + +%description +opentrack is a program for tracking user's head rotation and transmitting it to flight simulation software and military-themed video games. + +%prep +%autosetup -n %{name}-%{name}-%{version} -p1 +tar -xf %{SOURCE1} + +# Rename the OpenVR license so we can include it in the RPM +cp openvr-%{openvr_ver}/LICENSE LICENSE-OpenVR + +mkdir -p external-include/include/oscpack/osc +mkdir -p external-include/lib +ln -s /usr/include/faust/osc/*.h external-include/include/oscpack/osc/ +ln -s /usr/share/faust/osclib/oscpack/osc/*.h external-include/include/oscpack/osc/ +ln -s /usr/lib/libOSCFaust.so external-include/lib/liboscpack.so + +%build +%cmake -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ + -DSDK_HIERARCHY=ON \ + -DSDK_WINE=ON \ + -DSDK_LIBDIR=%{_lib}/%{name} \ + -DSDK_PLUGINDIR=%{_lib}/%{name} \ + -DSDK_OSCPACK=$PWD/external-include \ + -DSDK_ONNX=ON \ + -DONNXRuntime_DIR=%{_libdir} \ + -DONNXRuntime_INCLUDE_DIRS=%{_includedir}/onnxruntime \ + -DSDK_OPENCV=ON \ + -DSDK_VALVE_STEAMVR=$PWD/openvr-%{openvr_ver} \ + -DOPENCV_PREFIX=%{_prefix} + +%cmake_build + +%install +%cmake_install + +mkdir -p %{buildroot}%{_libdir}/%{name} +install -Dm755 openvr-%{openvr_ver}/bin/linux64/libopenvr_api.so %{buildroot}%{_libdir}/%{name}/ + +install -Dm644 gui/images/opentrack.png %{buildroot}%{_hicolordir}/256x256/apps/opentrack.png + +%desktop_file_install %{S:2} + +%terra_appstream -o %{S:3} + +%check +%desktop_file_validate %{buildroot}%{_appsdir}/%{appid}.desktop + +%files +%doc %{_datadir}/doc/%{name}/ +%license OPENTRACK-LICENSING.txt WARRANTY.txt LICENSE-OpenVR 3rdparty-notices/ +%{_bindir}/%{name} +%{_libexecdir}/%{name}/ +%{_libdir}/%{name}/libopenvr_api.so +%{_datadir}/%{name}/ +%{_datadir}/applications/%{appid}.desktop +%{_hicolordir}/256x256/apps/opentrack.png +%{_metainfodir}/%{appid}.metainfo.xml + +%changelog +* Sun Mar 15 2026 Owen Zimmerman - 2026.1.0-1 +- Port to Terra + +* Wed Mar 11 2026 LionHeartP - 2026.1.0-1 +- Initial Nobara package diff --git a/anda/apps/opentrack/update.rhai b/anda/apps/opentrack/update.rhai new file mode 100644 index 0000000000..876930473a --- /dev/null +++ b/anda/apps/opentrack/update.rhai @@ -0,0 +1 @@ +rpm.global("ver", gh("opentrack/opentrack")); diff --git a/anda/apps/peazip/peazip.spec b/anda/apps/peazip/peazip.spec index 649a3e5789..6448d162e1 100644 --- a/anda/apps/peazip/peazip.spec +++ b/anda/apps/peazip/peazip.spec @@ -2,8 +2,8 @@ %define debug_package %nil Name: peazip -Version: 10.9.0 -Release: 1%?dist +Version: 11.0.0 +Release: 1%{?dist} Summary: Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager License: LGPL-3.0-only URL: https://peazip.github.io diff --git a/anda/apps/proton-vpn/proton-vpn.spec b/anda/apps/proton-vpn/proton-vpn.spec index 276c836e63..00a21788da 100644 --- a/anda/apps/proton-vpn/proton-vpn.spec +++ b/anda/apps/proton-vpn/proton-vpn.spec @@ -1,11 +1,14 @@ +%global metainfo_commit 92832ea1d6adc2b226742d29bc41f5156426f898 + Name: proton-vpn-gtk-app -Version: 4.15.0 +Version: 4.16.1 Release: 1%{?dist} Summary: Official ProtonVPN Linux app License: GPL-3.0-only URL: https://protonvpn.com/download-linux Source0: https://github.com/ProtonVPN/proton-vpn-gtk-app/archive/refs/tags/v%version.tar.gz -Source1: https://github.com/flathub/com.protonvpn.www/blob/master/com.protonvpn.www.metainfo.xml +# So cursed but makes our lives easier +Source1: https://github.com/flathub/com.protonvpn.www/archive/%{metainfo_commit}/com.protonvpn.www-%{metainfo_commit}.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -42,6 +45,7 @@ with the user signup process handled on the website. %prep %autosetup -n %{name}-%{version} +tar -xvf %{SOURCE1} %build %pyproject_wheel @@ -50,18 +54,25 @@ with the user signup process handled on the website. %pyproject_install %pyproject_save_files proton install -Dm644 rpmbuild/SOURCES/proton-vpn-logo.svg %{buildroot}%{_scalableiconsdir}/proton-vpn-logo.svg -install -Dm644 %{SOURCE1} %{buildroot}%{_metainfodir}/com.protonvpn.www.metainfo.xml -# Match metainfo -install -Dm644 rpmbuild/SOURCES/proton.vpn.app.gtk.desktop %{buildroot}%{_appsdir}/com.protonvpn.www.desktop +install -Dm644 com.protonvpn.www-%{metainfo_commit}/com.protonvpn.www.metainfo.xml %{buildroot}%{_metainfodir}/com.protonvpn.www.metainfo.xml +install -Dm644 rpmbuild/SOURCES/proton.vpn.app.gtk.desktop %{buildroot}%{_appsdir}/proton.vpn.app.gtk.desktop + +# We pull in a metainfo file that often changes upstream, that calls the .desktop file what we are symlinking it to. +# If we install the .desktop file with the new name, the icon does not show properly on KDE Plasma. +%{__ln_s} -f %{_appsdir}/proton.vpn.app.gtk.desktop %{buildroot}%{_appsdir}/com.protonvpn.www.desktop %files -f %{pyproject_files} %doc README.md CONTRIBUTING.md CODEOWNERS %license LICENSE COPYING.md %{_bindir}/protonvpn-app +%{_appsdir}/proton.vpn.app.gtk.desktop %{_appsdir}/com.protonvpn.www.desktop %{_scalableiconsdir}/proton-vpn-logo.svg %{_metainfodir}/com.protonvpn.www.metainfo.xml %changelog +* Wed Mar 25 2026 Owen Zimmerman +- Fix metainfo and .desktop file + * Sat Jan 17 2026 Owen Zimmerman - Initial commit diff --git a/anda/apps/proton-vpn/update.rhai b/anda/apps/proton-vpn/update.rhai index d6fe8c6a5d..84f830d233 100644 --- a/anda/apps/proton-vpn/update.rhai +++ b/anda/apps/proton-vpn/update.rhai @@ -1 +1,3 @@ rpm.version(gh_tag("ProtonVPN/proton-vpn-gtk-app")); + +rpm.global("metainfo_commit", gh_commit("flathub/com.protonvpn.www")); diff --git a/anda/apps/protontricks/protontricks.spec b/anda/apps/protontricks/protontricks.spec index 4bd36d7ab3..d2f3ef4bae 100644 --- a/anda/apps/protontricks/protontricks.spec +++ b/anda/apps/protontricks/protontricks.spec @@ -2,8 +2,8 @@ %global pypi_name protontricks Name: terra-%{pypi_name} -Version: 1.14.0 -Release: 1%?dist +Version: 1.14.1 +Release: 1%{?dist} Summary: Simple wrapper that does winetricks things for Proton enabled games BuildArch: noarch diff --git a/anda/apps/rasputin/rasputin.spec b/anda/apps/rasputin/rasputin.spec index 11f64a5fb3..189c7043b4 100644 --- a/anda/apps/rasputin/rasputin.spec +++ b/anda/apps/rasputin/rasputin.spec @@ -1,10 +1,10 @@ -%global commit 605d9dd8c825b650deeaa614e1b83e8dbb41e87d -%global commit_date 20260128 +%global commit b8a8e25fdc8a9f7c479535144ca8f99a31aa299f +%global commit_date 20260325 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: rasputin Version: 0~%commit_date.git~%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Mouse and keyboard settings for Raspberry Pi Desktop License: BSD-3-Clause URL: https://github.com/raspberrypi-ui/rasputin diff --git a/anda/apps/rp-appset/rp-appset.spec b/anda/apps/rp-appset/rp-appset.spec index 8439da0659..f1f4147efe 100644 --- a/anda/apps/rp-appset/rp-appset.spec +++ b/anda/apps/rp-appset/rp-appset.spec @@ -1,10 +1,10 @@ -%global commit 605d9dd8c825b650deeaa614e1b83e8dbb41e87d -%global commit_date 20260128 +%global commit b8a8e25fdc8a9f7c479535144ca8f99a31aa299f +%global commit_date 20260325 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: appset Version: 0~%commit_date.git~%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Application for customisation of appearance of Raspberry Pi Desktop License: BSD-3-Clause URL: https://github.com/raspberrypi-ui/appset diff --git a/anda/apps/rp-bookshelf/rp-bookshelf.spec b/anda/apps/rp-bookshelf/rp-bookshelf.spec index dc27c53aac..23ddf8565f 100644 --- a/anda/apps/rp-bookshelf/rp-bookshelf.spec +++ b/anda/apps/rp-bookshelf/rp-bookshelf.spec @@ -1,10 +1,10 @@ -%global commit a720bf5041fd832a278378fd6f5cf9a0b3f8cc6f -%global commit_date 20251217 +%global commit ecc8fff9109001717d913dd5a4d30573f4a3f2c5 +%global commit_date 20260401 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: rp-bookshelf Version: 0~%commit_date.git~%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Browser for Raspberry Pi Press publications in PDF format License: BSD-3-Clause URL: https://github.com/raspberrypi-ui/bookshelf diff --git a/anda/apps/rpcc/rpcc.spec b/anda/apps/rpcc/rpcc.spec index 58bf36a020..e3445822e3 100644 --- a/anda/apps/rpcc/rpcc.spec +++ b/anda/apps/rpcc/rpcc.spec @@ -1,10 +1,10 @@ -%global commit 353e04bf0bc1866cba1f599cd76050890d33ba23 -%global commit_date 20260123 +%global commit 7b4843db7b7774110077760973e8050b4e632f86 +%global commit_date 20260331 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: rpcc Version: 0~%commit_date.git~%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Raspberry Pi Control Centre - an extensible settings application for the Raspberry Pi Desktop License: BSD-3-Clause URL: https://github.com/raspberrypi-ui/rpcc @@ -36,8 +36,10 @@ A number of packages contain plugins which are installed as standard on Raspberr %prep %autosetup -n rpcc-%commit -%build +%conf %meson + +%build %meson_build %install diff --git a/anda/apps/rpinters/rpinters.spec b/anda/apps/rpinters/rpinters.spec index 6435280952..5062d2da0c 100644 --- a/anda/apps/rpinters/rpinters.spec +++ b/anda/apps/rpinters/rpinters.spec @@ -1,10 +1,10 @@ -%global commit 0fee3911afdaabbdcf4e8214e3472198a1c0c9db -%global commit_date 20260304 +%global commit 8ce6f3eadf8e41d364d76d0853ae7f0cbb4fc23d +%global commit_date 20260501 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: rpinters Version: 0~%commit_date.git~%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Raspberry Pi printing utility module License: GPL-2+ AND BSD-3-Clause URL: https://github.com/raspberrypi-ui/rpinters diff --git a/anda/apps/ruffle/ruffle-nightly.spec b/anda/apps/ruffle/ruffle-nightly.spec index 40eddc35d1..5c374f6ee0 100644 --- a/anda/apps/ruffle/ruffle-nightly.spec +++ b/anda/apps/ruffle/ruffle-nightly.spec @@ -1,4 +1,4 @@ -%global ver 2026-03-09 +%global ver 2026-05-07 %global goodver %(echo %ver | sed 's/-//g') %global __brp_mangle_shebangs %{nil} %bcond_without mold diff --git a/anda/apps/rustnet/rustnet.spec b/anda/apps/rustnet/rustnet.spec index b8ccb90194..50780caba2 100644 --- a/anda/apps/rustnet/rustnet.spec +++ b/anda/apps/rustnet/rustnet.spec @@ -1,6 +1,6 @@ Name: rustnet -Version: 1.0.0 -Release: 1%?dist +Version: 1.3.0 +Release: 1%{?dist} Summary: A cross-platform network monitoring terminal UI tool built with Rust License: Apache-2.0 AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-3-Clause OR Apache-2.0) AND BSL-1.0 AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib URL: https://github.com/domcyrus/rustnet diff --git a/anda/apps/scrcpy/scrcpy.spec b/anda/apps/scrcpy/scrcpy.spec index ceb22441b1..6ce03d87ea 100644 --- a/anda/apps/scrcpy/scrcpy.spec +++ b/anda/apps/scrcpy/scrcpy.spec @@ -46,7 +46,7 @@ BuildRequires: python3-sdkmanager Requires: %{name}-server # Gradle here really wants Java 21-23 to work properly # Java 25 breaks the build -BuildRequires: java-21-openjdk-devel +BuildRequires: java-latest-openjdk-devel BuildConflicts: dkms-nvidia akmod-nvidia Requires: android-tools diff --git a/anda/apps/signal-desktop/fix-runtime.patch b/anda/apps/signal-desktop/fix-runtime.patch new file mode 100644 index 0000000000..7fe4b4760e --- /dev/null +++ b/anda/apps/signal-desktop/fix-runtime.patch @@ -0,0 +1,11 @@ +--- a/package.json 2026-03-23 09:45:41.545576312 +0100 ++++ b/package.json 2026-03-23 09:46:51.714180613 +0100 +@@ -424,7 +424,7 @@ + ] + }, + "engines": { +- "node": "24.14.0" ++ "node": ">= 22" + }, + "build": { + "appId": "org.whispersystems.signal-desktop", diff --git a/anda/apps/signal-desktop/signal-desktop.spec b/anda/apps/signal-desktop/signal-desktop.spec index 9c5e473b5c..e8afc87435 100644 --- a/anda/apps/signal-desktop/signal-desktop.spec +++ b/anda/apps/signal-desktop/signal-desktop.spec @@ -2,13 +2,14 @@ Name: signal-desktop %electronmeta -aD -Version: 8.1.0 -Release: 1%?dist +Version: 8.9.0 +Release: 1%{?dist} Summary: A private messenger for Windows, macOS, and Linux URL: https://signal.org Source0: https://github.com/signalapp/Signal-Desktop/archive/refs/tags/v%{version}.tar.gz Source1: signal.desktop Source2: org.signal.Signal.metainfo.xml +Patch0: fix-runtime.patch License: AGPL-3.0-only AND %{electron_license} BuildRequires: pulseaudio-libs-devel @@ -18,7 +19,7 @@ BuildRequires: anda-srpm-macros BuildRequires: pnpm BuildRequires: python3 BuildRequires: terra-appstream-helper -BuildRequires: nodejs-full-i18n +BuildRequires: libxcrypt-compat Requires: libwayland-cursor Requires: libwayland-client @@ -56,16 +57,20 @@ Signal Desktop links with Signal on Android or iOS and lets you message from you %prep %autosetup -n Signal-Desktop-%{version} +sed -i 's/--config.directories.output=release//g' package.json %build export SIGNAL_ENV=production +export SOURCE_DATE_EPOCH="$(date +"%s")" %{__pnpm} install --frozen-lockfile %{__pnpm} run clean-transpile pushd sticker-creator %{__pnpm} install --frozen-lockfile %{__pnpm} run build popd -%pnpm_build -r generate,prepare-beta-build +%dnl %pnpm_build -r generate,build:policy-files,generate,build:esbuild:prod +%{__pnpm} run generate +%{__pnpm} run build-linux %install %electron_install -i signal -l -I build/icons/png diff --git a/anda/apps/signal-desktop/signal.desktop b/anda/apps/signal-desktop/signal.desktop index 9ed98565b9..212816501f 100644 --- a/anda/apps/signal-desktop/signal.desktop +++ b/anda/apps/signal-desktop/signal.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=Signal -Exec=signal-desktop %U +Exec=signal-desktop --use-tray-icon %U Terminal=false Type=Application Icon=signal @@ -8,6 +8,3 @@ StartupWMClass=Signal Comment=Private messaging from your desktop MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha; Categories=Network;InstantMessaging;Chat; -X-Desktop-File-Install-Version=0.27 -X-Purism-FormFactor=Workstation;Mobile; -X-Flatpak-RenamedFrom=signal-desktop.desktop; diff --git a/anda/apps/snow/snow.spec b/anda/apps/snow/snow.spec index ad8c741a60..8eb14dde25 100644 --- a/anda/apps/snow/snow.spec +++ b/anda/apps/snow/snow.spec @@ -1,6 +1,6 @@ Name: snow -Version: 1.3.1 -Release: 1%?dist +Version: 1.4.1 +Release: 1%{?dist} Summary: Classic Macintosh emulator URL: https://github.com/twvd/snow Source0: %url/archive/refs/tags/v%version.tar.gz diff --git a/anda/apps/spotify-launcher/spotify-launcher.spec b/anda/apps/spotify-launcher/spotify-launcher.spec index a9719b76f4..07e6b2b179 100644 --- a/anda/apps/spotify-launcher/spotify-launcher.spec +++ b/anda/apps/spotify-launcher/spotify-launcher.spec @@ -1,18 +1,6 @@ -%undefine __brp_add_determinism -# disable debuginfo subpackage -%global debug_package %{nil} -# Disable build-id symlinks to avoid conflicts -%global _build_id_links none -# don't strip bundled binaries because pycharm checks length (!!!) of binary fsnotif -# and if you strip debug stuff from it, it will complain -%global __strip /bin/true -# disable rpath checks -%define __brp_check_rpaths %{nil} -%define _missing_build_ids_terminate_build 0 - Name: spotify-launcher Version: 0.6.5 -Release: 1%?dist +Release: 3%?dist Summary: Client for spotify's apt repository in Rust License: Apache-2.0 AND MIT AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CDLA-Permissive-2.0 AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib Packager: veuxit @@ -22,7 +10,7 @@ URL: https://github.com/kpcyrd/spotify-launcher Source0: https://github.com/kpcyrd/spotify-launcher/archive/refs/tags/v%{version}.tar.gz BuildRequires: cargo cargo-rpm-macros anda-srpm-macros pkgconfig(liblzma) desktop-file-utils -Requires: sequoia-sqv zenity alsa-lib gtk3 desktop-file-utils openssl nss at-spi2-atk libcurl libSM +Requires: sequoia-sqv zenity alsa-lib gtk3 desktop-file-utils openssl nss at-spi2-atk libcurl libSM libayatana-appindicator-gtk3 %description @@ -73,5 +61,8 @@ done %doc README.md %changelog -* Fri Feb 27 2026 veux - 0.6.5 +* Tue Mar 17 2026 veux - 0.6.5-2 +- Fix big package size and enable debug subpackages + +* Fri Feb 27 2026 veux - 0.6.5-1 - Initial package release diff --git a/anda/langs/go/chezmoi/anda.hcl b/anda/apps/tauon/anda.hcl similarity index 52% rename from anda/langs/go/chezmoi/anda.hcl rename to anda/apps/tauon/anda.hcl index 1b9cadbb43..8240804b26 100644 --- a/anda/langs/go/chezmoi/anda.hcl +++ b/anda/apps/tauon/anda.hcl @@ -1,5 +1,5 @@ project pkg { rpm { - spec = "chezmoi.spec" + spec = "tauon.spec" } } diff --git a/anda/apps/tauon/remove-reqed-version.patch b/anda/apps/tauon/remove-reqed-version.patch new file mode 100644 index 0000000000..11fc6854d8 --- /dev/null +++ b/anda/apps/tauon/remove-reqed-version.patch @@ -0,0 +1,13 @@ +diff --git a/requirements.txt b/requirements.txt +index a0471ddb..e8ca00a9 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -18,7 +18,7 @@ keyboard; sys_platform == 'win32' + lynxtray; sys_platform == 'win32' + opencc; sys_platform != 'win32' # optional + opencc-python-reimplemented; sys_platform == 'win32' # optional +-pypresence>=4.5.0 # optional ++pypresence # optional + tekore # optional + natsort # optional + #picard # optional diff --git a/anda/apps/tauon/tauon.spec b/anda/apps/tauon/tauon.spec new file mode 100644 index 0000000000..c3ae7839fb --- /dev/null +++ b/anda/apps/tauon/tauon.spec @@ -0,0 +1,69 @@ +%global _desc A music player for the desktop. Designed to be powerful and streamlined, putting the user in control of their music collection. + +%undefine __brp_mangle_shebangs + +Name: python-tauon +Version: 9.1.3 +Release: 1%{?dist} +Summary: A music player for the desktop. Designed to be powerful and streamlined +License: GPL-3.0-or-later +URL: https://tauonmusicbox.rocks/ +Source0: https://github.com/Taiko2k/Tauon/archive/refs/tags/v%{version}.tar.gz +Patch0: remove-reqed-version.patch + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: gcc +BuildRequires: make +BuildRequires: flac-devel +BuildRequires: mpg123-devel +BuildRequires: libvorbis-devel +BuildRequires: opusfile-devel +BuildRequires: libsamplerate-devel +BuildRequires: libopenmpt-devel +BuildRequires: wavpack-devel +BuildRequires: game-music-emu-devel + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-tauon +Summary: %{summary} +%{?python_provide:%python_provide python3-tauon} + +%description -n python3-tauon +%_desc + +%prep +%git_clone https://github.com/Taiko2k/Tauon v%{version} +%patch -P0 -p1 + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files tauon +%find_lang tauon +install -Dm644 extra/tauonmb.desktop %{buildroot}%{_appsdir}/tauonmb.desktop +install -Dm644 extra/tauonmb-symbolic.svg %{buildroot}%{_scalableiconsdir}/tauonmb-symbolic.svg +install -Dm644 extra/tauonmb.svg %{buildroot}%{_scalableiconsdir}/tauonmb.svg +install -Dm755 extra/tauonmb.sh %{buildroot}/opt/tauon/tauonmb.sh + +%files -n python3-tauon -f %{pyproject_files} -f tauon.lang +%doc README.md CHANGELOG.md CONTRIBUTING.md +%license LICENSE +%{_bindir}/tauonmb +%{python3_sitearch}/phazor.cpython-314-*-linux-gnu.so +%{_appsdir}/tauonmb.desktop +%{_scalableiconsdir}/tauonmb-symbolic.svg +%{_scalableiconsdir}/tauonmb.svg +/opt/tauon/tauonmb.sh + +%changelog +* Sat Mar 28 2026 Owen Zimmerman +- Initial commit diff --git a/anda/apps/tauon/update.rhai b/anda/apps/tauon/update.rhai new file mode 100644 index 0000000000..601e35ff3b --- /dev/null +++ b/anda/apps/tauon/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Taiko2k/Tauon")); diff --git a/anda/apps/throne/Sagernet.SingBox.Version.txt b/anda/apps/throne/Sagernet.SingBox.Version.txt index 7b75dcd339..f36a98a9c8 100644 --- a/anda/apps/throne/Sagernet.SingBox.Version.txt +++ b/anda/apps/throne/Sagernet.SingBox.Version.txt @@ -1 +1 @@ -v1.13.23 \ No newline at end of file +v1.13.11 \ No newline at end of file diff --git a/anda/apps/throne/throne.spec b/anda/apps/throne/throne.spec index e624ad1643..833db62722 100644 --- a/anda/apps/throne/throne.spec +++ b/anda/apps/throne/throne.spec @@ -1,7 +1,7 @@ #? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=throne-git Name: throne -Version: 1.1.0 +Version: 1.1.2 Release: 1%{?dist} Summary: Qt based cross-platform GUI proxy configuration manager (backend: sing-box) URL: https://github.com/throneproj/Throne diff --git a/anda/apps/ttop/ttop.spec b/anda/apps/ttop/ttop.spec index e1fd92a9b0..ae3cd95bb9 100644 --- a/anda/apps/ttop/ttop.spec +++ b/anda/apps/ttop/ttop.spec @@ -1,6 +1,6 @@ Name: ttop -Version: 1.5.7 -Release: 1%?dist +Version: 1.6.1 +Release: 1%{?dist} Summary: System monitoring tool with historical data service, triggers and top-like TUI License: MIT URL: https://github.com/inv2004/ttop diff --git a/anda/apps/twintaillauncher/twintaillauncher.spec b/anda/apps/twintaillauncher/twintaillauncher.spec index 769fcdeaaa..7633110232 100644 --- a/anda/apps/twintaillauncher/twintaillauncher.spec +++ b/anda/apps/twintaillauncher/twintaillauncher.spec @@ -6,19 +6,30 @@ Name: twintaillauncher -Version: 1.1.15 -Release: 1%{?dist} +Version: 2.0.0 +Release: 3%{?dist} Summary: A multi-platform launcher for your anime games Packager: Yoong Jin -SourceLicense: GPL-3.0-or-later -License: GPL-3.0-or-later AND (((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0) AND (Apache-2.0 AND ISC) AND (Apache-2.0 AND MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR CC0-1.0) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSD-2-Clause OR MIT) AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR BSD-3-Clause OR MIT) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR CC0-1.0 OR MIT-0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 WITH LLVM-exception) AND (BSD-2-Clause) AND (BSD-3-Clause) AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR MIT) AND CC0-1.0 AND (CC0-1.0 OR MIT-0) AND (CDLA-Permissive-2.0) AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (LGPL-3.0-or-later OR MIT) AND MIT AND (MIT OR Unlicense) AND MPL-2.0 AND Unicode-3.0 AND Zlib AND bzip2-1.0.6) +SourceLicense: GPL-3.0-only +License: GPL-3.0-only AND (((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0) AND (Apache-2.0 AND ISC) AND (Apache-2.0 AND MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR CC0-1.0) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSD-2-Clause OR MIT) AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR BSD-3-Clause OR MIT) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR CC0-1.0 OR MIT-0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR LGPL-2.1-or-later OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 WITH LLVM-exception) AND (BSD-2-Clause) AND (BSD-3-Clause) AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR MIT) AND CC0-1.0 AND (CC0-1.0 OR MIT-0) AND (CDLA-Permissive-2.0) AND ISC AND (ISC AND (Apache-2.0 OR ISC)) AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (LGPL-3.0-or-later OR MIT) AND MIT AND (MIT OR Unlicense) AND MPL-2.0 AND Unicode-3.0 AND Zlib AND bzip2-1.0.6) URL: https://twintaillauncher.app/ Source0: https://github.com/TwintailTeam/TwintailLauncher/archive/refs/tags/ttl-v%{version}.tar.gz ExclusiveArch: x86_64 +Requires: cairo +Requires: desktop-file-utils +Requires: gdk-pixbuf2 +Requires: glib2 +Requires: gtk3 Requires: hicolor-icon-theme +Requires: libappindicator-gtk3 +Requires: libayatana-appindicator-gtk3 +Requires: pango +Requires: webkit2gtk4.1 +Requires: mangohud +Requires: gamemode # Build requires BuildRequires: pnpm @@ -40,19 +51,19 @@ TTL is an all-in-one tool for downloading, managing, and launching your favorite %prep %autosetup -n TwintailLauncher-ttl-v%{version} -cd src-tauri -cargo update -cd .. %tauri_prep +%{__pnpm} import %build -%pnpm_build +%pnpm_build -F %install %tauri_install -mkdir -p %{buildroot}/%{_libdir}/twintaillauncher/resources -mv %{buildroot}/%{_datadir}/cargo/registry/twintaillauncher-%{version}/resources/ %{buildroot}/%{_libdir}/twintaillauncher/resources +mkdir -p %{buildroot}/usr/lib/twintaillauncher/resources + +#app expects files to be present there +mv %{buildroot}/%{_datadir}/cargo/registry/twintaillauncher-%{version}/resources %{buildroot}/usr/lib/twintaillauncher rm -rf %{buildroot}/%{_datadir}/cargo/registry/twintaillauncher-%{version} @@ -64,6 +75,7 @@ rm -rf %{buildroot}/%{_datadir}/cargo/registry/twintaillauncher-%{version} install -Dm644 public/launcher-icon.png %{buildroot}%{_hicolordir}/512x512/apps/%{name}.png install -Dm644 public/launcher-icon-128.png %{buildroot}%{_hicolordir}/128x128/apps/%{name}.png +chmod 0755 %{buildroot}/usr/lib/twintaillauncher/resources -R %files @@ -72,7 +84,7 @@ install -Dm644 public/launcher-icon-128.png %{buildroot}%{_hicolordir}/128x128/a %doc README.md %{_bindir}/twintaillauncher -%{_libdir}/twintaillauncher/resources +/usr/lib/twintaillauncher/resources %{_hicolordir}/512x512/apps/%{name}.png %{_hicolordir}/128x128/apps/%{name}.png %_appsdir/twintaillauncher.desktop @@ -80,7 +92,14 @@ install -Dm644 public/launcher-icon-128.png %{buildroot}%{_hicolordir}/128x128/a + %changelog +* Wed Apr 15 2026 Yoong Jin - 2.0.0-3 +- Fix folders +- filx perms +* Sat Apr 4 2026 Yoong Jin - 2.0.0-2 +- Fix folders +- Update License * Thu Feb 19 2026 Yoong Jin - 1.1.15-1 - Fix resources * Tue Feb 3 2026 Yoong Jin - 1.1.15-0 diff --git a/anda/apps/valent/anda.hcl b/anda/apps/valent/anda.hcl new file mode 100644 index 0000000000..e688a5daeb --- /dev/null +++ b/anda/apps/valent/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "valent.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/apps/valent/update.rhai b/anda/apps/valent/update.rhai new file mode 100644 index 0000000000..ea282cb7f0 --- /dev/null +++ b/anda/apps/valent/update.rhai @@ -0,0 +1,7 @@ +if filters.contains("nightly") { + rpm.global("commit", gh_commit("andyholmes/valent")); + if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + } +} diff --git a/anda/apps/valent/valent.spec b/anda/apps/valent/valent.spec new file mode 100644 index 0000000000..9dafaf6495 --- /dev/null +++ b/anda/apps/valent/valent.spec @@ -0,0 +1,98 @@ +%global commit df82168bc37ad1ec700c66b0f0f5dfd7a07be485 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20260316 + +Name: valent +Version: 0~%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: Connect, control and sync devices +License: GPL-3.0-or-later +URL: https://github.com/andyholmes/valent +Source0: %{url}/archive/%{commit}/valent-%{commit}.tar.gz +Source1: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/archive/master/libgnome-volume-control-master.tar.gz +Packager: Tulip Blossom + +Provides: bundled(gvc) +BuildRequires: desktop-file-utils +BuildRequires: evolution-data-server-devel +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libphonenumber-devel +BuildRequires: meson +BuildRequires: pkgconfig(glycin-2) +BuildRequires: pkgconfig(glycin-gtk4-2) +BuildRequires: pkgconfig(gnutls) +BuildRequires: pkgconfig(gstreamer-1.0) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(libpeas-2) +BuildRequires: pkgconfig(libpipewire-0.3) +BuildRequires: pkgconfig(libportal-gtk4) +BuildRequires: pkgconfig(libpulse) +BuildRequires: pkgconfig(tracker-sparql-3.0) + +%description +%{summary}. + +%package devel +%pkg_devel_files +%{_datadir}/vala/vapi/libvalent-1.deps +%{_datadir}/vala/vapi/libvalent-1.vapi +%{_libdir}/libvalent-1.so.0 +%{_libdir}/libvalent-1.so.1.0.0 + +%package langpacks +Summary: Translations for %{name} +BuildArch: noarch +Requires: %{name} = %{evr} + +%description langpacks +This package contains translations for %{name}. + +%prep +%autosetup -n valent-%{commit} -p1 +rm -r subprojects/gvc* +tar -xf %{SOURCE1} -C subprojects +mv subprojects/libgnome-volume-control* subprojects/gvc + +%conf +%meson + +%build +%meson_build + +%install +%meson_install + +%files langpacks +%{_datadir}/locale + + +%files +%license LICENSE +%doc README.md +%{_bindir}/valent +%{_datadir}/applications/ca.andyholmes.Valent.desktop +%{_datadir}/dbus-1/services/ca.andyholmes.Valent.service +%{_datadir}/gir-1.0/Valent-1.gir +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.battery.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.clipboard.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.connectivity_report.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.contacts.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.notification.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.runcommand.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.sftp.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.share.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.systemvolume.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.telephony.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.Plugin.xdp.gschema.xml +%{_datadir}/glib-2.0/schemas/ca.andyholmes.Valent.gschema.xml +%{_datadir}/icons/hicolor/scalable/apps/ca.andyholmes.Valent.svg +%{_datadir}/icons/hicolor/symbolic/apps/ca.andyholmes.Valent-symbolic.svg +%{_datadir}/metainfo/ca.andyholmes.Valent.metainfo.xml +%{_libdir}/girepository-1.0/Valent-1.typelib +%{_sysconfdir}/xdg/autostart/ca.andyholmes.Valent-autostart.desktop + +%changelog +* Sun Mar 15 2026 Tulip Blossom +- Initial commit diff --git a/anda/apps/voicevox/voicevox.spec b/anda/apps/voicevox/voicevox.spec index e932a6dd99..9aba51ee0e 100644 --- a/anda/apps/voicevox/voicevox.spec +++ b/anda/apps/voicevox/voicevox.spec @@ -13,8 +13,8 @@ %global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$ Name: voicevox -Version: 0.25.1 -Release: 1%?dist +Version: 0.25.2 +Release: 1%{?dist} Summary: Free Japanese text-to-speech editor License: LGPL-3.0 URL: https://voicevox.hiroshiba.jp diff --git a/anda/apps/vpkedit/vpkedit.spec b/anda/apps/vpkedit/vpkedit.spec index 8032a7f538..34949b70b8 100644 --- a/anda/apps/vpkedit/vpkedit.spec +++ b/anda/apps/vpkedit/vpkedit.spec @@ -1,20 +1,23 @@ -%define _unpackaged_files_terminate_build 0 +%global appid com.github.craftablescience.VPKEdit +%global _distro_extra_ldflags -fuse-ld=mold Name: vpkedit Version: 5.0.0.4 -Release: 1%?dist +Release: 2%?dist Summary: A CLI/GUI tool to create, read, and write several pack file formats License: MIT URL: https://github.com/craftablescience/VPKEdit Requires: qt6-qtbase hicolor-icon-theme Suggests: qt6-qtwayland Packager: madonuko -BuildRequires: cmake git-core gcc gcc-c++ binutils +BuildRequires: cmake git-core gcc gcc-c++ binutils mold BuildRequires: cmake(Qt6) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Linguist) BuildRequires: cmake(Qt6Charts) BuildRequires: cmake(Qt6LinguistTools) +BuildRequires: desktop-file-utils +BuildRequires: libappstream-glib ExclusiveArch: x86_64 %description @@ -30,8 +33,8 @@ new VPKs. %build %cmake -DBUILD_SHARED_LIBS:BOOL=OFF \ -DCMAKE_BUILD_TYPE=Release \ - -DCPACK_GENERATOR=RPM -# -DVPKEDIT_BUILD_LIBC=ON + -DCPACK_GENERATOR=RPM \ + -DVPKEDIT_USE_LTO=ON %cmake_build @@ -41,17 +44,22 @@ pushd %buildroot%_libdir/%name rm -rf {libQt*,*.md,LICENSE} popd mkdir -p %buildroot%_bindir -ln -sf %_libdir/vpkedit/vpkedit %buildroot%_bindir/vpkedit -ln -sf %_libdir/vpkedit/vpkeditcli %buildroot%_bindir/vpkeditcli -sed -i 's@Exec=/opt/vpkedit/@Exec=@g' %buildroot%_datadir/applications/vpkedit.desktop +#ln -sf %_libdir/vpkedit/vpkedit %buildroot%_bindir/vpkedit +#ln -sf %_libdir/vpkedit/vpkeditcli %buildroot%_bindir/vpkeditcli +desktop-file-edit --set-key=Exec --set-value=%_bindir/vpkedit %buildroot%_datadir/applications/vpkedit.desktop +%terra_appstream + +%check +desktop-file-validate %buildroot%_appsdir/%name.desktop %files %doc README.md CODE_OF_CONDUCT.md INSTALL.md CREDITS.md -%license LICENSE +%license LICENSE CREDITS.md %_bindir/vpkedit %_bindir/vpkeditcli %_libdir/%name/ %_datadir/applications/vpkedit.desktop %_hicolordir/*x*/apps/vpkedit.png %_datadir/mime/packages/vpkedit.xml +%_metainfodir/%appid.metainfo.xml diff --git a/anda/apps/winetricks/git/winetricks-git.spec b/anda/apps/winetricks/git/winetricks-git.spec index d02bcac45e..d75a454055 100644 --- a/anda/apps/winetricks/git/winetricks-git.spec +++ b/anda/apps/winetricks/git/winetricks-git.spec @@ -1,13 +1,13 @@ # Fedora sometimes sources the snapshots under stable versions and just bumps release # For user clarity I have separated these into different packages -%global commit b792287f5bec9086916aa9b81788e0ea38f02c24 +%global commit 14b802e419aff260b9d630e71027d88855e224e7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 20260125 -%global commit_date 20260222 +%global commit_date 20260411 Name: winetricks-git Version: %{ver}^%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Work around common problems in Wine; Winetricks Git builds License: LGPL-2.1-or-later URL: https://github.com/Winetricks/winetricks diff --git a/anda/tools/buildsys/anda/anda.hcl b/anda/buildsys/anda/anda.hcl similarity index 50% rename from anda/tools/buildsys/anda/anda.hcl rename to anda/buildsys/anda/anda.hcl index 603eef82af..a430c7e9ff 100644 --- a/anda/tools/buildsys/anda/anda.hcl +++ b/anda/buildsys/anda/anda.hcl @@ -1,5 +1,5 @@ project pkg { rpm { - spec = "rust-anda.spec" + spec = "anda.spec" } } diff --git a/anda/buildsys/anda/anda.spec b/anda/buildsys/anda/anda.spec new file mode 100644 index 0000000000..2db4ec04ba --- /dev/null +++ b/anda/buildsys/anda/anda.spec @@ -0,0 +1,77 @@ +# Work around a bug in rustc 1.95.0 with GCC +%global toolchain clang +%global crate anda + +Name: anda +Version: 0.5.4 +Release: 2%{?dist} +Summary: Andaman Build toolchain +SourceLicense: MIT +License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND CDLA-Permissive-2.0 AND ISC AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0-or-later AND MPL-2.0-only AND Unicode-3.0 AND (Unlicense OR MIT) +URL: https://crates.io/crates/anda +Source0: https://github.com/FyraLabs/anda/archive/refs/tags/%{version}.tar.gz +%if %["%{toolchain}" == "clang"] +BuildRequires: clang +%else +BuildRequires: gcc +%endif +BuildRequires: rust-packaging >= 21 +BuildRequires: anda-srpm-macros +BuildRequires: openssl-devel +%if %{defined fedora} +BuildRequires: openssl-devel-engine +%endif +BuildRequires: git-core +BuildRequires: libgit2-devel +BuildRequires: libssh2-devel +BuildRequires: mold +Requires: mock +Requires: rpm-build +Requires: createrepo_c +Requires: git-core +Requires: libgit2 +%if 0%{?fedora} >= 42 +Requires: mock-filesystem +Requires: util-linux-script +%endif +Packager: Terra Packaging Team + +%description +Andaman Build toolchain. + +%pkg_completion -bfz + +%prep +%autosetup -n %{crate}-%{version} +%cargo_prep_online +%{__cargo} fetch --locked + +%build +%{cargo_build} --frozen +%{cargo_license_online} > LICENSE.dependencies +%{__cargo} run --release -p xtask -- manpage +%{__cargo} run --release -p xtask -- completion + +%install +%crate_install_bin + +# Install shell completions +COMPDIR="target/assets/completion" + +install -Dm644 $COMPDIR/bash/anda.bash -t %{buildroot}%{bash_completions_dir} +install -Dm644 $COMPDIR/zsh/_anda -t %{buildroot}%{zsh_completions_dir} +install -Dm644 $COMPDIR/fish/anda.fish -t %{buildroot}%{fish_completions_dir} + +# Install man pages +install -Dm644 target/assets/man_pages/* -t %{buildroot}%{_mandir}/man1 + +%files +%doc README.md +%license LICENSE.dependencies LICENSE.md +%{_bindir}/anda +%{_mandir}/man1/anda*.1.* + +%changelog +* Sun May 3 2026 Gilver E. - 0.5.4-2 +- Fix build on Fedora 43 +- Add shell completions subpackages diff --git a/anda/tools/buildsys/anda/update.rhai b/anda/buildsys/anda/update.rhai similarity index 100% rename from anda/tools/buildsys/anda/update.rhai rename to anda/buildsys/anda/update.rhai diff --git a/anda/tools/buildsys/gradle/anda.hcl b/anda/buildsys/gradle/anda.hcl similarity index 78% rename from anda/tools/buildsys/gradle/anda.hcl rename to anda/buildsys/gradle/anda.hcl index da5869ef05..81e72434b7 100644 --- a/anda/tools/buildsys/gradle/anda.hcl +++ b/anda/buildsys/gradle/anda.hcl @@ -2,6 +2,6 @@ project pkg { arches = ["x86_64"] rpm { spec = "gradle.spec" - extra_repos = ["https://packages.adoptium.net/artifactory/rpm/fedora/\\$releasever/\\$basearch"] + extra_repos = ["https://packages.adoptium.net/artifactory/rpm/fedora/rawhide/\\$basearch"] } } diff --git a/anda/tools/buildsys/gradle/ci_setup.rhai b/anda/buildsys/gradle/ci_setup.rhai similarity index 100% rename from anda/tools/buildsys/gradle/ci_setup.rhai rename to anda/buildsys/gradle/ci_setup.rhai diff --git a/anda/tools/buildsys/gradle/gradle.spec b/anda/buildsys/gradle/gradle.spec similarity index 93% rename from anda/tools/buildsys/gradle/gradle.spec rename to anda/buildsys/gradle/gradle.spec index c2956ba859..836ef03e6b 100644 --- a/anda/tools/buildsys/gradle/gradle.spec +++ b/anda/buildsys/gradle/gradle.spec @@ -1,9 +1,10 @@ Name: gradle -Version: 9.4.0 -Release: 1%?dist +Version: 9.5.0 +Release: 1%{?dist} Summary: Powerful build system for the JVM URL: https://gradle.org/ Source0: https://github.com/gradle/gradle/archive/refs/tags/v%{version}.tar.gz +Packager: madonuko License: Apache-2.0 Requires: java coreutils findutils sed which bash BuildRequires: java-21-openjdk-devel asciidoc xmlto groovy unzip git @@ -69,17 +70,15 @@ install -m644 dist/init.d/*.* "%{buildroot}%{_javadir}/%{name}/init.d" mkdir -p "%{buildroot}/%{_bindir}" ln -s %{_javadir}/%{name}/bin/%{name} "%{buildroot}%{_bindir}/%{name}" -install -d %{buildroot}%{_javadir}/%{name}/docs -cp -r dist/docs/* %{buildroot}%{_javadir}/%{name}/docs - -install -d %{buildroot}%{_javadir}/%{name}/src -cp -r dist/src/* %{buildroot}%{_javadir}/%{name}/src +cp -r dist/* %{buildroot}%{_javadir}/%{name}/ %files %doc README.md %license LICENSE %{_sysconfdir}/profile.d/gradle.sh %{_javadir}/%{name}/ +%exclude %{_javadir}/%{name}/docs +%exclude %{_javadir}/%{name}/src %{_bindir}/%{name} %files doc diff --git a/anda/tools/buildsys/gradle/update.rhai b/anda/buildsys/gradle/update.rhai similarity index 100% rename from anda/tools/buildsys/gradle/update.rhai rename to anda/buildsys/gradle/update.rhai diff --git a/anda/tools/buildsys/katsu/anda.hcl b/anda/buildsys/katsu/anda.hcl similarity index 100% rename from anda/tools/buildsys/katsu/anda.hcl rename to anda/buildsys/katsu/anda.hcl diff --git a/anda/tools/buildsys/katsu/katsu.spec b/anda/buildsys/katsu/katsu.spec similarity index 100% rename from anda/tools/buildsys/katsu/katsu.spec rename to anda/buildsys/katsu/katsu.spec diff --git a/anda/tools/buildsys/katsu/update.rhai b/anda/buildsys/katsu/update.rhai similarity index 100% rename from anda/tools/buildsys/katsu/update.rhai rename to anda/buildsys/katsu/update.rhai diff --git a/anda/tools/buildsys/mise/anda.hcl b/anda/buildsys/mise/anda.hcl similarity index 100% rename from anda/tools/buildsys/mise/anda.hcl rename to anda/buildsys/mise/anda.hcl diff --git a/anda/tools/buildsys/mise/mise-fix-metadata-auto.diff b/anda/buildsys/mise/mise-fix-metadata-auto.diff similarity index 100% rename from anda/tools/buildsys/mise/mise-fix-metadata-auto.diff rename to anda/buildsys/mise/mise-fix-metadata-auto.diff diff --git a/anda/tools/buildsys/mise/rust-mise.spec b/anda/buildsys/mise/rust-mise.spec similarity index 99% rename from anda/tools/buildsys/mise/rust-mise.spec rename to anda/buildsys/mise/rust-mise.spec index e749c5044f..8ab0a117c3 100644 --- a/anda/tools/buildsys/mise/rust-mise.spec +++ b/anda/buildsys/mise/rust-mise.spec @@ -5,7 +5,7 @@ %global crate mise Name: rust-mise -Version: 2026.3.6 +Version: 2026.5.2 Release: 1%{?dist} Summary: Front-end to your dev env diff --git a/anda/tools/buildsys/mise/update.rhai b/anda/buildsys/mise/update.rhai similarity index 100% rename from anda/tools/buildsys/mise/update.rhai rename to anda/buildsys/mise/update.rhai diff --git a/anda/tools/buildsys/muon/anda.hcl b/anda/buildsys/muon/anda.hcl similarity index 56% rename from anda/tools/buildsys/muon/anda.hcl rename to anda/buildsys/muon/anda.hcl index 0a22d891b8..fd3534d4f4 100644 --- a/anda/tools/buildsys/muon/anda.hcl +++ b/anda/buildsys/muon/anda.hcl @@ -2,4 +2,7 @@ project pkg { rpm { spec = "muon.spec" } + labels { + subrepo = "extras" + } } diff --git a/anda/buildsys/muon/fix-tracy-header-placement-quirk.patch b/anda/buildsys/muon/fix-tracy-header-placement-quirk.patch new file mode 100644 index 0000000000..66995d6f33 --- /dev/null +++ b/anda/buildsys/muon/fix-tracy-header-placement-quirk.patch @@ -0,0 +1,13 @@ +diff --git a/include/tracy.h b/include/tracy.h +index 8bbc923f..ae58c877 100644 +--- a/include/tracy.h ++++ b/include/tracy.h +@@ -4,7 +4,7 @@ + */ + + #ifdef TRACY_ENABLE +-#include "tracy/TracyC.h" ++#include "tracy/tracy/TracyC.h" + + #define TracyCZoneAutoS TracyCZoneN(tctx_func, __func__, true) + #define TracyCZoneAutoE TracyCZoneEnd(tctx_func) diff --git a/anda/buildsys/muon/muon.spec b/anda/buildsys/muon/muon.spec new file mode 100644 index 0000000000..5a6538904d --- /dev/null +++ b/anda/buildsys/muon/muon.spec @@ -0,0 +1,64 @@ +Name: muon +Version: 0.5.0 +Release: 4%{?dist} +Summary: A meson-compatible build system + +# https://git.sr.ht/~lattis/muon/tree/master/item/LICENSES +License: GPL-3.0-only AND Apache-2.0 AND Unlicense AND MIT AND Python-2.0 +URL: https://muon.build/ +Source: https://git.sr.ht/~lattis/muon/archive/%{version}.tar.gz +Patch0: fix-tracy-header-placement-quirk.patch +# mdbook removed multilingual support, this patch can be removed when this package next bumps +Patch1: remove-multilingual-field.patch + +BuildRequires: meson +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: libcurl-devel +BuildRequires: libarchive-devel +BuildRequires: libpkgconf-devel +BuildRequires: scdoc +BuildRequires: git-core +BuildRequires: pkgconfig(tracy) +BuildRequires: pkgconfig(libattr) +BuildRequires: pkgconfig(bzip2) +BuildRequires: pkgconfig(libb2) +BuildRequires: pkgconfig(liblz4) +BuildRequires: pkgconfig(libzstd) +BuildRequires: pkgconfig(liblzma) +BuildRequires: pkgconfig(lzo2) +BuildRequires: pkgconfig(libxml-2.0) +BuildRequires: pkgconfig(libacl) +BuildRequires: python3-pyyaml +BuildRequires: mandoc +BuildRequires: mdbook + +Packager: Owen Zimmerman + +%description +An implementation of the meson build system in c99 with minimal dependencies. + +%prep +%autosetup -p1 + +%conf +%meson --wrap-mode=nofallback + +%build +%meson_build + +%install +%meson_install + +%files +%license LICENSES/ +%doc README.md +%{_bindir}/muon +%{_mandir}/man1/muon* +%{_mandir}/man5/meson* +%{_mandir}/man3/meson-reference.3.* + +%changelog +* Mon Apr 20 2026 Owen Zimmerman +- Update spec, add tracy patch diff --git a/anda/buildsys/muon/remove-multilingual-field.patch b/anda/buildsys/muon/remove-multilingual-field.patch new file mode 100644 index 0000000000..e0867fb189 --- /dev/null +++ b/anda/buildsys/muon/remove-multilingual-field.patch @@ -0,0 +1,25 @@ +From 776a9a30eded21206df1e643d888233472a2dbbf Mon Sep 17 00:00:00 2001 +From: Stone Tickle +Date: Thu, 27 Nov 2025 09:14:02 -0500 +Subject: [PATCH] remove multilingual field + +Signed-off-by: Owen-sz +--- + doc/book/book.toml | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/doc/book/book.toml b/doc/book/book.toml +index f51e1836..b96e9792 100644 +--- a/doc/book/book.toml ++++ b/doc/book/book.toml +@@ -1,7 +1,6 @@ + [book] + authors = ["Stone Tickle"] + language = "en" +-multilingual = false + src = "src" + title = "Muon Docs" + +-- +2.53.0 + diff --git a/anda/tools/buildsys/muon/update.rhai b/anda/buildsys/muon/update.rhai similarity index 100% rename from anda/tools/buildsys/muon/update.rhai rename to anda/buildsys/muon/update.rhai diff --git a/anda/tools/buildsys/ops2deb/anda.hcl b/anda/buildsys/ops2deb/anda.hcl similarity index 100% rename from anda/tools/buildsys/ops2deb/anda.hcl rename to anda/buildsys/ops2deb/anda.hcl diff --git a/anda/buildsys/ops2deb/ops2deb.spec b/anda/buildsys/ops2deb/ops2deb.spec new file mode 100644 index 0000000000..a2eef9ec7d --- /dev/null +++ b/anda/buildsys/ops2deb/ops2deb.spec @@ -0,0 +1,50 @@ +%global pypi_name ops2deb +%global _desc Generate Debian packages for common devops tools such as kubectl, kustomize, helm. + +Name: python-%{pypi_name} +Version: 2.7.0 +Release: 1%?dist +Summary: Generate Debian packages for common devops tools such as kubectl, kustomize, helm +License: MIT +URL: https://github.com/upciti/ops2deb +Source0: %{pypi_source} +Patch0: versions.patch +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-poetry + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/ops2deb + +%changelog +* Thu Apr 23 2026 Owen Zimmerman +- Switch to modern python packaging methods + +* Fri Apr 28 2023 madonuko - 2.4.1-1 +- Initial package. diff --git a/anda/tools/buildsys/ops2deb/update.rhai b/anda/buildsys/ops2deb/update.rhai similarity index 100% rename from anda/tools/buildsys/ops2deb/update.rhai rename to anda/buildsys/ops2deb/update.rhai diff --git a/anda/buildsys/ops2deb/versions.patch b/anda/buildsys/ops2deb/versions.patch new file mode 100644 index 0000000000..a01e2a5097 --- /dev/null +++ b/anda/buildsys/ops2deb/versions.patch @@ -0,0 +1,18 @@ +diff --git a/pyproject.toml b/pyproject.toml +index 29b753f..926abf8 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -18,10 +18,10 @@ packages = [ + ] + + [tool.poetry.dependencies] +-python = ">=3.10,<3.12" ++python = ">=3.10" + httpx = ">=0.20.0" +-semver = "3.0.2" +-"ruamel.yaml" = "0.18.14" ++semver = ">3.0.2" ++"ruamel.yaml" = ">0.18.14" + python-debian = ">=0.1.42" + PyYAML = "^6" + typer = ">=0.6.1" diff --git a/anda/desktops/budgie/budgie-extras/budgie-extras.spec b/anda/desktops/budgie/budgie-extras/budgie-extras.spec index 4a4a4cae5c..7633934619 100644 --- a/anda/desktops/budgie/budgie-extras/budgie-extras.spec +++ b/anda/desktops/budgie/budgie-extras/budgie-extras.spec @@ -1,5 +1,5 @@ Name: budgie-extras -Version: 2.2.1 +Version: 2.2.3 Release: 1%{?dist} License: GPL-3.0 diff --git a/anda/desktops/cagebreak/cagebreak.spec b/anda/desktops/cagebreak/cagebreak.spec index f939cb8ec0..b178160160 100644 --- a/anda/desktops/cagebreak/cagebreak.spec +++ b/anda/desktops/cagebreak/cagebreak.spec @@ -1,11 +1,11 @@ -%global tag 3.1.0 +%global tag 3.2.0 %global forgeurl https://github.com/project-repo/cagebreak %forgemeta Name: cagebreak Version: %{tag} Release: 1%{?dist} -Summary: A wayland tiling compositor inspired by Ratpoison +Summary: A wayland tiling compositor inspired by Ratpoison License: MIT URL: %{forgeurl} @@ -16,7 +16,7 @@ Packager: metcya BuildRequires: meson BuildRequires: gcc BuildRequires: scdoc -BuildRequires: pkgconfig(wlroots-0.19) +BuildRequires: pkgconfig(wlroots-0.20) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-server) BuildRequires: pkgconfig(wayland-cursor) @@ -43,7 +43,7 @@ conceptually based on the X11 window manager ratpoison. %build %meson -Dxwayland=true -Dman-pages=true -%meson_build +%meson_build %install %meson_install diff --git a/anda/desktops/driftwm/anda.hcl b/anda/desktops/driftwm/anda.hcl new file mode 100644 index 0000000000..7629282154 --- /dev/null +++ b/anda/desktops/driftwm/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "driftwm.spec" + } +} diff --git a/anda/desktops/driftwm/driftwm.spec b/anda/desktops/driftwm/driftwm.spec new file mode 100644 index 0000000000..14fa046ab5 --- /dev/null +++ b/anda/desktops/driftwm/driftwm.spec @@ -0,0 +1,46 @@ +Name: driftwm +Version: 0.5.0 +Release: 1%{?dist} +Summary: A trackpad-first infinite canvas Wayland compositor +License: GPL-3.0-or-later +URL: https://github.com/malbiruk/driftwm +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +Packager: Owen Zimmerman + +BuildRequires: cargo-rpm-macros +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(libseat) +BuildRequires: pkgconfig(libdisplay-info) +BuildRequires: libinput-devel +BuildRequires: libxkbcommon-devel +BuildRequires: mesa-libgbm-devel + +%description +%{summary}. + +%prep +%autosetup +%cargo_prep_online + +%build +%cargo_build +%cargo_license_summary_online +%{cargo_license_online} > LICENSE.dependencies + +%install +export PREFIX=/usr +%make_install + +%files +%doc README.md +%license LICENSE LICENSE.dependencies +%{_bindir}/driftwm +%{_bindir}/driftwm-session +%{_datadir}/wayland-sessions/driftwm.desktop +%{_datadir}/xdg-desktop-portal/driftwm-portals.conf +%{_sysconfdir}/driftwm/config.toml +%{_datadir}/driftwm/wallpapers/*.glsl + +%changelog +* Tue Mar 17 2026 Owen Zimmerman - 0.1.0-1 +- Initial commit diff --git a/anda/desktops/driftwm/update.rhai b/anda/desktops/driftwm/update.rhai new file mode 100644 index 0000000000..3d7c8b86dc --- /dev/null +++ b/anda/desktops/driftwm/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("malbiruk/driftwm")); diff --git a/anda/desktops/elementary/capnet-assist/anda.hcl b/anda/desktops/elementary/capnet-assist/anda.hcl new file mode 100644 index 0000000000..644f0f79b1 --- /dev/null +++ b/anda/desktops/elementary/capnet-assist/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "capnet-assist.spec" + } +} diff --git a/anda/desktops/elementary/capnet-assist/capnet-assist.spec b/anda/desktops/elementary/capnet-assist/capnet-assist.spec new file mode 100644 index 0000000000..85d9f8808c --- /dev/null +++ b/anda/desktops/elementary/capnet-assist/capnet-assist.spec @@ -0,0 +1,50 @@ +%global appid io.elementary.capnet-assist + +Name: capnet-assist +Version: 8.0.2 +Release: 1%?dist +Summary: Captive Network Assistant automatically opens to help you get connected +License: GPL-3.0-only +URL: https://github.com/elementary/capnet-assist +Source0: %url/archive/refs/tags/%version.tar.gz +BuildRequires: meson gettext vala desktop-file-utils +BuildRequires: pkgconfig(gcr-4) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(granite-7) >= 7.0.0 +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(libadwaita-1) >= 1.0.0 +BuildRequires: pkgconfig(webkitgtk-6.0) + +%description +Log into captive portals—like Wi-Fi networks at coffee shops, airports, and trains—with ease. Captive Network Assistant automatically opens to help you get connected. + +%prep +%autosetup + +%build +%meson +%meson_build + +%install +%meson_install + +%terra_appstream -o %buildroot%_metainfodir/%appid.metainfo.xml +%find_lang %appid + +%check +%desktop_file_validate %buildroot%_appsdir/%appid.desktop + +%files -f %appid.lang +%doc README.md +%license COPYING +%_bindir/%appid +%_appsdir/%appid.desktop +%_datadir/glib-2.0/schemas/%appid.gschema.xml +%_hicolordir/*/apps/%appid.svg +%_metainfodir/%appid.metainfo.xml + +%changelog +* Tue Apr 07 2026 madonuko - 8.0.2-1 +- Initial package. diff --git a/anda/desktops/elementary/capnet-assist/update.rhai b/anda/desktops/elementary/capnet-assist/update.rhai new file mode 100644 index 0000000000..fc7813e120 --- /dev/null +++ b/anda/desktops/elementary/capnet-assist/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/capnet-assist")); diff --git a/anda/desktops/gnome/gnome-shell-extension-appmenu-is-back/gnome-shell-extension-appmenu-is-back.spec b/anda/desktops/gnome/gnome-shell-extension-appmenu-is-back/gnome-shell-extension-appmenu-is-back.spec index c9adbfaafb..7e6a391c8c 100644 --- a/anda/desktops/gnome/gnome-shell-extension-appmenu-is-back/gnome-shell-extension-appmenu-is-back.spec +++ b/anda/desktops/gnome/gnome-shell-extension-appmenu-is-back/gnome-shell-extension-appmenu-is-back.spec @@ -3,7 +3,7 @@ Name: gnome-shell-extension-%{extension} Version: 12 -Release: 3%?dist +Release: 4%{?dist} Summary: GNOME Shell extension to bring back the app menu License: GPL-3.0-only URL: https://github.com/fthx/appmenu-is-back @@ -12,7 +12,7 @@ BuildArch: noarch Source0: https://github.com/fthx/appmenu-is-back/archive/refs/tags/v%{version}.tar.gz -Requires: (gnome-shell >= 48~ with gnome-shell < 50~) +Requires: gnome-shell >= 48~ Recommends: gnome-extensions-app %description diff --git a/anda/desktops/gnome/gnome-shell-extension-battery_time/gnome-shell-extension-battery_time.spec b/anda/desktops/gnome/gnome-shell-extension-battery_time/gnome-shell-extension-battery_time.spec index 5da29b0b8d..c7cd7205a8 100644 --- a/anda/desktops/gnome/gnome-shell-extension-battery_time/gnome-shell-extension-battery_time.spec +++ b/anda/desktops/gnome/gnome-shell-extension-battery_time/gnome-shell-extension-battery_time.spec @@ -7,7 +7,7 @@ Name: gnome-shell-extension-%{extension} Version: 0~%{commit_date}git.%{shortcommit} -Release: 2%?dist +Release: 3%{?dist} Summary: Battery remaining time extension for GNOME Shell License: GPL-2.0-only URL: https://github.com/pomoke/battery_time @@ -18,7 +18,7 @@ Source0: %url/archive/%commit/battery_time-%commit.tar.gz # License declared in README Source1: https://scancode-licensedb.aboutcode.org/gpl-2.0.LICENSE -Requires: (gnome-shell >= 48~ with gnome-shell < 50~) +Requires: gnome-shell >= 48~ Recommends: gnome-extensions-app Packager: Owen Zimmerman diff --git a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec b/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec index bcf2bd1c92..6c81ff0bf6 100644 --- a/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec +++ b/anda/desktops/gnome/gnome-shell-extension-gpu-supergfxctl-switch/gnome-shell-extension-gpu-supergfxctl-switch.spec @@ -7,18 +7,22 @@ Name: gnome-shell-extension-%{extension} Version: %ver^%commit_date.%shortcommit -Release: 2%?dist +Release: 3%{?dist} Summary: GPU Profile switcher Gnome-Shell-Extension for ASUS laptops using Supergfxctl License: GPL-3.0-only URL: https://github.com/chikobara/GPU-Switcher-Supergfxctl Source0: %url/archive/%commit.tar.gz -Requires: (gnome-shell >= 48~ with gnome-shell < 50~) asusctl supergfxctl +Requires: gnome-shell >= 48~ +Requires: asusctl +Requires: supergfxctl Recommends: gnome-extensions-app BuildArch: noarch +Packager: june-fish + %description GPU Profile switcher Gnome-Shell-Extension for ASUS laptops using Supergfxctl diff --git a/anda/desktops/gnome/gnome-shell-extension-grand-theft-focus/gnome-shell-extension-grand-theft-focus.spec b/anda/desktops/gnome/gnome-shell-extension-grand-theft-focus/gnome-shell-extension-grand-theft-focus.spec index 928de9d56d..cef765fdd2 100644 --- a/anda/desktops/gnome/gnome-shell-extension-grand-theft-focus/gnome-shell-extension-grand-theft-focus.spec +++ b/anda/desktops/gnome/gnome-shell-extension-grand-theft-focus/gnome-shell-extension-grand-theft-focus.spec @@ -2,8 +2,8 @@ %global uuid %{extension}@zalckos Name: gnome-shell-extension-%{extension} -Version: 9 -Release: 3%?dist +Version: 10 +Release: 2%{?dist} Summary: GNOME extension that removes the 'Window is ready' notification and brings the window into focus instead License: AGPL-3.0-only URL: https://github.com/zalckos/GrandTheftFocus @@ -12,7 +12,7 @@ BuildArch: noarch Source0: https://github.com/zalckos/GrandTheftFocus/archive/refs/tags/v%version.tar.gz -Requires: (gnome-shell >= 48~ with gnome-shell < 50~) +Requires: gnome-shell >= 48~ Recommends: gnome-extensions-app Packager: Owen Zimmerman diff --git a/anda/desktops/gnome/gnome-shell-extension-multi-monitors-bar/gnome-shell-extension-multi-monitors-bar.spec b/anda/desktops/gnome/gnome-shell-extension-multi-monitors-bar/gnome-shell-extension-multi-monitors-bar.spec index 735fe0e43d..0227f12442 100644 --- a/anda/desktops/gnome/gnome-shell-extension-multi-monitors-bar/gnome-shell-extension-multi-monitors-bar.spec +++ b/anda/desktops/gnome/gnome-shell-extension-multi-monitors-bar/gnome-shell-extension-multi-monitors-bar.spec @@ -1,5 +1,5 @@ -%global commit 911134bb3a8c7153095dc9d3b53af6a097a9d719 -%global commit_date 20260306 +%global commit aeb29c1e8ca23dc1bd89f1f2c73044e0ec031588 +%global commit_date 20260506 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global extension multi-monitors-bar @@ -17,7 +17,7 @@ BuildArch: noarch Source0: %url/archive/%commit/multi-monitors-bar_fapv2-%commit.tar.gz # README declared the license, but they do not provide a license file -Requires: (gnome-shell >= 48~ with gnome-shell < 50~) +Requires: gnome-shell >= 48~ Recommends: gnome-extensions-app Packager: Owen Zimmerman diff --git a/anda/desktops/gnome/gnome-shell-extension-vicinae/gnome-shell-extension-vicinae.spec b/anda/desktops/gnome/gnome-shell-extension-vicinae/gnome-shell-extension-vicinae.spec index 4c1fb6b1d2..32535f9575 100644 --- a/anda/desktops/gnome/gnome-shell-extension-vicinae/gnome-shell-extension-vicinae.spec +++ b/anda/desktops/gnome/gnome-shell-extension-vicinae/gnome-shell-extension-vicinae.spec @@ -1,8 +1,8 @@ %global uuid vicinae@dagimg-dot.netlify.app Name: gnome-shell-extension-vicinae -Version: 1.6.0 -Release: 1%?dist +Version: 1.6.1 +Release: 2%{?dist} License: MIT URL: https://github.com/dagimg-dot/vicinae-gnome-extension Source: %{url}/archive/refs/tags/v%{version}.tar.gz @@ -12,7 +12,7 @@ Packager: metcya BuildArch: noarch BuildRequires: bun-bin glib2-devel -Requires: (gnome-shell >= 48~ with gnome-shell < 50~) +Requires: gnome-shell >= 48~ Requires: vicinae Recommends: gnome-extensions-app Provides: gnome-shell-extension-vicinae-gnome-extension diff --git a/anda/desktops/gnome/gnome-shell/gnome-shell.spec b/anda/desktops/gnome/gnome-shell/gnome-shell.spec index 27ef4e6457..b835be6c66 100644 --- a/anda/desktops/gnome/gnome-shell/gnome-shell.spec +++ b/anda/desktops/gnome/gnome-shell/gnome-shell.spec @@ -1,6 +1,6 @@ %global tarball_version %%(echo %{version} | tr '~' '.') -%global major_version 49 -%global minor_version 2 +%global major_version 50 +%global minor_version 1 %if 0%{?rhel} %global portal_helper 0 diff --git a/anda/desktops/hyprland/hyprutils/hyprutils.nightly.spec b/anda/desktops/hyprland/hyprutils/hyprutils.nightly.spec index 9fd35c615c..a4476a8093 100644 --- a/anda/desktops/hyprland/hyprutils/hyprutils.nightly.spec +++ b/anda/desktops/hyprland/hyprutils/hyprutils.nightly.spec @@ -1,10 +1,10 @@ #? https://src.fedoraproject.org/rpms/hyprutils/blob/rawhide/f/hyprutils.spec %global realname hyprutils -%global ver 0.11.0 +%global ver 0.13.0 -%global commit 8eb974bdeaa64d7127ab2fff272166c705b7a933 -%global commit_date 20260308 +%global commit ec5c0c709706bad5b82f667fd8758eae442577ce +%global commit_date 20260430 %global shortcommit %{sub %commit 1 7} Name: %realname.nightly diff --git a/anda/desktops/hyprland/hyprwayland-scanner/hyprwayland-scanner.nightly.spec b/anda/desktops/hyprland/hyprwayland-scanner/hyprwayland-scanner.nightly.spec index ed74bb36cd..03001fbc1f 100644 --- a/anda/desktops/hyprland/hyprwayland-scanner/hyprwayland-scanner.nightly.spec +++ b/anda/desktops/hyprland/hyprwayland-scanner/hyprwayland-scanner.nightly.spec @@ -1,10 +1,10 @@ #? https://src.fedoraproject.org/rpms/hyprwayland-scanner/blob/rawhide/f/hyprwayland-scanner.spec %global realname hyprwayland-scanner -%global ver 0.4.5 -%global commit 0a692d4a645165eebd65f109146b8861e3a925e7 +%global ver 0.4.6 +%global commit b8632713a6beaf28b56f2a7b0ab2fb7088dbb404 %global shortcommit %{sub %commit 1 7} -%global commit_date 20260303 +%global commit_date 20260426 Name: %realname.nightly Version: %ver^%{commit_date}git.%shortcommit diff --git a/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec b/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec index 83b82c2d59..c0ef17ec79 100644 --- a/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec +++ b/anda/desktops/kde/lightdm-kde-greeter/lightdm-kde-greeter.spec @@ -1,8 +1,8 @@ -%global commit e7378bd297144d4d55cf6de2e53fe34c3043b7ca +%global commit b58d624095da102fef99b5825ad6dc78a5cec5a1 Name: lightdm-kde-greeter -Version: 6.1.3 -Release: 1%?dist +Version: 6.1.6 +Release: 1%{?dist} Summary: Login screen using the LightDM framework License: GPL-3.0-or-later URL: https://invent.kde.org/plasma/%name diff --git a/anda/desktops/kde/plasma6-applet-appgrid/anda.hcl b/anda/desktops/kde/plasma6-applet-appgrid/anda.hcl new file mode 100644 index 0000000000..efc7b5f9be --- /dev/null +++ b/anda/desktops/kde/plasma6-applet-appgrid/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "plasma6-applet-appgrid.spec" + } +} diff --git a/anda/desktops/kde/plasma6-applet-appgrid/plasma6-applet-appgrid.spec b/anda/desktops/kde/plasma6-applet-appgrid/plasma6-applet-appgrid.spec new file mode 100644 index 0000000000..8ae73fa61a --- /dev/null +++ b/anda/desktops/kde/plasma6-applet-appgrid/plasma6-applet-appgrid.spec @@ -0,0 +1,71 @@ +Name: plasma6-applet-appgrid +Version: 1.7.8 +Release: 1%{?dist} +Summary: A modern application launcher for KDE Plasma, inspired by macOS and COSMIC +# Main code: GPL-2.0-or-later +# dev.xarbit.appgrid.metainfo.xml: CC0-1.0 +License: GPL-2.0-or-later AND CC0-1.0 +URL: https://github.com/xarbit/plasma6-applet-appgrid +Packager: hilltty <49129010+hilltty@users.noreply.github.com> +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: gcc-c++ +BuildRequires: gettext +BuildRequires: kf6-rpm-macros +BuildRequires: cmake(Qt6Quick) +BuildRequires: cmake(Qt6Gui) +BuildRequires: cmake(Qt6DBus) +BuildRequires: cmake(KF6Service) +BuildRequires: cmake(KF6I18n) +BuildRequires: cmake(KF6CoreAddons) +BuildRequires: cmake(KF6KIO) +BuildRequires: cmake(KF6WindowSystem) +BuildRequires: cmake(KF6Package) +BuildRequires: cmake(KF6Runner) +BuildRequires: cmake(Plasma) +BuildRequires: cmake(PlasmaQuick) +BuildRequires: cmake(LayerShellQt) +BuildRequires: cmake(LibKWorkspace) + +Requires: plasma-workspace +Requires: kf6-kservice +Requires: kf6-ki18n +Requires: kf6-kcoreaddons +Requires: kf6-kio +Requires: kf6-kwindowsystem +Requires: layer-shell-qt + +%description +AppGrid is a modern application launcher for KDE Plasma 6, inspired by +macOS Launchpad, COSMIC, and Pantheon. + +%prep +%autosetup -n plasma6-applet-appgrid-%{version} + +%conf +%cmake + +%build +%cmake_build + +%install +%cmake_install +%find_lang dev.xarbit.appgrid --with-kde + +%files -f dev.xarbit.appgrid.lang +%license LICENSE +%doc README.md +%{_libdir}/qt6/plugins/plasma/applets/dev.xarbit.appgrid.so +%{_libdir}/qt6/plugins/plasma/applets/dev.xarbit.appgrid.panel.so +%{_datadir}/plasma/plasmoids/dev.xarbit.appgrid/ +%{_datadir}/plasma/plasmoids/dev.xarbit.appgrid.panel/ +%{_metainfodir}/dev.xarbit.appgrid.metainfo.xml + +%changelog +* Sat Apr 25 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.7.8-1 +- Update to 1.7.8 + +* Thu Apr 24 2026 hilltty <49129010+hilltty@users.noreply.github.com> - 1.2.1-1 +- Initial package diff --git a/anda/desktops/kde/plasma6-applet-appgrid/update.rhai b/anda/desktops/kde/plasma6-applet-appgrid/update.rhai new file mode 100644 index 0000000000..acfe50ecd6 --- /dev/null +++ b/anda/desktops/kde/plasma6-applet-appgrid/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("xarbit/plasma6-applet-appgrid")); diff --git a/anda/desktops/lomiri-unity/frame/frame.spec b/anda/desktops/lomiri-unity/frame/frame.spec index eff103791c..ac7da8587c 100644 --- a/anda/desktops/lomiri-unity/frame/frame.spec +++ b/anda/desktops/lomiri-unity/frame/frame.spec @@ -33,7 +33,7 @@ developing applications that use %{name}. %prep %autosetup -c -p1 -%build +%conf NOCONFIGURE=1 \ ./autogen.sh @@ -44,6 +44,7 @@ export PYTHON --disable-silent-rules \ --disable-static +%build %make_build %install diff --git a/anda/desktops/lomiri-unity/geis/geis.spec b/anda/desktops/lomiri-unity/geis/geis.spec index a83c0dd4f4..94f5f302f8 100644 --- a/anda/desktops/lomiri-unity/geis/geis.spec +++ b/anda/desktops/lomiri-unity/geis/geis.spec @@ -37,7 +37,7 @@ developing applications that use %{name}. %prep %autosetup -n geis-%{version}+16.04.20160126 -p1 -%build +%conf NOCONFIGURE=1 \ ./autogen.sh @@ -48,6 +48,7 @@ export PYTHON --disable-silent-rules \ --disable-static +%build %make_build %install diff --git a/anda/desktops/lomiri-unity/libunity-misc/libunity-misc.spec b/anda/desktops/lomiri-unity/libunity-misc/libunity-misc.spec index 6398562321..9a20428285 100644 --- a/anda/desktops/lomiri-unity/libunity-misc/libunity-misc.spec +++ b/anda/desktops/lomiri-unity/libunity-misc/libunity-misc.spec @@ -32,14 +32,17 @@ developing applications that use %{name}. %prep %autosetup -n libunity-misc-%{version}+14.04.20140115 + +%conf find ./ -type f -exec sed -i 's/-Werror//' {} \; NOCONFIGURE=1 \ ./autogen.sh -%build %configure \ --disable-silent-rules \ --disable-static + +%build %make_build %install diff --git a/anda/desktops/lomiri-unity/lomiri-api/lomiri-api.spec b/anda/desktops/lomiri-unity/lomiri-api/lomiri-api.spec index f0738793e0..f3e9435f2e 100644 --- a/anda/desktops/lomiri-unity/lomiri-api/lomiri-api.spec +++ b/anda/desktops/lomiri-unity/lomiri-api/lomiri-api.spec @@ -3,8 +3,8 @@ %forgemeta Name: lomiri-api -Version: 0.3.0 -Release: 1%?dist +Version: 0.3.2 +Release: 1%{?dist} Summary: API for Lomiri License: LGPL-3.0-or-later diff --git a/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec b/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec index f5993637c6..4cf59a5276 100644 --- a/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec +++ b/anda/desktops/lomiri-unity/lomiri-app-launch/lomiri-app-launch.spec @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch -%global commit f4b7c634dc4f95086dcda70113fbc2f6ce22eed7 +%global commit c40aaeecbc1a1634f961ed6ce2b5f5cb0e5196e3 %forgemeta Name: lomiri-app-launch diff --git a/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec b/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec index 96f8c635bb..3c5b75197a 100644 --- a/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec +++ b/anda/desktops/lomiri-unity/lomiri-download-manager/lomiri-download-manager.spec @@ -1,10 +1,10 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-download-manager -%global commit ff2bc3a8f57b6124ca866c108c49aabcbe22bdf8 +%global commit 0939d480c72871b3270cc529e16902fd41bfdda5 %forgemeta Name: lomiri-download-manager -Version: 0.3.0 -Release: 1%?dist +Version: 0.3.1 +Release: 1%{?dist} Summary: Upload Download Manager for Lomiri License: LGPLv3 URL: https://gitlab.com/ubports/development/core/lomiri-download-manager diff --git a/anda/desktops/lomiri-unity/lomiri-settings-components/lomiri-settings-components.spec b/anda/desktops/lomiri-unity/lomiri-settings-components/lomiri-settings-components.spec index 5eb61ebeb3..9aaa1fe248 100644 --- a/anda/desktops/lomiri-unity/lomiri-settings-components/lomiri-settings-components.spec +++ b/anda/desktops/lomiri-unity/lomiri-settings-components/lomiri-settings-components.spec @@ -1,10 +1,10 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-settings-components -%global commit 91a0a1f94b90d8e3371ab47b769bcd058ac57a74 +%global commit 7bfc33d16ca234af8c88477cfbb2a95f3b7d8c9a %forgemeta Name: lomiri-settings-components -Version: 1.1.3 -Release: 1%?dist +Version: 1.2.0 +Release: 1%{?dist} Summary: The system settings components for Lomiri License: GPLv3 AND LGPLv3 URL: https://gitlab.com/ubports/development/core/lomiri-settings-components diff --git a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec index 4ad70146d7..5b8b0ded44 100644 --- a/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec +++ b/anda/desktops/lomiri-unity/lomiri-system-settings/lomiri-system-settings.spec @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings -%global commit 1087bf3b31cd13dcfb04cadc21b4ef5d1002ed73 +%global commit cdf9dc925feb09c4e4e540849d3e9f6efa67599d %forgemeta Name: lomiri-system-settings diff --git a/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec b/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec index d4e7b92787..bee5fd5d79 100644 --- a/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec +++ b/anda/desktops/lomiri-unity/lomiri-ui-toolkit/lomiri-ui-toolkit.spec @@ -1,10 +1,10 @@ %global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit -%global commit 77935cd890e5d04ac91e1c53e80ab4c39bad8fe7 +%global commit d4afffeb1e4180aba90f3e52b6556894147cdbf9 %forgemeta Name: lomiri-ui-toolkit -Version: 1.3.5903 -Release: 1%?dist +Version: 1.3.5905 +Release: 1%{?dist} Summary: QML components to ease the creation of beautiful applications in QML for Lomiri License: LGPL-3.0 diff --git a/anda/desktops/lomiri-unity/nux/nux.spec b/anda/desktops/lomiri-unity/nux/nux.spec index c42fe66afb..8ac24413bc 100644 --- a/anda/desktops/lomiri-unity/nux/nux.spec +++ b/anda/desktops/lomiri-unity/nux/nux.spec @@ -1,6 +1,6 @@ Name: nux Version: 4.0.8 -Release: %autorelease +Release: 1%{?dist} Summary: An OpenGL toolkit License: GPL-3.0-or-later AND LGPL-3.0-or-later AND LGPL-2.0-or-later @@ -51,7 +51,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %autosetup -n nux-%{version} -p1 for i in debian/patches/*.patch; do patch -p1 < $i; done -%build +%conf NOCONFIGURE=1 \ ./autogen.sh @@ -60,6 +60,7 @@ NOCONFIGURE=1 \ --disable-silent-rules \ --disable-static +%build %make_build %install diff --git a/anda/desktops/lomiri-unity/nux/update.rhai b/anda/desktops/lomiri-unity/nux/update.rhai new file mode 100644 index 0000000000..a50d44a7f3 --- /dev/null +++ b/anda/desktops/lomiri-unity/nux/update.rhai @@ -0,0 +1,2 @@ +let v = find(`Latest version is ([\d.]+)`, get("https://launchpad.net/nux"), 1); +rpm.version(v); diff --git a/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec b/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec index bbd6de1364..b99b54067a 100644 --- a/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec +++ b/anda/desktops/lomiri-unity/unity-greeter/unity-greeter.spec @@ -2,10 +2,10 @@ Name: unity-greeter Version: 25.04.1 -Release: 1%?dist +Release: 2%?dist Summary: Unity Greeter for Lightdm -License: GPL-3.0 +License: GPL-3.0-or-later URL: https://launchpad.net/unity-greeter Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/unity-greeter_%version-0ubuntu%rn.tar.xz Patch1: 0001-Remove-libido.patch @@ -35,12 +35,13 @@ It is implemented as a LightDM greeter. %prep %autosetup -p1 -%build +%conf NOCONFIGURE=1 \ ./autogen.sh %configure --disable-static +%build %make_build %install diff --git a/anda/desktops/lomiri-unity/unity-scope-home/unity-scope-home.spec b/anda/desktops/lomiri-unity/unity-scope-home/unity-scope-home.spec index 3d9c527ee3..a0d6babb9a 100644 --- a/anda/desktops/lomiri-unity/unity-scope-home/unity-scope-home.spec +++ b/anda/desktops/lomiri-unity/unity-scope-home/unity-scope-home.spec @@ -1,7 +1,7 @@ Name: unity-scope-home Summary: Home scope that aggregates results from multiple scopes Version: 19.04.20190412 -Release: %autorelease +Release: 1%{?dist} License: GPL-3.0 URL: https://launchpad.net/unity-scope-home Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-scope-home/unity-scope-home_6.8.2+%{version}.orig.tar.gz @@ -32,12 +32,14 @@ Theme and icons for Unity. %prep %autosetup -c -p1 -%build +%conf NOCONFIGURE=1 \ ./autogen.sh # Cannot build with Fedora's libunity %configure --disable-static + +%build %make_build %install diff --git a/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec b/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec index 15aa584635..acd54b5ad1 100644 --- a/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec +++ b/anda/desktops/lomiri-unity/unity-shell/unity-shell.spec @@ -1,4 +1,4 @@ -%define archive unity_7.7.1+26.04.20260306-0ubuntu1.tar.xz +%define archive unity_7.7.1+26.04.20260306-0ubuntu3.tar.xz Name: unity-shell Version: 7.7.1 diff --git a/anda/desktops/mangowc/mangowc.spec b/anda/desktops/mangowc/mangowc.spec deleted file mode 100644 index 45b7a691df..0000000000 --- a/anda/desktops/mangowc/mangowc.spec +++ /dev/null @@ -1,52 +0,0 @@ -Name: mangowc -Version: 0.12.5 -Release: 1%?dist -Summary: wayland compositor base wlroots and scenefx (dwm but wayland) -License: GPL-3.0 -Packager: metcya -URL: https://github.com/DreamMaoMao/mangowc -Source: %{url}/archive/%{version}.tar.gz - -BuildRequires: meson -BuildRequires: gcc -BuildRequires: gcc-c++ -BuildRequires: pkgconfig(xcb) -BuildRequires: pkgconfig(xcb-icccm) -BuildRequires: pkgconfig(wayland-protocols) -BuildRequires: pkgconfig(wayland-server) -BuildRequires: pkgconfig(wlroots-0.19) -BuildRequires: pkgconfig(xkbcommon) -BuildRequires: pkgconfig(libinput) -BuildRequires: pkgconfig(wayland-client) -BuildRequires: pkgconfig(libpcre2-8) -BuildRequires: pkgconfig(scenefx-0.4) - -%description -MangoWC is a lightweight, high-performance Wayland compositor built on dwl, designed for speed, flexibility, and a modern, customizable desktop experience. - -%prep -%autosetup - -%build -%meson -%meson_build - -%install -%meson_install - -%files -%doc README.md -%license LICENSE -%license LICENSE.wlroots -%license LICENSE.tinywl -%license LICENSE.sway -%license LICENSE.dwm -%license LICENSE.dwl -%{_bindir}/mango -%{_bindir}/mmsg -%{_sysconfdir}/mango/config.conf -%{_datadir}/wayland-sessions/mango.desktop - -%changelog -* Wed Nov 12 2025 metcya -- Package mangowc diff --git a/anda/desktops/mangowc/update.rhai b/anda/desktops/mangowc/update.rhai deleted file mode 100644 index e329151a80..0000000000 --- a/anda/desktops/mangowc/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("DreamMaoMao/mangowc")); diff --git a/anda/desktops/mangowm/mangowm.spec b/anda/desktops/mangowm/mangowm.spec index bce71bb7ce..241746d505 100644 --- a/anda/desktops/mangowm/mangowm.spec +++ b/anda/desktops/mangowm/mangowm.spec @@ -1,8 +1,8 @@ %global mangowc_ver 0.12.5-1 Name: mangowm -Version: 0.12.5 -Release: 2%{?dist} +Version: 0.12.9 +Release: 1%{?dist} Summary: A modern, lightweight, high-performance Wayland compositor built on dwl License: GPL-3.0-or-later AND MIT AND X11 AND CC0-1.0 Packager: metcya @@ -21,7 +21,7 @@ BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(libpcre2-8) -BuildRequires: pkgconfig(scenefx-0.4) +BuildRequires: scenefx-devel Conflicts: mangowc < %{mangowc_ver} Obsoletes: mangowc < %{mangowc_ver} diff --git a/anda/desktops/mate/dock-applet/mate-dock-applet.spec b/anda/desktops/mate/dock-applet/mate-dock-applet.spec index 368cc92480..2aa2fd33f3 100644 --- a/anda/desktops/mate/dock-applet/mate-dock-applet.spec +++ b/anda/desktops/mate/dock-applet/mate-dock-applet.spec @@ -17,10 +17,12 @@ Packager: madonuko %prep %autosetup + +%conf autoreconf -fi +%configure --with-gtk3 %build -%configure --with-gtk3 %make_build %install diff --git a/anda/desktops/niri/iio-niri/anda.hcl b/anda/desktops/niri/iio-niri/anda.hcl new file mode 100644 index 0000000000..8ebe47eadb --- /dev/null +++ b/anda/desktops/niri/iio-niri/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "iio-niri.spec" + } +} diff --git a/anda/desktops/niri/iio-niri/iio-niri.spec b/anda/desktops/niri/iio-niri/iio-niri.spec new file mode 100644 index 0000000000..4b688350f7 --- /dev/null +++ b/anda/desktops/niri/iio-niri/iio-niri.spec @@ -0,0 +1,37 @@ +Name: iio-niri +Version: 2.0.0 +Release: 1%{?dist} +Summary: Autorotation daemon for niri +URL: https://github.com/Zhaith-Izaliel/iio-niri +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: cargo-rpm-macros +BuildRequires: dbus-devel +Requires: iio-sensor-proxy +License: (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND GPL-3.0-or-later AND MIT OR Apache-2.0 AND (Unlicense OR MIT) +Packager: Tulip Blossom + +%description +%{summary}. + +%prep +%autosetup +%cargo_prep_online + +%build +%cargo_build +%{cargo_license_online} > LICENSE.dependencies + +%install +%crate_install_bin + +%files +%doc README.md +%license LICENSE.md LICENSE.dependencies +%{_bindir}/%{name} + +%changelog +* Fri May 05 2026 Tulip Blossom - 2.0.0-1 +- Update package and add autoupdate definitions + +* Fri Mar 13 2026 Tulip Blossom +- Initial commit diff --git a/anda/desktops/niri/iio-niri/update.rhai b/anda/desktops/niri/iio-niri/update.rhai new file mode 100644 index 0000000000..b5009ad134 --- /dev/null +++ b/anda/desktops/niri/iio-niri/update.rhai @@ -0,0 +1 @@ +rpm.version(find(`version = "([\d.]+)"`, gh_rawfile("Zhaith-Izaliel/iio-niri", "master", "Cargo.toml"), 1)); diff --git a/anda/desktops/noctalia-qs/noctalia-qs.spec b/anda/desktops/noctalia-qs/noctalia-qs.spec index 8375f22d41..3aa8a1df4e 100644 --- a/anda/desktops/noctalia-qs/noctalia-qs.spec +++ b/anda/desktops/noctalia-qs/noctalia-qs.spec @@ -1,14 +1,14 @@ -%global commit b58414209fce1669cff818e50468e926613baa10 +%global commit fb0cc1557d8321fb2e3f34e94beddefe56211e04 Name: noctalia-qs -Version: 0.0.6 -Release: 1%{?dist} +Version: 0.0.12 +Release: 2%{?dist} Summary: Flexible QtQuick based desktop shell toolkit License: LGPL-3.0-only AND GPL-3.0-only URL: https://github.com/noctalia-dev/noctalia-qs Source0: https://github.com/noctalia-dev/noctalia-qs/archive/refs/tags/v%{version}.tar.gz -Packager: Willow C Reed (willow@willowidk.dev) +Packager: Willow C Reed BuildRequires: cmake BuildRequires: cmake(Qt6Core) @@ -38,6 +38,9 @@ BuildRequires: polkit-devel Conflicts: quickshell Provides: quickshell +Provides: desktop-notification-daemon +Provides: PolicyKit-authentication-agent + %description Flexible QtQuick based desktop shell toolkit. @@ -70,9 +73,12 @@ Flexible QtQuick based desktop shell toolkit. %{_libdir}/qt6/qml/Quickshell %changelog -* Thu Mar 05 2026 Willow C Reed +* Sun Mar 29 2026 Willow C Reed +- Add provides for a polkit agent and desktop notification daemon (so gnome doesn't get installed) + +* Thu Mar 05 2026 Willow C Reed - Fix reision to actually be defined as a specific git commit since it never gets initialized rn - Also fix that noctalia-qs is replacing quickshell overall and not just for noctlaia users -* Fri Feb 27 2026 Willow C Reed -- Initial commit based on quickshell spec \ No newline at end of file +* Fri Feb 27 2026 Willow C Reed +- Initial commit based on quickshell spec diff --git a/anda/desktops/noctalia-shell/noctalia-shell.spec b/anda/desktops/noctalia-shell/noctalia-shell.spec index 88752cf865..592c7e2304 100644 --- a/anda/desktops/noctalia-shell/noctalia-shell.spec +++ b/anda/desktops/noctalia-shell/noctalia-shell.spec @@ -1,8 +1,8 @@ %global debug_package %{nil} Name: noctalia-shell -Version: 4.6.5 -Release: 2%{?dist} +Version: 4.7.6 +Release: 1%{?dist} Summary: A Quickshell-based custom shell setup License: MIT @@ -23,7 +23,7 @@ Recommends: power-profiles-daemon Recommends: wlsunset Recommends: gpu-screen-recorder -Packager: Willow Reed +Packager: Willow Reed %description A beautiful, minimal desktop shell for Wayland that actually gets out of your way. Built on Quickshell with a warm lavender aesthetic that you can easily customize to match your vibe. @@ -43,11 +43,11 @@ cp -r ./* %{buildroot}/etc/xdg/quickshell/noctalia-shell/ %{_sysconfdir}/xdg/quickshell/noctalia-shell/ %changelog -* Mon Mar 09 2026 Willow C Reed +* Mon Mar 09 2026 Willow C Reed - switch gpu-screen-recorder to be recommended as it's a plugin and not required anymore. also switched source to be based on version. -* Fri Feb 27 2026 Willow C Reed +* Fri Feb 27 2026 Willow C Reed - Change required quickshell to Noctalia's version -* Fri Jan 02 2026 Willow Reed +* Fri Jan 02 2026 Willow Reed - Initial commit \ No newline at end of file diff --git a/anda/desktops/mangowc/anda.hcl b/anda/desktops/satty/anda.hcl similarity index 51% rename from anda/desktops/mangowc/anda.hcl rename to anda/desktops/satty/anda.hcl index f3c97fc686..2afc889c3f 100644 --- a/anda/desktops/mangowc/anda.hcl +++ b/anda/desktops/satty/anda.hcl @@ -1,5 +1,5 @@ project pkg { rpm { - spec = "mangowc.spec" + spec = "satty.spec" } } diff --git a/anda/desktops/satty/satty.spec b/anda/desktops/satty/satty.spec new file mode 100644 index 0000000000..d6843f609e --- /dev/null +++ b/anda/desktops/satty/satty.spec @@ -0,0 +1,44 @@ +Name: satty +Version: 0.20.1 +Release: 1%{?dist} +Summary: Modern screenshot annotation tool +URL: https://github.com/Satty-org/Satty +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: cargo-rpm-macros +BuildRequires: libadwaita-devel +BuildRequires: libepoxy-devel +License: MPL-2.0 AND (MIT OR Apache-2.0) AND Unicode-3.0 AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-3-Clause OR Apache-2.0) AND CC0-1.0 AND (CC0-1.0 OR Apache-2.0) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) +Packager: Tulip Blossom + +%description +%{summary}. + +%pkg_completion -BNfz + +%prep +%autosetup -n Satty-%{version} +%cargo_prep_online + +%build +%cargo_build +%{cargo_license_online} > LICENSE.dependencies + +%install +install -Dpm0755 -t %{buildroot}%{_bindir} ./target/rpm/satty +install -Dpm0644 -t %{buildroot}%{_datadir}/applications/ ./satty.desktop +install -Dpm0644 -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ ./assets/satty.svg +install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d/ ./completions/satty.fish +install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions/ ./completions/_satty +install -Dpm0644 ./completions/satty.bash %{buildroot}%{_datadir}/bash-completion/completions/satty +install -Dpm0644 -t %{buildroot}%{_datadir}/nushell/vendor/autoload/ ./completions/satty.nu + +%files +%doc README.md +%license LICENSE LICENSE.dependencies +%{_bindir}/%{name} +%{_datadir}/applications/satty.desktop +%{_datadir}/icons/hicolor/scalable/apps/satty.svg + +%changelog +* Sun Mar 29 2026 Tulip Blossom +- Initial commit diff --git a/anda/desktops/satty/update.rhai b/anda/desktops/satty/update.rhai new file mode 100644 index 0000000000..4cb90fd002 --- /dev/null +++ b/anda/desktops/satty/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Satty-org/Satty")); diff --git a/anda/desktops/scroll/50-systemd-user.conf b/anda/desktops/scroll/50-systemd-user.conf new file mode 100644 index 0000000000..71207a438a --- /dev/null +++ b/anda/desktops/scroll/50-systemd-user.conf @@ -0,0 +1,16 @@ +# sway does not set DISPLAY/WAYLAND_DISPLAY in the systemd user environment +# See FS#63021 +# Adapted from xorg's 50-systemd-user.sh, which achieves a similar goal. + +# Upstream refuses to set XDG_CURRENT_DESKTOP so we have to. +exec systemctl --user set-environment XDG_CURRENT_DESKTOP=scroll +exec systemctl --user import-environment DISPLAY \ + SCROLLSOCK \ + WAYLAND_DISPLAY \ + XDG_CURRENT_DESKTOP + +exec hash dbus-update-activation-environment 2>/dev/null && \ + dbus-update-activation-environment --systemd DISPLAY \ + SCROLLSOCK \ + XDG_CURRENT_DESKTOP=scroll \ + WAYLAND_DISPLAY diff --git a/anda/desktops/scroll/anda.hcl b/anda/desktops/scroll/anda.hcl new file mode 100644 index 0000000000..5b0626f4d1 --- /dev/null +++ b/anda/desktops/scroll/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "scroll.spec" + } +} diff --git a/anda/desktops/scroll/scroll-portals.conf b/anda/desktops/scroll/scroll-portals.conf new file mode 100644 index 0000000000..aebea31a93 --- /dev/null +++ b/anda/desktops/scroll/scroll-portals.conf @@ -0,0 +1,5 @@ +[preferred] +default=gtk +org.freedesktop.impl.portal.ScreenCast=wlr +org.freedesktop.impl.portal.Screenshot=wlr +org.freedesktop.impl.portal.Inhibit=none diff --git a/anda/desktops/scroll/scroll.spec b/anda/desktops/scroll/scroll.spec new file mode 100644 index 0000000000..15b390c7bc --- /dev/null +++ b/anda/desktops/scroll/scroll.spec @@ -0,0 +1,93 @@ +Name: scroll +Version: 1.12.11 +Release: 1%{?dist} +Summary: i3-compatible Wayland compositor (sway) with a PaperWM layout like niri or hyprscroller +License: MIT +URL: https://github.com/dawsers/scroll +Source0: %{url}/archive/refs/tags/%{version}.tar.gz +# https://aur.archlinux.org/cgit/aur.git/tree/?h=sway-scroll +Source1: 50-systemd-user.conf +Source2: scroll-portals.conf + +Packager: Owen Zimmerman + +BuildRequires: meson +BuildRequires: cmake +BuildRequires: ninja-build +BuildRequires: gcc +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(gbm) +BuildRequires: pkgconfig(glslang) +BuildRequires: pkgconfig(libseat) +BuildRequires: pkgconfig(hwdata) +BuildRequires: pkgconfig(libdisplay-info) +BuildRequires: pkgconfig(libliftoff) +BuildRequires: pkgconfig(xcb-renderutil) +BuildRequires: pkgconfig(xwayland) +BuildRequires: pkgconfig(xcb-ewmh) +BuildRequires: pkgconfig(xcb-errors) +BuildRequires: pkgconfig(json-c) +BuildRequires: pkgconfig(lua) +BuildRequires: pkgconfig(scdoc) +BuildRequires: pkgconfig(vulkan) +BuildRequires: pkgconfig(libinput) +BuildRequires: pkgconfig(libevdev) +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(pixman-1) +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libpcre2-8) +BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(pango) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) + +Provides: sway-scroll + +%description +%{summary}. + +%prep +%autosetup + +%pkg_completion -B scroll scrollbar scrollmsg +%pkg_completion -f scroll scrollmsg scrollnag +%pkg_completion -z scroll scrollmsg + +%build +%meson -D sd-bus-provider=libsystemd +%meson_build + +%install +%meson_install +install -Dm644 %{S:1} %{buildroot}%{_sysconfdir}/scroll/config.d/50-systemd-user.conf +install -Dm644 %{S:2} %{buildroot}%{_datadir}/xdg-desktop-portal/scroll-portals.conf + +%files +%doc README.md CONTRIBUTING.md +%license LICENSE +%{_bindir}/scroll +%{_bindir}/scrollbar +%{_bindir}/scrollmsg +%{_bindir}/scrollnag +%{_sysconfdir}/scroll/config +%{_sysconfdir}/scroll/config.d/50-systemd-user.conf +%{_datadir}/backgrounds/scroll/*png +%{_datadir}/xdg-desktop-portal/scroll-portals.conf +%{_iconsdir}/scroll.png +%{_mandir}/man1/scroll.1.* +%{_mandir}/man1/scrollmsg.1.* +%{_mandir}/man1/scrollnag.1.* +%{_mandir}/man5/scroll-bar.5.* +%{_mandir}/man5/scroll-input.5.* +%{_mandir}/man5/scroll-output.5.* +%{_mandir}/man5/scroll.5.* +%{_mandir}/man5/scrollnag.5.* +%{_mandir}/man7/scroll-ipc.7.* +%{_mandir}/man7/scrollbar-protocol.7.* +%{_datadir}/wayland-sessions/scroll.desktop + +%changelog +* Sun Apr 12 2026 Owen Zimmerman - 1.12.8-1 +- Initial commit diff --git a/anda/desktops/scroll/update.rhai b/anda/desktops/scroll/update.rhai new file mode 100644 index 0000000000..43498f46c8 --- /dev/null +++ b/anda/desktops/scroll/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("dawsers/scroll")); diff --git a/anda/desktops/somewm/somewm.spec b/anda/desktops/somewm/somewm.spec index 12de8feb11..9578154a45 100644 --- a/anda/desktops/somewm/somewm.spec +++ b/anda/desktops/somewm/somewm.spec @@ -1,6 +1,6 @@ Name: somewm -Version: 0.5.0 -Release: 1%?dist +Version: 1.4.1 +Release: 1%{?dist} Summary: Wayland compositor that brings AwesomeWM's Lua API to Wayland License: GPL-3.0 URL: https://github.com/trip-zip/somewm diff --git a/anda/stardust/armillary/nightly/anda.hcl b/anda/desktops/stardust/armillary/nightly/anda.hcl similarity index 100% rename from anda/stardust/armillary/nightly/anda.hcl rename to anda/desktops/stardust/armillary/nightly/anda.hcl diff --git a/anda/stardust/armillary/nightly/stardust-armillary-nightly.spec b/anda/desktops/stardust/armillary/nightly/stardust-armillary-nightly.spec similarity index 93% rename from anda/stardust/armillary/nightly/stardust-armillary-nightly.spec rename to anda/desktops/stardust/armillary/nightly/stardust-armillary-nightly.spec index bcbb9067a3..3c77b16321 100644 --- a/anda/stardust/armillary/nightly/stardust-armillary-nightly.spec +++ b/anda/desktops/stardust/armillary/nightly/stardust-armillary-nightly.spec @@ -1,12 +1,12 @@ -%global commit c278020dc78587e887f91377a882b50d0b009c50 -%global commit_date 20251130 +%global commit f6388f05209195818418fdd9db061000b0f007af +%global commit_date 20260320 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-armillary-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 2%?dist +Release: 1%{?dist} Summary: Model viewer for Stardust XR URL: https://github.com/StardustXR/armillary Source0: %url/archive/%commit/armillary-%commit.tar.gz diff --git a/anda/stardust/armillary/nightly/update.rhai b/anda/desktops/stardust/armillary/nightly/update.rhai similarity index 100% rename from anda/stardust/armillary/nightly/update.rhai rename to anda/desktops/stardust/armillary/nightly/update.rhai diff --git a/anda/stardust/armillary/stable/anda.hcl b/anda/desktops/stardust/armillary/stable/anda.hcl similarity index 100% rename from anda/stardust/armillary/stable/anda.hcl rename to anda/desktops/stardust/armillary/stable/anda.hcl diff --git a/anda/stardust/armillary/stable/stardust-armillary.spec b/anda/desktops/stardust/armillary/stable/stardust-armillary.spec similarity index 96% rename from anda/stardust/armillary/stable/stardust-armillary.spec rename to anda/desktops/stardust/armillary/stable/stardust-armillary.spec index 40a0f77787..25c8131443 100644 --- a/anda/stardust/armillary/stable/stardust-armillary.spec +++ b/anda/desktops/stardust/armillary/stable/stardust-armillary.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-armillary -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Model viewer for Stardust XR URL: https://github.com/StardustXR/armillary diff --git a/anda/stardust/armillary/stable/update.rhai b/anda/desktops/stardust/armillary/stable/update.rhai similarity index 100% rename from anda/stardust/armillary/stable/update.rhai rename to anda/desktops/stardust/armillary/stable/update.rhai diff --git a/anda/stardust/atmosphere/nightly/anda.hcl b/anda/desktops/stardust/atmosphere/nightly/anda.hcl similarity index 100% rename from anda/stardust/atmosphere/nightly/anda.hcl rename to anda/desktops/stardust/atmosphere/nightly/anda.hcl diff --git a/anda/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec b/anda/desktops/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec similarity index 91% rename from anda/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec rename to anda/desktops/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec index 24977dae6b..96242d0579 100644 --- a/anda/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec +++ b/anda/desktops/stardust/atmosphere/nightly/stardust-atmosphere-nightly.spec @@ -1,12 +1,12 @@ -%global commit 8b160f3bf5b477a2e1a3721b239cdfaef75de35a -%global commit_date 20260113 +%global commit 81927a7057f4f5aa1baab8dbb498e03c71e81eb5 +%global commit_date 20260323 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-atmosphere-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Environment, homespace, and setup client for Stardust XR URL: https://github.com/StardustXR/atmosphere Source0: %url/archive/%commit/atmosphere-%commit.tar.gz @@ -32,7 +32,7 @@ Packager: Owen Zimmerman %{cargo_license_online} > LICENSE.dependencies %files -%_bindir/stardust-xr-atmosphere +%_bindir/atmosphere %license LICENSE %license LICENSE.dependencies %doc README.md diff --git a/anda/stardust/atmosphere/nightly/update.rhai b/anda/desktops/stardust/atmosphere/nightly/update.rhai similarity index 100% rename from anda/stardust/atmosphere/nightly/update.rhai rename to anda/desktops/stardust/atmosphere/nightly/update.rhai diff --git a/anda/stardust/atmosphere/stable/anda.hcl b/anda/desktops/stardust/atmosphere/stable/anda.hcl similarity index 100% rename from anda/stardust/atmosphere/stable/anda.hcl rename to anda/desktops/stardust/atmosphere/stable/anda.hcl diff --git a/anda/stardust/atmosphere/stable/stardust-atmosphere.spec b/anda/desktops/stardust/atmosphere/stable/stardust-atmosphere.spec similarity index 95% rename from anda/stardust/atmosphere/stable/stardust-atmosphere.spec rename to anda/desktops/stardust/atmosphere/stable/stardust-atmosphere.spec index 76e8517b64..7be8eed3a4 100644 --- a/anda/stardust/atmosphere/stable/stardust-atmosphere.spec +++ b/anda/desktops/stardust/atmosphere/stable/stardust-atmosphere.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-atmosphere -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Environment, homespace, and setup client for Stardust XR URL: https://github.com/StardustXR/atmosphere @@ -29,7 +29,7 @@ Packager: Owen Zimmerman %{cargo_license_online} > LICENSE.dependencies %files -%_bindir/%{name} +%_bindir/atmosphere %license LICENSE %license LICENSE.dependencies %doc README.md diff --git a/anda/stardust/atmosphere/stable/update.rhai b/anda/desktops/stardust/atmosphere/stable/update.rhai similarity index 100% rename from anda/stardust/atmosphere/stable/update.rhai rename to anda/desktops/stardust/atmosphere/stable/update.rhai diff --git a/anda/stardust/black-hole/nightly/anda.hcl b/anda/desktops/stardust/black-hole/nightly/anda.hcl similarity index 100% rename from anda/stardust/black-hole/nightly/anda.hcl rename to anda/desktops/stardust/black-hole/nightly/anda.hcl diff --git a/anda/stardust/black-hole/nightly/stardust-black-hole-nightly.spec b/anda/desktops/stardust/black-hole/nightly/stardust-black-hole-nightly.spec similarity index 93% rename from anda/stardust/black-hole/nightly/stardust-black-hole-nightly.spec rename to anda/desktops/stardust/black-hole/nightly/stardust-black-hole-nightly.spec index 90b4684a9a..4279662c69 100644 --- a/anda/stardust/black-hole/nightly/stardust-black-hole-nightly.spec +++ b/anda/desktops/stardust/black-hole/nightly/stardust-black-hole-nightly.spec @@ -1,12 +1,12 @@ -%global commit 49fbf32f330b324c9b9d8582e80582378fc57e3c -%global commit_date 20260214 +%global commit e5b7778ed23b1e9b57e2292f16c9db10ca0eb1ad +%global commit_date 20260320 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-black-hole-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Spatial storage for Stardust XR URL: https://github.com/StardustXR/black-hole Source0: %url/archive/%commit/black-hole-%commit.tar.gz diff --git a/anda/stardust/black-hole/nightly/update.rhai b/anda/desktops/stardust/black-hole/nightly/update.rhai similarity index 100% rename from anda/stardust/black-hole/nightly/update.rhai rename to anda/desktops/stardust/black-hole/nightly/update.rhai diff --git a/anda/stardust/black-hole/stable/anda.hcl b/anda/desktops/stardust/black-hole/stable/anda.hcl similarity index 100% rename from anda/stardust/black-hole/stable/anda.hcl rename to anda/desktops/stardust/black-hole/stable/anda.hcl diff --git a/anda/stardust/black-hole/stable/stardust-black-hole.spec b/anda/desktops/stardust/black-hole/stable/stardust-black-hole.spec similarity index 96% rename from anda/stardust/black-hole/stable/stardust-black-hole.spec rename to anda/desktops/stardust/black-hole/stable/stardust-black-hole.spec index 58bb86df15..0ea1e7a133 100644 --- a/anda/stardust/black-hole/stable/stardust-black-hole.spec +++ b/anda/desktops/stardust/black-hole/stable/stardust-black-hole.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-black-hole -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Spatial storage for Stardust XR URL: https://github.com/StardustXR/black-hole diff --git a/anda/stardust/black-hole/stable/update.rhai b/anda/desktops/stardust/black-hole/stable/update.rhai similarity index 100% rename from anda/stardust/black-hole/stable/update.rhai rename to anda/desktops/stardust/black-hole/stable/update.rhai diff --git a/anda/stardust/comet/nightly/anda.hcl b/anda/desktops/stardust/comet/nightly/anda.hcl similarity index 100% rename from anda/stardust/comet/nightly/anda.hcl rename to anda/desktops/stardust/comet/nightly/anda.hcl diff --git a/anda/stardust/comet/nightly/stardust-comet-nightly.spec b/anda/desktops/stardust/comet/nightly/stardust-comet-nightly.spec similarity index 92% rename from anda/stardust/comet/nightly/stardust-comet-nightly.spec rename to anda/desktops/stardust/comet/nightly/stardust-comet-nightly.spec index 1fcde56574..21f52658cf 100644 --- a/anda/stardust/comet/nightly/stardust-comet-nightly.spec +++ b/anda/desktops/stardust/comet/nightly/stardust-comet-nightly.spec @@ -1,12 +1,12 @@ -%global commit 310fafa22ef1ae7c26d0ba83e0ae152de4d8afb5 -%global commit_date 20260203 +%global commit ff7b5cc92e80f685851626d27baa17e8f682e7af +%global commit_date 20260320 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-comet-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Annotate things in Stardust XR URL: https://github.com/StardustXR/comet Source0: %url/archive/%commit/comet-%commit.tar.gz diff --git a/anda/stardust/comet/nightly/update.rhai b/anda/desktops/stardust/comet/nightly/update.rhai similarity index 100% rename from anda/stardust/comet/nightly/update.rhai rename to anda/desktops/stardust/comet/nightly/update.rhai diff --git a/anda/stardust/comet/stable/anda.hcl b/anda/desktops/stardust/comet/stable/anda.hcl similarity index 100% rename from anda/stardust/comet/stable/anda.hcl rename to anda/desktops/stardust/comet/stable/anda.hcl diff --git a/anda/stardust/comet/stable/stardust-comet.spec b/anda/desktops/stardust/comet/stable/stardust-comet.spec similarity index 96% rename from anda/stardust/comet/stable/stardust-comet.spec rename to anda/desktops/stardust/comet/stable/stardust-comet.spec index ac53466247..c7124b4bcb 100644 --- a/anda/stardust/comet/stable/stardust-comet.spec +++ b/anda/desktops/stardust/comet/stable/stardust-comet.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-comet -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Annotate things in Stardust XR URL: https://github.com/StardustXR/comet diff --git a/anda/stardust/comet/stable/update.rhai b/anda/desktops/stardust/comet/stable/update.rhai similarity index 100% rename from anda/stardust/comet/stable/update.rhai rename to anda/desktops/stardust/comet/stable/update.rhai diff --git a/anda/stardust/flatland/nightly/anda.hcl b/anda/desktops/stardust/flatland/nightly/anda.hcl similarity index 100% rename from anda/stardust/flatland/nightly/anda.hcl rename to anda/desktops/stardust/flatland/nightly/anda.hcl diff --git a/anda/stardust/flatland/nightly/stardust-flatland-nightly.spec b/anda/desktops/stardust/flatland/nightly/stardust-flatland-nightly.spec similarity index 93% rename from anda/stardust/flatland/nightly/stardust-flatland-nightly.spec rename to anda/desktops/stardust/flatland/nightly/stardust-flatland-nightly.spec index ef975fabfb..d1b2c6d669 100644 --- a/anda/stardust/flatland/nightly/stardust-flatland-nightly.spec +++ b/anda/desktops/stardust/flatland/nightly/stardust-flatland-nightly.spec @@ -1,12 +1,12 @@ -%global commit 599c7b11eae996ae02a4706bd281bde19254dfd2 -%global commit_date 20260302 +%global commit a8694174290e02aaf454747e1232e4db0d7ef916 +%global commit_date 20260426 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-flatland-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Flatland for Stardust XR URL: https://github.com/StardustXR/flatland Source0: %url/archive/%commit/flatland-%commit.tar.gz diff --git a/anda/stardust/flatland/nightly/update.rhai b/anda/desktops/stardust/flatland/nightly/update.rhai similarity index 100% rename from anda/stardust/flatland/nightly/update.rhai rename to anda/desktops/stardust/flatland/nightly/update.rhai diff --git a/anda/stardust/flatland/stable/anda.hcl b/anda/desktops/stardust/flatland/stable/anda.hcl similarity index 100% rename from anda/stardust/flatland/stable/anda.hcl rename to anda/desktops/stardust/flatland/stable/anda.hcl diff --git a/anda/stardust/flatland/stable/stardust-flatland.spec b/anda/desktops/stardust/flatland/stable/stardust-flatland.spec similarity index 97% rename from anda/stardust/flatland/stable/stardust-flatland.spec rename to anda/desktops/stardust/flatland/stable/stardust-flatland.spec index 04f410a5bb..f6befdff86 100644 --- a/anda/stardust/flatland/stable/stardust-flatland.spec +++ b/anda/desktops/stardust/flatland/stable/stardust-flatland.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-flatland -Version: 0.50.1 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Flatland for Stardust XR URL: https://github.com/StardustXR/flatland diff --git a/anda/stardust/flatland/stable/update.rhai b/anda/desktops/stardust/flatland/stable/update.rhai similarity index 100% rename from anda/stardust/flatland/stable/update.rhai rename to anda/desktops/stardust/flatland/stable/update.rhai diff --git a/anda/stardust/gravity/nightly/anda.hcl b/anda/desktops/stardust/gravity/nightly/anda.hcl similarity index 100% rename from anda/stardust/gravity/nightly/anda.hcl rename to anda/desktops/stardust/gravity/nightly/anda.hcl diff --git a/anda/stardust/gravity/nightly/stardust-gravity-nightly.spec b/anda/desktops/stardust/gravity/nightly/stardust-gravity-nightly.spec similarity index 93% rename from anda/stardust/gravity/nightly/stardust-gravity-nightly.spec rename to anda/desktops/stardust/gravity/nightly/stardust-gravity-nightly.spec index a0ba49adc6..37dbcbacbd 100644 --- a/anda/stardust/gravity/nightly/stardust-gravity-nightly.spec +++ b/anda/desktops/stardust/gravity/nightly/stardust-gravity-nightly.spec @@ -1,12 +1,12 @@ -%global commit 3283bf8b352cdcb04ef3e0edb5155c4ca8c5c97c -%global commit_date 20251130 +%global commit adca3464f3dc95b773c6c7b36b4c87d71b65f741 +%global commit_date 20260320 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-gravity-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 2%?dist +Release: 1%{?dist} Summary: Utility to launch apps and Stardust XR clients spatially URL: https://github.com/StardustXR/gravity Source0: %url/archive/%commit/gravity-%commit.tar.gz diff --git a/anda/stardust/gravity/nightly/update.rhai b/anda/desktops/stardust/gravity/nightly/update.rhai similarity index 100% rename from anda/stardust/gravity/nightly/update.rhai rename to anda/desktops/stardust/gravity/nightly/update.rhai diff --git a/anda/stardust/gravity/stable/anda.hcl b/anda/desktops/stardust/gravity/stable/anda.hcl similarity index 100% rename from anda/stardust/gravity/stable/anda.hcl rename to anda/desktops/stardust/gravity/stable/anda.hcl diff --git a/anda/stardust/gravity/stable/stardust-gravity.spec b/anda/desktops/stardust/gravity/stable/stardust-gravity.spec similarity index 96% rename from anda/stardust/gravity/stable/stardust-gravity.spec rename to anda/desktops/stardust/gravity/stable/stardust-gravity.spec index 956e8d9116..957f13d2c3 100644 --- a/anda/stardust/gravity/stable/stardust-gravity.spec +++ b/anda/desktops/stardust/gravity/stable/stardust-gravity.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-gravity -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Utility to launch apps and Stardust XR clients spatially URL: https://github.com/StardustXR/gravity diff --git a/anda/stardust/gravity/stable/update.rhai b/anda/desktops/stardust/gravity/stable/update.rhai similarity index 100% rename from anda/stardust/gravity/stable/update.rhai rename to anda/desktops/stardust/gravity/stable/update.rhai diff --git a/anda/stardust/magnetar/anda.hcl b/anda/desktops/stardust/magnetar/anda.hcl similarity index 100% rename from anda/stardust/magnetar/anda.hcl rename to anda/desktops/stardust/magnetar/anda.hcl diff --git a/anda/stardust/magnetar/stardust-magnetar.spec b/anda/desktops/stardust/magnetar/stardust-magnetar.spec similarity index 100% rename from anda/stardust/magnetar/stardust-magnetar.spec rename to anda/desktops/stardust/magnetar/stardust-magnetar.spec diff --git a/anda/stardust/magnetar/update.rhai b/anda/desktops/stardust/magnetar/update.rhai similarity index 100% rename from anda/stardust/magnetar/update.rhai rename to anda/desktops/stardust/magnetar/update.rhai diff --git a/anda/stardust/non-spatial-input/nightly/anda.hcl b/anda/desktops/stardust/non-spatial-input/nightly/anda.hcl similarity index 100% rename from anda/stardust/non-spatial-input/nightly/anda.hcl rename to anda/desktops/stardust/non-spatial-input/nightly/anda.hcl diff --git a/anda/stardust/non-spatial-input/nightly/stardust-non-spatial-input-nightly.spec b/anda/desktops/stardust/non-spatial-input/nightly/stardust-non-spatial-input-nightly.spec similarity index 94% rename from anda/stardust/non-spatial-input/nightly/stardust-non-spatial-input-nightly.spec rename to anda/desktops/stardust/non-spatial-input/nightly/stardust-non-spatial-input-nightly.spec index 3c22fa9b63..5f58c41449 100644 --- a/anda/stardust/non-spatial-input/nightly/stardust-non-spatial-input-nightly.spec +++ b/anda/desktops/stardust/non-spatial-input/nightly/stardust-non-spatial-input-nightly.spec @@ -1,12 +1,12 @@ -%global commit 3a586815e1c057580674c147e27c3a4909b3b4c6 -%global commit_date 20251130 +%global commit f14a78e4c572f24a63aa4e06629e42929f097388 +%global commit_date 20260320 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-non-spatial-input-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 2%?dist +Release: 1%{?dist} Summary: Tools you can easily snap together to get non-spatial input into Stardust XR URL: https://github.com/StardustXR/non-spatial-input Source0: %url/archive/%commit/non-spatial-input-%commit.tar.gz diff --git a/anda/stardust/non-spatial-input/nightly/update.rhai b/anda/desktops/stardust/non-spatial-input/nightly/update.rhai similarity index 100% rename from anda/stardust/non-spatial-input/nightly/update.rhai rename to anda/desktops/stardust/non-spatial-input/nightly/update.rhai diff --git a/anda/stardust/non-spatial-input/stable/anda.hcl b/anda/desktops/stardust/non-spatial-input/stable/anda.hcl similarity index 100% rename from anda/stardust/non-spatial-input/stable/anda.hcl rename to anda/desktops/stardust/non-spatial-input/stable/anda.hcl diff --git a/anda/stardust/non-spatial-input/stable/stardust-non-spatial-input.spec b/anda/desktops/stardust/non-spatial-input/stable/stardust-non-spatial-input.spec similarity index 97% rename from anda/stardust/non-spatial-input/stable/stardust-non-spatial-input.spec rename to anda/desktops/stardust/non-spatial-input/stable/stardust-non-spatial-input.spec index 6dae7b699b..4256a30d11 100644 --- a/anda/stardust/non-spatial-input/stable/stardust-non-spatial-input.spec +++ b/anda/desktops/stardust/non-spatial-input/stable/stardust-non-spatial-input.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-non-spatial-input -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Tools you can easily snap together to get non-spatial input into Stardust XR URL: https://github.com/StardustXR/non-spatial-input diff --git a/anda/stardust/non-spatial-input/stable/update.rhai b/anda/desktops/stardust/non-spatial-input/stable/update.rhai similarity index 100% rename from anda/stardust/non-spatial-input/stable/update.rhai rename to anda/desktops/stardust/non-spatial-input/stable/update.rhai diff --git a/anda/stardust/protostar/nightly/anda.hcl b/anda/desktops/stardust/protostar/nightly/anda.hcl similarity index 100% rename from anda/stardust/protostar/nightly/anda.hcl rename to anda/desktops/stardust/protostar/nightly/anda.hcl diff --git a/anda/stardust/protostar/nightly/stardust-protostar-nightly.spec b/anda/desktops/stardust/protostar/nightly/stardust-protostar-nightly.spec similarity index 94% rename from anda/stardust/protostar/nightly/stardust-protostar-nightly.spec rename to anda/desktops/stardust/protostar/nightly/stardust-protostar-nightly.spec index 27c9fbb783..68b1b6ad70 100644 --- a/anda/stardust/protostar/nightly/stardust-protostar-nightly.spec +++ b/anda/desktops/stardust/protostar/nightly/stardust-protostar-nightly.spec @@ -1,12 +1,12 @@ -%global commit a12484d1e1c32866394fe6d8d92bd848f51624ac -%global commit_date 20260302 +%global commit 4f2f5b032280ea391bf5e7af9b13ab5e0eb21340 +%global commit_date 20260425 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-protostar-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Prototype application launcher for Stardust XR URL: https://github.com/StardustXR/protostar Source0: %url/archive/%commit/protostar-%commit.tar.gz diff --git a/anda/stardust/protostar/nightly/update.rhai b/anda/desktops/stardust/protostar/nightly/update.rhai similarity index 100% rename from anda/stardust/protostar/nightly/update.rhai rename to anda/desktops/stardust/protostar/nightly/update.rhai diff --git a/anda/stardust/protostar/stable/anda.hcl b/anda/desktops/stardust/protostar/stable/anda.hcl similarity index 100% rename from anda/stardust/protostar/stable/anda.hcl rename to anda/desktops/stardust/protostar/stable/anda.hcl diff --git a/anda/stardust/protostar/stable/stardust-protostar.spec b/anda/desktops/stardust/protostar/stable/stardust-protostar.spec similarity index 97% rename from anda/stardust/protostar/stable/stardust-protostar.spec rename to anda/desktops/stardust/protostar/stable/stardust-protostar.spec index a148c22b03..726945aa74 100644 --- a/anda/stardust/protostar/stable/stardust-protostar.spec +++ b/anda/desktops/stardust/protostar/stable/stardust-protostar.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-protostar -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Prototype application launcher for Stardust XR URL: https://github.com/StardustXR/protostar diff --git a/anda/stardust/protostar/stable/update.rhai b/anda/desktops/stardust/protostar/stable/update.rhai similarity index 100% rename from anda/stardust/protostar/stable/update.rhai rename to anda/desktops/stardust/protostar/stable/update.rhai diff --git a/anda/stardust/server/nightly/anda.hcl b/anda/desktops/stardust/server/nightly/anda.hcl similarity index 100% rename from anda/stardust/server/nightly/anda.hcl rename to anda/desktops/stardust/server/nightly/anda.hcl diff --git a/anda/stardust/server/nightly/stardust-server-nightly.spec b/anda/desktops/stardust/server/nightly/stardust-server-nightly.spec similarity index 95% rename from anda/stardust/server/nightly/stardust-server-nightly.spec rename to anda/desktops/stardust/server/nightly/stardust-server-nightly.spec index 19b99243c6..fd37192095 100644 --- a/anda/stardust/server/nightly/stardust-server-nightly.spec +++ b/anda/desktops/stardust/server/nightly/stardust-server-nightly.spec @@ -1,12 +1,12 @@ -%global commit 0159ab1086c70ea3090f74bfd64936c6c2769742 -%global commit_date 20260225 +%global commit 08092c3376e809190b349083497fb8c96c637c82 +%global commit_date 20260429 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-server-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Usable Linux display server that reinvents human-computer interaction for all kinds of XR URL: https://github.com/StardustXR/server Source0: %url/archive/%commit/server-%commit.tar.gz diff --git a/anda/stardust/server/nightly/update.rhai b/anda/desktops/stardust/server/nightly/update.rhai similarity index 100% rename from anda/stardust/server/nightly/update.rhai rename to anda/desktops/stardust/server/nightly/update.rhai diff --git a/anda/stardust/server/stable/anda.hcl b/anda/desktops/stardust/server/stable/anda.hcl similarity index 100% rename from anda/stardust/server/stable/anda.hcl rename to anda/desktops/stardust/server/stable/anda.hcl diff --git a/anda/stardust/server/stable/stardust-server.spec b/anda/desktops/stardust/server/stable/stardust-server.spec similarity index 98% rename from anda/stardust/server/stable/stardust-server.spec rename to anda/desktops/stardust/server/stable/stardust-server.spec index e2e767bdbb..40df6f0957 100644 --- a/anda/stardust/server/stable/stardust-server.spec +++ b/anda/desktops/stardust/server/stable/stardust-server.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-server -Version: 0.50.3 -Release: 1%?dist +Version: 0.51.1 +Release: 1%{?dist} Epoch: 1 Summary: Usable Linux display server that reinvents human-computer interaction for all kinds of XR URL: https://github.com/StardustXR/server diff --git a/anda/stardust/server/stable/update.rhai b/anda/desktops/stardust/server/stable/update.rhai similarity index 100% rename from anda/stardust/server/stable/update.rhai rename to anda/desktops/stardust/server/stable/update.rhai diff --git a/anda/stardust/solar-sailer/nightly/anda.hcl b/anda/desktops/stardust/solar-sailer/nightly/anda.hcl similarity index 100% rename from anda/stardust/solar-sailer/nightly/anda.hcl rename to anda/desktops/stardust/solar-sailer/nightly/anda.hcl diff --git a/anda/stardust/solar-sailer/nightly/stardust-solar-sailer-nightly.spec b/anda/desktops/stardust/solar-sailer/nightly/stardust-solar-sailer-nightly.spec similarity index 94% rename from anda/stardust/solar-sailer/nightly/stardust-solar-sailer-nightly.spec rename to anda/desktops/stardust/solar-sailer/nightly/stardust-solar-sailer-nightly.spec index 251068f9cd..a3e7260c3b 100644 --- a/anda/stardust/solar-sailer/nightly/stardust-solar-sailer-nightly.spec +++ b/anda/desktops/stardust/solar-sailer/nightly/stardust-solar-sailer-nightly.spec @@ -1,5 +1,5 @@ -%global commit 590cbc13b143ff189efc9aaf99002e843f820392 -%global commit_date 20260302 +%global commit e0b27dda48f204883c52ecb3e1f436e31200f6e5 +%global commit_date 20260320 %global shortcommit %(c=%{commit}; echo ${c:0:7}) # Exclude input files from mangling @@ -7,7 +7,7 @@ Name: stardust-xr-solar-sailer-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Glide through space! This play space mover allows you to fly by dragging the space with momentum! URL: https://github.com/StardustXR/solar-sailer Source0: %url/archive/%commit.tar.gz diff --git a/anda/stardust/solar-sailer/nightly/update.rhai b/anda/desktops/stardust/solar-sailer/nightly/update.rhai similarity index 100% rename from anda/stardust/solar-sailer/nightly/update.rhai rename to anda/desktops/stardust/solar-sailer/nightly/update.rhai diff --git a/anda/stardust/solar-sailer/stable/anda.hcl b/anda/desktops/stardust/solar-sailer/stable/anda.hcl similarity index 100% rename from anda/stardust/solar-sailer/stable/anda.hcl rename to anda/desktops/stardust/solar-sailer/stable/anda.hcl diff --git a/anda/stardust/solar-sailer/stable/stardust-solar-sailer.spec b/anda/desktops/stardust/solar-sailer/stable/stardust-solar-sailer.spec similarity index 97% rename from anda/stardust/solar-sailer/stable/stardust-solar-sailer.spec rename to anda/desktops/stardust/solar-sailer/stable/stardust-solar-sailer.spec index 247bbdbb55..5d20e0584a 100644 --- a/anda/stardust/solar-sailer/stable/stardust-solar-sailer.spec +++ b/anda/desktops/stardust/solar-sailer/stable/stardust-solar-sailer.spec @@ -2,8 +2,8 @@ %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ Name: stardust-xr-solar-sailer -Version: 0.50.0 -Release: 2%?dist +Version: 0.51.1 +Release: 1%{?dist} Summary: Glide through space! This play space mover allows you to fly by dragging the space with momentum! URL: https://github.com/StardustXR/solar-sailer Source0: %url/archive/refs/tags/%version.tar.gz diff --git a/anda/stardust/solar-sailer/stable/update.rhai b/anda/desktops/stardust/solar-sailer/stable/update.rhai similarity index 100% rename from anda/stardust/solar-sailer/stable/update.rhai rename to anda/desktops/stardust/solar-sailer/stable/update.rhai diff --git a/anda/stardust/telescope/nightly/anda.hcl b/anda/desktops/stardust/telescope/nightly/anda.hcl similarity index 100% rename from anda/stardust/telescope/nightly/anda.hcl rename to anda/desktops/stardust/telescope/nightly/anda.hcl diff --git a/anda/stardust/telescope/nightly/libexec.patch b/anda/desktops/stardust/telescope/nightly/libexec.patch similarity index 100% rename from anda/stardust/telescope/nightly/libexec.patch rename to anda/desktops/stardust/telescope/nightly/libexec.patch diff --git a/anda/stardust/telescope/nightly/stardust-telescope-nightly.spec b/anda/desktops/stardust/telescope/nightly/stardust-telescope-nightly.spec similarity index 94% rename from anda/stardust/telescope/nightly/stardust-telescope-nightly.spec rename to anda/desktops/stardust/telescope/nightly/stardust-telescope-nightly.spec index 3c6ceb426f..6b47023a04 100644 --- a/anda/stardust/telescope/nightly/stardust-telescope-nightly.spec +++ b/anda/desktops/stardust/telescope/nightly/stardust-telescope-nightly.spec @@ -1,10 +1,10 @@ -%global commit 3f6bbbb6bfaf28da8e3635a67a7d9502ae7a7b11 -%global commit_date 20260104 +%global commit 7cc4ad218557200e7cef53da48dc62ff9d0571ca +%global commit_date 20260318 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: stardust-xr-telescope-nightly Version: 0~%{commit_date}git.%{shortcommit} -Release: 3%?dist +Release: 1%{?dist} Summary: See the stars! Easy stardust setups to run on your computer License: MIT URL: https://github.com/StardustXR/telescope diff --git a/anda/stardust/telescope/nightly/update.rhai b/anda/desktops/stardust/telescope/nightly/update.rhai similarity index 100% rename from anda/stardust/telescope/nightly/update.rhai rename to anda/desktops/stardust/telescope/nightly/update.rhai diff --git a/anda/stardust/telescope/stable/anda.hcl b/anda/desktops/stardust/telescope/stable/anda.hcl similarity index 100% rename from anda/stardust/telescope/stable/anda.hcl rename to anda/desktops/stardust/telescope/stable/anda.hcl diff --git a/anda/stardust/telescope/stable/libexec.patch b/anda/desktops/stardust/telescope/stable/libexec.patch similarity index 100% rename from anda/stardust/telescope/stable/libexec.patch rename to anda/desktops/stardust/telescope/stable/libexec.patch diff --git a/anda/stardust/telescope/stable/stardust-telescope.spec b/anda/desktops/stardust/telescope/stable/stardust-telescope.spec similarity index 97% rename from anda/stardust/telescope/stable/stardust-telescope.spec rename to anda/desktops/stardust/telescope/stable/stardust-telescope.spec index 45663d8c25..d68b57651e 100644 --- a/anda/stardust/telescope/stable/stardust-telescope.spec +++ b/anda/desktops/stardust/telescope/stable/stardust-telescope.spec @@ -1,6 +1,6 @@ Name: stardust-xr-telescope -Version: 0.50.3 -Release: 2%?dist +Version: 0.51.0 +Release: 1%{?dist} Epoch: 1 Summary: See the stars! Easy stardust setups to run on your computer License: MIT diff --git a/anda/stardust/telescope/stable/update.rhai b/anda/desktops/stardust/telescope/stable/update.rhai similarity index 100% rename from anda/stardust/telescope/stable/update.rhai rename to anda/desktops/stardust/telescope/stable/update.rhai diff --git a/anda/desktops/sway/nwg-look/nwg-look.spec b/anda/desktops/sway/nwg-look/nwg-look.spec index cd594cd2d8..7f46c4ef6c 100644 --- a/anda/desktops/sway/nwg-look/nwg-look.spec +++ b/anda/desktops/sway/nwg-look/nwg-look.spec @@ -1,12 +1,12 @@ %dnl %define debug_package %{nil} %global goipath github.com/nwg-piotr/nwg-look -Version: 1.0.6 +Version: 1.1.1 %gometa -f Name: nwg-look -Release: 1%?dist +Release: 1%{?dist} Summary: GTK3 settings editor adapted to work in the wlroots environment License: MIT diff --git a/anda/desktops/sway/swayosd/swayosd.spec b/anda/desktops/sway/swayosd/swayosd.spec index 8702c7b61a..76cf36b4b1 100644 --- a/anda/desktops/sway/swayosd/swayosd.spec +++ b/anda/desktops/sway/swayosd/swayosd.spec @@ -1,6 +1,6 @@ Name: SwayOSD -Version: 0.3.0 -Release: 1%?dist +Version: 0.3.1 +Release: 1%{?dist} Summary: A GTK based on screen display for keyboard shortcuts like caps-lock and volume License: GPL-3.0-only URL: https://github.com/ErikReider/SwayOSD diff --git a/anda/desktops/swayfx/update.rhai b/anda/desktops/swayfx/update.rhai index 86957d3c78..21a9ca66e5 100644 --- a/anda/desktops/swayfx/update.rhai +++ b/anda/desktops/swayfx/update.rhai @@ -1 +1,3 @@ -rpm.version(gh("willPower3309/swayfx")); \ No newline at end of file +rpm.version(gh("willPower3309/swayfx")); + +rpm.global("swayVersion", gh("swaywm/sway")); diff --git a/anda/desktops/waylands/matugen/rust-matugen.spec b/anda/desktops/waylands/matugen/rust-matugen.spec index d106b289bf..b5221cff5c 100644 --- a/anda/desktops/waylands/matugen/rust-matugen.spec +++ b/anda/desktops/waylands/matugen/rust-matugen.spec @@ -2,8 +2,8 @@ %global crate matugen Name: rust-matugen -Version: 4.0.0 -Release: 1%?dist +Version: 4.1.0 +Release: 1%{?dist} Summary: Material you color generation tool with templates License: GPL-2.0-or-later diff --git a/anda/desktops/waylands/sway-audio-idle-inhibit/sway-audio-idle-inhibit.spec b/anda/desktops/waylands/sway-audio-idle-inhibit/sway-audio-idle-inhibit.spec index c33d4645fd..cd2b269a99 100644 --- a/anda/desktops/waylands/sway-audio-idle-inhibit/sway-audio-idle-inhibit.spec +++ b/anda/desktops/waylands/sway-audio-idle-inhibit/sway-audio-idle-inhibit.spec @@ -15,8 +15,10 @@ BuildRequires: pkgconfig(libsystemd) %prep %autosetup -n SwayAudioIdleInhibit-%version -%build +%conf %meson -Dlogind-provider=systemd + +%build %meson_build %install diff --git a/anda/desktops/waylands/swaylock-effects/swaylock-effects.spec b/anda/desktops/waylands/swaylock-effects/swaylock-effects.spec index e159f77edf..d4bd582c65 100644 --- a/anda/desktops/waylands/swaylock-effects/swaylock-effects.spec +++ b/anda/desktops/waylands/swaylock-effects/swaylock-effects.spec @@ -30,23 +30,20 @@ Conflicts: swaylock %description swaylock-effects is a fork of swaylock which adds built-in screenshots and image manipulation effects like blurring. - %pkg_completion -Bfz %binary_name - %prep %autosetup -n %{name}-%{commit} +%conf +%meson %build -%meson %meson_build - %install %meson_install - %files %license LICENSE %doc README.md @@ -54,7 +51,6 @@ swaylock-effects is a fork of swaylock which adds built-in screenshots and image %{_mandir}/man1/%{binary_name}.1.gz %config(noreplace) %{_sysconfdir}/pam.d/%{binary_name} - %changelog * Tue Feb 04 2025 sadlerm - Initial package diff --git a/anda/desktops/waylands/walker/walker.spec b/anda/desktops/waylands/walker/walker.spec index ce7dd540ac..9f7167f839 100644 --- a/anda/desktops/waylands/walker/walker.spec +++ b/anda/desktops/waylands/walker/walker.spec @@ -4,7 +4,7 @@ # prevent library files from being installed %global cargo_install_lib 0 -%global upstream_version v2.15.1 +%global upstream_version v2.16.2 %global ver %{sub %upstream_version 2} Name: walker diff --git a/anda/desktops/waypaper/waypaper.spec b/anda/desktops/waypaper/waypaper.spec index 2b6b047d72..9620b83659 100644 --- a/anda/desktops/waypaper/waypaper.spec +++ b/anda/desktops/waypaper/waypaper.spec @@ -4,8 +4,8 @@ %define _python_dist_allow_version_zero 1 Name: python-%{pypi_name} -Version: 2.7 -Release: 1%?dist +Version: 2.8 +Release: 1%{?dist} Summary: GUI wallpaper manager for Wayland and Xorg Linux systems License: GPL-3.0-only URL: https://github.com/anufrievroman/waypaper diff --git a/anda/devs/android-studio/canary/android-studio-canary.spec b/anda/devs/android-studio/canary/android-studio-canary.spec index ce118c5bc6..558555ccf5 100644 --- a/anda/devs/android-studio/canary/android-studio-canary.spec +++ b/anda/devs/android-studio/canary/android-studio-canary.spec @@ -16,15 +16,15 @@ %global __requires_exclude ^libaaudio\\.so.*|^libandroid\\.so.*|^libmediandk\\.so.*|^liblog\\.so.*|^libc\\.so.*|^libm\\.so.*|^libdl\\.so.*|^libcrypt\\.so.*|^libstdc\\+\\+\\.so.*|^libncursesw\\.so.*|^libtinfo\\.so.*|^libnsl\\.so.*|^libpanelw\\.so.*$ Name: android-studio-canary -Version: 2025.3.3.2 -Release: 1%?dist +Version: 2026.1.1.4 +Release: 1%{?dist} Summary: Official IDE for Android development (Canary build) License: Apache-2.0 Packager: veuxit ExclusiveArch: x86_64 URL: https://developer.android.com/studio/preview -%define suffixS panda3-canary2 +%define suffixS quail1-canary4 Source0: https://dl.google.com/dl/android/studio/ide-zips/%{version}/android-studio-%{suffixS}-linux.tar.gz diff --git a/anda/devs/android-studio/stable/android-studio.spec b/anda/devs/android-studio/stable/android-studio.spec index e6a9457e42..bff2ed2638 100644 --- a/anda/devs/android-studio/stable/android-studio.spec +++ b/anda/devs/android-studio/stable/android-studio.spec @@ -16,15 +16,15 @@ %global __requires_exclude ^libaaudio\\.so.*|^libandroid\\.so.*|^libmediandk\\.so.*|^liblog\\.so.*|^libc\\.so.*|^libm\\.so.*|^libdl\\.so.*|^libcrypt\\.so.*|^libstdc\\+\\+\\.so.*|^libncursesw\\.so.*|^libtinfo\\.so.*|^libnsl\\.so.*|^libpanelw\\.so.*$ Name: android-studio -Version: 2025.3.2.6 -Release: 1%?dist +Version: 2025.3.4.7 +Release: 1%{?dist} Summary: Official IDE for Android development License: Apache-2.0 Packager: veuxit , like-engels ExclusiveArch: x86_64 URL: https://developer.android.com/studio -%define suffixS panda2 +%define suffixS panda4-patch1 Source0: https://dl.google.com/dl/android/studio/ide-zips/%{version}/android-studio-%{suffixS}-linux.tar.gz diff --git a/anda/devs/asar/asar.spec b/anda/devs/asar/asar.spec index f0b73576db..2064b61085 100644 --- a/anda/devs/asar/asar.spec +++ b/anda/devs/asar/asar.spec @@ -7,8 +7,8 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: asar -Version: 4.1.0 -Release: 1%?dist +Version: 4.2.0 +Release: 1%{?dist} Summary: Simple extensive tar-like archive format with indexing License: MIT URL: https://github.com/electron/asar diff --git a/anda/devs/asdf/asdf.spec b/anda/devs/asdf/asdf.spec index b66ddc8224..30e9053806 100644 --- a/anda/devs/asdf/asdf.spec +++ b/anda/devs/asdf/asdf.spec @@ -12,7 +12,7 @@ # https://github.com/asdf-vm/asdf %global goipath github.com/asdf-vm/asdf -Version: 0.18.1 +Version: 0.19.0 %gometa -f @@ -25,7 +25,7 @@ more.} SECURITY.md ballad-of-asdf.md help.txt version.txt Name: asdf -Release: 1%?dist +Release: 1%{?dist} Summary: Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more License: MIT diff --git a/anda/devs/backport/anda.hcl b/anda/devs/backport/anda.hcl index 37ceb921f6..fa16c40570 100644 --- a/anda/devs/backport/anda.hcl +++ b/anda/devs/backport/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "nodejs-backport.spec" } diff --git a/anda/devs/backport/nodejs-backport.spec b/anda/devs/backport/nodejs-backport.spec index 121d9cf062..03e66f6320 100644 --- a/anda/devs/backport/nodejs-backport.spec +++ b/anda/devs/backport/nodejs-backport.spec @@ -3,11 +3,11 @@ %bcond test 0 Name: nodejs-%{npm_name} -Version: 10.4.0 -Release: 1%?dist +Version: 12.0.0 +Release: 2%{?dist} Summary: Backport GitHub commits SourceLicense: Apache-2.0 -License: 0BSD AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR CC0-1.0) AND (WTFPL OR ISC) +License: MIT AND ISC AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause URL: https://github.com/sorenlouv/%{npm_name} Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz BuildRequires: anda-srpm-macros >= 0.3.0 @@ -17,6 +17,7 @@ BuildRequires: nodejs-license-checker %if %{with test} BuildRequires: yarnpkg %endif +Requires: git-core Obsoletes: node-backport <= 10.2.0 BuildArch: noarch Packager: Gilver E. @@ -26,7 +27,9 @@ A simple CLI tool that automates the process of backporting commits on a GitHub %prep %npm_prep +%if %{with test} %fetch_node_tests /src/test/ /tests/ +%endif %build # Empty build section, because RPM reasons @@ -50,6 +53,8 @@ A simple CLI tool that automates the process of backporting commits on a GitHub %{_bindir}/%{npm_name} %changelog +* Sun May 3 2026 Gilver E. - 12.0.0-2 +- Added explicit dependency on git-core * Wed Jan 21 2026 Gilver E. - 10.2.0-3 - Fixed package name and licenses * Wed Jul 2 2025 Gilver E. - 9.6.6-1 diff --git a/anda/devs/backport/setup.sh b/anda/devs/backport/setup.sh deleted file mode 100755 index a6a7359998..0000000000 --- a/anda/devs/backport/setup.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/usr/bin/bash - -## Some sources need to be fetched BEFORE the build process -# Also I'm just better at scripting in Bash and calling the Rhai sh function hundreds of times times sounded like hell -# Have I mentioned I hate runtime languages? - -node=backport -# Enable logs for debugging -set -x -# I guess just $PWD doesn't work for this -builddir=$(pwd)/anda/devs/$node - -# We only need the tests folder so sourcing the whole repo is overkill, Git can make a tarball of specific directories - -pushd $builddir -ver=$(cat ./*.spec | grep -P -m1 'Version:' | sed -e 's/Version://g' -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') -url=$(sed -n 's/^URL:\s\(.*\)$/\1/p' ./*.spec | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' -e "s/%{module}/$node/") -dir=$node - -git clone --recurse-submodules -j$(nproc) $url.git - -pushd $dir -# I'm not sure why .tar.bz2 is the tar format of choice for this but it's also what Fedora does so it's what I'm doing -git archive --format=tar --prefix=tests/ v${ver}:src/test/ | bzip2 > ../tests-${ver}.tar.bz2 -popd -rm -rf $dir - -exit 0 diff --git a/anda/devs/bun/bun-bin.spec b/anda/devs/bun/bun-bin.spec index 3a9be7624f..fe199d63b4 100644 --- a/anda/devs/bun/bun-bin.spec +++ b/anda/devs/bun/bun-bin.spec @@ -8,8 +8,8 @@ %global appid sh.oven.bun Name: bun-bin -Version: 1.3.10 -Release: 1%?dist +Version: 1.3.13 +Release: 1%{?dist} Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one License: MIT URL: https://bun.sh diff --git a/anda/devs/codium/codium.spec b/anda/devs/codium/codium.spec index f2bf850d6e..767121b07a 100644 --- a/anda/devs/codium/codium.spec +++ b/anda/devs/codium/codium.spec @@ -1,7 +1,7 @@ %global appid com.vscodium.VSCodium Name: codium -Version: 1.110.11631 +Version: 1.116.02821 %electronmeta -D %global __requires_exclude %{__requires_exclude}|libcurl.so|libmsalruntime.so Release: 1%{?dist} diff --git a/anda/devs/deno/rust-deno.spec b/anda/devs/deno/rust-deno.spec index 15bd331685..7e39eab1ac 100644 --- a/anda/devs/deno/rust-deno.spec +++ b/anda/devs/deno/rust-deno.spec @@ -6,7 +6,7 @@ %global crate deno Name: rust-deno -Version: 2.7.4 +Version: 2.7.14 Release: 1%{?dist} Summary: Deno executable diff --git a/anda/devs/edit/edit.spec b/anda/devs/edit/edit.spec index d7e7137bea..5125c59d42 100644 --- a/anda/devs/edit/edit.spec +++ b/anda/devs/edit/edit.spec @@ -7,8 +7,8 @@ An editor that pays homage to the classic MS-DOS Editor, but with a modern inter %global appstream_component console-application Name: %{crate} -Version: 1.2.1 -Release: 4%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: A simple editor for simple needs. SourceLicense: MIT License: MIT AND (MIT OR Apache-2.0) diff --git a/anda/devs/flutter/flutter.spec b/anda/devs/flutter/flutter.spec index b1bc0f7c60..45948f29f3 100644 --- a/anda/devs/flutter/flutter.spec +++ b/anda/devs/flutter/flutter.spec @@ -1,6 +1,6 @@ Name: flutter -Version: 3.41.4 -Release: 1%?dist +Version: 3.41.9 +Release: 1%{?dist} Summary: SDK for crafting beautiful, fast user experiences from a single codebase License: BSD-3-Clause URL: https://flutter.dev diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index 10eb3541fb..41a92b3f7f 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -1,9 +1,9 @@ -%global commit ec1ca4c0c903d13a15452c18b1df11b3cabddaf7 +%global commit 0deaac08ed1a95330346afabbad03da701708331 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global fulldate 2026-03-09 +%global fulldate 2026-05-06 %global commit_date %(echo %{fulldate} | sed 's/-//g') %global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV -%global ver 1.3.0 +%global ver 1.3.2 %global base_name ghostty %global appid com.mitchellh.%{base_name} @@ -185,7 +185,7 @@ Ghostty's terminfo. Needed for basic terminal function. Summary: The libghostty-vt libraries %description -n libghostty-vt-nightly -This package contains the libghostty-vt libraries, the first of many linghostty libaries in development. +This package contains the libghostty-vt libraries, the first of many libghostty libaries in development. %package -n libghostty-vt-nightly-devel Summary: Development files for libghostty-vt diff --git a/anda/devs/ghostty/stable/ghostty.spec b/anda/devs/ghostty/stable/ghostty.spec index 078d9b345c..02c26afca1 100644 --- a/anda/devs/ghostty/stable/ghostty.spec +++ b/anda/devs/ghostty/stable/ghostty.spec @@ -3,7 +3,7 @@ %global appid com.mitchellh.ghostty Name: ghostty -Version: 1.3.0 +Version: 1.3.1 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 @@ -76,6 +76,13 @@ BuildArch: noarch %description zsh-completion Zsh shell completion for Ghostty. +%package devel +Summary: Development files for Ghostty. +Requires: %{name} = %{evr} + +%description devel +This package includes the development files for Ghostty. + %package kio Summary: KIO support for Ghostty Requires: %{name} = %{evr} @@ -145,6 +152,19 @@ BuildArch: noarch %description terminfo Ghostty's terminfo. Needed for basic terminal function. +%package -n libghostty-vt +Summary: The libghostty-vt libraries + +%description -n libghostty-vt +This package contains the libghostty-vt libraries, the first of many libghostty libaries in development. + +%package -n libghostty-vt-devel +Summary: Development files for libghostty-vt +Requires: libghostty-vt = %{evr} + +%description -n libghostty-vt-devel +This package contains the libraries and header files that are needed for developing with libghostty-vt. + %prep /usr/bin/minisign -V -m %{SOURCE0} -x %{SOURCE1} -P %{public_key} %autosetup @@ -203,6 +223,9 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{name} %files zsh-completion %{zsh_completions_dir}/_%{name} +%files devel +%{_includedir}/ghostty/ + %files kio %{_datadir}/kio/servicemenus/%{appid}.desktop @@ -230,6 +253,7 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{name} %{_datadir}/%{name}/shell-integration/bash/%{name}.bash %{_datadir}/%{name}/shell-integration/elvish/lib/%{name}-integration.elv %{_datadir}/%{name}/shell-integration/fish/vendor_conf.d/%{name}-shell-integration.fish +%{_datadir}/%{name}/shell-integration/nushell/vendor/autoload/%{name}.nu %{_datadir}/%{name}/shell-integration/zsh/.zshenv %{_datadir}/%{name}/shell-integration/zsh/%{name}-integration @@ -248,6 +272,13 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{name} %postun %systemd_user_postun app-%{appid}.service +%files -n libghostty-vt +%{_libdir}/libghostty-vt.so.* + +%files -n libghostty-vt-devel +%{_libdir}/libghostty-vt.so +%{_datadir}/pkgconfig/libghostty-vt.pc + %changelog * Tue Oct 28 2025 Gilver E. - 1.2.3-2 - Disabled bundled themes diff --git a/anda/devs/lowfi/rust-lowfi.spec b/anda/devs/lowfi/rust-lowfi.spec index 34edd93a94..994e1c3922 100644 --- a/anda/devs/lowfi/rust-lowfi.spec +++ b/anda/devs/lowfi/rust-lowfi.spec @@ -2,7 +2,7 @@ %global crate lowfi Name: rust-lowfi -Version: 2.0.5 +Version: 2.0.6 Release: 1%{?dist} Summary: Extremely simple lofi player diff --git a/anda/devs/micro/micro-nightly.spec b/anda/devs/micro/micro-nightly.spec index 572beaa329..adbec0f99f 100644 --- a/anda/devs/micro/micro-nightly.spec +++ b/anda/devs/micro/micro-nightly.spec @@ -12,8 +12,8 @@ # Naming variable as something other than "commit" is necessary # to stop %%gometa from putting commit hash in release -%global commit_hash 518a274980b19e025a678b6039f1f5aa9bae8cc7 -%global commit_date 20260309 +%global commit_hash 253065a4af5a417e3b13d62ec5f5f722457f4a53 +%global commit_date 20260505 %global shortcommit %{sub %{commit_hash} 1 7} %global ver 2.0.15 diff --git a/anda/devs/neovide/neovide.spec b/anda/devs/neovide/neovide.spec index b6b13b242d..3bb5eb17cc 100644 --- a/anda/devs/neovide/neovide.spec +++ b/anda/devs/neovide/neovide.spec @@ -2,8 +2,8 @@ %global raw_forgeurl https://raw.githubusercontent.com/%{crate}/%{crate} Name: rust-neovide -Version: 0.15.2 -Release: 1%?dist +Version: 0.16.2 +Release: 1%{?dist} Summary: No Nonsense Neovim Client in Rust License: MIT diff --git a/anda/devs/powershell/powershell.spec b/anda/devs/powershell/powershell.spec index 79a5e8925f..ee438b1f97 100644 --- a/anda/devs/powershell/powershell.spec +++ b/anda/devs/powershell/powershell.spec @@ -5,7 +5,7 @@ %global git_name PowerShell # Not currently tracked, all PowerShell specifies is a version under 4.99 %global pester_version 4.10.1 -%global dotnet_version 9.0 +%global dotnet_version 10.0 # Arch defined by .NET %ifarch %{x86_64} %global darch x64 @@ -18,8 +18,8 @@ %bcond test 1 Name: powershell -Version: 7.5.4 -Release: 3%{?dist} +Version: 7.6.1 +Release: 1%{?dist} Summary: A cross-platform automation and configuration tool/framework SourceLicense: MIT License: Apache-2.0 AND BSD-2-Clause AND MIT diff --git a/anda/devs/rio/rio.spec b/anda/devs/rio/rio.spec index a03c4a3b4a..9f7276b44e 100644 --- a/anda/devs/rio/rio.spec +++ b/anda/devs/rio/rio.spec @@ -1,11 +1,11 @@ %global crate rioterm +%global appid com.rioterm.Rio %global _description %{expand: A hardware-accelerated terminal emulator focusing to run in desktops and browsers.} -%bcond docs 1 Name: rio -Version: 0.2.37 -Release: 2%{?dist} +Version: 0.4.2 +Release: 1%{?dist} Summary: A hardware-accelerated terminal written in Rust. SourceLicense: MIT License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSD-2-Clause AND BSL-1.0 AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND ISC AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR GPL-3.0-only) AND MPL-2.0+ AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib @@ -17,6 +17,7 @@ BuildRequires: desktop-file-utils BuildRequires: freetype-devel BuildRequires: cmake BuildRequires: gcc-c++ +BuildRequires: glslc BuildRequires: libxcb-devel BuildRequires: libxkbcommon-devel BuildRequires: mold @@ -25,10 +26,9 @@ BuildRequires: pkgconfig(alsa) Requires: freetype Requires: fontconfig Requires: hicolor-icon-theme +Requires: ncurses-term Obsoletes: %{crate} < %{version}-%{release} -%if %{with docs} -Suggests: %{name}-doc = %{version}-%{release} -%endif +Obsoletes: %{name}-doc < %{evr} Packager: Gilver E. %description %_description @@ -40,14 +40,6 @@ Requires: %{name} = %{version}-%{release} %description devel This package contains the development libraries for Rio. -%if %{with docs} -%package doc -Summary: Documentation for Rio - -%description doc -This package contains all official documentation files for the Rio terminal. -%endif - %prep %autosetup -n %{name}-%{version} %cargo_prep_online @@ -59,7 +51,8 @@ sed -i 's/Exec=.*/Exec=%{crate}/g' misc/%{name}.desktop %install install -Dm755 target/rpm/%{name} %{buildroot}%{_bindir}/%{crate} install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir} -install -Dm644 docs/static/assets/%{name}-logo.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{name}.svg +install -Dm644 misc/logo.svg %{buildroot}%{_scalableiconsdir}/%{name}.svg +install -Dm644 misc/%{appid}.metainfo.xml -t %{buildroot}%{_metainfodir} desktop-file-install misc/%{name}.desktop %{cargo_license_online -a} > LICENSE.dependencies @@ -73,17 +66,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_bindir}/%{crate} %{_datadir}/applications/%{name}.desktop %{_iconsdir}/hicolor/scalable/apps/%{name}.svg +%{_metainfodir}/%{appid}.metainfo.xml %files devel %{_libdir}/librio_backend.so %{_libdir}/librio_proc_macros.so %{_libdir}/libsugarloaf.so -%if %{with docs} -%files doc -%doc docs/docs/* -%endif - %changelog * Mon May 5 2025 Gilver E. - 0.2.13-1 - Added doc package diff --git a/anda/devs/tracy/tracy.spec b/anda/devs/tracy/tracy.spec index eb1b3e601a..6605a44ea7 100644 --- a/anda/devs/tracy/tracy.spec +++ b/anda/devs/tracy/tracy.spec @@ -1,12 +1,42 @@ +%if 0%{?fedora} >= 44 +%global gcc_compat 15 +%global __cc gcc-%{gcc_compat} +%global __cxx g++-%{gcc_compat} +%endif + Name: tracy Version: 0.13.1 -Release: 2%?dist +Release: 4%?dist Summary: A real time, nanosecond resolution, remote telemetry, hybrid frame and sampling profiler for games and other applications License: BSD-3-Clause URL: https://github.com/wolfpld/tracy Source0: https://github.com/wolfpld/tracy/archive/refs/tags/v%version.tar.gz -BuildRequires: pkgconfig(egl) pkgconfig(glfw3) pkgconfig(freetype2) pkgconfig(dbus-1) pkgconfig(libunwind) pkgconfig(libdebuginfod) pkgconfig(tbb) pkgconfig(wayland-client) pkgconfig(wayland-protocols) pkgconfig(xkbcommon) pkgconfig(capstone) pkgconfig(openssl) pkgconfig(pugixml) pkgconfig(libcurl) pkgconfig(libxslt) pkgconfig(libnghttp2) pkgconfig(libidn2) pkgconfig(libssh2) tbb expat libxml2 openssl-libs -BuildRequires: cmake gcc gcc-c++ meson +BuildRequires: pkgconfig(egl) +BuildRequires: pkgconfig(glfw3) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(libunwind) +BuildRequires: pkgconfig(libdebuginfod) +BuildRequires: pkgconfig(tbb) +BuildRequires: pkgconfig(wayland-client) +BuildRequires: pkgconfig(wayland-protocols) +BuildRequires: pkgconfig(xkbcommon) +BuildRequires: pkgconfig(capstone) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(pugixml) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libxslt) +BuildRequires: pkgconfig(libnghttp2) +BuildRequires: pkgconfig(libidn2) +BuildRequires: pkgconfig(libssh2) +BuildRequires: tbb +BuildRequires: expat +BuildRequires: libxml2 +BuildRequires: openssl-libs +BuildRequires: cmake +BuildRequires: meson +BuildRequires: gcc%{?gcc_compat} +BuildRequires: gcc%{?gcc_compat}-c++ Packager: Owen Zimmerman @@ -15,6 +45,7 @@ Tracy is a real time, nanosecond resolution, remote telemetry, hybrid frame and %package devel Summary: Development files for the tracy package +Requires: tracy = %{evr} %description devel Development files for the tracy package. @@ -22,8 +53,10 @@ Development files for the tracy package. %prep %autosetup -%build +%conf %meson -Dcpp_std=c++17 + +%build %meson_build for project in capture csvexport import update profiler do @@ -72,6 +105,9 @@ install -Dm644 icon/application-tracy.svg %buildroot%_iconsdir/hicolor/scalable/ %_includedir/tracy/* %changelog +* Tue Apr 21 2026 Owen Zimmerman - 0.13.1-2 +- Make gcc15 the default compiler on Fedora 44+ + * Mon Jan 19 2026 Owen Zimmerman - 0.13.1-1 - Fix compile issues, update for 0.13.1 diff --git a/anda/devs/turbowarp/turbowarp.spec b/anda/devs/turbowarp/turbowarp.spec index 052b9fe652..6fb36cd822 100644 --- a/anda/devs/turbowarp/turbowarp.spec +++ b/anda/devs/turbowarp/turbowarp.spec @@ -2,8 +2,8 @@ Name: turbowarp-desktop %electronmeta -D -Version: 1.15.2 -Release: 1%?dist +Version: 1.15.5 +Release: 1%{?dist} Summary: A better offline editor for Scratch 3 URL: https://desktop.turbowarp.org/ License: GPL-3.0-only AND %{electron_license} diff --git a/anda/devs/yarn-berry/yarnpkg-berry.spec b/anda/devs/yarn-berry/yarnpkg-berry.spec index 1f9b0ed0d7..4ddefbf63e 100644 --- a/anda/devs/yarn-berry/yarnpkg-berry.spec +++ b/anda/devs/yarn-berry/yarnpkg-berry.spec @@ -1,8 +1,8 @@ %bcond bootstrap 0 Name: yarnpkg-berry -Version: 4.12.0 -Release: 5%{?dist} +Version: 4.14.1 +Release: 1%{?dist} Summary: Active development version of Yarn License: BSD-2-Clause URL: https://yarnpkg.com diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index d169d4a340..365fc2b3a8 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,11 +1,11 @@ -%global commit 8762b7f503fda985f481ccd301960cf01adbecb8 +%global commit 5dd9082d05e4c9eb13623c1281fb7c4b0071b3a3 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260309 -%global ver 0.228.0 +%global commit_date 20260507 +%global ver 1.3.0 %bcond_with check %bcond_with debug_no_build -%bcond nightly 1 +%bcond nightly 0 %if 0%{?with_debug_no_build} %global debug_package %{nil} @@ -19,6 +19,7 @@ %global appstream_component desktop-application %global rustflags_debuginfo 0 +%global toolchain clang Name: zed-nightly Version: %ver^%commit_date.%shortcommit diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec index 7f34923c78..7b4cb744ce 100644 --- a/anda/devs/zed/preview/zed-preview.spec +++ b/anda/devs/zed/preview/zed-preview.spec @@ -1,3 +1,5 @@ +%global toolchain clang + %bcond_with check %bcond_with debug_no_build @@ -5,7 +7,7 @@ %global debug_package %{nil} %endif -%global ver 0.227.1-pre +%global ver 1.2.1-pre # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ diff --git a/anda/devs/zed/stable/zed.spec b/anda/devs/zed/stable/zed.spec index a98844e667..2a989cf88c 100644 --- a/anda/devs/zed/stable/zed.spec +++ b/anda/devs/zed/stable/zed.spec @@ -1,3 +1,5 @@ +%global toolchain clang + %bcond_with check %bcond_with debug_no_build @@ -15,7 +17,7 @@ %global rustflags_debuginfo 0 Name: zed -Version: 0.226.5 +Version: 1.1.6 Release: 1%{?dist} Summary: Zed is a high-performance, multiplayer code editor SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later diff --git a/anda/fonts/iosevka/iosevka-fonts.spec b/anda/fonts/iosevka/iosevka-fonts.spec index 7b7f274452..8e5bce94a3 100644 --- a/anda/fonts/iosevka/iosevka-fonts.spec +++ b/anda/fonts/iosevka/iosevka-fonts.spec @@ -52,8 +52,8 @@ %global fontdescription %{expand: Versatile typeface for code, from code.} -Version: 34.2.1 -Release: 1%?dist +Version: 34.4.0 +Release: 1%{?dist} Packager: Cappy Ishihara Summary: Versatile typeface for code, from code. BuildRequires: rpm_macro(fontpkg) diff --git a/anda/fonts/juliamono/juliamono.spec b/anda/fonts/juliamono/juliamono.spec index 1494c19c6c..c16492e87e 100644 --- a/anda/fonts/juliamono/juliamono.spec +++ b/anda/fonts/juliamono/juliamono.spec @@ -1,6 +1,6 @@ Name: juliamono-fonts Version: 0.062 -Release: 1%?dist +Release: 2%?dist URL: https://juliamono.netlify.app/ Source0: https://github.com/cormullion/juliamono/archive/refs/tags/v%{version}.tar.gz License: OFL-1.1 @@ -8,7 +8,7 @@ Summary: A monospaced font with reasonable unicode support Requires: xorg-x11-font-utils BuildArch: noarch Provides: JuliaMono-fonts -Packager: Its-J +Packager: Its-J %description @@ -29,5 +29,8 @@ install -Dm644 *.ttf %{buildroot}%{_fontbasedir}/juliamono/ %{_fontbasedir}/juliamono/*.ttf %changelog -* Fri Nov 21 2025 Its-J -- Package JuliaMono \ No newline at end of file +* Tue Apr 14 2026 Its-J +- Add email to my previous contributor attributions + +* Fri Nov 21 2025 Its-J +- Package JuliaMono diff --git a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec index b8afa6cb43..a435e105fd 100644 --- a/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec +++ b/anda/fonts/sarasa-gothic/sarasa-gothic-fonts.spec @@ -1,6 +1,6 @@ Name: sarasa-gothic-fonts -Version: 1.0.36 -Release: 1%?dist +Version: 1.0.37 +Release: 1%{?dist} URL: https://github.com/be5invis/Sarasa-Gothic Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z Source1: %url/releases/download/v%version/Sarasa-SuperTTC-%version.7z diff --git a/anda/games/chess-tui/rust-chess-tui.spec b/anda/games/chess-tui/rust-chess-tui.spec index bac8b542a9..dec9550868 100644 --- a/anda/games/chess-tui/rust-chess-tui.spec +++ b/anda/games/chess-tui/rust-chess-tui.spec @@ -4,8 +4,8 @@ %global crate chess-tui Name: rust-chess-tui -Version: 2.5.1 -Release: 1%?dist +Version: 2.6.2 +Release: 1%{?dist} Summary: Rusty chess game in your terminal 🦀 License: MIT diff --git a/anda/games/emulationstation-de/emulationstation-de.spec b/anda/games/emulationstation-de/emulationstation-de.spec index 43a09221f8..6f7b5681f2 100644 --- a/anda/games/emulationstation-de/emulationstation-de.spec +++ b/anda/games/emulationstation-de/emulationstation-de.spec @@ -8,8 +8,8 @@ %bcond_with kms Name: emulationstation-de -Version: 3.4.0 -Release: 1%?dist +Version: 3.4.1 +Release: 1%{?dist} Summary: ES-DE is a frontend for browsing and launching games from your multi-platform collection. Packager: Cappy Ishihara License: MIT diff --git a/anda/games/gamescope-session-ogui-steam/gamescope-session-ogui-steam.spec b/anda/games/gamescope-session-ogui-steam/gamescope-session-ogui-steam.spec index 88a5fdcbf0..b1d6b2dd0c 100644 --- a/anda/games/gamescope-session-ogui-steam/gamescope-session-ogui-steam.spec +++ b/anda/games/gamescope-session-ogui-steam/gamescope-session-ogui-steam.spec @@ -1,8 +1,8 @@ %define debug_package %nil -%global commit 6835776876a2b9e5fc819bd8d98f06ae51fa6394 +%global commit fbdc7682f39088b4fe480a9285808ca81b3f9d03 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20231030 +%global commit_date 20260325 Name: gamescope-session-ogui-steam Version: 0~%{commit_date}git.%{shortcommit} @@ -25,14 +25,16 @@ Gamescope Session for OpenGamepadUI in overlay mode with Steam %build %install -install -Dpm0755 -t "%buildroot%_datadir/gamescope-session-plus/sessions.d/" ".%_datadir/gamescope-session-plus/sessions.d/steam-plus" +install -Dpm0755 -t "%buildroot%_datadir/gamescope-session-plus/sessions.d/" ".%_datadir/gamescope-session-plus/sessions.d/ogui-steam" +install -Dpm0644 -t "%buildroot%_datadir/wayland-sessions/" ".%_datadir/wayland-sessions/gamescope-session-ogui-steam.desktop" install -Dpm0644 -t "%buildroot%_datadir/wayland-sessions/" ".%_datadir/wayland-sessions/gamescope-session-steam-plus.desktop" install -Dpm0644 -t "%buildroot%_datadir/wayland-sessions/" ".%_datadir/wayland-sessions/gamepadui-with-qam-session.desktop" %files %doc README.md %license LICENSE -%{_datadir}/gamescope-session-plus/sessions.d/steam-plus +%{_datadir}/gamescope-session-plus/sessions.d/ogui-steam +%{_datadir}/wayland-sessions/gamescope-session-ogui-steam.desktop %{_datadir}/wayland-sessions/gamescope-session-steam-plus.desktop %{_datadir}/wayland-sessions/gamepadui-with-qam-session.desktop diff --git a/anda/games/gamescope-session-opengamepadui/gamescope-session-opengamepadui.spec b/anda/games/gamescope-session-opengamepadui/gamescope-session-opengamepadui.spec index d85f93c71d..43dbae5a53 100644 --- a/anda/games/gamescope-session-opengamepadui/gamescope-session-opengamepadui.spec +++ b/anda/games/gamescope-session-opengamepadui/gamescope-session-opengamepadui.spec @@ -1,15 +1,16 @@ -%global commit 1a3fdb7fa15a4bba7204bef69702b7a10a297828 +%global commit 88087a086ab732211c466b41f5d64229ce51c050 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260205 +%global commit_date 20260411 Name: gamescope-session-opengamepadui Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Gamescope session for OpenGamepadUI License: GPL-3.0-only URL: https://github.com/OpenGamingCollective/gamescope-session-opengamepadui Source0: %url/archive/%commit.tar.gz Packager: Tulip Blossom +Requires: gamescope-session Requires: opengamepadui BuildArch: noarch diff --git a/anda/games/gamescope-session-opengamepadui/update.rhai b/anda/games/gamescope-session-opengamepadui/update.rhai index ad1104c154..5dc68937a3 100644 --- a/anda/games/gamescope-session-opengamepadui/update.rhai +++ b/anda/games/gamescope-session-opengamepadui/update.rhai @@ -1,7 +1,5 @@ -if filters.contains("nightly") { - rpm.global("commit", gh_commit("OpenGamingCollective/gamescope-session-steam")); - if rpm.changed() { +rpm.global("commit", gh_commit("OpenGamingCollective/gamescope-session-opengamepadui")); +if rpm.changed() { rpm.release(); rpm.global("commit_date", date()); - } } diff --git a/anda/games/gamescope-session-steam/gamescope-session-steam.spec b/anda/games/gamescope-session-steam/gamescope-session-steam.spec index 9d819478fb..b98e8117e1 100644 --- a/anda/games/gamescope-session-steam/gamescope-session-steam.spec +++ b/anda/games/gamescope-session-steam/gamescope-session-steam.spec @@ -1,16 +1,18 @@ %define debug_package %nil -%global commit 1a3fdb7fa15a4bba7204bef69702b7a10a297828 +%global commit 72df08d154fefb6354f6bb1a8d8cf587e86ee227 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20241205 +%global commit_date 20260325 Name: gamescope-session-steam Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 2%{?dist} Summary: gamescope-session-steam License: MIT URL: https://github.com/OpenGamingCollective/gamescope-session-steam Source0: %url/archive/%commit.tar.gz +Requires: gamescope-session +Requires: steam Packager: Tulip Blossom BuildArch: noarch @@ -26,6 +28,10 @@ BuildArch: noarch install -Dpm0755 -t "%buildroot%_bindir/" ".%_bindir/steam-http-loader" install -Dpm0755 -t "%buildroot%_bindir/" ".%_bindir/steamos-select-branch" install -Dpm0755 -t "%buildroot%_bindir/" ".%_bindir/steamos-session-select" +install -Dpm0755 -t "%buildroot%_bindir/" ".%_bindir/steamos-update" +install -Dpm0755 -t "%buildroot%_bindir/steamos-polkit-helpers/" ".%_bindir/steamos-polkit-helpers/jupiter-biosupdate" +install -Dpm0755 -t "%buildroot%_bindir/steamos-polkit-helpers/" ".%_bindir/steamos-polkit-helpers/steamos-select-branch" +install -Dpm0755 -t "%buildroot%_bindir/steamos-polkit-helpers/" ".%_bindir/steamos-polkit-helpers/steamos-update" install -Dpm0644 -t "%buildroot%_datadir/applications/" ".%_datadir/applications/steam_http_loader.desktop" install -Dpm0644 -t "%buildroot%_datadir/applications/" ".%_datadir/applications/gamescope-mimeapps.list" install -Dpm0755 -t "%buildroot%_datadir/gamescope-session-plus/sessions.d/" ".%_datadir/gamescope-session-plus/sessions.d/steam" @@ -38,6 +44,10 @@ install -Dpm0644 -t "%buildroot%_datadir/wayland-sessions/" ".%_datadir/wayland- %{_bindir}/steam-http-loader %{_bindir}/steamos-select-branch %{_bindir}/steamos-session-select +%{_bindir}/steamos-update +%{_bindir}/steamos-polkit-helpers/jupiter-biosupdate +%{_bindir}/steamos-polkit-helpers/steamos-select-branch +%{_bindir}/steamos-polkit-helpers/steamos-update %{_datadir}/applications/gamescope-mimeapps.list %{_datadir}/applications/steam_http_loader.desktop %{_datadir}/gamescope-session-plus/sessions.d/steam diff --git a/anda/games/gamescope-session/gamescope-session.spec b/anda/games/gamescope-session/gamescope-session.spec index f6bd8ace06..ad86d77583 100644 --- a/anda/games/gamescope-session/gamescope-session.spec +++ b/anda/games/gamescope-session/gamescope-session.spec @@ -6,11 +6,13 @@ Name: gamescope-session Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 3%?dist Summary: Gamescope session based on Valve's gamescope License: MIT URL: https://github.com/OpenGamingCollective/gamescope-session Source0: %url/archive/%commit.tar.gz +Requires: gamescope +Recommends: switcheroo-control BuildRequires: systemd-rpm-macros Packager: Tulip Blossom BuildArch: noarch @@ -29,7 +31,7 @@ install -Dpm0755 -t "%buildroot%_bindir/" ".%_bindir/gamescope-session-plus" install -Dpm0644 -t "%buildroot%_userunitdir/" ".%_userunitdir/gamescope-session-plus@.service" install -Dpm0644 -t "%buildroot%_userunitdir/" ".%_userunitdir/gamescope-session.target" install -Dpm0644 -t "%buildroot%_datadir/gamescope-session-plus/" ".%_datadir/gamescope-session-plus/device-quirks" -install -Dpm0644 -t "%buildroot%_datadir/gamescope-session-plus/" ".%_datadir/gamescope-session-plus/gamescope-session-plus" +install -Dpm0755 -t "%buildroot%_datadir/gamescope-session-plus/" ".%_datadir/gamescope-session-plus/gamescope-session-plus" install -Dpm0644 -t "%buildroot%_datadir/gamescope/scripts/50-custom/50-disable-explicit-sync.lua" ".%_datadir/gamescope/scripts/50-custom/50-disable-explicit-sync.lua" %files diff --git a/anda/games/heroic-games-launcher/heroic-games-launcher.spec b/anda/games/heroic-games-launcher/heroic-games-launcher.spec index 5d311e425d..7f6b706c42 100644 --- a/anda/games/heroic-games-launcher/heroic-games-launcher.spec +++ b/anda/games/heroic-games-launcher/heroic-games-launcher.spec @@ -2,14 +2,14 @@ %global git_name %(echo %{org_name} | sed 's/-//g') %global appid com.heroicgameslauncher.hgl %global shortname heroic -%global legendary_version 0.20.42 +%global legendary_version 0.20.43 %global gogdl_version 1.2.1 %global nile_version 1.1.2 %global comet_version 0.2.0 Name: %{shortname}-games-launcher -Version: 2.20.1 -Release: 1%?dist +Version: 2.21.0 +Release: 1%{?dist} Summary: A games launcher for GOG, Amazon, and Epic Games License: GPL-3.0-only AND MIT AND BSD-3-Clause URL: https://heroicgameslauncher.com diff --git a/anda/games/inputplumber/inputplumber.spec b/anda/games/inputplumber/inputplumber.spec index dbb9fb54bd..3b659104a6 100644 --- a/anda/games/inputplumber/inputplumber.spec +++ b/anda/games/inputplumber/inputplumber.spec @@ -1,8 +1,8 @@ %global __brp_mangle_shebangs %{nil} Name: inputplumber -Version: 0.75.1 -Release: 1%?dist +Version: 0.77.0 +Release: 1%{?dist} Summary: Open source input router and remapper daemon for Linux License: GPL-3.0-or-later URL: https://github.com/ShadowBlip/InputPlumber diff --git a/anda/games/launcher.moe/anime-game-launcher/anime-game-launcher.spec b/anda/games/launcher.moe/anime-game-launcher/anime-game-launcher.spec index a23f6941ec..d23368af50 100644 --- a/anda/games/launcher.moe/anime-game-launcher/anime-game-launcher.spec +++ b/anda/games/launcher.moe/anime-game-launcher/anime-game-launcher.spec @@ -2,8 +2,8 @@ %global crate anime-game-launcher %global appid moe.launcher.an-anime-game-launcher Name: %{crate} -Version: 3.18.0 -Release: 1%?dist +Version: 3.19.1 +Release: 2%{?dist} Summary: An Anime Game Launcher for Linux with automatic patching and telemetry disabling License: GPL-3.0-or-later @@ -53,6 +53,7 @@ BuildRequires: protobuf-devel protobuf-compiler %install %crate_install_bin +install -Dm644 assets/moe.launcher.an-anime-game-launcher.metainfo.xml %{buildroot}%{_metainfodir}/moe.launcher.an-anime-game-launcher.metainfo.xml install -Dm644 assets/images/icon.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{appid}.png desktop-file-install \ --set-icon="%{appid}" \ @@ -70,7 +71,11 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/anime-game-launcher. %{_datadir}/applications/anime-game-launcher.desktop %{_bindir}/%{crate} %{_datadir}/icons/hicolor/512x512/apps/%{appid}.png +%{_metainfodir}/moe.launcher.an-anime-game-launcher.metainfo.xml %changelog +* Mon Dec 08 2025 Owen Zimmerman +- Install metainfo + * Sat Sep 20 2025 Cappy Ishihara - Initial package diff --git a/anda/games/launcher.moe/honkers-railway-launcher/honkers-railway-launcher.spec b/anda/games/launcher.moe/honkers-railway-launcher/honkers-railway-launcher.spec index c449956491..930e89ce82 100644 --- a/anda/games/launcher.moe/honkers-railway-launcher/honkers-railway-launcher.spec +++ b/anda/games/launcher.moe/honkers-railway-launcher/honkers-railway-launcher.spec @@ -2,8 +2,8 @@ %global crate honkers-railway-launcher %global appid moe.launcher.the-honkers-railway-launcher Name: %{crate} -Version: 1.14.4 -Release: 1%?dist +Version: 1.14.5 +Release: 1%{?dist} Summary: The Honkers Railway launcher for Linux with automatic patching and telemetry disabling License: GPL-3.0-or-later diff --git a/anda/games/opengamepadui/opengamepadui.spec b/anda/games/opengamepadui/opengamepadui.spec index ba31a9b7f5..363e086b68 100644 --- a/anda/games/opengamepadui/opengamepadui.spec +++ b/anda/games/opengamepadui/opengamepadui.spec @@ -1,6 +1,6 @@ Name: opengamepadui -Version: 0.44.3 -Release: 1%?dist +Version: 0.45.0 +Release: 1%{?dist} Summary: Open source gamepad-native game launcher and overlay License: GPLv3 diff --git a/anda/games/osu-lazer/osu-lazer.spec b/anda/games/osu-lazer/osu-lazer.spec index e9bfd4c8c5..b766cef540 100644 --- a/anda/games/osu-lazer/osu-lazer.spec +++ b/anda/games/osu-lazer/osu-lazer.spec @@ -1,9 +1,9 @@ -%define osuresver 2026.305.0 +%define osuresver 2026.427.0 %global debug_package %{nil} %define __strip /bin/true Name: osu-lazer -Version: 2026.305.0 +Version: 2026.429.0 Release: 1%{?dist} Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew. ExclusiveArch: x86_64 diff --git a/anda/games/prismlauncher-nightly/0001-find-cmark-with-pkgconfig.patch b/anda/games/prismlauncher-nightly/0001-find-cmark-with-pkgconfig.patch deleted file mode 100644 index d41ef66bec..0000000000 --- a/anda/games/prismlauncher-nightly/0001-find-cmark-with-pkgconfig.patch +++ /dev/null @@ -1,79 +0,0 @@ -From 5a38fc2c9a329e88c8337af541dfeccaeff1fefb Mon Sep 17 00:00:00 2001 -From: seth -Date: Sun, 15 Jan 2023 14:47:49 -0500 -Subject: [PATCH] find cmark with pkgconfig - -Signed-off-by: seth ---- - cmake/Findcmark.cmake | 59 +++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 59 insertions(+) - create mode 100755 cmake/Findcmark.cmake - -diff --git a/cmake/Findcmark.cmake b/cmake/Findcmark.cmake -new file mode 100755 -index 00000000..9858e5df ---- /dev/null -+++ b/cmake/Findcmark.cmake -@@ -0,0 +1,59 @@ -+# SPDX-FileCopyrightText: 2019 Black Hat -+# SPDX-License-Identifier: GPL-3.0-only -+ -+# -+# CMake module to search for the cmark library -+# -+ -+# first try to find cmark-config.cmake -+# path to a file not in the search path can be set with 'cmake -Dcmark_DIR=some/path/' -+find_package(cmark CONFIG QUIET) -+if(cmark_FOUND AND TARGET cmark::cmark) -+ # found it! -+ return() -+endif() -+ -+find_package(PkgConfig QUIET) -+if(PKG_CONFIG_FOUND) -+ pkg_check_modules(PC_CMARK QUIET cmark) -+endif() -+ -+if(NOT CMARK_INCLUDE_DIR) -+ find_path(CMARK_INCLUDE_DIR -+ NAMES cmark.h -+ PATHS -+ ${PC_CMARK_INCLUDEDIR} -+ ${PC_CMARK_INCLUDE_DIRS} -+ /usr/include -+ /usr/local/include) -+endif() -+ -+if(NOT CMARK_LIBRARY) -+ find_library(CMARK_LIBRARY -+ NAMES cmark -+ HINTS -+ ${PC_CMARK_LIBDIR} -+ ${PC_CMARK_LIBRARY_DIRS} -+ /usr/lib -+ /usr/local/lib) -+endif() -+ -+if(NOT TARGET cmark::cmark) -+ add_library(cmark::cmark UNKNOWN IMPORTED) -+ set_target_properties(cmark::cmark -+ PROPERTIES INTERFACE_INCLUDE_DIRECTORIES -+ ${CMARK_INCLUDE_DIR}) -+ set_property(TARGET cmark::cmark APPEND -+ PROPERTY IMPORTED_LOCATION ${CMARK_LIBRARY}) -+endif() -+ -+include(FindPackageHandleStandardArgs) -+find_package_handle_standard_args(cmark -+ DEFAULT_MSG -+ CMARK_INCLUDE_DIR -+ CMARK_LIBRARY) -+ -+mark_as_advanced(CMARK_LIBRARY CMARK_INCLUDE_DIR) -+ -+set(CMARK_LIBRARIES ${CMARK_LIBRARY}) -+set(CMARK_INCLUDE_DIRS ${CMARK_INCLUDE_DIR}) --- -2.39.0 - diff --git a/anda/games/prismlauncher-nightly/anda.hcl b/anda/games/prismlauncher-nightly/anda.hcl index 061a1307db..fdc18bbc52 100644 --- a/anda/games/prismlauncher-nightly/anda.hcl +++ b/anda/games/prismlauncher-nightly/anda.hcl @@ -1,7 +1,7 @@ project pkg { rpm { spec = "prismlauncher-nightly.spec" - extra_repos = ["https://packages.adoptium.net/artifactory/rpm/fedora/\\$releasever/\\$basearch"] + extra_repos = ["https://packages.adoptium.net/artifactory/rpm/fedora/rawhide/\\$basearch"] } labels { nightly = 1 diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 887a526449..e661bbc430 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -3,10 +3,10 @@ %global name_pretty %{quote:Prism Launcher (Nightly)} %global appid org.prismlauncher.PrismLauncher-nightly -%global commit b518259f579791b857def9c152cde8ad29c1872f +%global commit 4f58197edb50eeef29438378671f764e62144f80 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260309 +%global commit_date 20260506 %global snapshot_info %{commit_date}.%{shortcommit} # Change this variables if you want to use custom keys @@ -20,13 +20,12 @@ %global build_platform terra Name: prismlauncher-nightly -Version: 11.0^%{snapshot_info} +Version: 12.0^%{snapshot_info} Release: 1%{?dist} Summary: Minecraft launcher with ability to manage multiple instances License: GPL-3.0-only AND Apache-2.0 AND LGPL-3.0-only AND GPL-3.0-or-later AND GPL-2.0-or-later AND ISC AND OFL-1.1 AND LGPL-2.1-only AND MIT AND BSD-2-Clause-FreeBSD AND BSD-3-Clause AND LGPL-3.0-or-later Group: Amusements/Games URL: https://prismlauncher.org/ -Patch0: 0001-find-cmark-with-pkgconfig.patch Source2: nightly.xml BuildRequires: cmake >= 3.15 @@ -38,16 +37,12 @@ BuildRequires: terra-appstream-helper # Make sure you have Adoptium's repositories enabled # https://fedoraproject.org/wiki/Changes/ThirdPartyLegacyJdks # https://adoptium.net/installation/linux/#_centosrhelfedora_instructions -%if 0%{?fedora} > 41 BuildRequires: temurin-17-jdk -%else -BuildRequires: java-17-openjdk-devel -%endif BuildRequires: anda-srpm-macros BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: tomlplusplus-devel -BuildRequires: cmake(ghc_filesystem) +BuildRequires: vulkan-headers BuildRequires: pkgconfig(libqrencode) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(gamemode) @@ -60,8 +55,6 @@ BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{min_qt_version} BuildRequires: cmake(Qt%{qt_version}Xml) >= %{min_qt_version} BuildRequires: cmake(Qt%{qt_version}NetworkAuth) >= %{min_qt_version} -BuildRequires: cmake(Qt6Core5Compat) - BuildRequires: pkgconfig(libcmark) BuildRequires: pkgconfig(scdoc) BuildRequires: pkgconfig(zlib) @@ -72,11 +65,6 @@ Requires(postun): desktop-file-utils Requires: qt%{qt_version}-qtimageformats Requires: qt%{qt_version}-qtsvg Requires: javapackages-filesystem -# See note above -%if 0%{?fedora} && 0%{?fedora} < 42 -Recommends: java-17-openjdk -Suggests: java-1.8.0-openjdk -%endif # xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128 Recommends: xrandr @@ -97,13 +85,11 @@ multiple installations of Minecraft at once (Fork of MultiMC) %prep %git_clone https://github.com/%{nice_name}/%{nice_name}.git %{commit} -rm -rf libraries/{extra-cmake-modules,zlib}/ - # Do not set RPATH sed -i "s|\$ORIGIN/||" CMakeLists.txt -%build +%conf %cmake \ -DLauncher_QT_VERSION_MAJOR="%{qt_version}" \ -DLauncher_BUILD_PLATFORM="%{build_platform}" \ @@ -116,8 +102,12 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt %if "%{curseforge_key}" != "default" -DLauncher_CURSEFORGE_API_KEY="%{curseforge_key}" \ %endif - -DBUILD_TESTING=OFF - + -DBUILD_TESTING=OFF \ +%if 0%{?fedora} > 43 + -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=sfinae-incomplete" +%endif + +%build %cmake_build @@ -143,7 +133,7 @@ rm -f %{buildroot}%{_datadir}/metainfo/org.prismlauncher.PrismLauncher.metainfo. %{_metainfodir}/%{appid}.metainfo.xml %{_scalableiconsdir}/org.prismlauncher.PrismLauncher.svg %{_hicolordir}/256x256/apps/org.prismlauncher.PrismLauncher.png -%{_datadir}/mime/packages/modrinth-mrpack-mime.xml +%{_datadir}/mime/packages/org.prismlauncher.PrismLauncher.xml %{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories %{_mandir}/man?/prismlauncher.* diff --git a/anda/games/prismlauncher/anda.hcl b/anda/games/prismlauncher/anda.hcl index 3a35d4fe52..fc4ef0f47c 100644 --- a/anda/games/prismlauncher/anda.hcl +++ b/anda/games/prismlauncher/anda.hcl @@ -1,7 +1,7 @@ project pkg { rpm { spec = "prismlauncher.spec" - extra_repos = ["https://packages.adoptium.net/artifactory/rpm/fedora/\\$releasever/\\$basearch"] + extra_repos = ["https://packages.adoptium.net/artifactory/rpm/fedora/rawhide/\\$basearch"] } labels { mock = 1 diff --git a/anda/games/prismlauncher/prismlauncher.spec b/anda/games/prismlauncher/prismlauncher.spec index 4c7cff5acf..8afe76fe12 100644 --- a/anda/games/prismlauncher/prismlauncher.spec +++ b/anda/games/prismlauncher/prismlauncher.spec @@ -13,8 +13,8 @@ %global build_platform terra Name: prismlauncher -Version: 10.0.5 -Release: 1%?dist +Version: 11.0.2 +Release: 2%{?dist} Summary: Minecraft launcher with ability to manage multiple instances # see COPYING.md for more information # each file in the source also contains a SPDX-License-Identifier header that declares its license @@ -31,15 +31,10 @@ BuildRequires: gcc-c++ # Make sure you have Adoptium's repositories enabled # https://fedoraproject.org/wiki/Changes/ThirdPartyLegacyJdks # https://adoptium.net/installation/linux/#_centosrhelfedora_instructions -%if 0%{?fedora} > 41 BuildRequires: temurin-17-jdk -%else -BuildRequires: java-17-openjdk-devel -%endif BuildRequires: anda-srpm-macros BuildRequires: desktop-file-utils BuildRequires: libappstream-glib -BuildRequires: cmake(ghc_filesystem) BuildRequires: cmake(Qt%{qt_version}Concurrent) >= %{min_qt_version} BuildRequires: cmake(Qt%{qt_version}Core) >= %{min_qt_version} BuildRequires: cmake(Qt%{qt_version}Gui) >= %{min_qt_version} @@ -49,12 +44,11 @@ BuildRequires: cmake(Qt%{qt_version}Widgets) >= %{min_qt_version} BuildRequires: cmake(Qt%{qt_version}Xml) >= %{min_qt_version} BuildRequires: cmake(Qt%{qt_version}NetworkAuth) >= %{min_qt_version} BuildRequires: tomlplusplus-devel +BuildRequires: vulkan-headers BuildRequires: pkgconfig(libqrencode) BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(gamemode) -BuildRequires: cmake(Qt6Core5Compat) - BuildRequires: pkgconfig(libcmark) BuildRequires: pkgconfig(scdoc) BuildRequires: pkgconfig(zlib) @@ -65,12 +59,7 @@ Requires(postun): desktop-file-utils Requires: qt%{qt_version}-qtimageformats Requires: qt%{qt_version}-qtsvg Requires: javapackages-filesystem -Recommends: java-21-openjdk -# See note above -%if 0%{?fedora} && 0%{?fedora} < 42 -Recommends: java-17-openjdk -Suggests: java-1.8.0-openjdk -%endif +Recommends: java-25-openjdk # xrandr needed for LWJGL [2.9.2, 3) https://github.com/LWJGL/lwjgl/issues/128 Recommends: xrandr @@ -90,13 +79,10 @@ multiple installations of Minecraft at once (Fork of MultiMC) %prep %autosetup -n PrismLauncher-%{version} -rm -rf libraries/{extra-cmake-modules,filesystem,zlib} - # Do not set RPATH sed -i "s|\$ORIGIN/||" CMakeLists.txt - -%build +%conf %cmake \ -DLauncher_QT_VERSION_MAJOR="%{qt_version}" \ -DLauncher_BUILD_PLATFORM="%{build_platform}" \ @@ -109,8 +95,12 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt %if "%{curseforge_key}" != "default" -DLauncher_CURSEFORGE_API_KEY="%{curseforge_key}" \ %endif - -DBUILD_TESTING=OFF + -DBUILD_TESTING=OFF \ +%if 0%{?fedora} > 43 + -DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-error=sfinae-incomplete" +%endif +%build %cmake_build @@ -134,7 +124,7 @@ sed -i "s|\$ORIGIN/||" CMakeLists.txt %{_appsdir}/org.prismlauncher.PrismLauncher.desktop %{_scalableiconsdir}/org.prismlauncher.PrismLauncher.svg %{_hicolordir}/256x256/apps/org.prismlauncher.PrismLauncher.png -%{_datadir}/mime/packages/modrinth-mrpack-mime.xml +%{_datadir}/mime/packages/org.prismlauncher.PrismLauncher.xml %{_datadir}/qlogging-categories%{qt_version}/prismlauncher.categories %{_mandir}/man?/prismlauncher.* %{_metainfodir}/org.prismlauncher.PrismLauncher.metainfo.xml diff --git a/anda/games/protonplus/anda.hcl b/anda/games/protonplus/anda.hcl new file mode 100644 index 0000000000..a199943121 --- /dev/null +++ b/anda/games/protonplus/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "protonplus.spec" + } +} diff --git a/anda/games/protonplus/protonplus.spec b/anda/games/protonplus/protonplus.spec new file mode 100644 index 0000000000..0f1c31c546 --- /dev/null +++ b/anda/games/protonplus/protonplus.spec @@ -0,0 +1,56 @@ +%define appid com.vysp3r.ProtonPlus + +Name: protonplus +Version: 0.5.20 +Release: 1%{?dist} +Summary: A modern compatibility tools manager +License: GPL-3.0-or-later +URL: https://github.com/Vysp3r/ProtonPlus +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +Packager: Owen Zimmerman + +BuildRequires: meson +BuildRequires: ninja-build +BuildRequires: gcc +BuildRequires: vala +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(libadwaita-1) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libsoup-3.0) +BuildRequires: pkgconfig(gee-0.8) +BuildRequires: pkgconfig(libarchive) +BuildRequires: desktop-file-utils + +Provides: ProtonPlus + +%description +ProtonPlus is a modern compatibility tools manager for Linux. +It allows you to easily manage and update various compatibility +tools like Proton, Wine, DXVK, and VKD3D across different launchers. + +%prep +%autosetup -n ProtonPlus-%{version} + +%conf +%meson + +%build +%meson_build + +%install +%meson_install + +%find_lang %{appid} + +%files -f %{appid}.lang +%doc README.md CODE_OF_CONDUCT.md CONTRIBUTING.md SECURITY.md +%license LICENSE.md +%{_bindir}/protonplus +%{_metainfodir}/%{appid}.metainfo.xml +%{_appsdir}/%{appid}.desktop +%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml +%{_hicolordir}/*/apps/%{appid}.png + +%changelog +* Mon May 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/games/protonplus/update.rhai b/anda/games/protonplus/update.rhai new file mode 100644 index 0000000000..6f494c1fc0 --- /dev/null +++ b/anda/games/protonplus/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Vysp3r/ProtonPlus")); diff --git a/anda/games/rom-properties/anda.hcl b/anda/games/rom-properties/anda.hcl new file mode 100644 index 0000000000..28bc44a710 --- /dev/null +++ b/anda/games/rom-properties/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "rom-properties.spec" + } +} diff --git a/anda/games/rom-properties/rom-properties.spec b/anda/games/rom-properties/rom-properties.spec new file mode 100644 index 0000000000..51a4f0790b --- /dev/null +++ b/anda/games/rom-properties/rom-properties.spec @@ -0,0 +1,199 @@ +Name: rom-properties +Version: 2.7.1 +Release: 1%{?dist} +Summary: File browser extension for managing video game ROM and disc images +License: GPL-2.0-only +URL: https://github.com/GerbilSoft/%{name} +Packager: Kyle Gospodnetich + +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: pkgconf +BuildRequires: gettext-devel +BuildRequires: libseccomp-devel +BuildRequires: libcurl-devel +BuildRequires: nettle-devel +BuildRequires: zlib-devel +BuildRequires: lz4-devel +BuildRequires: lzo-devel +BuildRequires: libzstd-devel +BuildRequires: tinyxml2-devel +BuildRequires: libpng-devel +BuildRequires: libjpeg-turbo-devel +BuildRequires: pugixml-devel +BuildRequires: qt5-qtbase-devel +BuildRequires: qt6-qtbase-devel +BuildRequires: qt6-qttools +BuildRequires: extra-cmake-modules +BuildRequires: kf6-kio-devel +BuildRequires: kf6-kwidgetsaddons-devel +BuildRequires: kf6-kfilemetadata-devel +BuildRequires: kf6-kcrash-devel +BuildRequires: glib2-devel +BuildRequires: gtk4-devel +BuildRequires: gdk-pixbuf2-devel +BuildRequires: nautilus-devel +BuildRequires: cairo-devel +BuildRequires: gsound-devel +BuildRequires: gtk3-devel + +Requires: %{name}-common = %{version}-%{release} +Recommends: %{name}-utils = %{version}-%{release} +Recommends: lz4 +Recommends: lzo + +%description +This shell extension adds a few nice features to file browsers for managing +video game ROM and disc images. + +%prep +%autosetup -p1 -n %{name}-%{version} + +%build +%cmake \ + -DBUILD_GTK3=ON \ + -DBUILD_GTK4=ON \ + -DBUILD_KDE4=OFF \ + -DBUILD_KF5=OFF \ + -DBUILD_KF6=ON \ + -DBUILD_XFCE=OFF \ + -DSPLIT_DEBUG=OFF \ + -DUSE_INTERNAL_XML=OFF +%cmake_build + +%install +%cmake_install + +%files +%{_defaultdocdir}/%{name}/ +%{_libdir}/libromdata.* + +%package cli +Summary: CLI tools for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description cli +Command-line interface tools for rom-properties. + +%files cli +%{_bindir}/rpcli + +%package common +Summary: Common files for rom-properties +BuildArch: noarch + +%description common +Common files for rom-properties. + +%files common +%{_datadir}/%{name}/amiibo-data.bin +%{_datadir}/applications/com.gerbilsoft.rom-properties.rp-config.desktop +%{_datadir}/metainfo/com.gerbilsoft.rom-properties.metainfo.xml +%{_datadir}/mime/packages/rom-properties.xml +%{_datadir}/locale/*/LC_MESSAGES/rom-properties.mo + +%package gtk4 +Summary: GTK4 integration for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} +Recommends: %{name}-localsearch3 = %{version}-%{release} + +%description gtk4 +GNOME/Nautilus file manager integration for rom-properties. + +%files gtk4 +%{_libdir}/nautilus/extensions-4/rom-properties-gtk4.so + +%package gtk3 +Summary: GTK3 integration for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description gtk3 +GTK3 file manager integration for rom-properties. Provides extensions +for Nautilus, Caja, Nemo, and Thunar. + +%files gtk3 +%{_libdir}/nautilus/extensions-3.0/rom-properties-gtk3.so +%{_libdir}/caja/extensions-2.0/rom-properties-gtk3.so +%{_datadir}/caja/extensions/rom-properties-gtk3.caja-extension +%{_libdir}/nemo/extensions-3.0/rom-properties-gtk3.so +%{_libdir}/thunarx-3/rom-properties-gtk3.so + +%package kf6 +Summary: KDE6 integration for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description kf6 +KDE Plasma 6 file manager integration for rom-properties. + +%files kf6 +%{_datadir}/kio/servicemenus/rp-convert-to-png.desktop +%{_libdir}/qt6/plugins/kf6/propertiesdialog/xattrview-kf6.so +%{_libdir}/qt6/plugins/kf6/kfilemetadata/kfilemetadata_rom-properties-kf6.so +%{_libdir}/qt6/plugins/kf6/overlayicon/overlayiconplugin_rom-properties-kf6.so +%{_libdir}/qt6/plugins/kf6/propertiesdialog/rom-properties-kf6.so +%{_libdir}/qt6/plugins/kf6/thumbcreator/RomThumbnailCreator-kf6.so + +%package utils +Summary: Utilities for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description utils +Utility programs for rom-properties including the thumbnail generator +and configuration tool. + +%files utils +%{_libexecdir}/rp-download +%{_libexecdir}/rp-thumbnail +%{_datadir}/thumbnailers/rom-properties.thumbnailer +%{_bindir}/rp-stub +%{_bindir}/rp-config + +%package localsearch3 +Summary: GNOME localsearch3 integration for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description localsearch3 +GNOME localsearch 3.0 extract modules for rom-properties, providing +full-text search integration for ROM and disc image metadata. + +%files localsearch3 +%{_libdir}/localsearch-3.0/extract-modules/libextract-rom-properties.so +%{_datadir}/localsearch3/extract-rules/14-rp-application-packages.rule +%{_datadir}/localsearch3/extract-rules/14-rp-audio.rule +%{_datadir}/localsearch3/extract-rules/14-rp-banners.rule +%{_datadir}/localsearch3/extract-rules/14-rp-cd-images.rule +%{_datadir}/localsearch3/extract-rules/14-rp-disk-images.rule +%{_datadir}/localsearch3/extract-rules/14-rp-executables.rule +%{_datadir}/localsearch3/extract-rules/14-rp-rom-images.rule +%{_datadir}/localsearch3/extract-rules/14-rp-save-files.rule +%{_datadir}/localsearch3/extract-rules/14-rp-textures.rule + +%package thumbnailer-dbus +Summary: D-Bus thumbnailer service for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description thumbnailer-dbus +D-Bus specialized thumbnailer service for rom-properties. + +%files thumbnailer-dbus +%{_bindir}/rp-thumbnailer-dbus +%{_datadir}/dbus-1/services/com.gerbilsoft.rom-properties.SpecializedThumbnailer1.service +%{_datadir}/thumbnailers/com.gerbilsoft.rom-properties.SpecializedThumbnailer1.service + +%package apparmor +Summary: AppArmor profiles for rom-properties +Requires: %{name}%{?_isa} = %{version}-%{release} +BuildArch: noarch + +%description apparmor +AppArmor profiles for rom-properties utilities. + +%files apparmor +%{_sysconfdir}/apparmor.d/ + +%changelog +* Fri Apr 03 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/games/rom-properties/update.rhai b/anda/games/rom-properties/update.rhai new file mode 100644 index 0000000000..8d59fb7019 --- /dev/null +++ b/anda/games/rom-properties/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("GerbilSoft/rom-properties")); diff --git a/anda/games/rpcs3/rpcs3.spec b/anda/games/rpcs3/rpcs3.spec index c8a56ccce9..2165c4e70b 100644 --- a/anda/games/rpcs3/rpcs3.spec +++ b/anda/games/rpcs3/rpcs3.spec @@ -9,8 +9,8 @@ # GLIBCXX_ASSERTIONS is known to break RPCS3 %global build_cflags %(echo "%{__build_flags_lang_c}" | sed 's|-Wp,-D_GLIBCXX_ASSERTIONS ||g') %{?_distro_extra_cflags} %global build_cxxflags %(echo "%{__build_flags_lang_cxx}" | sed 's|-Wp,-D_GLIBCXX_ASSERTIONS ||g') %{?_distro_extra_cflags} -%global commit 65320446f019281ed44d240f86b9b9771b2e7e83 -%global ver 0.0.40-18918 +%global commit 026297334f28500c8cbf6a5f48f395196700d6d7 +%global ver 0.0.40-19335 Name: rpcs3 Version: %(echo %{ver} | sed 's/-/^/g') @@ -21,6 +21,7 @@ URL: https://github.com/RPCS3/rpcs3 Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz BuildRequires: anda-srpm-macros glew openal-soft cmake vulkan-validation-layers git-core mold BuildRequires: llvm%{?llvm_major}-devel +# Looking at the CMakeLists.txt, this is the intended compiler and there are no fixes for GCC on aarch64 BuildRequires: clang%{?llvm_major} BuildRequires: cmake(FAudio) BuildRequires: cmake(OpenAL) @@ -64,8 +65,7 @@ BuildRequires: qt6-qtbase-private-devel vulkan-devel jack-audio-connection-kit- %prep %git_clone %url %commit -%build -# Looking at the CMakeLists.txt, this is the intended compiler and there are no fixes for GCC on aarch64 +%conf %if %{defined llvm_major} export LLVM_DIR=%{_libdir}/llvm%{?llvm_major}/%{_lib}/cmake %endif @@ -95,7 +95,9 @@ export LLVM_DIR=%{_libdir}/llvm%{?llvm_major}/%{_lib}/cmake -DCMAKE_CXX_COMPILER="$CXX" \ -DCMAKE_LINKER=mold \ -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" \ - -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" + -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" + +%build %cmake_build %install diff --git a/anda/games/steam/steam.spec b/anda/games/steam/steam.spec index bc423ccb40..5e7e8b73e2 100644 --- a/anda/games/steam/steam.spec +++ b/anda/games/steam/steam.spec @@ -5,7 +5,7 @@ Name: steam Version: 1.0.0.85 -Release: 3%?dist +Release: 7%{?dist} Summary: Installer for the Steam software distribution service # Redistribution and repackaging for Linux is allowed, see license file. udev rules are MIT. License: Steam License Agreement and MIT @@ -177,7 +177,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appstream_id}.metainfo.xml %if 0%{?fedora} >= 44 -%post +%triggerin -- ca-certificates # Workaround for https://fedoraproject.org/wiki/Changes/droppingOfCertPemFile#Temporary_fix update-ca-trust extract --rhbz2387674 %endif diff --git a/anda/games/steamos-manager-powerstation/anda.hcl b/anda/games/steamos-manager-powerstation/anda.hcl new file mode 100644 index 0000000000..654ab9ce40 --- /dev/null +++ b/anda/games/steamos-manager-powerstation/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "steamos-manager-powerstation.spec" + } +} diff --git a/anda/games/steamos-manager-powerstation/steamos-manager-powerstation.spec b/anda/games/steamos-manager-powerstation/steamos-manager-powerstation.spec new file mode 100644 index 0000000000..c0578c4844 --- /dev/null +++ b/anda/games/steamos-manager-powerstation/steamos-manager-powerstation.spec @@ -0,0 +1,114 @@ +%global commit 7b4d0f49351a60d1f93d48f081b4c0e35e10fa6d +%global shortcommit %{sub %{commit} 0 7} +%global commitdate 20260325 + +Name: steamos-manager-powerstation +Version: 0~%{commitdate}.git%{shortcommit} +Release: 3%{?dist} +Summary: SteamOS Manager is a system daemon that aims to abstract Steam's interactions with the operating system +License: MIT AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (Apache-2.0 OR BSL-1.0) AND Apache-2.0 OR MIT AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND ISC AND (LGPL-2.1 OR MIT OR Apache-2.0) AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) +URL: https://github.com/OpenGamingCollective/steamos-manager +Source0: %{url}/archive/%{commit}.tar.gz +Source1: steamos_manager.te +Source2: steamos_manager.if +Source3: steamos_manager.fc +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros +BuildRequires: clang-devel +BuildRequires: rust +BuildRequires: mold +BuildRequires: glib2-devel +BuildRequires: speech-dispatcher-devel +BuildRequires: pkgconfig(libudev) +BuildRequires: selinux-policy-devel +Packager: Kyle Gospodnetich + +Provides: steamos-manager +Conflicts: steamos-manager +Requires: powerstation +Requires: gamescope-session-ogui-steam +Requires: selinux-policy +Requires(post): policycoreutils +Requires(postun): policycoreutils + +%description +SteamOS Manager is a system daemon that aims to abstract Steam's interactions +with the operating system. The goal is to have a standardized interface so that +SteamOS specific features in the Steam client, e.g. TDP management, can be +exposed in any Linux distro that provides an implementation of this DBus API. +This version has been patched with additional compatibility with powerstation +and OGC gamescope-sessions. + +%package gamescope-session-plus +Summary: Compatibility symlink service for starting steamos-manager on gamescope-session-plus +Requires: %{name} = %{evr} + +%description gamescope-session-plus +%summary. + +%prep +%autosetup -n steamos-manager-%{commit} +install -Dp -m644 -t data/selinux %{SOURCE1} %{SOURCE2} %{SOURCE3} +%cargo_prep_online + +%build +%cargo_build +make -f /usr/share/selinux/devel/Makefile -C data/selinux steamos_manager.pp + +%install +%{cargo_license_online -a} > LICENSE.dependencies +%make_install +rm %{buildroot}%{_unitdir}/sddm.service.d/reset-oneshot-boot.conf # steamOS specific +rm %{buildroot}%{_userunitdir}/orca.service # not used by anyone apparently, steamOS specific(?) +install -D -m644 data/selinux/steamos_manager.pp %{buildroot}%{_datadir}/selinux/packages/steamos_manager.pp +install -d %{buildroot}%{_userunitdir}/gamescope-session-plus.service.wants/steamos-manager.service +ln -s %{_userunitdir}/steamos-manager.service %{buildroot}%{_userunitdir}/gamescope-session-plus.service.wants/steamos-manager.service + +%post +%systemd_post steamos-manager.service +%systemd_user_post steamos-manager.service +%systemd_user_post steamos-manager-configure-cecd.service +%systemd_user_post steamos-manager-session-cleanup.service +semodule -i %{_datadir}/selinux/packages/steamos_manager.pp 2>/dev/null || : +restorecon -R /usr/lib/steamos-manager /usr/bin/steamosctl /usr/share/steamos-manager /etc/steamos-manager 2>/dev/null || : + +%preun +%systemd_preun steamos-manager.service +%systemd_user_preun steamos-manager.service +%systemd_user_preun steamos-manager-configure-cecd.service +%systemd_user_preun steamos-manager-session-cleanup.service + +%postun +%systemd_postun_with_restart steamos-manager.service +%systemd_user_postun steamos-manager.service +%systemd_user_postun steamos-manager-configure-cecd.service +%systemd_user_postun steamos-manager-session-cleanup.service +if [ $1 -eq 0 ]; then + semodule -r steamos_manager 2>/dev/null || : +fi + +%files +%license %{_datadir}/licenses/steamos-manager/LICENSE +%license LICENSE.dependencies +%doc README.md +%{_bindir}/steamosctl +#{_datadir}/dbus-1/interfaces/com.steampowered.SteamOSManager1.Manager.xml +%{_datadir}/dbus-1/interfaces/com.steampowered.SteamOSManager1.xml +%{_datadir}/dbus-1/services/com.steampowered.SteamOSManager1.service +%{_datadir}/dbus-1/system.d/com.steampowered.SteamOSManager1.conf +%{_datadir}/dbus-1/system-services/com.steampowered.SteamOSManager1.service +%{_datadir}/steamos-manager/devices/*.toml +%{_datadir}/steamos-manager/platform.toml +%{_prefix}/lib/steamos-manager +%{_unitdir}/steamos-manager.service +%{_userunitdir}/steamos-manager.service +%{_userunitdir}/steamos-manager-configure-cecd.service +%{_userunitdir}/steamos-manager-session-cleanup.service +%{_datadir}/selinux/packages/steamos_manager.pp + +%files gamescope-session-plus +%{_userunitdir}/gamescope-session-plus.service.wants/steamos-manager.service + +%changelog +* Wed Mar 18 2026 Kyle Gospodnetich - 26.0.1-1 +- Intial Commit diff --git a/anda/games/steamos-manager-powerstation/steamos_manager.fc b/anda/games/steamos-manager-powerstation/steamos_manager.fc new file mode 100644 index 0000000000..cc11e34e07 --- /dev/null +++ b/anda/games/steamos-manager-powerstation/steamos_manager.fc @@ -0,0 +1,13 @@ +# steamos-manager SELinux file contexts + +# Daemon binary +/usr/lib/steamos-manager -- gen_context(system_u:object_r:steamos_manager_exec_t,s0) + +# CLI tool +/usr/bin/steamosctl -- gen_context(system_u:object_r:steamos_manager_exec_t,s0) + +# Data directory +/usr/share/steamos-manager(/.*)? gen_context(system_u:object_r:steamos_manager_data_t,s0) + +# Configuration directory +/etc/steamos-manager(/.*)? gen_context(system_u:object_r:steamos_manager_conf_t,s0) diff --git a/anda/games/steamos-manager-powerstation/steamos_manager.if b/anda/games/steamos-manager-powerstation/steamos_manager.if new file mode 100644 index 0000000000..bb44dae7cf --- /dev/null +++ b/anda/games/steamos-manager-powerstation/steamos_manager.if @@ -0,0 +1,20 @@ +## policy for steamos_manager + +######################################## +## +## Execute steamos_manager in the steamos_manager domain. +## +## +## +## Domain allowed to transition. +## +## +# +interface(`steamos_manager_domtrans',` + gen_require(` + type steamos_manager_t, steamos_manager_exec_t; + ') + + corecmd_search_bin($1) + domtrans_pattern($1, steamos_manager_exec_t, steamos_manager_t) +') diff --git a/anda/games/steamos-manager-powerstation/steamos_manager.te b/anda/games/steamos-manager-powerstation/steamos_manager.te new file mode 100644 index 0000000000..6a4cf229c2 --- /dev/null +++ b/anda/games/steamos-manager-powerstation/steamos_manager.te @@ -0,0 +1,194 @@ +policy_module(steamos_manager, 1.0.0) + +######################################## +# Init +######################################## + +type steamos_manager_t; +type steamos_manager_exec_t; +type steamos_manager_data_t; +type steamos_manager_conf_t; + +# Mark as a domain and entry point +init_daemon_domain(steamos_manager_t, steamos_manager_exec_t) + +# Mark data and config as file types +files_type(steamos_manager_data_t) +files_config_file(steamos_manager_conf_t) + +# Allow systemd to manage the service (start/stop/status) +init_dbus_chat(steamos_manager_t) + +######################################## +# Process permissions +######################################## + +# Standard process operations +allow steamos_manager_t self:process { signal signull getsched setsched }; + +# Forking for script execution +allow steamos_manager_t self:fifo_file { read write getattr }; + +# Notify socket for Type=notify-reload (sd_notify) +init_dgram_send(steamos_manager_t) + +######################################## +# DBus access +######################################## + +dbus_system_bus_client(steamos_manager_t) +dbus_session_bus_client(steamos_manager_t) +dbus_connect_system_bus(steamos_manager_t) +dbus_connect_session_bus(steamos_manager_t) + +# Own the service name +allow steamos_manager_t self:dbus { send_msg acquire_svc }; + +# Talk to systemd +optional_policy(` + systemd_dbus_chat_logind(steamos_manager_t) +') + +######################################## +# Sysfs access (hardware management) +######################################## + +# Read/write sysfs for TDP, GPU, backlight, power_supply, CPU scaling, +# hwmon, firmware-attributes, platform-profile, hidraw, drm, DMI +dev_read_sysfs(steamos_manager_t) +dev_rw_sysfs(steamos_manager_t) + +######################################## +# Procfs access +######################################## + +# Read /proc/cpuinfo +kernel_read_system_state(steamos_manager_t) + +# Read /proc/{pid}/comm, environ, stat, fd/ for display sleep inhibition +domain_read_all_domains_state(steamos_manager_t) + +######################################## +# Tracefs and debugfs +######################################## + +# ftrace access: /sys/kernel/tracing/instances/steamos-manager/ +# debugfs access: /sys/kernel/debug/ath11k/ +kernel_read_debugfs(steamos_manager_t) +kernel_manage_debugfs(steamos_manager_t) + +######################################## +# Device access +######################################## + +# /dev/uinput — virtual input devices +optional_policy(` + gen_require(` + type uinput_device_t; + ') + allow steamos_manager_t uinput_device_t:chr_file { open read write ioctl getattr }; +') + +# /dev/hidraw* — DualSense controller inhibitor +optional_policy(` + gen_require(` + type hidraw_device_t; + ') + allow steamos_manager_t hidraw_device_t:chr_file { open read write getattr ioctl }; +') + +# /dev/input/event* — inputplumber +dev_rw_input_dev(steamos_manager_t) + +# Udev events via netlink socket +allow steamos_manager_t self:netlink_kobject_uevent_socket { create bind getattr read setopt }; + +# Watch /dev/ directory via inotify for device creation +dev_list_all_dev_nodes(steamos_manager_t) +allow steamos_manager_t device_t:dir { watch }; + +######################################## +# Configuration & Data Files +######################################## + +# Data Files +allow steamos_manager_t steamos_manager_data_t:dir list_dir_perms; +allow steamos_manager_t steamos_manager_data_t:file read_file_perms; + +# Config files +allow steamos_manager_t steamos_manager_conf_t:dir list_dir_perms; +allow steamos_manager_t steamos_manager_conf_t:file read_file_perms; + +######################################## +# System configuration writes +######################################## + +# /etc/sddm.conf.d/, /etc/NetworkManager/conf.d/ +allow steamos_manager_t etc_t:dir { add_name remove_name write search create }; +allow steamos_manager_t etc_t:file { create write unlink open getattr rename }; + +# /etc/systemd/system/iwd.service.d/ +optional_policy(` + systemd_manage_all_unit_files(steamos_manager_t) +') + +######################################## +# User state and runtime files +######################################## + +# XDG_STATE_HOME +userdom_manage_user_home_content_files(steamos_manager_t) +userdom_manage_user_home_content_dirs(steamos_manager_t) + +# XDG_RUNTIME_DIR +# XDG_CONFIG_HOME +userdom_manage_user_tmp_dirs(steamos_manager_t) +userdom_manage_user_tmp_files(steamos_manager_t) + +# /usr/share/wayland-sessions/ and /usr/share/xsessions/ +files_read_usr_files(steamos_manager_t) + +# /tmp/ +files_manage_generic_tmp_files(steamos_manager_t) +files_tmp_filetrans(steamos_manager_t, tmp_t, file) + +# /var/lib/steamos-log-submitter/data/ +files_search_var_lib(steamos_manager_t) +files_manage_var_lib_files(steamos_manager_t) +files_manage_var_lib_dirs(steamos_manager_t) + +######################################## +# External command execution +######################################## + +# Execute system binaries +corecmd_exec_bin(steamos_manager_t) +corecmd_exec_shell(steamos_manager_t) + +# Execute libraries/scripts under /usr/lib/ paths +libs_exec_lib_files(steamos_manager_t) + +######################################## +# Network and IPC +######################################## + +# Unix domain sockets for DBus +allow steamos_manager_t self:unix_stream_socket { create connect read write getattr shutdown }; +allow steamos_manager_t self:unix_dgram_socket { create connect read write getattr sendto }; + +# Speech-dispatcher and dconf-service connections +corenet_tcp_connect_all_ports(steamos_manager_t) + +######################################## +# Logging +######################################## + +logging_send_syslog_msg(steamos_manager_t) + +######################################## +# Miscellaneous +######################################## + +# Read locale and system state +miscfiles_read_localization(steamos_manager_t) +kernel_read_kernel_sysctls(steamos_manager_t) diff --git a/anda/games/steamos-manager-powerstation/update.rhai b/anda/games/steamos-manager-powerstation/update.rhai new file mode 100644 index 0000000000..d3b859cf52 --- /dev/null +++ b/anda/games/steamos-manager-powerstation/update.rhai @@ -0,0 +1,6 @@ +rpm.global("commit", get("https://api.github.com/repos/OpenGamingCollective/steamos-manager/commits/dev").json().sha); +if rpm.changed() { + rpm.global("ver", gh("OpenGamingCollective/steamos-manager")); + rpm.global("commit_date", date()); + rpm.release(); +} diff --git a/anda/games/steamos-manager/steamos-manager.spec b/anda/games/steamos-manager/steamos-manager.spec index c6b076f4be..a4d65309f6 100644 --- a/anda/games/steamos-manager/steamos-manager.spec +++ b/anda/games/steamos-manager/steamos-manager.spec @@ -1,6 +1,6 @@ Name: steamos-manager -Version: 26.0.1 -Release: 1%?dist +Version: 26.1.0 +Release: 1%{?dist} Summary: SteamOS Manager is a system daemon that aims to abstract Steam's interactions with the operating system. License: MIT AND (MIT OR Apache-2.0) AND Unicode-3.0 AND Apache-2.0 OR BSL-1.0 AND Apache-2.0 OR MIT AND Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT AND BSD-3-Clause OR MIT OR Apache-2.0 AND ISC AND LGPL-2.1 OR MIT OR Apache-2.0 AND MIT AND MIT OR Apache-2.0 AND MIT OR Apache-2.0 OR LGPL-2.1-or-later AND Unlicense OR MIT AND Zlib OR Apache-2.0 OR MIT URL: https://gitlab.steamos.cloud/holo/steamos-manager diff --git a/anda/games/terra-gamescope/0002-wlroots-libinput-switch-keypad-slide.patch b/anda/games/terra-gamescope/0002-wlroots-libinput-switch-keypad-slide.patch new file mode 100644 index 0000000000..4910d582cf --- /dev/null +++ b/anda/games/terra-gamescope/0002-wlroots-libinput-switch-keypad-slide.patch @@ -0,0 +1,18 @@ +From: porkloin +Subject: [PATCH] wlroots: handle LIBINPUT_SWITCH_KEYPAD_SLIDE enum in switch.c + +libinput added LIBINPUT_SWITCH_KEYPAD_SLIDE and GCC 16 on Fedora 44 +treats the unhandled enum value as -Werror=switch, breaking the build. + +diff --git a/subprojects/wlroots/backend/libinput/switch.c b/subprojects/wlroots/backend/libinput/switch.c +--- a/subprojects/wlroots/backend/libinput/switch.c ++++ b/subprojects/wlroots/backend/libinput/switch.c +@@ -34,6 +34,8 @@ void handle_switch_toggle(struct libinput_event *event, + case LIBINPUT_SWITCH_TABLET_MODE: + wlr_event.switch_type = WLR_SWITCH_TYPE_TABLET_MODE; + break; ++ case LIBINPUT_SWITCH_KEYPAD_SLIDE: ++ break; + } + switch (libinput_event_switch_get_switch_state(sevent)) { + case LIBINPUT_SWITCH_STATE_OFF: diff --git a/anda/games/terra-gamescope/Use-system-stb-glm.patch b/anda/games/terra-gamescope/Use-system-stb-glm.patch new file mode 100644 index 0000000000..f0addb676b --- /dev/null +++ b/anda/games/terra-gamescope/Use-system-stb-glm.patch @@ -0,0 +1,28 @@ +From 1a37d7113ed29ede9dcd30be16898b10464cd76e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= +Date: Wed, 28 May 2025 12:19:05 +0200 +Subject: [PATCH] Use system stb/glm + +--- + meson.build | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/meson.build b/meson.build +index c300b07..3044e54 100644 +--- a/meson.build ++++ b/meson.build +@@ -47,10 +47,8 @@ dep_x11 = dependency('x11') + dep_wayland = dependency('wayland-client') + vulkan_dep = dependency('vulkan') + +-glm_proj = subproject('glm') +-glm_dep = glm_proj.get_variable('glm_dep') +-stb_proj = subproject('stb') +-stb_dep = stb_proj.get_variable('stb_dep') ++glm_dep = dependency('glm') ++stb_dep = dependency('stb') + + if get_option('enable_openvr_support') + openvr_dep = dependency('openvr', version: '>= 2.7', required : false) +-- +2.49.0 diff --git a/anda/games/terra-gamescope/anda.hcl b/anda/games/terra-gamescope/anda.hcl index e66956b621..c01d057d11 100755 --- a/anda/games/terra-gamescope/anda.hcl +++ b/anda/games/terra-gamescope/anda.hcl @@ -5,6 +5,7 @@ project pkg { } labels { mock = 1 + nightly = 1 subrepo = "extras" } } diff --git a/anda/games/terra-gamescope/handheld.patch b/anda/games/terra-gamescope/handheld.patch deleted file mode 100755 index fcd7cb87f3..0000000000 --- a/anda/games/terra-gamescope/handheld.patch +++ /dev/null @@ -1,2050 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Fri, 22 Nov 2024 01:37:48 +0100 -Subject: [NA] add dev script - ---- - sync.sh | 21 +++++++++++++++++++++ - 1 file changed, 21 insertions(+) - create mode 100755 sync.sh - -diff --git a/sync.sh b/sync.sh -new file mode 100755 -index 000000000000..8dd5815d4aeb ---- /dev/null -+++ b/sync.sh -@@ -0,0 +1,21 @@ -+if [ -z "$1" ]; then -+ echo "Usage: $0 " -+ exit 1 -+fi -+ -+HOST=$1 -+RSYNC="rsync -rv --exclude .git --exclude venv --exclude __pycache__'" -+USER=${USER:-bazzite} -+ -+set -e -+ -+meson build/ -Dforce_fallback_for=stb,libdisplay-info,libliftoff,wlroots,vkroots -Denable_openvr_support=false -+ninja -C build/ -+scp build/src/gamescope ${HOST}:gamescope -+ -+ssh $HOST /bin/bash << EOF -+ sudo rpm-ostree usroverlay --hotfix -+ sudo mv ~/gamescope /usr/bin/gamescope -+ bazzite-session-select gamescope -+ # sudo reboot -+EOF --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Matthew Anderson -Date: Fri, 17 May 2024 21:56:55 -0500 -Subject: feat: add --custom-refresh-rates option (+ fixes) - -Commit originally by Matthew, external fixes by Kyle, and new system check -move by Antheas. - -Co-authored-by: Kyle Gospodnetich -Co-authored-by: Antheas Kapenekakis ---- - src/Backends/DRMBackend.cpp | 4 +++- - src/main.cpp | 31 +++++++++++++++++++++++++++++++ - src/main.hpp | 2 ++ - 3 files changed, 36 insertions(+), 1 deletion(-) - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index 1ec2699821f0..c8e821314dc4 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -2342,8 +2342,10 @@ namespace gamescope - } - else - { -+ if ( g_customRefreshRates.size() > 0 && GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL ) -+ m_Mutable.ValidDynamicRefreshRates = g_customRefreshRates; - // Unknown display, see if there are any other refresh rates in the EDID we can get. -- if ( GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL || cv_drm_allow_dynamic_modes_for_external_display ) -+ else if ( GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL || cv_drm_allow_dynamic_modes_for_external_display ) - { - const drmModeModeInfo *pPreferredMode = find_mode( m_pConnector.get(), 0, 0, 0 ); - -diff --git a/src/main.cpp b/src/main.cpp -index cdb35c3b2518..d63b1fe50cc6 100644 ---- a/src/main.cpp -+++ b/src/main.cpp -@@ -133,6 +133,7 @@ const struct option *gamescope_options = (struct option[]){ - { "fade-out-duration", required_argument, nullptr, 0 }, - { "force-orientation", required_argument, nullptr, 0 }, - { "force-windows-fullscreen", no_argument, nullptr, 0 }, -+ { "custom-refresh-rates", required_argument, nullptr, 0 }, - - { "disable-color-management", no_argument, nullptr, 0 }, - { "sdr-gamut-wideness", required_argument, nullptr, 0 }, -@@ -207,6 +208,7 @@ const char usage[] = - " --hdr-itm-target-nits set the target luminace of the inverse tone mapping process.\n" - " Default: 1000 nits, Max: 10000 nits\n" - " --framerate-limit Set a simple framerate limit. Used as a divisor of the refresh rate, rounds down eg 60 / 59 -> 60fps, 60 / 25 -> 30fps. Default: 0, disabled.\n" -+ " --custom-refresh-rates Set custom refresh rates for the output. eg: 60,90,110-120\n" - " --mangoapp Launch with the mangoapp (mangohud) performance overlay enabled. You should use this instead of using mangohud on the game or gamescope.\n" - " --adaptive-sync Enable adaptive sync if available (variable rate refresh)\n" - "\n" -@@ -460,6 +462,33 @@ static float parse_float(const char *str, const char *optionName) - } - } - -+std::vector g_customRefreshRates; -+// eg: 60,60,90,110-120 -+static std::vector parse_custom_refresh_rates( const char *str ) -+{ -+ std::vector rates; -+ char *token = strtok( strdup(str), ","); -+ while (token) -+ { -+ char *dash = strchr(token, '-'); -+ if (dash) -+ { -+ uint32_t start = atoi(token); -+ uint32_t end = atoi(dash + 1); -+ for (uint32_t i = start; i <= end; i++) -+ { -+ rates.push_back(i); -+ } -+ } -+ else -+ { -+ rates.push_back(atoi(token)); -+ } -+ token = strtok(nullptr, ","); -+ } -+ return rates; -+} -+ - struct sigaction handle_signal_action = {}; - - void ShutdownGamescope() -@@ -783,6 +812,8 @@ int main(int argc, char **argv) - g_eGamescopeModeGeneration = parse_gamescope_mode_generation( optarg ); - } else if (strcmp(opt_name, "force-orientation") == 0) { - g_DesiredInternalOrientation = force_orientation( optarg ); -+ } else if (strcmp(opt_name, "custom-refresh-rates") == 0) { -+ g_customRefreshRates = parse_custom_refresh_rates( optarg ); - } else if (strcmp(opt_name, "sharpness") == 0 || - strcmp(opt_name, "fsr-sharpness") == 0) { - g_upscaleFilterSharpness = parse_integer( optarg, opt_name ); -diff --git a/src/main.hpp b/src/main.hpp -index 2e6fb833af12..390c04a63ecd 100644 ---- a/src/main.hpp -+++ b/src/main.hpp -@@ -3,6 +3,7 @@ - #include - - #include -+#include - - extern const char *gamescope_optstring; - extern const struct option *gamescope_options; -@@ -28,6 +29,7 @@ extern bool g_bGrabbed; - - extern float g_mouseSensitivity; - extern const char *g_sOutputName; -+extern std::vector g_customRefreshRates; - - enum class GamescopeUpscaleFilter : uint32_t - { --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Renn <8340896+AkazaRenn@users.noreply.github.com> -Date: Fri, 11 Oct 2024 17:48:26 +0200 -Subject: fix(deck): Use super + 1/2 for Overlay/QAM - -Replaces the patch for CTRL + 1/2 for Overlay/QAM with Super + 1/2 and -allows for CTRL for a smooth transition. - -Suggested-by: Antheas Kapenekakis ---- - src/wlserver.cpp | 23 ++++++++++++++++++++++- - 1 file changed, 22 insertions(+), 1 deletion(-) - -diff --git a/src/wlserver.cpp b/src/wlserver.cpp -index 4d8546eed51f..56a9f25cd03a 100644 ---- a/src/wlserver.cpp -+++ b/src/wlserver.cpp -@@ -296,6 +296,9 @@ static void wlserver_handle_modifiers(struct wl_listener *listener, void *data) - bump_input_counter(); - } - -+// false if GS_ENABLE_CTRL_12 exists and is 0, true otherwise -+bool env_gs_enable_ctrl_12 = getenv("GS_ENABLE_CTRL_12") ? (getenv("GS_ENABLE_CTRL_12")[0] != '0') : true; -+ - static void wlserver_handle_key(struct wl_listener *listener, void *data) - { - struct wlr_keyboard *keyboard = &wlserver.keyboard_group->keyboard; -@@ -319,7 +322,14 @@ static void wlserver_handle_key(struct wl_listener *listener, void *data) - keysym == XKB_KEY_XF86AudioLowerVolume || - keysym == XKB_KEY_XF86AudioRaiseVolume || - keysym == XKB_KEY_XF86PowerOff; -- if ( ( event->state == WL_KEYBOARD_KEY_STATE_PRESSED || event->state == WL_KEYBOARD_KEY_STATE_RELEASED ) && forbidden_key ) -+ -+ // Check for steam overlay key (ctrl/super + 1/2) -+ bool is_steamshortcut = -+ ((env_gs_enable_ctrl_12 && (keyboard->modifiers.depressed & WLR_MODIFIER_CTRL)) || -+ (keyboard->modifiers.depressed & WLR_MODIFIER_LOGO)) && -+ (keysym == XKB_KEY_1 || keysym == XKB_KEY_2); -+ -+ if ( ( event->state == WL_KEYBOARD_KEY_STATE_PRESSED || event->state == WL_KEYBOARD_KEY_STATE_RELEASED ) && (forbidden_key || is_steamshortcut) ) - { - // Always send volume+/- to root server only, to avoid it reaching the game. - struct wlr_surface *old_kb_surf = wlserver.kb_focus_surface; -@@ -328,6 +338,17 @@ static void wlserver_handle_key(struct wl_listener *listener, void *data) - { - wlserver_keyboardfocus( new_kb_surf, false ); - wlr_seat_set_keyboard( wlserver.wlr.seat, keyboard ); -+ -+ if (is_steamshortcut) -+ { -+ // send ctrl down modifier to trigger the overlay -+ wlr_keyboard_modifiers ctrl_down_modifier; -+ ctrl_down_modifier.depressed = WLR_MODIFIER_CTRL; -+ ctrl_down_modifier.latched = WLR_MODIFIER_CTRL; -+ ctrl_down_modifier.locked = WLR_MODIFIER_CTRL; -+ wlr_seat_keyboard_notify_modifiers(wlserver.wlr.seat, &ctrl_down_modifier); -+ } -+ - wlr_seat_keyboard_notify_key( wlserver.wlr.seat, event->time_msec, event->keycode, event->state ); - wlserver_keyboardfocus( old_kb_surf, false ); - return; --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: honjow -Date: Wed, 16 Oct 2024 00:23:58 +0800 -Subject: fix(external): fix crash when using external touchscreens - ---- - src/wlserver.cpp | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/wlserver.cpp b/src/wlserver.cpp -index 56a9f25cd03a..4d6e8de55ba4 100644 ---- a/src/wlserver.cpp -+++ b/src/wlserver.cpp -@@ -2766,8 +2766,12 @@ static void apply_touchscreen_orientation(double *x, double *y ) - double tx = 0; - double ty = 0; - -- // Use internal screen always for orientation purposes. -- switch ( GetBackend()->GetConnector( gamescope::GAMESCOPE_SCREEN_TYPE_INTERNAL )->GetCurrentOrientation() ) -+ auto orientation = GAMESCOPE_PANEL_ORIENTATION_AUTO; -+ if ( GetBackend() && GetBackend()->GetCurrentConnector( ) ) -+ { -+ orientation = GetBackend()->GetCurrentConnector()->GetCurrentOrientation(); -+ } -+ switch ( orientation ) - { - default: - case GAMESCOPE_PANEL_ORIENTATION_AUTO: --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Mon, 14 Oct 2024 22:42:20 +0200 -Subject: fix(display-config): always fill in mutable refresh rates - -Assume the user is not lying to us when they fill in dynamic_refresh_rates -and that gamescope will work with e.g., CVT, so accept it even if no -custom modeline generation has been provided. ---- - src/Backends/DRMBackend.cpp | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index c8e821314dc4..a919c61f9f8d 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -2258,7 +2258,9 @@ namespace gamescope - sol::optional otDynamicRefreshRates = tTable["dynamic_refresh_rates"]; - sol::optional ofnDynamicModegen = tTable["dynamic_modegen"]; - -- if ( otDynamicRefreshRates && ofnDynamicModegen ) -+ if ( otDynamicRefreshRates && !ofnDynamicModegen ) -+ m_Mutable.ValidDynamicRefreshRates = TableToVector( *otDynamicRefreshRates ); -+ else if ( otDynamicRefreshRates && ofnDynamicModegen ) - { - m_Mutable.ValidDynamicRefreshRates = TableToVector( *otDynamicRefreshRates ); - --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Wed, 30 Oct 2024 00:39:03 +0100 -Subject: fix(battery): run at half hz while at steamUI with atom - ---- - src/steamcompmgr.cpp | 53 +++++++++++++++++++++++++++++++++++--------- - src/xwayland_ctx.hpp | 2 ++ - 2 files changed, 45 insertions(+), 10 deletions(-) - -diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp -index b0cf080e0642..07e45b19fc61 100644 ---- a/src/steamcompmgr.cpp -+++ b/src/steamcompmgr.cpp -@@ -172,6 +172,8 @@ uint32_t g_reshade_technique_idx = 0; - - bool g_bSteamIsActiveWindow = false; - bool g_bForceInternal = false; -+bool b_bForceFrameLimit = false; -+bool g_bRefreshHalveEnable = false; - - namespace gamescope - { -@@ -928,6 +930,7 @@ uint64_t g_uCurrentBasePlaneCommitID = 0; - bool g_bCurrentBasePlaneIsFifo = false; - - static int g_nSteamCompMgrTargetFPS = 0; -+static int g_nSteamCompMgrTargetFPSreq = 0; - static uint64_t g_uDynamicRefreshEqualityTime = 0; - static int g_nDynamicRefreshRate[gamescope::GAMESCOPE_SCREEN_TYPE_COUNT] = { 0, 0 }; - // Delay to stop modes flickering back and forth. -@@ -947,7 +950,7 @@ static void _update_app_target_refresh_cycle() - int target_fps = g_nCombinedAppRefreshCycleOverride[type]; - - g_nDynamicRefreshRate[ type ] = 0; -- g_nSteamCompMgrTargetFPS = 0; -+ g_nSteamCompMgrTargetFPSreq = 0; - - if ( !target_fps ) - { -@@ -956,7 +959,7 @@ static void _update_app_target_refresh_cycle() - - if ( g_nCombinedAppRefreshCycleChangeFPS[ type ] ) - { -- g_nSteamCompMgrTargetFPS = target_fps; -+ g_nSteamCompMgrTargetFPSreq = target_fps; - } - - if ( g_nCombinedAppRefreshCycleChangeRefresh[ type ] ) -@@ -977,9 +980,9 @@ static void _update_app_target_refresh_cycle() - - static void update_app_target_refresh_cycle() - { -- int nPrevFPSLimit = g_nSteamCompMgrTargetFPS; -+ int nPrevFPSLimit = g_nSteamCompMgrTargetFPSreq; - _update_app_target_refresh_cycle(); -- if ( !!g_nSteamCompMgrTargetFPS != !!nPrevFPSLimit ) -+ if ( !!g_nSteamCompMgrTargetFPSreq != !!nPrevFPSLimit ) - update_runtime_info(); - } - -@@ -5316,7 +5319,7 @@ update_runtime_info() - if ( g_nRuntimeInfoFd < 0 ) - return; - -- uint32_t limiter_enabled = g_nSteamCompMgrTargetFPS != 0 ? 1 : 0; -+ uint32_t limiter_enabled = g_nSteamCompMgrTargetFPSreq != 0 ? 1 : 0; - pwrite( g_nRuntimeInfoFd, &limiter_enabled, sizeof( limiter_enabled ), 0 ); - } - -@@ -5379,7 +5382,7 @@ static bool steamcompmgr_should_vblank_window( bool bShouldLimitFPS, uint64_t vb - { - bool bCloseEnough = std::abs( g_nSteamCompMgrTargetFPS - nRefreshHz ) < 2; - -- if ( g_nSteamCompMgrTargetFPS && bShouldLimitFPS && w && !bCloseEnough ) -+ if ( g_nSteamCompMgrTargetFPS && (bShouldLimitFPS || b_bForceFrameLimit) && w && !bCloseEnough ) - { - uint64_t schedule = w->last_commit_first_latch_time + g_SteamCompMgrLimitedAppRefreshCycle; - -@@ -5397,7 +5400,7 @@ static bool steamcompmgr_should_vblank_window( bool bShouldLimitFPS, uint64_t vb - } - else - { -- if ( g_nSteamCompMgrTargetFPS && bShouldLimitFPS && nRefreshHz > nTargetFPS ) -+ if ( g_nSteamCompMgrTargetFPS && (bShouldLimitFPS || b_bForceFrameLimit) && nRefreshHz > nTargetFPS ) - { - int nVblankDivisor = nRefreshHz / nTargetFPS; - -@@ -5796,7 +5799,7 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev) - } - if ( ev->atom == ctx->atoms.gamescopeFPSLimit ) - { -- g_nSteamCompMgrTargetFPS = get_prop( ctx, ctx->root, ctx->atoms.gamescopeFPSLimit, 0 ); -+ g_nSteamCompMgrTargetFPSreq = get_prop( ctx, ctx->root, ctx->atoms.gamescopeFPSLimit, 0 ); - update_runtime_info(); - } - for (int i = 0; i < gamescope::GAMESCOPE_SCREEN_TYPE_COUNT; i++) -@@ -6227,6 +6230,10 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev) - MakeFocusDirty(); - } - } -+ if ( ev->atom == ctx->atoms.gamescopeFrameHalveAtom ) -+ { -+ g_bRefreshHalveEnable = !!get_prop( ctx, ctx->root, ctx->atoms.gamescopeFrameHalveAtom, 0 ); -+ } - } - - static int -@@ -6603,7 +6610,7 @@ void handle_presented_for_window( steamcompmgr_win_t* w ) - - uint64_t next_refresh_time = g_SteamCompMgrVBlankTime.schedule.ulTargetVBlank; - -- uint64_t refresh_cycle = g_nSteamCompMgrTargetFPS && steamcompmgr_window_should_limit_fps( w ) -+ uint64_t refresh_cycle = g_nSteamCompMgrTargetFPS && (steamcompmgr_window_should_limit_fps( w ) || b_bForceFrameLimit) - ? g_SteamCompMgrLimitedAppRefreshCycle - : g_SteamCompMgrAppRefreshCycle; - -@@ -7462,6 +7469,8 @@ void init_xwayland_ctx(uint32_t serverId, gamescope_xwayland_server_t *xwayland_ - ctx->atoms.primarySelection = XInternAtom(ctx->dpy, "PRIMARY", false); - ctx->atoms.targets = XInternAtom(ctx->dpy, "TARGETS", false); - -+ ctx->atoms.gamescopeFrameHalveAtom = XInternAtom( ctx->dpy, "GAMESCOPE_STEAMUI_HALFHZ", false );; -+ - ctx->root_width = DisplayWidth(ctx->dpy, ctx->scr); - ctx->root_height = DisplayHeight(ctx->dpy, ctx->scr); - -@@ -7883,7 +7892,7 @@ steamcompmgr_main(int argc, char **argv) - } else if (strcmp(opt_name, "hdr-itm-target-nits") == 0) { - g_flHDRItmTargetNits = atof(optarg); - } else if (strcmp(opt_name, "framerate-limit") == 0) { -- g_nSteamCompMgrTargetFPS = atoi(optarg); -+ g_nSteamCompMgrTargetFPSreq = atoi(optarg); - } else if (strcmp(opt_name, "reshade-effect") == 0) { - g_reshade_effect = optarg; - } else if (strcmp(opt_name, "reshade-technique-idx") == 0) { -@@ -8051,6 +8060,30 @@ steamcompmgr_main(int argc, char **argv) - // as a question. - const bool bIsVBlankFromTimer = vblank; - -+ // Halve refresh rate on SteamUI -+ bool isSteam = false; -+ for (auto &iter : g_VirtualConnectorFocuses) -+ { -+ global_focus_t *pFocus = &iter.second; -+ if (window_is_steam( pFocus->focusWindow )) { -+ isSteam = true; -+ break; -+ } -+ } -+ if ( g_bRefreshHalveEnable && isSteam ) { -+ int nRealRefreshHz = gamescope::ConvertmHzToHz( g_nNestedRefresh ? g_nNestedRefresh : g_nOutputRefresh ); -+ if (nRealRefreshHz > 100 && (g_nSteamCompMgrTargetFPSreq > 50 || !g_nSteamCompMgrTargetFPSreq)) { -+ g_nSteamCompMgrTargetFPS = nRealRefreshHz / 2; -+ b_bForceFrameLimit = true; -+ } else { -+ g_nSteamCompMgrTargetFPS = g_nSteamCompMgrTargetFPSreq; -+ b_bForceFrameLimit = false; -+ } -+ } else { -+ g_nSteamCompMgrTargetFPS = g_nSteamCompMgrTargetFPSreq; -+ b_bForceFrameLimit = false; -+ } -+ - // We can always vblank if VRR. - const bool bVRR = GetBackend()->GetCurrentConnector() && GetBackend()->GetCurrentConnector()->IsVRRActive(); - if ( bVRR ) -diff --git a/src/xwayland_ctx.hpp b/src/xwayland_ctx.hpp -index df2af70d19ae..e4eec9fa0c48 100644 ---- a/src/xwayland_ctx.hpp -+++ b/src/xwayland_ctx.hpp -@@ -246,6 +246,8 @@ struct xwayland_ctx_t final : public gamescope::IWaitable - Atom clipboard; - Atom primarySelection; - Atom targets; -+ -+ Atom gamescopeFrameHalveAtom; - } atoms; - - bool HasQueuedEvents(); --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Joshua Tam <297250+joshuatam@users.noreply.github.com> -Date: Fri, 6 Dec 2024 16:51:02 +0800 -Subject: feat(intel): add rotation shader for rotating output - ---- - src/Backends/DRMBackend.cpp | 35 +++++++++- - src/main.cpp | 7 ++ - src/main.hpp | 2 + - src/meson.build | 1 + - src/rendervulkan.cpp | 126 ++++++++++++++++++++++++++++++----- - src/rendervulkan.hpp | 6 +- - src/shaders/cs_rotation.comp | 53 +++++++++++++++ - src/wlserver.cpp | 5 ++ - 8 files changed, 216 insertions(+), 19 deletions(-) - create mode 100644 src/shaders/cs_rotation.comp - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index a919c61f9f8d..a099185e7cdc 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -1609,6 +1609,10 @@ static void update_drm_effective_orientations( struct drm_t *drm, const drmModeM - if ( pDRMInternalConnector != drm->pConnector ) - pInternalMode = find_mode( pDRMInternalConnector->GetModeConnector(), 0, 0, 0 ); - -+ if ( g_bUseRotationShader ) { -+ g_bEnableDRMRotationShader = true; -+ } -+ - pDRMInternalConnector->UpdateEffectiveOrientation( pInternalMode ); - } - -@@ -1620,6 +1624,10 @@ static void update_drm_effective_orientations( struct drm_t *drm, const drmModeM - if ( pDRMExternalConnector != drm->pConnector ) - pExternalMode = find_mode( pDRMExternalConnector->GetModeConnector(), 0, 0, 0 ); - -+ if ( g_bUseRotationShader ) { -+ g_bEnableDRMRotationShader = false; -+ } -+ - pDRMExternalConnector->UpdateEffectiveOrientation( pExternalMode ); - } - } -@@ -1835,7 +1843,7 @@ LiftoffStateCacheEntry FrameInfoToLiftoffStateCacheEntry( struct drm_t *drm, con - uint64_t crtcW = srcWidth / frameInfo->layers[ i ].scale.x; - uint64_t crtcH = srcHeight / frameInfo->layers[ i ].scale.y; - -- if (g_bRotated) -+ if (g_bRotated && !g_bEnableDRMRotationShader) - { - int64_t imageH = frameInfo->layers[ i ].tex->contentHeight() / frameInfo->layers[ i ].scale.y; - -@@ -2136,6 +2144,17 @@ namespace gamescope - - void CDRMConnector::UpdateEffectiveOrientation( const drmModeModeInfo *pMode ) - { -+ if (g_bEnableDRMRotationShader) -+ { -+ drm_log.infof("Using rotation shader"); -+ if (g_DesiredInternalOrientation == GAMESCOPE_PANEL_ORIENTATION_270) { -+ m_ChosenOrientation = GAMESCOPE_PANEL_ORIENTATION_180; -+ } else { -+ m_ChosenOrientation = GAMESCOPE_PANEL_ORIENTATION_0; -+ } -+ return; -+ } -+ - if ( this->GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL && g_DesiredInternalOrientation != GAMESCOPE_PANEL_ORIENTATION_AUTO ) - { - m_ChosenOrientation = g_DesiredInternalOrientation; -@@ -3185,6 +3204,13 @@ bool drm_set_mode( struct drm_t *drm, const drmModeModeInfo *mode ) - g_bRotated = false; - g_nOutputWidth = mode->hdisplay; - g_nOutputHeight = mode->vdisplay; -+ -+ if (g_bEnableDRMRotationShader) { -+ g_bRotated = true; -+ g_nOutputWidth = mode->vdisplay; -+ g_nOutputHeight = mode->hdisplay; -+ } -+ - break; - case GAMESCOPE_PANEL_ORIENTATION_90: - case GAMESCOPE_PANEL_ORIENTATION_270: -@@ -3449,6 +3475,11 @@ namespace gamescope - - bNeedsFullComposite |= !!(g_uCompositeDebug & CompositeDebugFlag::Heatmap); - -+ if (g_bEnableDRMRotationShader) -+ { -+ bNeedsFullComposite = true; -+ } -+ - bool bDoComposite = true; - if ( !bNeedsFullComposite && !bWantsPartialComposite ) - { -@@ -3539,7 +3570,7 @@ namespace gamescope - if ( bDefer && !!( g_uCompositeDebug & CompositeDebugFlag::Markers ) ) - g_uCompositeDebug |= CompositeDebugFlag::Markers_Partial; - -- std::optional oCompositeResult = vulkan_composite( &compositeFrameInfo, nullptr, !bNeedsFullComposite ); -+ std::optional oCompositeResult = vulkan_composite( &compositeFrameInfo, nullptr, !bNeedsFullComposite, nullptr, true, nullptr, g_bEnableDRMRotationShader ); - - m_bWasCompositing = true; - -diff --git a/src/main.cpp b/src/main.cpp -index d63b1fe50cc6..cfd4cc11d179 100644 ---- a/src/main.cpp -+++ b/src/main.cpp -@@ -131,6 +131,7 @@ const struct option *gamescope_options = (struct option[]){ - { "composite-debug", no_argument, nullptr, 0 }, - { "disable-xres", no_argument, nullptr, 'x' }, - { "fade-out-duration", required_argument, nullptr, 0 }, -+ { "use-rotation-shader", required_argument, nullptr, 0 }, - { "force-orientation", required_argument, nullptr, 0 }, - { "force-windows-fullscreen", no_argument, nullptr, 0 }, - { "custom-refresh-rates", required_argument, nullptr, 0 }, -@@ -194,6 +195,7 @@ const char usage[] = - " -e, --steam enable Steam integration\n" - " --xwayland-count create N xwayland servers\n" - " --prefer-vk-device prefer Vulkan device for compositing (ex: 1002:7300)\n" -+ " --use-rotation-shader use rotation shader for rotating the screen\n" - " --force-orientation rotate the internal display (left, right, normal, upsidedown)\n" - " --force-windows-fullscreen force windows inside of gamescope to be the size of the nested display (fullscreen)\n" - " --cursor-scale-height if specified, sets a base output height to linearly scale the cursor against.\n" -@@ -355,6 +357,9 @@ static gamescope::GamescopeModeGeneration parse_gamescope_mode_generation( const - } - } - -+bool g_bUseRotationShader = false; -+bool g_bEnableDRMRotationShader = false; -+ - GamescopePanelOrientation g_DesiredInternalOrientation = GAMESCOPE_PANEL_ORIENTATION_AUTO; - static GamescopePanelOrientation force_orientation(const char *str) - { -@@ -812,6 +817,8 @@ int main(int argc, char **argv) - g_eGamescopeModeGeneration = parse_gamescope_mode_generation( optarg ); - } else if (strcmp(opt_name, "force-orientation") == 0) { - g_DesiredInternalOrientation = force_orientation( optarg ); -+ } else if (strcmp(opt_name, "use-rotation-shader") == 0) { -+ g_bUseRotationShader = true; - } else if (strcmp(opt_name, "custom-refresh-rates") == 0) { - g_customRefreshRates = parse_custom_refresh_rates( optarg ); - } else if (strcmp(opt_name, "sharpness") == 0 || -diff --git a/src/main.hpp b/src/main.hpp -index 390c04a63ecd..e7b857d44b0d 100644 ---- a/src/main.hpp -+++ b/src/main.hpp -@@ -22,6 +22,8 @@ extern bool g_bForceRelativeMouse; - extern int g_nOutputRefresh; // mHz - extern bool g_bOutputHDREnabled; - extern bool g_bForceInternal; -+extern bool g_bUseRotationShader; -+extern bool g_bEnableDRMRotationShader; - - extern bool g_bFullscreen; - -diff --git a/src/meson.build b/src/meson.build -index a3dfdabd7366..36c073ec214e 100644 ---- a/src/meson.build -+++ b/src/meson.build -@@ -70,6 +70,7 @@ shader_src = [ - 'shaders/cs_nis.comp', - 'shaders/cs_nis_fp16.comp', - 'shaders/cs_rgb_to_nv12.comp', -+ 'shaders/cs_rotation.comp', - ] - - spirv_shaders = glsl_generator.process(shader_src) -diff --git a/src/rendervulkan.cpp b/src/rendervulkan.cpp -index f79d26e0c139..b19f9bf101b4 100644 ---- a/src/rendervulkan.cpp -+++ b/src/rendervulkan.cpp -@@ -48,6 +48,7 @@ - #include "cs_nis.h" - #include "cs_nis_fp16.h" - #include "cs_rgb_to_nv12.h" -+#include "cs_rotation.h" - - #define A_CPU - #include "shaders/ffx_a.h" -@@ -923,6 +924,7 @@ bool CVulkanDevice::createShaders() - SHADER(NIS, cs_nis); - } - SHADER(RGB_TO_NV12, cs_rgb_to_nv12); -+ SHADER(ROTATION, cs_rotation); - #undef SHADER - - for (uint32_t i = 0; i < shaderInfos.size(); i++) -@@ -1153,6 +1155,7 @@ void CVulkanDevice::compileAllPipelines() - SHADER(EASU, 1, 1, 1); - SHADER(NIS, 1, 1, 1); - SHADER(RGB_TO_NV12, 1, 1, 1); -+ SHADER(ROTATION, k_nMaxLayers, k_nMaxYcbcrMask_ToPreCompile, k_nMaxBlurLayers); - #undef SHADER - - for (auto& info : pipelineInfos) { -@@ -3249,8 +3252,16 @@ static bool vulkan_make_output_images( VulkanOutput_t *pOutput ) - - uint32_t uDRMFormat = pOutput->uOutputFormat; - -+ uint32_t l_nOutputWidth = g_nOutputWidth; -+ uint32_t l_nOutputHeight = g_nOutputHeight; -+ -+ if (g_bEnableDRMRotationShader) { -+ l_nOutputWidth = g_nOutputHeight; -+ l_nOutputHeight = g_nOutputWidth; -+ } -+ - pOutput->outputImages[0] = new CVulkanTexture(); -- bool bSuccess = pOutput->outputImages[0]->BInit( g_nOutputWidth, g_nOutputHeight, 1u, uDRMFormat, outputImageflags ); -+ bool bSuccess = pOutput->outputImages[0]->BInit( l_nOutputWidth, l_nOutputHeight, 1u, uDRMFormat, outputImageflags ); - if ( bSuccess != true ) - { - vk_log.errorf( "failed to allocate buffer for KMS" ); -@@ -3258,7 +3269,7 @@ static bool vulkan_make_output_images( VulkanOutput_t *pOutput ) - } - - pOutput->outputImages[1] = new CVulkanTexture(); -- bSuccess = pOutput->outputImages[1]->BInit( g_nOutputWidth, g_nOutputHeight, 1u, uDRMFormat, outputImageflags ); -+ bSuccess = pOutput->outputImages[1]->BInit( l_nOutputWidth, l_nOutputHeight, 1u, uDRMFormat, outputImageflags ); - if ( bSuccess != true ) - { - vk_log.errorf( "failed to allocate buffer for KMS" ); -@@ -3266,7 +3277,7 @@ static bool vulkan_make_output_images( VulkanOutput_t *pOutput ) - } - - pOutput->outputImages[2] = new CVulkanTexture(); -- bSuccess = pOutput->outputImages[2]->BInit( g_nOutputWidth, g_nOutputHeight, 1u, uDRMFormat, outputImageflags ); -+ bSuccess = pOutput->outputImages[2]->BInit( l_nOutputWidth, l_nOutputHeight, 1u, uDRMFormat, outputImageflags ); - if ( bSuccess != true ) - { - vk_log.errorf( "failed to allocate buffer for KMS" ); -@@ -3281,7 +3292,7 @@ static bool vulkan_make_output_images( VulkanOutput_t *pOutput ) - uint32_t uPartialDRMFormat = pOutput->uOutputFormatOverlay; - - pOutput->outputImagesPartialOverlay[0] = new CVulkanTexture(); -- bool bSuccess = pOutput->outputImagesPartialOverlay[0]->BInit( g_nOutputWidth, g_nOutputHeight, 1u, uPartialDRMFormat, outputImageflags, nullptr, 0, 0, pOutput->outputImages[0].get() ); -+ bool bSuccess = pOutput->outputImagesPartialOverlay[0]->BInit( l_nOutputWidth, l_nOutputHeight, 1u, uPartialDRMFormat, outputImageflags, nullptr, 0, 0, pOutput->outputImages[0].get() ); - if ( bSuccess != true ) - { - vk_log.errorf( "failed to allocate buffer for KMS" ); -@@ -3289,7 +3300,7 @@ static bool vulkan_make_output_images( VulkanOutput_t *pOutput ) - } - - pOutput->outputImagesPartialOverlay[1] = new CVulkanTexture(); -- bSuccess = pOutput->outputImagesPartialOverlay[1]->BInit( g_nOutputWidth, g_nOutputHeight, 1u, uPartialDRMFormat, outputImageflags, nullptr, 0, 0, pOutput->outputImages[1].get() ); -+ bSuccess = pOutput->outputImagesPartialOverlay[1]->BInit( l_nOutputWidth, l_nOutputHeight, 1u, uPartialDRMFormat, outputImageflags, nullptr, 0, 0, pOutput->outputImages[1].get() ); - if ( bSuccess != true ) - { - vk_log.errorf( "failed to allocate buffer for KMS" ); -@@ -3297,7 +3308,7 @@ static bool vulkan_make_output_images( VulkanOutput_t *pOutput ) - } - - pOutput->outputImagesPartialOverlay[2] = new CVulkanTexture(); -- bSuccess = pOutput->outputImagesPartialOverlay[2]->BInit( g_nOutputWidth, g_nOutputHeight, 1u, uPartialDRMFormat, outputImageflags, nullptr, 0, 0, pOutput->outputImages[2].get() ); -+ bSuccess = pOutput->outputImagesPartialOverlay[2]->BInit( l_nOutputWidth, l_nOutputHeight, 1u, uPartialDRMFormat, outputImageflags, nullptr, 0, 0, pOutput->outputImages[2].get() ); - if ( bSuccess != true ) - { - vk_log.errorf( "failed to allocate buffer for KMS" ); -@@ -3427,6 +3438,28 @@ static void update_tmp_images( uint32_t width, uint32_t height ) - } - } - -+static void update_rotated_images( uint32_t width, uint32_t height ) -+{ -+ if ( g_output.rotatedOutput != nullptr -+ && width == g_output.rotatedOutput->width() -+ && height == g_output.rotatedOutput->height() ) -+ { -+ return; -+ } -+ -+ CVulkanTexture::createFlags createFlags; -+ createFlags.bSampled = true; -+ createFlags.bStorage = true; -+ -+ g_output.rotatedOutput = new CVulkanTexture(); -+ bool bSuccess = g_output.rotatedOutput->BInit( width, height, 1u, DRM_FORMAT_ARGB8888, createFlags, nullptr ); -+ -+ if ( !bSuccess ) -+ { -+ vk_log.errorf( "failed to create rotated output" ); -+ return; -+ } -+} - - static bool init_nis_data() - { -@@ -3903,7 +3936,7 @@ extern uint32_t g_reshade_technique_idx; - - ReshadeEffectPipeline *g_pLastReshadeEffect = nullptr; - --std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamescope::Rc pPipewireTexture, bool partial, gamescope::Rc pOutputOverride, bool increment, std::unique_ptr pInCommandBuffer ) -+std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamescope::Rc pPipewireTexture, bool partial, gamescope::Rc pOutputOverride, bool increment, std::unique_ptr pInCommandBuffer, bool applyRotation ) - { - EOTF outputTF = frameInfo->outputEncodingEOTF; - if (!frameInfo->applyOutputColorMgmt) -@@ -3978,7 +4011,15 @@ std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamesco - cmdBuffer->setTextureSrgb(0, true); - cmdBuffer->setSamplerUnnormalized(0, false); - cmdBuffer->setSamplerNearest(0, false); -- cmdBuffer->bindTarget(compositeImage); -+ -+ if (applyRotation) { -+ // Make a rotatedOutput with normal dimensions -+ update_rotated_images(currentOutputWidth, currentOutputHeight); // 2560x1600 -+ cmdBuffer->bindTarget(g_output.rotatedOutput); -+ } else { -+ cmdBuffer->bindTarget(compositeImage); -+ } -+ - cmdBuffer->uploadConstants(frameInfo, g_upscaleFilterSharpness / 10.0f); - - cmdBuffer->dispatch(div_roundup(currentOutputWidth, pixelsPerGroup), div_roundup(currentOutputHeight, pixelsPerGroup)); -@@ -4021,7 +4062,15 @@ std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamesco - - cmdBuffer->bindPipeline( g_device.pipeline(SHADER_TYPE_BLIT, nisFrameInfo.layerCount, nisFrameInfo.ycbcrMask(), 0u, nisFrameInfo.colorspaceMask(), outputTF )); - bind_all_layers(cmdBuffer.get(), &nisFrameInfo); -- cmdBuffer->bindTarget(compositeImage); -+ -+ if (applyRotation) { -+ // Make a rotatedOutput with normal dimensions -+ update_rotated_images(currentOutputWidth, currentOutputHeight); // 2560x1600 -+ cmdBuffer->bindTarget(g_output.rotatedOutput); -+ } else { -+ cmdBuffer->bindTarget(compositeImage); -+ } -+ - cmdBuffer->uploadConstants(&nisFrameInfo); - - int pixelsPerGroup = 8; -@@ -4059,7 +4108,15 @@ std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamesco - type = frameInfo->blurLayer0 == BLUR_MODE_COND ? SHADER_TYPE_BLUR_COND : SHADER_TYPE_BLUR; - cmdBuffer->bindPipeline(g_device.pipeline(type, frameInfo->layerCount, frameInfo->ycbcrMask(), blur_layer_count, frameInfo->colorspaceMask(), outputTF )); - bind_all_layers(cmdBuffer.get(), frameInfo); -- cmdBuffer->bindTarget(compositeImage); -+ -+ if (applyRotation) { -+ // Make a rotatedOutput with normal dimensions -+ update_rotated_images(currentOutputWidth, currentOutputHeight); // 2560x1600 -+ cmdBuffer->bindTarget(g_output.rotatedOutput); -+ } else { -+ cmdBuffer->bindTarget(compositeImage); -+ } -+ - cmdBuffer->bindTexture(VKR_BLUR_EXTRA_SLOT, g_output.tmpOutput); - cmdBuffer->setTextureSrgb(VKR_BLUR_EXTRA_SLOT, !useSrgbView); // Inverted because it chooses whether to view as linear (sRGB view) or sRGB (raw view). It's horrible. I need to change it. - cmdBuffer->setSamplerUnnormalized(VKR_BLUR_EXTRA_SLOT, true); -@@ -4069,14 +4126,51 @@ std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamesco - } - else - { -- cmdBuffer->bindPipeline( g_device.pipeline(SHADER_TYPE_BLIT, frameInfo->layerCount, frameInfo->ycbcrMask(), 0u, frameInfo->colorspaceMask(), outputTF )); -- bind_all_layers(cmdBuffer.get(), frameInfo); -- cmdBuffer->bindTarget(compositeImage); -- cmdBuffer->uploadConstants(frameInfo); -+ if (applyRotation) { -+ cmdBuffer->bindPipeline( g_device.pipeline(SHADER_TYPE_ROTATION, frameInfo->layerCount, frameInfo->ycbcrMask(), 0u, frameInfo->colorspaceMask(), outputTF )); -+ bind_all_layers(cmdBuffer.get(), frameInfo); -+ cmdBuffer->bindTarget(compositeImage); -+ cmdBuffer->uploadConstants(frameInfo); - -- const int pixelsPerGroup = 8; -+ const int pixelsPerGroup = 8; - -- cmdBuffer->dispatch(div_roundup(currentOutputWidth, pixelsPerGroup), div_roundup(currentOutputHeight, pixelsPerGroup)); -+ cmdBuffer->dispatch(div_roundup(currentOutputWidth, pixelsPerGroup), div_roundup(currentOutputHeight, pixelsPerGroup)); -+ } else { -+ cmdBuffer->bindPipeline( g_device.pipeline(SHADER_TYPE_BLIT, frameInfo->layerCount, frameInfo->ycbcrMask(), 0u, frameInfo->colorspaceMask(), outputTF )); -+ bind_all_layers(cmdBuffer.get(), frameInfo); -+ cmdBuffer->bindTarget(compositeImage); -+ cmdBuffer->uploadConstants(frameInfo); -+ -+ const int pixelsPerGroup = 8; -+ -+ cmdBuffer->dispatch(div_roundup(currentOutputWidth, pixelsPerGroup), div_roundup(currentOutputHeight, pixelsPerGroup)); -+ } -+ } -+ -+ if (applyRotation) -+ { -+ if (g_output.rotatedOutput != nullptr) { -+ // Rotate the final output -+ // TODO: may need rework with another rotation shader for blur, fsr and nis -+ cmdBuffer->bindPipeline( g_device.pipeline(SHADER_TYPE_ROTATION, frameInfo->layerCount, frameInfo->ycbcrMask(), 0u, frameInfo->colorspaceMask(), outputTF)); -+ bind_all_layers(cmdBuffer.get(), frameInfo); -+ -+ // if (frameInfo->blurLayer0) { -+ // bool useSrgbView = frameInfo->layers[0].colorspace == GAMESCOPE_APP_TEXTURE_COLORSPACE_LINEAR; -+ // -+ // cmdBuffer->bindTexture(VKR_BLUR_EXTRA_SLOT, g_output.rotatedOutput); -+ // cmdBuffer->setTextureSrgb(VKR_BLUR_EXTRA_SLOT, !useSrgbView); -+ // cmdBuffer->setSamplerUnnormalized(VKR_BLUR_EXTRA_SLOT, true); -+ // cmdBuffer->setSamplerNearest(VKR_BLUR_EXTRA_SLOT, false); -+ // } -+ -+ cmdBuffer->bindTarget(compositeImage); -+ cmdBuffer->uploadConstants(frameInfo); -+ -+ const int pixelsPerGroup = 8; -+ -+ cmdBuffer->dispatch(div_roundup(currentOutputWidth, pixelsPerGroup), div_roundup(currentOutputHeight, pixelsPerGroup)); -+ } - } - - if ( pPipewireTexture != nullptr ) -diff --git a/src/rendervulkan.hpp b/src/rendervulkan.hpp -index 63cc6029ac5f..93a4a6027f55 100644 ---- a/src/rendervulkan.hpp -+++ b/src/rendervulkan.hpp -@@ -408,7 +408,7 @@ gamescope::OwningRc vulkan_create_texture_from_dmabuf( struct wl - gamescope::OwningRc vulkan_create_texture_from_bits( uint32_t width, uint32_t height, uint32_t contentWidth, uint32_t contentHeight, uint32_t drmFormat, CVulkanTexture::createFlags texCreateFlags, void *bits ); - gamescope::OwningRc vulkan_create_texture_from_wlr_buffer( struct wlr_buffer *buf, gamescope::OwningRc pBackendFb ); - --std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamescope::Rc pScreenshotTexture, bool partial, gamescope::Rc pOutputOverride = nullptr, bool increment = true, std::unique_ptr pInCommandBuffer = nullptr ); -+std::optional vulkan_composite( struct FrameInfo_t *frameInfo, gamescope::Rc pScreenshotTexture, bool partial, gamescope::Rc pOutputOverride = nullptr, bool increment = true, std::unique_ptr pInCommandBuffer = nullptr, bool applyRotation = false ); - void vulkan_wait( uint64_t ulSeqNo, bool bReset ); - gamescope::Rc vulkan_get_last_output_image( bool partial, bool defer ); - gamescope::Rc vulkan_acquire_screenshot_texture(uint32_t width, uint32_t height, bool exportable, uint32_t drmFormat, EStreamColorspace colorspace = k_EStreamColorspace_Unknown); -@@ -545,6 +545,9 @@ struct VulkanOutput_t - // NIS - gamescope::OwningRc nisScalerImage; - gamescope::OwningRc nisUsmImage; -+ -+ // Rotated -+ gamescope::OwningRc rotatedOutput; - }; - - -@@ -557,6 +560,7 @@ enum ShaderType { - SHADER_TYPE_RCAS, - SHADER_TYPE_NIS, - SHADER_TYPE_RGB_TO_NV12, -+ SHADER_TYPE_ROTATION, - - SHADER_TYPE_COUNT - }; -diff --git a/src/shaders/cs_rotation.comp b/src/shaders/cs_rotation.comp -new file mode 100644 -index 000000000000..1a47fd505748 ---- /dev/null -+++ b/src/shaders/cs_rotation.comp -@@ -0,0 +1,53 @@ -+#version 450 -+ -+#extension GL_GOOGLE_include_directive : require -+#extension GL_EXT_scalar_block_layout : require -+ -+#include "descriptor_set.h" -+ -+layout( -+ local_size_x = 8, -+ local_size_y = 8, -+ local_size_z = 1) in; -+ -+#include "blit_push_data.h" -+#include "composite.h" -+ -+vec4 sampleLayer(uint layerIdx, vec2 uv) { -+ if ((c_ycbcrMask & (1 << layerIdx)) != 0) -+ return sampleLayer(s_ycbcr_samplers[layerIdx], layerIdx, uv, false); -+ return sampleLayer(s_samplers[layerIdx], layerIdx, uv, true); -+} -+ -+void main() { -+ uvec2 coord = uvec2(gl_GlobalInvocationID.x, gl_GlobalInvocationID.y); -+ uvec2 outSize = imageSize(dst); -+ float outWidth = outSize.y; -+ float outHeight = outSize.x; -+ -+ vec2 uv = vec2(coord); -+ vec4 outputValue = vec4(255.0f); -+ -+ if (c_layerCount > 0) { -+ outputValue = sampleLayer(0, uv) * u_opacity[0]; -+ } -+ -+ for (int i = 1; i < c_layerCount; i++) { -+ vec4 layerColor = sampleLayer(i, uv); -+ // wl_surfaces come with premultiplied alpha, so that's them being -+ // premultiplied by layerColor.a. -+ // We need to then multiply that by the layer's opacity to get to our -+ // final premultiplied state. -+ // For the other side of things, we need to multiply by (1.0f - (layerColor.a * opacity)) -+ float opacity = u_opacity[i]; -+ float layerAlpha = opacity * layerColor.a; -+ outputValue = layerColor * opacity + outputValue * (1.0f - layerAlpha); -+ } -+ -+ outputValue.rgb = encodeOutputColor(outputValue.rgb); -+ -+ // Rotate the pixel coordinates counter-clockwise by 90 degrees -+ ivec2 rotatedCoord = ivec2(coord.y, outWidth - coord.x - 1); -+ -+ imageStore(dst, rotatedCoord, outputValue); -+} -diff --git a/src/wlserver.cpp b/src/wlserver.cpp -index 4d6e8de55ba4..a694b5245a97 100644 ---- a/src/wlserver.cpp -+++ b/src/wlserver.cpp -@@ -2793,6 +2793,11 @@ static void apply_touchscreen_orientation(double *x, double *y ) - break; - } - -+ if (g_bEnableDRMRotationShader) { -+ tx = 1.0 - *y; -+ ty = *x; -+ } -+ - *x = tx; - *y = ty; - } --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: brainantifreeze -Date: Thu, 19 Dec 2024 09:16:15 +0000 -Subject: feat(nvidia): fix crash with current driver - -add layer env var to hide present wait ext - -see: https://github.com/ValveSoftware/gamescope/pull/1671 ---- - layer/VkLayer_FROG_gamescope_wsi.cpp | 20 +++++++++++++++++++- - 1 file changed, 19 insertions(+), 1 deletion(-) - -diff --git a/layer/VkLayer_FROG_gamescope_wsi.cpp b/layer/VkLayer_FROG_gamescope_wsi.cpp -index af0c2009930b..263cbc37bd88 100644 ---- a/layer/VkLayer_FROG_gamescope_wsi.cpp -+++ b/layer/VkLayer_FROG_gamescope_wsi.cpp -@@ -183,6 +183,16 @@ namespace GamescopeWSILayer { - return s_ensureMinImageCount; - } - -+ static bool getHidePresentWait() { -+ static bool s_hidePresentWait = []() -> bool { -+ if (auto hide = parseEnv("GAMESCOPE_WSI_HIDE_PRESENT_WAIT_EXT")) { -+ return *hide; -+ } -+ return false; -+ }(); -+ return s_hidePresentWait; -+ } -+ - // Taken from Mesa, licensed under MIT. - // - // No real reason to rewrite this code, -@@ -589,7 +599,11 @@ namespace GamescopeWSILayer { - createInfo.ppEnabledExtensionNames = enabledExts.data(); - - setenv("vk_xwayland_wait_ready", "false", 0); -- setenv("vk_khr_present_wait", "true", 0); -+ if (getHidePresentWait()) { -+ setenv("vk_khr_present_wait", "false", 0); -+ } else { -+ setenv("vk_khr_present_wait", "true", 0); -+ } - - VkResult result = pfnCreateInstanceProc(&createInfo, pAllocator, pInstance); - if (result != VK_SUCCESS) -@@ -899,6 +913,10 @@ namespace GamescopeWSILayer { - const vkroots::VkInstanceDispatch* pDispatch, - VkPhysicalDevice physicalDevice, - VkPhysicalDeviceFeatures2* pFeatures) { -+ if (getHidePresentWait()) { -+ fprintf(stderr, "[Gamescope WSI] Removing VkPhysicalDevicePresentWaitFeaturesKHR because GAMESCOPE_WSI_HIDE_PRESENT_WAIT_EXT is set\n"); -+ vkroots::RemoveFromChain(pFeatures); -+ } - pDispatch->GetPhysicalDeviceFeatures2(physicalDevice, pFeatures); - } - --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Sun, 23 Feb 2025 02:16:55 +0100 -Subject: feat(display): add asus z13 - ---- - .../00-gamescope/displays/asus.z13.lcd.lua | 57 +++++++++++++++++++ - 1 file changed, 57 insertions(+) - create mode 100644 scripts/00-gamescope/displays/asus.z13.lcd.lua - -diff --git a/scripts/00-gamescope/displays/asus.z13.lcd.lua b/scripts/00-gamescope/displays/asus.z13.lcd.lua -new file mode 100644 -index 000000000000..891f1ea9ca6f ---- /dev/null -+++ b/scripts/00-gamescope/displays/asus.z13.lcd.lua -@@ -0,0 +1,57 @@ -+gamescope.config.known_displays.asusz13_lcd = { -+ pretty_name = "Asus Z13 LCD", -+ dynamic_refresh_rates = { -+ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, -+ 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, -+ 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, -+ 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, -+ 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, -+ 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, -+ 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, -+ 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, -+ 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180 -+ }, -+ -+ -- Detailed Timing Descriptors: -+ -- DTD 1: 1920x1200 120.002 Hz 8:5 151.683 kHz 315.500 MHz (172 mm x 107 mm) -+ -- Modeline "1920x1200_120.00" 315.500 1920 1968 2000 2080 1200 1254 1260 1264 -HSync -VSync -+ -- DTD 2: 1920x1200 60.001 Hz 8:5 75.841 kHz 157.750 MHz (172 mm x 107 mm) -+ -- Modeline "1920x1200_60.00" 157.750 1920 1968 2000 2080 1200 1254 1260 1264 -HSync -VSync -+ dynamic_modegen = function(base_mode, refresh) -+ debug("Generating mode "..refresh.."Hz with fixed pixel clock") -+ local vfps = { -+ 4886, 4751, 4620, 4495, 4375, 4259, 4147, 4040, 3936, 3836, 3739, 3646, -+ 3556, 3468, 3384, 3302, 3223, 3146, 3072, 2999, 2929, 2861, 2795, 2731, -+ 2668, 2608, 2548, 2491, 2435, 2380, 2327, 2275, 2225, 2175, 2127, 2080, -+ 2035, 1990, 1946, 1903, 1862, 1821, 1781, 1742, 1704, 1667, 1630, 1594, -+ 1559, 1525, 1491, 1458, 1426, 1395, 1364, 1333, 1303, 1274, 1245, 1217, -+ 1190, 1162, 1136, 1110, 1084, 1059, 1034, 1010, 986, 962, 939, 916, 894, -+ 872, 850, 829, 808, 787, 767, 747, 727, 708, 689, 670, 652, 634, 616, -+ 598, 581, 563, 547, 530, 513, 497, 481, 466, 450, 435, 420, 405, 390, -+ 376, 361, 347, 333, 320, 306, 293, 279, 266, 254, 241, 228, 216, 204, -+ 192, 180, 168, 156, 145, 133, 122, 111, 100, 89, 78, 68, 57, 47, 36, -+ 26, 16, 6 -+ } -+ local vfp = vfps[zero_index(refresh - 48)] -+ if vfp == nil then -+ warn("Couldn't do refresh "..refresh.." on ROG Ally") -+ return base_mode -+ end -+ -+ local mode = base_mode -+ -+ gamescope.modegen.adjust_front_porch(mode, vfp) -+ mode.vrefresh = gamescope.modegen.calc_vrefresh(mode) -+ -+ --debug(inspect(mode)) -+ return mode -+ end, -+ matches = function(display) -+ if display.vendor == "TMA" and display.model == "TL134ADXP03" then -+ debug("[z13] Matched vendor: "..display.vendor.." model: "..display.model.." product:"..display.product) -+ return 5000 -+ end -+ return -1 -+ end -+} -+debug("Registered Lenovo Legion Go S LCD as a known display") -\ No newline at end of file --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Wed, 23 Apr 2025 22:51:54 +0200 -Subject: feat(display): consider vporch to avoid timing issues - ---- - src/Backends/DRMBackend.cpp | 8 ++++++++ - src/main.cpp | 1 + - src/main.hpp | 1 + - src/vblankmanager.cpp | 6 +----- - 4 files changed, 11 insertions(+), 5 deletions(-) - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index a099185e7cdc..d09030e0cf5e 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -213,6 +213,11 @@ namespace gamescope - return nRefresh; - } - -+ static int32_t GetVblankNs(const drmModeModeInfo *mode) -+ { -+ return (mode->vsync_start - mode->vdisplay) * 1'000'000'000ll / mode->vrefresh / mode->vtotal; -+ } -+ - template - using CAutoDeletePtr = std::unique_ptr; - -@@ -3194,6 +3199,9 @@ bool drm_set_mode( struct drm_t *drm, const drmModeModeInfo *mode ) - g_nOutputRefresh = gamescope::GetModeRefresh( mode ); - g_nDynamicRefreshHz = 0; - -+ g_nsVsync = gamescope::GetVblankNs( mode ); -+ drm_log.infof("Vblank ns: %lu", g_nsVsync); -+ - update_drm_effective_orientations(drm, mode); - - switch ( drm->pConnector->GetCurrentOrientation() ) -diff --git a/src/main.cpp b/src/main.cpp -index cfd4cc11d179..0d88e3a2cded 100644 ---- a/src/main.cpp -+++ b/src/main.cpp -@@ -291,6 +291,7 @@ int g_nNestedDisplayIndex = 0; - uint32_t g_nOutputWidth = 0; - uint32_t g_nOutputHeight = 0; - int g_nOutputRefresh = 0; -+long g_nsVsync = 0; - bool g_bOutputHDREnabled = false; - - bool g_bFullscreen = false; -diff --git a/src/main.hpp b/src/main.hpp -index e7b857d44b0d..e6f8ff133689 100644 ---- a/src/main.hpp -+++ b/src/main.hpp -@@ -20,6 +20,7 @@ extern uint32_t g_nOutputWidth; - extern uint32_t g_nOutputHeight; - extern bool g_bForceRelativeMouse; - extern int g_nOutputRefresh; // mHz -+extern long g_nsVsync; // ns - extern bool g_bOutputHDREnabled; - extern bool g_bForceInternal; - extern bool g_bUseRotationShader; -diff --git a/src/vblankmanager.cpp b/src/vblankmanager.cpp -index f036d000a8e2..e388374c98ba 100644 ---- a/src/vblankmanager.cpp -+++ b/src/vblankmanager.cpp -@@ -95,8 +95,6 @@ namespace gamescope - - VBlankScheduleTime CVBlankTimer::CalcNextWakeupTime( bool bPreemptive ) - { -- const GamescopeScreenType eScreenType = GetBackend()->GetScreenType(); -- - const int nRefreshRate = GetRefresh(); - const uint64_t ulRefreshInterval = mHzToRefreshCycle( nRefreshRate ); - -@@ -113,9 +111,7 @@ namespace gamescope - // to not account for vertical front porch when dealing with the vblank - // drm_commit is going to target? - // Need to re-test that. -- const uint64_t ulRedZone = eScreenType == GAMESCOPE_SCREEN_TYPE_INTERNAL -- ? m_ulVBlankDrawBufferRedZone -- : std::min( m_ulVBlankDrawBufferRedZone, ( m_ulVBlankDrawBufferRedZone * 60'000 * nRefreshRate ) / 60'000 ); -+ const uint64_t ulRedZone = m_ulVBlankDrawBufferRedZone + g_nsVsync; - - const uint64_t ulDecayAlpha = m_ulVBlankRateOfDecayPercentage; // eg. 980 = 98% - --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Sun, 22 Jun 2025 15:18:19 +0200 -Subject: feat: add Legion Go S display with all framerates - ---- - .../displays/lenovo.legiongos.lcd.lua | 71 +++++++++++-------- - 1 file changed, 42 insertions(+), 29 deletions(-) - -diff --git a/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua b/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua -index 32f776c17f3d..057850f374f8 100644 ---- a/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua -+++ b/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua -@@ -1,44 +1,58 @@ --local legiongos_lcd_refresh_rates = { -- 52, 53, 54, 56, 57, 58, 59, -- 60, 61, 62, 63, 64, 65, 67, 68, 69, -- 70, -- 102, 103, 104, 105, 106, 107, 108, 109, -- 111, 112, 113, 114, 115, 116, 117, 118, 119, -- 120 --} -- - gamescope.config.known_displays.legiongos_lcd = { - pretty_name = "Lenovo Legion Go S LCD", - hdr = { -- -- The Legion Go S panel does not support HDR. -+ -- Setup some fallbacks for undocking with HDR, meant -+ -- for the internal panel. It does not support HDR. - supported = false, - force_enabled = false, -- eotf = gamescope.eotf.gamma22, -- max_content_light_level = 500, -- max_frame_average_luminance = 500, -- min_content_light_level = 0.5 -+ eotf = gamescope.eotf.gamma22, -+ max_content_light_level = 500, -+ max_frame_average_luminance = 500, -+ min_content_light_level = 0.5 - }, -- -- 60Hz has a different pixel clock than 120Hz in the EDID with VRR disabled, -- -- and the panel is not responsive to tuning VFPs. To cover the non-VRR -- -- limiter, an LCD Deck-style dynamic modegen method works best. -- dynamic_refresh_rates = legiongos_lcd_refresh_rates, -+ -+ dynamic_refresh_rates = { -+ 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, -+ 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, -+ 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, -+ 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, -+ 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, -+ 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, -+ 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, -+ 118, 119, 120 -+ }, -+ -+ -- Detailed Timing Descriptors: -+ -- DTD 1: 1920x1200 120.002 Hz 8:5 151.683 kHz 315.500 MHz (172 mm x 107 mm) -+ -- Modeline "1920x1200_120.00" 315.500 1920 1968 2000 2080 1200 1254 1260 1264 -HSync -VSync -+ -- DTD 2: 1920x1200 60.001 Hz 8:5 75.841 kHz 157.750 MHz (172 mm x 107 mm) -+ -- Modeline "1920x1200_60.00" 157.750 1920 1968 2000 2080 1200 1254 1260 1264 -HSync -VSync - dynamic_modegen = function(base_mode, refresh) -- debug("Generating mode "..refresh.."Hz for Lenovo Legion Go S LCD") -- local mode = base_mode -+ debug("Generating mode "..refresh.."Hz with fixed pixel clock") -+ local vfps = { -+ 1950, 1885, 1824, 1764, 1707, 1652, 1599, 1548, 1499, 1451, 1405, -+ 1361, 1318, 1277, 1237, 1198, 1160, 1124, 1088, 1054, 1021, 988, -+ 957, 927, 897, 868, 840, 813, 786, 760, 735, 710, 686, 663, 640, -+ 618, 596, 575, 554, 534, 514, 495, 476, 457, 439, 421, 404, 387, -+ 370, 354, 338, 322, 307, 292, 277, 263, 249, 235, 221, 208, 195, -+ 182, 169, 157, 145, 133, 121, 109, 98, 87, 76, 65, 54 -+ } -+ local vfp = vfps[zero_index(refresh - 48)] -+ if vfp == nil then -+ warn("Couldn't do refresh "..refresh.." on ROG Ally") -+ return base_mode -+ end - -- -- These are only tuned for 1920x1200. -- gamescope.modegen.set_resolution(mode, 1920, 1200) -+ local mode = base_mode - -- -- hfp, hsync, hbp -- gamescope.modegen.set_h_timings(mode, 48, 36, 80) -- -- vfp, vsync, vbp -- gamescope.modegen.set_v_timings(mode, 54, 6, 4) -- mode.clock = gamescope.modegen.calc_max_clock(mode, refresh) -+ gamescope.modegen.adjust_front_porch(mode, vfp) - mode.vrefresh = gamescope.modegen.calc_vrefresh(mode) - - --debug(inspect(mode)) - return mode - end, -+ -+ - matches = function(display) - local lcd_types = { - { vendor = "CSW", model = "PN8007QB1-1", product = 0x0800 }, -@@ -56,5 +70,4 @@ gamescope.config.known_displays.legiongos_lcd = { - return -1 - end - } --debug("Registered Lenovo Legion Go S LCD as a known display") ----debug(inspect(gamescope.config.known_displays.legiongos_lcd)) -+debug("Registered Lenovo Legion Go S LCD as a known display") -\ No newline at end of file --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Fri, 29 Aug 2025 16:45:39 +0200 -Subject: feat: add DPMS support through an Atom - ---- - src/Backends/DRMBackend.cpp | 15 ++++++++++++++- - src/rendervulkan.hpp | 2 ++ - src/steamcompmgr.cpp | 18 +++++++++++++++--- - src/xwayland_ctx.hpp | 1 + - 4 files changed, 32 insertions(+), 4 deletions(-) - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index d09030e0cf5e..2861f30aaf66 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -2827,6 +2827,9 @@ int drm_prepare( struct drm_t *drm, bool async, const struct FrameInfo_t *frameI - drm->needs_modeset = true; - } - -+ if (drm->pCRTC && drm->pCRTC->GetProperties().ACTIVE->GetCurrentValue() != !frameInfo->dpms) -+ drm->needs_modeset = true; -+ - drm_colorspace uColorimetry = DRM_MODE_COLORIMETRY_DEFAULT; - - const bool bWantsHDR10 = g_bOutputHDREnabled && frameInfo->outputEncodingEOTF == EOTF_PQ; -@@ -2894,6 +2897,9 @@ int drm_prepare( struct drm_t *drm, bool async, const struct FrameInfo_t *frameI - needs_modeset = true; - } - -+ if ( frameInfo->dpms ) -+ bSleep = true; -+ - if ( !bSleep ) - { - if ( drm->pCRTC != nullptr ) -@@ -2973,7 +2979,13 @@ int drm_prepare( struct drm_t *drm, bool async, const struct FrameInfo_t *frameI - - if ( drm->pCRTC && !bSleep ) - { -- drm->pCRTC->GetProperties().ACTIVE->SetPendingValue( drm->req, 1u, true ); -+ if ( frameInfo->dpms ) { -+ // We can't disable a CRTC if it's already disabled -+ if (drm->pCRTC->GetProperties().ACTIVE->GetCurrentValue() != 0) -+ drm->pCRTC->GetProperties().ACTIVE->SetPendingValue(drm->req, 0, true); -+ } -+ else -+ drm->pCRTC->GetProperties().ACTIVE->SetPendingValue( drm->req, 1u, true ); - drm->pCRTC->GetProperties().MODE_ID->SetPendingValue( drm->req, drm->pending.mode_id ? drm->pending.mode_id->GetBlobValue() : 0lu, true ); - - if ( drm->pCRTC->GetProperties().VRR_ENABLED ) -@@ -3594,6 +3606,7 @@ namespace gamescope - - FrameInfo_t presentCompFrameInfo = {}; - presentCompFrameInfo.allowVRR = pFrameInfo->allowVRR; -+ presentCompFrameInfo.dpms = pFrameInfo->dpms; - presentCompFrameInfo.outputEncodingEOTF = pFrameInfo->outputEncodingEOTF; - - if ( bNeedsFullComposite ) -diff --git a/src/rendervulkan.hpp b/src/rendervulkan.hpp -index 93a4a6027f55..0833fc46ffd7 100644 ---- a/src/rendervulkan.hpp -+++ b/src/rendervulkan.hpp -@@ -292,6 +292,8 @@ struct FrameInfo_t - bool applyOutputColorMgmt; // drm only - EOTF outputEncodingEOTF; - -+ bool dpms; -+ - int layerCount; - struct Layer_t - { -diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp -index 07e45b19fc61..f25f810f9387 100644 ---- a/src/steamcompmgr.cpp -+++ b/src/steamcompmgr.cpp -@@ -174,6 +174,8 @@ bool g_bSteamIsActiveWindow = false; - bool g_bForceInternal = false; - bool b_bForceFrameLimit = false; - bool g_bRefreshHalveEnable = false; -+bool g_bDPMS = false; -+bool g_bDPMS_set = false; - - namespace gamescope - { -@@ -2421,7 +2423,7 @@ gamescope::ConVar cv_paint_cursor_plane{ "paint_cursor_plane", true }; - gamescope::ConVar cv_paint_mura_plane{ "paint_mura_plane", true }; - - static void --paint_all( global_focus_t *pFocus, bool async ) -+paint_all(global_focus_t *pFocus, bool async, bool dpms) - { - if ( !pFocus ) - return; -@@ -2479,6 +2481,7 @@ paint_all( global_focus_t *pFocus, bool async ) - frameInfo.outputEncodingEOTF = g_ColorMgmt.pending.outputEncodingEOTF; - frameInfo.allowVRR = cv_adaptive_sync; - frameInfo.bFadingOut = fadingOut; -+ frameInfo.dpms = dpms; - - // If the window we'd paint as the base layer is the streaming client, - // find the video underlay and put it up first in the scenegraph -@@ -6234,6 +6237,10 @@ handle_property_notify(xwayland_ctx_t *ctx, XPropertyEvent *ev) - { - g_bRefreshHalveEnable = !!get_prop( ctx, ctx->root, ctx->atoms.gamescopeFrameHalveAtom, 0 ); - } -+ if (ev->atom == ctx->atoms.gamescopeDPMS) -+ { -+ g_bDPMS = !!get_prop(ctx, ctx->root, ctx->atoms.gamescopeDPMS, 0); -+ } - } - - static int -@@ -7470,6 +7477,7 @@ void init_xwayland_ctx(uint32_t serverId, gamescope_xwayland_server_t *xwayland_ - ctx->atoms.targets = XInternAtom(ctx->dpy, "TARGETS", false); - - ctx->atoms.gamescopeFrameHalveAtom = XInternAtom( ctx->dpy, "GAMESCOPE_STEAMUI_HALFHZ", false );; -+ ctx->atoms.gamescopeDPMS = XInternAtom(ctx->dpy, "GAMESCOPE_DPMS", false); - - ctx->root_width = DisplayWidth(ctx->dpy, ctx->scr); - ctx->root_height = DisplayHeight(ctx->dpy, ctx->scr); -@@ -8611,10 +8619,14 @@ steamcompmgr_main(int argc, char **argv) - bShouldPaint = false; - } - -+ if ( g_bDPMS != g_bDPMS_set && vblank ) -+ bShouldPaint = true; -+ - if ( bShouldPaint ) - { -- paint_all( pPaintFocus, eFlipType == FlipType::Async ); -- -+ paint_all( pPaintFocus, eFlipType == FlipType::Async, g_bDPMS ); -+ -+ g_bDPMS_set = g_bDPMS; - bPainted = true; - } - } -diff --git a/src/xwayland_ctx.hpp b/src/xwayland_ctx.hpp -index e4eec9fa0c48..2347cbb3340c 100644 ---- a/src/xwayland_ctx.hpp -+++ b/src/xwayland_ctx.hpp -@@ -248,6 +248,7 @@ struct xwayland_ctx_t final : public gamescope::IWaitable - Atom targets; - - Atom gamescopeFrameHalveAtom; -+ Atom gamescopeDPMS; - } atoms; - - bool HasQueuedEvents(); --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Sun, 29 Jun 2025 13:16:59 +0200 -Subject: update misyltoad urls - ---- - .gitmodules | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/.gitmodules b/.gitmodules -index ec7d4e430ee8..17ba783f809b 100644 ---- a/.gitmodules -+++ b/.gitmodules -@@ -1,12 +1,12 @@ - [submodule "subprojects/wlroots"] - path = subprojects/wlroots -- url = https://github.com/Joshua-Ashton/wlroots.git -+ url = https://github.com/misyltoad/wlroots.git - [submodule "subprojects/libliftoff"] - path = subprojects/libliftoff - url = https://gitlab.freedesktop.org/emersion/libliftoff.git - [submodule "subprojects/vkroots"] - path = subprojects/vkroots -- url = https://github.com/Joshua-Ashton/vkroots -+ url = https://github.com/misyltoad/vkroots - [submodule "subprojects/libdisplay-info"] - path = subprojects/libdisplay-info - url = https://gitlab.freedesktop.org/emersion/libdisplay-info -@@ -15,7 +15,7 @@ - url = https://github.com/ValveSoftware/openvr.git - [submodule "src/reshade"] - path = src/reshade -- url = https://github.com/Joshua-Ashton/reshade -+ url = https://github.com/misyltoad/reshade - [submodule "thirdparty/SPIRV-Headers"] - path = thirdparty/SPIRV-Headers - url = https://github.com/KhronosGroup/SPIRV-Headers/ --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Fri, 29 Aug 2025 15:31:34 +0200 -Subject: fix: drain timer fds to avoid epoll_wait returning constantly - -Currently, if the VBlank or VRR timers expire without being rescheduled, -their FDs remain readable, causing epoll_wait to return instantly.|Drain -the FDs in the OnPollIn handlers to prevent this. ---- - src/waitable.h | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/waitable.h b/src/waitable.h -index 30edf8f52deb..36ac61ee7233 100644 ---- a/src/waitable.h -+++ b/src/waitable.h -@@ -182,6 +182,11 @@ namespace gamescope - ArmTimer( 0ul, false ); - } - -+ void OnPollIn() -+ { -+ IWaitable::Drain(m_nFD); -+ } -+ - int GetFD() - { - return m_nFD; -@@ -200,6 +205,7 @@ namespace gamescope - - void OnPollIn() final - { -+ ITimerWaitable::OnPollIn(); - m_fnPollFunc(); - } - private: --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Sat, 30 Aug 2025 15:12:39 +0200 -Subject: fix(intel): allow night mode and color adjustment via compositing - ---- - src/Backends/DRMBackend.cpp | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index 2861f30aaf66..3c4e5907b2a9 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -3481,6 +3481,17 @@ namespace gamescope - bNeedsFullComposite |= pFrameInfo->bFadingOut; - bNeedsFullComposite |= !g_reshade_effect.empty(); - -+ if ( !SupportsColorManagement() ) { -+ // Fuzzy match default values to see if we need to composite -+ bNeedsFullComposite |= g_ColorMgmt.pending.nightmode.amount != 0.0f; -+ bNeedsFullComposite |= g_ColorMgmt.pending.outputVirtualWhite.x > 0 && -+ abs(g_ColorMgmt.pending.outputVirtualWhite.x - 0.3127f) > 0.001f; -+ bNeedsFullComposite |= g_ColorMgmt.pending.outputVirtualWhite.y > 0 && -+ abs(g_ColorMgmt.pending.outputVirtualWhite.y - 0.3290f) > 0.001f; -+ bNeedsFullComposite |= g_ColorMgmt.pending.sdrGamutWideness >= 0 && -+ abs(g_ColorMgmt.pending.sdrGamutWideness - 0.5f) > 0.02f; -+ } -+ - if ( g_bOutputHDREnabled ) - { - bNeedsFullComposite |= g_bHDRItmEnable; --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Sat, 30 Aug 2025 15:32:00 +0200 -Subject: fix(hdr): disable PQ on handheld internal displays - -For some reason, the PQ transfer function does not work on current -handhelds. So use gamma 22 instead. This allows us to skip creating -configs and read the HDR metadata from the displays. ---- - src/Backends/DRMBackend.cpp | 8 +++++++- - 1 file changed, 7 insertions(+), 1 deletion(-) - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index 3c4e5907b2a9..83da1bfe231b 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -2465,7 +2465,13 @@ namespace gamescope - pHDRStaticMetadata && pHDRStaticMetadata->eotfs && pHDRStaticMetadata->eotfs->pq ) - { - m_Mutable.HDR.bExposeHDRSupport = true; -- m_Mutable.HDR.eOutputEncodingEOTF = EOTF_PQ; -+ if (GetScreenType() == GAMESCOPE_SCREEN_TYPE_INTERNAL) -+ // Current handheld internal displays have issues -+ // with PQ, e.g., Ayaneo 3, Steam Deck etc. -+ // Use Gamma 2.2 as the safest option for now. -+ m_Mutable.HDR.eOutputEncodingEOTF = EOTF_Gamma22; -+ else -+ m_Mutable.HDR.eOutputEncodingEOTF = EOTF_PQ; - m_Mutable.HDR.uMaxContentLightLevel = - pHDRStaticMetadata->desired_content_max_luminance - ? nits_to_u16( pHDRStaticMetadata->desired_content_max_luminance ) --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Fri, 29 Aug 2025 17:17:06 +0200 -Subject: chore: use system glm, stb - ---- - meson.build | 6 ++---- - 1 file changed, 2 insertions(+), 4 deletions(-) - -diff --git a/meson.build b/meson.build -index 5e5bd4cdc7c4..802e4a052bcd 100644 ---- a/meson.build -+++ b/meson.build -@@ -50,10 +50,8 @@ dep_x11 = dependency('x11') - dep_wayland = dependency('wayland-client') - vulkan_dep = dependency('vulkan') - --glm_proj = subproject('glm') --glm_dep = glm_proj.get_variable('glm_dep') --stb_proj = subproject('stb') --stb_dep = stb_proj.get_variable('stb_dep') -+glm_dep = dependency('glm') -+stb_dep = dependency('stb') - - if get_option('enable_openvr_support') - openvr_dep = dependency('openvr', version: '>= 2.7', required : false) --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Fri, 29 Aug 2025 19:04:17 +0200 -Subject: Revert "mangoapp: plumb engineName" - -This reverts commit b9f20436d1bdf7bd8212541817b254e1b4c8eb1e. ---- - layer/VkLayer_FROG_gamescope_wsi.cpp | 9 +-------- - protocol/gamescope-swapchain.xml | 1 - - src/WaylandServer/WaylandServerLegacy.h | 1 - - src/mangoapp.cpp | 6 ------ - src/steamcompmgr.cpp | 6 ------ - src/steamcompmgr.hpp | 1 - - src/steamcompmgr_shared.hpp | 2 -- - src/wlserver.cpp | 4 +--- - 8 files changed, 2 insertions(+), 28 deletions(-) - -diff --git a/layer/VkLayer_FROG_gamescope_wsi.cpp b/layer/VkLayer_FROG_gamescope_wsi.cpp -index 263cbc37bd88..d1835a4c7487 100644 ---- a/layer/VkLayer_FROG_gamescope_wsi.cpp -+++ b/layer/VkLayer_FROG_gamescope_wsi.cpp -@@ -404,7 +404,6 @@ namespace GamescopeWSILayer { - struct GamescopeInstanceData { - wl_display* display; - uint32_t appId = 0; -- std::string engineName; - GamescopeLayerClient::Flags flags = 0; - }; - VKROOTS_DEFINE_SYNCHRONIZED_MAP_TYPE(GamescopeInstance, VkInstance); -@@ -631,14 +630,9 @@ namespace GamescopeWSILayer { - { - uint32_t appId = clientAppId(); - -- std::string engineName; -- if (pCreateInfo->pApplicationInfo && pCreateInfo->pApplicationInfo->pEngineName) -- engineName = pCreateInfo->pApplicationInfo->pEngineName; -- - auto state = GamescopeInstance::create(*pInstance, GamescopeInstanceData { - .display = display, - .appId = appId, -- .engineName = engineName, - .flags = defaultLayerClientFlags(pCreateInfo->pApplicationInfo, appId), - }); - -@@ -1275,8 +1269,7 @@ namespace GamescopeWSILayer { - uint32_t(pCreateInfo->imageColorSpace), - uint32_t(pCreateInfo->compositeAlpha), - uint32_t(pCreateInfo->preTransform), -- uint32_t(pCreateInfo->clipped), -- gamescopeInstance->engineName.c_str()); -+ uint32_t(pCreateInfo->clipped)); - - return VK_SUCCESS; - } -diff --git a/protocol/gamescope-swapchain.xml b/protocol/gamescope-swapchain.xml -index 58ac8463b752..91be3fc02d67 100644 ---- a/protocol/gamescope-swapchain.xml -+++ b/protocol/gamescope-swapchain.xml -@@ -89,7 +89,6 @@ - - - -- - - - -diff --git a/src/WaylandServer/WaylandServerLegacy.h b/src/WaylandServer/WaylandServerLegacy.h -index 63ee2ca17e8c..0facb7dc8b1e 100644 ---- a/src/WaylandServer/WaylandServerLegacy.h -+++ b/src/WaylandServer/WaylandServerLegacy.h -@@ -29,7 +29,6 @@ struct wlserver_vk_swapchain_feedback - VkCompositeAlphaFlagBitsKHR vk_composite_alpha; - VkSurfaceTransformFlagBitsKHR vk_pre_transform; - VkBool32 vk_clipped; -- std::shared_ptr vk_engine_name; - - std::shared_ptr hdr_metadata_blob; - }; -diff --git a/src/mangoapp.cpp b/src/mangoapp.cpp -index d8e1ce7edafe..91e01bc275c6 100644 ---- a/src/mangoapp.cpp -+++ b/src/mangoapp.cpp -@@ -31,7 +31,6 @@ struct mangoapp_msg_v1 { - uint16_t displayRefresh; - bool bAppWantsHDR : 1; - bool bSteamFocused : 1; -- char engineName[40]; - - // WARNING: Always ADD fields, never remove or repurpose fields - } __attribute__((packed)) mangoapp_msg_v1; -@@ -61,11 +60,6 @@ void mangoapp_update( uint64_t visible_frametime, uint64_t app_frametime_ns, uin - mangoapp_msg_v1.displayRefresh = (uint16_t) gamescope::ConvertmHzToHz( g_nOutputRefresh ); - mangoapp_msg_v1.bAppWantsHDR = g_bAppWantsHDRCached; - mangoapp_msg_v1.bSteamFocused = g_focusedBaseAppId == 769; -- memset(mangoapp_msg_v1.engineName, 0, sizeof(mangoapp_msg_v1.engineName)); -- if (focusWindow_engine) -- focusWindow_engine->copy(mangoapp_msg_v1.engineName, sizeof(mangoapp_msg_v1.engineName) / sizeof(char)); -- else -- std::string("gamescope").copy(mangoapp_msg_v1.engineName, sizeof(mangoapp_msg_v1.engineName) / sizeof(char)); - msgsnd(msgid, &mangoapp_msg_v1, sizeof(mangoapp_msg_v1) - sizeof(mangoapp_msg_v1.hdr.msg_type), IPC_NOWAIT); - } - -diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp -index f25f810f9387..d5a6a4af51df 100644 ---- a/src/steamcompmgr.cpp -+++ b/src/steamcompmgr.cpp -@@ -1026,7 +1026,6 @@ int g_BlurRadius = 5; - unsigned int g_BlurFadeStartTime = 0; - - pid_t focusWindow_pid; --std::shared_ptr focusWindow_engine = nullptr; - - focus_t g_steamcompmgr_xdg_focus; - std::vector> g_steamcompmgr_xdg_wins; -@@ -6396,9 +6395,6 @@ bool handle_done_commit( steamcompmgr_win_t *w, xwayland_ctx_t *ctx, uint64_t co - uint32_t j; - for ( j = 0; j < w->commit_queue.size(); j++ ) - { -- if (w->commit_queue[ j ]->feedback.has_value()) -- w->engineName = w->commit_queue[ j ]->feedback->vk_engine_name; -- - if ( w->commit_queue[ j ]->commitID == commitID ) - { - gpuvis_trace_printf( "commit %lu done", w->commit_queue[ j ]->commitID ); -@@ -6443,8 +6439,6 @@ bool handle_done_commit( steamcompmgr_win_t *w, xwayland_ctx_t *ctx, uint64_t co - if ( !cv_paint_debug_pause_base_plane ) - g_HeldCommits[ HELD_COMMIT_BASE ] = w->commit_queue[ j ]; - hasRepaint = true; -- -- focusWindow_engine = w->engineName; - } - - if ( w == pFocus->overrideWindow ) -diff --git a/src/steamcompmgr.hpp b/src/steamcompmgr.hpp -index 98e927296483..2f489a26a0aa 100644 ---- a/src/steamcompmgr.hpp -+++ b/src/steamcompmgr.hpp -@@ -144,7 +144,6 @@ struct wlserver_x11_surface_info *lookup_x11_surface_info_from_xid( gamescope_xw - - extern gamescope::VBlankTime g_SteamCompMgrVBlankTime; - extern pid_t focusWindow_pid; --extern std::shared_ptr focusWindow_engine; - - void init_xwayland_ctx(uint32_t serverId, gamescope_xwayland_server_t *xwayland_server); - void gamescope_set_selection(std::string contents, GamescopeSelection eSelection); -diff --git a/src/steamcompmgr_shared.hpp b/src/steamcompmgr_shared.hpp -index 5a2198d97bed..4027013148b2 100644 ---- a/src/steamcompmgr_shared.hpp -+++ b/src/steamcompmgr_shared.hpp -@@ -149,8 +149,6 @@ struct steamcompmgr_win_t { - bool unlockedForFrameCallback = false; - bool receivedDoneCommit = false; - -- std::shared_ptr engineName; -- - std::vector< gamescope::Rc > commit_queue; - std::shared_ptr> icon; - -diff --git a/src/wlserver.cpp b/src/wlserver.cpp -index a694b5245a97..42c6bc0c2430 100644 ---- a/src/wlserver.cpp -+++ b/src/wlserver.cpp -@@ -862,8 +862,7 @@ static void gamescope_swapchain_swapchain_feedback( struct wl_client *client, st - uint32_t vk_colorspace, - uint32_t vk_composite_alpha, - uint32_t vk_pre_transform, -- uint32_t vk_clipped, -- const char *vk_engine_name) -+ uint32_t vk_clipped) - { - wlserver_wl_surface_info *wl_info = (wlserver_wl_surface_info *)wl_resource_get_user_data( resource ); - if ( wl_info ) -@@ -875,7 +874,6 @@ static void gamescope_swapchain_swapchain_feedback( struct wl_client *client, st - .vk_composite_alpha = VkCompositeAlphaFlagBitsKHR(vk_composite_alpha), - .vk_pre_transform = VkSurfaceTransformFlagBitsKHR(vk_pre_transform), - .vk_clipped = VkBool32(vk_clipped), -- .vk_engine_name = std::make_shared(vk_engine_name), - .hdr_metadata_blob = nullptr, - }); - } --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Antheas Kapenekakis -Date: Sun, 31 Aug 2025 20:55:02 +0200 -Subject: fix: separate blend tf to its own check - -Currently, blend tf and other color mgmt checks are combined into one -check. However, new hardware does not support the blend tf for a plane, -causing loss of all color mgmt features. Separate the checks so that -color mgmt can still be used on such hardware. - -Also, add the other function checks to drm_supports_color_mgmt so that -there are no edge cases where only subproperties are supported. ---- - src/Backends/DRMBackend.cpp | 40 +++++++++++++++++++++++++++++-------- - 1 file changed, 32 insertions(+), 8 deletions(-) - -diff --git a/src/Backends/DRMBackend.cpp b/src/Backends/DRMBackend.cpp -index 83da1bfe231b..c1a714569bf2 100644 ---- a/src/Backends/DRMBackend.cpp -+++ b/src/Backends/DRMBackend.cpp -@@ -559,6 +559,7 @@ extern std::string g_reshade_effect; - - bool drm_update_color_mgmt(struct drm_t *drm); - bool drm_supports_color_mgmt(struct drm_t *drm); -+bool drm_supports_srgb_to_pq(struct drm_t *drm); - bool drm_set_connector( struct drm_t *drm, gamescope::CDRMConnector *conn ); - - struct drm_color_ctm2 { -@@ -2691,13 +2692,15 @@ drm_prepare_liftoff( struct drm_t *drm, const struct FrameInfo_t *frameInfo, boo - } - } - -- if ( drm_supports_color_mgmt( drm ) ) -+ if ( drm_supports_srgb_to_pq( drm ) ) - { - if (!cv_drm_debug_disable_blend_tf && !bSinglePlane) - liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_BLEND_TF", drm->pending.output_tf ); - else -- liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_BLEND_TF", AMDGPU_TRANSFER_FUNCTION_DEFAULT ); -- -+ liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_BLEND_TF", AMDGPU_TRANSFER_FUNCTION_DEFAULT ); -+ } -+ if ( drm_supports_color_mgmt( drm ) ) -+ { - if (!cv_drm_debug_disable_ctm && frameInfo->layers[i].ctm != nullptr) - liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_CTM", frameInfo->layers[i].ctm->GetBlobValue() ); - else -@@ -2712,13 +2715,16 @@ drm_prepare_liftoff( struct drm_t *drm, const struct FrameInfo_t *frameInfo, boo - liftoff_layer_unset_property( drm->lo_layers[ i ], "COLOR_ENCODING" ); - liftoff_layer_unset_property( drm->lo_layers[ i ], "COLOR_RANGE" ); - -+ if ( drm_supports_srgb_to_pq( drm ) ) -+ { -+ liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_BLEND_TF", AMDGPU_TRANSFER_FUNCTION_DEFAULT ); -+ } - if ( drm_supports_color_mgmt( drm ) ) - { - liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_DEGAMMA_TF", AMDGPU_TRANSFER_FUNCTION_DEFAULT ); - liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_SHAPER_LUT", 0 ); - liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_SHAPER_TF", 0 ); - liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_LUT3D", 0 ); -- liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_BLEND_TF", AMDGPU_TRANSFER_FUNCTION_DEFAULT ); - liftoff_layer_set_property( drm->lo_layers[ i ], "AMD_PLANE_CTM", 0 ); - } - } -@@ -2870,7 +2876,7 @@ int drm_prepare( struct drm_t *drm, bool async, const struct FrameInfo_t *frameI - - bool bSinglePlane = frameInfo->layerCount < 2 && cv_drm_single_plane_optimizations; - -- if ( drm_supports_color_mgmt( &g_DRM ) && frameInfo->applyOutputColorMgmt ) -+ if ( drm_supports_srgb_to_pq( &g_DRM ) && frameInfo->applyOutputColorMgmt ) - { - if ( !cv_drm_debug_disable_output_tf && !bSinglePlane ) - { -@@ -3371,7 +3377,20 @@ bool drm_supports_color_mgmt(struct drm_t *drm) - if ( !drm->pPrimaryPlane ) - return false; - -- return drm->pPrimaryPlane->GetProperties().AMD_PLANE_CTM.has_value() && drm->pPrimaryPlane->GetProperties().AMD_PLANE_BLEND_TF.has_value(); -+ return drm->pPrimaryPlane->GetProperties().AMD_PLANE_CTM.has_value() && // dm->dc->caps.color.mpc.gamut_remap -+ drm->pPrimaryPlane->GetProperties().AMD_PLANE_SHAPER_LUT.has_value() && // dpp_color_caps.hw_3d_lut -+ drm->pPrimaryPlane->GetProperties().AMD_PLANE_DEGAMMA_TF.has_value(); // dpp_color_caps.dgam_ram || dpp_color_caps.gamma_corr -+} -+ -+bool drm_supports_srgb_to_pq(struct drm_t *drm) -+{ -+ if ( g_bForceDisableColorMgmt ) -+ return false; -+ -+ if ( !drm->pPrimaryPlane ) -+ return false; -+ -+ return drm->pPrimaryPlane->GetProperties().AMD_PLANE_BLEND_TF.has_value(); // dpp_color_caps.ogam_ram - } - - std::span drm_get_valid_refresh_rates( struct drm_t *drm ) -@@ -3501,12 +3520,12 @@ namespace gamescope - if ( g_bOutputHDREnabled ) - { - bNeedsFullComposite |= g_bHDRItmEnable; -- if ( !SupportsColorManagement() ) -+ if ( !SupportsSRGBtoPQ() ) - bNeedsFullComposite |= ( pFrameInfo->layerCount > 1 || pFrameInfo->layers[0].colorspace != GAMESCOPE_APP_TEXTURE_COLORSPACE_HDR10_PQ ); - } - else - { -- if ( !SupportsColorManagement() ) -+ if ( !SupportsSRGBtoPQ() ) - bNeedsFullComposite |= ColorspaceIsHDR( pFrameInfo->layers[0].colorspace ); - } - -@@ -3915,6 +3934,11 @@ namespace gamescope - return drm_supports_color_mgmt( &g_DRM ); - } - -+ bool SupportsSRGBtoPQ() const -+ { -+ return drm_supports_srgb_to_pq( &g_DRM ); -+ } -+ - int Commit( const FrameInfo_t *pFrameInfo ) - { - drm_t *drm = &g_DRM; --- -2.51.0 - - -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: Colin Kinloch -Date: Fri, 1 Aug 2025 16:06:23 +0100 -Subject: WaylandBackend: Check features before using color management - -This stops compositors lacking required features, transfer functions or -primaries from triggering protocol errors on start. ---- - src/Backends/WaylandBackend.cpp | 32 ++++++++++++++++++-------------- - 1 file changed, 18 insertions(+), 14 deletions(-) - -diff --git a/src/Backends/WaylandBackend.cpp b/src/Backends/WaylandBackend.cpp -index 664ed0eac070..1171980ba61d 100644 ---- a/src/Backends/WaylandBackend.cpp -+++ b/src/Backends/WaylandBackend.cpp -@@ -1990,13 +1990,14 @@ namespace gamescope - return false; - if ( !Algorithm::Contains( m_WPColorManagerFeatures.eFeatures, WP_COLOR_MANAGER_V1_FEATURE_SET_LUMINANCES ) ) - return false; -+ if ( !Algorithm::Contains( m_WPColorManagerFeatures.eFeatures, WP_COLOR_MANAGER_V1_FEATURE_WINDOWS_SCRGB ) ) -+ return false; - - // Transfer Functions - if ( !Algorithm::Contains( m_WPColorManagerFeatures.eTransferFunctions, WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_SRGB ) ) - return false; - if ( !Algorithm::Contains( m_WPColorManagerFeatures.eTransferFunctions, WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ ) ) - return false; -- // TODO: Need scRGB - - // Primaries - if ( !Algorithm::Contains( m_WPColorManagerFeatures.ePrimaries, WP_COLOR_MANAGER_V1_PRIMARIES_SRGB ) ) -@@ -2006,6 +2007,22 @@ namespace gamescope - - return true; - }(); -+ -+ if ( m_WPColorManagerFeatures.bSupportsGamescopeColorManagement ) -+ { -+ // HDR10. -+ { -+ wp_image_description_creator_params_v1 *pParams = wp_color_manager_v1_create_parametric_creator( m_pWPColorManager ); -+ wp_image_description_creator_params_v1_set_primaries_named( pParams, WP_COLOR_MANAGER_V1_PRIMARIES_BT2020 ); -+ wp_image_description_creator_params_v1_set_tf_named( pParams, WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ ); -+ m_pWPImageDescriptions[ GAMESCOPE_APP_TEXTURE_COLORSPACE_HDR10_PQ ] = wp_image_description_creator_params_v1_create( pParams ); -+ } -+ -+ // scRGB -+ { -+ m_pWPImageDescriptions[ GAMESCOPE_APP_TEXTURE_COLORSPACE_SCRGB ] = wp_color_manager_v1_create_windows_scrgb( m_pWPColorManager ); -+ } -+ } - } - - m_pLibDecor = libdecor_new( m_pDisplay, &s_LibDecorInterface ); -@@ -2476,19 +2493,6 @@ namespace gamescope - { - m_pWPColorManager = (wp_color_manager_v1 *)wl_registry_bind( pRegistry, uName, &wp_color_manager_v1_interface, 1u ); - wp_color_manager_v1_add_listener( m_pWPColorManager, &s_WPColorManagerListener, this ); -- -- // HDR10. -- { -- wp_image_description_creator_params_v1 *pParams = wp_color_manager_v1_create_parametric_creator( m_pWPColorManager ); -- wp_image_description_creator_params_v1_set_primaries_named( pParams, WP_COLOR_MANAGER_V1_PRIMARIES_BT2020 ); -- wp_image_description_creator_params_v1_set_tf_named( pParams, WP_COLOR_MANAGER_V1_TRANSFER_FUNCTION_ST2084_PQ ); -- m_pWPImageDescriptions[ GAMESCOPE_APP_TEXTURE_COLORSPACE_HDR10_PQ ] = wp_image_description_creator_params_v1_create( pParams ); -- } -- -- // scRGB -- { -- m_pWPImageDescriptions[ GAMESCOPE_APP_TEXTURE_COLORSPACE_SCRGB ] = wp_color_manager_v1_create_windows_scrgb( m_pWPColorManager ); -- } - } - else if ( !strcmp( pInterface, zwp_pointer_constraints_v1_interface.name ) ) - { --- -2.51.0 diff --git a/anda/games/terra-gamescope/terra-gamescope.spec b/anda/games/terra-gamescope/terra-gamescope.spec index 3f1e43d863..06e056b5f4 100755 --- a/anda/games/terra-gamescope/terra-gamescope.spec +++ b/anda/games/terra-gamescope/terra-gamescope.spec @@ -2,18 +2,16 @@ %global _default_patch_fuzz 2 %global build_timestamp %(date +"%Y%m%d") -#global gamescope_tag 3.15.11 -%global gamescope_commit 2f30679c80791844c29402d232462874fe23dd46 +%global gamescope_commit 7c5ebe991af905c17fa26f6287704ff07dcf69ca %define short_commit %(echo %{gamescope_commit} | cut -c1-8) Name: terra-gamescope -#Version: 100.%{gamescope_tag} -Version: 134.%{short_commit} +Version: 137.%{short_commit} Release: 1%?dist Summary: Micro-compositor for video games on Wayland License: BSD -URL: https://github.com/ValveSoftware/gamescope +URL: https://github.com/OpenGamingCollective/gamescope Provides: gamescope = %{version}-%{release} Conflicts: gamescope @@ -21,68 +19,67 @@ Conflicts: gamescope # Create stb.pc to satisfy dependency('stb') Source0: stb.pc -Patch0: 0001-cstdint.patch +Patch0: Use-system-stb-glm.patch -# https://hhd.dev/ -# https://github.com/ChimeraOS/gamescope -Patch1: handheld.patch +Patch1: 0001-cstdint.patch -#Patch2: https://github.com/ValveSoftware/gamescope/pull/1867.patch +%if 0%{?fedora} >= 44 +# Fix build with libinput >= 1.27 / GCC 16 (-Werror=switch) +Patch2: 0002-wlroots-libinput-switch-keypad-slide.patch +%endif -BuildRequires: meson >= 0.54.0 -BuildRequires: ninja-build BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ +BuildRequires: git-core BuildRequires: glm-devel BuildRequires: google-benchmark-devel -BuildRequires: libXmu-devel BuildRequires: libXcursor-devel -BuildRequires: libeis-devel -BuildRequires: pixman-devel +BuildRequires: libXmu-devel +BuildRequires: meson >= 0.54.0 +BuildRequires: ninja-build +BuildRequires: pkgconfig(hwdata) +BuildRequires: pkgconfig(libavif) +BuildRequires: pkgconfig(libcap) +BuildRequires: pkgconfig(libdecor-0) BuildRequires: pkgconfig(libdisplay-info) -BuildRequires: pkgconfig(pixman-1) +BuildRequires: pkgconfig(libdrm) +BuildRequires: pkgconfig(libeis-1.0) +BuildRequires: (pkgconfig(libliftoff) >= %{libliftoff_minver} with pkgconfig(libliftoff) < 0.6) +BuildRequires: pkgconfig(libpipewire-0.3) +BuildRequires: pkgconfig(libudev) +BuildRequires: pkgconfig(luajit) +#BuildRequires: pkgconfig(openvr) >= 2.7 +BuildRequires: pkgconfig(sdl2) +BuildRequires: pkgconfig(vulkan) +BuildRequires: pkgconfig(wayland-protocols) >= 1.17 +BuildRequires: pkgconfig(wayland-scanner) +BuildRequires: pkgconfig(wayland-server) +BuildRequires: pkgconfig(wlroots-0.18) BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xcomposite) -BuildRequires: pkgconfig(xrender) +BuildRequires: pkgconfig(xdamage) BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xfixes) -BuildRequires: pkgconfig(xxf86vm) -BuildRequires: pkgconfig(xtst) -BuildRequires: pkgconfig(xres) -BuildRequires: pkgconfig(libdrm) -BuildRequires: pkgconfig(vulkan) -BuildRequires: pkgconfig(wayland-scanner) -BuildRequires: pkgconfig(wayland-server) >= 1.23.0 -BuildRequires: pkgconfig(wayland-protocols) >= 1.17 BuildRequires: pkgconfig(xkbcommon) -BuildRequires: pkgconfig(sdl2) -BuildRequires: pkgconfig(libpipewire-0.3) -BuildRequires: pkgconfig(libavif) -BuildRequires: pkgconfig(wlroots) -BuildRequires: pkgconfig(libliftoff) -BuildRequires: pkgconfig(libcap) -BuildRequires: pkgconfig(hwdata) -BuildRequires: pkgconfig(lcms2) -BuildRequires: pkgconfig(luajit) +BuildRequires: pkgconfig(xrender) +BuildRequires: pkgconfig(xres) +BuildRequires: pkgconfig(xtst) +BuildRequires: pkgconfig(xxf86vm) BuildRequires: spirv-headers-devel # Enforce the the minimum EVR to contain fixes for all of: # CVE-2021-28021 CVE-2021-42715 CVE-2021-42716 CVE-2022-28041 CVE-2023-43898 # CVE-2023-45661 CVE-2023-45662 CVE-2023-45663 CVE-2023-45664 CVE-2023-45666 -# CVE-2023-45667 -BuildRequires: stb_image-devel >= 2.28^20231011gitbeebb24-12 +# CVE-2023-45667, upstream issues #1860, #1861 +BuildRequires: stb_image-devel >= 2.30^20251025gitf1c79c0-2 # Header-only library: -static is for tracking per guidelines BuildRequires: stb_image-static BuildRequires: stb_image_resize-devel BuildRequires: stb_image_resize-static BuildRequires: stb_image_write-devel BuildRequires: stb_image_write-static +#BuildRequires: vkroots-devel BuildRequires: /usr/bin/glslangValidator -BuildRequires: libdecor-devel -BuildRequires: libXdamage-devel -BuildRequires: xorg-x11-server-Xwayland-devel -BuildRequires: git # libliftoff hasn't bumped soname, but API/ABI has changed for 0.2.0 release Requires: libliftoff%{?_isa} >= %{libliftoff_minver} @@ -94,6 +91,17 @@ Requires: terra-gamescope-libs(x86-32) = %{version}-%{release} Recommends: mesa-dri-drivers Recommends: mesa-vulkan-drivers +# submodule deps +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libinput) >= 1.21.0 +BuildRequires: pkgconfig(libseat) +BuildRequires: pkgconfig(x11-xcb) +BuildRequires: pkgconfig(xcb) +BuildRequires: pkgconfig(xcb-errors) +BuildRequires: pkgconfig(xcb-icccm) +BuildRequires: pkgconfig(xcb-renderutil) +BuildRequires: pkgconfig(xwayland) + %description %{name} is the micro-compositor optimized for running video games on Wayland. @@ -133,6 +141,7 @@ export PKG_CONFIG_PATH=pkgconfig %{_bindir}/gamescopectl %{_bindir}/gamescopestream %{_bindir}/gamescopereaper +%{_bindir}/gamescope-type %{_datadir}/gamescope/* %files libs @@ -140,5 +149,8 @@ export PKG_CONFIG_PATH=pkgconfig %{_datadir}/vulkan/implicit_layer.d/VkLayer_FROG_gamescope_wsi.*.json %changelog +* Fri Mar 13 2026 Kyle Gospodnetich +- Switch to OGC sources + * Thu Jan 2 2025 Owen-sz - Package gamescope, port from Bazzite diff --git a/anda/games/terra-gamescope/update.rhai b/anda/games/terra-gamescope/update.rhai new file mode 100644 index 0000000000..c0deb9c10f --- /dev/null +++ b/anda/games/terra-gamescope/update.rhai @@ -0,0 +1,6 @@ +if rpm.changed() { + rpm.release(); + let v = gh_commit("OpenGamingCollective/gamescope")); + v.crop(1); + rpm.global("gamescope_commit", v); +} diff --git a/anda/games/udev-joystick-blacklist/udev-joystick-blacklist.spec b/anda/games/udev-joystick-blacklist/udev-joystick-blacklist.spec index 6ca72d26e0..03fd03f672 100644 --- a/anda/games/udev-joystick-blacklist/udev-joystick-blacklist.spec +++ b/anda/games/udev-joystick-blacklist/udev-joystick-blacklist.spec @@ -1,12 +1,12 @@ -%global commit a1ace571823be5979c135e9cb8e9ae103c7641ac +%global commit 1c5c9ccb69ea4ae42251aaa4c5a40a54766e6551 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20250715 +%global commit_date 20260415 Name: udev-joystick-blacklist Version: 0^%{commit_date}git%{shortcommit} -Release: 4%{?dist} +Release: 2%{?dist} Summary: Fix for keyboard/mouse/tablet being detected as joysticks in Linux -License: Public Domain +License: LicenseRef-Fedora-Public-Domain URL: https://github.com/denilsonsa/udev-joystick-blacklist Source0: %{url}/archive/%{commit}.tar.gz BuildRequires: systemd-rpm-macros diff --git a/anda/games/umu/umu-launcher.spec b/anda/games/umu/umu-launcher.spec index 020a809671..3bbc06a054 100644 --- a/anda/games/umu/umu-launcher.spec +++ b/anda/games/umu/umu-launcher.spec @@ -1,6 +1,6 @@ Name: umu-launcher -Version: 1.3.0 -Release: 1%?dist +Version: 1.4.0 +Release: 1%{?dist} Summary: A tool for launching non-steam games with proton License: GPL-3.0-only diff --git a/anda/langs/crystal/blahaj/update.rhai b/anda/langs/crystal/blahaj/update.rhai index 0eed23daed..474744cf5f 100644 --- a/anda/langs/crystal/blahaj/update.rhai +++ b/anda/langs/crystal/blahaj/update.rhai @@ -1,3 +1 @@ -import "andax/bump_extras.rhai" as bump; - -rpm.version(bump::codeberg("GeopJr/BLAHAJ")); +rpm.version(codeberg("GeopJr/BLAHAJ")); diff --git a/anda/langs/crystal/crystal/crystal.spec b/anda/langs/crystal/crystal/crystal.spec index feac01fc7e..e495403cd5 100644 --- a/anda/langs/crystal/crystal/crystal.spec +++ b/anda/langs/crystal/crystal/crystal.spec @@ -2,8 +2,8 @@ %global bootstrap_version 1.17.1 Name: crystal -Version: 1.19.1 -Release: 1%?dist +Version: 1.20.1 +Release: 1%{?dist} Summary: A general-purpose, object-oriented programming language License: Apache-2.0 Packager: Carl Hörberg diff --git a/anda/langs/dart/dart.spec b/anda/langs/dart/dart.spec index 0fb8dbd671..d49b59b8c9 100644 --- a/anda/langs/dart/dart.spec +++ b/anda/langs/dart/dart.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: dart -Version: 3.11.1 -Release: 1%?dist +Version: 3.11.6 +Release: 1%{?dist} Summary: The Dart Language License: BSD-3-Clause URL: https://dart.dev/ diff --git a/anda/langs/go/chezmoi/chezmoi.spec b/anda/langs/go/chezmoi/chezmoi.spec deleted file mode 100644 index a60a7099ec..0000000000 --- a/anda/langs/go/chezmoi/chezmoi.spec +++ /dev/null @@ -1,74 +0,0 @@ -# Generated by go2rpm 1.15.0 -%bcond check 0 -%bcond bootstrap 0 - -# https://github.com/twpayne/chezmoi -%global goipath github.com/twpayne/chezmoi -Version: 2.70.0 - -%gometa -f - -%global common_description %{expand: -Manage your dotfiles across multiple diverse machines, securely.} - -%global golicenses LICENSE assets/chezmoi.io/docs/license.md\\\ - assets/chezmoi.io/docs/reference/commands/license.md -%global godocs .markdownlint-cli2.yaml README.md docs\\\ - assets/chezmoi.io/snippets/config-format.md\\\ - assets/chezmoi.io/snippets/common-flags/exclude.md\\\ - assets/chezmoi.io/snippets/common-flags/format.md\\\ - assets/chezmoi.io/snippets/common-flags/include.md\\\ - assets/chezmoi.io/snippets/common-flags/init.md\\\ - assets/chezmoi.io/snippets/common-flags/nul-path-\\\ - separator.md assets/chezmoi.io/snippets/common-\\\ - flags/parent-dirs.md\\\ - assets/chezmoi.io/snippets/common-flags/path-style.md\\\ - assets/chezmoi.io/snippets/common-flags/recursive.md\\\ - assets/chezmoi.io/snippets/common-flags/tree.md - -Name: chezmoi -Release: 1%{?dist} -Summary: Manage your dotfiles across multiple diverse machines, securely - -License: MIT -URL: %{gourl} -Source: %{gosource} - -%description %{common_description} - -#gopkg - -%prep -%goprep - -%build -%define gomodulesmode GO111MODULE=on -%define __gobuild_extldflags -X main.version=%version -X main.builtBy=%vendor -go clean -modcache -rm go.sum -go mod tidy -%gobuild -o %{gobuilddir}/bin/chezmoi . - -%install -#gopkginstall -install -m 0755 -vd %{buildroot}%{_bindir} -install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ -install -m 0644 -Dvp completions/chezmoi-completion.bash %{buildroot}%{bash_completions_dir}/chezmoi -install -m 0644 -Dvp completions/chezmoi.fish -t %{buildroot}%{fish_completions_dir}/ -install -m 0644 -Dvp completions/chezmoi.zsh %{buildroot}%{zsh_completions_dir}/_chezmoi - -%if %{without bootstrap} -%if %{with check} -%check -%gocheck -%endif -%endif - -%files -%license LICENSE -%doc README.md -%{_bindir}/chezmoi - -%pkg_completion -Bfz - -#gopkgfiles diff --git a/anda/langs/go/chezmoi/update.rhai b/anda/langs/go/chezmoi/update.rhai deleted file mode 100644 index 375ad36766..0000000000 --- a/anda/langs/go/chezmoi/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(`

The latest version of chezmoi is ([\d.]+)`.find(get("https://www.chezmoi.io"), 1)); diff --git a/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec index b957d662a9..a165c4ae51 100644 --- a/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec +++ b/anda/langs/go/elephant/golang-github-abenz1267-elephant.spec @@ -10,11 +10,11 @@ %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$ %endif -%global providers archlinuxpkgs calc clipboard desktopapplications files menus providerlist runner symbols websearch +%global providers 1password archlinuxpkgs bitwarden bluetooth bookmarks calc clipboard desktopapplications dnfpackages files menus niriactions nirisessions playerctl providerlist runner snippets symbols todo unicode websearch windows wireplumber # https://github.com/abenz1267/elephant %global goipath github.com/abenz1267/elephant -Version: 2.20.2 +Version: 2.21.0 %gometa -f @@ -27,7 +27,7 @@ Elephant - cuz it's phat - is a powerful data provider service and backend for b Name: elephant Release: 1%{?dist} -Summary: None +Summary: Data provider service and backend for building custom application launchers & desktop utilities License: GPL-3.0-only URL: %{gourl} diff --git a/anda/langs/go/elephant/update.rhai b/anda/langs/go/elephant/update.rhai index e8a25fa240..35758fbeb1 100644 --- a/anda/langs/go/elephant/update.rhai +++ b/anda/langs/go/elephant/update.rhai @@ -1 +1,9 @@ rpm.version(gh_rawfile("abenz1267/elephant", "master", "cmd/elephant/version.txt")); +let dir = get("https://api.github.com/repos/abenz1267/elephant/contents/internal/providers/").json_arr(); +let providers = ""; +for f in dir { + if f.size == 0 { // dir + providers += f.name + " "; + } +} +rpm.global("providers", providers[0..providers.len - 1]); diff --git a/anda/langs/go/gh-act/gh-act.spec b/anda/langs/go/gh-act/gh-act.spec index a2a37ca824..05af47ebd3 100644 --- a/anda/langs/go/gh-act/gh-act.spec +++ b/anda/langs/go/gh-act/gh-act.spec @@ -12,7 +12,7 @@ # https://github.com/nektos/act %global goipath github.com/nektos/act -Version: 0.2.84 +Version: 0.2.88 %gometa -f @@ -24,7 +24,7 @@ Run your GitHub Actions locally %global godocs README.md Name: gh-act -Release: 1%?dist +Release: 1%{?dist} Summary: None License: MIT AND ISC AND BSD-3-Clause AND Apache-2.0 AND BSD-2-Clause diff --git a/anda/langs/go/glow/golang-github-charmbracelet-glow.spec b/anda/langs/go/glow/golang-github-charmbracelet-glow.spec index fc26d74694..aa9d1c2762 100644 --- a/anda/langs/go/glow/golang-github-charmbracelet-glow.spec +++ b/anda/langs/go/glow/golang-github-charmbracelet-glow.spec @@ -3,7 +3,7 @@ # https://github.com/charmbracelet/glow %global goipath github.com/charmbracelet/glow -Version: 2.1.1 +Version: 2.1.2 %gometa -f @@ -15,7 +15,7 @@ Render markdown on the CLI, with pizzazz! 💅🏻.} %global godocs README.md Name: %{goname} -Release: 1%?dist +Release: 1%{?dist} Summary: Render markdown on the CLI, with pizzazz! 💅🏻 License: MIT diff --git a/anda/langs/go/google-grpc/golang-google-grpc.terra.spec b/anda/langs/go/google-grpc/golang-google-grpc.terra.spec index 970b2db1f4..c8540af981 100644 --- a/anda/langs/go/google-grpc/golang-google-grpc.terra.spec +++ b/anda/langs/go/google-grpc/golang-google-grpc.terra.spec @@ -11,7 +11,7 @@ # https://github.com/grpc/grpc-go %global goipath google.golang.org/grpc %global forgeurl https://github.com/grpc/grpc-go -Version: 1.79.2 +Version: 1.81.0 %gometa -L diff --git a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec index 028064c393..c64db04d7c 100644 --- a/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec +++ b/anda/langs/go/lazygit/golang-github-jesseduffield-lazygit.spec @@ -2,7 +2,7 @@ # https://github.com/jesseduffield/lazygit %global goipath github.com/jesseduffield/lazygit -Version: 0.60.0 +Version: 0.61.1 %gometa -f diff --git a/anda/langs/go/pop/pop.spec b/anda/langs/go/pop/pop.spec index 04f3863ffb..52df281777 100644 --- a/anda/langs/go/pop/pop.spec +++ b/anda/langs/go/pop/pop.spec @@ -1,12 +1,12 @@ %global debug_package %{nil} %global goipath github.com/charmbracelet/pop -Version: 0.2.0 +Version: 0.2.1 %gometa -f Name: pop -Release: 1%?dist +Release: 1%{?dist} Summary: Send emails from your terminal URL: https://github.com/charmbracelet/%{name} Source0: https://github.com/charmbracelet/%{name}/archive/refs/tags/v%{version}.tar.gz diff --git a/anda/langs/go/soft-serve/soft-serve.spec b/anda/langs/go/soft-serve/soft-serve.spec index dde2147336..a084dcdecf 100644 --- a/anda/langs/go/soft-serve/soft-serve.spec +++ b/anda/langs/go/soft-serve/soft-serve.spec @@ -5,7 +5,7 @@ %global cmd_name soft %global goipath github.com/charmbracelet/soft-serve -Version: 0.11.5 +Version: 0.11.6 %gometa -f diff --git a/anda/langs/go/v2ray/nightly/anda.hcl b/anda/langs/go/v2ray/nightly/anda.hcl new file mode 100644 index 0000000000..3b71d03242 --- /dev/null +++ b/anda/langs/go/v2ray/nightly/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "v2ray-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/langs/go/v2ray/nightly/update.rhai b/anda/langs/go/v2ray/nightly/update.rhai new file mode 100644 index 0000000000..455f470e1e --- /dev/null +++ b/anda/langs/go/v2ray/nightly/update.rhai @@ -0,0 +1,7 @@ +rpm.global("commit", gh_commit("v2fly/v2ray-core")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("v2fly/v2ray-core"); + rpm.global("ver", v); +} \ No newline at end of file diff --git a/anda/langs/go/v2ray/nightly/v2ray-nightly.spec b/anda/langs/go/v2ray/nightly/v2ray-nightly.spec new file mode 100644 index 0000000000..29f0820859 --- /dev/null +++ b/anda/langs/go/v2ray/nightly/v2ray-nightly.spec @@ -0,0 +1,72 @@ +%global commit 05cc5424631413ada31d14c27b06fd828cf2e5f4 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global ver v5.48.0 +%global commit_date 20260413 + +%global goipath github.com/v2fly/v2ray-core +Version: %{ver}^%{commit_date}git.%{shortcommit} + +%global golicenses LICENSE +%global godocs README.md SECURITY.md + +%gometa -f + +Name: v2ray-nightly +Release: 1%{?dist} +Summary: A platform for building proxies to bypass network restrictions +License: MIT +Packager: veuxit +URL: %{gourl} +Source: %{gosource} +Conflicts: v2ray + +Requires: v2ray-geoip v2ray-domain-list-community + +BuildRequires: go go-rpm-macros go-srpm-macros anda-srpm-macros + +%description +%summary. + +%gopkg + +%prep +%goprep_online -A + + +%build +%gobuild -o v2ray ./main + + +%install +%gopkginstall +install -Dm755 v2ray %{buildroot}%{_bindir}/v2ray + +install -Dm644 release/config/systemd/system/v2ray.service -t %{buildroot}%{_unitdir}/ +install -Dm644 release/config/systemd/system/v2ray@.service -t %{buildroot}%{_unitdir}/ +install -Dm644 release/config/*.json -t %{buildroot}/%{_sysconfdir}/v2ray/ + +%post +%systemd_post v2ray.service + +%preun +%systemd_preun v2ray.service + +%postun +%systemd_postun_with_restart v2ray.service + +%files +%doc README.md +%doc SECURITY.md +%license LICENSE +%{_bindir}/v2ray +%{_unitdir}/v2ray.service +%{_unitdir}/v2ray@.service +%{_sysconfdir}/v2ray/config.json +%{_sysconfdir}/v2ray/vpoint_socks_vmess.json +%{_sysconfdir}/v2ray/vpoint_vmess_freedom.json + +%gopkgfiles + +%changelog +* Sun Mar 8 2026 veuxit - 5.44.1^20260228git.9cf6a45-1 +- Initial package release diff --git a/anda/langs/go/v2ray/stable/anda.hcl b/anda/langs/go/v2ray/stable/anda.hcl new file mode 100644 index 0000000000..89559f5c1a --- /dev/null +++ b/anda/langs/go/v2ray/stable/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "v2ray.spec" + } +} diff --git a/anda/langs/go/v2ray/stable/update.rhai b/anda/langs/go/v2ray/stable/update.rhai new file mode 100644 index 0000000000..8898b562bc --- /dev/null +++ b/anda/langs/go/v2ray/stable/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("v2fly/v2ray-core")); diff --git a/anda/langs/go/v2ray/stable/v2ray.spec b/anda/langs/go/v2ray/stable/v2ray.spec new file mode 100644 index 0000000000..245ad8616b --- /dev/null +++ b/anda/langs/go/v2ray/stable/v2ray.spec @@ -0,0 +1,67 @@ +%global goipath github.com/v2fly/v2ray-core +Version: 5.49.0 + +%global golicenses LICENSE +%global godocs README.md SECURITY.md + +%gometa -f + +Name: v2ray +Release: 1%{?dist} +Summary: A platform for building proxies to bypass network restrictions +License: MIT +Packager: veuxit +URL: %{gourl} +Source: %{gosource} +Conflicts: v2ray-nightly + +Requires: v2ray-geoip v2ray-domain-list-community + +BuildRequires: go go-rpm-macros go-srpm-macros anda-srpm-macros + +%description +%summary. + +%gopkg + +%prep +%goprep_online -A + + +%build +%gobuild -o v2ray ./main + + +%install +%gopkginstall +install -Dm755 v2ray %{buildroot}%{_bindir}/v2ray + +install -Dm644 release/config/systemd/system/v2ray.service -t %{buildroot}%{_unitdir}/ +install -Dm644 release/config/systemd/system/v2ray@.service -t %{buildroot}%{_unitdir}/ +install -Dm644 release/config/*.json -t %{buildroot}/%{_sysconfdir}/v2ray/ + +%post +%systemd_post v2ray.service + +%preun +%systemd_preun v2ray.service + +%postun +%systemd_postun_with_restart v2ray.service + +%files +%doc README.md +%doc SECURITY.md +%license LICENSE +%{_bindir}/v2ray +%{_unitdir}/v2ray.service +%{_unitdir}/v2ray@.service +%{_sysconfdir}/v2ray/config.json +%{_sysconfdir}/v2ray/vpoint_socks_vmess.json +%{_sysconfdir}/v2ray/vpoint_vmess_freedom.json + +%gopkgfiles + +%changelog +* Sun Mar 8 2026 veuxit - 5.44.1-1 +- Initial package release diff --git a/anda/langs/go/v2raya/nightly/anda.hcl b/anda/langs/go/v2raya/nightly/anda.hcl new file mode 100644 index 0000000000..b903484c57 --- /dev/null +++ b/anda/langs/go/v2raya/nightly/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "v2raya-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/langs/go/v2raya/nightly/update.rhai b/anda/langs/go/v2raya/nightly/update.rhai new file mode 100644 index 0000000000..b91464d6d8 --- /dev/null +++ b/anda/langs/go/v2raya/nightly/update.rhai @@ -0,0 +1,7 @@ +rpm.global("commit", gh_commit("v2rayA/v2rayA")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("v2rayA/v2rayA"); + rpm.global("ver", v); +} \ No newline at end of file diff --git a/anda/langs/go/v2raya/nightly/v2raya-nightly.spec b/anda/langs/go/v2raya/nightly/v2raya-nightly.spec new file mode 100644 index 0000000000..7aaf69171d --- /dev/null +++ b/anda/langs/go/v2raya/nightly/v2raya-nightly.spec @@ -0,0 +1,80 @@ +%global commit 074305b21bb3797eac2415aa5c385a579cd5943c +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global ver v2.2.7.5 +%global commit_date 20260505 + +%global goipath github.com/v2rayA/v2rayA +Version: %{ver}^%{commit_date}git.%{shortcommit} + +%global golicenses LICENSE +%global godocs README.md + +%gometa -f + +Name: v2raya-nightly +Release: 1%{?dist} +Summary: A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols +License: AGPL-3.0-only +Packager: veuxit +URL: %{gourl} +Source: %{gosource} +Conflicts: v2raya + +Requires: v2ray-geoip v2ray-domain-list-community ((v2ray or v2ray-nightly) or (xray or xray-nightly)) + +BuildRequires: go go-rpm-macros go-srpm-macros anda-srpm-macros nodejs yarnpkg desktop-file-utils + +%description +%summary. + +%gopkg + +%prep +%goprep_online -A + +%build +pushd gui +yarn --ignore-engines && OUTPUT_DIR=$(pwd)/../service/server/router/web yarn --ignore-engines build +popd + +pushd service +%define currentgoldflags -X github.com/v2rayA/v2rayA/conf.Version=%{version} +export GO_BUILDTAGS="with_gvisor" +%gobuild -o ../v2raya + +%install +%gopkginstall +install -Dm 755 v2raya -t %{buildroot}/%{_bindir} +install -Dm 644 install/universal/v2raya.desktop -t %{buildroot}/%{_appsdir}/ +install -Dm 644 install/universal/v2raya.service -t %{buildroot}/%{_unitdir}/ +install -Dm 644 install/universal/v2raya-lite.service -t %{buildroot}/%{_userunitdir}/ +install -Dm 644 install/universal/v2raya.default -t %{buildroot}/%{_sysconfdir}/default/v2raya.conf +install -Dm 644 gui/public/img/icons/android-chrome-512x512.png %{buildroot}/%{_hicolordir}/512x512/apps/v2raya.png + +%check +%desktop_file_validate %{buildroot}/%{_appsdir}/v2raya.desktop + +%post +%systemd_post v2raya.service + +%preun +%systemd_preun v2raya.service + +%postun +%systemd_postun_with_restart v2raya.service + +%files +%doc README.md +%license LICENSE +%{_bindir}/v2raya +%{_unitdir}/v2raya.service +%{_userunitdir}/v2raya-lite.service +%{_sysconfdir}/default/v2raya.conf +%{_appsdir}/v2raya.desktop +%{_hicolordir}/512x512/apps/v2raya.png + +%gopkgfiles + +%changelog +* Sun Mar 8 2026 veuxit - 2.2.7.5^20260305git.d92dbf9-1 +- Initial package release diff --git a/anda/langs/go/v2raya/stable/anda.hcl b/anda/langs/go/v2raya/stable/anda.hcl new file mode 100644 index 0000000000..8b4d4b8d67 --- /dev/null +++ b/anda/langs/go/v2raya/stable/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "v2raya.spec" + } +} diff --git a/anda/langs/go/v2raya/stable/update.rhai b/anda/langs/go/v2raya/stable/update.rhai new file mode 100644 index 0000000000..846fa87be5 --- /dev/null +++ b/anda/langs/go/v2raya/stable/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("v2rayA/v2rayA")); diff --git a/anda/langs/go/v2raya/stable/v2raya.spec b/anda/langs/go/v2raya/stable/v2raya.spec new file mode 100644 index 0000000000..a2e8fc250b --- /dev/null +++ b/anda/langs/go/v2raya/stable/v2raya.spec @@ -0,0 +1,76 @@ +%global goipath github.com/v2rayA/v2rayA +Version: 2.4.0 + +%global golicenses LICENSE +%global godocs README.md + +%gometa -f + +Name: v2raya +Release: 1%{?dist} +Summary: A web GUI client of Project V which supports VMess, VLESS, SS, SSR, Trojan, Tuic and Juicity protocols +License: AGPL-3.0-only +URL: %{gourl} +Source: %{gosource} +Packager: veuxit +Conflicts: v2raya-nightly + +Requires: v2ray-geoip v2ray-domain-list-community ((v2ray or v2ray-nightly) or (xray or xray-nightly)) + +BuildRequires: go go-rpm-macros go-srpm-macros anda-srpm-macros nodejs yarnpkg desktop-file-utils + +%description +%summary. + +%gopkg + +%prep +%goprep_online -A + +%build +pushd gui +yarn --ignore-engines && OUTPUT_DIR=$(pwd)/../service/server/router/web yarn --ignore-engines build +popd + +pushd service +%define gomodulesmode GO111MODULE=on +%define currentgoldflags -X github.com/v2rayA/v2rayA/conf.Version=%{version} +export GO_BUILDTAGS="with_gvisor" +%gobuild -o ../v2raya + +%install +%gopkginstall +install -Dm 755 v2raya -t %{buildroot}/%{_bindir} +install -Dm 644 install/universal/v2raya.desktop -t %{buildroot}/%{_appsdir}/ +install -Dm 644 install/universal/v2raya.service -t %{buildroot}/%{_unitdir}/ +install -Dm 644 install/universal/v2raya-lite.service -t %{buildroot}/%{_userunitdir}/ +install -Dm 644 install/universal/v2raya.default -t %{buildroot}/%{_sysconfdir}/default/v2raya.conf +install -Dm 644 gui/public/img/icons/android-chrome-512x512.png %{buildroot}/%{_hicolordir}/512x512/apps/v2raya.png + +%check +%desktop_file_validate %{buildroot}/%{_appsdir}/v2raya.desktop + +%post +%systemd_post v2raya.service + +%preun +%systemd_preun v2raya.service + +%postun +%systemd_postun_with_restart v2raya.service + +%files +%doc README.md +%license LICENSE +%{_bindir}/v2raya +%{_unitdir}/v2raya.service +%{_userunitdir}/v2raya-lite.service +%{_sysconfdir}/default/v2raya.conf +%{_appsdir}/v2raya.desktop +%{_hicolordir}/512x512/apps/v2raya.png + +%gopkgfiles + +%changelog +* Sun Mar 8 2026 veuxit - 2.2.7.5-1 +- Initial package release diff --git a/anda/langs/go/xray/nightly/anda.hcl b/anda/langs/go/xray/nightly/anda.hcl new file mode 100644 index 0000000000..58d3ede9f9 --- /dev/null +++ b/anda/langs/go/xray/nightly/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "xray-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/langs/go/xray/nightly/update.rhai b/anda/langs/go/xray/nightly/update.rhai new file mode 100644 index 0000000000..acb3222cd9 --- /dev/null +++ b/anda/langs/go/xray/nightly/update.rhai @@ -0,0 +1,7 @@ +rpm.global("commit", gh_commit("XTLS/Xray-core")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("XTLS/Xray-core"); + rpm.global("ver", v); +} \ No newline at end of file diff --git a/anda/langs/go/xray/nightly/xray-nightly.spec b/anda/langs/go/xray/nightly/xray-nightly.spec new file mode 100644 index 0000000000..d70d4f82fc --- /dev/null +++ b/anda/langs/go/xray/nightly/xray-nightly.spec @@ -0,0 +1,84 @@ +%global commit 228f1e13aa22739b0d6b9adbdb2b600f1e2018e1 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global ver v26.3.27 +%global commit_date 20260504 + +%global goipath github.com/XTLS/Xray-core +Version: %{ver}^%{commit_date}git.%{shortcommit} + +%global golicenses LICENSE +%global godocs README.md SECURITY.md CODE_OF_CONDUCT.md + +Name: xray-nightly +Release: 1%{?dist} +Summary: High-performance, open-source network proxy engine and toolset designed to bypass internet censorship and enhance privacy +License: MPL-2.0 +Packager: veuxit +URL: https://github.com/XTLS/Xray-core +Conflicts: xray + +Source0: %{url}/archive/%{commit}/Xray-core-%{commit}.tar.gz +Source1: xray.service +Source2: xray@.service +Source3: xray.sysusers +Source4: xray.tmpfiles + +Requires: v2ray-geoip v2ray-domain-list-community + +BuildRequires: golang >= 1.26 +BuildRequires: go-rpm-macros go-srpm-macros anda-srpm-macros + +%description +%summary. + +%gopkg + +%prep +%autosetup -n Xray-core-%{commit} +%goprep_online -Ae + +%build +%define gomodulesmode GO111MODULE=on +%gobuild -o xray ./main + +%install +%gopkginstall +install -Dm755 xray %{buildroot}%{_bindir}/xray + +install -d "%{buildroot}/etc/xray" "%{buildroot}%{_datadir}/xray" + +ln -s %{_datadir}/v2ray/geo{ip,site}.dat -t "%{buildroot}%{_datadir}/xray" + +install -Dm644 %{SOURCE1} -t %{buildroot}/%{_unitdir} +install -Dm644 %{SOURCE2} -t %{buildroot}/%{_unitdir} +install -Dm644 %{SOURCE3} %{buildroot}/%{_sysusersdir}/xray.conf +install -Dm644 %{SOURCE4} %{buildroot}/usr/lib/tmpfiles.d/xray.conf + + +%post +%systemd_post xray.service + +%preun +%systemd_preun xray.service + +%postun +%systemd_postun_with_restart xray.service + +%files +%doc README.md +%doc SECURITY.md +%doc CODE_OF_CONDUCT.md +%license LICENSE +%{_bindir}/xray +%{_datadir}/xray/geoip.dat +%{_datadir}/xray/geosite.dat +%{_unitdir}/xray.service +%{_unitdir}/xray@.service +%{_sysusersdir}/xray.conf +/usr/lib/tmpfiles.d/xray.conf + +%gopkgfiles + +%changelog +* Sun Mar 8 2026 veuxit - 26.2.2^20260307git.acb06e8-1 +- Initial package release diff --git a/anda/langs/go/xray/nightly/xray.service b/anda/langs/go/xray/nightly/xray.service new file mode 100644 index 0000000000..2c24daa71b --- /dev/null +++ b/anda/langs/go/xray/nightly/xray.service @@ -0,0 +1,14 @@ +[Unit] +Description=Xray Service +After=network.target nss-lookup.target + +[Service] +User=xray +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +NoNewPrivileges=true +ExecStart=/usr/bin/xray run -confdir /etc/xray/ +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/anda/langs/go/xray/nightly/xray.sysusers b/anda/langs/go/xray/nightly/xray.sysusers new file mode 100644 index 0000000000..0260d2dc7b --- /dev/null +++ b/anda/langs/go/xray/nightly/xray.sysusers @@ -0,0 +1 @@ +u xray - "Xray Service" - - diff --git a/anda/langs/go/xray/nightly/xray.tmpfiles b/anda/langs/go/xray/nightly/xray.tmpfiles new file mode 100644 index 0000000000..896975f158 --- /dev/null +++ b/anda/langs/go/xray/nightly/xray.tmpfiles @@ -0,0 +1 @@ +d /var/log/xray 0700 xray xray - - diff --git a/anda/langs/go/xray/nightly/xray@.service b/anda/langs/go/xray/nightly/xray@.service new file mode 100644 index 0000000000..a024fb1a9f --- /dev/null +++ b/anda/langs/go/xray/nightly/xray@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Xray Service +After=network.target nss-lookup.target + +[Service] +User=xray +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +NoNewPrivileges=true +ExecStart=/usr/bin/xray run -config /etc/xray/%i.json +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/anda/langs/go/xray/stable/anda.hcl b/anda/langs/go/xray/stable/anda.hcl new file mode 100644 index 0000000000..b39e7e2d8f --- /dev/null +++ b/anda/langs/go/xray/stable/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "xray.spec" + } +} diff --git a/anda/langs/go/xray/stable/update.rhai b/anda/langs/go/xray/stable/update.rhai new file mode 100644 index 0000000000..c9124ea5bd --- /dev/null +++ b/anda/langs/go/xray/stable/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("XTLS/Xray-core")); diff --git a/anda/langs/go/xray/stable/xray.service b/anda/langs/go/xray/stable/xray.service new file mode 100644 index 0000000000..2c24daa71b --- /dev/null +++ b/anda/langs/go/xray/stable/xray.service @@ -0,0 +1,14 @@ +[Unit] +Description=Xray Service +After=network.target nss-lookup.target + +[Service] +User=xray +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +NoNewPrivileges=true +ExecStart=/usr/bin/xray run -confdir /etc/xray/ +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/anda/langs/go/xray/stable/xray.spec b/anda/langs/go/xray/stable/xray.spec new file mode 100644 index 0000000000..c94d09388b --- /dev/null +++ b/anda/langs/go/xray/stable/xray.spec @@ -0,0 +1,77 @@ +# Disabled because compiled without debug + +%global goipath github.com/XTLS/Xray-core +Version: 26.5.3 + +%global golicenses LICENSE +%global godocs README.md SECURITY.md CODE_OF_CONDUCT.md + +Name: xray +Release: 1%{?dist} +Summary: High-performance, open-source network proxy engine and toolset designed to bypass internet censorship and enhance privacy +License: MPL-2.0 +Packager: veuxit +URL: https://github.com/XTLS/Xray-core +Conflicts: xray-nightly + +Source0: https://github.com/XTLS/Xray-core/archive/refs/tags/v%{version}.tar.gz +Source1: xray.service +Source2: xray@.service +Source3: xray.sysusers +Source4: xray.tmpfiles + +Requires: v2ray-geoip v2ray-domain-list-community + +BuildRequires: go go-rpm-macros go-srpm-macros anda-srpm-macros + +%description +%summary. + +%gopkg + +%prep +%goprep_online -Ae +%autosetup -n Xray-core-%{version} + + +%build +%define gomodulesmode GO111MODULE=on +%gobuild -o xray ./main + +%install +%gopkginstall +install -Dm755 xray %{buildroot}%{_bindir}/xray +install -d "%{buildroot}/etc/xray" "%{buildroot}%{_datadir}/xray" +ln -s %{_datadir}/v2ray/geo{ip,site}.dat -t "%{buildroot}%{_datadir}/xray" +install -Dm644 %{SOURCE1} -t %{buildroot}/%{_unitdir} +install -Dm644 %{SOURCE2} -t %{buildroot}/%{_unitdir} +install -Dm644 %{SOURCE3} %{buildroot}/%{_sysusersdir}/xray.conf +install -Dm644 %{SOURCE4} %{buildroot}/usr/lib/tmpfiles.d/xray.conf + +%post +%systemd_post xray.service + +%preun +%systemd_preun xray.service + +%postun +%systemd_postun_with_restart xray.service + +%files +%doc README.md +%doc SECURITY.md +%doc CODE_OF_CONDUCT.md +%license LICENSE +%{_bindir}/xray +%{_datadir}/xray/geoip.dat +%{_datadir}/xray/geosite.dat +%{_unitdir}/xray.service +%{_unitdir}/xray@.service +%{_sysusersdir}/xray.conf +/usr/lib/tmpfiles.d/xray.conf + +%gopkgfiles + +%changelog +* Sun Mar 8 2026 veuxit - 26.2.6-1 +- Initial package release diff --git a/anda/langs/go/xray/stable/xray.sysusers b/anda/langs/go/xray/stable/xray.sysusers new file mode 100644 index 0000000000..0260d2dc7b --- /dev/null +++ b/anda/langs/go/xray/stable/xray.sysusers @@ -0,0 +1 @@ +u xray - "Xray Service" - - diff --git a/anda/langs/go/xray/stable/xray.tmpfiles b/anda/langs/go/xray/stable/xray.tmpfiles new file mode 100644 index 0000000000..896975f158 --- /dev/null +++ b/anda/langs/go/xray/stable/xray.tmpfiles @@ -0,0 +1 @@ +d /var/log/xray 0700 xray xray - - diff --git a/anda/langs/go/xray/stable/xray@.service b/anda/langs/go/xray/stable/xray@.service new file mode 100644 index 0000000000..a024fb1a9f --- /dev/null +++ b/anda/langs/go/xray/stable/xray@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Xray Service +After=network.target nss-lookup.target + +[Service] +User=xray +CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE +NoNewPrivileges=true +ExecStart=/usr/bin/xray run -config /etc/xray/%i.json +Restart=on-abort + +[Install] +WantedBy=multi-user.target diff --git a/anda/langs/groovy/groovy-docs/groovy-docs.spec b/anda/langs/groovy/groovy-docs/groovy-docs.spec index 6d0019be16..046fe88acc 100644 --- a/anda/langs/groovy/groovy-docs/groovy-docs.spec +++ b/anda/langs/groovy/groovy-docs/groovy-docs.spec @@ -1,6 +1,6 @@ Name: groovy-docs -Version: 5.0.4 -Release: 1%?dist +Version: 5.0.6 +Release: 1%{?dist} Summary: Documentation for the Groovy programming language URL: https://groovy-lang.org/ License: Apache-2.0 diff --git a/anda/langs/groovy/groovy.spec b/anda/langs/groovy/groovy.spec index 595fed7e33..b445f34c25 100644 --- a/anda/langs/groovy/groovy.spec +++ b/anda/langs/groovy/groovy.spec @@ -1,6 +1,6 @@ Name: groovy -Version: 5.0.4 -Release: 1%?dist +Version: 5.0.6 +Release: 1%{?dist} Summary: A multi-faceted language for the Java platform BuildArch: noarch URL: https://groovy-lang.org/ diff --git a/anda/langs/haskell/ghc-bv/anda.hcl b/anda/langs/haskell/ghc-bv/anda.hcl new file mode 100644 index 0000000000..a98449cf81 --- /dev/null +++ b/anda/langs/haskell/ghc-bv/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ghc-bv.spec" + } +} diff --git a/anda/langs/haskell/ghc-bv/ghc-bv.spec b/anda/langs/haskell/ghc-bv/ghc-bv.spec new file mode 100644 index 0000000000..d5700ac8b0 --- /dev/null +++ b/anda/langs/haskell/ghc-bv/ghc-bv.spec @@ -0,0 +1,110 @@ +# generated by cabal-rpm-2.3.2 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name bv +%global pkgver %{pkg_name}-%{version} +%{?haskell_setup} + +Name: ghc-%{pkg_name} +Version: 0.5 +Release: 1%{?dist} +Summary: Bit-vector arithmetic library + +License: BSD-3-Clause +URL: https://hackage.haskell.org/package/bv +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +%if %{with ghc_prof} +BuildRequires: ghc-base-prof +%endif +# End cabal-rpm deps + +Packager: Owen Zimmerman + +%description +Bit-vectors implemented as a thin wrapper over integers. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc CHANGES.md README.md + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Tue Apr 28 2026 Owen Zimmerman - 0.5-1 +- Initial commit diff --git a/anda/langs/haskell/ghc-bv/update.rhai b/anda/langs/haskell/ghc-bv/update.rhai new file mode 100644 index 0000000000..b9eef8f71e --- /dev/null +++ b/anda/langs/haskell/ghc-bv/update.rhai @@ -0,0 +1 @@ +rpm.version(hackage("bv")); diff --git a/anda/langs/haskell/ghc-freer-simple/anda.hcl b/anda/langs/haskell/ghc-freer-simple/anda.hcl new file mode 100644 index 0000000000..f9e83dd772 --- /dev/null +++ b/anda/langs/haskell/ghc-freer-simple/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ghc-freer-simple.spec" + } +} diff --git a/anda/langs/haskell/ghc-freer-simple/ghc-freer-simple.spec b/anda/langs/haskell/ghc-freer-simple/ghc-freer-simple.spec new file mode 100644 index 0000000000..38cdd7f687 --- /dev/null +++ b/anda/langs/haskell/ghc-freer-simple/ghc-freer-simple.spec @@ -0,0 +1,134 @@ +# generated by cabal-rpm-2.3.2 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name freer-simple +%global pkgver %{pkg_name}-%{version} +%{?haskell_setup} + +# testsuite missing deps: QuickCheck tasty tasty-hunit tasty-quickcheck + +Name: ghc-%{pkg_name} +Version: 1.2.1.2 +Release: 1%{?dist} +Summary: A friendly effect system for Haskell + +License: BSD-3-Clause +URL: https://hackage.haskell.org/package/freer-simple +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-natural-transformation-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-transformers-base-devel +%if %{with ghc_prof} +BuildRequires: ghc-base-prof +BuildRequires: ghc-natural-transformation-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-transformers-base-prof +%endif +# End cabal-rpm deps + +Packager: Owen Zimmerman + +%description +An implementation of an effect system for Haskell (a fork of +), which is +based on the work of Oleg Kiselyov et al.: + +* * * + +The key features are: + +* An efficient effect system for Haskell - as a library! * Reimplementations of +several common Haskell monad transformers as effects. * Core components for +defining your own Effects. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.md README.md examples +%{_bindir}/freer-simple-examples + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Tue Apr 28 2026 Owen Zimmerman - 1.2.1.2-1 +- Initial commit diff --git a/anda/langs/haskell/ghc-freer-simple/update.rhai b/anda/langs/haskell/ghc-freer-simple/update.rhai new file mode 100644 index 0000000000..b4c88e609e --- /dev/null +++ b/anda/langs/haskell/ghc-freer-simple/update.rhai @@ -0,0 +1 @@ +rpm.version(hackage("freer-simple")); diff --git a/anda/langs/haskell/ghc-language-bluespec/anda.hcl b/anda/langs/haskell/ghc-language-bluespec/anda.hcl new file mode 100644 index 0000000000..6234b99a7a --- /dev/null +++ b/anda/langs/haskell/ghc-language-bluespec/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ghc-language-bluespec.spec" + } +} diff --git a/anda/langs/haskell/ghc-language-bluespec/ghc-language-bluespec.spec b/anda/langs/haskell/ghc-language-bluespec/ghc-language-bluespec.spec new file mode 100644 index 0000000000..5b21bc0714 --- /dev/null +++ b/anda/langs/haskell/ghc-language-bluespec/ghc-language-bluespec.spec @@ -0,0 +1,127 @@ +# generated by cabal-rpm-2.3.2 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name language-bluespec +%global pkgver %{pkg_name}-%{version} +%{?haskell_setup} + +Name: ghc-%{pkg_name} +Version: 0.1 +Release: 1%{?dist} +Summary: An implementation of the Bluespec Haskell AST + +License: BSD-3-Clause +URL: https://hackage.haskell.org/package/language-bluespec +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-pretty-devel +BuildRequires: ghc-text-devel +%if %{with ghc_prof} +BuildRequires: ghc-base-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-pretty-prof +BuildRequires: ghc-text-prof +%endif +# End cabal-rpm deps + +Packager: Owen Zimmerman + +%description +This package contains an implementation of the language's AST. In particular, this implements the Bluespec Haskell +(BH) syntax, also known as Bluespec Classic. We may add support for the +Bluespec SystemVerilog (BSV) syntax at a later date. To our knowledge, there is +no formal grammar that describes the syntax of BH or BSV, so this package is +based off of the code in the . Although the Bluespec compiler is written in Haskell, it is not +particularly simple to depend on the compiler as a library, so this package +exists to extract out the relevant compiler code into a simple-to-use library. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development +files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc CHANGELOG.md README.md + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Tue Apr 28 2026 Owen Zimmerman - 0.1-1 +- Initial Commit diff --git a/anda/langs/haskell/ghc-language-bluespec/update.rhai b/anda/langs/haskell/ghc-language-bluespec/update.rhai new file mode 100644 index 0000000000..1cddac58c3 --- /dev/null +++ b/anda/langs/haskell/ghc-language-bluespec/update.rhai @@ -0,0 +1 @@ +rpm.version(hackage("language-bluespec")); diff --git a/anda/langs/haskell/ghc-libriscv/anda.hcl b/anda/langs/haskell/ghc-libriscv/anda.hcl new file mode 100644 index 0000000000..9bda3866d7 --- /dev/null +++ b/anda/langs/haskell/ghc-libriscv/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ghc-libriscv.spec" + } +} diff --git a/anda/langs/haskell/ghc-libriscv/bytestring-ver-fix.patch b/anda/langs/haskell/ghc-libriscv/bytestring-ver-fix.patch new file mode 100644 index 0000000000..31dc9cbd69 --- /dev/null +++ b/anda/langs/haskell/ghc-libriscv/bytestring-ver-fix.patch @@ -0,0 +1,13 @@ +diff --git a/libriscv.cabal b/libriscv.cabal +index 25e48fa..22e204a 100644 +--- a/libriscv.cabal ++++ b/libriscv.cabal +@@ -91,7 +91,7 @@ library + , base >= 4.15.0.0 && <4.20.0.0 + , array ^>= 0.5.4.0 + , filepath ^>= 1.4.2.1 +- , bytestring >= 0.10.10 && <0.12 ++ , bytestring >= 0.10.10 + , exceptions ^>= 0.10.4 + , melf ^>= 1.3.0 + , freer-simple ^>= 1.2.1.2 diff --git a/anda/langs/haskell/ghc-libriscv/ghc-libriscv.spec b/anda/langs/haskell/ghc-libriscv/ghc-libriscv.spec new file mode 100644 index 0000000000..f88e6904a7 --- /dev/null +++ b/anda/langs/haskell/ghc-libriscv/ghc-libriscv.spec @@ -0,0 +1,166 @@ +# generated by cabal-rpm-2.3.2 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name libriscv +%global pkgver %{pkg_name}-%{version} +%{?haskell_setup} + +# testsuite missing deps: bv tasty tasty-hunit + +Name: ghc-%{pkg_name} +Version: 0.1.0.0 +Release: 1%{?dist} +Summary: A versatile, flexible and executable formal model for the RISC-V architecture + +License: MIT +URL: https://hackage.haskell.org/package/libriscv +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +# End cabal-rpm sources +Patch0: bytestring-ver-fix.patch +# Begin cabal-rpm deps: +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-array-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-bv-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-extra-devel +BuildRequires: ghc-file-embed-devel +BuildRequires: ghc-filepath-devel +BuildRequires: ghc-freer-simple-devel +BuildRequires: ghc-melf-devel +BuildRequires: ghc-optparse-applicative-devel +BuildRequires: ghc-parameterized-utils-devel +BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-transformers-devel +BuildRequires: ghc-yaml-devel +%if %{with ghc_prof} +BuildRequires: ghc-array-prof +BuildRequires: ghc-base-prof +BuildRequires: ghc-bv-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-containers-prof +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-extra-prof +BuildRequires: ghc-file-embed-prof +BuildRequires: ghc-filepath-prof +BuildRequires: ghc-freer-simple-prof +BuildRequires: ghc-melf-prof +BuildRequires: ghc-optparse-applicative-prof +BuildRequires: ghc-parameterized-utils-prof +BuildRequires: ghc-template-haskell-prof +BuildRequires: ghc-transformers-prof +BuildRequires: ghc-yaml-prof +%endif +# End cabal-rpm deps + +Packager: Owen Zimmerman + +%description +A formal model for the /Instruction Set +Architecture/ (ISA). Contrary to other Haskell RISC-V ISA models, like + or +, LibRISCV is +specifically tailored to the creation of custom ISA interpreters. To this end, +it is designed for flexibility, allowing a versatile representation of +instruction operands. For example, instruction operands can be + expressions +for of binary +code. + +LibRISCV abstractly describes instruction semantics using an /Embedded Domain +Specific Language/ (EDSL) with . This Haskell library is intended to build custom interpreters for this +free monad. The entry point for this purpose is the +'LibRISCV.Semantics.buildAST' function which obtains the free monad AST based +on an entry address. The entry address can be obtained from a provided ELF +loader implementation, this "Loader" module is also responsible for loading +binary instructions into a provided memory implementation. Refer to provided +example interpreters in the for practical usage instruction. More detailed information on +LibRISCV and its concepts is also available in a +. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +%patch -P0 -p1 +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE.txt +%{_datadir}/%{pkgver} +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%{_bindir}/riscv-tiny + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE.txt +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Tue Apr 28 2026 Owen Zimmerman - 0.1.0.0-1 +- Initial commit diff --git a/anda/langs/haskell/ghc-libriscv/update.rhai b/anda/langs/haskell/ghc-libriscv/update.rhai new file mode 100644 index 0000000000..9c9aa8a431 --- /dev/null +++ b/anda/langs/haskell/ghc-libriscv/update.rhai @@ -0,0 +1 @@ +rpm.version(hackage("libriscv")); diff --git a/anda/langs/haskell/ghc-melf/anda.hcl b/anda/langs/haskell/ghc-melf/anda.hcl new file mode 100644 index 0000000000..9f2bd57c22 --- /dev/null +++ b/anda/langs/haskell/ghc-melf/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ghc-melf.spec" + } +} diff --git a/anda/langs/haskell/ghc-melf/ghc-melf.spec b/anda/langs/haskell/ghc-melf/ghc-melf.spec new file mode 100644 index 0000000000..128aabd055 --- /dev/null +++ b/anda/langs/haskell/ghc-melf/ghc-melf.spec @@ -0,0 +1,133 @@ +# generated by cabal-rpm-2.3.2 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name melf +%global pkgver %{pkg_name}-%{version} +%{?haskell_setup} + +# testsuite missing deps: tasty tasty-golden tasty-hunit prettyprinter + +Name: ghc-%{pkg_name} +Version: 1.3.1 +Release: 1%{?dist} +Summary: An Elf parser + +License: BSD-3-Clause +URL: https://hackage.haskell.org/package/melf +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-binary-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-exceptions-devel +BuildRequires: ghc-lens-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-optparse-applicative-devel +BuildRequires: ghc-prettyprinter-devel +BuildRequires: ghc-template-haskell-devel +%if %{with ghc_prof} +BuildRequires: ghc-base-prof +BuildRequires: ghc-binary-prof +BuildRequires: ghc-bytestring-prof +BuildRequires: ghc-exceptions-prof +BuildRequires: ghc-lens-prof +BuildRequires: ghc-mtl-prof +BuildRequires: ghc-optparse-applicative-prof +BuildRequires: ghc-prettyprinter-prof +BuildRequires: ghc-template-haskell-prof +%endif +# End cabal-rpm deps + +Packager: Owen Zimmerman + +%description +Parser for ELF object format. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +cp -bp %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +%{_datadir}/%{pkgver} +# End cabal-rpm files + + +%files devel -f %{name}-devel.files +%doc ChangeLog.md README.md examples +%{_bindir}/hobjdump +%{_bindir}/hobjlayout + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Tue Apr 28 2026 Owen Zimmerman - 1.3.1-1 +- Initial commit diff --git a/anda/langs/haskell/ghc-melf/update.rhai b/anda/langs/haskell/ghc-melf/update.rhai new file mode 100644 index 0000000000..886984bb33 --- /dev/null +++ b/anda/langs/haskell/ghc-melf/update.rhai @@ -0,0 +1 @@ +rpm.version(hackage("melf")); diff --git a/anda/langs/haskell/ghc-strict-concurrency/anda.hcl b/anda/langs/haskell/ghc-strict-concurrency/anda.hcl new file mode 100644 index 0000000000..8ad01471ab --- /dev/null +++ b/anda/langs/haskell/ghc-strict-concurrency/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "ghc-strict-concurrency.spec" + } +} diff --git a/anda/langs/haskell/ghc-strict-concurrency/ghc-strict-concurrency.spec b/anda/langs/haskell/ghc-strict-concurrency/ghc-strict-concurrency.spec new file mode 100644 index 0000000000..06207ba55e --- /dev/null +++ b/anda/langs/haskell/ghc-strict-concurrency/ghc-strict-concurrency.spec @@ -0,0 +1,119 @@ +# generated by cabal-rpm-2.3.2 +# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ + +%global pkg_name strict-concurrency +%global pkgver %{pkg_name}-%{version} +%{?haskell_setup} + +Name: ghc-%{pkg_name} +Version: 0.2.4.3 +Release: 1%{?dist} +Summary: Strict concurrency abstractions + +License: BSD-3-Clause +URL: https://hackage.haskell.org/package/strict-concurrency +# Begin cabal-rpm sources: +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal +# End cabal-rpm sources + +# Begin cabal-rpm deps: +BuildRequires: dos2unix +BuildRequires: ghc-rpm-macros +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-deepseq-devel +%if %{with ghc_prof} +BuildRequires: ghc-base-prof +BuildRequires: ghc-deepseq-prof +%endif +# End cabal-rpm deps + +Packager: Owen Zimmerman + +%description +This package provides head normal form strict versions of some standard Haskell +concurrency abstractions (MVars,Chans), which provide control over where +evaluation takes place not offered by the default lazy types. This may be +useful for deciding when and where evaluation occurs, leading to improved time +or space use, depending on the circumstances. + + +%package devel +Summary: Haskell %{pkg_name} library development files +Provides: %{name}-static = %{version}-%{release} +Provides: %{name}-static%{?_isa} = %{version}-%{release} +%if %{defined ghc_version} +Requires: ghc-compiler = %{ghc_version} +%endif +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package provides the Haskell %{pkg_name} library development +files. + + +%if %{with haddock} +%package doc +Summary: Haskell %{pkg_name} library documentation +BuildArch: noarch +Requires: ghc-filesystem + +%description doc +This package provides the Haskell %{pkg_name} library documentation. +%endif + + +%if %{with ghc_prof} +%package prof +Summary: Haskell %{pkg_name} profiling library +Requires: %{name}-devel%{?_isa} = %{version}-%{release} +Supplements: (%{name}-devel and ghc-prof) + +%description prof +This package provides the Haskell %{pkg_name} profiling library. +%endif + + +%prep +# Begin cabal-rpm setup: +%setup -q -n %{pkgver} +dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal +# End cabal-rpm setup + + +%build +# Begin cabal-rpm build: +%ghc_lib_build +# End cabal-rpm build + + +%install +# Begin cabal-rpm install +%ghc_lib_install +# End cabal-rpm install + + +%files -f %{name}.files +# Begin cabal-rpm files: +%license LICENSE +# End cabal-rpm files + + +%files devel -f %{name}-devel.files + + +%if %{with haddock} +%files doc -f %{name}-doc.files +%license LICENSE +%endif + + +%if %{with ghc_prof} +%files prof -f %{name}-prof.files +%endif + + +%changelog +* Sun Apr 26 2026 Owen Zimmerman - 0.2.4.3-1 +- Initial commit diff --git a/anda/langs/haskell/ghc-strict-concurrency/update.rhai b/anda/langs/haskell/ghc-strict-concurrency/update.rhai new file mode 100644 index 0000000000..c04176e585 --- /dev/null +++ b/anda/langs/haskell/ghc-strict-concurrency/update.rhai @@ -0,0 +1 @@ +rpm.version(hackage("strict-concurrency")); diff --git a/anda/langs/kotlin/kotlin-native/kotlin-native.spec b/anda/langs/kotlin/kotlin-native/kotlin-native.spec index 6ce43acd0c..d9405826ba 100644 --- a/anda/langs/kotlin/kotlin-native/kotlin-native.spec +++ b/anda/langs/kotlin/kotlin-native/kotlin-native.spec @@ -2,8 +2,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Name: kotlin-native -Version: 2.3.10 -Release: 1%?dist +Version: 2.3.21 +Release: 1%{?dist} Summary: LLVM backend for the Kotlin compiler ExclusiveArch: x86_64 diff --git a/anda/langs/kotlin/kotlin/kotlin.spec b/anda/langs/kotlin/kotlin/kotlin.spec index d3da8d4404..2634fd76a8 100644 --- a/anda/langs/kotlin/kotlin/kotlin.spec +++ b/anda/langs/kotlin/kotlin/kotlin.spec @@ -1,8 +1,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Name: kotlin -Version: 2.3.10 -Release: 1%?dist +Version: 2.3.21 +Release: 1%{?dist} Summary: Statically typed programming language License: Apache-2.0 diff --git a/anda/langs/lua/lua-language-server/lua-language-server.spec b/anda/langs/lua/lua-language-server/lua-language-server.spec index 5637a5c0ea..d5a0ba6e6f 100644 --- a/anda/langs/lua/lua-language-server/lua-language-server.spec +++ b/anda/langs/lua/lua-language-server/lua-language-server.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: lua-language-server -Version: 3.17.1 -Release: 2%?dist +Version: 3.18.2 +Release: 1%{?dist} License: MIT URL: https://luals.github.io/ Source: https://github.com/LuaLS/lua-language-server/archive/refs/tags/%version.tar.gz diff --git a/anda/langs/lua/luamake/luamake.spec b/anda/langs/lua/luamake/luamake.spec index a2fd5bb78c..68c54f6ccb 100644 --- a/anda/langs/lua/luamake/luamake.spec +++ b/anda/langs/lua/luamake/luamake.spec @@ -2,7 +2,7 @@ Name: luamake Version: 1.7 -Release: 1%?dist +Release: 2%{?dist} License: MIT URL: https://github.com/actboy168/luamake Source: https://github.com/actboy168/luamake/archive/refs/tags/v%version.tar.gz @@ -10,6 +10,8 @@ Summary: A platform independent configuration and build system that uses BuildRequires: gcc-c++ make ninja-build glibc lua gcc cmake libstdc++-devel libstdc++-static libcxx libcxx-devel +Packager: Owen Zimmerman + %description %summary. diff --git a/anda/langs/nim/grabnim/grabnim.spec b/anda/langs/nim/grabnim/grabnim.spec index a4375c8609..1b214452b8 100644 --- a/anda/langs/nim/grabnim/grabnim.spec +++ b/anda/langs/nim/grabnim/grabnim.spec @@ -1,5 +1,5 @@ -%global commit 87cd8e863e1544302647b876a20ef8e1388fe5ea -%global commit_date 20260221 +%global commit e325ca229633b831fbac3ce06f3042067c2baca1 +%global commit_date 20260427 %global shortcommit %{sub %commit 1 7} Name: grabnim diff --git a/anda/langs/nim/grabnim/update.rhai b/anda/langs/nim/grabnim/update.rhai index 75f215ef43..ab49b8c798 100644 --- a/anda/langs/nim/grabnim/update.rhai +++ b/anda/langs/nim/grabnim/update.rhai @@ -1,6 +1,4 @@ -import "andax/bump_extras.rhai" as bump; - -rpm.global("commit", bump::codeberg_commit("janAkali/grabnim")); +rpm.global("commit", codeberg_commit("janAkali/grabnim")); if rpm.changed() { rpm.global("commit_date", date()); } diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 17bbed2c8a..3c9b9e5d9b 100644 --- a/anda/langs/nim/nim-nightly/nim-nightly.spec +++ b/anda/langs/nim/nim-nightly/nim-nightly.spec @@ -1,8 +1,8 @@ %global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10 -%global commit 0395af2b3459837fcdf6bf8c38d470ee682dd9cd +%global commit f0077a12b20a6cbf3358eaeb09e528ec65e9eca9 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20260308 +%global commit_date 20260507 %global debug_package %nil Name: nim-nightly diff --git a/anda/langs/nim/nim/nim.spec b/anda/langs/nim/nim/nim.spec index b13b753f54..52391ed970 100644 --- a/anda/langs/nim/nim/nim.spec +++ b/anda/langs/nim/nim/nim.spec @@ -2,8 +2,8 @@ %global debug_package %{nil} Name: nim -Version: 2.2.8 -Release: 1%?dist +Version: 2.2.10 +Release: 1%{?dist} Summary: Imperative, multi-paradigm, compiled programming language License: MIT and BSD URL: https://nim-lang.org diff --git a/anda/langs/nim/nimble/nimble.spec b/anda/langs/nim/nimble/nimble.spec index efbad4b419..bb3d7ccd78 100644 --- a/anda/langs/nim/nimble/nimble.spec +++ b/anda/langs/nim/nimble/nimble.spec @@ -1,5 +1,5 @@ Name: nimble -Version: 0.22.2 +Version: 0.22.3 Release: 1%{?dist} Summary: Package manager for the Nim programming language License: BSD diff --git a/anda/langs/python/apeye-core/anda.hcl b/anda/langs/python/apeye-core/anda.hcl new file mode 100644 index 0000000000..645b557173 --- /dev/null +++ b/anda/langs/python/apeye-core/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "apeye-core.spec" + } +} diff --git a/anda/langs/python/apeye-core/apeye-core.spec b/anda/langs/python/apeye-core/apeye-core.spec new file mode 100644 index 0000000000..03217556d0 --- /dev/null +++ b/anda/langs/python/apeye-core/apeye-core.spec @@ -0,0 +1,45 @@ +%global pypi_name apeye_core +%global _desc Core (offline) functionality for the apeye library. + +Name: python-%{pypi_name} +Version: 1.1.5 +Release: 1%?dist +Summary: Core (offline) functionality for the apeye library +License: BSD-3-Clause +URL: https://github.com/domdfcoding/apeye-core +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-hatch-requirements-txt + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files apeye_core + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/apeye-core/update.rhai b/anda/langs/python/apeye-core/update.rhai new file mode 100644 index 0000000000..5a4b00ab7d --- /dev/null +++ b/anda/langs/python/apeye-core/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("apeye-core")); diff --git a/anda/langs/python/av/av.spec b/anda/langs/python/av/av.spec index 50efd395f4..e43fcacefc 100644 --- a/anda/langs/python/av/av.spec +++ b/anda/langs/python/av/av.spec @@ -2,8 +2,8 @@ %global _desc Pythonic bindings for FFmpeg's libraries. Name: python-%{pypi_name} -Version: 16.1.0 -Release: 1%?dist +Version: 17.0.1 +Release: 1%{?dist} Summary: Pythonic bindings for FFmpeg's libraries License: BSD-3-Clause URL: https://pyav.basswood-io.com/docs/stable/ diff --git a/anda/langs/python/bitsandbytes/anda.hcl b/anda/langs/python/bitsandbytes/anda.hcl new file mode 100644 index 0000000000..0d68eae1b2 --- /dev/null +++ b/anda/langs/python/bitsandbytes/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "bitsandbytes.spec" + } +} diff --git a/anda/langs/python/bitsandbytes/bitsandbytes.spec b/anda/langs/python/bitsandbytes/bitsandbytes.spec new file mode 100644 index 0000000000..a32b9db343 --- /dev/null +++ b/anda/langs/python/bitsandbytes/bitsandbytes.spec @@ -0,0 +1,49 @@ +%global pypi_name bitsandbytes +%global _desc Accessible large language models via k-bit quantization for PyTorch. + +Name: python-%{pypi_name} +Version: 0.49.2 +Release: 1%{?dist} +Summary: Accessible large language models via k-bit quantization for PyTorch +License: MIT +URL: https://huggingface.co/docs/bitsandbytes/main/en/index +Source0: https://github.com/bitsandbytes-foundation/bitsandbytes/archive/refs/tags/%{version}.tar.gz + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-scikit-build-core +BuildRequires: python3-pip +BuildRequires: python3-hatchling +BuildRequires: python3-wheel +BuildRequires: python3-cmake +BuildRequires: gcc-c++ + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md +%license LICENSE + +%changelog +* Tue May 05 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/bitsandbytes/update.rhai b/anda/langs/python/bitsandbytes/update.rhai new file mode 100644 index 0000000000..c33e1d7b49 --- /dev/null +++ b/anda/langs/python/bitsandbytes/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("bitsandbytes")); diff --git a/anda/langs/python/buttplug-py/anda.hcl b/anda/langs/python/buttplug-py/anda.hcl new file mode 100644 index 0000000000..2dc686be7a --- /dev/null +++ b/anda/langs/python/buttplug-py/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "buttplug-py.spec" + } +} diff --git a/anda/langs/python/buttplug-py/buttplug-py.spec b/anda/langs/python/buttplug-py/buttplug-py.spec new file mode 100644 index 0000000000..4b670c8c13 --- /dev/null +++ b/anda/langs/python/buttplug-py/buttplug-py.spec @@ -0,0 +1,46 @@ +%global pypi_name buttplug +%global _desc Python implementation of core message system and client for the Buttplug Sex Toy Protocol Standard. + +Name: python-%{pypi_name} +Version: 1.0.0 +Release: 1%?dist +Summary: Python implementation of core message system and client for the Buttplug Sex Toy Protocol Standard +License: BSD-3-Clause AND MIT AND Apache-2.0 AND X11 +URL: buttplug-py.docs.buttplug.io +Source0: https://github.com/buttplugio/buttplug-py/archive/refs/tags/%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-hatchling + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-py-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md +%license LICENSE + +%changelog +* Fri Apr 17 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/buttplug-py/update.rhai b/anda/langs/python/buttplug-py/update.rhai new file mode 100644 index 0000000000..a4f5f6f8c4 --- /dev/null +++ b/anda/langs/python/buttplug-py/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("buttplug")); diff --git a/anda/langs/python/consolekit/anda.hcl b/anda/langs/python/consolekit/anda.hcl new file mode 100644 index 0000000000..42675cf9ac --- /dev/null +++ b/anda/langs/python/consolekit/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "consolekit.spec" + } + labels { + } +} diff --git a/anda/langs/python/consolekit/consolekit.spec b/anda/langs/python/consolekit/consolekit.spec new file mode 100644 index 0000000000..dc7728918a --- /dev/null +++ b/anda/langs/python/consolekit/consolekit.spec @@ -0,0 +1,46 @@ +%global pypi_name consolekit +%global _desc Additional utilities for click. + +Name: python-%{pypi_name} +Version: 1.13.0 +Release: 1%?dist +Summary: Additional utilities for click +License: MIT +URL: https://consolekit.readthedocs.io/en/latest/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-flit-core + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/consolekit/update.rhai b/anda/langs/python/consolekit/update.rhai new file mode 100644 index 0000000000..c6843e64e5 --- /dev/null +++ b/anda/langs/python/consolekit/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("consolekit")); diff --git a/anda/langs/python/curl_cffi/curl_cffi.spec b/anda/langs/python/curl_cffi/curl_cffi.spec index f50a21b059..fbf6a96e59 100644 --- a/anda/langs/python/curl_cffi/curl_cffi.spec +++ b/anda/langs/python/curl_cffi/curl_cffi.spec @@ -5,8 +5,8 @@ %global _version 0.14.0b2 Name: python-%{pypi_name} -Version: 0.14.0 -Release: 1%?dist +Version: 0.15.0 +Release: 1%{?dist} Summary: Python binding for curl-impersonate fork via cffi.. License: MIT URL: https://github.com/lexiforest/curl_cffi diff --git a/anda/langs/python/dataclasses-json/dataclasses-json.spec b/anda/langs/python/dataclasses-json/dataclasses-json.spec index 7141310177..2a233e6138 100644 --- a/anda/langs/python/dataclasses-json/dataclasses-json.spec +++ b/anda/langs/python/dataclasses-json/dataclasses-json.spec @@ -1,23 +1,21 @@ %global pypi_name dataclasses-json %global _desc Easily serialize Data Classes to and from JSON. -%define _python_dist_allow_version_zero %{nil} - Name: python-%{pypi_name} Version: 0.6.7 -Release: 1%?dist +Release: 1%{?dist} Summary: Easily serialize Data Classes to and from JSON License: MIT URL: https://github.com/lidatong/dataclasses-json -Source0: %url/archive/refs/tags/v%version.tar.gz +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel +BuildRequires: python3-build BuildRequires: python3-pip +BuildRequires: python3-poetry-core BuildRequires: python3-poetry-dynamic-versioning - -Requires: python3-marshmallow -Requires: python3-typing-inspect +BuildRequires: python3-pyproject-metadata Packager: Owen Zimmerman @@ -31,15 +29,8 @@ Summary: %{summary} %description -n python3-%{pypi_name} %_desc -%package -n python3-%{pypi_name}-doc -Summary: documentation for python3-%{pypi_name} - -%description -n python3-%{pypi_name}-doc -documentation for python3-%{pypi_name}. - %prep -%autosetup -n dataclasses-json-%{version} -sed -i '/\[tool.poetry-dynamic-versioning\]/,+1d' pyproject.toml +%git_clone %{url}.git v%{version} %build %pyproject_wheel @@ -53,5 +44,8 @@ sed -i '/\[tool.poetry-dynamic-versioning\]/,+1d' pyproject.toml %license LICENSE %changelog +* Mon May 04 2026 Owen Zimmerman +- Switch to git source, clean up spec + * Wed Jan 07 2026 Owen Zimmerman - Initial commit diff --git a/anda/langs/python/deprecation-alias/anda.hcl b/anda/langs/python/deprecation-alias/anda.hcl new file mode 100644 index 0000000000..f3d32200b3 --- /dev/null +++ b/anda/langs/python/deprecation-alias/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "deprecation-alias.spec" + } +} diff --git a/anda/langs/python/deprecation-alias/deprecation-alias.spec b/anda/langs/python/deprecation-alias/deprecation-alias.spec new file mode 100644 index 0000000000..2941427117 --- /dev/null +++ b/anda/langs/python/deprecation-alias/deprecation-alias.spec @@ -0,0 +1,48 @@ +%global pypi_name deprecation-alias +%global _desc A wrapper around 'deprecation' providing support for deprecated aliases. + +Name: python-%{pypi_name} +Version: 0.4.0 +Release: 1%?dist +Summary: A wrapper around 'deprecation' providing support for deprecated aliases +License: Apache-2.0 +URL: https://github.com/domdfcoding/deprecation-alias +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildRequires: python3-hatchling +BuildRequires: python3-importlib-metadata +BuildRequires: python3-hatch-requirements-txt +BuildArch: noarch + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files deprecation_alias + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/deprecation-alias/update.rhai b/anda/langs/python/deprecation-alias/update.rhai new file mode 100644 index 0000000000..f3d594eb8c --- /dev/null +++ b/anda/langs/python/deprecation-alias/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("deprecation-alias")); diff --git a/anda/langs/python/dirsync/anda.hcl b/anda/langs/python/dirsync/anda.hcl new file mode 100644 index 0000000000..e020703ef7 --- /dev/null +++ b/anda/langs/python/dirsync/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dirsync.spec" + } +} diff --git a/anda/langs/python/dirsync/dirsync.spec b/anda/langs/python/dirsync/dirsync.spec new file mode 100644 index 0000000000..371c33660f --- /dev/null +++ b/anda/langs/python/dirsync/dirsync.spec @@ -0,0 +1,46 @@ +%global pypi_name dirsync +%global _desc Advanced directory tree synchronisation tool. + +Name: python-%{pypi_name} +Version: 2.2.6 +Release: 1%{?dist} +Summary: Advanced directory tree synchronisation tool +License: MIT +URL: https://github.com/domdfcoding/deprecation-alias +Source0: %{pypi_source} + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildArch: noarch + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE.txt +%{_bindir}/%{pypi_name} + +%changelog +* Mon May 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/dirsync/update.rhai b/anda/langs/python/dirsync/update.rhai new file mode 100644 index 0000000000..1b94711ff1 --- /dev/null +++ b/anda/langs/python/dirsync/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("dirsync")); diff --git a/anda/langs/python/dist-meta/anda.hcl b/anda/langs/python/dist-meta/anda.hcl new file mode 100644 index 0000000000..d7d236f9df --- /dev/null +++ b/anda/langs/python/dist-meta/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dist-meta.spec" + } +} diff --git a/anda/langs/python/dist-meta/dist-meta.spec b/anda/langs/python/dist-meta/dist-meta.spec new file mode 100644 index 0000000000..749cc6d049 --- /dev/null +++ b/anda/langs/python/dist-meta/dist-meta.spec @@ -0,0 +1,45 @@ +%global pypi_name dist-meta +%global _desc Parse and create Python distribution metadata. + +Name: python-%{pypi_name} +Version: 0.9.0 +Release: 1%?dist +Summary: Parse and create Python distribution metadata +License: MIT +URL: https://dist-meta.readthedocs.io/en/latest/ +Source0: https://github.com/repo-helper/dist-meta/archive/refs/tags/v%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-hatch-requirements-txt + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files dist_meta + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/dist-meta/update.rhai b/anda/langs/python/dist-meta/update.rhai new file mode 100644 index 0000000000..4835a11018 --- /dev/null +++ b/anda/langs/python/dist-meta/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("dist-meta")); diff --git a/anda/langs/python/dom_toml/anda.hcl b/anda/langs/python/dom_toml/anda.hcl new file mode 100644 index 0000000000..f16c8a3743 --- /dev/null +++ b/anda/langs/python/dom_toml/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dom_toml.spec" + } +} diff --git a/anda/langs/python/dom_toml/dom_toml.spec b/anda/langs/python/dom_toml/dom_toml.spec new file mode 100644 index 0000000000..f9284e134b --- /dev/null +++ b/anda/langs/python/dom_toml/dom_toml.spec @@ -0,0 +1,46 @@ +%global pypi_name dom_toml +%global _desc Dom's tools for Tom's Obvious, Minimal Language. + +Name: python-%{pypi_name} +Version: 2.3.0 +Release: 1%?dist +Summary: Dom's tools for Tom's Obvious, Minimal Language +License: MIT +URL: https://dom-toml.readthedocs.io/en/latest/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildRequires: python3-flit-core + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files dom_toml + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/dom_toml/update.rhai b/anda/langs/python/dom_toml/update.rhai new file mode 100644 index 0000000000..edf8cc8fb0 --- /dev/null +++ b/anda/langs/python/dom_toml/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("dom_toml")); diff --git a/anda/langs/python/enum-tools/anda.hcl b/anda/langs/python/enum-tools/anda.hcl new file mode 100644 index 0000000000..fa4ffe84f2 --- /dev/null +++ b/anda/langs/python/enum-tools/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "enum-tools.spec" + } +} diff --git a/anda/langs/python/enum-tools/enum-tools.spec b/anda/langs/python/enum-tools/enum-tools.spec new file mode 100644 index 0000000000..0c50face23 --- /dev/null +++ b/anda/langs/python/enum-tools/enum-tools.spec @@ -0,0 +1,47 @@ +%global pypi_name enum_tools +%global _desc Tools to expand Python's enum module. + +Name: python-%{pypi_name} +Version: 0.13.0 +Release: 1%?dist +Summary: Tools to expand Python's enum module +License: LGPL-3.0-or-later +URL: https://enum-tools.readthedocs.io/en/latest/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-whey + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: python3-enum-tools +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n enum_tools-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files enum_tools + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sun Mar 15 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/enum-tools/update.rhai b/anda/langs/python/enum-tools/update.rhai new file mode 100644 index 0000000000..05e5175c4a --- /dev/null +++ b/anda/langs/python/enum-tools/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("enum_tools")); diff --git a/anda/langs/python/faster-whisper/anda.hcl b/anda/langs/python/faster-whisper/anda.hcl new file mode 100644 index 0000000000..740ef5a125 --- /dev/null +++ b/anda/langs/python/faster-whisper/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "faster-whisper.spec" + } +} diff --git a/anda/langs/python/faster-whisper/faster-whisper.spec b/anda/langs/python/faster-whisper/faster-whisper.spec new file mode 100644 index 0000000000..a7b65bd0d1 --- /dev/null +++ b/anda/langs/python/faster-whisper/faster-whisper.spec @@ -0,0 +1,49 @@ +%global pypi_name faster-whisper +%global _desc Faster Whisper transcription with CTranslate2. + +Name: python-%{pypi_name} +Version: 1.2.1 +Release: 1%?dist +Summary: Faster Whisper transcription with CTranslate2 +License: MIT +URL: https://github.com/SYSTRAN/faster-whisper +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-build +BuildRequires: python3-installer +BuildRequires: python3-wheel +BuildRequires: python3-poetry-core +BuildRequires: python3-pip +BuildRequires: python3-setuptools + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n faster-whisper-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files faster_whisper + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Sun Apr 12 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/faster-whisper/update.rhai b/anda/langs/python/faster-whisper/update.rhai new file mode 100644 index 0000000000..49762b8517 --- /dev/null +++ b/anda/langs/python/faster-whisper/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("faster-whisper")); diff --git a/anda/langs/python/fx2/fx2.spec b/anda/langs/python/fx2/fx2.spec index f662c76340..c6872789af 100644 --- a/anda/langs/python/fx2/fx2.spec +++ b/anda/langs/python/fx2/fx2.spec @@ -50,8 +50,6 @@ popd %doc README.md %license LICENSE-0BSD.txt %{_bindir}/fx2tool -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc %changelog * Sun Sep 28 2025 Owen Zimmerman diff --git a/anda/langs/python/gay/gay.spec b/anda/langs/python/gay/gay.spec index 7003fb1030..7ca257a703 100644 --- a/anda/langs/python/gay/gay.spec +++ b/anda/langs/python/gay/gay.spec @@ -1,17 +1,13 @@ -%global commit af18bcf210659b8b5a40624ffab791d49e831017 -%global commit_date 20241015 -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - %global pypi_name gay %global _desc Colour your text / terminal to be more gay. Name: python-%{pypi_name} -Version: %commit_date.%shortcommit +Version: 1.3.4 Release: 2%?dist Summary: Colour your text / terminal to be more gay License: MIT URL: https://github.com/ms-jpq/gay -Source0: %url/archive/%commit/gay-%commit.tar.gz +Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel @@ -25,14 +21,13 @@ Packager: Owen Zimmerman %package -n python3-%{pypi_name} Summary: %{summary} -Provides: gay %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %_desc %prep -%autosetup -n gay-%{commit} +%autosetup -n %{pypi_name}-%{version} %build %pyproject_wheel @@ -44,7 +39,7 @@ Provides: gay %doc README.md %license LICENSE %{_bindir}/gay -%python3_sitelib/gay-1.3.4.dist-info/* +%python3_sitelib/gay-%{version}.dist-info/* %changelog * Tue Sep 30 2025 Owen Zimmerman diff --git a/anda/langs/python/gay/update.rhai b/anda/langs/python/gay/update.rhai index 8386a9f9f8..132085f7c0 100644 --- a/anda/langs/python/gay/update.rhai +++ b/anda/langs/python/gay/update.rhai @@ -1,5 +1 @@ -rpm.global("commit", gh_commit("ms-jpq/gay")); -if rpm.changed() { - rpm.release(); - rpm.global("commit_date", date()); -} +rpm.version(pypi("gay")); diff --git a/anda/langs/python/geventwebsocket/anda.hcl b/anda/langs/python/geventwebsocket/anda.hcl new file mode 100644 index 0000000000..0f26d7b84d --- /dev/null +++ b/anda/langs/python/geventwebsocket/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "geventwebsocket.spec" + } +} diff --git a/anda/langs/python/geventwebsocket/geventwebsocket.spec b/anda/langs/python/geventwebsocket/geventwebsocket.spec new file mode 100644 index 0000000000..19dc0e17e3 --- /dev/null +++ b/anda/langs/python/geventwebsocket/geventwebsocket.spec @@ -0,0 +1,45 @@ +%global pypi_name gevent-websocket +%global _desc gevent-websocket is a WebSocket library for the gevent networking library. + +Name: python-%{pypi_name} +Version: 0.10.1 +Release: 1%{?dist} +Summary: gevent-websocket is a WebSocket library for the gevent networking library +License: Apache-2.0 +URL: https://github.com/cynepiaadmin/geventwebsocket +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files geventwebsocket + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Thu May 07 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/geventwebsocket/update.rhai b/anda/langs/python/geventwebsocket/update.rhai new file mode 100644 index 0000000000..1056e6da0c --- /dev/null +++ b/anda/langs/python/geventwebsocket/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("gevent-websocket")); diff --git a/anda/langs/python/handy-archives/anda.hcl b/anda/langs/python/handy-archives/anda.hcl new file mode 100644 index 0000000000..a02f099907 --- /dev/null +++ b/anda/langs/python/handy-archives/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "handy-archives.spec" + } +} diff --git a/anda/langs/python/handy-archives/handy-archives.spec b/anda/langs/python/handy-archives/handy-archives.spec new file mode 100644 index 0000000000..6fe2094ca4 --- /dev/null +++ b/anda/langs/python/handy-archives/handy-archives.spec @@ -0,0 +1,46 @@ +%global pypi_name handy_archives +%global _desc Some handy archive helpers for Python. + +Name: python-%{pypi_name} +Version: 0.2.0 +Release: 1%?dist +Summary: Some handy archive helpers for Python +License: MIT +URL: https://handy-archives.readthedocs.io/en/latest/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-flit-core + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files handy_archives + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/handy-archives/update.rhai b/anda/langs/python/handy-archives/update.rhai new file mode 100644 index 0000000000..79bc0d2f35 --- /dev/null +++ b/anda/langs/python/handy-archives/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("handy-archives")); diff --git a/anda/langs/python/hf-xet/xf-xet.spec b/anda/langs/python/hf-xet/xf-xet.spec index 81c623ae84..8cdc61f8bb 100644 --- a/anda/langs/python/hf-xet/xf-xet.spec +++ b/anda/langs/python/hf-xet/xf-xet.spec @@ -2,8 +2,8 @@ %global _desc xet client tech, used in huggingface_hub. Name: python-%{pypi_name} -Version: 1.3.2 -Release: 1%?dist +Version: 1.5.0 +Release: 1%{?dist} Summary: xet client tech, used in huggingface_hub License: Apache-2.0 URL: https://github.com/huggingface/xet-core diff --git a/anda/langs/python/hydra-colorlog/hydra-colorlog.spec b/anda/langs/python/hydra-colorlog/hydra-colorlog.spec index 71a17f48cf..376a4245a8 100644 --- a/anda/langs/python/hydra-colorlog/hydra-colorlog.spec +++ b/anda/langs/python/hydra-colorlog/hydra-colorlog.spec @@ -14,7 +14,7 @@ Source0: %url/archive/refs/tags/v%version.tar.gz BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: python3-setuptools -BuildRequires: java-21-openjdk-devel +BuildRequires: java-latest-openjdk-devel Packager: Owen Zimmerman diff --git a/anda/langs/python/jellyfin-apiclient-python/jellyfin-apiclient-python.spec b/anda/langs/python/jellyfin-apiclient-python/jellyfin-apiclient-python.spec index 7af264a1e4..ea34b9b8b9 100644 --- a/anda/langs/python/jellyfin-apiclient-python/jellyfin-apiclient-python.spec +++ b/anda/langs/python/jellyfin-apiclient-python/jellyfin-apiclient-python.spec @@ -2,8 +2,8 @@ %global _desc Python API Client for Jellyfin. Name: python-%{pypi_name} -Version: 1.11.0 -Release: 1%?dist +Version: 1.12.0 +Release: 1%{?dist} Summary: Python API Client for Jellyfin License: GPL-3.0 URL: https://github.com/jellyfin/jellyfin-apiclient-python diff --git a/anda/langs/python/jxlpy/anda.hcl b/anda/langs/python/jxlpy/anda.hcl new file mode 100644 index 0000000000..413874b469 --- /dev/null +++ b/anda/langs/python/jxlpy/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "jxlpy.spec" + } +} diff --git a/anda/langs/python/jxlpy/jxlpy.spec b/anda/langs/python/jxlpy/jxlpy.spec new file mode 100644 index 0000000000..2b6ba77903 --- /dev/null +++ b/anda/langs/python/jxlpy/jxlpy.spec @@ -0,0 +1,49 @@ +%global pypi_name jxlpy +%global _desc Cython bindings and Pillow plugin for JPEG XL. + +Name: python-%{pypi_name} +Version: 0.9.5 +Release: 1%?dist +Summary: Cython bindings and Pillow plugin for JPEG XL +License: MIT +URL: https://github.com/olokelo/jxlpy +Source0: %{pypi_source} + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cython +BuildRequires: libjxl-devel +BuildRequires: gcc-c++ + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{python3_sitearch}/_jxlpy.cpython-314-%{_arch}-linux-gnu.so + +%changelog +* Sat Mar 28 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/jxlpy/update.rhai b/anda/langs/python/jxlpy/update.rhai new file mode 100644 index 0000000000..8306a8af42 --- /dev/null +++ b/anda/langs/python/jxlpy/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("jxlpy")); diff --git a/anda/langs/python/latex2mathml/latex2mathml.spec b/anda/langs/python/latex2mathml/latex2mathml.spec index 2eecbb3805..10cdf88979 100644 --- a/anda/langs/python/latex2mathml/latex2mathml.spec +++ b/anda/langs/python/latex2mathml/latex2mathml.spec @@ -2,8 +2,8 @@ %global _desc Pure Python library for LaTeX to MathML conversion. Name: python-%{pypi_name} -Version: 3.78.1 -Release: 1%?dist +Version: 3.81.0 +Release: 1%{?dist} Summary: Pure Python library for LaTeX to MathML conversion License: MIT URL: https://github.com/roniemartinez/latex2mathml @@ -17,6 +17,7 @@ BuildRequires: python3-pip BuildRequires: python3-poetry-core BuildRequires: python3-installer BuildRequires: python3-build +BuildRequires: python3-hatchling Packager: Owen Zimmerman diff --git a/anda/langs/python/magic-wormhole/magic-wormhole.spec b/anda/langs/python/magic-wormhole/magic-wormhole.spec index a54d31acc3..3e747e1718 100644 --- a/anda/langs/python/magic-wormhole/magic-wormhole.spec +++ b/anda/langs/python/magic-wormhole/magic-wormhole.spec @@ -2,8 +2,8 @@ %global _desc get things from one computer to another, safely. Name: python-%{pypi_name} -Version: 0.22.0 -Release: 1%?dist +Version: 0.24.0 +Release: 1%{?dist} Summary: get things from one computer to another, safely License: MIT URL: https://github.com/magic-wormhole/magic-wormhole @@ -52,9 +52,6 @@ rm %{buildroot}%{_usr}/wormhole_complete.* %{_bindir}/magic-wormhole %{_bindir}/wormhole %{_mandir}/man1/wormhole.1.gz -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc -%python3_sitelib/magic_wormhole-%version.dist-info/* %changelog * Mon Nov 03 2025 Owen Zimmerman diff --git a/anda/langs/python/materialyoucolor/python-materialyoucolor.spec b/anda/langs/python/materialyoucolor/python-materialyoucolor.spec index 673bbcdc2b..f3f85fb1b4 100644 --- a/anda/langs/python/materialyoucolor/python-materialyoucolor.spec +++ b/anda/langs/python/materialyoucolor/python-materialyoucolor.spec @@ -14,6 +14,7 @@ BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel BuildRequires: python3dist(pillow) BuildRequires: python3dist(pip) +BuildRequires: python3dist(pybind11) BuildRequires: python3dist(pytest) BuildRequires: python3dist(rich) BuildRequires: python3dist(setuptools) diff --git a/anda/langs/python/milc/milc.spec b/anda/langs/python/milc/milc.spec index cfc9e833a6..4c95aec804 100644 --- a/anda/langs/python/milc/milc.spec +++ b/anda/langs/python/milc/milc.spec @@ -2,8 +2,8 @@ %global _desc Batteries-Included Python 3 CLI Framework. Name: python-%{pypi_name} -Version: 1.9.1 -Release: 1%?dist +Version: 2.0.0 +Release: 1%{?dist} Summary: Batteries-Included Python 3 CLI Framework License: MIT URL: https://github.com/clueboard/milc diff --git a/anda/langs/python/mistletoe/anda.hcl b/anda/langs/python/mistletoe/anda.hcl new file mode 100644 index 0000000000..a1447a5955 --- /dev/null +++ b/anda/langs/python/mistletoe/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "mistletoe.spec" + } +} diff --git a/anda/langs/python/mistletoe/mistletoe.spec b/anda/langs/python/mistletoe/mistletoe.spec new file mode 100644 index 0000000000..e19f0798e4 --- /dev/null +++ b/anda/langs/python/mistletoe/mistletoe.spec @@ -0,0 +1,46 @@ +%global pypi_name mistletoe +%global _desc A rough port of Node.js's EventEmitter to Python with a few tricks of its own. + +Name: python-%{pypi_name} +Version: 1.5.1 +Release: 1%?dist +Summary: A rough port of Node.js's EventEmitter to Python with a few tricks of its own +License: MIT +URL: https://github.com/miyuchina/mistletoe +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files mistletoe + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/mistletoe + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/mistletoe/update.rhai b/anda/langs/python/mistletoe/update.rhai new file mode 100644 index 0000000000..1212b2716e --- /dev/null +++ b/anda/langs/python/mistletoe/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("mistletoe")); diff --git a/anda/langs/python/mpegdash/anda.hcl b/anda/langs/python/mpegdash/anda.hcl new file mode 100644 index 0000000000..e991509a82 --- /dev/null +++ b/anda/langs/python/mpegdash/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "mpegdash.spec" + } +} diff --git a/anda/langs/python/mpegdash/mpegdash.spec b/anda/langs/python/mpegdash/mpegdash.spec new file mode 100644 index 0000000000..e7047f6221 --- /dev/null +++ b/anda/langs/python/mpegdash/mpegdash.spec @@ -0,0 +1,45 @@ +%global pypi_name mpegdash +%global _desc MPEG-DASH MPD(Media Presentation Description) Parser. + +Name: python-%{pypi_name} +Version: 0.4.1 +Release: 1%?dist +Summary: MPEG-DASH MPD(Media Presentation Description) Parser +License: MIT +URL: https://github.com/sangwonl/python-mpegdash +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Sun Mar 29 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/mpegdash/update.rhai b/anda/langs/python/mpegdash/update.rhai new file mode 100644 index 0000000000..8a8261bbc7 --- /dev/null +++ b/anda/langs/python/mpegdash/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("mpegdash")); diff --git a/anda/langs/python/mpv/python-mpv.spec b/anda/langs/python/mpv/python-mpv.spec index d0ca15e65a..e7b422f89f 100644 --- a/anda/langs/python/mpv/python-mpv.spec +++ b/anda/langs/python/mpv/python-mpv.spec @@ -4,7 +4,7 @@ Name: python-%{pypi_name} Version: 1.0.8 -Release: 2%?dist +Release: 3%?dist Summary: Python interface to the awesome mpv media player License: GPL-2.0+ OR LGPL-2.1+ URL: https://github.com/jaseg/python-mpv @@ -60,8 +60,6 @@ EOL %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.rst %license LICENSE.GPL LICENSE.LGPL -%ghost %python3_sitelib/__pycache__/mpv.cpython-*.pyc -%python3_sitelib/mpv.py %endif %changelog diff --git a/anda/langs/python/numba/numba.spec b/anda/langs/python/numba/numba.spec index 9e8234147c..2ef5fee4c6 100644 --- a/anda/langs/python/numba/numba.spec +++ b/anda/langs/python/numba/numba.spec @@ -1,13 +1,14 @@ %global pypi_name numba Name: python-%{pypi_name} -Version: 0.64.0 -Release: 1%?dist +Version: 0.65.1 +Release: 2%{?dist} Summary: NumPy aware dynamic Python compiler using LLVM License: BSD-2-Clause AND MIT AND BSD-3-Clause URL: https://numba.pydata.org # PyPi source does not include all files Source0: https://github.com/numba/numba/archive/refs/tags/%version.tar.gz +Patch0: remove-llvmlite-version-req.patch # This package is intentionally not noarch BuildRequires: python3-devel @@ -36,7 +37,7 @@ Numba is an open source, NumPy-aware optimizing compiler for Python sponsored by Numba can compile a large subset of numerically-focused Python, including many NumPy functions. Additionally, Numba has support for automatic parallelization of loops, generation of GPU-accelerated code, and creation of ufuncs and C callbacks. %prep -%autosetup -n numba-%{version} +%autosetup -n numba-%{version} -p1 %build %pyproject_wheel diff --git a/anda/langs/python/numba/remove-llvmlite-version-req.patch b/anda/langs/python/numba/remove-llvmlite-version-req.patch new file mode 100644 index 0000000000..f2e9e35c1d --- /dev/null +++ b/anda/langs/python/numba/remove-llvmlite-version-req.patch @@ -0,0 +1,13 @@ +diff --git a/setup.py b/setup.py +index 282b8f42e..24c865f0a 100644 +--- a/setup.py ++++ b/setup.py +@@ -24,7 +24,7 @@ max_python_version = "3.15" # exclusive + min_numpy_build_version = "2.0.0rc1" + min_numpy_run_version = "1.22" + max_numpy_run_version = "2.5" +-min_llvmlite_version = "0.47.0dev0" ++min_llvmlite_version = "0.44" + max_llvmlite_version = "0.48" + + if sys.platform.startswith('linux'): diff --git a/anda/langs/python/open-unmix-pytorch/anda.hcl b/anda/langs/python/open-unmix-pytorch/anda.hcl new file mode 100644 index 0000000000..d8dcdc32f2 --- /dev/null +++ b/anda/langs/python/open-unmix-pytorch/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "open-unmix-pytorch.spec" + } +} diff --git a/anda/langs/python/open-unmix-pytorch/open-unmix-pytorch.spec b/anda/langs/python/open-unmix-pytorch/open-unmix-pytorch.spec new file mode 100644 index 0000000000..93931b0b6d --- /dev/null +++ b/anda/langs/python/open-unmix-pytorch/open-unmix-pytorch.spec @@ -0,0 +1,47 @@ +%global pypi_name openunmix +%global _desc Open-Unmix - Music Source Separation for PyTorch. + +Name: python-%{pypi_name} +Version: 1.3.0 +Release: 1%{?dist} +Summary: Open-Unmix - Music Source Separation for PyTorch +License: MIT +URL: https://github.com/sigsep/open-unmix-pytorch +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildRequires: python3-wheel + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/umx + +%changelog +* Mon May 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/open-unmix-pytorch/update.rhai b/anda/langs/python/open-unmix-pytorch/update.rhai new file mode 100644 index 0000000000..acf60671ab --- /dev/null +++ b/anda/langs/python/open-unmix-pytorch/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("openunmix")); diff --git a/anda/langs/python/opencc/anda.hcl b/anda/langs/python/opencc/anda.hcl new file mode 100644 index 0000000000..8a2a74ce34 --- /dev/null +++ b/anda/langs/python/opencc/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "opencc.spec" + } +} diff --git a/anda/langs/python/opencc/opencc.spec b/anda/langs/python/opencc/opencc.spec new file mode 100644 index 0000000000..e71e191200 --- /dev/null +++ b/anda/langs/python/opencc/opencc.spec @@ -0,0 +1,47 @@ +%global pypi_name opencc +%global _desc Open Chinese Convert. + +Name: python-%{pypi_name} +Version: 1.3.0 +Release: 1%{?dist} +Summary: Open Chinese Convert +License: Apache-2.0 +URL: https://github.com/BYVoid/OpenCC +Source0: %{pypi_source} + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: gcc-c++ +BuildRequires: cmake + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md AUTHORS +%license LICENSE + +%changelog +* Sun Mar 29 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/opencc/update.rhai b/anda/langs/python/opencc/update.rhai new file mode 100644 index 0000000000..df2b57b416 --- /dev/null +++ b/anda/langs/python/opencc/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("opencc")); diff --git a/anda/langs/python/peft/anda.hcl b/anda/langs/python/peft/anda.hcl new file mode 100644 index 0000000000..7e35b698f0 --- /dev/null +++ b/anda/langs/python/peft/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "peft.spec" + } +} diff --git a/anda/langs/python/peft/peft.spec b/anda/langs/python/peft/peft.spec new file mode 100644 index 0000000000..8c9353a80f --- /dev/null +++ b/anda/langs/python/peft/peft.spec @@ -0,0 +1,45 @@ +%global pypi_name peft +%global _desc PEFT: State-of-the-art Parameter-Efficient Fine-Tuning. + +Name: python-%{pypi_name} +Version: 0.19.1 +Release: 1%{?dist} +Summary: PEFT: State-of-the-art Parameter-Efficient Fine-Tuning +License: Apache-2.0 +URL: https://github.com/huggingface/peft +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-devel + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Mon May 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/peft/update.rhai b/anda/langs/python/peft/update.rhai new file mode 100644 index 0000000000..364e788afc --- /dev/null +++ b/anda/langs/python/peft/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("peft")); diff --git a/anda/langs/python/plexapi/anda.hcl b/anda/langs/python/plexapi/anda.hcl new file mode 100644 index 0000000000..1b822bf3cd --- /dev/null +++ b/anda/langs/python/plexapi/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "plexapi.spec" + } +} diff --git a/anda/langs/python/plexapi/plexapi.spec b/anda/langs/python/plexapi/plexapi.spec new file mode 100644 index 0000000000..5dd6ca5a63 --- /dev/null +++ b/anda/langs/python/plexapi/plexapi.spec @@ -0,0 +1,46 @@ +%global pypi_name plexapi +%global _desc Python bindings for the Plex API. + +Name: python-%{pypi_name} +Version: 4.18.1 +Release: 1%{?dist} +Summary: Python bindings for the Plex API +License: BSD-3-Clause +URL: https://github.com/pushingkarmaorg/python-plexapi +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: %{pypi_name} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE.txt + +%changelog +* Sun Mar 29 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/plexapi/update.rhai b/anda/langs/python/plexapi/update.rhai new file mode 100644 index 0000000000..e764dd50d7 --- /dev/null +++ b/anda/langs/python/plexapi/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("plexapi")); diff --git a/anda/langs/python/posthog/posthog.spec b/anda/langs/python/posthog/posthog.spec index c31e3e1915..a48ac91edb 100644 --- a/anda/langs/python/posthog/posthog.spec +++ b/anda/langs/python/posthog/posthog.spec @@ -2,7 +2,7 @@ %global _desc Send usage data from your Python code to PostHog. Name: python-%{pypi_name} -Version: 7.9.8 +Version: 7.14.0 Release: 1%{?dist} Summary: Send usage data from your Python code to PostHog License: MIT diff --git a/anda/langs/python/protobuf/python3-protobuf.spec b/anda/langs/python/protobuf/python3-protobuf.spec index 5baebc42de..15b439a95e 100644 --- a/anda/langs/python/protobuf/python3-protobuf.spec +++ b/anda/langs/python/protobuf/python3-protobuf.spec @@ -2,8 +2,8 @@ %global pypi_name protobuf Name: python-%{pypi_name} -Version: 7.34.0 -Release: 1%?dist +Version: 7.34.1 +Release: 1%{?dist} Summary: Protocol Buffers License: BSD-3-Clause diff --git a/anda/langs/python/proton-keyring-linux/anda.hcl b/anda/langs/python/proton-keyring-linux/anda.hcl new file mode 100644 index 0000000000..f4b7eb0666 --- /dev/null +++ b/anda/langs/python/proton-keyring-linux/anda.hcl @@ -0,0 +1,6 @@ + project pkg { + arches = ["x86_64"] + rpm { + spec = "proton-keyring-linux.spec" + } + } diff --git a/anda/langs/python/proton-keyring-linux/proton-keyring-linux.spec b/anda/langs/python/proton-keyring-linux/proton-keyring-linux.spec new file mode 100644 index 0000000000..edfc0aff6d --- /dev/null +++ b/anda/langs/python/proton-keyring-linux/proton-keyring-linux.spec @@ -0,0 +1,45 @@ +%global _desc Python3 Proton linux keyring base implementation. + +Name: python-proton-keyring-linux +Version: 0.2.1 +Release: 1%{?dist} +Summary: Python3 Proton linux keyring base implementation +License: GPL-3.0-or-later +URL: https://github.com/ProtonVPN/python-proton-keyring-linux +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-proton-keyring-linux +Summary: %{summary} +Provides: proton-keyring-linux +%{?python_provide:%python_provide python3-proton-keyring-linux} + +%description -n python3-proton-keyring-linux +%_desc + +%prep +%autosetup -n python-proton-keyring-linux-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files proton + +%files -n python3-proton-keyring-linux -f %{pyproject_files} +%doc CODEOWNERS +%license LICENSE + +%changelog +* Mon Apr 27 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/proton-keyring-linux/update.rhai b/anda/langs/python/proton-keyring-linux/update.rhai new file mode 100644 index 0000000000..fa6403a7cb --- /dev/null +++ b/anda/langs/python/proton-keyring-linux/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("ProtonVPN/python-proton-keyring-linux")); diff --git a/anda/langs/python/proton-vpn-api-core/proton-vpn-api-core.spec b/anda/langs/python/proton-vpn-api-core/proton-vpn-api-core.spec index 787341faa3..67e8b5885f 100644 --- a/anda/langs/python/proton-vpn-api-core/proton-vpn-api-core.spec +++ b/anda/langs/python/proton-vpn-api-core/proton-vpn-api-core.spec @@ -4,7 +4,7 @@ %global __requires_exclude ^python3\\.14dist\\(proton-vpn-local-agent\\)$ Name: python-%{pypi_name} -Version: 4.16.0 +Version: 5.1.2 Release: 1%{?dist} Summary: A facade to the other Proton VPN components License: GPL-3.0-Only diff --git a/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec b/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec index 28e447b79f..1ceef4dd18 100644 --- a/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec +++ b/anda/langs/python/proton-vpn-local-agent/proton-vpn-local-agent.spec @@ -1,12 +1,11 @@ %define debug_package %{nil} -%define __python /usr/bin/python3 %global pypi_name proton-vpn-local-agent %global _desc Proton VPN local agent written in Rust. Name: python-%{pypi_name} -Version: 1.6.0 -Release: 3%?dist +Version: 1.6.1 +Release: 1%{?dist} Summary: Proton VPN local agent written in Rust License: GPL-3.0-only URL: https://github.com/ProtonVPN/local-agent-rs @@ -44,12 +43,12 @@ popd %install pushd %{name} -install -Dm0644 target/release/libpython_proton_vpn_local_agent.so %{buildroot}%{python_sitearch}/proton/vpn/local_agent.so +install -Dm0644 target/release/libpython_proton_vpn_local_agent.so %{buildroot}%{python3_sitearch}/proton/vpn/local_agent.so popd %files -n python3-%{pypi_name} %doc README.md CODEOWNERS -%{python_sitearch}/proton/vpn/local_agent.so +%{python3_sitearch}/proton/vpn/local_agent.so %changelog * Sun Jan 18 2026 Owen Zimmerman diff --git a/anda/langs/python/pyproject-parser/anda.hcl b/anda/langs/python/pyproject-parser/anda.hcl new file mode 100644 index 0000000000..3225ab5eed --- /dev/null +++ b/anda/langs/python/pyproject-parser/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "pyproject-parser.spec" + } +} diff --git a/anda/langs/python/pyproject-parser/pyproject-parser.spec b/anda/langs/python/pyproject-parser/pyproject-parser.spec new file mode 100644 index 0000000000..f639e92dc5 --- /dev/null +++ b/anda/langs/python/pyproject-parser/pyproject-parser.spec @@ -0,0 +1,50 @@ +%global pypi_name pyproject-parser +%global _desc Parser for 'pyproject.toml' + +Name: python-%{pypi_name} +Version: 0.14.0 +Release: 1%?dist +Summary: Parser for 'pyproject.toml' +License: MIT +URL: https://pyproject-parser.readthedocs.io/en/latest/ +Source0: https://github.com/repo-helper/pyproject-parser/archive/refs/tags/v%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-pip +BuildRequires: python3-devel +BuildRequires: python3-hatch-requirements-txt + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: pyvcd +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files pyproject_parser + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE +%{_bindir}/pyproject-fmt +%{_bindir}/pyproject-info +%{_bindir}/pyproject-parser +%{_bindir}/check-pyproject + +%changelog +* Sat Sep 27 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/pyproject-parser/update.rhai b/anda/langs/python/pyproject-parser/update.rhai new file mode 100644 index 0000000000..5f6f39092d --- /dev/null +++ b/anda/langs/python/pyproject-parser/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("pyproject-parser")); diff --git a/anda/langs/python/pyprojectize/anda.hcl b/anda/langs/python/pyprojectize/anda.hcl new file mode 100644 index 0000000000..e6190f728e --- /dev/null +++ b/anda/langs/python/pyprojectize/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "pyprojectize.spec" + } +} diff --git a/anda/langs/python/pyprojectize/pyprojectize.spec b/anda/langs/python/pyprojectize/pyprojectize.spec new file mode 100644 index 0000000000..0ab44f7b96 --- /dev/null +++ b/anda/langs/python/pyprojectize/pyprojectize.spec @@ -0,0 +1,48 @@ +%global pypi_name pyprojectize +%global _desc Convert a spec file from py3_build etc. macros to pyproject_*. + +Name: python-%{pypi_name} +Version: 1a7 +Release: 1%?dist +Summary: Convert a spec file from py3_build etc. macros to pyproject_* +License: MIT-0 +URL: https://github.com/hroncok/pyprojectize +Source0: %{pypi_source} + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-hatchling +BuildArch: noarch + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: %{pypi_name} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files pyprojectize + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/pyprojectize + +%changelog +* Mon Mar 09 2026 Owen Zimmerman - 1a7-1 +- Initial commit diff --git a/anda/langs/python/pyprojectize/update.rhai b/anda/langs/python/pyprojectize/update.rhai new file mode 100644 index 0000000000..98cd6f1abe --- /dev/null +++ b/anda/langs/python/pyprojectize/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("pyprojectize")); diff --git a/anda/langs/python/pysdl3/anda.hcl b/anda/langs/python/pysdl3/anda.hcl new file mode 100644 index 0000000000..6746293d9c --- /dev/null +++ b/anda/langs/python/pysdl3/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "pysdl3.spec" + } +} diff --git a/anda/langs/python/pysdl3/pysdl3.spec b/anda/langs/python/pysdl3/pysdl3.spec new file mode 100644 index 0000000000..282b5d0ca1 --- /dev/null +++ b/anda/langs/python/pysdl3/pysdl3.spec @@ -0,0 +1,45 @@ +%global pypi_name pysdl3 +%global _desc A pure Python wrapper for SDL3. + +Name: python-%{pypi_name} +Version: 0.9.11b1 +Release: 1%{?dist} +Summary: A pure Python wrapper for SDL3 +License: MIT +URL: https://pysdl3.readthedocs.io/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files sdl3 + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Sun Mar 29 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/pysdl3/update.rhai b/anda/langs/python/pysdl3/update.rhai new file mode 100644 index 0000000000..9c5edad2fc --- /dev/null +++ b/anda/langs/python/pysdl3/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("pysdl3")); diff --git a/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec b/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec index ebf65afadf..9bdef1775a 100644 --- a/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec +++ b/anda/langs/python/python-mpv-jsonipc/python-mpv-jsonipc.spec @@ -2,8 +2,8 @@ %global _desc Python API to MPV using JSON IPC. Name: python-%{pypi_name} -Version: 1.2.1 -Release: 1%?dist +Version: 1.2.2 +Release: 1%{?dist} Summary: Python API to MPV using JSON IPC License: Apache-2.0 URL: https://github.com/iwalton3/python-mpv-jsonipc diff --git a/anda/langs/python/python-soxr/python-soxr.spec b/anda/langs/python/python-soxr/python-soxr.spec index 5ce61f4ef1..04cde81f0a 100644 --- a/anda/langs/python/python-soxr/python-soxr.spec +++ b/anda/langs/python/python-soxr/python-soxr.spec @@ -4,8 +4,8 @@ %global _desc Fast and high quality sample-rate conversion library for Python. Name: python-%{pypi_name} -Version: 1.0.0 -Release: 1%?dist +Version: 1.1.0 +Release: 1%{?dist} Summary: Fast and high quality sample-rate conversion library for Python License: LGPL-2.1 URL: https://github.com/dofuuz/python-soxr diff --git a/anda/langs/python/pywal16/python-pywal16.spec b/anda/langs/python/pywal16/python-pywal16.spec index 8b3b4e2907..97323e8ee5 100644 --- a/anda/langs/python/pywal16/python-pywal16.spec +++ b/anda/langs/python/pywal16/python-pywal16.spec @@ -3,8 +3,8 @@ Pywal is a tool that generates a color palette from the dominant colors in an image. It then applies the colors system-wide and on-the-fly in all of your favourite programs.} Name: python-%{pypi_name} -Version: 3.8.14 -Release: 1%?dist +Version: 3.8.15 +Release: 1%{?dist} Summary: 16 color fork of the original Pywal License: MIT URL: https://github.com/eylles/pywal16 diff --git a/anda/langs/python/pywebview/pywebview.spec b/anda/langs/python/pywebview/pywebview.spec index 4f3b8e3321..812b3524de 100644 --- a/anda/langs/python/pywebview/pywebview.spec +++ b/anda/langs/python/pywebview/pywebview.spec @@ -2,8 +2,8 @@ %global _desc Build GUI for your Python program with JavaScript, HTML, and CSS. Name: python-%{pypi_name} -Version: 6.1 -Release: 1%?dist +Version: 6.2.1 +Release: 1%{?dist} Summary: Build GUI for your Python program with JavaScript, HTML, and CSS License: BSD-3-Clause URL: https://github.com/r0x0r/pywebview diff --git a/anda/langs/python/ratelimit/anda.hcl b/anda/langs/python/ratelimit/anda.hcl new file mode 100644 index 0000000000..95418dd483 --- /dev/null +++ b/anda/langs/python/ratelimit/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "ratelimit.spec" + } +} diff --git a/anda/langs/python/ratelimit/ratelimit.spec b/anda/langs/python/ratelimit/ratelimit.spec new file mode 100644 index 0000000000..2023b70b7d --- /dev/null +++ b/anda/langs/python/ratelimit/ratelimit.spec @@ -0,0 +1,45 @@ +%global pypi_name ratelimit +%global _desc API Rate Limit Decorator. + +Name: python-%{pypi_name} +Version: 2.2.1 +Release: 1%?dist +Summary: API Rate Limit Decorator +License: MIT +URL: https://github.com/tomasbasham/ratelimit +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE.txt + +%changelog +* Sun Mar 29 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/ratelimit/update.rhai b/anda/langs/python/ratelimit/update.rhai new file mode 100644 index 0000000000..84cdc8f003 --- /dev/null +++ b/anda/langs/python/ratelimit/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("ratelimit")); diff --git a/anda/langs/python/shippinglabel/anda.hcl b/anda/langs/python/shippinglabel/anda.hcl new file mode 100644 index 0000000000..fb253269d5 --- /dev/null +++ b/anda/langs/python/shippinglabel/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "shippinglabel.spec" + } +} diff --git a/anda/langs/python/shippinglabel/shippinglabel.spec b/anda/langs/python/shippinglabel/shippinglabel.spec new file mode 100644 index 0000000000..724a7121c1 --- /dev/null +++ b/anda/langs/python/shippinglabel/shippinglabel.spec @@ -0,0 +1,45 @@ +%global pypi_name shippinglabel +%global _desc Utilities for handling packages. + +Name: python-%{pypi_name} +Version: 2.3.0 +Release: 1%?dist +Summary: Utilities for handling packages +License: MIT +URL: https://shippinglabel.readthedocs.io/en/latest/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-hatch-requirements-txt + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files shippinglabel + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/shippinglabel/update.rhai b/anda/langs/python/shippinglabel/update.rhai new file mode 100644 index 0000000000..d9a05c619d --- /dev/null +++ b/anda/langs/python/shippinglabel/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("shippinglabel")); diff --git a/anda/langs/python/smbus2/smbus2.spec b/anda/langs/python/smbus2/smbus2.spec index ecc6fb0246..9a563ed19d 100644 --- a/anda/langs/python/smbus2/smbus2.spec +++ b/anda/langs/python/smbus2/smbus2.spec @@ -2,8 +2,8 @@ %global _desc A drop-in replacement for smbus-cffi/smbus-python in pure Python. Name: python-%{pypi_name} -Version: 0.6.0 -Release: 1%?dist +Version: 0.6.1 +Release: 1%{?dist} Summary: A drop-in replacement for smbus-cffi/smbus-python in pure Python License: MIT URL: https://github.com/kplindegaard/smbus2 diff --git a/anda/langs/python/spake2/spake2.spec b/anda/langs/python/spake2/spake2.spec index 64061662c8..d223f203db 100644 --- a/anda/langs/python/spake2/spake2.spec +++ b/anda/langs/python/spake2/spake2.spec @@ -40,9 +40,6 @@ Summary: %{summary} %files -n python3-%{pypi_name} -f %{pyproject_files} %doc README.md %license LICENSE -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc -%python3_sitelib/spake2-%version.dist-info/* %changelog * Mon Nov 03 2025 Owen Zimmerman diff --git a/anda/langs/python/stable-ts/anda.hcl b/anda/langs/python/stable-ts/anda.hcl new file mode 100644 index 0000000000..748ffbba2c --- /dev/null +++ b/anda/langs/python/stable-ts/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "stable-ts.spec" + } +} diff --git a/anda/langs/python/stable-ts/stable-ts.spec b/anda/langs/python/stable-ts/stable-ts.spec new file mode 100644 index 0000000000..9a22e602a5 --- /dev/null +++ b/anda/langs/python/stable-ts/stable-ts.spec @@ -0,0 +1,50 @@ +%global pypi_name stable_ts +%global real_name stable-ts +%global _desc Transcription, forced alignment, and audio indexing with OpenAI's Whisper. + +Name: python-%{real_name} +Version: 2.19.1 +Release: 2%{?dist} +Summary: Transcription, forced alignment, and audio indexing with OpenAI's Whisper +License: MIT +URL: https://github.com/jianfch/stable-ts +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{real_name} +Summary: %{summary} +Obsoletes: python3-%{pypi_name} < %{evr} +%{?python_provide:%python_provide python3-%{real_name}} + +%description -n python3-%{real_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} +sed -i "s/openai-whisper==20230308/openai-whisper/" setup.py + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files stable_whisper + +%files -n python3-%{real_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/%{real_name} + +%changelog +* Mon May 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/stable-ts/update.rhai b/anda/langs/python/stable-ts/update.rhai new file mode 100644 index 0000000000..41e2d84d6f --- /dev/null +++ b/anda/langs/python/stable-ts/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("stable-ts")); diff --git a/anda/langs/python/superisoupdater/superisoupdater.spec b/anda/langs/python/superisoupdater/superisoupdater.spec index 66186f436a..2e3aa362b0 100644 --- a/anda/langs/python/superisoupdater/superisoupdater.spec +++ b/anda/langs/python/superisoupdater/superisoupdater.spec @@ -2,8 +2,8 @@ %global _desc A powerful tool to conveniently update all of your ISOs! Name: python-%{pypi_name} -Version: 1.5.0 -Release: 1%?dist +Version: 1.5.1 +Release: 1%{?dist} Summary: %{_desc} License: GPLv3 URL: https://github.com/JoshuaVandaele/SuperISOUpdater diff --git a/anda/langs/python/tekore/anda.hcl b/anda/langs/python/tekore/anda.hcl new file mode 100644 index 0000000000..cdfb820b46 --- /dev/null +++ b/anda/langs/python/tekore/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "tekore.spec" + } +} diff --git a/anda/langs/python/tekore/tekore.spec b/anda/langs/python/tekore/tekore.spec new file mode 100644 index 0000000000..87b82a259f --- /dev/null +++ b/anda/langs/python/tekore/tekore.spec @@ -0,0 +1,45 @@ +%global pypi_name tekore +%global _desc Spotify Web API client for Python 3. + +Name: python-%{pypi_name} +Version: 6.1.1 +Release: 1%?dist +Summary: Spotify Web API client for Python 3 +License: MIT +URL: https://tekore.readthedocs.io/en/stable/ +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc readme_pypi.rst +%license LICENSE + +%changelog +* Thu Oct 23 2025 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/tekore/update.rhai b/anda/langs/python/tekore/update.rhai new file mode 100644 index 0000000000..5bd0687472 --- /dev/null +++ b/anda/langs/python/tekore/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("tekore")); diff --git a/anda/langs/python/tidalapi/anda.hcl b/anda/langs/python/tidalapi/anda.hcl new file mode 100644 index 0000000000..61c09996d6 --- /dev/null +++ b/anda/langs/python/tidalapi/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "tidalapi.spec" + } +} diff --git a/anda/langs/python/tidalapi/tidalapi.spec b/anda/langs/python/tidalapi/tidalapi.spec new file mode 100644 index 0000000000..6d25af8cd4 --- /dev/null +++ b/anda/langs/python/tidalapi/tidalapi.spec @@ -0,0 +1,46 @@ +%global pypi_name tidalapi +%global _desc Python API for TIDAL music streaming service. + +Name: python-%{pypi_name} +Version: 0.8.11 +Release: 1%?dist +Summary: Python API for TIDAL music streaming service +License: LGPL-3.0-or-later +URL: https://github.com/matrix-org/synapse-s3-storage-provider +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-poetry-core + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst HISTORY.rst +%license LICENSE + +%changelog +* Sun Mar 29 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/tidalapi/update.rhai b/anda/langs/python/tidalapi/update.rhai new file mode 100644 index 0000000000..558dc53d97 --- /dev/null +++ b/anda/langs/python/tidalapi/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("tidalapi")); diff --git a/anda/langs/python/tokenizers/tokenizers.spec b/anda/langs/python/tokenizers/tokenizers.spec index 63e03995c8..d4e43269ed 100644 --- a/anda/langs/python/tokenizers/tokenizers.spec +++ b/anda/langs/python/tokenizers/tokenizers.spec @@ -2,8 +2,8 @@ %global _desc Fast State-of-the-Art Tokenizers optimized for Research and Production. Name: python-%{pypi_name} -Version: 0.22.2 -Release: 1%?dist +Version: 0.23.1 +Release: 1%{?dist} Summary: Fast State-of-the-Art Tokenizers optimized for Research and Production License: Apache-2.0 URL: https://github.com/huggingface/tokenizers diff --git a/anda/langs/python/transformers/anda.hcl b/anda/langs/python/transformers/anda.hcl new file mode 100644 index 0000000000..19dbd51d96 --- /dev/null +++ b/anda/langs/python/transformers/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "transformers.spec" + } +} diff --git a/anda/langs/python/transformers/transformers.spec b/anda/langs/python/transformers/transformers.spec new file mode 100644 index 0000000000..df39d90825 --- /dev/null +++ b/anda/langs/python/transformers/transformers.spec @@ -0,0 +1,51 @@ +%global pypi_name transformers +%global _desc The model-definition framework for state-of-the-art machine learning models. + +Name: python-%{pypi_name} +Version: 5.8.0 +Release: 1%{?dist} +Summary: The model-definition framework for state-of-the-art machine learning models +License: Apache-2.0 +URL: https://huggingface.co/docs/transformers/index +Source0: %{pypi_source} +Patch0: versions.patch +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +Provides: synapse-s3-storage-provider +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} -p1 + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files transformers + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE +%{_bindir}/transformers + +%changelog +* Mon May 04 2026 Owen Zimmerman +- Update spec for version 5.7.0 + +* Sat Jan 10 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/transformers/update.rhai b/anda/langs/python/transformers/update.rhai new file mode 100644 index 0000000000..8ec179c575 --- /dev/null +++ b/anda/langs/python/transformers/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("transformers")); diff --git a/anda/langs/python/transformers/versions.patch b/anda/langs/python/transformers/versions.patch new file mode 100644 index 0000000000..1ab99bd632 --- /dev/null +++ b/anda/langs/python/transformers/versions.patch @@ -0,0 +1,22 @@ +diff --git a/setup.py b/setup.py +index d24f3bb665..0f0a2803a1 100644 +--- a/setup.py ++++ b/setup.py +@@ -86,7 +86,7 @@ _deps = [ + "fugashi>=1.0", + "GitPython<3.1.19", + "hf-doc-builder", +- "huggingface-hub>=1.5.0,<2.0", ++ "huggingface-hub", + "ipadic>=1.0.0,<2.0", + "jinja2>=3.1.0", + "jmespath>=1.0.1", +@@ -147,7 +147,7 @@ _deps = [ + "tomli", + "tiktoken", + "timm>=1.0.23", +- "tokenizers>=0.22.0,<=0.23.0", ++ "tokenizers>=0.22.0", + "torch>=2.4", + "torchaudio", + "torchvision", diff --git a/anda/langs/python/types-colorama/types-colorama.spec b/anda/langs/python/types-colorama/types-colorama.spec index 7690f5baf7..df62238d92 100644 --- a/anda/langs/python/types-colorama/types-colorama.spec +++ b/anda/langs/python/types-colorama/types-colorama.spec @@ -1,5 +1,5 @@ -%global commit bfb7342f83b040a91d56abe055106a83d90b48ca -%global commit_date 20260309 +%global commit d541d5a20cb7533c6eaba1430b5004f9b0e504ec +%global commit_date 20260507 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global pypi_name types-colorama diff --git a/anda/langs/python/vulkan/anda.hcl b/anda/langs/python/vulkan/anda.hcl new file mode 100644 index 0000000000..1c563a199c --- /dev/null +++ b/anda/langs/python/vulkan/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "vulkan.spec" + } +} diff --git a/anda/langs/python/vulkan/update.rhai b/anda/langs/python/vulkan/update.rhai new file mode 100644 index 0000000000..e6574d5949 --- /dev/null +++ b/anda/langs/python/vulkan/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("vulkan")); diff --git a/anda/langs/python/vulkan/vulkan.spec b/anda/langs/python/vulkan/vulkan.spec new file mode 100644 index 0000000000..a46e96500f --- /dev/null +++ b/anda/langs/python/vulkan/vulkan.spec @@ -0,0 +1,48 @@ +%define debug_package %{nil} + +%global pypi_name vulkan +%global _desc The ultimate Python binding for Vulkan API. + +Name: python-%{pypi_name} +Version: 1.3.275.1 +Release: 1%{?dist} +Summary: The ultimate Python binding for Vulkan API +License: Apache-2.0 +URL: https://github.com/realitix/vulkan +Source0: %{pypi_source} + +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-devel +BuildRequires: gcc + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{pypi_name} + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.md +%license LICENSE + +%changelog +* Mon May 04 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/python/whey/anda.hcl b/anda/langs/python/whey/anda.hcl new file mode 100644 index 0000000000..6e5dc6a71f --- /dev/null +++ b/anda/langs/python/whey/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "whey.spec" + } +} diff --git a/anda/langs/python/whey/update.rhai b/anda/langs/python/whey/update.rhai new file mode 100644 index 0000000000..d85c462dce --- /dev/null +++ b/anda/langs/python/whey/update.rhai @@ -0,0 +1 @@ +rpm.version(pypi("whey")); diff --git a/anda/langs/python/whey/whey.spec b/anda/langs/python/whey/whey.spec new file mode 100644 index 0000000000..11b6c0dbce --- /dev/null +++ b/anda/langs/python/whey/whey.spec @@ -0,0 +1,48 @@ +%global pypi_name whey +%global _desc A simple Python wheel builder for simple projects. + +Name: python-%{pypi_name} +Version: 0.1.1 +Release: 1%?dist +Summary: A simple Python wheel builder for simple projects +License: MIT +URL: https://github.com/deepin-community/python-whey +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-build +BuildRequires: python3-setuptools +BuildRequires: python3-wheel +BuildRequires: python3-pip +BuildRequires: python3-devel + +Packager: Owen Zimmerman + +%description +%_desc + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} +%_desc + +%prep +%autosetup -n whey-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files whey + +%files -n python3-%{pypi_name} -f %{pyproject_files} +%doc README.rst +%license LICENSE +%{_bindir}/whey + +%changelog +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/langs/rust/dysk/rust-dysk.spec b/anda/langs/rust/dysk/rust-dysk.spec index 21f798887d..a97f42b1aa 100644 --- a/anda/langs/rust/dysk/rust-dysk.spec +++ b/anda/langs/rust/dysk/rust-dysk.spec @@ -4,8 +4,8 @@ %global crate dysk Name: rust-dysk -Version: 3.6.0 -Release: 1%?dist +Version: 3.6.1 +Release: 1%{?dist} Summary: Give information on mounted filesystems License: MIT diff --git a/anda/langs/rust/fresh/fresh.spec b/anda/langs/rust/fresh/fresh.spec index 8948fb3ed7..742cdbed0e 100644 --- a/anda/langs/rust/fresh/fresh.spec +++ b/anda/langs/rust/fresh/fresh.spec @@ -1,7 +1,7 @@ %undefine __brp_mangle_shebangs Name: fresh -Version: 0.2.14 +Version: 0.3.5 Release: 1%{?dist} Summary: Text editor for your terminal: easy, powerful and fast URL: https://getfresh.dev diff --git a/anda/langs/rust/gitoxide/rust-gitoxide.spec b/anda/langs/rust/gitoxide/rust-gitoxide.spec index bf2ea04a8f..2ccae8cb66 100644 --- a/anda/langs/rust/gitoxide/rust-gitoxide.spec +++ b/anda/langs/rust/gitoxide/rust-gitoxide.spec @@ -5,8 +5,8 @@ %global crate gitoxide Name: rust-gitoxide -Version: 0.51.0 -Release: 1%?dist +Version: 0.53.0 +Release: 1%{?dist} Summary: Command-line application for interacting with git repositories License: MIT OR Apache-2.0 diff --git a/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec b/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec index 51fbebd0dd..7eed036285 100644 --- a/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec +++ b/anda/langs/rust/jellyfin-rpc/rust-jellyfin-rpc-cli.spec @@ -5,8 +5,8 @@ %global crate jellyfin-rpc-cli Name: rust-jellyfin-rpc-cli -Version: 1.3.4 -Release: 1%?dist +Version: 1.3.5 +Release: 1%{?dist} Summary: Displays the content you're currently watching on Discord! License: GPL-3.0-or-later diff --git a/anda/langs/rust/ouch/rust-ouch.spec b/anda/langs/rust/ouch/rust-ouch.spec index 73300e87ef..ababa97206 100644 --- a/anda/langs/rust/ouch/rust-ouch.spec +++ b/anda/langs/rust/ouch/rust-ouch.spec @@ -4,8 +4,8 @@ %global crate ouch Name: rust-ouch -Version: 0.6.1 -Release: 1%?dist +Version: 0.7.1 +Release: 1%{?dist} Summary: Command-line utility for easily compressing and decompressing files and directories License: MIT diff --git a/anda/langs/rust/rnote/rnote.spec b/anda/langs/rust/rnote/rnote.spec index 76092a65d4..780f004ca6 100644 --- a/anda/langs/rust/rnote/rnote.spec +++ b/anda/langs/rust/rnote/rnote.spec @@ -1,8 +1,8 @@ %global rustflags_debuginfo 1 Name: rnote -Version: 0.13.1 -Release: 1%?dist +Version: 0.14.2 +Release: 1%{?dist} Summary: Sketch and take handwritten notes License: GPL-3.0 URL: https://github.com/flxzt/rnote diff --git a/anda/langs/rust/starship/rust-starship.spec b/anda/langs/rust/starship/rust-starship.spec index 2c2ca896f2..ea49b6f1b1 100644 --- a/anda/langs/rust/starship/rust-starship.spec +++ b/anda/langs/rust/starship/rust-starship.spec @@ -4,15 +4,13 @@ %global crate starship Name: rust-starship -Version: 1.24.2 -Release: 1%?dist +Version: 1.25.1 +Release: 1%{?dist} Summary: Minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️ License: ISC URL: https://crates.io/crates/starship Source: %{crates_source} -# Automatically generated patch to strip dependencies and normalize metadata -Patch: starship-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 BuildRequires: anda-srpm-macros diff --git a/anda/langs/rust/starship/starship-fix-metadata-auto.diff b/anda/langs/rust/starship/starship-fix-metadata-auto.diff deleted file mode 100644 index ce9f689d72..0000000000 --- a/anda/langs/rust/starship/starship-fix-metadata-auto.diff +++ /dev/null @@ -1,29 +0,0 @@ ---- a/Cargo.toml 2025-04-27 10:52:14.000000000 -0500 -+++ b/Cargo.toml 2025-04-27 12:39:59.385400385 -0500 -@@ -265,22 +265,6 @@ - ] - default-features = false - --[target."cfg(windows)".dependencies.deelevate] --version = "0.2.0" -- --[target."cfg(windows)".dependencies.windows] --version = "0.61.0" --features = [ -- "Win32_Foundation", -- "Win32_UI_Shell", -- "Win32_Security", -- "Win32_System_Threading", -- "Win32_Storage_FileSystem", --] -- --[target."cfg(windows)".build-dependencies.winres] --version = "0.1.12" -- - [profile.bench] - lto = "thin" - codegen-units = 16 - [dev-dependencies] - mockall = "0.13.1" - tempfile = "3.19.1" - diff --git a/anda/langs/rust/tectonic/rust-tectonic.spec b/anda/langs/rust/tectonic/rust-tectonic.spec index 580e87869b..4aa91177f7 100644 --- a/anda/langs/rust/tectonic/rust-tectonic.spec +++ b/anda/langs/rust/tectonic/rust-tectonic.spec @@ -4,7 +4,7 @@ %global crate tectonic Name: rust-tectonic -Version: 0.15.0 +Version: 0.16.9 Release: 1%{?dist} Summary: Modernized, complete, embeddable TeX/LaTeX engine diff --git a/anda/langs/rust/television/rust-television.spec b/anda/langs/rust/television/rust-television.spec index d7c5725bcb..ea50d847ef 100644 --- a/anda/langs/rust/television/rust-television.spec +++ b/anda/langs/rust/television/rust-television.spec @@ -5,8 +5,8 @@ %global crate television Name: rust-television -Version: 0.14.5 -Release: 1%?dist +Version: 0.15.6 +Release: 1%{?dist} Summary: Very fast, portable and hackable fuzzy finder for the terminal License: MIT diff --git a/anda/langs/rust/usage/rust-usage-cli.spec b/anda/langs/rust/usage/rust-usage-cli.spec index 3030046936..535a49ba9d 100644 --- a/anda/langs/rust/usage/rust-usage-cli.spec +++ b/anda/langs/rust/usage/rust-usage-cli.spec @@ -4,8 +4,8 @@ %global crate usage-cli Name: rust-usage-cli -Version: 2.18.2 -Release: 1%?dist +Version: 3.3.0 +Release: 1%{?dist} Summary: CLI for working with usage-based CLIs License: MIT diff --git a/anda/langs/rust/xwayland-satellite/anda.hcl b/anda/langs/rust/xwayland-satellite/anda.hcl deleted file mode 100644 index 08be56162c..0000000000 --- a/anda/langs/rust/xwayland-satellite/anda.hcl +++ /dev/null @@ -1,5 +0,0 @@ -project pkg { - rpm { - spec = "xwayland-satellite.spec" - } -} diff --git a/anda/langs/rust/xwayland-satellite/update.rhai b/anda/langs/rust/xwayland-satellite/update.rhai deleted file mode 100644 index ea68a4030a..0000000000 --- a/anda/langs/rust/xwayland-satellite/update.rhai +++ /dev/null @@ -1 +0,0 @@ -rpm.version(gh("supreeeme/xwayland-satellite")); diff --git a/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec b/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec deleted file mode 100644 index dc538c7137..0000000000 --- a/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec +++ /dev/null @@ -1,32 +0,0 @@ -Name: xwayland-satellite -Version: 0.8.1 -Release: 1%?dist -Summary: Xwayland outside your Wayland. -License: MPL-2.0 -URL: https://github.com/supreeeme/xwayland-satellite -Source0: %url/archive/refs/tags/v%version.tar.gz -BuildRequires: anda-srpm-macros cargo-rpm-macros mold -BuildRequires: pkgconfig(xcb) -BuildRequires: xcb-util-cursor-devel -BuildRequires: clang-devel - -%description -xwayland-satellite grants rootless Xwayland integration to any Wayland -compositor implementing xdg_wm_base. This is particularly useful for -compositors that (understandably) do not want to go through implementing -support for rootless Xwayland themselves. - -%prep -%autosetup -%cargo_prep_online - -%build -%cargo_build - -%install -%cargo_install - -%files -%doc README.md -%license LICENSE -%_bindir/xwayland-satellite diff --git a/anda/langs/rust/yazi/yazi.spec b/anda/langs/rust/yazi/yazi.spec index c19630dbb9..a1c4e59321 100644 --- a/anda/langs/rust/yazi/yazi.spec +++ b/anda/langs/rust/yazi/yazi.spec @@ -1,8 +1,8 @@ %undefine __brp_mangle_shebangs Name: yazi -Version: 26.1.22 -Release: 2%?dist +Version: 26.5.6 +Release: 1%{?dist} Summary: Blazing fast terminal file manager written in Rust, based on async I/O URL: https://yazi-rs.github.io/ Source0: https://github.com/sxyazi/yazi/archive/refs/tags/v%version.tar.gz diff --git a/anda/langs/rust/zellij/rust-zellij.spec b/anda/langs/rust/zellij/rust-zellij.spec index a5d0da32c4..498f8f3980 100644 --- a/anda/langs/rust/zellij/rust-zellij.spec +++ b/anda/langs/rust/zellij/rust-zellij.spec @@ -5,8 +5,8 @@ %global crate zellij Name: rust-zellij -Version: 0.43.1 -Release: 1%?dist +Version: 0.44.2 +Release: 1%{?dist} Summary: Terminal workspace with batteries included License: MIT diff --git a/anda/langs/rust/zoi/rust-zoi-rs.spec b/anda/langs/rust/zoi/rust-zoi-rs.spec index 8b483cc4ce..076b403377 100644 --- a/anda/langs/rust/zoi/rust-zoi-rs.spec +++ b/anda/langs/rust/zoi/rust-zoi-rs.spec @@ -1,7 +1,7 @@ %define __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ %global crate zoi-rs -%global crate_version 1.8.4 +%global crate_version 1.12.1 Name: rust-zoi-rs Version: %(echo %crate_version | sed 's/-/~/g') diff --git a/anda/langs/vala/vala-nightly/vala-nightly.spec b/anda/langs/vala/vala-nightly/vala-nightly.spec index be72ccd714..a6caeb9216 100644 --- a/anda/langs/vala/vala-nightly/vala-nightly.spec +++ b/anda/langs/vala/vala-nightly/vala-nightly.spec @@ -3,11 +3,11 @@ %global priority 90 %global real_name vala -%global commit f50a83eece8b92acf64818ba8c7d743818c1145b +%global commit a3e522fdef952cb4449e51b1bc00316186b47a5e %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global repo https://gitlab.gnome.org/GNOME/%{real_name}.git -%global commit_date 20260308 +%global commit_date 20260417 %global snapshot_info %{commit_date}.%{shortcommit} Name: vala-nightly @@ -138,12 +138,15 @@ cd %{real_name}-%{commit} git checkout %{commit} -%build +%conf cd %{real_name}-%{commit} ./autogen.sh --help %configure # Don't use rpath! sed -i 's|/lib /usr/lib|/lib /usr/lib /lib64 /usr/lib64|' libtool + +%build +cd %{real_name}-%{commit} %make_build %install diff --git a/anda/langs/zig/bootstrap/0000-remove-native-lib-directories-from-rpath.patch b/anda/langs/zig/bootstrap/0000-remove-native-lib-directories-from-rpath.patch index 034d8ed0f3..24db5827b6 100644 --- a/anda/langs/zig/bootstrap/0000-remove-native-lib-directories-from-rpath.patch +++ b/anda/langs/zig/bootstrap/0000-remove-native-lib-directories-from-rpath.patch @@ -1,6 +1,18 @@ ---- a/src/main.zig 2025-12-27 19:19:30.000000000 -0600 -+++ b/src/main.zig 2025-12-31 08:25:12.962257290 -0600 -@@ -3998,6 +3998,15 @@ +From a865b3569ace118cc1c1cd8d5d130ec316b0307d Mon Sep 17 00:00:00 2001 +From: Jan200101 +Date: Tue, 14 Apr 2026 19:04:40 +0200 +Subject: [PATCH 1/2] remove native lib directories from rpath + +Signed-off-by: Jan200101 +--- + src/main.zig | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/src/main.zig b/src/main.zig +index 0395a21a5f..86b6d9f86b 100644 +--- a/src/main.zig ++++ b/src/main.zig +@@ -4102,6 +4102,15 @@ fn createModule( try create_module.lib_directories.ensureUnusedCapacity(arena, paths.lib_dirs.items.len); for (paths.lib_dirs.items) |path| addLibDirectoryWarn2(io, &create_module.lib_directories, path, true); @@ -16,3 +28,6 @@ } if (create_module.libc_paths_file) |paths_file| { +-- +2.53.0 + diff --git a/anda/langs/zig/bootstrap/0001-Remove-unsupported-LLVM-targets-for-EPEL.patch b/anda/langs/zig/bootstrap/0001-Remove-unsupported-LLVM-targets-for-EPEL.patch new file mode 100644 index 0000000000..a8b942f129 --- /dev/null +++ b/anda/langs/zig/bootstrap/0001-Remove-unsupported-LLVM-targets-for-EPEL.patch @@ -0,0 +1,254 @@ +From 803935baf6a4730426afbb746adfd00c0ffc0f39 Mon Sep 17 00:00:00 2001 +From: Jan200101 +Date: Tue, 14 Apr 2026 19:20:26 +0200 +Subject: [PATCH 2/2] Remove unsupported LLVM targets for RHEL + +LLVM for RHEL is only build with a subset of targets +this blocks zig at the configuration stage. +This commit simply swaps them out with the one from +https://src.fedoraproject.org/rpms/llvm/blob/rawhide/f/llvm.spec + +Signed-off-by: Jan200101 +--- + cmake/Findllvm.cmake | 2 +- + src/codegen/llvm.zig | 97 ++++++++++---------------------------------- + src/target.zig | 43 +++++++++++--------- + 3 files changed, 45 insertions(+), 97 deletions(-) + +diff --git a/cmake/Findllvm.cmake b/cmake/Findllvm.cmake +index 0c08d4f0ac..ed4da12044 100644 +--- a/cmake/Findllvm.cmake ++++ b/cmake/Findllvm.cmake +@@ -83,7 +83,7 @@ if(ZIG_USE_LLVM_CONFIG) + OUTPUT_STRIP_TRAILING_WHITESPACE) + string(REPLACE " " ";" LLVM_TARGETS_BUILT "${LLVM_TARGETS_BUILT_SPACES}") + +- set(ZIG_LLVM_REQUIRED_TARGETS "AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;SPIRV;Sparc;SystemZ;VE;WebAssembly;X86;XCore") ++ set(ZIG_LLVM_REQUIRED_TARGETS "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;BPF;WebAssembly;RISCV") + + set(ZIG_LLVM_REQUIRED_TARGETS_ENABLED TRUE) + foreach(TARGET_NAME IN LISTS ZIG_LLVM_REQUIRED_TARGETS) +diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig +index 1ba3b272da..1ac1f6adc8 100644 +--- a/src/codegen/llvm.zig ++++ b/src/codegen/llvm.zig +@@ -4736,20 +4736,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeAMDGPUAsmPrinter(); + bindings.LLVMInitializeAMDGPUAsmParser(); + }, +- .thumb, .thumbeb, .arm, .armeb => { +- bindings.LLVMInitializeARMTarget(); +- bindings.LLVMInitializeARMTargetInfo(); +- bindings.LLVMInitializeARMTargetMC(); +- bindings.LLVMInitializeARMAsmPrinter(); +- bindings.LLVMInitializeARMAsmParser(); +- }, +- .avr => { +- bindings.LLVMInitializeAVRTarget(); +- bindings.LLVMInitializeAVRTargetInfo(); +- bindings.LLVMInitializeAVRTargetMC(); +- bindings.LLVMInitializeAVRAsmPrinter(); +- bindings.LLVMInitializeAVRAsmParser(); +- }, + .bpfel, .bpfeb => { + bindings.LLVMInitializeBPFTarget(); + bindings.LLVMInitializeBPFTargetInfo(); +@@ -4757,34 +4743,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeBPFAsmPrinter(); + bindings.LLVMInitializeBPFAsmParser(); + }, +- .hexagon => { +- bindings.LLVMInitializeHexagonTarget(); +- bindings.LLVMInitializeHexagonTargetInfo(); +- bindings.LLVMInitializeHexagonTargetMC(); +- bindings.LLVMInitializeHexagonAsmPrinter(); +- bindings.LLVMInitializeHexagonAsmParser(); +- }, +- .lanai => { +- bindings.LLVMInitializeLanaiTarget(); +- bindings.LLVMInitializeLanaiTargetInfo(); +- bindings.LLVMInitializeLanaiTargetMC(); +- bindings.LLVMInitializeLanaiAsmPrinter(); +- bindings.LLVMInitializeLanaiAsmParser(); +- }, +- .mips, .mipsel, .mips64, .mips64el => { +- bindings.LLVMInitializeMipsTarget(); +- bindings.LLVMInitializeMipsTargetInfo(); +- bindings.LLVMInitializeMipsTargetMC(); +- bindings.LLVMInitializeMipsAsmPrinter(); +- bindings.LLVMInitializeMipsAsmParser(); +- }, +- .msp430 => { +- bindings.LLVMInitializeMSP430Target(); +- bindings.LLVMInitializeMSP430TargetInfo(); +- bindings.LLVMInitializeMSP430TargetMC(); +- bindings.LLVMInitializeMSP430AsmPrinter(); +- bindings.LLVMInitializeMSP430AsmParser(); +- }, + .nvptx, .nvptx64 => { + bindings.LLVMInitializeNVPTXTarget(); + bindings.LLVMInitializeNVPTXTargetInfo(); +@@ -4806,13 +4764,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeRISCVAsmPrinter(); + bindings.LLVMInitializeRISCVAsmParser(); + }, +- .sparc, .sparc64 => { +- bindings.LLVMInitializeSparcTarget(); +- bindings.LLVMInitializeSparcTargetInfo(); +- bindings.LLVMInitializeSparcTargetMC(); +- bindings.LLVMInitializeSparcAsmPrinter(); +- bindings.LLVMInitializeSparcAsmParser(); +- }, + .s390x => { + bindings.LLVMInitializeSystemZTarget(); + bindings.LLVMInitializeSystemZTargetInfo(); +@@ -4843,13 +4794,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeXtensaAsmParser(); + } + }, +- .xcore => { +- bindings.LLVMInitializeXCoreTarget(); +- bindings.LLVMInitializeXCoreTargetInfo(); +- bindings.LLVMInitializeXCoreTargetMC(); +- bindings.LLVMInitializeXCoreAsmPrinter(); +- // There is no LLVMInitializeXCoreAsmParser function. +- }, + .m68k => { + if (build_options.llvm_has_m68k) { + bindings.LLVMInitializeM68kTarget(); +@@ -4868,13 +4812,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeCSKYAsmParser(); + } + }, +- .ve => { +- bindings.LLVMInitializeVETarget(); +- bindings.LLVMInitializeVETargetInfo(); +- bindings.LLVMInitializeVETargetMC(); +- bindings.LLVMInitializeVEAsmPrinter(); +- bindings.LLVMInitializeVEAsmParser(); +- }, + .arc => { + if (build_options.llvm_has_arc) { + bindings.LLVMInitializeARCTarget(); +@@ -4884,21 +4821,29 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + // There is no LLVMInitializeARCAsmParser function. + } + }, +- .loongarch32, .loongarch64 => { +- bindings.LLVMInitializeLoongArchTarget(); +- bindings.LLVMInitializeLoongArchTargetInfo(); +- bindings.LLVMInitializeLoongArchTargetMC(); +- bindings.LLVMInitializeLoongArchAsmPrinter(); +- bindings.LLVMInitializeLoongArchAsmParser(); +- }, ++ ++ // Disabled LLVM targets ++ .thumb, ++ .thumbeb, ++ .arm, ++ .armeb, ++ .avr, ++ .hexagon, ++ .lanai, ++ .mips, ++ .mipsel, ++ .mips64, ++ .mips64el, ++ .msp430, ++ .sparc, ++ .sparc64, ++ .xcore, ++ .ve, ++ .loongarch32, ++ .loongarch64, + .spirv32, + .spirv64, +- => { +- bindings.LLVMInitializeSPIRVTarget(); +- bindings.LLVMInitializeSPIRVTargetInfo(); +- bindings.LLVMInitializeSPIRVTargetMC(); +- bindings.LLVMInitializeSPIRVAsmPrinter(); +- }, ++ => unreachable, + + // LLVM does does not have a backend for these. + .alpha, +diff --git a/src/target.zig b/src/target.zig +index 3d04c06f5e..9e19836815 100644 +--- a/src/target.zig ++++ b/src/target.zig +@@ -185,23 +185,12 @@ pub fn hasLlvmSupport(target: *const std.Target, ofmt: std.Target.ObjectFormat) + } + + return switch (target.cpu.arch) { +- .arm, +- .armeb, + .aarch64, + .aarch64_be, + .arc, +- .avr, + .bpfel, + .bpfeb, +- .hexagon, +- .loongarch32, +- .loongarch64, + .m68k, +- .mips, +- .mipsel, +- .mips64, +- .mips64el, +- .msp430, + .powerpc, + .powerpcle, + .powerpc64, +@@ -211,24 +200,38 @@ pub fn hasLlvmSupport(target: *const std.Target, ofmt: std.Target.ObjectFormat) + .riscv32be, + .riscv64, + .riscv64be, +- .sparc, +- .sparc64, +- .spirv32, +- .spirv64, + .s390x, +- .thumb, +- .thumbeb, + .x86, + .x86_64, +- .xcore, + .nvptx, + .nvptx64, +- .lanai, + .wasm32, + .wasm64, +- .ve, + => true, + ++ // Disabled LLVM targets ++ .thumb, ++ .thumbeb, ++ .arm, ++ .armeb, ++ .avr, ++ .hexagon, ++ .lanai, ++ .mips, ++ .mipsel, ++ .mips64, ++ .mips64el, ++ .msp430, ++ .sparc, ++ .sparc64, ++ .xcore, ++ .ve, ++ .loongarch32, ++ .loongarch64, ++ .spirv32, ++ .spirv64, ++ => false, ++ + // LLVM backend exists but can produce neither assembly nor object files. + .csky, + .xtensa, +-- +2.53.0 + diff --git a/anda/langs/zig/bootstrap/setup.sh b/anda/langs/zig/bootstrap/setup.sh index e4bd1449c9..b1e2498ca1 100755 --- a/anda/langs/zig/bootstrap/setup.sh +++ b/anda/langs/zig/bootstrap/setup.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash -version=0.16.0-dev.2722+f16eb18ce +version=0.17.0-dev.263+0add2dfc4 mirrors=() @@ -21,8 +21,8 @@ if [ "$1" == "fetch" ]; then randomize_mirrors done echo -e "\033[0;32mNote:\033[0m Selected mirror $mirror" - curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz?source=terra.fyralabs.com - curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz.minisig?source=terra.fyralabs.com + curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz?source=terrapkg.com + curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz.minisig?source=terrapkg.com elif [ "$1" == "version" ]; then echo $version # Grab a random mirror. For debugging purposes. diff --git a/anda/langs/zig/bootstrap/update.rhai b/anda/langs/zig/bootstrap/update.rhai index 51ab4017b1..ddbcbc1d86 100644 --- a/anda/langs/zig/bootstrap/update.rhai +++ b/anda/langs/zig/bootstrap/update.rhai @@ -8,4 +8,10 @@ if rpm.changed() { // Update the Zig version in the script let dir = sub(`/[^/]+$`, "", __script_path); sh(`sed -i 's|version=.*|version=${v}|' setup.sh`, #{ "cwd": dir }); + // Update the needed LLVM version + let rawfile = codeberg_rawfile("ziglang/zig", "master", "README.md"); + let l = find(`releases\.llvm\.org/download\.html#([\d.]+)`, rawfile, 1); + rpm.global("llvm_version", l); + l.truncate(2); + rpm.define("llvm_compat", l); } diff --git a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec index f5e5be0a9b..a8bf6b7c17 100644 --- a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec +++ b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec @@ -2,15 +2,20 @@ %global zig_arches x86_64 aarch64 riscv64 %{mips64} # Signing key from https://ziglang.org/download/ %global public_key RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U -# Not needed yet -%if 0%{?fedora} >= 42 || 0%{?rhel} >= 9 -%define llvm_compat 20 +%if 0%{?fedora} >= 46 +%define llvm_compat 22 %endif -%global llvm_version 20.0.0 -%global ver 0.16.0-dev.2722+f16eb18ce +%global llvm_version 22.0.0 +%global ver 0.17.0-dev.263+0add2dfc4 %bcond bootstrap 1 %bcond docs %{without bootstrap} %bcond test 1 +# GCC < 16.0 miscompiles on RISC-V +%ifarch riscv64 +%if 0%{?fedora} < 44 +%global toolchain clang +%endif +%endif %global archive_name zig-%{ver}.tar.xz %global zig_cache_dir %{builddir}/zig-cache %global zig_build_options %{shrink: \ @@ -47,13 +52,20 @@ URL: https://ziglang.org Source0: %{archive_name} Source1: %{archive_name}.minisig Patch0: 0000-remove-native-lib-directories-from-rpath.patch +%if %{defined rhel} +Patch1: 0001-Remove-unsupported-LLVM-targets-for-EPEL.patch +%endif BuildRequires: cmake +%if %["%{toolchain}" == "clang"] +BuildRequires: clang +%else BuildRequires: gcc BuildRequires: gcc-c++ +%endif BuildRequires: libxml2-devel -BuildRequires: llvm-devel -BuildRequires: clang-devel -BuildRequires: lld-devel +BuildRequires: llvm%{?llvm_compat}-devel +BuildRequires: clang%{?llvm_compat}-devel +BuildRequires: lld%{?llvm_compat}-devel BuildRequires: zlib-devel # for man page generation BuildRequires: help2man @@ -73,7 +85,7 @@ Requires: %{name}-libs = %{version} # Apache-2.0 WITH LLVM-exception OR NCSA OR MIT Provides: bundled(compiler-rt) = %{llvm_version} # LGPL-2.1-or-later AND SunPro AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later WITH GNU-compiler-exception AND GPL-2.0-only AND ISC AND LicenseRef-Fedora-Public-Domain AND HPND AND CMU-Mach AND LGPL-2.0-or-later AND Unicode-3.0 AND GFDL-1.1-or-later AND GPL-1.0-or-later AND FSFUL AND MIT AND Inner-Net-2.0 AND X11 AND GPL-2.0-or-later WITH GCC-exception-2.0 AND GFDL-1.3-only AND GFDL-1.1-only -Provides: bundled(glibc) = 2.41 +Provides: bundled(glibc) = 2.43 # Apache-2.0 WITH LLVM-exception OR MIT OR NCSA Provides: bundled(libcxx) = %{llvm_version} # Apache-2.0 WITH LLVM-exception OR MIT OR NCSA @@ -112,7 +124,11 @@ Zig Standard Library rm -f stage1/zig1.wasm %endif -%build +%conf +# Force the correct LLVM version +%if %{defined llvm_compat} +export LLVM_DIR=%{_libdir}/llvm%{?llvm_compat}/%{_lib}/cmake +%endif # zig doesn't know how to dynamically link llvm on its own so we need cmake to generate a header ahead of time # if we provide the header we need to also build zigcpp @@ -123,7 +139,7 @@ rm -f stage1/zig1.wasm -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG -Wno-unused" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG -Wno-unused" \ \ - -DZIG_EXTRA_BUILD_ARGS:STRING="--verbose;--build-id=sha1" \ + -DZIG_EXTRA_BUILD_ARGS:STRING="--verbose;--build-id=sha1;-Dno-langref=true" \ -DZIG_SHARED_LLVM:BOOL=true \ -DZIG_PIE:BOOL=true \ \ @@ -132,6 +148,7 @@ rm -f stage1/zig1.wasm \ -DZIG_VERSION:STRING="%(v=%{ver}; echo ${v:0:6})" +%build %if %{with bootstrap} %cmake_build --target stage3 %else @@ -149,14 +166,16 @@ help2man --no-discard-stderr --no-info "./zig-out/bin/zig" --version-option=vers # Zig has an extremely annoying issue with transitive failures when trying to build the docs, retry until it succeeds max=3 attempt=1 -while ./zig-out/bin/zig build docs \ +while + ./zig-out/bin/zig build docs \ --verbose \ --global-cache-dir "%{zig_cache_dir}" \ - -Dversion-string="%(v=%{ver}; echo ${v:0:6})"; [[ $? -ne 0 ]]; + -Dversion-string="%(v=%{ver}; echo ${v:0:6})" + [[ $? != 0 ]] do - echo "Transitive failure. Trying again." + echo "Transitive failure. Trying again." >&2 - if [[ $attempt -eq $max ]] + if [[ $attempt == $max ]] then break fi diff --git a/anda/langs/zig/master/0000-remove-native-lib-directories-from-rpath.patch b/anda/langs/zig/master/0000-remove-native-lib-directories-from-rpath.patch index 034d8ed0f3..24db5827b6 100644 --- a/anda/langs/zig/master/0000-remove-native-lib-directories-from-rpath.patch +++ b/anda/langs/zig/master/0000-remove-native-lib-directories-from-rpath.patch @@ -1,6 +1,18 @@ ---- a/src/main.zig 2025-12-27 19:19:30.000000000 -0600 -+++ b/src/main.zig 2025-12-31 08:25:12.962257290 -0600 -@@ -3998,6 +3998,15 @@ +From a865b3569ace118cc1c1cd8d5d130ec316b0307d Mon Sep 17 00:00:00 2001 +From: Jan200101 +Date: Tue, 14 Apr 2026 19:04:40 +0200 +Subject: [PATCH 1/2] remove native lib directories from rpath + +Signed-off-by: Jan200101 +--- + src/main.zig | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/src/main.zig b/src/main.zig +index 0395a21a5f..86b6d9f86b 100644 +--- a/src/main.zig ++++ b/src/main.zig +@@ -4102,6 +4102,15 @@ fn createModule( try create_module.lib_directories.ensureUnusedCapacity(arena, paths.lib_dirs.items.len); for (paths.lib_dirs.items) |path| addLibDirectoryWarn2(io, &create_module.lib_directories, path, true); @@ -16,3 +28,6 @@ } if (create_module.libc_paths_file) |paths_file| { +-- +2.53.0 + diff --git a/anda/langs/zig/master/0001-Remove-unsupported-LLVM-targets-for-EPEL.patch b/anda/langs/zig/master/0001-Remove-unsupported-LLVM-targets-for-EPEL.patch new file mode 100644 index 0000000000..a8b942f129 --- /dev/null +++ b/anda/langs/zig/master/0001-Remove-unsupported-LLVM-targets-for-EPEL.patch @@ -0,0 +1,254 @@ +From 803935baf6a4730426afbb746adfd00c0ffc0f39 Mon Sep 17 00:00:00 2001 +From: Jan200101 +Date: Tue, 14 Apr 2026 19:20:26 +0200 +Subject: [PATCH 2/2] Remove unsupported LLVM targets for RHEL + +LLVM for RHEL is only build with a subset of targets +this blocks zig at the configuration stage. +This commit simply swaps them out with the one from +https://src.fedoraproject.org/rpms/llvm/blob/rawhide/f/llvm.spec + +Signed-off-by: Jan200101 +--- + cmake/Findllvm.cmake | 2 +- + src/codegen/llvm.zig | 97 ++++++++++---------------------------------- + src/target.zig | 43 +++++++++++--------- + 3 files changed, 45 insertions(+), 97 deletions(-) + +diff --git a/cmake/Findllvm.cmake b/cmake/Findllvm.cmake +index 0c08d4f0ac..ed4da12044 100644 +--- a/cmake/Findllvm.cmake ++++ b/cmake/Findllvm.cmake +@@ -83,7 +83,7 @@ if(ZIG_USE_LLVM_CONFIG) + OUTPUT_STRIP_TRAILING_WHITESPACE) + string(REPLACE " " ";" LLVM_TARGETS_BUILT "${LLVM_TARGETS_BUILT_SPACES}") + +- set(ZIG_LLVM_REQUIRED_TARGETS "AArch64;AMDGPU;ARM;AVR;BPF;Hexagon;Lanai;LoongArch;Mips;MSP430;NVPTX;PowerPC;RISCV;SPIRV;Sparc;SystemZ;VE;WebAssembly;X86;XCore") ++ set(ZIG_LLVM_REQUIRED_TARGETS "X86;AMDGPU;PowerPC;NVPTX;SystemZ;AArch64;BPF;WebAssembly;RISCV") + + set(ZIG_LLVM_REQUIRED_TARGETS_ENABLED TRUE) + foreach(TARGET_NAME IN LISTS ZIG_LLVM_REQUIRED_TARGETS) +diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig +index 1ba3b272da..1ac1f6adc8 100644 +--- a/src/codegen/llvm.zig ++++ b/src/codegen/llvm.zig +@@ -4736,20 +4736,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeAMDGPUAsmPrinter(); + bindings.LLVMInitializeAMDGPUAsmParser(); + }, +- .thumb, .thumbeb, .arm, .armeb => { +- bindings.LLVMInitializeARMTarget(); +- bindings.LLVMInitializeARMTargetInfo(); +- bindings.LLVMInitializeARMTargetMC(); +- bindings.LLVMInitializeARMAsmPrinter(); +- bindings.LLVMInitializeARMAsmParser(); +- }, +- .avr => { +- bindings.LLVMInitializeAVRTarget(); +- bindings.LLVMInitializeAVRTargetInfo(); +- bindings.LLVMInitializeAVRTargetMC(); +- bindings.LLVMInitializeAVRAsmPrinter(); +- bindings.LLVMInitializeAVRAsmParser(); +- }, + .bpfel, .bpfeb => { + bindings.LLVMInitializeBPFTarget(); + bindings.LLVMInitializeBPFTargetInfo(); +@@ -4757,34 +4743,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeBPFAsmPrinter(); + bindings.LLVMInitializeBPFAsmParser(); + }, +- .hexagon => { +- bindings.LLVMInitializeHexagonTarget(); +- bindings.LLVMInitializeHexagonTargetInfo(); +- bindings.LLVMInitializeHexagonTargetMC(); +- bindings.LLVMInitializeHexagonAsmPrinter(); +- bindings.LLVMInitializeHexagonAsmParser(); +- }, +- .lanai => { +- bindings.LLVMInitializeLanaiTarget(); +- bindings.LLVMInitializeLanaiTargetInfo(); +- bindings.LLVMInitializeLanaiTargetMC(); +- bindings.LLVMInitializeLanaiAsmPrinter(); +- bindings.LLVMInitializeLanaiAsmParser(); +- }, +- .mips, .mipsel, .mips64, .mips64el => { +- bindings.LLVMInitializeMipsTarget(); +- bindings.LLVMInitializeMipsTargetInfo(); +- bindings.LLVMInitializeMipsTargetMC(); +- bindings.LLVMInitializeMipsAsmPrinter(); +- bindings.LLVMInitializeMipsAsmParser(); +- }, +- .msp430 => { +- bindings.LLVMInitializeMSP430Target(); +- bindings.LLVMInitializeMSP430TargetInfo(); +- bindings.LLVMInitializeMSP430TargetMC(); +- bindings.LLVMInitializeMSP430AsmPrinter(); +- bindings.LLVMInitializeMSP430AsmParser(); +- }, + .nvptx, .nvptx64 => { + bindings.LLVMInitializeNVPTXTarget(); + bindings.LLVMInitializeNVPTXTargetInfo(); +@@ -4806,13 +4764,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeRISCVAsmPrinter(); + bindings.LLVMInitializeRISCVAsmParser(); + }, +- .sparc, .sparc64 => { +- bindings.LLVMInitializeSparcTarget(); +- bindings.LLVMInitializeSparcTargetInfo(); +- bindings.LLVMInitializeSparcTargetMC(); +- bindings.LLVMInitializeSparcAsmPrinter(); +- bindings.LLVMInitializeSparcAsmParser(); +- }, + .s390x => { + bindings.LLVMInitializeSystemZTarget(); + bindings.LLVMInitializeSystemZTargetInfo(); +@@ -4843,13 +4794,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeXtensaAsmParser(); + } + }, +- .xcore => { +- bindings.LLVMInitializeXCoreTarget(); +- bindings.LLVMInitializeXCoreTargetInfo(); +- bindings.LLVMInitializeXCoreTargetMC(); +- bindings.LLVMInitializeXCoreAsmPrinter(); +- // There is no LLVMInitializeXCoreAsmParser function. +- }, + .m68k => { + if (build_options.llvm_has_m68k) { + bindings.LLVMInitializeM68kTarget(); +@@ -4868,13 +4812,6 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + bindings.LLVMInitializeCSKYAsmParser(); + } + }, +- .ve => { +- bindings.LLVMInitializeVETarget(); +- bindings.LLVMInitializeVETargetInfo(); +- bindings.LLVMInitializeVETargetMC(); +- bindings.LLVMInitializeVEAsmPrinter(); +- bindings.LLVMInitializeVEAsmParser(); +- }, + .arc => { + if (build_options.llvm_has_arc) { + bindings.LLVMInitializeARCTarget(); +@@ -4884,21 +4821,29 @@ pub fn initializeLLVMTarget(arch: std.Target.Cpu.Arch) void { + // There is no LLVMInitializeARCAsmParser function. + } + }, +- .loongarch32, .loongarch64 => { +- bindings.LLVMInitializeLoongArchTarget(); +- bindings.LLVMInitializeLoongArchTargetInfo(); +- bindings.LLVMInitializeLoongArchTargetMC(); +- bindings.LLVMInitializeLoongArchAsmPrinter(); +- bindings.LLVMInitializeLoongArchAsmParser(); +- }, ++ ++ // Disabled LLVM targets ++ .thumb, ++ .thumbeb, ++ .arm, ++ .armeb, ++ .avr, ++ .hexagon, ++ .lanai, ++ .mips, ++ .mipsel, ++ .mips64, ++ .mips64el, ++ .msp430, ++ .sparc, ++ .sparc64, ++ .xcore, ++ .ve, ++ .loongarch32, ++ .loongarch64, + .spirv32, + .spirv64, +- => { +- bindings.LLVMInitializeSPIRVTarget(); +- bindings.LLVMInitializeSPIRVTargetInfo(); +- bindings.LLVMInitializeSPIRVTargetMC(); +- bindings.LLVMInitializeSPIRVAsmPrinter(); +- }, ++ => unreachable, + + // LLVM does does not have a backend for these. + .alpha, +diff --git a/src/target.zig b/src/target.zig +index 3d04c06f5e..9e19836815 100644 +--- a/src/target.zig ++++ b/src/target.zig +@@ -185,23 +185,12 @@ pub fn hasLlvmSupport(target: *const std.Target, ofmt: std.Target.ObjectFormat) + } + + return switch (target.cpu.arch) { +- .arm, +- .armeb, + .aarch64, + .aarch64_be, + .arc, +- .avr, + .bpfel, + .bpfeb, +- .hexagon, +- .loongarch32, +- .loongarch64, + .m68k, +- .mips, +- .mipsel, +- .mips64, +- .mips64el, +- .msp430, + .powerpc, + .powerpcle, + .powerpc64, +@@ -211,24 +200,38 @@ pub fn hasLlvmSupport(target: *const std.Target, ofmt: std.Target.ObjectFormat) + .riscv32be, + .riscv64, + .riscv64be, +- .sparc, +- .sparc64, +- .spirv32, +- .spirv64, + .s390x, +- .thumb, +- .thumbeb, + .x86, + .x86_64, +- .xcore, + .nvptx, + .nvptx64, +- .lanai, + .wasm32, + .wasm64, +- .ve, + => true, + ++ // Disabled LLVM targets ++ .thumb, ++ .thumbeb, ++ .arm, ++ .armeb, ++ .avr, ++ .hexagon, ++ .lanai, ++ .mips, ++ .mipsel, ++ .mips64, ++ .mips64el, ++ .msp430, ++ .sparc, ++ .sparc64, ++ .xcore, ++ .ve, ++ .loongarch32, ++ .loongarch64, ++ .spirv32, ++ .spirv64, ++ => false, ++ + // LLVM backend exists but can produce neither assembly nor object files. + .csky, + .xtensa, +-- +2.53.0 + diff --git a/anda/langs/zig/master/update.rhai b/anda/langs/zig/master/update.rhai index f9a73b7fd5..57939139b8 100644 --- a/anda/langs/zig/master/update.rhai +++ b/anda/langs/zig/master/update.rhai @@ -6,4 +6,10 @@ if rpm.changed() { let r = bump::madoguchi_json("zig-master", labels.branch).rel; let r = sub(`(?m)(\.fc.*?|)$`, "", r).parse_int(); rpm.release(r + 1); + // Update the needed LLVM version + let rawfile = codeberg_rawfile("ziglang/zig", "master", "README.md"); + let l = find(`releases\.llvm\.org/download\.html#([\d.]+)`, rawfile, 1); + rpm.global("llvm_version", l); + l.truncate(2); + rpm.define("llvm_compat", l); } diff --git a/anda/langs/zig/master/zig-master.spec b/anda/langs/zig/master/zig-master.spec index e3e2e5c2f9..60a717c3bf 100644 --- a/anda/langs/zig/master/zig-master.spec +++ b/anda/langs/zig/master/zig-master.spec @@ -2,19 +2,24 @@ %global zig_arches x86_64 aarch64 riscv64 %{mips64} # Signing key from https://ziglang.org/download/ %global public_key RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U -# Not needed yet -%if 0%{?fedora} >= 42 || 0%{?rhel} >= 9 -%define llvm_compat 20 +%if 0%{?fedora} >= 46 +%define llvm_compat 22 %endif -%global llvm_version 20.0.0 +%global llvm_version 22.0.0 %bcond bootstrap 0 %bcond docs %{without bootstrap} %bcond test 1 +# GCC < 16.0 miscompiles on RISC-V +%ifarch riscv64 +%if 0%{?fedora} < 44 +%global toolchain clang +%endif +%endif %global zig_cache_dir %{builddir}/zig-cache Name: zig-master -Version: 0.16.0~dev.2694+74f361a5c -Release: 2%?dist +Version: 0.17.0~dev.263+0add2dfc4 +Release: 2%{?dist} Summary: Master builds of the Zig language License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1 URL: https://ziglang.org @@ -22,13 +27,20 @@ URL: https://ziglang.org Source0: %{archive_name} Source1: %{archive_name}.minisig Patch0: 0000-remove-native-lib-directories-from-rpath.patch +%if %{defined rhel} +Patch1: 0001-Remove-unsupported-LLVM-targets-for-EPEL.patch +%endif BuildRequires: cmake +%if %["%{toolchain}" == "clang"] +BuildRequires: clang +%else BuildRequires: gcc BuildRequires: gcc-c++ +%endif BuildRequires: libxml2-devel -BuildRequires: llvm-devel -BuildRequires: clang-devel -BuildRequires: lld-devel +BuildRequires: llvm%{?llvm_compat}-devel +BuildRequires: clang%{?llvm_compat}-devel +BuildRequires: lld%{?llvm_compat}-devel BuildRequires: zlib-devel # for man page generation BuildRequires: help2man @@ -48,7 +60,7 @@ Requires: %{name}-libs = %{version} # Apache-2.0 WITH LLVM-exception OR NCSA OR MIT Provides: bundled(compiler-rt) = %{llvm_version} # LGPL-2.1-or-later AND SunPro AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND GPL-2.0-or-later AND LGPL-2.1-or-later WITH GNU-compiler-exception AND GPL-2.0-only AND ISC AND LicenseRef-Fedora-Public-Domain AND HPND AND CMU-Mach AND LGPL-2.0-or-later AND Unicode-3.0 AND GFDL-1.1-or-later AND GPL-1.0-or-later AND FSFUL AND MIT AND Inner-Net-2.0 AND X11 AND GPL-2.0-or-later WITH GCC-exception-2.0 AND GFDL-1.3-only AND GFDL-1.1-only -Provides: bundled(glibc) = 2.41 +Provides: bundled(glibc) = 2.43 # Apache-2.0 WITH LLVM-exception OR MIT OR NCSA Provides: bundled(libcxx) = %{llvm_version} # Apache-2.0 WITH LLVM-exception OR MIT OR NCSA @@ -124,7 +136,11 @@ Documentation for Zig. For more information, visit %{url} rm -f stage1/zig1.wasm %endif -%build +%conf +# Force the correct LLVM version +%if %{defined llvm_compat} +export LLVM_DIR=%{_libdir}/llvm%{?llvm_compat}/%{_lib}/cmake +%endif # zig doesn't know how to dynamically link llvm on its own so we need cmake to generate a header ahead of time # if we provide the header we need to also build zigcpp @@ -135,7 +151,7 @@ rm -f stage1/zig1.wasm -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG -Wno-unused" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="-DNDEBUG -Wno-unused" \ \ - -DZIG_EXTRA_BUILD_ARGS:STRING="--verbose;--build-id=sha1" \ + -DZIG_EXTRA_BUILD_ARGS:STRING="--verbose;--build-id=sha1;-Dno-langref=true" \ -DZIG_SHARED_LLVM:BOOL=true \ -DZIG_PIE:BOOL=true \ \ @@ -144,6 +160,8 @@ rm -f stage1/zig1.wasm \ -DZIG_VERSION:STRING="%(v=%{version_no_tilde}; echo ${v:0:6})" + +%build %if %{with bootstrap} %cmake_build --target stage3 %else @@ -161,14 +179,16 @@ help2man --no-discard-stderr --no-info "./zig-out/bin/zig" --version-option=vers # Zig has an extremely annoying issue with transitive failures when trying to build the docs, retry until it succeeds max=3 attempt=1 -while ./zig-out/bin/zig build docs \ +while + ./zig-out/bin/zig build docs \ --verbose \ --global-cache-dir "%{zig_cache_dir}" \ - -Dversion-string="%(v=%{version_no_tilde}; echo ${v:0:6})"; [[ $? -ne 0 ]]; + -Dversion-string="%(v=%{version_no_tilde}; echo ${v:0:6})" + [[ $? != 0 ]] do - echo "Transitive failure. Trying again." + echo "Transitive failure. Trying again." >&2 - if [[ $attempt -eq $max ]] + if [[ $attempt == $max ]] then break fi diff --git a/anda/lib/VK_hdr_layer/VK_hdr_layer.spec b/anda/lib/VK_hdr_layer/VK_hdr_layer.spec new file mode 100644 index 0000000000..7dc32cd0dc --- /dev/null +++ b/anda/lib/VK_hdr_layer/VK_hdr_layer.spec @@ -0,0 +1,83 @@ +%global commit 57b26b8927b133566be13a7702f74a62109bad15 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260325 + +Name: VK_hdr_layer +Version: 0^%{commitdate}git%{shortcommit} +Release: 1%{?dist} +Epoch: 1 +Summary: Vulkan Wayland HDR WSI Layer +License: MIT +URL: https://github.com/zamundaaa/VK_hdr_layer +Source: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz +BuildRequires: gcc-c++ +BuildRequires: meson >= 0.58 +BuildRequires: pkgconfig(vulkan) +BuildRequires: vulkan-headers +BuildRequires: pkgconfig(wayland-scanner) +# Temporary solution until upstream builds with newer VKroots +%dnl BuildRequires: pkgconfig(vkroots) +BuildRequires: pkgconfig(wayland-client) +# KWin is the main reference supported compositor +Enhances: kwin-wayland >= 6.3 +Obsoletes: VK_hdr_layer < 1:0^20250416git3b276e6 +Packager: Gilver E. + +%description +Vulkan layer utilizing a small color management/HDR +protocol for experimentation. +The proposed mainline protocol for color management is +wp_color_management. + +This implements the following vulkan extensions, +if the protocol is supported by the compositor. + +* VK_EXT_swapchain_colorspace +* VK_EXT_hdr_metadata + + +%prep +%dnl %autosetup -n %{name}-%{commit} -p1 +%git_clone %{url}.git %{commit} + +%conf +%meson --libdir=%{_libdir}/%{name} + +%build +%meson_build + +%install +%meson_install --skip-subprojects=vkroots + +%files +%license LICENSE +%doc README.md +%{_libdir}/%{name}/libVkLayer_hdr_wsi.so +%{_datadir}/vulkan/implicit_layer.d/VkLayer_hdr_wsi.*.json + + +%changelog +* Sat Apr 18 2026 Gilver E. - 1:0^20260325git57b26b8-1 +- Adopt for Terra + +* Fri Jan 16 2026 Fedora Release Engineering - 0~git20250416.3b276e6-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jan 16 2026 Fedora Release Engineering - 0~git20250416.3b276e6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Wed Jul 23 2025 Fedora Release Engineering - 0~git20250416.3b276e6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Mon Apr 21 2025 Neal Gompa - 0~git20250416.3b276e6-1 +- Update to git snapshot with support for finalized color management protocol + +* Thu Jan 16 2025 Fedora Release Engineering - 0~git20241018.e173f26-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Fri Oct 18 2024 Neal Gompa - 0~git20241018.e173f26-1 +- Update to git snapshot +- Install library to private subdirectory + +* Sun Sep 08 2024 Neal Gompa - 0~git20240427.e47dc6d-1 +- Initial package diff --git a/anda/lib/VK_hdr_layer/anda.hcl b/anda/lib/VK_hdr_layer/anda.hcl new file mode 100644 index 0000000000..27b519c219 --- /dev/null +++ b/anda/lib/VK_hdr_layer/anda.hcl @@ -0,0 +1,11 @@ +project pkg { + arches = ["x86_64", "aarch64", "i386"] + rpm { + spec = "VK_hdr_layer.spec" + } + labels { + subrepo = "nvidia" + nightly = 1 + mock = 1 + } +} diff --git a/anda/lib/VK_hdr_layer/update.rhai b/anda/lib/VK_hdr_layer/update.rhai new file mode 100644 index 0000000000..e576ab0d01 --- /dev/null +++ b/anda/lib/VK_hdr_layer/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("zamundaaa/VK_hdr_layer")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); +} diff --git a/anda/lib/apparmor/apparmor.spec b/anda/lib/apparmor/apparmor.spec index 502c5ff396..a79c67ead3 100644 --- a/anda/lib/apparmor/apparmor.spec +++ b/anda/lib/apparmor/apparmor.spec @@ -6,8 +6,8 @@ %bcond_with tests Name: apparmor -Version: 5.0.0~beta1 -Release: 1%?dist +Version: 5.0.0 +Release: 1%{?dist} Summary: AppArmor userspace components %define baseversion %(echo %{version} | cut -d. -f-2) @@ -38,6 +38,7 @@ BuildRequires: systemd-rpm-macros BuildRequires: autoconf-archive BuildRequires: gawk BuildRequires: which +BuildRequires: libzstd-devel %if %{with tests} BuildRequires: %{_bindir}/runtest BuildRequires: %{_bindir}/prove @@ -143,10 +144,11 @@ changehat abilities exposed through libapparmor. %prep %autosetup -p1 -n %name-v%normver + +%conf sed -i 's/@VERSION@/%normver/g' libraries/libapparmor/swig/python/setup.py.in sed -i 's/${VERSION}/%normver/g' utils/Makefile -%build export PYTHON=%{__python3} export PYTHON_VERSION=3 export PYTHON_VERSIONS=python3 @@ -154,8 +156,12 @@ export PYTHON_VERSIONS=python3 pushd libraries/libapparmor ./autogen.sh %configure \ - --with-python \ + --with-python +popd +%build + +pushd libraries/libapparmor %make_build VERSION=%normver popd diff --git a/anda/lib/args-hxx/args-hxx.spec b/anda/lib/args-hxx/args-hxx.spec index 634a4fbcd2..4b96f671b3 100644 --- a/anda/lib/args-hxx/args-hxx.spec +++ b/anda/lib/args-hxx/args-hxx.spec @@ -1,8 +1,8 @@ %define debug_package %nil Name: args-hxx -Version: 6.4.8 -Release: 1%?dist +Version: 6.4.16 +Release: 1%{?dist} Summary: A simple header-only C++ argument parser library License: MIT URL: https://github.com/Taywee/args diff --git a/anda/lib/astal/ags/ags.spec b/anda/lib/astal/ags/ags.spec index f7fbd594dc..758750820e 100644 --- a/anda/lib/astal/ags/ags.spec +++ b/anda/lib/astal/ags/ags.spec @@ -12,7 +12,7 @@ # https://github.com/Aylur/ags %global goipath github.com/Aylur/ags -Version: 3.1.1 +Version: 3.1.2 %gometa -f @@ -23,7 +23,7 @@ Scaffolding CLI for Astal+TypeScript.} %global godocs docs README.md Name: ags -Release: 1%?dist +Release: 1%{?dist} Summary: Scaffolding CLI for Astal+TypeScript License: GPL-3.0-only diff --git a/anda/lib/astal/astal-gtk/astal-gtk.spec b/anda/lib/astal/astal-gtk/astal-gtk.spec index be5f5f2666..5a7d489dd4 100644 --- a/anda/lib/astal/astal-gtk/astal-gtk.spec +++ b/anda/lib/astal/astal-gtk/astal-gtk.spec @@ -1,10 +1,10 @@ -%global commit 7d1fac8a4b2a14954843a978d2ddde86168c75ef -%global shortcommit 7d1fac8 -%global commit_date 20251127 +%global commit 67ddc83e0bdbda6de7f6f15e4fbc5d6b9d2d1b18 +%global shortcommit 67ddc83 +%global commit_date 20260501 Name: astal Version: 0^%commit_date.%commit -Release: 1%?dist +Release: 1%{?dist} Summary: Building blocks for creating custom desktop shells License: LGPL-2.1-only URL: https://aylur.github.io/astal diff --git a/anda/lib/astal/astal/astal.spec b/anda/lib/astal/astal/astal.spec index c57ae56f91..a0c43cfef5 100644 --- a/anda/lib/astal/astal/astal.spec +++ b/anda/lib/astal/astal/astal.spec @@ -1,11 +1,11 @@ -%global commit eb235f8813bdea2a4a38ac228f2efc4e2a8a90af +%global commit 67ddc83e0bdbda6de7f6f15e4fbc5d6b9d2d1b18 %global shortcommit %{sub %commit 1 7} -%global commit_date 20260131 +%global commit_date 20260501 Name: astal Version: 0^%commit_date.%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Building blocks for creating custom desktop shells License: LGPL-2.1-only URL: https://aylur.github.io/astal diff --git a/anda/lib/audec/libaudec.spec b/anda/lib/audec/libaudec.spec index 21c72412f3..65891801d0 100644 --- a/anda/lib/audec/libaudec.spec +++ b/anda/lib/audec/libaudec.spec @@ -32,8 +32,10 @@ This package contains the development files for the %name package. rm -r tests %endif -%build +%conf %meson + +%build %meson_build %install diff --git a/anda/lib/backtrace/libbacktrace-nightly.spec b/anda/lib/backtrace/libbacktrace-nightly.spec index 97bfcf26d3..046cc9e547 100644 --- a/anda/lib/backtrace/libbacktrace-nightly.spec +++ b/anda/lib/backtrace/libbacktrace-nightly.spec @@ -1,8 +1,8 @@ %global debug_package %nil -%global commit b9e40069c0b47a722286b94eb5231f7f05c08713 +%global commit 96664e69b1ecdb76e824be1d9e8f475b76dd08cf %global shortcommit %(c=%commit; echo ${c:0:7}) -%global commit_date 20251107 +%global commit_date 20260504 %global _desc %{expand: A C library that may be linked into a C/C++ program to produce symbolic backtraces. @@ -10,7 +10,7 @@ A C library that may be linked into a C/C++ program to produce symbolic backtrac Name: libbacktrace-nightly Version: 1.0^%commit_date.%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Library to produce symbolic backtraces License: BSD-3-Clause URL: https://github.com/ianlancetaylor/libbacktrace @@ -36,13 +36,15 @@ This package contains the development files for the %name package. %prep %autosetup -n libbacktrace-%commit -%build +%conf autoreconf -fiv %configure \ --disable-static \ --enable-shared \ --with-system-libunwind \ --enable-silent-rules + +%build %make_build %check diff --git a/anda/lib/breakpad/breakpad.spec b/anda/lib/breakpad/breakpad.spec index 8964f54b2f..3133f09c6d 100644 --- a/anda/lib/breakpad/breakpad.spec +++ b/anda/lib/breakpad/breakpad.spec @@ -1,6 +1,6 @@ Name: breakpad Version: 2024.02.16 -Release: 2%?dist +Release: 3%?dist Summary: Google Breakpad crash-reporting system License: BSD-3-Clause Group: System @@ -14,7 +14,7 @@ BuildRequires: pkgconfig(gtest) BuildRequires: pkgconfig(zlib) BuildRequires: anda-srpm-macros -Packager: Willow Reed (willow@willowidk.dev) +Packager: Willow Reed %description A set of client and server components which implement a crash-reporting system. @@ -32,11 +32,13 @@ mkdir -p src/third_party/lss cd src/third_party/lss tar -xzf %{SOURCE1} --strip-components=0 -%build +%conf export CFLAGS="$CFLAGS -Wno-error" export CXXFLAGS="$CXXFLAGS -Wno-error" %configure + +%build %make_build %install @@ -59,5 +61,5 @@ rm -rf %{buildroot}%{_docdir}/breakpad-0.1 %{_libexecdir}/core_handler %changelog -* Fri Jan 02 2026 Willow Reed +* Fri Jan 02 2026 Willow Reed - Initial commit diff --git a/anda/lib/breakpad/update.rhai b/anda/lib/breakpad/update.rhai index df846a57b8..ec009aeafc 100644 --- a/anda/lib/breakpad/update.rhai +++ b/anda/lib/breakpad/update.rhai @@ -1 +1 @@ -rpm.version(gh("https://github.com/google/breakpad")); \ No newline at end of file +rpm.version(gh("google/breakpad")); diff --git a/anda/lib/cmake-extras/cmake-extras.spec b/anda/lib/cmake-extras/cmake-extras.spec index ac7a1a9375..65f6e54bf6 100644 --- a/anda/lib/cmake-extras/cmake-extras.spec +++ b/anda/lib/cmake-extras/cmake-extras.spec @@ -4,9 +4,9 @@ Name: cmake-extras Version: 1.9 -Release: 1%?dist +Release: 2%?dist Summary: A collection of add-ons for the CMake build tool -License: GPL-3.0 +License: GPL-3.0-or-later URL: https://gitlab.com/ubports/development/core/cmake-extras Source0: %{url}/-/archive/%commit/cmake-extras-%commit.tar.gz BuildArch: noarch @@ -31,8 +31,14 @@ sed -i 's/#!\/bin\/sh/#!\/usr\/bin\/sh/' src/CopyrightTest/check_copyright.sh sed -i 's/python/python3/' src/IncludeChecker/include_checker.py sed -i 'sX/usr/lib/qt5X${CMAKE_LIBDIR}/qt5X' src/QmlPlugins/QmlPluginsConfig.cmake +%conf +%if 0%{?fedora} >= 44 + %cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 +%else + %cmake +%endif + %build -%cmake %cmake_build %install diff --git a/anda/lib/davs2/davs2.spec b/anda/lib/davs2/davs2.spec index c89632dde4..c1465e48b3 100644 --- a/anda/lib/davs2/davs2.spec +++ b/anda/lib/davs2/davs2.spec @@ -4,10 +4,10 @@ Name: davs2 Version: 1.7 -Release: 1%{?shortcommit:.%{date}git%{shortcommit}}%{?dist} +Release: 2%{?shortcommit:.%{date}git%{shortcommit}}%{?dist} Summary: An open-source decoder of AVS2-P2/IEEE1857.4 video coding standard URL: https://github.com/pkuvcl/%{name} -License: GPLv2 +License: GPL-2.0-or-later %if %len %{commit0} != 0 Source0: https://github.com/pkuvcl/%{name}/archive/%{commit0}/%{name}-%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz @@ -50,7 +50,7 @@ This package contains the shared library development files. %autosetup %endif -%build +%conf cd build/linux %configure \ --bit-depth='8' \ @@ -67,6 +67,8 @@ sed -i \ -e 's|CFLAGS=.*%{optflags}|CFLAGS=%{optflags}|g' \ config.mak +%build +cd build/linux %make_build %install diff --git a/anda/lib/deviceinfo/deviceinfo.spec b/anda/lib/deviceinfo/deviceinfo.spec index a60e87c428..53f08b3bfa 100644 --- a/anda/lib/deviceinfo/deviceinfo.spec +++ b/anda/lib/deviceinfo/deviceinfo.spec @@ -4,17 +4,18 @@ Name: deviceinfo Version: 0.2.4 -Release: 1%?dist +Release: 2%?dist Summary: Library to detect and configure devices -License: GPLv3+ +License: GPL-3.0-or-later URL: https://gitlab.com/ubports/development/core/deviceinfo Source0: %{url}/-/archive/%commit/deviceinfo-%commit.tar.gz -Source1: https://salsa.debian.org/ubports-team/deviceinfo/-/raw/master/debian/device-info.1 BuildRequires: cmake BuildRequires: cmake-extras BuildRequires: pkgconfig(yaml-cpp) BuildRequires: gcc-c++ +BuildRequires: gtest-devel +BuildRequires: gmock-devel %description Library to detect and configure devices for Lomiri. @@ -30,13 +31,15 @@ developing applications that use %{name}. %prep %autosetup -n deviceinfo-%commit -%build +%conf %cmake + +%build %cmake_build %install %cmake_install -install -Dm644 '%{SOURCE1}' %{buildroot}%{_mandir}/man1/device-info.1 +install -Dm644 tools/device-info.1 %{buildroot}%{_mandir}/man1/device-info.1 %files %license LICENSE diff --git a/anda/lib/directxshadercompiler/DirectXShaderCompiler.spec b/anda/lib/directxshadercompiler/DirectXShaderCompiler.spec index 61a791ba5d..5e51088eca 100644 --- a/anda/lib/directxshadercompiler/DirectXShaderCompiler.spec +++ b/anda/lib/directxshadercompiler/DirectXShaderCompiler.spec @@ -3,8 +3,8 @@ # Metadata. Name: DirectXShaderCompiler -Version: 1.9.2602 -Release: 1%?dist +Version: 1.10.2605.2 +Release: 1%{?dist} Summary: A Direct X Shader compiler. License: MIT Packager: libffi diff --git a/anda/lib/dwarfs/dwarfs.spec b/anda/lib/dwarfs/dwarfs.spec index 6134274fbd..fb842901a3 100644 --- a/anda/lib/dwarfs/dwarfs.spec +++ b/anda/lib/dwarfs/dwarfs.spec @@ -5,12 +5,12 @@ A fast high compression read-only file system for Linux and Windows.} %global _distro_extra_cxxflags -include %{_includedir}/c++/*/cstdint Name: dwarfs -Version: 0.14.1 -Release: 5%{?dist} +Version: 0.15.3 +Release: 1%{?dist} Summary: A fast high compression read-only file system for Linux, Windows and macOS License: GPL-3.0-or-later URL: https://github.com/mhx/%{name} -Source0: https://github.com/mhx/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: binutils-devel BuildRequires: boost-devel %if 0%{?fedora} >= 44 @@ -23,7 +23,6 @@ BuildRequires: bubblewrap BuildRequires: ccache BuildRequires: clang BuildRequires: cmake -BuildRequires: double-conversion-devel BuildRequires: flac-devel BuildRequires: fmt-devel BuildRequires: fuse @@ -33,21 +32,16 @@ BuildRequires: fuse-devel BuildRequires: g++ BuildRequires: gcc BuildRequires: git -BuildRequires: glog-devel BuildRequires: google-benchmark BuildRequires: jemalloc-devel BuildRequires: json-devel BuildRequires: libarchive-devel -BuildRequires: libdwarf-devel -BuildRequires: libevent-devel -BuildRequires: libunwind-devel BuildRequires: libzstd-devel BuildRequires: lz4-devel BuildRequires: make BuildRequires: man BuildRequires: ninja-build BuildRequires: openssl-devel -BuildRequires: pip BuildRequires: pkg-config BuildRequires: range-v3-devel BuildRequires: rubygem-ronn-ng @@ -55,8 +49,6 @@ BuildRequires: utf8cpp-devel BuildRequires: xxhash-devel BuildRequires: xz-devel BuildRequires: zstd -Requires: bzip2-libs -Requires: gflags Requires: libattr Requires: libxml2 Requires: libzstd diff --git a/anda/lib/fdk-aac/fdk-aac.spec b/anda/lib/fdk-aac/fdk-aac.spec index 071a69aee1..7fe0d33a91 100644 --- a/anda/lib/fdk-aac/fdk-aac.spec +++ b/anda/lib/fdk-aac/fdk-aac.spec @@ -35,9 +35,11 @@ This package contains libraries and header files for developing applications tha %prep %autosetup -n %{name}-%{version} -%build +%conf autoreconf -vif %configure --disable-static + +%build %make_build %install diff --git a/anda/lib/geonames/geonames.spec b/anda/lib/geonames/geonames.spec index 3f3560c041..c1dec10d0e 100644 --- a/anda/lib/geonames/geonames.spec +++ b/anda/lib/geonames/geonames.spec @@ -1,9 +1,9 @@ %global forgeurl https://gitlab.com/ubports/development/core/geonames -%global commit 447653042655072bdd5e539ed509623e56c418ec +%global commit 91792a7f85ced64915652c33e3c3a9513c106f58 %forgemeta Name: geonames -Version: 0.3.1 +Version: 0.3.2 Release: 1%{?dist} Summary: Parse and query the geonames database License: GPL-3.0 diff --git a/anda/lib/glaze/glaze.spec b/anda/lib/glaze/glaze.spec index 28e2abe35c..dc9fbfce41 100644 --- a/anda/lib/glaze/glaze.spec +++ b/anda/lib/glaze/glaze.spec @@ -2,7 +2,7 @@ %global debug_package %{nil} Name: glaze-devel -Version: 7.1.1 +Version: 7.5.0 Release: 1%{?dist} License: MIT URL: https://stephenberry.github.io/glaze diff --git a/anda/lib/gmenuharness/gmenuharness.spec b/anda/lib/gmenuharness/gmenuharness.spec index 555efbce71..4b2f7cb55f 100644 --- a/anda/lib/gmenuharness/gmenuharness.spec +++ b/anda/lib/gmenuharness/gmenuharness.spec @@ -4,9 +4,9 @@ Name: gmenuharness Version: 0.1.4 -Release: %autorelease +Release: 2%{?dist} Summary: GMenu harness library -License: LGPLv3 +License: LGPL-3.0-or-later URL: https://gitlab.com/ubports/development/core/gmenuharness Source0: %{url}/-/archive/%commit/gmenuharness-%commit.tar.gz diff --git a/anda/lib/grail/grail.spec b/anda/lib/grail/grail.spec index 8ee1dd6911..48cae7d135 100644 --- a/anda/lib/grail/grail.spec +++ b/anda/lib/grail/grail.spec @@ -38,7 +38,7 @@ developing applications that use %{name}. %prep %autosetup -n grail-%{version} -%build +%conf autoreconf --force --install PYTHON=%{__python3} export PYTHON @@ -49,6 +49,7 @@ export PYTHON --with-x11 \ --disable-static +%build %make_build %install diff --git a/anda/lib/inputtino/inputtino.spec b/anda/lib/inputtino/inputtino.spec index 1b9e31204e..0a17d1a316 100644 --- a/anda/lib/inputtino/inputtino.spec +++ b/anda/lib/inputtino/inputtino.spec @@ -1,4 +1,4 @@ -%global commit 504f0abc7da8ebc351f8300fb2ed98db5438ee48 +%global commit f4ce2b0df536ef309e9ff318f75b460f7097d7c1 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global commitdate 20250816 diff --git a/anda/lib/libayatana-appindicator-glib/anda.hcl b/anda/lib/libayatana-appindicator-glib/anda.hcl new file mode 100644 index 0000000000..21debf4611 --- /dev/null +++ b/anda/lib/libayatana-appindicator-glib/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "libayatana-appindicator-glib.spec" + } +} diff --git a/anda/lib/libayatana-appindicator-glib/libayatana-appindicator-glib.spec b/anda/lib/libayatana-appindicator-glib/libayatana-appindicator-glib.spec new file mode 100644 index 0000000000..d4a440ab59 --- /dev/null +++ b/anda/lib/libayatana-appindicator-glib/libayatana-appindicator-glib.spec @@ -0,0 +1,70 @@ +%undefine __brp_add_determinism + +Name: libayatana-appindicator-glib +Summary: Ayatana Application Indicators Shared Library +Version: 2.0.1 +Release: 3%?dist +License: GPL-3.0-or-later +Packager: veuxit +URL: https://github.com/AyatanaIndicators/libayatana-appindicator-glib +Source0: %{url}/archive/refs/tags/%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: cmake-extras +BuildRequires: glib2 +BuildRequires: glib2-devel +BuildRequires: gobject-introspection +BuildRequires: gi-docgen +BuildRequires: vala-devel +BuildRequires: vala +BuildRequires: intltool + +%description +Ayatana Application Indicators Shared Library (GLib-2.0 reimplementation, 100% GTK-free, 100% dbusmenu-free) + +%prep +%autosetup -n %{name}-%{version} + +%conf +%cmake + +%build +%cmake_build + +%install +%cmake_install + +%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}. + +%files devel +%{_includedir}/libayatana-appindicator-glib/ +%{_libdir}/libayatana-appindicator-glib.so +%{_libdir}/pkgconfig/ayatana-appindicator-glib.pc +%{_datadir}/gir-1.0/AyatanaAppIndicatorGlib-2.0.gir +%{_datadir}/vala/vapi/ayatana-appindicator-glib.deps +%{_datadir}/vala/vapi/ayatana-appindicator-glib.vapi + +%package doc +Summary: Documentation for %{name} +BuildArch: noarch + +%description doc +Documentation for %{name}. + +%files doc +%{_datadir}/doc/libayatana-appindicator-glib-dev/ + +%files +%license COPYING +%{_libdir}/libayatana-appindicator-glib.so.2* +%{_libdir}/girepository-1.0/AyatanaAppIndicatorGlib-2.0.typelib + +%changelog +* Fri Feb 27 2026 veux - 2.0.1 +- Initial package release \ No newline at end of file diff --git a/anda/lib/libayatana-appindicator-glib/update.rhai b/anda/lib/libayatana-appindicator-glib/update.rhai new file mode 100644 index 0000000000..69136c0ba6 --- /dev/null +++ b/anda/lib/libayatana-appindicator-glib/update.rhai @@ -0,0 +1 @@ +rpm.version(gh_tag("AyatanaIndicators/libayatana-appindicator-glib")); diff --git a/anda/lib/libayatana-common/libayatana-common.spec b/anda/lib/libayatana-common/libayatana-common.spec index d649cd8f52..ca8f31ad9e 100644 --- a/anda/lib/libayatana-common/libayatana-common.spec +++ b/anda/lib/libayatana-common/libayatana-common.spec @@ -1,8 +1,8 @@ Name: libayatana-common Summary: Common functions for Ayatana System Indicators Version: 0.9.11 -Release: 2%?dist -License: GPL-3.0 +Release: 3%?dist +License: GPL-3.0-or-later URL: https://github.com/AyatanaIndicators/libayatana-common Source0: %{url}/archive/refs/tags/%{version}.tar.gz @@ -17,6 +17,8 @@ BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: vala-devel BuildRequires: vala BuildRequires: intltool +BuildRequires: gcc-c++ +BuildRequires: gtest-devel %description The Ayatana Indicators project is the continuation of Application Indicators @@ -33,11 +35,12 @@ This package contains the development header files for %{name}. %prep %autosetup -n %{name}-%{version} -%build +%conf %cmake -DENABLE_LOMIRI_FEATURES=ON \ -DENABLE_TESTS=ON \ -DENABLE_COVERAGE=OFF +%build %cmake_build %install diff --git a/anda/lib/libbismuth/libbismuth.spec b/anda/lib/libbismuth/libbismuth.spec index be80f6c288..d1cb9d8cb8 100644 --- a/anda/lib/libbismuth/libbismuth.spec +++ b/anda/lib/libbismuth/libbismuth.spec @@ -33,13 +33,13 @@ for writing applications with libbismuth. %prep %autosetup -n libbismuth-%{version} -%build +%conf %meson + +%build %meson_build %install -# Install licenses -mkdir -p licenses %meson_install rm -rf %{buildroot}%{_bindir}/blueprint-compiler diff --git a/anda/lib/libde265/libde265.spec b/anda/lib/libde265/libde265.spec index f9baa6453d..f04c5f0261 100644 --- a/anda/lib/libde265/libde265.spec +++ b/anda/lib/libde265/libde265.spec @@ -1,7 +1,7 @@ Name: libde265 Summary: Open H.265 video codec implementation -Version: 1.0.16 -Release: 1%?dist +Version: 1.0.18 +Release: 1%{?dist} License: LGPL-3.0-or-later URL: https://www.libde265.org/ Source0: https://github.com/strukturag/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -41,9 +41,11 @@ Various sample and test applications using %{name} are provided by this package. %prep %autosetup -%build +%conf autoreconf -vif %configure --disable-silent-rules --disable-static --enable-encoder + +%build %make_build %install diff --git a/anda/lib/libfiber/libfiber.spec b/anda/lib/libfiber/libfiber.spec index 7a7095e49c..0d887f16a0 100644 --- a/anda/lib/libfiber/libfiber.spec +++ b/anda/lib/libfiber/libfiber.spec @@ -7,12 +7,12 @@ The library enables developers to write highly concurrent applications using syn Name: libfiber-devel Version: 1.1.0 -Release: 1%?dist +Release: 2%?dist URL: https://deepwiki.com/iqiyi/libfiber Source0: https://github.com/iqiyi/libfiber/archive/refs/tags/v%version.tar.gz Patch0: add-missing-header.patch Summary: The high performance c/c++ coroutine/fiber library for Linux/FreeBSD/MacOS/Windows, supporting select/poll/epoll/kqueue/iouring/iocp/windows GUI -License: LGPL-3.0 +License: LGPL-3.0-or-later ExclusiveArch: x86_64 Packager: Owen Zimmerman diff --git a/anda/lib/libfprint-tod/libfprint-tod.spec b/anda/lib/libfprint-tod/libfprint-tod.spec index eef3476374..c8de865f4e 100644 --- a/anda/lib/libfprint-tod/libfprint-tod.spec +++ b/anda/lib/libfprint-tod/libfprint-tod.spec @@ -1,8 +1,8 @@ %global appid org.freedesktop.libfprint Name: libfprint-tod -Version: 1.94.10+tod1 -Release: 1%?dist +Version: 1.95.1+tod1 +Release: 1%{?dist} URL: https://gitlab.freedesktop.org/3v1n0/libfprint/ Source: %{url}/-/archive/v%{version}/libfprint-v%{version}.tar.gz Summary: a light fork of libfprint to expose internal Drivers API in order to create drivers as shared libraries diff --git a/anda/lib/libtrueforce/anda.hcl b/anda/lib/libtrueforce/anda.hcl new file mode 100644 index 0000000000..6b598949a3 --- /dev/null +++ b/anda/lib/libtrueforce/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "libtrueforce.spec" + } + labels { + updbranch = 1 + mock = 1 + } +} diff --git a/anda/lib/libtrueforce/libtrueforce.spec b/anda/lib/libtrueforce/libtrueforce.spec new file mode 100644 index 0000000000..06ceb70d96 --- /dev/null +++ b/anda/lib/libtrueforce/libtrueforce.spec @@ -0,0 +1,70 @@ +%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260504 +%global debug_package %{nil} + +Name: libtrueforce +Version: 1.3.11^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Native Linux implementation of the Logitech Trueforce SDK +License: GPL-2.0-only +URL: https://github.com/mescon/logitech-rs50-linux-driver +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +BuildRequires: gcc +BuildRequires: make +Requires: logitech-rs50-linux-driver +Provides: trueforce-sdk = %{?epoch:%{epoch}:}%{version} +Packager: Luan V. + + +%description +Native Linux implementation of the Logitech Trueforce SDK +(trueforce_sdk_x64.dll, version 1.3.11). Supports both the RS50 (046d:c276) and +the G Pro Racing Wheel (046d:c272 / 046d:c268) the two wheels use byte-for-byte +identical init and streaming packets, so the same library drives both. See +docs/TRUEFORCE_PROTOCOL.md in the parent repo for the protocol documentation. + +%package static +Summary: Static library for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description static +The %{name}-static package contains the static library for %{name}. + + +%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 -c -n %{name}-%{commit} +mv ./logitech-rs50-linux-driver-%{commit}/userspace/%{name}/* . +mv ./logitech-rs50-linux-driver-%{commit}/docs/TRUEFORCE_PROTOCOL.md . +rm -rf ./logitech-rs50-linux-driver-%{commit} + +%build +%make_build PREFIX=%{_prefix} LIBDIR=%{_libdir} CFLAGS="%{build_cflags}" + +%install +%make_install PREFIX=%{_prefix} LIBDIR=%{_libdir} +install -D -m644 %{name}.a %{buildroot}%{_libdir}/ + +%files +%doc README.md TRUEFORCE_PROTOCOL.md +%{_libdir}/*.so.* + +%files devel +%{_libdir}/*.so +%{_includedir}/trueforce.h + +%files static +%{_libdir}/*.a + + +%changelog +* Fri May 01 2026 Luan V. - 1.3.11^20260430git.df7f149-1 +- Initial package diff --git a/anda/lib/libtrueforce/update.rhai b/anda/lib/libtrueforce/update.rhai new file mode 100644 index 0000000000..d55bf59bae --- /dev/null +++ b/anda/lib/libtrueforce/update.rhai @@ -0,0 +1,9 @@ + let c = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); +} diff --git a/anda/lib/libusermetrics/libusermetrics.spec b/anda/lib/libusermetrics/libusermetrics.spec index 5e299fa946..10f9928671 100644 --- a/anda/lib/libusermetrics/libusermetrics.spec +++ b/anda/lib/libusermetrics/libusermetrics.spec @@ -1,8 +1,8 @@ Name: libusermetrics Version: 1.4.1 -Release: 1%?dist +Release: 2%?dist Summary: library for retrieving anonymous metrics about users -License: GPLv3 AND LGPLv3 AND LGPLv2 +License: GPL-3.0-or-later AND LGPL-3.0-or-later AND LGPL-2.1-or-later URL: https://gitlab.com/ubports/development/core/libusermetrics Source0: %url/-/archive/%version/libusermetrics-%version.tar.gz @@ -20,6 +20,8 @@ BuildRequires: pkgconfig(libqtdbustest-1) BuildRequires: pkgconfig(libapparmor) BuildRequires: qdjango-devel BuildRequires: fdupes +BuildRequires: gmock-devel +BuildRequires: gtest-devel %description library for retrieving anonymous metrics about users @@ -55,7 +57,7 @@ The %{name}-doc contains documentation for %{name}. %files -f %{name}.lang %doc ChangeLog %license LGPL_EXCEPTION.txt LICENSE.GPL LICENSE.LGPL LICENSE.LGPL-3 -%{_sysconfdir}/dbus-1/system.d/com.lomiri.UserMetrics.conf +%{_datadir}/dbus-1/system.d/com.lomiri.UserMetrics.conf %{_bindir}/usermetricsinput %{_bindir}/usermetricsinput-increment %{_libdir}/libusermetricsinput.so.* diff --git a/anda/lib/lsp-dsp/liblsp-dsp.spec b/anda/lib/lsp-dsp/liblsp-dsp.spec index 5845af26ec..5800be8884 100644 --- a/anda/lib/lsp-dsp/liblsp-dsp.spec +++ b/anda/lib/lsp-dsp/liblsp-dsp.spec @@ -3,8 +3,8 @@ #define _empty_manifest_terminate_build 0 Name: liblsp-dsp -Version: 1.0.33 -Release: 1%?dist +Version: 1.0.35 +Release: 1%{?dist} Summary: DSP library for signal processing License: LGPL-3.0 #Group: System/Libraries diff --git a/anda/lib/mesa-compat/0001-c11-threads-fix-build-on-fedora-44.patch b/anda/lib/mesa-compat/0001-c11-threads-fix-build-on-fedora-44.patch new file mode 100644 index 0000000000..71322c9a45 --- /dev/null +++ b/anda/lib/mesa-compat/0001-c11-threads-fix-build-on-fedora-44.patch @@ -0,0 +1,47 @@ +From 6e3646c81143477008e448d3b0b5c349169e4112 Mon Sep 17 00:00:00 2001 +From: Dave Airlie +Date: Fri, 7 Nov 2025 13:14:56 +1000 +Subject: [PATCH] c11/threads: fix build on fedora 44. + +glibc is now including once_init in stdlib.h + +https://patchwork.sourceware.org/project/glibc/patch/78061085-f04a-0c45-107b-5a8a15521083@redhat.com/#213088 + +Just fix up our use of it. +--- + src/c11/impl/threads_posix.c | 2 +- + src/c11/threads.h | 3 +++ + 2 files changed, 4 insertions(+), 1 deletion(-) + +diff --git a/src/c11/impl/threads_posix.c b/src/c11/impl/threads_posix.c +index 3b8692482bb..4769c029bad 100644 +--- a/src/c11/impl/threads_posix.c ++++ b/src/c11/impl/threads_posix.c +@@ -49,7 +49,7 @@ impl_thrd_routine(void *p) + void + call_once(once_flag *flag, void (*func)(void)) + { +- pthread_once(flag, func); ++ pthread_once((pthread_once_t *)flag, func); + } + + +diff --git a/src/c11/threads.h b/src/c11/threads.h +index dbcb3459a9b..053636f6674 100644 +--- a/src/c11/threads.h ++++ b/src/c11/threads.h +@@ -118,8 +118,11 @@ typedef pthread_cond_t cnd_t; + typedef pthread_t thrd_t; + typedef pthread_key_t tss_t; + typedef pthread_mutex_t mtx_t; ++#ifndef __once_flag_defined ++#define __once_flag_defined 1 + typedef pthread_once_t once_flag; + # define ONCE_FLAG_INIT PTHREAD_ONCE_INIT ++#endif + # ifdef PTHREAD_DESTRUCTOR_ITERATIONS + # define TSS_DTOR_ITERATIONS PTHREAD_DESTRUCTOR_ITERATIONS + # else +-- +2.51.1 + diff --git a/anda/lib/mesa-compat/cd129dbf8af2d16b1243f2ce287ff69c6a5dc557.patch b/anda/lib/mesa-compat/cd129dbf8af2d16b1243f2ce287ff69c6a5dc557.patch new file mode 100644 index 0000000000..59efa33fe3 --- /dev/null +++ b/anda/lib/mesa-compat/cd129dbf8af2d16b1243f2ce287ff69c6a5dc557.patch @@ -0,0 +1,54 @@ +From cd129dbf8af2d16b1243f2ce287ff69c6a5dc557 Mon Sep 17 00:00:00 2001 +From: no92 +Date: Wed, 27 Aug 2025 16:02:31 +0200 +Subject: [PATCH] gallivm: support LLVM 21 + +LLVM PR#146819 changed the signature of `setObjectLinkingLayerCreator`, +dropping the Triple argument. The PR was first included in the LLVM 21 +series, and the new signature is gated behind a version check for that. + +`LLVMOrcThreadSafeContextGetContext` was removed in LLVM commit b18e5b6, +and the ORC examples in the LLVM tree seem to just create a context +instead, which we replicate here. + +With this commit, mesa successfully builds the llvmpipe gallium driver +on riscv64 with LLVM 21.1.0. + +Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13785 +Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13852 + +Reviewed-by: David Heidelberg +Part-of: +--- + src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp +index 6651ea439da86..e5d8e461dd6c0 100644 +--- a/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp ++++ b/src/gallium/auxiliary/gallivm/lp_bld_init_orc.cpp +@@ -339,7 +339,12 @@ LPJit::LPJit() :jit_dylib_count(0) { + .setJITTargetMachineBuilder(std::move(JTMB)) + #ifdef USE_JITLINK + .setObjectLinkingLayerCreator( ++#if LLVM_VERSION_MAJOR >= 21 ++ /* LLVM 21 removed the Triple argument */ ++ [&](ExecutionSession &ES) { ++#else + [&](ExecutionSession &ES, const llvm::Triple &TT) { ++#endif + return std::make_unique( + ES, ExitOnErr(llvm::jitlink::InProcessMemoryManager::Create())); + }) +@@ -551,7 +556,7 @@ init_gallivm_state(struct gallivm_state *gallivm, const char *name, + gallivm->cache = cache; + + gallivm->_ts_context = context->ref; +- gallivm->context = LLVMOrcThreadSafeContextGetContext(context->ref); ++ gallivm->context = LLVMContextCreate(); + + gallivm->module_name = LPJit::get_unique_name(name); + gallivm->module = LLVMModuleCreateWithNameInContext(gallivm->module_name, +-- +GitLab + diff --git a/anda/lib/mesa-compat/mesa-compat.spec b/anda/lib/mesa-compat/mesa-compat.spec index 059903ac53..b3d67f5693 100644 --- a/anda/lib/mesa-compat/mesa-compat.spec +++ b/anda/lib/mesa-compat/mesa-compat.spec @@ -1,21 +1,30 @@ %global origname mesa +# 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 +%global _lto_cflags %nil + Name: %{origname}-compat Summary: Mesa graphics libraries - legacy compatibility libraries %global ver 25.0.7 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 License: MIT AND BSD-3-Clause AND SGI-B-2.0 URL: http://www.mesa3d.org - Source0: https://archive.mesa3d.org/mesa-%{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 -# Keep Mesa builds relatively the same -Patch0: bazzite.patch +# fix c11/threads builds problem on f44 +Patch0: 0001-c11-threads-fix-build-on-fedora-44.patch +# Support LLVM 21 +Patch1: cd129dbf8af2d16b1243f2ce287ff69c6a5dc557.patch + +# Older version of the Bazzite/OGC patches +Patch2: bazzite.patch BuildRequires: meson >= 1.3.0 BuildRequires: gcc @@ -44,7 +53,9 @@ BuildRequires: python3-pyyaml Summary: Mesa XA state tracker Provides: libxatracker%{?_isa} Provides: mesa-libxatracker%{?_isa} -Obsoletes: mesa-libxatracker < %{?epoch:%{epoch}:}25.3 +Obsoletes: mesa-libxatracker < 25.3 +# New things should not rely on this as this library is dead upstream +Provides: deprecated() %description libxatracker %{summary}. @@ -52,7 +63,9 @@ Obsoletes: mesa-libxatracker < %{?epoch:%{epoch}:}25.3 %package libxatracker-devel Summary: Mesa XA state tracker development package Requires: %{name}-libxatracker%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: mesa-libxatracker-devel < %{?epoch:%{epoch}:}25.3 +Obsoletes: mesa-libxatracker-devel < 25.3 +# New things should not rely on this as this library is dead upstream +Provides: deprecated() %description libxatracker-devel %{summary}. @@ -81,11 +94,6 @@ Provides: deprecated() cp %{SOURCE1} docs/ %build -# 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 \ -Dplatforms= \ -Dosmesa=true \ @@ -149,4 +157,5 @@ rm -rf %{buildroot}%{_includedir}/KHR %{_libdir}/pkgconfig/xatracker.pc %changelog -%autochangelog +* Sun Apr 26 2026 Gilver E. - 25.0.7-3 +- Updated build for Fedora 44 diff --git a/anda/lib/mesa/mesa.spec b/anda/lib/mesa/mesa.spec index a410b07264..173fa55154 100644 --- a/anda/lib/mesa/mesa.spec +++ b/anda/lib/mesa/mesa.spec @@ -84,10 +84,10 @@ Name: %{srcname} Summary: Mesa graphics libraries -%global ver 26.0.1 +%global ver 26.0.5 Epoch: 1 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 2 +Release: 1%{?dist} Packager: Kyle Gospodnetich License: MIT AND BSD-3-Clause AND SGI-B-2.0 URL: https://mesa3d.org @@ -343,8 +343,6 @@ Summary: Mesa Vulkan drivers Requires: vulkan%{_isa} Requires: %{name}-filesystem%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: mesa-vulkan-devel < %{?epoch:%{epoch}:}%{version}-%{release} -# Bad change from upstream Fedora -#Obsoletes: VK_hdr_layer < 1 %description vulkan-drivers The drivers with support for the Vulkan API. @@ -480,7 +478,7 @@ rewrite_wrap_file rustc-hash %if 0%{?with_nvk} %cargo_license_summary -%{cargo_license} > LICENSE.dependencies +%{cargo_license} > LICENSE.dependencies.%{_arch} %if 0%{?vendor_nvk_crates} %cargo_vendor_manifest %endif @@ -503,7 +501,7 @@ rm -vf %{buildroot}%{_libdir}/dri/apple_dri.so # 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 +ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0 %files filesystem %doc docs/Mesa-MLAA-License-Clarification-Email.txt @@ -677,7 +675,7 @@ ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0 %files vulkan-drivers %if 0%{?with_nvk} -%license LICENSE.dependencies +%license LICENSE.dependencies.%{_arch} %if 0%{?vendor_nvk_crates} %license cargo-vendor.txt %endif @@ -727,4 +725,5 @@ ln -s %{_libdir}/libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_system.so.0 %endif %changelog -%autochangelog +* Sun Mar 15 2026 Tulip Blossom +- Split out cargo dependencies into architecture-specific files to prevent conflicts with i386 and amd64 package installs diff --git a/anda/lib/nvidia/cuda-cccl/cuda-cccl.spec b/anda/lib/nvidia/cuda-cccl/cuda-cccl.spec index 81c1cbc2db..2d56283532 100644 --- a/anda/lib/nvidia/cuda-cccl/cuda-cccl.spec +++ b/anda/lib/nvidia/cuda-cccl/cuda-cccl.spec @@ -5,7 +5,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.27 +Version: 13.2.75 Release: 1%{?dist} Summary: CXX Core Compute Libraries License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-cudart/cuda-cudart.spec b/anda/lib/nvidia/cuda-cudart/cuda-cudart.spec index b1847c606c..a531ae18a2 100644 --- a/anda/lib/nvidia/cuda-cudart/cuda-cudart.spec +++ b/anda/lib/nvidia/cuda-cudart/cuda-cudart.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.75 Release: 1%{?dist} Summary: CUDA Runtime API library License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-cudnn/cuda-cudnn.spec b/anda/lib/nvidia/cuda-cudnn/cuda-cudnn.spec index fcd6385665..140808fe33 100644 --- a/anda/lib/nvidia/cuda-cudnn/cuda-cudnn.spec +++ b/anda/lib/nvidia/cuda-cudnn/cuda-cudnn.spec @@ -2,11 +2,11 @@ %global __strip /bin/true %global _missing_build_ids_terminate_build 0 %global _build_id_links none -%global cuda_version 12 +%global cuda_version 13 Name: cuda-cudnn -Version: 9.20.0.48 -Release: 1%{?dist} +Version: 9.21.1.3 +Release: 2%{?dist} Epoch: 1 Summary: NVIDIA CUDA Deep Neural Network library (cuDNN) License: NVIDIA Software Development Kit diff --git a/anda/lib/nvidia/cuda-culibos/cuda-culibos.spec b/anda/lib/nvidia/cuda-culibos/cuda-culibos.spec index 5beaca96ec..e7e384a94b 100644 --- a/anda/lib/nvidia/cuda-culibos/cuda-culibos.spec +++ b/anda/lib/nvidia/cuda-culibos/cuda-culibos.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-')-devel Epoch: 1 -Version: 13.2.51 +Version: 13.2.75 Release: 1%{?dist} Summary: CUDA Culibos Math development library License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-cuobjdump/cuda-cuobjdump.spec b/anda/lib/nvidia/cuda-cuobjdump/cuda-cuobjdump.spec index baea244292..ef6f98e43a 100644 --- a/anda/lib/nvidia/cuda-cuobjdump/cuda-cuobjdump.spec +++ b/anda/lib/nvidia/cuda-cuobjdump/cuda-cuobjdump.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: Utility to extract information from CUDA binary files License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-cupti/cuda-cupti.spec b/anda/lib/nvidia/cuda-cupti/cuda-cupti.spec index 66bb6d277d..342d91a132 100644 --- a/anda/lib/nvidia/cuda-cupti/cuda-cupti.spec +++ b/anda/lib/nvidia/cuda-cupti/cuda-cupti.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.23 +Version: 13.2.75 Release: 1%{?dist} Summary: NVIDIA CUDA Profiling Tools Interface (CUPTI) library License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-cuxxfilt/cuda-cuxxfilt.spec b/anda/lib/nvidia/cuda-cuxxfilt/cuda-cuxxfilt.spec index 28f2aa445e..54ef59bade 100644 --- a/anda/lib/nvidia/cuda-cuxxfilt/cuda-cuxxfilt.spec +++ b/anda/lib/nvidia/cuda-cuxxfilt/cuda-cuxxfilt.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA cuxxfilt (demangler) License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-gdb/cuda-gdb.spec b/anda/lib/nvidia/cuda-gdb/cuda-gdb.spec index b9f6900585..3b0dd5982d 100644 --- a/anda/lib/nvidia/cuda-gdb/cuda-gdb.spec +++ b/anda/lib/nvidia/cuda-gdb/cuda-gdb.spec @@ -7,10 +7,10 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.20 -Release: 1%{?dist} +Version: 13.2.75 +Release: 2%{?dist} Summary: CUDA GDB -License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL +License: GPL-3.0-or-later AND GPL-3.0-or-later with exceptions AND GPL-2.0-or-later AND GPL-2.0-or-later with exceptions AND GPL-1.0-or-later AND LGPL-2.0-or-later AND LGPL-3.0-or-later AND BSD AND LicenseRef-Fedora-Public-Domain AND GFDL URL: https://developer.nvidia.com/cuda-toolkit ExclusiveArch: x86_64 aarch64 diff --git a/anda/lib/nvidia/cuda-nvdisasm/cuda-nvdisasm.spec b/anda/lib/nvidia/cuda-nvdisasm/cuda-nvdisasm.spec index 6f408811ad..4fd11a21b2 100644 --- a/anda/lib/nvidia/cuda-nvdisasm/cuda-nvdisasm.spec +++ b/anda/lib/nvidia/cuda-nvdisasm/cuda-nvdisasm.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: Utility to extract information from CUDA binary files License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-nvml/cuda-nvml.spec b/anda/lib/nvidia/cuda-nvml/cuda-nvml.spec index b38388e1b0..d9604741f4 100644 --- a/anda/lib/nvidia/cuda-nvml/cuda-nvml.spec +++ b/anda/lib/nvidia/cuda-nvml/cuda-nvml.spec @@ -8,7 +8,7 @@ Name: cuda-nvml Epoch: 1 -Version: 13.2.51 +Version: 13.2.82 Release: 1%{?dist} Summary: NVIDIA Management library (NVML) License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-nvprune/cuda-nvprune.spec b/anda/lib/nvidia/cuda-nvprune/cuda-nvprune.spec index 7caf40cde9..fb57e966aa 100644 --- a/anda/lib/nvidia/cuda-nvprune/cuda-nvprune.spec +++ b/anda/lib/nvidia/cuda-nvprune/cuda-nvprune.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA nvprune License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-nvrtc/cuda-nvrtc.spec b/anda/lib/nvidia/cuda-nvrtc/cuda-nvrtc.spec index 402f03985b..4cb43cadec 100644 --- a/anda/lib/nvidia/cuda-nvrtc/cuda-nvrtc.spec +++ b/anda/lib/nvidia/cuda-nvrtc/cuda-nvrtc.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA runtime compilation library (NVRTC) License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-nvtx/cuda-nvtx.spec b/anda/lib/nvidia/cuda-nvtx/cuda-nvtx.spec index fa1aa0cb79..6742f0c1e6 100644 --- a/anda/lib/nvidia/cuda-nvtx/cuda-nvtx.spec +++ b/anda/lib/nvidia/cuda-nvtx/cuda-nvtx.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.20 +Version: 13.2.75 Release: 1%{?dist} Summary: NVIDIA Tools Extension (NVTX) library License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-profiler/cuda-profiler.spec b/anda/lib/nvidia/cuda-profiler/cuda-profiler.spec index b760028b04..07231d98de 100644 --- a/anda/lib/nvidia/cuda-profiler/cuda-profiler.spec +++ b/anda/lib/nvidia/cuda-profiler/cuda-profiler.spec @@ -5,7 +5,7 @@ Name: cuda-profiler Epoch: 1 -Version: 13.2.20 +Version: 13.2.75 Release: 1%{?dist} Summary: CUDA Profiler API License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-sandbox/cuda-sandbox.spec b/anda/lib/nvidia/cuda-sandbox/cuda-sandbox.spec index 106a77a903..f93fc480a9 100644 --- a/anda/lib/nvidia/cuda-sandbox/cuda-sandbox.spec +++ b/anda/lib/nvidia/cuda-sandbox/cuda-sandbox.spec @@ -8,7 +8,7 @@ Name: cuda-sandbox Epoch: 1 -Version: 13.2.51 +Version: 13.2.82 Release: 1%{?dist} Summary: CUDA nvsandboxutils License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda-sanitizer/cuda-sanitizer.spec b/anda/lib/nvidia/cuda-sanitizer/cuda-sanitizer.spec index f4a035ebb0..438e97ce3a 100644 --- a/anda/lib/nvidia/cuda-sanitizer/cuda-sanitizer.spec +++ b/anda/lib/nvidia/cuda-sanitizer/cuda-sanitizer.spec @@ -8,7 +8,7 @@ Name: cuda-sanitizer Epoch: 1 -Version: 13.2.23 +Version: 13.2.76 Release: 1%{?dist} Summary: CUDA Compute Sanitizer API License: CUDA Toolkit diff --git a/anda/lib/nvidia/cuda/cuda.spec b/anda/lib/nvidia/cuda/cuda.spec index 1fc8190472..bb9e5ebac9 100644 --- a/anda/lib/nvidia/cuda/cuda.spec +++ b/anda/lib/nvidia/cuda/cuda.spec @@ -2,7 +2,7 @@ %global major_package_version 13-0 Name: cuda -Version: 13.2.51 +Version: 13.2.75 Release: 1%{?dist} Summary: NVIDIA Compute Unified Device Architecture Toolkit Epoch: 1 diff --git a/anda/lib/nvidia/libcublas/libcublas.spec b/anda/lib/nvidia/libcublas/libcublas.spec index d5dc19cce7..8888c7f914 100644 --- a/anda/lib/nvidia/libcublas/libcublas.spec +++ b/anda/lib/nvidia/libcublas/libcublas.spec @@ -6,7 +6,7 @@ Name: libcublas Epoch: 1 -Version: 13.3.0.5 +Version: 13.4.0.1 Release: 1%{?dist} Summary: NVIDIA CUDA Basic Linear Algebra Subroutines (cuBLAS) libraries License: CUDA Toolkit diff --git a/anda/lib/nvidia/libcudla/libcudla.spec b/anda/lib/nvidia/libcudla/libcudla.spec index ed66cb4c27..97a4e28233 100644 --- a/anda/lib/nvidia/libcudla/libcudla.spec +++ b/anda/lib/nvidia/libcudla/libcudla.spec @@ -6,7 +6,7 @@ Name: libcudla Epoch: 1 -Version: 13.2.51 +Version: 13.2.75 Release: 1%{?dist} Summary: NVIDIA CUDA Deep Learning Accelerator (DLA) engines (Jetson Xavier + Orin) License: CUDA Toolkit diff --git a/anda/lib/nvidia/libcufft/libcufft.spec b/anda/lib/nvidia/libcufft/libcufft.spec index f6e411e9ed..6ec176a5ec 100644 --- a/anda/lib/nvidia/libcufft/libcufft.spec +++ b/anda/lib/nvidia/libcufft/libcufft.spec @@ -6,7 +6,7 @@ Name: libcufft Epoch: 2 -Version: 12.2.0.37 +Version: 12.2.0.46 Release: 1%{?dist} Summary: NVIDIA CUDA Fast Fourier Transform library (cuFFT) libraries License: CUDA Toolkit diff --git a/anda/lib/nvidia/libcufile/libcufile.spec b/anda/lib/nvidia/libcufile/libcufile.spec index 7766c3eefe..ed17599098 100644 --- a/anda/lib/nvidia/libcufile/libcufile.spec +++ b/anda/lib/nvidia/libcufile/libcufile.spec @@ -6,7 +6,7 @@ Name: libcufile Epoch: 1 -Version: 1.17.0.44 +Version: 1.17.1.22 Release: 1%{?dist} Summary: NVIDIA GPUDirect Storage library (cuFile) License: CUDA Toolkit diff --git a/anda/lib/nvidia/libcurand/libcurand.spec b/anda/lib/nvidia/libcurand/libcurand.spec index 31075e048f..cb96a7f02e 100644 --- a/anda/lib/nvidia/libcurand/libcurand.spec +++ b/anda/lib/nvidia/libcurand/libcurand.spec @@ -6,7 +6,7 @@ Name: libcurand Epoch: 2 -Version: 10.4.2.51 +Version: 10.4.2.55 Release: 1%{?dist} Summary: NVIDIA CUDA Random Number Generation library (cuRAND) License: CUDA Toolkit diff --git a/anda/lib/nvidia/libcusolver/libcusolver.spec b/anda/lib/nvidia/libcusolver/libcusolver.spec index 7319553cd9..37c93b7ebd 100644 --- a/anda/lib/nvidia/libcusolver/libcusolver.spec +++ b/anda/lib/nvidia/libcusolver/libcusolver.spec @@ -6,7 +6,7 @@ Name: libcusolver Epoch: 2 -Version: 12.1.0.51 +Version: 12.2.0.1 Release: 1%{?dist} Summary: NVIDIA cuSOLVER library License: CUDA Toolkit diff --git a/anda/lib/nvidia/libcusparse/libcusparse.spec b/anda/lib/nvidia/libcusparse/libcusparse.spec index 25100ab7f2..6ce77a2c32 100644 --- a/anda/lib/nvidia/libcusparse/libcusparse.spec +++ b/anda/lib/nvidia/libcusparse/libcusparse.spec @@ -6,7 +6,7 @@ Name: libcusparse Epoch: 1 -Version: 12.7.9.17 +Version: 12.7.10.1 Release: 1%{?dist} Summary: NVIDIA CUDA Sparse Matrix library (cuSPARSE) library License: CUDA Toolkit diff --git a/anda/lib/nvidia/libcusparselt/libcusparselt.spec b/anda/lib/nvidia/libcusparselt/libcusparselt.spec index 9299ef5866..5f38c74b14 100644 --- a/anda/lib/nvidia/libcusparselt/libcusparselt.spec +++ b/anda/lib/nvidia/libcusparselt/libcusparselt.spec @@ -5,7 +5,7 @@ %global cuda_version 13 Name: libcusparselt -Version: 0.8.1.1 +Version: 0.9.1.1 Release: 1%{?dist} Summary: CUDA Library for Sparse Matrix-Matrix Multiplication License: NVIDIA License diff --git a/anda/lib/nvidia/libnpp/libnpp.spec b/anda/lib/nvidia/libnpp/libnpp.spec index ca5f88982a..fe92f28c28 100644 --- a/anda/lib/nvidia/libnpp/libnpp.spec +++ b/anda/lib/nvidia/libnpp/libnpp.spec @@ -6,7 +6,7 @@ Name: libnpp Epoch: 1 -Version: 13.1.0.44 +Version: 13.1.0.48 Release: 1%{?dist} Summary: NVIDIA Performance Primitives libraries License: CUDA Toolkit diff --git a/anda/lib/nvidia/libnvfatbin/libnvfatbin.spec b/anda/lib/nvidia/libnvfatbin/libnvfatbin.spec index c24c64ab4d..20729b2d5b 100644 --- a/anda/lib/nvidia/libnvfatbin/libnvfatbin.spec +++ b/anda/lib/nvidia/libnvfatbin/libnvfatbin.spec @@ -6,7 +6,7 @@ Name: libnvfatbin Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA Fatbin Creator API License: CUDA Toolkit diff --git a/anda/lib/nvidia/libnvidia-container/libnvidia-container.spec b/anda/lib/nvidia/libnvidia-container/libnvidia-container.spec index d03a43deca..ba07dba280 100644 --- a/anda/lib/nvidia/libnvidia-container/libnvidia-container.spec +++ b/anda/lib/nvidia/libnvidia-container/libnvidia-container.spec @@ -1,8 +1,8 @@ %global _major 1 Name: libnvidia-container -Version: 1.18.2 -Release: 1%?dist +Version: 1.19.0 +Release: 1%{?dist} Summary: NVIDIA container runtime library License: BSD-3-Clause AND Apache-2.0 AND GPL-3.0-or-later AND LGPL-3.0-or-later AND MIT AND GPL-2.0-only Vendor: NVIDIA Corporation diff --git a/anda/lib/nvidia/libnvjitlink/libnvjitlink.spec b/anda/lib/nvidia/libnvjitlink/libnvjitlink.spec index 74c3261610..d1057dee2c 100644 --- a/anda/lib/nvidia/libnvjitlink/libnvjitlink.spec +++ b/anda/lib/nvidia/libnvjitlink/libnvjitlink.spec @@ -6,7 +6,7 @@ Name: libnvjitlink Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: NVIDIA compiler library for JIT LTO functionality License: CUDA Toolkit diff --git a/anda/lib/nvidia/libnvjpeg/libnvjpeg.spec b/anda/lib/nvidia/libnvjpeg/libnvjpeg.spec index 54f9c120fe..0762d1b7e7 100644 --- a/anda/lib/nvidia/libnvjpeg/libnvjpeg.spec +++ b/anda/lib/nvidia/libnvjpeg/libnvjpeg.spec @@ -6,7 +6,7 @@ Name: libnvjpeg Epoch: 1 -Version: 13.0.4.44 +Version: 13.1.0.48 Release: 1%{?dist} Summary: CUDA NVIDIA JPEG decoder (nvJPEG) License: CUDA Toolkit diff --git a/anda/lib/nvidia/libnvjpeg2k/libnvjpeg2k.spec b/anda/lib/nvidia/libnvjpeg2k/libnvjpeg2k.spec index 6861258f7a..2eb650e7dc 100644 --- a/anda/lib/nvidia/libnvjpeg2k/libnvjpeg2k.spec +++ b/anda/lib/nvidia/libnvjpeg2k/libnvjpeg2k.spec @@ -3,8 +3,8 @@ %global _missing_build_ids_terminate_build 0 Name: libnvjpeg2k -Version: 0.9.1.47 -Release: 1%?dist +Version: 0.10.0.49 +Release: 1%{?dist} Summary: NVIDIA JPEG 2K decoder (nvJPEG2000) License: NVIDIA EULA URL: https://developer.nvidia.com/nvjpeg diff --git a/anda/lib/nvidia/libnvptxcompiler-devel/libnvptxcompiler-devel.spec b/anda/lib/nvidia/libnvptxcompiler-devel/libnvptxcompiler-devel.spec index f1b2883050..a5895ff3ff 100644 --- a/anda/lib/nvidia/libnvptxcompiler-devel/libnvptxcompiler-devel.spec +++ b/anda/lib/nvidia/libnvptxcompiler-devel/libnvptxcompiler-devel.spec @@ -8,7 +8,7 @@ Name: %{real_name}-devel Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA nvptxcompiler License: CUDA Toolkit diff --git a/anda/lib/nvidia/libnvvm/libnvvm.spec b/anda/lib/nvidia/libnvvm/libnvvm.spec index 2a24c02cb5..2917336fad 100644 --- a/anda/lib/nvidia/libnvvm/libnvvm.spec +++ b/anda/lib/nvidia/libnvvm/libnvvm.spec @@ -7,7 +7,7 @@ %global major_package_version 13-0 Name: %(echo %real_name | tr '_' '-') -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA NVVM License: CUDA Toolkit diff --git a/anda/lib/qmenumodel/qmenumodel.spec b/anda/lib/qmenumodel/qmenumodel.spec index b1ddc17c87..b1e371b473 100644 --- a/anda/lib/qmenumodel/qmenumodel.spec +++ b/anda/lib/qmenumodel/qmenumodel.spec @@ -1,8 +1,8 @@ Name: qmenumodel Version: 0.9.2 -Release: %autorelease +Release: 2%{?dist} Summary: Qt5 renderer for Ayatana Indicators -License: LGPL-3.0 +License: LGPL-3.0-or-later URL: https://github.com/AyatanaIndicators/qmenumodel Source0: https://releases.ayatana-indicators.org/source/qmenumodel/qmenumodel-%{version}.tar.gz @@ -32,8 +32,10 @@ developing applications that use %{name}. %prep %autosetup -n qmenumodel-%{version} -p1 -%build +%conf %cmake -DENABLE_TESTS=ON -DENABLE_COVERAGE=ON -DGENERATE_DOC=ON + +%build %cmake_build %install @@ -43,12 +45,10 @@ developing applications that use %{name}. %doc README %license COPYING.LGPL %{_libdir}/libqmenumodel.so.* -%dir %{_qt5_qmldir}/QMenuModel.1 %{_qt5_qmldir}/QMenuModel.1/libqmenumodel-qml.so %{_qt5_qmldir}/QMenuModel.1/qmldir %files devel -%dir %{_includedir}/qmenumodel %{_includedir}/qmenumodel/*.h %{_libdir}/libqmenumodel.so %{_libdir}/pkgconfig/qmenumodel.pc diff --git a/anda/lib/qt5-qtsystems/anda.hcl b/anda/lib/qt5-qtsystems/anda.hcl index d7bddba70f..1121db2045 100644 --- a/anda/lib/qt5-qtsystems/anda.hcl +++ b/anda/lib/qt5-qtsystems/anda.hcl @@ -2,4 +2,7 @@ project pkg { rpm { spec = "qt5-qtsystems.spec" } + labels { + mock = 1 + } } diff --git a/anda/lib/qt5-qtsystems/qt5-qtsystems.spec b/anda/lib/qt5-qtsystems/qt5-qtsystems.spec index ae765e5ede..f690f83091 100644 --- a/anda/lib/qt5-qtsystems/qt5-qtsystems.spec +++ b/anda/lib/qt5-qtsystems/qt5-qtsystems.spec @@ -4,9 +4,9 @@ Name: qt5-qtsystems Summary: Qt5 Mobility Framework Version: 5.15 -Release: %autorelease +Release: 2%{?dist} -License: GPL-3.0 +License: GPL-3.0-or-later URL: https://invent.kde.org/qt/qt/qtsystems Source0: %{url}/-/archive/%commit/qt5-mobility-%commit.tar.gz Source1: https://salsa.debian.org/qt-kde-team/qt/qtsystems/-/archive/master/qtsystems-master.tar.gz @@ -136,15 +136,12 @@ cp -a ./include/* %{buildroot}%{_qt5_includedir} %{_libdir}/libQt5SystemInfo.so.* %{_qt5_bindir}/servicefw %{_qt5_bindir}/sfwlisten -%dir %{_qt5_qmldir}/QtPublishSubscribe %{_qt5_qmldir}/QtPublishSubscribe/*.so %{_qt5_qmldir}/QtPublishSubscribe/qmldir %{_qt5_qmldir}/QtPublishSubscribe/*.qmltypes -%dir %{_qt5_qmldir}/QtServiceFramework %{_qt5_qmldir}/QtServiceFramework/*.so %{_qt5_qmldir}/QtServiceFramework/qmldir %{_qt5_qmldir}/QtServiceFramework/*.qmltypes -%dir %{_qt5_qmldir}/QtSystemInfo %{_qt5_qmldir}/QtSystemInfo/*.so %{_qt5_qmldir}/QtSystemInfo/qmldir %{_qt5_qmldir}/QtSystemInfo/*.qmltypes @@ -156,11 +153,8 @@ cp -a ./include/* %{buildroot}%{_qt5_includedir} %{_libdir}/libQt5ServiceFramework.so %{_libdir}/libQt5SystemInfo.so %{_libdir}/pkgconfig/*.pc -%dir %{_libdir}/cmake/Qt5PublishSubscribe %{_libdir}/cmake/Qt5PublishSubscribe/*.cmake -%dir %{_libdir}/cmake/Qt5ServiceFramework %{_libdir}/cmake/Qt5ServiceFramework/*.cmake -%dir %{_libdir}/cmake/Qt5SystemInfo %{_libdir}/cmake/Qt5SystemInfo/*.cmake %{_qt5_archdatadir}/mkspecs/modules/*.pri %{_qt5_includedir}/QtPublishSubscribe/ @@ -175,7 +169,6 @@ cp -a ./include/* %{buildroot}%{_qt5_includedir} %{_qt5_docdir}/html/qtsysteminfo/ %files examples -%dir %{_qt5_examplesdir}/systeminfo %{_qt5_examplesdir}/systeminfo/*.pro %{_qt5_examplesdir}/systeminfo/inputinfo/ %{_qt5_examplesdir}/systeminfo/qml-battery/ diff --git a/anda/lib/quickjs-ng/quickjs-ng.spec b/anda/lib/quickjs-ng/quickjs-ng.spec index a230daf24e..ea2869749b 100644 --- a/anda/lib/quickjs-ng/quickjs-ng.spec +++ b/anda/lib/quickjs-ng/quickjs-ng.spec @@ -1,8 +1,8 @@ %global _distro_extra_cflags -Wno-discarded-qualifiers -Wno-maybe-uninitialized Name: quickjs-ng -Version: 0.12.1 -Release: 1%?dist +Version: 0.14.0 +Release: 1%{?dist} License: MIT Summary: A mighty JavaScript engine URL: https://github.com/quickjs-ng/quickjs diff --git a/anda/lib/rda/librda.spec b/anda/lib/rda/librda.spec index 49a5b19ecc..632562c14b 100644 --- a/anda/lib/rda/librda.spec +++ b/anda/lib/rda/librda.spec @@ -1,9 +1,9 @@ Name: librda Version: 0.0.5 -Release: 1%?dist +Release: 2%?dist Summary: Remote Desktop Awareness Shared Library Group: System Environment/Libraries -License: LGPL2.1+ or GPL3+ +License: LGPL-2.1-or-later AND GPL-3.0-or-later URL: https://github.com/ArcticaProject/librda Source0: %url/archive/refs/tags/%version.tar.gz Requires: glib2 glibc @@ -16,10 +16,12 @@ BuildRequires: clang gcc make autoconf libtool gettext-devel %prep %autosetup -%build +%conf autoupdate autoreconf -vfi %configure --disable-static --enable-x2go --enable-ogon + +%build %make_build %install diff --git a/anda/lib/rtmpdump/rtmpdump.spec b/anda/lib/rtmpdump/rtmpdump.spec index 27e9873f3c..0e6581ac0b 100644 --- a/anda/lib/rtmpdump/rtmpdump.spec +++ b/anda/lib/rtmpdump/rtmpdump.spec @@ -4,10 +4,9 @@ Name: rtmpdump Version: 2.6^%{commit_date}git%{shortcommit} -Release: 1%{?dist} +Release: 2%{?dist} Summary: Toolkit for RTMP streams -# The tools are GPLv2+, but the he library is LGPLv2+. -License: GPLv2+ +License: GPL-2.0-or-later AND LGPL-2.0-or-later URL: https://git.ffmpeg.org/gitweb/%{name}.git BuildRequires: gcc BuildRequires: git diff --git a/anda/lib/tdlib/tdlib-nightly.spec b/anda/lib/tdlib/tdlib-nightly.spec index 6ac3ca94a7..9cfd184422 100644 --- a/anda/lib/tdlib/tdlib-nightly.spec +++ b/anda/lib/tdlib/tdlib-nightly.spec @@ -1,11 +1,11 @@ -%global commit af0cb1d30a1e5cb1a10cd83b48998ca9ea9ce249 -%global ver 1.8.62 -%global commit_date 20260304 +%global commit 8fc2344f3e3daf55983032a44c4156bd8a1a7533 +%global ver 1.8.63 +%global commit_date 20260426 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: tdlib-nightly Version: %ver^%commit_date.%shortcommit -Release: 1%?dist +Release: 1%{?dist} License: BSL-1.0 URL: https://github.com/tdlib/td Summary: Cross-platform library for building Telegram clients diff --git a/anda/lib/vo-aacenc/vo-aacenc.spec b/anda/lib/vo-aacenc/vo-aacenc.spec index 4960ce342f..3c7badc407 100644 --- a/anda/lib/vo-aacenc/vo-aacenc.spec +++ b/anda/lib/vo-aacenc/vo-aacenc.spec @@ -24,8 +24,10 @@ developing applications that use %{name}. %prep %autosetup -n %{name}-%{version} -%build +%conf %configure --disable-static + +%build make %{?_smp_mflags} %install diff --git a/anda/lib/wails/v2/wails.spec b/anda/lib/wails/v2/wails.spec index 849913d576..76ba8a7bbf 100644 --- a/anda/lib/wails/v2/wails.spec +++ b/anda/lib/wails/v2/wails.spec @@ -1,10 +1,10 @@ %global goipath github.com/wailsapp/wails/v2 -Version: 2.11.0 +Version: 2.12.0 %gometa -f Name: wails -Release: 1%?dist +Release: 1%{?dist} Summary: Create beautiful applications using Go License: MIT diff --git a/anda/lib/wails/v3/wails3.spec b/anda/lib/wails/v3/wails3.spec index 73bcd0eb1d..a34467c2af 100644 --- a/anda/lib/wails/v3/wails3.spec +++ b/anda/lib/wails/v3/wails3.spec @@ -1,4 +1,4 @@ -%global ver v3.0.0-alpha.74 +%global ver webview2/v1.0.24 %global sanitized_ver %(echo %{ver} | sed 's/-/~/g') %global goipath github.com/wailsapp/wails/v3 @@ -32,7 +32,7 @@ Provides: wails-v3 %gopkg %prep -%git_clone https://github.com/wailsapp/wails v3-alpha +%git_clone https://github.com/wailsapp/wails v3-beta %build pushd v3/cmd/wails3 diff --git a/anda/lib/xavs/xavs.spec b/anda/lib/xavs/xavs.spec index 54ee4d9312..1b35dae6e9 100644 --- a/anda/lib/xavs/xavs.spec +++ b/anda/lib/xavs/xavs.spec @@ -39,12 +39,14 @@ svn co https://svn.code.sf.net/p/xavs/code/trunk %{name} %setup -T -D -n %{name} %autopatch -p1 -%build +%conf %configure \ --disable-asm \ --enable-pic \ --enable-shared \ --extra-cflags="-Wno-int-conversion -Wno-declaration-missing-parameter-type" + +%build %make_build %install diff --git a/anda/lib/xavs2/xavs2.spec b/anda/lib/xavs2/xavs2.spec index 6867cb68b3..43b15a63f0 100644 --- a/anda/lib/xavs2/xavs2.spec +++ b/anda/lib/xavs2/xavs2.spec @@ -49,7 +49,7 @@ This package contains the shared library development files. %autosetup %endif -%build +%conf cd build/linux export CFLAGS="%{optflags} -Wno-incompatible-pointer-types" %configure \ @@ -67,6 +67,8 @@ sed -i \ -e 's|CFLAGS=.*%{optflags}|CFLAGS=%{optflags}|g' \ config.mak +%build +cd build/linux %make_build %install diff --git a/anda/lib/zlib/zlib.spec b/anda/lib/zlib/zlib.spec index 67324b9dab..96fb36cb6e 100644 --- a/anda/lib/zlib/zlib.spec +++ b/anda/lib/zlib/zlib.spec @@ -19,14 +19,10 @@ BuildRequires: gcc %pkg_static_files %prep -%autosetup -export CFLAGS="%optflags" -export LDFLAGS="%build_ldflags" -./configure --libdir=%_libdir \ - --includedir=%_includedir \ - --sysconfdir=%_sysconfdir \ - --localstatedir=%_localstatedir \ - --prefix=%_prefix +%autosetup + +%conf +%configure %build %make_build @@ -41,5 +37,8 @@ export LDFLAGS="%build_ldflags" %_libdir/libz.so.* %changelog +* Tue Apr 21 2026 Owen Zimmerman +- Use %conf and %configure + * Wed Nov 26 2025 metcya - package zlib diff --git a/anda/misc/activate-linux/activate-linux.spec b/anda/misc/activate-linux/activate-linux.spec index e231a38f60..63541b506a 100644 --- a/anda/misc/activate-linux/activate-linux.spec +++ b/anda/misc/activate-linux/activate-linux.spec @@ -1,5 +1,5 @@ -%global commit 347a579411fe871a6a1a4b9989384dddcd477ad5 -%global date 20251104 +%global commit a3b8f9e6769760b09d6247a0fb3a9c435e214b10 +%global date 20260428 %global short %(c=%{commit}; echo ${c:0:7}) %global ver 1.1.0 @@ -7,7 +7,7 @@ Name: activate-linux Summary: The "Activate Windows" watermark ported to Linux Version: %{ver}^%{date}git.%{short} License: GPL-3.0-only -Release: 1%?dist +Release: 1%{?dist} URL: https://github.com/MrGlockenspiel/activate-linux Source0: %{url}/archive/%{commit}.tar.gz BuildRequires: clang diff --git a/anda/misc/android-udev-rules/android-udev-rules.spec b/anda/misc/android-udev-rules/android-udev-rules.spec index b7dd5cd982..93f56ce189 100644 --- a/anda/misc/android-udev-rules/android-udev-rules.spec +++ b/anda/misc/android-udev-rules/android-udev-rules.spec @@ -1,7 +1,7 @@ #? https://github.com/M0Rf30/android-udev-rules/blob/main/rpm/android-udev-rules.spec Name: android-udev-rules -Version: 20250525 -Release: 1%?dist +Version: 20260423 +Release: 1%{?dist} Summary: Udev rules to connect Android devices to your linux box License: GPL-3.0-or-later URL: https://github.com/M0Rf30/android-udev-rules diff --git a/anda/misc/arrpc/arrpc.spec b/anda/misc/arrpc/arrpc.spec index 343cb0449a..511c3fa4f6 100644 --- a/anda/misc/arrpc/arrpc.spec +++ b/anda/misc/arrpc/arrpc.spec @@ -1,10 +1,10 @@ %define debug_package %nil %define __strip /bin/true -%global commit 87c7c6f67ab8ad440e2ca0bdabce9626226bc25b +%global commit d4ce31f313eaf864f46576ee98fbf88c9ef47036 Name: arrpc -Version: 3.6.0 -Release: 1%?dist +Version: 3.7.0 +Release: 1%{?dist} Summary: Open Discord RPC server for atypical setups License: MIT URL: https://arrpc.openasar.dev diff --git a/anda/misc/chawan/anda.hcl b/anda/misc/chawan/anda.hcl new file mode 100644 index 0000000000..d5c68f773f --- /dev/null +++ b/anda/misc/chawan/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "chawan.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/misc/chawan/chawan.spec b/anda/misc/chawan/chawan.spec new file mode 100644 index 0000000000..6595be2378 --- /dev/null +++ b/anda/misc/chawan/chawan.spec @@ -0,0 +1,62 @@ +%global commit 1f904096e3c6fe2e825d78f1245f14855db23cb6 +%global commit_date 20260322 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +%define debug_package %nil + +Name: chawan +Version: 0~%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: TUI web (and (S)FTP, Gopher, Gemini, ...) browser with CSS, inline image and JavaScript support +URL: https://github.com/kachick/chawan +Source0: %url/archive/%commit/chawan-%commit.tar.gz +License: Unlicense +BuildRequires: nim +BuildRequires: gcc +BuildRequires: libssh2-devel +BuildRequires: openssl-devel +BuildRequires: brotli-devel +BuildRequires: pkgconf-pkg-config +BuildRequires: make +Packager: apolunar + +%description +TUI web (and (S)FTP, Gopher, Gemini, ...) browser with CSS, inline image and JavaScript support. + +It uses its own small browser engine developed from scratch, +which can nevertheless display many websites in a manner similar to major graphical browsers. + +It can also be used as a terminal pager. + +%prep +%autosetup -n chawan-%commit + +%build +%make_build + +%install +%make_install PREFIX=/usr + +%files +%{_bindir}/cha +%{_bindir}/mancha +%{_libexecdir}/chawan/ +%{_mandir}/man1/cha.1.* +%{_mandir}/man1/mancha.1.* +%{_mandir}/man5/cha-config.5.* +%{_mandir}/man5/cha-localcgi.5.* +%{_mandir}/man5/cha-mailcap.5.* +%{_mandir}/man5/cha-mime.types.5.* +%{_mandir}/man5/cha-urimethodmap.5.* +%{_mandir}/man7/cha-api.7.* +%{_mandir}/man7/cha-css.7.* +%{_mandir}/man7/cha-image.7.* +%{_mandir}/man7/cha-protocols.7.* +%{_mandir}/man7/cha-terminal.7.* +%{_mandir}/man7/cha-troubleshooting.7.* +%license UNLICENSE +%doc README.md + +%changelog +* Fri Mar 20 2026 apolunar +- Initial commit diff --git a/anda/misc/chawan/update.rhai b/anda/misc/chawan/update.rhai new file mode 100644 index 0000000000..2783072dfd --- /dev/null +++ b/anda/misc/chawan/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("kachick/chawan")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/misc/click/click.spec b/anda/misc/click/click.spec index 57d8d2815c..c73a468677 100644 --- a/anda/misc/click/click.spec +++ b/anda/misc/click/click.spec @@ -4,9 +4,9 @@ Name: click Version: 0.5.2 -Release: 2%?dist +Release: 3%?dist Summary: An app building method -License: LGPL-3.0 +License: LGPL-3.0-or-later URL: https://gitlab.com/ubports/development/core/click Source0: %{url}/-/archive/%commit/click-%commit.tar.gz @@ -58,12 +58,14 @@ Provides HTML and Manpage (documentation) for Click. %prep %autosetup -n click-%commit -%build +%conf NOCONFIGURE=1 \ ./autogen.sh export CFLAGS="$CFLAGS -Wno-implicit-function-declaration" %configure + +%build %make_build %install diff --git a/anda/misc/exquisite-linux-templates/update.rhai b/anda/misc/exquisite-linux-templates/update.rhai index 7f6a3c1afd..0eca0b00d7 100644 --- a/anda/misc/exquisite-linux-templates/update.rhai +++ b/anda/misc/exquisite-linux-templates/update.rhai @@ -1,6 +1,4 @@ -import "andax/bump_extras.rhai" as bump; - -rpm.global("commit", bump::codeberg_commit("nathandyer/exquisite-linux-templates")); +rpm.global("commit", codeberg_commit("nathandyer/exquisite-linux-templates")); if rpm.changed() { rpm.global("commit_date", date()); } diff --git a/anda/misc/gradle-completions/gradle-completions.spec b/anda/misc/gradle-completions/gradle-completions.spec index 9e6e7fe95e..016abccdac 100644 --- a/anda/misc/gradle-completions/gradle-completions.spec +++ b/anda/misc/gradle-completions/gradle-completions.spec @@ -1,6 +1,6 @@ Name: gradle-completions -Version: 9.3.1 -Release: 1%?dist +Version: 9.5.0 +Release: 1%{?dist} Summary: Gradle tab completion for bash and zsh License: MIT URL: https://github.com/gradle/gradle-completion diff --git a/anda/misc/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec b/anda/misc/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec index df48349ea7..36b9f38015 100644 --- a/anda/misc/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec +++ b/anda/misc/gsettings-ubuntu-touch-schemas/gsettings-ubuntu-touch-schemas.spec @@ -1,6 +1,6 @@ Name: gsettings-ubuntu-touch-schemas Version: 0.0.7+21.10.20210712 -Release: %autorelease +Release: 1%{?dist} Summary: Shared GSettings schemas for Ubuntu touch and Unity BuildArch: noarch @@ -23,11 +23,13 @@ settings shared by various components of a Ubuntu environment. %prep %autosetup -c -%build +%conf NOCONFIGURE=1 \ ./autogen.sh %configure + +%build %make_build %install diff --git a/anda/misc/hollywood/anda.hcl b/anda/misc/hollywood/anda.hcl new file mode 100644 index 0000000000..7593d84d9c --- /dev/null +++ b/anda/misc/hollywood/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "hollywood.spec" + } +} diff --git a/anda/misc/hollywood/hollywood.spec b/anda/misc/hollywood/hollywood.spec new file mode 100644 index 0000000000..fdb40420ea --- /dev/null +++ b/anda/misc/hollywood/hollywood.spec @@ -0,0 +1,77 @@ +Name: hollywood +Version: 1.25 +Release: 1%?dist +Summary: Fill your console with Hollywood melodrama technobabble +URL: https://github.com/dustinkirkland/hollywood +Source0: %{url}/archive/refs/tags/%{version}.tar.gz +License: Apache-2.0 +Recommends: apg +Recommends: bmon +Recommends: byobu +Recommends: util-linux +Recommends: ccze +Recommends: cmatrix +Recommends: coreutils +Recommends: htop +Recommends: jp2a +Recommends: mlocate +Requires: moreutils +Recommends: mplayer +Recommends: openssh-client +Recommends: speedometer +Recommends: tree +Requires: man +Requires: python3-pygments +Requires: tmux +Recommends: byobu +Recommends: caca-utils +Recommends: newsbeuter +Requires: perl-base +Recommends: rsstail +Recommends: ticker +Requires: wget +Recommends: w3m +Recommends: jp2a +BuildArch: noarch +Packager: apolunar + +%description +Fill your console with Hollywood melodrama technobabble. + +This utility splits your terminal into multiple panes of genuine technobabble, +perfectly suitable for any Hollywood geek melodrama. +It is particularly suitable on any number of computer consoles in the +background of any excellent schlock technothriller. + +%prep +%autosetup + +%build + +%global _libdir /usr/lib +%install +mkdir -p %{buildroot}%{_libdir}/hollywood +mkdir -p %{buildroot}%{_datadir}/wallstreet +mkdir -p %{buildroot}%{_datadir}/hollywood +mkdir -p %{buildroot}%{_mandir}/man1 +install -Dm 755 bin/hollywood %{buildroot}%{_bindir}/hollywood +install -Dm 755 bin/wallstreet %{buildroot}%{_bindir}/wallstreet +install -Dm 755 lib/hollywood/* %{buildroot}%{_libdir}/hollywood/ +install -Dm 644 share/man/man1/* %{buildroot}%{_mandir}/man1/ +install -Dm 644 share/wallstreet/* %{buildroot}%{_datadir}/wallstreet/ +install -Dm 644 share/hollywood/* %{buildroot}%{_datadir}/hollywood/ + +%files +%{_bindir}/hollywood +%{_bindir}/wallstreet +%{_libdir}/hollywood/ +%{_mandir}/man1/hollywood.1.* +%{_mandir}/man1/wallstreet.1.* +%{_datadir}/wallstreet/ +%{_datadir}/hollywood/ +%license debian/copyright +%doc README.md + +%changelog +* Fri Mar 20 2026 apolunar +- Initial commit diff --git a/anda/misc/hollywood/update.rhai b/anda/misc/hollywood/update.rhai new file mode 100644 index 0000000000..977d810620 --- /dev/null +++ b/anda/misc/hollywood/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("dustinkirkland/hollywood")); diff --git a/anda/misc/kew/anda.hcl b/anda/misc/kew/anda.hcl new file mode 100644 index 0000000000..a72c67e69c --- /dev/null +++ b/anda/misc/kew/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "kew.spec" + } +} diff --git a/anda/misc/kew/kew.spec b/anda/misc/kew/kew.spec new file mode 100644 index 0000000000..869298052b --- /dev/null +++ b/anda/misc/kew/kew.spec @@ -0,0 +1,50 @@ +%define debug_package %{nil} + +Name: kew +Version: 4.0.0 +Release: 1%{?dist} +Summary: Music for the Shell +URL: https://codeberg.org/ravachol/kew +Source0: %{url}/archive/v%{version}.tar.gz +License: GPL-2.0-or-later +BuildRequires: make +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: libatomic +BuildRequires: pkgconfig(taglib) +BuildRequires: pkgconfig(fftw3f) +BuildRequires: pkgconfig(chafa) +BuildRequires: pkgconfig(opus) +BuildRequires: pkgconfig(opusfile) +BuildRequires: pkgconfig(vorbis) +BuildRequires: pkgconfig(vorbisfile) +BuildRequires: pkgconfig(ogg) + +Packager: Owen Zimmerman + +%description +%{summary}. + +%prep +%git_clone https://codeberg.org/ravachol/kew.git v%{version} + +%build +%make_build + +%install +%make_install PREFIX=/usr + +%find_lang kew + +%files -f kew.lang +%license LICENSE +%doc README.md +%lang(zh_CN) %doc README_zh_CN.md +%{_bindir}/kew +%{_datadir}/kew/themes/*.theme +%{_datadir}/kew/themes/*.txt +%{_mandir}/man1/kew.1.* + +%changelog +* Thu Apr 09 2026 Owen Zimmerman +- Initial commit diff --git a/anda/misc/kew/update.rhai b/anda/misc/kew/update.rhai new file mode 100644 index 0000000000..2a85ca96ea --- /dev/null +++ b/anda/misc/kew/update.rhai @@ -0,0 +1 @@ +rpm.version(codeberg("ravachol/kew")); diff --git a/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec b/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec index 629121fd31..26e00ea44b 100644 --- a/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec +++ b/anda/misc/openbangla-keyboard/openbangla-keyboard-nightly.spec @@ -1,11 +1,11 @@ %global ver 2.0.0 -%global commit 018c30253648dbf56bee79c280535a72604f3d8a -%global commit_date 20260302 +%global commit 0db9d248e61600053eb6ec96d639da54a0bd06f8 +%global commit_date 20260324 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: openbangla-keyboard-nightly Version: %ver^%commit_date.%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: An OpenSource, Unicode compliant Bengali Input Method License: GPL-3.0-or-later URL: https://openbangla.github.io/ diff --git a/anda/misc/prime-run/prime-run.spec b/anda/misc/prime-run/prime-run.spec index 6b9d547dfe..546d7e5a0c 100644 --- a/anda/misc/prime-run/prime-run.spec +++ b/anda/misc/prime-run/prime-run.spec @@ -1,10 +1,10 @@ Name: prime-run Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A simple script to run an application with NVIDIA PRIME GPU offloading License: MIT -URL: https://terra.fyralabs.com +URL: https://terrapkg.com Source0: prime-run.sh # Bash script diff --git a/anda/misc/sass/sass.spec b/anda/misc/sass/sass.spec index 3a89c45a88..6856ffec95 100644 --- a/anda/misc/sass/sass.spec +++ b/anda/misc/sass/sass.spec @@ -4,8 +4,8 @@ %define _build_id_links none Name: sass -Version: 1.97.3 -Release: 1%?dist +Version: 1.99.0 +Release: 1%{?dist} Summary: The reference implementation of Sass, written in Dart License: MIT URL: https://sass-lang.com/dart-sass diff --git a/anda/misc/shitpost/shitpost.spec b/anda/misc/shitpost/shitpost.spec index 06e9c80e59..f4d1c0f290 100644 --- a/anda/misc/shitpost/shitpost.spec +++ b/anda/misc/shitpost/shitpost.spec @@ -1,6 +1,6 @@ Name: shitpost Version: 1 -Release: 1%?dist +Release: 2%?dist Summary: A tool to create memes using CLI License: WTFPL URL: https://redd.it/5ezk1f @@ -8,7 +8,7 @@ Source0: https://raw.githubusercontent.com/magnus-ISU/aur-scripts/master/ Requires: bash BuildArch: noarch -Packager: Its-J +Packager: Its-J %description %{summary}. @@ -24,5 +24,8 @@ install -Dm 755 %{SOURCE0} %{buildroot}%{_bindir}/shitpost %{_bindir}/shitpost %changelog -* Sun Nov 09 2025 Its-J +* Tue Apr 14 2026 Its-J +- Add email to my previous contributor attributions + +* Sun Nov 09 2025 Its-J - Package shitpost diff --git a/anda/misc/signal-cli/signal-cli.spec b/anda/misc/signal-cli/signal-cli.spec index b1ff1843cb..9d9fc83a46 100644 --- a/anda/misc/signal-cli/signal-cli.spec +++ b/anda/misc/signal-cli/signal-cli.spec @@ -3,7 +3,7 @@ %define debug_package %{nil} Name: signal-cli -Version: 0.14.1 +Version: 0.14.3 Release: 1%{?dist} Summary: signal-cli provides an unofficial commandline, JSON-RPC and dbus interface for the Signal messenger License: GPL-3.0-only @@ -14,8 +14,8 @@ BuildArch: noarch BuildRequires: gcc-c++ BuildRequires: gradle BuildRequires: anda-srpm-macros -BuildRequires: java-21-openjdk -BuildRequires: java-21-openjdk-devel +BuildRequires: java-25-openjdk +BuildRequires: java-25-openjdk-devel BuildRequires: systemd-rpm-macros BuildRequires: make BuildRequires: asciidoc diff --git a/anda/misc/uwufetch/uwufetch.spec b/anda/misc/uwufetch/uwufetch.spec index 0035905d8e..3de4f761db 100644 --- a/anda/misc/uwufetch/uwufetch.spec +++ b/anda/misc/uwufetch/uwufetch.spec @@ -1,13 +1,13 @@ -%global commit fe9c53ffc6570454a3b2bf8431fd713e9953597e +%global commit b02d6d4ed86129f87dff0be9e0abe091ea7e159f %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global fulldate 2026-01-14 +%global fulldate 2026-04-14 %global commit_date %(echo %{fulldate} | sed 's/-//g') %global ver 2.1 %global debug_package %{nil} Name: uwufetch Version: %{ver}^%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: A meme system info tool for Linux, based on nyan/uwu trend on r/linuxmasterrace. License: GPL-3.0 URL: https://github.com/ad-oliviero/uwufetch diff --git a/anda/misc/v2ray-domain-list-community/anda.hcl b/anda/misc/v2ray-domain-list-community/anda.hcl new file mode 100644 index 0000000000..16ab2d1a00 --- /dev/null +++ b/anda/misc/v2ray-domain-list-community/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "v2ray-domain-list-community.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/misc/v2ray-domain-list-community/update.rhai b/anda/misc/v2ray-domain-list-community/update.rhai new file mode 100644 index 0000000000..be7acc0491 --- /dev/null +++ b/anda/misc/v2ray-domain-list-community/update.rhai @@ -0,0 +1,7 @@ +rpm.global("commit", gh_commit("v2fly/domain-list-community")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("v2fly/domain-list-community"); + rpm.global("ver", v); +} \ No newline at end of file diff --git a/anda/misc/v2ray-domain-list-community/v2ray-domain-list-community.spec b/anda/misc/v2ray-domain-list-community/v2ray-domain-list-community.spec new file mode 100644 index 0000000000..f5e300925e --- /dev/null +++ b/anda/misc/v2ray-domain-list-community/v2ray-domain-list-community.spec @@ -0,0 +1,37 @@ +%global commit 2b2fae988c6afeff5a32722fb46188092a70b821 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global ver 20260506123139 +%global commit_date 20260507 + +Name: v2ray-domain-list-community +Version: %{ver}^%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: Community managed domain list (geosite.dat) for V2Ray +License: MIT +Packager: veuxit +URL: https://github.com/v2fly/domain-list-community +BuildArch: noarch + +Source0: %{url}/archive/%{commit}/%{ver}-%{commit}.tar.gz + +BuildRequires: golang +BuildRequires: go-rpm-macros go-srpm-macros anda-srpm-macros + +%description +%summary. + +%prep +%autosetup -n domain-list-community-%{commit} +go run main.go + +%install +install -Dm644 dlc.dat %{buildroot}%{_datadir}/v2ray/geosite.dat + +%files +%doc README.md +%license LICENSE +%{_datadir}/v2ray/geosite.dat + +%changelog +* Mon Mar 9 2026 veuxit - 20260309041918^20260309git.6bb4a68-1 +- Initial package release diff --git a/anda/misc/v2ray-geoip/anda.hcl b/anda/misc/v2ray-geoip/anda.hcl new file mode 100644 index 0000000000..b50cb332e3 --- /dev/null +++ b/anda/misc/v2ray-geoip/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "v2ray-geoip.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/misc/v2ray-geoip/update.rhai b/anda/misc/v2ray-geoip/update.rhai new file mode 100644 index 0000000000..8d194140ff --- /dev/null +++ b/anda/misc/v2ray-geoip/update.rhai @@ -0,0 +1,7 @@ +rpm.global("commit", gh_commit("v2fly/geoip")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("v2fly/geoip"); + rpm.global("ver", v); +} \ No newline at end of file diff --git a/anda/misc/v2ray-geoip/v2ray-geoip.spec b/anda/misc/v2ray-geoip/v2ray-geoip.spec new file mode 100644 index 0000000000..501e42d9bb --- /dev/null +++ b/anda/misc/v2ray-geoip/v2ray-geoip.spec @@ -0,0 +1,43 @@ +%global commit 3211cac2e6f92fc7d5e0ac492de433b2a1153af2 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global ver 202604200545 +%global commit_date 20260421 + +%global year %{gsub %commit_date %%d%%d%%d%%d$ %{quote:}} +%global month %{gsub %commit_date %%d%%d%%d%%d(%%d%%d)%%d%%d %%1} + +Name: v2ray-geoip +Version: %{ver}^%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: GeoIP for V2Ray +License: CC-BY-SA-4.0 +Packager: veuxit +URL: https://github.com/v2fly/geoip +BuildArch: noarch + +Source0: %{url}/archive/%{commit}/%{ver}-%{commit}.tar.gz +Source1: https://download.db-ip.com/free/dbip-country-lite-%year-%month.mmdb.gz + +BuildRequires: golang + +%description +%summary. + +%prep +%autosetup -n geoip-%{commit} +mkdir -p db-ip +gzip -d %SOURCE1 -c > ./db-ip/dbip-country-lite.mmdb + +%build +go run ./ -c ./config.json + +%install +install -Dm644 output/geoip.dat %{buildroot}%{_datadir}/v2ray/geoip.dat + +%files +%license LICENSE +%{_datadir}/v2ray/geoip.dat + +%changelog +* Mon Mar 9 2026 veuxit - 202603050223^20260122git.7a6498a-1 +- Initial package release diff --git a/anda/misc/vencord-installer/dev.vencord.Installer.desktop b/anda/misc/vencord-installer/dev.vencord.Installer.desktop new file mode 100644 index 0000000000..1bdd1e7134 --- /dev/null +++ b/anda/misc/vencord-installer/dev.vencord.Installer.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Vencord Installer +Type=Application +GenericName=Discord Mod Installer +Comment=Install and manage Vencord on your Discord installation +Exec=vencord-installer +Icon=dev.vencord.Installer +Categories=Network;InstantMessaging; +Keywords=discord;vencord;mod; +StartupNotify=true diff --git a/anda/misc/vencord-installer/dev.vencord.Installer.policy b/anda/misc/vencord-installer/dev.vencord.Installer.policy new file mode 100644 index 0000000000..2659c50d04 --- /dev/null +++ b/anda/misc/vencord-installer/dev.vencord.Installer.policy @@ -0,0 +1,20 @@ + + + + Vencord + https://vencord.dev + + + Run the Vencord Installer + Authentication is required to patch Discord with Vencord + + auth_admin + auth_admin + auth_admin_keep + + /usr/bin/vencord-installer + true + + diff --git a/anda/misc/vencord-installer/vencord-installer.spec b/anda/misc/vencord-installer/vencord-installer.spec index db34bea370..9d8e7e6bf7 100644 --- a/anda/misc/vencord-installer/vencord-installer.spec +++ b/anda/misc/vencord-installer/vencord-installer.spec @@ -20,14 +20,18 @@ A cross platform gui/cli app for installing Vencord.} %global godocs README.md Name: vencord-installer -Release: 1%{?dist} +Release: 2%{?dist} Provides: golang-github-vencord-installer = %{version}-%{release} Summary: A cross platform gui/cli app for installing Vencord Packager: Cappy Ishihara License: GPL-3.0-only URL: %{gourl} + Source: %{gosource} Source1: %appid.metainfo.xml +Source2: dev.vencord.Installer.desktop +Source3: dev.vencord.Installer.policy + BuildRequires: go-rpm-macros BuildRequires: go-srpm-macros BuildRequires: anda-srpm-macros @@ -43,6 +47,7 @@ BuildRequires: wayland-devel BuildRequires: libxkbcommon-devel BuildRequires: wayland-protocols-devel BuildRequires: extra-cmake-modules +BuildRequires: desktop-file-utils %description %{common_description} @@ -122,12 +127,17 @@ export CGO_LDFLAGS="${LDFLAGS}" install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %terra_appstream -o %{SOURCE1} +%desktop_file_install %{S:2} +install -Dm644 %{SOURCE3} %{buildroot}%{_datadir}/polkit-1/actions/%{appid} %files %license LICENSE %doc README.md %{_bindir}/vencord-installer %{_datadir}/metainfo/%appid.metainfo.xml +%{_datadir}/applications/%{appid}.desktop +%{_datadir}/polkit-1/actions/%{appid} + %files cli %license LICENSE diff --git a/anda/misc/xdg-terminal-exec-nautilus/anda.hcl b/anda/misc/xdg-terminal-exec-nautilus/anda.hcl new file mode 100644 index 0000000000..f64f7b2a07 --- /dev/null +++ b/anda/misc/xdg-terminal-exec-nautilus/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "xdg-terminal-exec-nautilus.spec" + } +} diff --git a/anda/misc/xdg-terminal-exec-nautilus/update.rhai b/anda/misc/xdg-terminal-exec-nautilus/update.rhai new file mode 100644 index 0000000000..4d1b439e12 --- /dev/null +++ b/anda/misc/xdg-terminal-exec-nautilus/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("zirconium-dev/xdg-terminal-exec-nautilus")); diff --git a/anda/misc/xdg-terminal-exec-nautilus/xdg-terminal-exec-nautilus.spec b/anda/misc/xdg-terminal-exec-nautilus/xdg-terminal-exec-nautilus.spec new file mode 100644 index 0000000000..76509b6d8a --- /dev/null +++ b/anda/misc/xdg-terminal-exec-nautilus/xdg-terminal-exec-nautilus.spec @@ -0,0 +1,32 @@ +Name: xdg-terminal-exec-nautilus +Version: 0.1.0 +Release: 1%?dist +Summary: xdg-terminal-exec extension for nautilus-python +License: Apache-2.0 +Group: System +URL: https://github.com/zirconium-dev/xdg-terminal-exec-nautilus +Source0: %{url}/archive/refs/tags/%{version}.tar.gz + +BuildArch: noarch +Requires: nautilus-python +Packager: Tulip Blossom (tulilirockz@outlook.com) + +%description +%{summary}. + +%prep +%autosetup -n xdg-terminal-exec-nautilus-%{version} + +%build + +%install +install -Dpm0644 -t %{buildroot}%{_datadir}/nautilus-python/extensions/ ./xdg-terminal-exec-nautilus.py + +%files +%license LICENSE +%doc README.md +%{_datadir}/nautilus-python/extensions/xdg-terminal-exec-nautilus.py + +%changelog +* Fri Mar 13 2026 Tulip Blossom +- Initial commit diff --git a/anda/misc/zapret/zapret.spec b/anda/misc/zapret/zapret.spec index 27d2486537..f1a31169ed 100644 --- a/anda/misc/zapret/zapret.spec +++ b/anda/misc/zapret/zapret.spec @@ -1,6 +1,6 @@ Name: zapret -Version: 72.10 -Release: 1%?dist +Version: 72.12 +Release: 1%{?dist} Summary: A multi-platform Deep Packet Inspection (DPI) bypass tool License: MIT ExcludeArch: s390x diff --git a/anda/multimedia/carla/Carla-nightly.spec b/anda/multimedia/carla/Carla-nightly.spec index 57c94d0e19..09707dacc3 100644 --- a/anda/multimedia/carla/Carla-nightly.spec +++ b/anda/multimedia/carla/Carla-nightly.spec @@ -1,12 +1,12 @@ %global pname carla %global ver 2.5.10 -%global commit 294a80145e39c0755ab9073d90fd8b9524fbfc84 +%global commit 97a9e0740baf6df2df942495c02532a624c44682 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260222 +%global commit_date 20260320 Name: Carla-nightly Version: %(echo %ver | tr -d 'v')^%commit_date.git~%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Audio plugin host # The entire source code is GPLv2+ except diff --git a/anda/multimedia/deadbeef-mpris2-plugin/deadbeef-mpris2-plugin.spec b/anda/multimedia/deadbeef-mpris2-plugin/deadbeef-mpris2-plugin.spec index d5ae65c335..e0a1609032 100644 --- a/anda/multimedia/deadbeef-mpris2-plugin/deadbeef-mpris2-plugin.spec +++ b/anda/multimedia/deadbeef-mpris2-plugin/deadbeef-mpris2-plugin.spec @@ -30,13 +30,14 @@ will only support version two. %prep %autosetup + +%conf autoreconf -fiv - - -%build %configure \ --disable-silent-rules \ --disable-static + +%build %{make_build} diff --git a/anda/multimedia/deadbeef/deadbeef.spec b/anda/multimedia/deadbeef/deadbeef.spec index 649106268f..17d0aa6642 100644 --- a/anda/multimedia/deadbeef/deadbeef.spec +++ b/anda/multimedia/deadbeef/deadbeef.spec @@ -74,7 +74,7 @@ sed -i "s|size_t|std::size_t|" external/ddb_dsp_libretro/sinc_resampler.h sed -i -re 's/^(.*)\s+([-]msse3)\s+(.*)$/\1 \3/g' external/ddb_dsp_libretro/Makefile.am %endif -# Regenerate the build files +%conf autoreconf -fiv # Remove exec permission from source files @@ -86,7 +86,6 @@ do sed -i "s|$data Shortcut Group|X-$data Shortcut Group|" deadbeef.desktop.in done -%build %configure \ --enable-ffmpeg \ --docdir=%{_defaultdocdir}/%{name}-%{version} \ @@ -102,8 +101,9 @@ done --enable-gtk3 \ --disable-pulse \ --enable-pipewire -%make_build +%build +%make_build %install %make_install @@ -119,7 +119,6 @@ sed -i -e "s!MP3!MP3;!" %{buildroot}%{_datadir}/applications/%{name}.desktop %check desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop - %files -f %{name}.lang %doc README ChangeLog AUTHORS %license COPYING @@ -131,13 +130,11 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %{_iconsdir}/hicolor/*/apps/* - %files plugins %{_libdir}/%{name}/convpresets %{_libdir}/%{name}/*.so %{_libdir}/%{name}/data68 - %changelog * Fri May 30 2025 Leigh Scott - 1.10.0-2 - Rebuild for new flac .so version diff --git a/anda/multimedia/gpu-screen-recorder/gpu-screen-recorder.spec b/anda/multimedia/gpu-screen-recorder/gpu-screen-recorder.spec index eb26991671..20c9924e5f 100644 --- a/anda/multimedia/gpu-screen-recorder/gpu-screen-recorder.spec +++ b/anda/multimedia/gpu-screen-recorder/gpu-screen-recorder.spec @@ -1,15 +1,13 @@ -%global snapshot r1245.8e82100 - Name: gpu-screen-recorder -Version: 5.12.5 -Release: 1%?dist +Version: 5.13.4 +Release: 1%{?dist} Summary: A shadowplay-like screen recorder for Linux License: GPL-3.0-or-later URL: https://git.dec05eba.com/%{name}/about -Source: https://dec05eba.com/snapshot/%{name}.git.%{snapshot}.tar.gz +Source: https://dec05eba.com/snapshot/%{name}.git.%{version}.tar.gz BuildRequires: gcc BuildRequires: (gcc-g++ or gcc-c++) @@ -34,7 +32,7 @@ BuildRequires: pkgconfig(libglvnd) Requires(post): libcap BuildRequires: systemd-rpm-macros -Packager: Willow Reed +Packager: Willow Reed %description Shadowplay-like screen recorder for Linux. Uses GPU acceleration to record in H.264, HEVC, AV1, VP8, or VP9. @@ -64,14 +62,18 @@ Shadowplay-like screen recorder for Linux. Uses GPU acceleration to record in H. %files %license LICENSE %doc README.md -%{_bindir}/gpu-screen-recorder +%{_bindir}/%{name} %caps(cap_sys_admin+ep) %{_bindir}/gsr-kms-server +%{_datadir}/%{name}/scripts/*.sh %{_includedir}/gsr/plugin.h %{_userunitdir}/%{name}.service %{_modprobedir}/gsr-nvidia.conf %{_mandir}/man1/gsr-kms-server.1* -%{_mandir}/man1/gpu-screen-recorder.1* +%{_mandir}/man1/%{name}.1* %changelog -* Fri Jan 02 2026 Willow Reed +* Sun Mar 15 2026 Willow C Reed +- Fix package source + +* Fri Jan 02 2026 Willow Reed - Initial commit \ No newline at end of file diff --git a/anda/multimedia/gstreamer1/gstreamer1-plugin-icamerasrc/gstreamer1-plugin-icamerasrc.spec b/anda/multimedia/gstreamer1/gstreamer1-plugin-icamerasrc/gstreamer1-plugin-icamerasrc.spec index 14bf43da0e..6b3e12d881 100644 --- a/anda/multimedia/gstreamer1/gstreamer1-plugin-icamerasrc/gstreamer1-plugin-icamerasrc.spec +++ b/anda/multimedia/gstreamer1/gstreamer1-plugin-icamerasrc/gstreamer1-plugin-icamerasrc.spec @@ -1,5 +1,5 @@ -%global fulldate 2025-09-26 -%global commit 4fb31db76b618aae72184c59314b839dedb42689 +%global fulldate 2026-04-23 +%global commit 867c5b6ab7925c9b69b8374873a832266d97d7e5 %global commit_date %(echo %{fulldate} | sed 's/-//g') %global shortcommit %(c=%{commit}; echo ${c:0:7}) @@ -44,12 +44,14 @@ Development files for the GStreamer IPU6 camera plugin. %prep %autosetup -p1 -n icamerasrc-%{commit} -autoreconf -vif -%build +%conf +autoreconf -vif export CHROME_SLIM_CAMHAL=ON export STRIP_VIRTUAL_CHANNEL_CAMHAL=ON %configure --enable-gstdrmformat --with-haladaptor + +%build %make_build %install diff --git a/anda/multimedia/gstreamer1/gstreamer1-plugin-libav/gstreamer1-plugin-libav.spec b/anda/multimedia/gstreamer1/gstreamer1-plugin-libav/gstreamer1-plugin-libav.spec index 469e7906e1..607c6735ae 100644 --- a/anda/multimedia/gstreamer1/gstreamer1-plugin-libav/gstreamer1-plugin-libav.spec +++ b/anda/multimedia/gstreamer1/gstreamer1-plugin-libav/gstreamer1-plugin-libav.spec @@ -1,6 +1,6 @@ Name: gstreamer1-plugin-libav -Version: 1.28.1 -Release: 1%?dist +Version: 1.28.2 +Release: 1%{?dist} Epoch: 1 Summary: GStreamer Libav plugin License: LGPL-2.0-or-later @@ -38,7 +38,7 @@ GStreamer plugin containing libav library code. #export CFLAGS="%{optflags} -Wno-error=attributes" %meson \ -D package-name="Fedora GStreamer-plugins-ugly package" \ - -D package-origin="https://terra.fyralabs.com" \ + -D package-origin="https://terrapkg.com" \ -D doc=disabled %meson_build diff --git a/anda/multimedia/gstreamer1/gstreamer1-plugins-bad/gstreamer1-plugins-bad.spec b/anda/multimedia/gstreamer1/gstreamer1-plugins-bad/gstreamer1-plugins-bad.spec index 375de6d248..d35d849d85 100644 --- a/anda/multimedia/gstreamer1/gstreamer1-plugins-bad/gstreamer1-plugins-bad.spec +++ b/anda/multimedia/gstreamer1/gstreamer1-plugins-bad/gstreamer1-plugins-bad.spec @@ -3,8 +3,8 @@ %global majorminor 1.0 Name: gstreamer1-plugins-bad -Version: 1.28.0 -Release: 2%?dist +Version: 1.28.2 +Release: 1%{?dist} Epoch: 2 Summary: GStreamer streaming media framework "bad" plugins License: LGPL-2.0-or-later and LGPL-2.0-only @@ -395,7 +395,7 @@ Provides: %{name}-free-devel%{?_isa} = %{?epoch}:%{version}-%{release} -D opus=enabled \ -D orc=enabled \ -D package-name="Fedora GStreamer-plugins-bad package" \ - -D package-origin="https://terra.fyralabs.com" \ + -D package-origin="https://terrapkg.com" \ -D pcapparse=enabled \ -D pnm=enabled \ -D proxy=enabled \ diff --git a/anda/multimedia/gstreamer1/gstreamer1-plugins-ugly/gstreamer1-plugins-ugly.spec b/anda/multimedia/gstreamer1/gstreamer1-plugins-ugly/gstreamer1-plugins-ugly.spec index 322338fb43..6698a5cd00 100644 --- a/anda/multimedia/gstreamer1/gstreamer1-plugins-ugly/gstreamer1-plugins-ugly.spec +++ b/anda/multimedia/gstreamer1/gstreamer1-plugins-ugly/gstreamer1-plugins-ugly.spec @@ -1,8 +1,8 @@ %global majorminor 1.0 Name: gstreamer1-plugins-ugly -Version: 1.28.1 -Release: 1%?dist +Version: 1.28.2 +Release: 1%{?dist} Epoch: 2 Summary: GStreamer streaming media framework "ugly" plugins License: LGPL-2.0-or-later and LGPL-2.0-only @@ -40,7 +40,7 @@ This module contains a set of plugins that have good quality and are well tested %build %meson \ -D package-name="Fedora GStreamer-plugins-ugly package" \ - -D package-origin="https://terra.fyralabs.com" \ + -D package-origin="https://terrapkg.com" \ -D a52dec=enabled \ -D asfdemux=enabled \ -D cdio=enabled \ diff --git a/anda/multimedia/kvazaar/kvazaar.spec b/anda/multimedia/kvazaar/kvazaar.spec index 92ef5997b4..ada7581d78 100644 --- a/anda/multimedia/kvazaar/kvazaar.spec +++ b/anda/multimedia/kvazaar/kvazaar.spec @@ -1,8 +1,8 @@ Name: kvazaar -Version: 2.3.1 -Release: 2%{?dist} +Version: 2.3.2 +Release: 3%{?dist} Summary: An open-source HEVC encoder -License: BSD and ISC +License: BSD AND ISC URL: https://ultravideo.fi/kvazaar.html Source0: https://github.com/ultravideo/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -33,11 +33,13 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -%autosetup -p1 +%autosetup -%build +%conf autoreconf -vif %configure --enable-static=no + +%build %make_build %install @@ -55,7 +57,7 @@ rm -fr %{buildroot}%{_docdir} %license LICENSE* %doc README.md CREDITS %{_libdir}/lib%{name}.so.7 -%{_libdir}/lib%{name}.so.7.4.0 +%{_libdir}/lib%{name}.so.7.5.0 %files devel %{_includedir}/%{name}.h diff --git a/anda/multimedia/mjpegtools/mjpegtools.spec b/anda/multimedia/mjpegtools/mjpegtools.spec index bd3a980926..d6d0a9b2dc 100644 --- a/anda/multimedia/mjpegtools/mjpegtools.spec +++ b/anda/multimedia/mjpegtools/mjpegtools.spec @@ -3,9 +3,9 @@ Name: mjpegtools Version: 2.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tools to manipulate MPEG data -License: GPLv2 +License: GPL-2.0-or-later URL: http://mjpeg.sourceforge.net/ Source0: https://downloads.sourceforge.net/sourceforge/mjpeg/%{name}-%{version}.tar.gz BuildRequires: autoconf @@ -77,7 +77,7 @@ for f in docs/yuvfps.1 ; do iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f done -%build +%conf autoreconf -vif %configure \ --disable-static \ @@ -90,6 +90,7 @@ autoreconf -vif --with-v4l \ --without-sdlgfx +%build %make_build %install diff --git a/anda/multimedia/rtaudio/rtaudio-nightly.spec b/anda/multimedia/rtaudio/rtaudio-nightly.spec index a3ea1d31c9..6778e173bf 100644 --- a/anda/multimedia/rtaudio/rtaudio-nightly.spec +++ b/anda/multimedia/rtaudio/rtaudio-nightly.spec @@ -53,6 +53,8 @@ Provides: rtaudio-devel = %version-%release %prep %autosetup -n rtaudio-%commit + +%conf # Fix encoding issues for file in tests/teststops.cpp; do sed 's|\r||' $file > $file.tmp @@ -61,11 +63,11 @@ for file in tests/teststops.cpp; do mv -f $file.tmp2 $file done - -%build export CFLAGS="%optflags -fPIC" NOCONFIGURE=1 ./autogen.sh %configure --with-jack --with-alsa --with-pulse --enable-shared --disable-static --verbose + +%build %make_build %install diff --git a/anda/multimedia/tdf/tdf.spec b/anda/multimedia/tdf/tdf.spec index b5d838a763..8c4c842e0e 100644 --- a/anda/multimedia/tdf/tdf.spec +++ b/anda/multimedia/tdf/tdf.spec @@ -1,13 +1,13 @@ Name: tdf Version: 0.5.0 -Release: 1%?dist +Release: 2%?dist Summary: A tui-based PDF viewer URL: https://github.com/itsjunetime/tdf Source0: %url/archive/refs/tags/v%{version}.tar.gz License: AGPL-3.0 BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold fontconfig-devel mupdf glib2 libgcc clang python -Packager: Its-J +Packager: Its-J %description A terminal-based PDF viewer. @@ -38,5 +38,8 @@ install -Dm755 target/rpm/tdf %{buildroot}%{_bindir}/tdf %{_bindir}/tdf %changelog -* Wed Oct 22 2025 Its-J +* Tue Apr 14 2026 Its-J +- Add email to my previous contributor attributions + +* Wed Oct 22 2025 Its-J - Intial Commit diff --git a/anda/multimedia/vgmstream/vgmstream.spec b/anda/multimedia/vgmstream/vgmstream.spec index 4d80a1a137..e7730be105 100644 --- a/anda/multimedia/vgmstream/vgmstream.spec +++ b/anda/multimedia/vgmstream/vgmstream.spec @@ -1,10 +1,10 @@ -%global commit e8c87743c4ee2b07ce6593d2f6c2deaf4533ee85 +%global commit 301d49bdd492aaa326e6411710ba7270c36795a9 %global shortcommit %{sub %{commit} 1 7} -%global commit_date 20260305 +%global commit_date 20260501 Name: vgmstream Version: 0~%{commit_date}git.%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: A library for playback of various streamed audio formats used in video games License: ISC URL: https://vgmstream.org diff --git a/anda/multimedia/x264/x264.spec b/anda/multimedia/x264/x264.spec index 1f7b070ac5..d5d89976d8 100644 --- a/anda/multimedia/x264/x264.spec +++ b/anda/multimedia/x264/x264.spec @@ -51,7 +51,7 @@ applications that use %{name}. %prep %git_clone https://code.videolan.org/videolan/x264.git %{commit} -%build +%conf %configure \ --enable-bashcompletion \ --enable-debug \ @@ -60,6 +60,7 @@ applications that use %{name}. --bit-depth=all \ --system-libx264 +%build %make_build %install diff --git a/anda/multimedia/x265/x265.spec b/anda/multimedia/x265/x265.spec index f6148d92ae..fb88be98f5 100644 --- a/anda/multimedia/x265/x265.spec +++ b/anda/multimedia/x265/x265.spec @@ -9,8 +9,8 @@ Summary: H.265/HEVC encoder Name: x265 -Version: 4.1 -Release: 1%?dist +Version: 4.2 +Release: 1%{?dist} URL: http://x265.org/ # source/Lib/TLibCommon - BSD # source/Lib/TLibEncoder - BSD diff --git a/anda/misc/alsa-ucm-cros/alsa-ucm-cros.spec b/anda/system/alsa-ucm-cros/alsa-ucm-cros.spec similarity index 100% rename from anda/misc/alsa-ucm-cros/alsa-ucm-cros.spec rename to anda/system/alsa-ucm-cros/alsa-ucm-cros.spec diff --git a/anda/misc/alsa-ucm-cros/anda.hcl b/anda/system/alsa-ucm-cros/anda.hcl similarity index 100% rename from anda/misc/alsa-ucm-cros/anda.hcl rename to anda/system/alsa-ucm-cros/anda.hcl diff --git a/anda/misc/alsa-ucm-cros/update.rhai b/anda/system/alsa-ucm-cros/update.rhai similarity index 100% rename from anda/misc/alsa-ucm-cros/update.rhai rename to anda/system/alsa-ucm-cros/update.rhai diff --git a/anda/system/amdgpu_top/amdgpu_top.spec b/anda/system/amdgpu_top/amdgpu_top.spec index 57e5db00f8..2ff2ab065a 100644 --- a/anda/system/amdgpu_top/amdgpu_top.spec +++ b/anda/system/amdgpu_top/amdgpu_top.spec @@ -1,8 +1,8 @@ %undefine __brp_add_determinism Name: amdgpu_top -Version: 0.11.2 -Release: 1%?dist +Version: 0.11.4 +Release: 1%{?dist} Summary: Tool to display AMDGPU usage License: MIT Packager: veuxit diff --git a/anda/system/asusctl/asusctl.spec b/anda/system/asusctl/asusctl.spec index 8cf4ca1f8b..c614389f87 100644 --- a/anda/system/asusctl/asusctl.spec +++ b/anda/system/asusctl/asusctl.spec @@ -1,11 +1,9 @@ %global debug_package %{nil} %global appid org.asus_linux.rog_control_center -%define _unpackaged_files_terminate_build 0 - Name: asusctl -Version: 6.3.4 -Release: 1%?dist +Version: 6.3.7 +Release: 2%{?dist} Epoch: 1 Summary: A control daemon, CLI tools, and a collection of crates for interacting with ASUS ROG laptops URL: https://gitlab.com/asus-linux/asusctl @@ -60,6 +58,8 @@ install -D -m 0644 rog-anime/data/diagonal-template.png %{buildroot}/%{_docdir}/ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.desktop +mkdir -p %{buildroot}%{_sysconfdir}/asusd + %files %license LICENSE %license LICENSE.dependencies @@ -67,9 +67,11 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d %{_bindir}/asusd %{_bindir}/asusd-user %{_bindir}/asusctl +%{_bindir}/asus-shutdown %{_unitdir}/asusd.service +%{_unitdir}/asus-shutdown.service %{_udevrulesdir}/99-asusd.rules -%dnl %{_sysconfdir}/asusd/ +%dir %{_sysconfdir}/asusd %{_datadir}/asusd/aura_support.ron %{_datadir}/dbus-1/system.d/asusd.conf %{_datadir}/icons/hicolor/512x512/apps/asus_notif_yellow.png @@ -89,12 +91,15 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d %post %systemd_post asusd.service +%systemd_post asus-shutdown.service %preun %systemd_preun asusd.service +%systemd_preun asus-shutdown.service %postun %systemd_postun_with_restart asusd.service +%systemd_postun_with_restart asus-shutdown.service %files rog-gui %{_bindir}/rog-control-center @@ -104,6 +109,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/rog-control-center.d %{_metainfodir}/%{appid}.metainfo.xml %changelog +* Mon Mar 23 2026 Owen Zimmerman - 6.3.5-2 +- Add asus-shutdown.service + * Wed Feb 18 2026 Owen Zimmerman - 6.2.0-3 - Remove asusd-user.service diff --git a/anda/system/bpftune/nightly/anda.hcl b/anda/system/bpftune/nightly/anda.hcl new file mode 100644 index 0000000000..5df483afdb --- /dev/null +++ b/anda/system/bpftune/nightly/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "bpftune-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/bpftune/nightly/bpftune-nightly.spec b/anda/system/bpftune/nightly/bpftune-nightly.spec new file mode 100644 index 0000000000..cc644c6efc --- /dev/null +++ b/anda/system/bpftune/nightly/bpftune-nightly.spec @@ -0,0 +1,104 @@ +# BPF-based auto-tuning SPEC file + +%define pcpdir /var/lib/pcp/pmdas + +%global ver 0.4-2 +%global releaseS %(echo '%ver' | sed -E 's/^[^-]+-//') +%define nameR bpftune + +%bcond_with openrc + +%global commit 4712347f2da0b7d4a5fbdb0d81d071c1704b3f20 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20260227 + +Name: bpftune-nightly +Version: %(echo '%ver' | sed 's/-/~/g')^%{commit_date}git.%{shortcommit} +Release: 1%?dist +Summary: BPF/tracing tools for auto-tuning Linux +License: GPL-2.0-only WITH Linux-syscall-note +Packager: veuxit +URL: https://github.com/oracle/bpftune +Conflicts: bpftune + +Source0: %{url}/archive/%{commit}/bpftune-%{commit}.tar.gz + +Group: Development/Tools +Requires: libbpf >= 0.6 +Requires: libnl3 +Requires: libcap +BuildRequires: libbpf-devel >= 0.6 +BuildRequires: libcap-devel +BuildRequires: bpftool >= 4.18 +BuildRequires: libnl3-devel +BuildRequires: clang >= 11 +BuildRequires: clang-libs >= 11 +BuildRequires: llvm >= 11 +BuildRequires: llvm-libs >= 11 +BuildRequires: python3-docutils + +%description +Service consisting of daemon (bpftune) and plugins which +support auto-tuning of Linux via BPF observability. + +%package devel +Requires: %{name} = %{evr} +Requires: libbpf-devel >= 0.6 +Requires: libcap-devel +Requires: bpftool +Requires: libnl3-devel + +%pkg_devel_files + +%package pcp-pmda +Summary: Performance Co-Pilot PMDA for bpftune +Requires: %{name} = %{evr} +Requires: pcp +Requires: python3-pcp + +%description pcp-pmda +The %{name}-pcp-pmda exports tunables and metrics from bpftune +to Performance Co-Pilot (PCP) + +%prep +%autosetup -n bpftune-%{commit} + +%build +%make_build + +%install +%make_install + +%post +%systemd_post bpftune.service + +%preun +%systemd_preun bpftune.service + +%postun +%systemd_postun_with_restart bpftune.service + +%files +%doc README.md TROUBLESHOOTING.md SECURITY.md +%license LICENSE.txt +%defattr(-,root,root) +%{_sysconfdir}/ld.so.conf.d/libbpftune.conf +%{_bindir}/bpftune +%{_unitdir}/bpftune.service +%{_libdir}/libbpftune.so.%(echo '%ver' | sed 's/-/./g') +%{_libdir}/bpftune/* +%{_mandir}/*/* +%if %{with openrc} +%{_sysconfdir}/conf.d/bpftune +%{_sysconfdir}/init.d/bpftune +%else +%exclude %{_sysconfdir}/conf.d/bpftune +%exclude %{_sysconfdir}/init.d/bpftune +%endif + +%files pcp-pmda +%{pcpdir}/%{nameR}/* + +%changelog +* Fri Mar 6 2026 veuxit - 0.4-2 +- Initial package release diff --git a/anda/system/bpftune/nightly/update.rhai b/anda/system/bpftune/nightly/update.rhai new file mode 100644 index 0000000000..b81c6e0199 --- /dev/null +++ b/anda/system/bpftune/nightly/update.rhai @@ -0,0 +1,7 @@ +rpm.global("commit", gh_commit("oracle/bpftune")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); + let v = gh("oracle/bpftune"); + rpm.global("ver", v); +} diff --git a/anda/system/bpftune/stable/anda.hcl b/anda/system/bpftune/stable/anda.hcl new file mode 100644 index 0000000000..55d17906c7 --- /dev/null +++ b/anda/system/bpftune/stable/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "bpftune.spec" + } +} diff --git a/anda/system/bpftune/stable/bpftune.spec b/anda/system/bpftune/stable/bpftune.spec new file mode 100644 index 0000000000..d36e41820e --- /dev/null +++ b/anda/system/bpftune/stable/bpftune.spec @@ -0,0 +1,102 @@ +# BPF-based auto-tuning SPEC file + +%global ver 0.4-2 +%global releaseS %(echo '%ver' | sed -E 's/^[^-]+-//') + +%define pcpdir /var/lib/pcp/pmdas +%define _sbindir /usr/sbin + +%undefine __brp_add_determinism + +%bcond_with openrc + +Name: bpftune +Version: %(echo '%ver' | sed 's/-/~/g') +Release: 1%?dist +Summary: BPF/tracing tools for auto-tuning Linux +License: GPL-2.0-only WITH Linux-syscall-note +Packager: veuxit +URL: https://github.com/oracle/bpftune +Conflicts: bpftune-nightly + +Source0: %{url}/archive/refs/tags/%{ver}.tar.gz + +Group: Development/Tools +Requires: libbpf >= 0.6 +Requires: libnl3 +Requires: libcap +BuildRequires: libbpf-devel >= 0.6 +BuildRequires: libcap-devel +BuildRequires: bpftool >= 4.18 +BuildRequires: libnl3-devel +BuildRequires: clang >= 11 +BuildRequires: clang-libs >= 11 +BuildRequires: llvm >= 11 +BuildRequires: llvm-libs >= 11 +BuildRequires: python3-docutils + +%description +Service consisting of daemon (bpftune) and plugins which +support auto-tuning of Linux via BPF observability. + +%package devel +Requires: %{name} = %{evr} +Requires: libbpf-devel >= 0.6 +Requires: libcap-devel +Requires: bpftool +Requires: libnl3-devel + +%pkg_devel_files + +%package pcp-pmda +Summary: Performance Co-Pilot PMDA for bpftune +Requires: %{name} = %{evr} +Requires: pcp +Requires: python3-pcp + +%description pcp-pmda +The %{name}-pcp-pmda exports tunables and metrics from bpftune +to Performance Co-Pilot (PCP) + +%prep +%autosetup -n %{name}-%{ver} + +%build +%make_build + +%install +%make_install + +%post +%systemd_post bpftune.service + +%preun +%systemd_preun bpftune.service + +%postun +%systemd_postun_with_restart bpftune.service + +%files +%doc README.md TROUBLESHOOTING.md SECURITY.md +%license LICENSE.txt +%defattr(-,root,root) +%{_sysconfdir}/ld.so.conf.d/libbpftune.conf +%{_sbindir}/bpftune +%{_unitdir}/bpftune.service +%{_libdir}/libbpftune.so.%(echo '%ver' | sed 's/-/./g') +%{_libdir}/bpftune/* +%{_mandir}/*/* +%if %{with openrc} +%{_sysconfdir}/conf.d/bpftune +%{_sysconfdir}/init.d/bpftune +%else +%exclude %{_sysconfdir}/conf.d/bpftune +%exclude %{_sysconfdir}/init.d/bpftune +%endif + +%files pcp-pmda +%{pcpdir}/%{name}/* + +%changelog +* Fri Mar 6 2026 veuxit - 0.4-2 +- Initial package release diff --git a/anda/system/bpftune/stable/update.rhai b/anda/system/bpftune/stable/update.rhai new file mode 100644 index 0000000000..eaae1cb979 --- /dev/null +++ b/anda/system/bpftune/stable/update.rhai @@ -0,0 +1 @@ +rpm.global("ver", gh("oracle/bpftune")); diff --git a/anda/system/cardwire/anda.hcl b/anda/system/cardwire/anda.hcl new file mode 100644 index 0000000000..7a09dc540e --- /dev/null +++ b/anda/system/cardwire/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "cardwire.spec" + } +} diff --git a/anda/system/cardwire/cardwire.spec b/anda/system/cardwire/cardwire.spec new file mode 100644 index 0000000000..601619758d --- /dev/null +++ b/anda/system/cardwire/cardwire.spec @@ -0,0 +1,52 @@ +Name: cardwire +Version: 0.6.0 +Release: 1%{?dist} +Summary: A GPU Manager for linux that uses eBPF LSM hooks to block GPUs +URL: https://opengamingcollective.github.io/cardwire/ +Source0: https://github.com/OpenGamingCollective/cardwire/archive/refs/tags/v%{version}.tar.gz +License: GPL-3.0-or-later AND (Apache-2.0 OR MIT) AND BSD-3-Clause AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND ISC AND MIT (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (Unlicense OR MIT) AND Zlib +BuildRequires: cargo-rpm-macros +BuildRequires: systemd-rpm-macros +BuildRequires: libbpf-devel +BuildRequires: clang-devel + +Packager: Owen Zimmerman + +%description +%{summary}. + +%prep +%autosetup +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dm0755 target/rpm/cardwire %{buildroot}%{_bindir}/cardwire +install -Dm0755 target/rpm/cardwired %{buildroot}%{_bindir}/cardwired +install -Dm0644 assets/cardwired.service %{buildroot}%{_unitdir}/cardwired.service +install -Dm0644 assets/com.github.opengamingcollective.cardwire.conf %{buildroot}%{_datadir}/dbus-1/system.d/com.github.opengamingcollective.cardwire.conf + +%{cargo_license_online} > LICENSE.dependencies + +%post +%systemd_post cardwired.service + +%preun +%systemd_preun cardwired.service + +%postun +%systemd_postun_with_restart cardwired.service + +%files +%license LICENSE +%license LICENSE.dependencies +%{_bindir}/cardwire +%{_bindir}/cardwired +%{_unitdir}/cardwired.service +%{_datadir}/dbus-1/system.d/com.github.opengamingcollective.cardwire.conf + +%changelog +* Wed May 06 2026 Owen Zimmerman +- Initial commit diff --git a/anda/system/cardwire/update.rhai b/anda/system/cardwire/update.rhai new file mode 100644 index 0000000000..2e39cdc8ec --- /dev/null +++ b/anda/system/cardwire/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("OpenGamingCollective/cardwire")); diff --git a/anda/system/cloud-hypervisor/nightly/anda.hcl b/anda/system/cloud-hypervisor/nightly/anda.hcl new file mode 100644 index 0000000000..bcf490fb52 --- /dev/null +++ b/anda/system/cloud-hypervisor/nightly/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "cloud-hypervisor-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/cloud-hypervisor/nightly/cloud-hypervisor-nightly.spec b/anda/system/cloud-hypervisor/nightly/cloud-hypervisor-nightly.spec new file mode 100644 index 0000000000..09f827319a --- /dev/null +++ b/anda/system/cloud-hypervisor/nightly/cloud-hypervisor-nightly.spec @@ -0,0 +1,57 @@ +%global commit 3db4c0f7b4cc021aa917f445dd58c68c264a412a +%global commit_date 20260507 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: cloud-hypervisor-nightly +License: Apache-2.0 AND MPL-2.0 AND (Unlicense OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND MIT AND BSD-3-Clause AND (BSD-3-Clause OR Apache-2.0) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC-BY-4.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR MIT) +Version: 0~%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: A Virtual Machine Monitor for modern Cloud workloads +URL: https://github.com/cloud-hypervisor/cloud-hypervisor +Source0: %{url}/archive/%{commit}/cloud-hypervisor-%{commit}.tar.gz +BuildRequires: perl +BuildRequires: cargo-rpm-macros +BuildRequires: pkgconfig(openssl) +Conflicts: cloud-hypervisor + +Packager: Owen Zimmerman + +%description +A Virtual Machine Monitor for modern Cloud workloads. Features include CPU, +memory and device hotplug, support for running Windows and Linux guests, +device offload with vhost-user and a minimal compact footprint. +Written in Rust with a strong focus on security. + +%package doc +Summary: Documentation for cloud-hypervisor +Requires: %{name} = %{evr} + +%description doc +%{summary}. + +%prep +%autosetup -n cloud-hypervisor-%{commit} +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dm755 target/rpm/cloud-hypervisor %{buildroot}%{_bindir}/cloud-hypervisor +install -Dm755 target/rpm/ch-remote %{buildroot}%{_bindir}/ch-remote +install -Dm755 target/rpm/vhost_user_block %{buildroot}%{_bindir}/vhost_user_block +install -Dm755 target/rpm/vhost_user_net %{buildroot}%{_bindir}/vhost_user_net + +%{cargo_license_online} > LICENSE.dependencies + +%files +%license LICENSE.dependencies LICENSES/ +%doc CODEOWNERS CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS.md MAINTAINERS.md README.md release-notes.md +%caps(cap_net_admin=ep) %{_bindir}/cloud-hypervisor +%{_bindir}/ch-remote +%{_bindir}/vhost_user_block +%{_bindir}/vhost_user_net + +%changelog +* Tue Apr 14 2026 Owen Zimmerman +- Initial commit (port from stable spec) diff --git a/anda/system/cloud-hypervisor/nightly/update.rhai b/anda/system/cloud-hypervisor/nightly/update.rhai new file mode 100644 index 0000000000..3f227e4d25 --- /dev/null +++ b/anda/system/cloud-hypervisor/nightly/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("cloud-hypervisor/cloud-hypervisor")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/system/cloud-hypervisor/stable/anda.hcl b/anda/system/cloud-hypervisor/stable/anda.hcl new file mode 100644 index 0000000000..dbca34d29a --- /dev/null +++ b/anda/system/cloud-hypervisor/stable/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "cloud-hypervisor.spec" + } +} diff --git a/anda/system/cloud-hypervisor/stable/cloud-hypervisor.spec b/anda/system/cloud-hypervisor/stable/cloud-hypervisor.spec new file mode 100644 index 0000000000..af7fefd8f6 --- /dev/null +++ b/anda/system/cloud-hypervisor/stable/cloud-hypervisor.spec @@ -0,0 +1,55 @@ +Name: cloud-hypervisor +License: Apache-2.0 AND MPL-2.0 AND (Unlicense OR MIT) AND (MIT OR Zlib OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND MIT AND BSD-3-Clause AND (BSD-3-Clause OR Apache-2.0) AND (BSD-3-Clause OR MIT OR Apache-2.0) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC-BY-4.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSD-3-Clause) AND (Apache-2.0 OR MIT) +Version: 51.1 +Release: 3%{?dist} +Summary: A Virtual Machine Monitor for modern Cloud workloads +URL: https://github.com/cloud-hypervisor/cloud-hypervisor +Source0: https://github.com/cloud-hypervisor/cloud-hypervisor/archive/refs/tags/v%{version}.tar.gz +BuildRequires: perl +BuildRequires: cargo-rpm-macros +BuildRequires: pkgconfig(openssl) + +Packager: Owen Zimmerman + +%description +A Virtual Machine Monitor for modern Cloud workloads. Features include CPU, +memory and device hotplug, support for running Windows and Linux guests, +device offload with vhost-user and a minimal compact footprint. +Written in Rust with a strong focus on security. + +%package doc +Summary: Documentation for cloud-hypervisor +Requires: %{name} = %{evr} + +%description doc +%{summary}. + +%prep +%autosetup +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dm755 target/rpm/cloud-hypervisor %{buildroot}%{_bindir}/cloud-hypervisor +install -Dm755 target/rpm/ch-remote %{buildroot}%{_bindir}/ch-remote +install -Dm755 target/rpm/vhost_user_block %{buildroot}%{_bindir}/vhost_user_block +install -Dm755 target/rpm/vhost_user_net %{buildroot}%{_bindir}/vhost_user_net + +%{cargo_license_online} > LICENSE.dependencies + +%files +%license LICENSE.dependencies LICENSES/ +%doc CODEOWNERS CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS.md MAINTAINERS.md README.md release-notes.md +%caps(cap_net_admin=ep) %{_bindir}/cloud-hypervisor +%{_bindir}/ch-remote +%{_bindir}/vhost_user_block +%{_bindir}/vhost_user_net + +%files doc +%doc docs/ + +%changelog +* Wed Mar 25 2026 Owen Zimmerman +- Initial commit diff --git a/anda/system/cloud-hypervisor/stable/update.rhai b/anda/system/cloud-hypervisor/stable/update.rhai new file mode 100644 index 0000000000..1f21db8ff6 --- /dev/null +++ b/anda/system/cloud-hypervisor/stable/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("cloud-hypervisor/cloud-hypervisor")); diff --git a/anda/system/dank-material-shell/anda.hcl b/anda/system/dank-material-shell/anda.hcl new file mode 100644 index 0000000000..4d7e6ff850 --- /dev/null +++ b/anda/system/dank-material-shell/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "dank-material-shell.spec" + } + labels { + subrepo = "extras" + } +} diff --git a/anda/system/dank-material-shell/dank-material-shell.spec b/anda/system/dank-material-shell/dank-material-shell.spec new file mode 100644 index 0000000000..910d8db37a --- /dev/null +++ b/anda/system/dank-material-shell/dank-material-shell.spec @@ -0,0 +1,147 @@ +%global goipath github.com/AvengeMedia/%{name}/core + +Name: DankMaterialShell +Version: 1.4.6 +Release: 1%{?dist} +Summary: Desktop shell for Wayland compositors built on QuickShell + +License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND GPL-3.0-only AND ISC AND MIT AND MPL-2.0 +URL: https://danklinux.com/ +Source0: https://github.com/AvengeMedia/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: go-rpm-macros +BuildRequires: go-vendor-tools +BuildRequires: systemd-rpm-macros + +Requires: accountsservice +Requires: cups-pk-helper +Requires: hicolor-icon-theme +Requires: quickshell + +Requires: (adw-gtk3-theme if gtk3) +Requires: cava +Requires: cliphist +Requires: danksearch +Requires: dgop +Requires: kf6-kimageformats +Requires: khal +Requires: matugen +Requires: (qt5ct if qt5-qtbase) +Requires: qt6ct +Requires: qt6-qtmultimedia +Requires: qt6-qtimageformats +Requires: wl-clipboard + +Recommends: NetworkManager +Recommends: ppd-service +Suggests: tuned-ppd + +# Replace and provide the package names from avengemedia/dms +Obsoletes: dms < %{evr} +Provides: dms = %{evr} +Obsoletes: dms-cli < %{evr} +Provides: dms-cli = %{evr} + +Packager: Its-J + +%description +DankMaterialShell is a complete desktop shell for Wayland compositors. +It replaces a variety of tools used to stitch together to make a desktop. + +dms features notifications, an app launcher, wallpaper customization, and is +fully customizable with plugins. + +It includes auto-theming for GTK/Qt apps with matugen, 20+ customizable widgets, +process monitoring, notification center, clipboard history, dock, control center, +lock screen, and comprehensive plugin system. + +%prep +%autosetup -C +%goprep + +%build +pushd core +export dms_buildtime=$(date -d "@${SOURCE_DATE_EPOCH}" +%%Y-%%m-%%d_%%H:%%M:%%S) +export GO_LDFLAGS="-X main.commit=fedora \ + -X main.Version=%{evr} \ + -X main.buildTime=${dms_buildtime}" +%global gomodulesmode GO111MODULE=on +mkdir -p %{_vpath_builddir}/bin +%gobuild -o %{_vpath_builddir}/bin/dms ./cmd/dms +popd + +# Install dms cli shell completions +%pkg_completion -Bfz dms + +%install +# Install dms +install -Dm644 assets/systemd/dms.service %{buildroot}%{_userunitdir}/dms.service + +install -Dm644 assets/dms-open.desktop %{buildroot}%{_datadir}/applications/dms-open.desktop +install -Dm644 assets/danklogo.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/danklogo.svg + +mkdir -p %{buildroot}%{_datadir}/quickshell/dms +cp -a quickshell/* %{buildroot}%{_datadir}/quickshell/dms/ +echo "%{evr}" > %{buildroot}%{_datadir}/quickshell/dms/VERSION + +# Install dms cli +mkdir -p %{buildroot}%{_bindir} +install -pm0755 core/%{_vpath_builddir}/bin/dms %{buildroot}%{_bindir}/dms + +# Install dms cli shell completions +mkdir -p %{buildroot}%{bash_completions_dir} +mkdir -p %{buildroot}%{fish_completions_dir} +mkdir -p %{buildroot}%{zsh_completions_dir} +core/%{_vpath_builddir}/bin/dms completion bash > %{buildroot}%{bash_completions_dir}/dms +core/%{_vpath_builddir}/bin/dms completion fish > %{buildroot}%{fish_completions_dir}/dms.fish +core/%{_vpath_builddir}/bin/dms completion zsh > %{buildroot}%{zsh_completions_dir}/_dms + +%check +pushd core +%gotest ./... +popd + +%post +%systemd_user_post dms.service + +%preun +%systemd_user_preun dms.service + +%postun +%systemd_user_postun_with_restart dms.service + +%posttrans +# Signal running DMS instances to reload +pkill -USR1 -x dms || : + + +%files +%license LICENSE +%doc README.md +%{_bindir}/dms +%{_datadir}/quickshell/dms/ +%{_userunitdir}/dms.service +%{_datadir}/applications/dms-open.desktop +%{_datadir}/icons/hicolor/scalable/apps/danklogo.svg + +%changelog +* Sat Mar 28 2026 Its-J - 1.4.4-1 +- Port to Terra + +* Mon Feb 16 2026 Neal Gompa - 1.2.3-5 +- Backport fix for screensaver inhibit support +- Add dependencies to make various wallpaper format work +- Add dependency for printer management support + +* Mon Feb 16 2026 Neal Gompa - 1.2.3-4 +- Add missing khal dependency + +* Mon Feb 16 2026 Neal Gompa - 1.2.3-3 +- Add dependency for ppd-service +- Fix string for embedded package version + +* Sun Feb 15 2026 Neal Gompa - 1.2.3-2 +- Strengthen various dependencies + +* Sun Feb 15 2026 Neal Gompa - 1.2.3-1 +- Initial package diff --git a/anda/system/dank-material-shell/update.rhai b/anda/system/dank-material-shell/update.rhai new file mode 100644 index 0000000000..3fa83f2e6c --- /dev/null +++ b/anda/system/dank-material-shell/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("AvengeMedia/DankMaterialShell")); diff --git a/anda/system/depthcharge-tools/depthcharge-tools.spec b/anda/system/depthcharge-tools/depthcharge-tools.spec index e0e9c44c12..512aa2bc00 100644 --- a/anda/system/depthcharge-tools/depthcharge-tools.spec +++ b/anda/system/depthcharge-tools/depthcharge-tools.spec @@ -1,6 +1,6 @@ Name: depthcharge-tools -Version: 0.6.3 -Release: 4%?dist +Version: 0.6.4 +Release: 1%{?dist} Summary: Tools to manage the Chrome OS bootloader License: GPL-2.0-or-later URL: https://gitlab.postmarketos.org/postmarketOS/depthcharge-tools diff --git a/anda/system/dfu-programmer/dfu-programmer.spec b/anda/system/dfu-programmer/dfu-programmer.spec index eaf3b427d5..21cb7d51a9 100644 --- a/anda/system/dfu-programmer/dfu-programmer.spec +++ b/anda/system/dfu-programmer/dfu-programmer.spec @@ -17,11 +17,13 @@ Atmel chips with USB support. %prep %autosetup -p1 + +%conf touch ./ChangeLog autoreconf -fiv +%configure %build -%configure %make_build %install diff --git a/anda/system/dmemcg-booster/0001-License-under-MIT.patch b/anda/system/dmemcg-booster/0001-License-under-MIT.patch new file mode 100644 index 0000000000..61869ec66b --- /dev/null +++ b/anda/system/dmemcg-booster/0001-License-under-MIT.patch @@ -0,0 +1,33 @@ +From 903e18c761c41ecca2a6dced9335a2c3f0703b11 Mon Sep 17 00:00:00 2001 +From: Natalie Vock +Date: Fri, 17 Apr 2026 21:46:48 +0200 +Subject: [PATCH] License under MIT + +--- + LICENSE | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + create mode 100644 LICENSE + +diff --git a/LICENSE b/LICENSE +new file mode 100644 +index 0000000..92ea3c4 +--- /dev/null ++++ b/LICENSE +@@ -0,0 +1,14 @@ ++Copyright (c) 2026 Valve Corporation ++ ++Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ++documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ++rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit ++persons to whom the Software is furnished to do so, subject to the following conditions: ++ ++The above copyright notice and this permission notice shall be included in all copies or substantial portions of the ++Software. ++ ++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE ++WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR ++COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR ++OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +\ No newline at end of file +-- +2.54.0 diff --git a/anda/system/dmemcg-booster/anda.hcl b/anda/system/dmemcg-booster/anda.hcl new file mode 100644 index 0000000000..0f774f4ec3 --- /dev/null +++ b/anda/system/dmemcg-booster/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "dmemcg-booster.spec" + } +} diff --git a/anda/system/dmemcg-booster/dmemcg-booster.spec b/anda/system/dmemcg-booster/dmemcg-booster.spec new file mode 100644 index 0000000000..0970b26924 --- /dev/null +++ b/anda/system/dmemcg-booster/dmemcg-booster.spec @@ -0,0 +1,50 @@ +Name: dmemcg-booster +Version: 0.1.2 +Release: 1%?dist +Summary: Userspace utility for controling VRAM utilization +License: MIT AND (Apache-2.0 OR MIT) +URL: https://gitlab.steamos.cloud/holo/dmemcg-booster +Source0: %url/-/archive/%version/dmemcg-booster-%version.tar.gz +BuildRequires: anda-srpm-macros +BuildRequires: cargo-rpm-macros +BuildRequires: systemd-rpm-macros +BuildRequires: dbus-devel +Packager: Tulip Blossom + +Patch: 0001-License-under-MIT.patch + +%description +%summary. + +%prep +%autosetup -n %name-%version +%cargo_prep_online + +%build +%{cargo_license_online -a} > LICENSE.dependencies + +%install +%cargo_install +install -Dpm0644 -t %{buildroot}%{_datadir}/licenses/dmemcg-booster/ ./LICENSE +install -Dpm0644 -t %{buildroot}%{_userunitdir}/ ./dmemcg-booster-user.service +install -Dpm0644 -t %{buildroot}%{_unitdir}/ ./dmemcg-booster-system.service + +%post +%systemd_post dmemcg-booster.service + +%preun +%systemd_preun dmemcg-booster.service + +%postun +%systemd_postun_with_restart dmemcg-booster.service + +%files +%license %{_datadir}/licenses/dmemcg-booster/LICENSE +%license LICENSE.dependencies +%{_bindir}/dmemcg-booster +%{_userunitdir}/dmemcg-booster-user.service +%{_unitdir}/dmemcg-booster-system.service + +%changelog +* Thu May 05 2026 Tulip Blossom - 0.1.2-1 +- Intial Commit diff --git a/anda/system/dmemcg-booster/update.rhai b/anda/system/dmemcg-booster/update.rhai new file mode 100644 index 0000000000..6c0e6f45c9 --- /dev/null +++ b/anda/system/dmemcg-booster/update.rhai @@ -0,0 +1 @@ +rpm.version(gitlab_tag("gitlab.steamos.cloud", "1438")); diff --git a/anda/system/falcond/falcond.spec b/anda/system/falcond/falcond.spec index b02e46a400..50e243c264 100644 --- a/anda/system/falcond/falcond.spec +++ b/anda/system/falcond/falcond.spec @@ -1,7 +1,7 @@ %global _include_minidebuginfo 0 Name: falcond -Version: 2.0.0 +Version: 2.0.5 Release: 1%{?dist} Summary: Advanced Linux Gaming Performance Daemon License: MIT diff --git a/anda/system/hid-fanatecff/akmod/anda.hcl b/anda/system/hid-fanatecff/akmod/anda.hcl new file mode 100644 index 0000000000..6910465b51 --- /dev/null +++ b/anda/system/hid-fanatecff/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "hid-fanatecff-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/hid-fanatecff/akmod/hid-fanatecff-kmod.spec b/anda/system/hid-fanatecff/akmod/hid-fanatecff-kmod.spec new file mode 100644 index 0000000000..dad761cac6 --- /dev/null +++ b/anda/system/hid-fanatecff/akmod/hid-fanatecff-kmod.spec @@ -0,0 +1,56 @@ +%global commit f7bf935f0e534434d41e159d695f4a6c81e19fe9 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260106 +%global ver 0.2.2 +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename hid-fanatecff + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Fanatec force feedback kernel module +License: GPL-2.0-only +URL: https://github.com/gotzl/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +BuildRequires: kmodtool +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-%{modulename} + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Driver to support Fanatec input devices, in particular force feedback of +various wheel-bases. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{commit} + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr Kbuild Makefile *.c *.h _kmod_build_${kernel_version%%___*}/ +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/hid-fanatecff/akmod/update.rhai b/anda/system/hid-fanatecff/akmod/update.rhai new file mode 100644 index 0000000000..ea1cd2b75b --- /dev/null +++ b/anda/system/hid-fanatecff/akmod/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/hid-fanatecff/dkms/anda.hcl b/anda/system/hid-fanatecff/dkms/anda.hcl new file mode 100644 index 0000000000..cec1a9625e --- /dev/null +++ b/anda/system/hid-fanatecff/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-hid-fanatecff.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/hid-fanatecff/dkms/dkms-hid-fanatecff.conf b/anda/system/hid-fanatecff/dkms/dkms-hid-fanatecff.conf new file mode 100644 index 0000000000..1a8f77c2d9 --- /dev/null +++ b/anda/system/hid-fanatecff/dkms/dkms-hid-fanatecff.conf @@ -0,0 +1,6 @@ +PACKAGE_NAME="hid-fanatecff" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +BUILT_MODULE_NAME[0]="hid-fanatec" +DEST_MODULE_LOCATION[0]="/extra" diff --git a/anda/system/hid-fanatecff/dkms/dkms-hid-fanatecff.spec b/anda/system/hid-fanatecff/dkms/dkms-hid-fanatecff.spec new file mode 100644 index 0000000000..df7544e8af --- /dev/null +++ b/anda/system/hid-fanatecff/dkms/dkms-hid-fanatecff.spec @@ -0,0 +1,59 @@ +%global commit f7bf935f0e534434d41e159d695f4a6c81e19fe9 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260106 +%global ver 0.2.2 +%global debug_package %{nil} +%global modulename hid-fanatecff + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Fanatec force feedback kernel module (DKMS) +License: GPL-2.0-only +URL: https://github.com/gotzl/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: %{name}.conf +Source2: no-weak-modules.conf +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod +BuildArch: noarch + +%description +Driver to support Fanatec input devices, in particular force feedback of +various wheel-bases. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + +cp -f %{SOURCE1} dkms.conf +sed -i -e 's/__VERSION_STRING/%{version}/g' dkms.conf + +%build + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr Kbuild Makefile *.c *.h dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/xpadneo/dkms/no-weak-modules.conf b/anda/system/hid-fanatecff/dkms/no-weak-modules.conf similarity index 100% rename from anda/system/xpadneo/dkms/no-weak-modules.conf rename to anda/system/hid-fanatecff/dkms/no-weak-modules.conf diff --git a/anda/system/hid-fanatecff/dkms/update.rhai b/anda/system/hid-fanatecff/dkms/update.rhai new file mode 100644 index 0000000000..ea1cd2b75b --- /dev/null +++ b/anda/system/hid-fanatecff/dkms/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/hid-fanatecff/kmod-common/anda.hcl b/anda/system/hid-fanatecff/kmod-common/anda.hcl new file mode 100644 index 0000000000..c456a9fdcb --- /dev/null +++ b/anda/system/hid-fanatecff/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "hid-fanatecff.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec b/anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec new file mode 100644 index 0000000000..35d5357976 --- /dev/null +++ b/anda/system/hid-fanatecff/kmod-common/hid-fanatecff.spec @@ -0,0 +1,52 @@ +%global commit f7bf935f0e534434d41e159d695f4a6c81e19fe9 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260106 +%global ver 0.2.2 + +Name: hid-fanatecff +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Fanatec force feedback driver common files +License: GPL-2.0-only +URL: https://github.com/gotzl/%{name} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description +Driver to support Fanatec input devices, in particular force feedback of +various wheel-bases. This package contains common files shared between the +akmod and dkms variants. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{name}-%{commit} + +echo hid-fanatec > %{name}.conf + +%install +# UDev rules: +install -Dpm644 fanatec.rules %{buildroot}%{_udevrulesdir}/99-fanatec.rules + +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE +%doc README.md +%{_udevrulesdir}/99-fanatec.rules + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/hid-fanatecff/kmod-common/update.rhai b/anda/system/hid-fanatecff/kmod-common/update.rhai new file mode 100644 index 0000000000..271ca3c6d8 --- /dev/null +++ b/anda/system/hid-fanatecff/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("gotzl/hid-fanatecff")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let ver = gh("gotzl/hid-fanatecff"); + ver.crop(0); + rpm.global("ver", ver); +} diff --git a/anda/system/hid-tmff2/akmod/anda.hcl b/anda/system/hid-tmff2/akmod/anda.hcl new file mode 100644 index 0000000000..099d3e7707 --- /dev/null +++ b/anda/system/hid-tmff2/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "hid-tmff2-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/hid-tmff2/akmod/hid-tmff2-kmod.spec b/anda/system/hid-tmff2/akmod/hid-tmff2-kmod.spec new file mode 100644 index 0000000000..1bcf714322 --- /dev/null +++ b/anda/system/hid-tmff2/akmod/hid-tmff2-kmod.spec @@ -0,0 +1,62 @@ +%global commit 8187920ed261c7024826f8204cc7bea45153a3da +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260310 +%global ver 0.83 + +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename hid-tmff2 + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 4%{?dist} +Summary: Thrustmaster Force Feedback kernel module +License: GPL-2.0-only +URL: https://github.com/Kimplul/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +BuildRequires: kmodtool +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-%{modulename} + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Linux kernel module for Thrustmaster T300RS, T248 and (experimental) TX, T128, +T598, T-GT II and TS-XW wheels. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{commit} + +# Stub out the hid-tminit submodule (superseded by in-kernel hid-thrustmaster) +mkdir -p deps/hid-tminit +printf 'all:\ninstall:\nclean:\n' > deps/hid-tminit/Makefile + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr Kbuild Makefile src _kmod_build_${kernel_version%%___*}/ + cp -fr deps _kmod_build_${kernel_version%%___*}/ +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build KDIR="${kernel_version##*___}" + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/hid-tmff2/akmod/update.rhai b/anda/system/hid-tmff2/akmod/update.rhai new file mode 100644 index 0000000000..ef91d866eb --- /dev/null +++ b/anda/system/hid-tmff2/akmod/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/hid-tmff2/kmod-common/hid-tmff2.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/hid-tmff2/kmod-common/hid-tmff2.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/hid-tmff2/kmod-common/hid-tmff2.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/hid-tmff2/dkms/anda.hcl b/anda/system/hid-tmff2/dkms/anda.hcl new file mode 100644 index 0000000000..c7210010f5 --- /dev/null +++ b/anda/system/hid-tmff2/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-hid-tmff2.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.conf b/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.conf new file mode 100644 index 0000000000..02af43b5d1 --- /dev/null +++ b/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.conf @@ -0,0 +1,9 @@ +PACKAGE_NAME="hid-tmff2" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +MAKE[0]="'make' KDIR=\"$kernel_source_dir\"" +CLEAN[0]=true + +BUILT_MODULE_NAME[0]="hid-tmff-new" +DEST_MODULE_LOCATION[0]="/extra" diff --git a/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec b/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec new file mode 100644 index 0000000000..25fd8b46ec --- /dev/null +++ b/anda/system/hid-tmff2/dkms/dkms-hid-tmff2.spec @@ -0,0 +1,69 @@ +%global commit 8187920ed261c7024826f8204cc7bea45153a3da +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260310 +%global ver 0.83 + +%global debug_package %{nil} +%global modulename hid-tmff2 + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 4%{?dist} +Summary: Thrustmaster Force Feedback kernel module (DKMS) +License: GPL-2.0-only +URL: https://github.com/Kimplul/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: %{name}.conf +Source2: no-weak-modules.conf +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod +BuildArch: noarch + +%description +Linux kernel module for Thrustmaster T300RS, T248 and (experimental) TX, T128, +T598, T-GT II and TS-XW wheels. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + +# Stub out the hid-tminit submodule (superseded by in-kernel hid-thrustmaster) +mkdir -p deps/hid-tminit +printf 'all:\ninstall:\nclean:\n' > deps/hid-tminit/Makefile + +cp -f %{SOURCE1} dkms/dkms.conf +sed -i -e 's/__VERSION_STRING/%{version}/g' dkms/dkms.conf + +%build + +%install +# Create empty tree: +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr Kbuild Makefile src deps %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +install -Dpm644 dkms/dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/dkms.conf + +%if 0%{?fedora} +# Do not enable weak modules support in Fedora (no kABI): +install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +# Remove all versions from DKMS registry: +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/hid-tmff2/dkms/no-weak-modules.conf b/anda/system/hid-tmff2/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/hid-tmff2/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/hid-tmff2/dkms/update.rhai b/anda/system/hid-tmff2/dkms/update.rhai new file mode 100644 index 0000000000..ef91d866eb --- /dev/null +++ b/anda/system/hid-tmff2/dkms/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/hid-tmff2/kmod-common/hid-tmff2.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/hid-tmff2/kmod-common/hid-tmff2.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/hid-tmff2/kmod-common/hid-tmff2.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/hid-tmff2/kmod-common/anda.hcl b/anda/system/hid-tmff2/kmod-common/anda.hcl new file mode 100644 index 0000000000..525110d0f3 --- /dev/null +++ b/anda/system/hid-tmff2/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "hid-tmff2.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/hid-tmff2/kmod-common/hid-tmff2.spec b/anda/system/hid-tmff2/kmod-common/hid-tmff2.spec new file mode 100644 index 0000000000..3e65880848 --- /dev/null +++ b/anda/system/hid-tmff2/kmod-common/hid-tmff2.spec @@ -0,0 +1,53 @@ +%global commit 8187920ed261c7024826f8204cc7bea45153a3da +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260310 +%global ver 0.83 + +Name: hid-tmff2 +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 4%{?dist} +Summary: Thrustmaster Force Feedback driver common files +License: GPL-2.0-only +URL: https://github.com/Kimplul/%{name} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description +Linux kernel module for Thrustmaster T300RS, T248 and (experimental) TX, T128, +T598, T-GT II and TS-XW wheels. This package contains common files shared +between the akmod and dkms variants. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{name}-%{commit} + +# Extract module names from Kbuild for modules-load.d +echo hid-tmff-new > %{name}.conf + +%install +# UDev rules: +install -Dpm644 udev/99-thrustmaster.rules -t %{buildroot}%{_udevrulesdir}/ + +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE +%doc README.md +%{_udevrulesdir}/99-thrustmaster.rules + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/hid-tmff2/kmod-common/update.rhai b/anda/system/hid-tmff2/kmod-common/update.rhai new file mode 100644 index 0000000000..d89f5af60b --- /dev/null +++ b/anda/system/hid-tmff2/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("Kimplul/hid-tmff2")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let ver = gh("Kimplul/hid-tmff2"); + ver.crop(0); + rpm.global("ver", ver); +} diff --git a/anda/system/ipu6-camera-hal/ipu6-camera-hal.spec b/anda/system/ipu6-camera-hal/ipu6-camera-hal.spec index 48f543741d..473ef021b5 100644 --- a/anda/system/ipu6-camera-hal/ipu6-camera-hal.spec +++ b/anda/system/ipu6-camera-hal/ipu6-camera-hal.spec @@ -3,13 +3,12 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global build_cflags %{__build_flags_lang_c} %{?_distro_extra_cflags} -Wno-alloc-size-larger-than %global build_cxxflags %{__build_flags_lang_cxx} %{?_distro_extra_cxxflags} -Wno-alloc-size-larger-than -%global __cmake_in_source_build 1 %global ver 1.0.1 Name: ipu6-camera-hal Summary: Hardware abstraction layer for Intel IPU6 -Version: %{ver}^%{commit_date}git.%{shortcommit} -Release: 1%?dist +Version: %{ver}^%{commit_date}git%{shortcommit} +Release: 2%{?dist} License: Apache-2.0 URL: https://github.com/intel/ipu6-camera-hal Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz @@ -49,13 +48,18 @@ This provides the necessary header files for IPU6 HAL development. %prep %autosetup -p1 -n %{name}-%{commit} -%build +%conf %cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_SYSCONFDIR:PATH="%{_datadir}/defaults/etc" \ -DBUILD_CAMHAL_ADAPTOR=ON \ -DBUILD_CAMHAL_PLUGIN=ON \ -DIPU_VERSIONS="ipu6;ipu6ep;ipu6epmtl" \ - -DUSE_PG_LITE_PIPE=ON + -DUSE_PG_LITE_PIPE=ON \ +%if 0%{?fedora} >= 44 + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 +%endif + +%build %cmake_build %install @@ -98,4 +102,5 @@ fi %changelog -%autochangelog +* Sat Apr 18 2026 Gilver E. - 1.0.1^20260121git9899efa +- Updated build diff --git a/anda/system/ipu6-drivers/akmod/intel-ipu6-kmod.spec b/anda/system/ipu6-drivers/akmod/intel-ipu6-kmod.spec index 3e8a4840fe..8fa8ac5b85 100644 --- a/anda/system/ipu6-drivers/akmod/intel-ipu6-kmod.spec +++ b/anda/system/ipu6-drivers/akmod/intel-ipu6-kmod.spec @@ -1,8 +1,8 @@ %global buildforkernels akmod %global debug_package %{nil} -%global commit da921f79f673d816b99c1f974dfc895e8ede3f64 +%global commit 51fe72485032c779a261430a8100eaad5d8696b8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260303 +%global commit_date 20260328 %global modulename intel-ipu6 # Actual "release" version, currently unused as the release versions are back and forth on if on if they use 1.0.0 or 1.0.1 %global ver 1.0.1 @@ -10,7 +10,7 @@ Name: %{modulename}-kmod Summary: Akmods module for %{modulename} Version: 0^%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 2%{?dist} License: GPL-2.0-or-later URL: https://github.com/intel/ipu6-drivers Source0: https://github.com/intel/ipu6-drivers/archive/%{commit}/ipu6-drivers-%{shortcommit}.tar.gz @@ -25,7 +25,7 @@ Provides: %{name} = %{commitdate}.%{shortcommit}-%{release} Provides: akmod-%{modulename} = %{commitdate}.%{shortcommit}-%{release} %endif -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description This package enables the Intel IPU6 image processor. @@ -34,7 +34,7 @@ This package enables the Intel IPU6 image processor. # Error out if there was something wrong with kmodtool: %{?kmodtool_check} # Print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %autosetup -p1 -n ipu6-drivers-%{commit} patch -p1 -i patches/*.patch diff --git a/anda/system/ipu6-drivers/dkms/dkms-intel-ipu6.spec b/anda/system/ipu6-drivers/dkms/dkms-intel-ipu6.spec index 57d182b395..972598fa9c 100644 --- a/anda/system/ipu6-drivers/dkms/dkms-intel-ipu6.spec +++ b/anda/system/ipu6-drivers/dkms/dkms-intel-ipu6.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} -%global commit da921f79f673d816b99c1f974dfc895e8ede3f64 +%global commit 51fe72485032c779a261430a8100eaad5d8696b8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260303 +%global commit_date 20260328 %global modulename intel-ipu6 # Actual "release" version, currently unused as the release versions are back and forth on if on if they use 1.0.0 or 1.0.1 %global ver 1.0.1 @@ -9,7 +9,7 @@ Name: dkms-%{modulename} Summary: DKMS module for %{modulename} Version: 0^%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://github.com/intel/ipu6-drivers Source0: %{url}/archive/%{commit}.tar.gz#/ipu6-drivers-%{shortcommit}.tar.gz diff --git a/anda/system/ipu6-drivers/kmod-common/intel-ipu6-drivers.spec b/anda/system/ipu6-drivers/kmod-common/intel-ipu6-drivers.spec index 6cea74f689..b30d3f2539 100644 --- a/anda/system/ipu6-drivers/kmod-common/intel-ipu6-drivers.spec +++ b/anda/system/ipu6-drivers/kmod-common/intel-ipu6-drivers.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} -%global commit da921f79f673d816b99c1f974dfc895e8ede3f64 +%global commit 51fe72485032c779a261430a8100eaad5d8696b8 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260303 +%global commit_date 20260328 # Actual "release" version, currently unused as the release versions are back and forth on if on if they use 1.0.0 or 1.0.1 # Use this if they ever stop doing that I guess %global ver 1.0.1 @@ -9,7 +9,7 @@ Name: intel-ipu6-drivers Summary: Common files for Intel IPU6 drivers Version: 0^%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} License: GPL-2.0-or-later URL: https://github.com/intel/ipu6-drivers Source0: https://github.com/intel/ipu6-drivers/archive/%{commit}/ipu6-drivers-%{shortcommit}.tar.gz diff --git a/anda/system/limine/limine.spec b/anda/system/limine/limine.spec index 0f01c2d216..c77d990e95 100644 --- a/anda/system/limine/limine.spec +++ b/anda/system/limine/limine.spec @@ -1,11 +1,12 @@ Name: limine -Version: 10.8.3 +Version: 12.2.0 Release: 1%{?dist} Summary: Modern, advanced, portable, multiprotocol bootloader License: BSD-2-Clause URL: https://limine-bootloader.org -Source0: https://codeberg.org/Limine/Limine/releases/download/v%version/limine-%version.tar.gz -Source1: https://codeberg.org/Limine/Limine/raw/tag/v%version/README.md +Source0: https://github.com/Limine-Bootloader/Limine/releases/download/v%{version}/%{name}-%{version}.tar.gz +Source1: https://github.com/Limine-Bootloader/Limine/releases/download/v%{version}/limine-%{version}.tar.gz.sig +Source2: https://raw.githubusercontent.com/Limine-Bootloader/Limine/refs/tags/v%{version}/README.md Packager: madonuko BuildRequires: nasm mtools llvm lld clang make @@ -15,10 +16,14 @@ the reference implementation for the Limine boot protocol. %prep %autosetup -cp %{S:1} . +cp %{S:2} . +gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys 05D29860D0A0668AAEFB9D691F3C021BECA23821 +gpg --verify %{S:1} %{S:0} || exit 1 + +%conf +%configure --enable-all CC_FOR_TARGET=clang LD_FOR_TARGET=ld.lld %build -%configure --enable-all CC_FOR_TARGET=clang LD_FOR_TARGET=ld.lld %make_build %install @@ -26,9 +31,9 @@ cp %{S:1} . %files -%doc README.md 3RDPARTY.md FAQ.md CONFIG.md COPYING USAGE.md +%doc README.md 3RDPARTY.md FAQ.md CONFIG.md COPYING USAGE.md ChangeLog %license %_datadir/doc/limine/LICENSES/LicenseRef-scancode-bsd-no-disclaimer-unmodified.txt %license COPYING %_bindir/limine %_datadir/limine/ -%_mandir/man1/limine.1.gz +%_mandir/man1/limine.1.* diff --git a/anda/system/limine/update.rhai b/anda/system/limine/update.rhai index eb0821f62d..bd43fbeb2c 100644 --- a/anda/system/limine/update.rhai +++ b/anda/system/limine/update.rhai @@ -1,3 +1 @@ -import "andax/bump_extras.rhai" as bump; - -rpm.version(bump::codeberg("Limine/Limine")); +rpm.version(gh("limine-bootloader/limine")); diff --git a/anda/system/logitech-rs50-linux-driver/akmod/anda.hcl b/anda/system/logitech-rs50-linux-driver/akmod/anda.hcl new file mode 100644 index 0000000000..d2e96406cb --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/akmod/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "logitech-rs50-linux-driver-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/logitech-rs50-linux-driver/akmod/logitech-rs50-linux-driver-kmod.spec b/anda/system/logitech-rs50-linux-driver/akmod/logitech-rs50-linux-driver-kmod.spec new file mode 100644 index 0000000000..8f3b2dec01 --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/akmod/logitech-rs50-linux-driver-kmod.spec @@ -0,0 +1,71 @@ +# The reason why this package is a separate from the main one despite using the same sources +# is because akmods use the srpm to build the kmod package, and if the kmod package is included +# in the main package, akmods will reinstall the userspace package every time the kernel is updated. + +%if 0%{?fedora} +%global buildforkernels akmod +%global debug_package %{nil} +%endif + +%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0 +%global commitdate 20260504 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global modulename logitech-rs50-linux-driver + +Name: %{modulename}-kmod +Version: 1.0^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276) +License: GPL-2.0-only +URL: https://github.com/mescon/logitech-rs50-linux-driver +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +BuildArch: x86_64 +BuildRequires: gcc +BuildRequires: make +BuildRequires: kmodtool +Packager: Luan V. + +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Requires: kernel-devel +Conflicts: dkms-%{modulename} + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276). +This is a patched version of the hid-logitech-hidpp driver that adds RS50 support with force feedback (FF_CONSTANT) and exposes all G Hub settings via sysfs for runtime configuration. +Note: This driver replaces the in-kernel hid-logitech-hidpp module and continues to support all other Logitech HID++ devices (mice, keyboards, other racing wheels like the G29, G920, G923, etc.). + +%prep +# error out if there was something wrong with kmodtool +%{?kmodtool_check} + +# print kmodtool output for debugging purposes: +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%setup -q -c -n %{modulename}-%{commit} + +mv %{modulename}-%{commit}/mainline/* %{modulename}-%{commit}/ + +for kernel_version in %{?kernel_versions} ; do + cp -a %{modulename}-%{commit} _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions} ; do + make V=1 %{?_smp_mflags} -C ${kernel_version##*___} M=${PWD}/_kmod_build_${kernel_version%%___*} VERSION=v%{version} modules +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -D -m 755 _kmod_build_${kernel_version%%___*}/hid-logitech-hidpp.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/hid-logitech-hidpp.ko +done +%{?akmod_install} + +%changelog +* Fri May 01 2026 Luan V. - 1.0^20260430git.df7f149-2 +- fix spec warnings: add Packager tag and remove autochangelog diff --git a/anda/system/logitech-rs50-linux-driver/akmod/update.rhai b/anda/system/logitech-rs50-linux-driver/akmod/update.rhai new file mode 100644 index 0000000000..d55bf59bae --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/akmod/update.rhai @@ -0,0 +1,9 @@ + let c = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); +} diff --git a/anda/system/logitech-rs50-linux-driver/dkms/anda.hcl b/anda/system/logitech-rs50-linux-driver/dkms/anda.hcl new file mode 100644 index 0000000000..352e5771ae --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-logitech-rs50-linux-driver.spec" + } + labels { + updbranch = 1 + mock = 1 + } +} diff --git a/anda/system/logitech-rs50-linux-driver/dkms/dkms-logitech-rs50-linux-driver.spec b/anda/system/logitech-rs50-linux-driver/dkms/dkms-logitech-rs50-linux-driver.spec new file mode 100644 index 0000000000..b717e7a692 --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/dkms/dkms-logitech-rs50-linux-driver.spec @@ -0,0 +1,67 @@ +%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0 +%global debug_package %{nil} +%global modulename logitech-rs50-linux-driver +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260504 + +Name: dkms-%{modulename} +Version: 1.0^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276) +License: GPL-2.0-only +URL: https://github.com/mescon/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Source1: dkms.conf +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +BuildArch: x86_64 +Provides: %{modulename}-kmod +Packager: Luan V. + +%description +Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276). +This is a patched version of the hid-logitech-hidpp driver that adds RS50 support with force feedback (FF_CONSTANT) and exposes all G Hub settings via sysfs for runtime configuration. +Note: This driver replaces the in-kernel hid-logitech-hidpp module and continues to support all other Logitech HID++ devices (mice, keyboards, other racing wheels like the G29, G920, G923, etc.). + +%package akmod-modules +Summary: Modules for Akmods +Requires: akmod-%{name} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} +pushd mainline +mkdir build +cp %{SOURCE1} ./dkms.conf +sed -i -e 's/__VERSION_STRING/%{version}/g' dkms.conf +popd + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version} +cp -fr ./mainline/* %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} + +%changelog +* Sun May 03 2026 Luan V. - 1.0^20260502git.7296717-2 +- ship our own dkms.conf, allowing full cleanup on uninstall +* Fri May 01 2026 Luan V. - 1.0^20260430git.df7f149-2 +- fix build due to upstream changes +- resolve spec warnings: add Packager tag, remove autochangelog diff --git a/anda/system/logitech-rs50-linux-driver/dkms/dkms.conf b/anda/system/logitech-rs50-linux-driver/dkms/dkms.conf new file mode 100644 index 0000000000..4ba86e19c6 --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/dkms/dkms.conf @@ -0,0 +1,10 @@ +PACKAGE_NAME="logitech-rs50-linux-driver" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +MAKE[0]="'make' KVERSION=$kernelver" +CLEAN="make clean" + +BUILT_MODULE_NAME[0]="hid-logitech-hidpp" +DEST_MODULE_NAME[0]="hid-logitech-hidpp" +DEST_MODULE_LOCATION[0]="/extra" diff --git a/anda/system/logitech-rs50-linux-driver/dkms/update.rhai b/anda/system/logitech-rs50-linux-driver/dkms/update.rhai new file mode 100644 index 0000000000..d55bf59bae --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/dkms/update.rhai @@ -0,0 +1,9 @@ + let c = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); +} diff --git a/anda/system/logitech-rs50-linux-driver/kmod-common/README.terra.md b/anda/system/logitech-rs50-linux-driver/kmod-common/README.terra.md new file mode 100644 index 0000000000..c7816b651e --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/kmod-common/README.terra.md @@ -0,0 +1,4 @@ +# proton trueforce setup +the original tools/install-tf-shim.sh is available on your path as logi-rs50-proton-setup, +it will search for the logitech dlls at `/var/lib/logitech-rs50-linux-driver/`. +for which files to place there and how to get them, see README.md diff --git a/anda/system/logitech-rs50-linux-driver/kmod-common/anda.hcl b/anda/system/logitech-rs50-linux-driver/kmod-common/anda.hcl new file mode 100644 index 0000000000..e27e61ff9d --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "logitech-rs50-linux-driver.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/logitech-rs50-linux-driver/kmod-common/com.github.rs50.metainfo.xml b/anda/system/logitech-rs50-linux-driver/kmod-common/com.github.rs50.metainfo.xml new file mode 100644 index 0000000000..4ae8b777a3 --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/kmod-common/com.github.rs50.metainfo.xml @@ -0,0 +1,26 @@ + + com.github.rs50 + logitech rs50 linux driver + logitech-rs50-linux-driver +

Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276). + +

+ Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276). + This is a patched version of the hid-logitech-hidpp driver that adds RS50 support with force feedback (FF_CONSTANT) and exposes all G Hub settings via sysfs for runtime configuration. + Note: This driver replaces the in-kernel hid-logitech-hidpp module and continues to support all other Logitech HID++ devices (mice, keyboards, other racing wheels like the G29, G920, G923, etc.). +

+
+ https://github.com/mescon/logitech-rs50-linux-driver + CC0-1.0 + + GPL-2.0-only + + + mescon + + + + + usb:v046dpc276* + + diff --git a/anda/system/logitech-rs50-linux-driver/kmod-common/logi-rs50-proton-setup.sh b/anda/system/logitech-rs50-linux-driver/kmod-common/logi-rs50-proton-setup.sh new file mode 100644 index 0000000000..dd284ce8bb --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/kmod-common/logi-rs50-proton-setup.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +exec /usr/share/logitech-rs50-linux-driver/tools/install-tf-shim.sh "$@" diff --git a/anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec b/anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec new file mode 100644 index 0000000000..ca025a61ba --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/kmod-common/logitech-rs50-linux-driver.spec @@ -0,0 +1,84 @@ +%global commit 1635bbd0ea044d1c3681b1843b5a0f3e878d0ed0 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260504 + +Name: logitech-rs50-linux-driver +Version: 1.0^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276) +License: GPL-2.0-only +URL: https://github.com/mescon/%{name} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Source1: com.github.rs50.metainfo.xml +Source2: logi-rs50-proton-setup.sh +Source3: README.terra.md +BuildRequires: systemd-rpm-macros +Recommends: trueforce-sdk +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Packager: Luan V. +BuildArch: noarch + +%description +Linux kernel driver for the Logitech RS50 Direct Drive Wheel Base (USB ID 046d:c276). +This is a patched version of the hid-logitech-hidpp driver that adds RS50 support with force feedback (FF_CONSTANT) and exposes all G Hub settings via sysfs for runtime configuration. +Note: This driver replaces the in-kernel hid-logitech-hidpp module and continues to support all other Logitech HID++ devices (mice, keyboards, other racing wheels like the G29, G920, G923, etc.). + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{name}-%{commit} + +echo hid-logitech-hidpp > %{name}.conf +mv sdk/README.md README-SDK.md +cp %{SOURCE3} README.terra.md + +%install +install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/com.github.rs50.metainfo.xml + +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_datadir}/%{name}/tools +mkdir -p %{buildroot}%{_sharedstatedir}/%{name}/Logi +ln -sr %_sharedstatedir/%{name} %{buildroot}%{_datadir}/%{name}/sdk + +install -Dm755 tools/install-tf-shim.sh %{buildroot}%{_datadir}/%{name}/tools/ +install -Dm755 %{SOURCE2} %{buildroot}%{_bindir}/logi-rs50-proton-setup + +install -Dm644 udev/70-logitech-rs50.rules -t %{buildroot}%{_udevrulesdir}/ +install -D -m644 userspace/libtrueforce/udev/99-logitech-rs50-trueforce.rules %{buildroot}%{_udevrulesdir}/70-logitech-rs50-trueforce.rules + +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%posttrans +### Skip triggering if udevd isn't accessible +if [ -S /run/udev/control ]; then + /usr/bin/udevadm control --reload + /usr/bin/udevadm trigger --subsystem-match=hidraw +fi + + +%files +%doc README.terra.md README.md README-SDK.md CHANGELOG.md rs-wheel-hub-button-layout.png docs/* +%{_datadir}/metainfo/com.github.rs50.metainfo.xml +%{_udevrulesdir}/70-logitech-rs50.rules +%{_udevrulesdir}/70-logitech-rs50-trueforce.rules +%{_datadir}/%{name}/tools/* +%{_bindir}/logi-rs50-proton-setup +%{_datadir}/%{name}/sdk +%dir %{_sharedstatedir}/%{name}/Logi + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Fri May 01 2026 Luan V. - 1.0^20260430git.df7f149-2 +- add logi-rs50-proton-setup script together with a readme which explains where to put the necessary files. +- and add udev rules together with a posttrans script to reload and trigger devices on install +- fix spec warnings: add Packager tag and remove autochangelog diff --git a/anda/system/logitech-rs50-linux-driver/kmod-common/update.rhai b/anda/system/logitech-rs50-linux-driver/kmod-common/update.rhai new file mode 100644 index 0000000000..82cd36e3e9 --- /dev/null +++ b/anda/system/logitech-rs50-linux-driver/kmod-common/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("mescon/logitech-rs50-linux-driver")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); +} diff --git a/anda/system/nct6687d/akmod/anda.hcl b/anda/system/nct6687d/akmod/anda.hcl new file mode 100644 index 0000000000..644fad7c33 --- /dev/null +++ b/anda/system/nct6687d/akmod/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "nct6687d-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/nct6687d/akmod/nct6687d-kmod.spec b/anda/system/nct6687d/akmod/nct6687d-kmod.spec new file mode 100644 index 0000000000..e934a502e4 --- /dev/null +++ b/anda/system/nct6687d/akmod/nct6687d-kmod.spec @@ -0,0 +1,69 @@ +# The reason why this package is a separate from the main one despite using the same sources +# is because akmods use the srpm to build the kmod package, and if the kmod package is included +# in the main package, akmods will reinstall the userspace package every time the kernel is updated. + +%if 0%{?fedora} +%global buildforkernels akmod +%global debug_package %{nil} +%endif + +%global commit cedda8bff09a4083e07414fb80fdc3901e7ab544 +%global commitdate 20260411 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global modulename nct6687d + +Name: %{modulename}-kmod +Version: 1.0^%{commitdate}git.%{shortcommit} +Release: 2%{?dist} +Summary: Linux kernel driver for the NCT6687D hardware monitoring chip +License: GPL-2.0-or-later +URL: https://github.com/Fred78290/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +BuildArch: x86_64 +BuildRequires: gcc +BuildRequires: make +BuildRequires: kmodtool +BuildRequires: elfutils-libelf-devel + +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Requires: kernel-devel +Conflicts: dkms-%{modulename} + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Linux kernel driver for the NCT6687D hardware monitoring chip. +This kernel module permit to recognize the chipset Nuvoton NCT6687-R in lm-sensors package. This sensor is present on some B550 motherboard such as MSI or ASUS. +The implementation is minimalist and was done by reverse coding of Windows 10 source code from LibreHardwareMonitor + +%prep +# error out if there was something wrong with kmodtool +%{?kmodtool_check} + +# print kmodtool output for debugging purposes: +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%setup -q -c -n %{modulename}-%{commit} + +for kernel_version in %{?kernel_versions} ; do + cp -a %{modulename}-%{commit} _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions}; do + make V=0 %{?_smp_mflags} -C "${kernel_version##*___}" M=${PWD}/_kmod_build_${kernel_version%%___*} +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -D -m 755 _kmod_build_${kernel_version%%___*}/*.ko %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + chmod a+x %{buildroot}%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/*.ko +done +%{?akmod_install} + +%changelog +* Sat Apr 11 2026 Luan Oliveira - 1.0^20260411git.cedda8b-1 +- Initial package diff --git a/anda/system/nct6687d/akmod/update.rhai b/anda/system/nct6687d/akmod/update.rhai new file mode 100644 index 0000000000..f651cd8bc4 --- /dev/null +++ b/anda/system/nct6687d/akmod/update.rhai @@ -0,0 +1,9 @@ + let c = sh("cat anda/system/nct6687d/kmod-common/nct6687d.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/nct6687d/kmod-common/nct6687d.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); +} diff --git a/anda/system/nct6687d/dkms/anda.hcl b/anda/system/nct6687d/dkms/anda.hcl new file mode 100644 index 0000000000..eda27e4852 --- /dev/null +++ b/anda/system/nct6687d/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-nct6687d.spec" + } + labels { + updbranch = 1 + mock = 1 + } +} diff --git a/anda/system/nct6687d/dkms/dkms-nct6687d.spec b/anda/system/nct6687d/dkms/dkms-nct6687d.spec new file mode 100644 index 0000000000..73ac69e8c4 --- /dev/null +++ b/anda/system/nct6687d/dkms/dkms-nct6687d.spec @@ -0,0 +1,61 @@ +%global commit cedda8bff09a4083e07414fb80fdc3901e7ab544 +%global debug_package %{nil} +%global modulename nct6687d +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260411 + +Name: dkms-%{modulename} +Version: 1.0^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Linux kernel driver for the NCT6687D hardware monitoring chip +License: GPL-2.0-or-later +URL: https://github.com/Fred78290/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Patch0: dkms-version.patch +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +BuildArch: x86_64 +Provides: %{modulename}-kmod + +%description +Linux kernel driver for the NCT6687D hardware monitoring chip. +This kernel module permit to recognize the chipset Nuvoton NCT6687-R in lm-sensors package. This sensor is present on some B550 motherboard such as MSI or ASUS. +The implementation is minimalist and was done by reverse coding of Windows 10 source code from LibreHardwareMonitor + +%package akmod-modules +Summary: Modules for Akmods +Requires: akmod-%{name} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} +sed -i -e 's/__VERSION_STRING/%{version}/g' dkms.conf + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version} +cp -fr ./ %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} + + + +%changelog +* Sat Apr 11 2026 Luan Oliveira - 1.0^20260411git.cedda8b-1 +- Initial package diff --git a/anda/system/nct6687d/dkms/dkms-version.patch b/anda/system/nct6687d/dkms/dkms-version.patch new file mode 100644 index 0000000000..fe96fc77a8 --- /dev/null +++ b/anda/system/nct6687d/dkms/dkms-version.patch @@ -0,0 +1,11 @@ +diff --git a/dkms.conf b/dkms.conf +index d8fc2b1..d315428 100644 +--- a/dkms.conf ++++ b/dkms.conf +@@ -1,5 +1,5 @@ + PACKAGE_NAME="nct6687d" +-PACKAGE_VERSION="1" ++PACKAGE_VERSION="__VERSION_STRING" + MAKE[0]="make kver=${kernelver} dkms/build" + BUILT_MODULE_NAME[0]="nct6687" + DEST_MODULE_LOCATION[0]="/kernel/drivers/hwmon/" diff --git a/anda/system/nct6687d/dkms/update.rhai b/anda/system/nct6687d/dkms/update.rhai new file mode 100644 index 0000000000..f651cd8bc4 --- /dev/null +++ b/anda/system/nct6687d/dkms/update.rhai @@ -0,0 +1,9 @@ + let c = sh("cat anda/system/nct6687d/kmod-common/nct6687d.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/nct6687d/kmod-common/nct6687d.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); +} diff --git a/anda/system/nct6687d/kmod-common/anda.hcl b/anda/system/nct6687d/kmod-common/anda.hcl new file mode 100644 index 0000000000..2a426355a3 --- /dev/null +++ b/anda/system/nct6687d/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "nct6687d.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/nct6687d/kmod-common/com.github.nct6687d.metainfo.xml b/anda/system/nct6687d/kmod-common/com.github.nct6687d.metainfo.xml new file mode 100644 index 0000000000..0e56f8305d --- /dev/null +++ b/anda/system/nct6687d/kmod-common/com.github.nct6687d.metainfo.xml @@ -0,0 +1,22 @@ + + com.github.nct6687d + NCT6687D Kernel module + nct6687d + Linux kernel driver for the NCT6687D hardware monitoring chip. + +

+This kernel module permit to recognize the chipset Nuvoton NCT6687-R in lm-sensors package. This sensor is present on some B550 motherboard such as MSI or ASUS. + +The implementation is minimalist and was done by reverse coding of Windows 10 source code from LibreHardwareMonitor. +

+
+ https://github.com/Fred78290/nct6687d + CC0-1.0 + + GPL-2.0-or-later + + + Fred78290 + + +
diff --git a/anda/system/nct6687d/kmod-common/nct6687d.spec b/anda/system/nct6687d/kmod-common/nct6687d.spec new file mode 100644 index 0000000000..49d2bad8a1 --- /dev/null +++ b/anda/system/nct6687d/kmod-common/nct6687d.spec @@ -0,0 +1,49 @@ +%global commit cedda8bff09a4083e07414fb80fdc3901e7ab544 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260411 + +Name: nct6687d +Version: 1.0^%{commitdate}git.%{shortcommit} +Release: 2%{?dist} +Summary: Linux kernel driver for the NCT6687D hardware monitoring chip +License: GPL-2.0-or-later +URL: https://github.com/Fred78290/%{name} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Source1: com.github.nct6687d.metainfo.xml +BuildRequires: systemd-rpm-macros +BuildRequires: anda-srpm-macros +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Obsoletes: %{name}-akmods-modules < %{evr} +BuildArch: noarch + +%description +Linux kernel driver for the NCT6687D hardware monitoring chip. +This kernel module permit to recognize the chipset Nuvoton NCT6687-R in lm-sensors package. This sensor is present on some B550 motherboard such as MSI or ASUS. +The implementation is minimalist and was done by reverse coding of Windows 10 source code from LibreHardwareMonitor + +%prep +%autosetup -p1 -n %{name}-%{commit} + +echo nct6687 > %{name}.conf +echo "blacklist nct6683" > nct6683_blacklist.conf + +%install +install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/com.github.nct6687d.metainfo.xml + +# Akmods modules +install -Dm 0644 %{name}.conf -t %{buildroot}%{_modulesloaddir} +install -Dm 0644 nct6683_blacklist.conf -t %{buildroot}%{_modprobedir} + +%files +%license LICENSE +%doc README.md images/* TESTING_RESULTS.md +%{_modprobedir}/nct6683_blacklist.conf +%{_datadir}/metainfo/com.github.nct6687d.metainfo.xml +%{_modulesloaddir}/%{name}.conf + +%changelog +* Wed May 06 2026 Luan Oliveira - 1.0^20260411git.cedda8b-2 +- fix module load file +* Sat Apr 11 2026 Luan Oliveira - 1.0^20260411git.cedda8b-1 +- Initial package diff --git a/anda/system/nct6687d/kmod-common/update.rhai b/anda/system/nct6687d/kmod-common/update.rhai new file mode 100644 index 0000000000..03c78a4cb4 --- /dev/null +++ b/anda/system/nct6687d/kmod-common/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("Fred78290/nct6687d")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); +} diff --git a/anda/system/new-lg4ff/akmod/anda.hcl b/anda/system/new-lg4ff/akmod/anda.hcl new file mode 100644 index 0000000000..1baad1eca9 --- /dev/null +++ b/anda/system/new-lg4ff/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "new-lg4ff-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/new-lg4ff/akmod/new-lg4ff-kmod.spec b/anda/system/new-lg4ff/akmod/new-lg4ff-kmod.spec new file mode 100644 index 0000000000..7041a5ea35 --- /dev/null +++ b/anda/system/new-lg4ff/akmod/new-lg4ff-kmod.spec @@ -0,0 +1,55 @@ +%global commit 2092db19f7b40854e0427a1b2e39eda9f8d0c3cd +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250528 +%global ver 0.5.0 +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename new-lg4ff + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Logitech force feedback kernel module +License: GPL-2.0-only +URL: https://github.com/berarma/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +BuildRequires: kmodtool +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-%{modulename} + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Experimental Logitech force feedback module for Linux. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{commit} + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr Kbuild Makefile *.c *.h usbhid _kmod_build_${kernel_version%%___*}/ +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/new-lg4ff/akmod/update.rhai b/anda/system/new-lg4ff/akmod/update.rhai new file mode 100644 index 0000000000..3b39f52224 --- /dev/null +++ b/anda/system/new-lg4ff/akmod/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/new-lg4ff/kmod-common/new-lg4ff.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/new-lg4ff/kmod-common/new-lg4ff.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/new-lg4ff/kmod-common/new-lg4ff.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/new-lg4ff/dkms/anda.hcl b/anda/system/new-lg4ff/dkms/anda.hcl new file mode 100644 index 0000000000..9ec986d3be --- /dev/null +++ b/anda/system/new-lg4ff/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-new-lg4ff.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/new-lg4ff/dkms/dkms-new-lg4ff.conf b/anda/system/new-lg4ff/dkms/dkms-new-lg4ff.conf new file mode 100644 index 0000000000..1c8806a445 --- /dev/null +++ b/anda/system/new-lg4ff/dkms/dkms-new-lg4ff.conf @@ -0,0 +1,10 @@ +PACKAGE_NAME="new-lg4ff" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +MAKE[0]="'make' KVERSION=$kernelver" +CLEAN="make clean" + +BUILT_MODULE_NAME[0]="hid-logitech-new" +DEST_MODULE_NAME[0]="hid-logitech" +DEST_MODULE_LOCATION[0]="/extra" diff --git a/anda/system/new-lg4ff/dkms/dkms-new-lg4ff.spec b/anda/system/new-lg4ff/dkms/dkms-new-lg4ff.spec new file mode 100644 index 0000000000..954f84b65f --- /dev/null +++ b/anda/system/new-lg4ff/dkms/dkms-new-lg4ff.spec @@ -0,0 +1,58 @@ +%global commit 2092db19f7b40854e0427a1b2e39eda9f8d0c3cd +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250528 +%global ver 0.5.0 +%global debug_package %{nil} +%global modulename new-lg4ff + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Logitech force feedback kernel module (DKMS) +License: GPL-2.0-only +URL: https://github.com/berarma/%{modulename} +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: %{name}.conf +Source2: no-weak-modules.conf +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod +BuildArch: noarch + +%description +Experimental Logitech force feedback module for Linux. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + +cp -f %{SOURCE1} dkms.conf +sed -i -e 's/__VERSION_STRING/%{version}/g' dkms.conf + +%build + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr Kbuild Makefile *.c *.h usbhid dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/new-lg4ff/dkms/no-weak-modules.conf b/anda/system/new-lg4ff/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/new-lg4ff/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/new-lg4ff/dkms/update.rhai b/anda/system/new-lg4ff/dkms/update.rhai new file mode 100644 index 0000000000..3b39f52224 --- /dev/null +++ b/anda/system/new-lg4ff/dkms/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/new-lg4ff/kmod-common/new-lg4ff.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/new-lg4ff/kmod-common/new-lg4ff.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/new-lg4ff/kmod-common/new-lg4ff.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/new-lg4ff/kmod-common/anda.hcl b/anda/system/new-lg4ff/kmod-common/anda.hcl new file mode 100644 index 0000000000..c34afaa94b --- /dev/null +++ b/anda/system/new-lg4ff/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "new-lg4ff.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/new-lg4ff/kmod-common/new-lg4ff.spec b/anda/system/new-lg4ff/kmod-common/new-lg4ff.spec new file mode 100644 index 0000000000..dd7a6e175c --- /dev/null +++ b/anda/system/new-lg4ff/kmod-common/new-lg4ff.spec @@ -0,0 +1,47 @@ +%global commit 2092db19f7b40854e0427a1b2e39eda9f8d0c3cd +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250528 +%global ver 0.5.0 + +Name: new-lg4ff +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Logitech force feedback driver common files +License: GPL-2.0-only +URL: https://github.com/berarma/%{name} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description +Experimental Logitech force feedback module for Linux. This package contains +common files shared between the akmod and dkms variants. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{name}-%{commit} + +echo hid-logitech-new > %{name}.conf + +%install +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE +%doc README.md + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/new-lg4ff/kmod-common/update.rhai b/anda/system/new-lg4ff/kmod-common/update.rhai new file mode 100644 index 0000000000..4bc998ce80 --- /dev/null +++ b/anda/system/new-lg4ff/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("berarma/new-lg4ff")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let ver = gh("berarma/new-lg4ff"); + ver.crop(1); + rpm.global("ver", ver); +} diff --git a/anda/system/nvidia-580/compat-nvidia-repo/compat-nvidia-repo-580.spec b/anda/system/nvidia-580/compat-nvidia-repo/compat-nvidia-repo-580.spec index 6506ad6069..99446138bc 100644 --- a/anda/system/nvidia-580/compat-nvidia-repo/compat-nvidia-repo-580.spec +++ b/anda/system/nvidia-580/compat-nvidia-repo/compat-nvidia-repo-580.spec @@ -1,27 +1,26 @@ -Name: compat-nvidia-repo-580 -Version: 580.126.20 +Name: compat-nvidia-repo-580xx +Version: 580.159.03 Epoch: 3 -Release: 1%?dist +Release: 1%{?dist} Summary: Compatibility package required by official CUDA packages License: NVIDIA License URL: https://developer.nvidia.com/cuda-toolkit - -BuildArch: noarch - -Requires: nvidia-driver-580 >= %{?epoch:%{epoch}:}%{version} -Requires: nvidia-driver-580-cuda >= %{?epoch:%{epoch}:}%{version} -Requires: nvidia-driver-580-cuda-libs >= %{?epoch:%{epoch}:}%{version} -Requires: nvidia-driver-580-libs >= %{?epoch:%{epoch}:}%{version} -Requires: nvidia-580-kmod >= %{?epoch:%{epoch}:}%{version} -Requires: nvidia-settings-580 >= %{?epoch:%{epoch}:}%{version} - -Provides: cuda-drivers-580 >= %{?epoch:%{epoch}:}%{version} -Provides: nvidia-open-580 >= %{?epoch:%{epoch}:}%{version} +Requires: nvidia-driver-580xx >= %{?epoch:%{epoch}:}%{version} +Requires: nvidia-driver-580xx-cuda >= %{?epoch:%{epoch}:}%{version} +Requires: nvidia-driver-580xx-cuda-libs >= %{?epoch:%{epoch}:}%{version} +Requires: nvidia-driver-580xx-libs >= %{?epoch:%{epoch}:}%{version} +Requires: nvidia-580xx-kmod >= %{?epoch:%{epoch}:}%{version} +Requires: nvidia-settings-580xx >= %{?epoch:%{epoch}:}%{version} +Provides: cuda-drivers-580xx >= %{?epoch:%{epoch}:}%{version} +Provides: nvidia-open-580xx >= %{?epoch:%{epoch}:}%{version} # Add any versioned provides: Provides: cuda-drivers-560 >= %{?epoch:%{epoch}:}%{version} Provides: cuda-drivers-565 >= %{?epoch:%{epoch}:}%{version} Provides: nvidia-open-560 >= %{?epoch:%{epoch}:}%{version} Provides: nvidia-open-565 >= %{?epoch:%{epoch}:}%{version} +Provides: compat-nvidia-repo-580 = %{evr} +BuildArch: noarch +Packager: Terra Packaging Team %description Nvidia drivers metapackage required by official CUDA packages. It pulls in all @@ -31,4 +30,5 @@ Nvidia driver components. # Without an empty files section the package is not created. %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-3 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/dkms-nvidia/0001-Enable-atomic-kernel-modesetting-by-default.patch b/anda/system/nvidia-580/dkms-nvidia/0001-Enable-atomic-kernel-modesetting-by-default.patch new file mode 100644 index 0000000000..b17015cd83 --- /dev/null +++ b/anda/system/nvidia-580/dkms-nvidia/0001-Enable-atomic-kernel-modesetting-by-default.patch @@ -0,0 +1,42 @@ +From 60d1ddc17835226ec67ed1bc1c28524e3bb6e151 Mon Sep 17 00:00:00 2001 +From: Peter Jung +Date: Sun, 20 Apr 2025 18:13:22 +0200 +Subject: [PATCH 1/8] Enable atomic kernel modesetting by default + +This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that +hunk can be removed from this patch. + +Signed-off-by: Peter Jung +--- + nvidia-drm/nvidia-drm-linux.c | 2 +- + nvidia-drm/nvidia-drm-os-interface.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git an/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c +index 3cb1815d..209cb469 100644 +--- a/nvidia-drm/nvidia-drm-linux.c ++++ b/nvidia-drm/nvidia-drm-linux.c +@@ -31,7 +31,7 @@ + + MODULE_PARM_DESC( + modeset, +- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))"); ++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)"); + module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400); + + #if defined(NV_DRM_FBDEV_AVAILABLE) +diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c +index 7617476d..f22afd77 100644 +--- a/nvidia-drm/nvidia-drm-os-interface.c ++++ b/nvidia-drm/nvidia-drm-os-interface.c +@@ -41,7 +41,7 @@ + #include + #endif + +-bool nv_drm_modeset_module_param = false; ++bool nv_drm_modeset_module_param = true; + bool nv_drm_fbdev_module_param = true; + + void *nv_drm_calloc(size_t nmemb, size_t size) +-- +2.49.0.391.g4bbb303af6 diff --git a/anda/system/nvidia-580/dkms-nvidia/dkms-nvidia-580.spec b/anda/system/nvidia-580/dkms-nvidia/dkms-nvidia-580.spec index 4bd1bda5f8..76cf68b281 100644 --- a/anda/system/nvidia-580/dkms-nvidia/dkms-nvidia-580.spec +++ b/anda/system/nvidia-580/dkms-nvidia/dkms-nvidia-580.spec @@ -3,24 +3,29 @@ # RPM inexplicably thinks this package deps on a version of libcrypto it does not? %global __requires_exclude (libcrypto\\.so\\.1\\.1.*)$ %global debug_package %{nil} -%global modulename nvidia +%global modulename nvidia-580xx -Name: dkms-%{modulename}-580 -Version: 580.119.02 -Release: 1%?dist +Name: dkms-%{modulename} +Version: 580.159.03 +Release: 1%{?dist} Summary: NVIDIA display driver kernel module Epoch: 3 License: NVIDIA License URL: https://www.nvidia.com/object/unix.html Source0: https://download.nvidia.com/XFree86/Linux-%{_arch}/%{version}/NVIDIA-Linux-%{_arch}-%{version}.run -Source1: dkms-%{modulename}.conf +Source1: dkms-nvidia.conf +Patch0: 0001-Enable-atomic-kernel-modesetting-by-default.patch BuildRequires: sed -Provides: %{modulename}-580-kmod = %{?epoch:%{epoch}:}%{version} -Requires: %{modulename}-580-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-kmod-common = %{?epoch:%{epoch}:}%{version} Requires: dkms -Conflicts: akmod-nvidia +Provides: %{modulename}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: nvidia-580-kmod = %{?epoch:%{epoch}:}%{version} +Provides: dkms-nvidia-580 = %{evr} +Conflicts: akmod-nvidia-580xx +Conflicts: nvidia-kmod # Unlike most DKMS packages, this package is NOT noarch! ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description This package provides the proprietary NVIDIA kernel driver modules. @@ -28,7 +33,10 @@ This package provides the proprietary NVIDIA kernel driver modules. %prep sh %{SOURCE0} -x --target dkms-nvidia-%{version}-%{_arch} %setup -T -D -n dkms-nvidia-%{version}-%{_arch} + +pushd kernel-open %autopatch -p1 +popd cp -f %{SOURCE1} dkms.conf @@ -59,4 +67,5 @@ fi %{_usrsrc}/%{modulename}-%{version} %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-1 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/dkms-nvidia/update.rhai b/anda/system/nvidia-580/dkms-nvidia/update.rhai index ea0b60bd3d..329db7e5d1 100644 --- a/anda/system/nvidia-580/dkms-nvidia/update.rhai +++ b/anda/system/nvidia-580/dkms-nvidia/update.rhai @@ -1,3 +1,3 @@ import "andax/bump_extras.rhai" as bump; -rpm.version(bump::madoguchi("nvidia-580-kmod-common", labels.branch)); +rpm.version(bump::madoguchi("nvidia-580xx-kmod-common", labels.branch)); diff --git a/anda/system/nvidia-580/nvidia-driver/nvidia-driver-580.spec b/anda/system/nvidia-580/nvidia-driver/nvidia-driver-580.spec index e4ef830e26..7b18035672 100644 --- a/anda/system/nvidia-580/nvidia-driver/nvidia-driver-580.spec +++ b/anda/system/nvidia-580/nvidia-driver/nvidia-driver-580.spec @@ -10,15 +10,13 @@ %global _systemd_util_dir %{_prefix}/lib/systemd %endif -Name: %{real_name}-580 -Version: 580.126.20 -Release: 1%?dist +Name: %{real_name}-580xx +Version: 580.159.03 +Release: 1%{?dist} Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards Epoch: 3 License: NVIDIA License URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: %{ix86} x86_64 aarch64 - %dnl Source0: %{name}-%{version}-i386.tar.xz %dnl Source1: %{name}-%{version}-x86_64.tar.xz %dnl Source2: %{name}-%{version}-aarch64.tar.xz @@ -26,12 +24,12 @@ Source8: 70-%{real_name}.preset Source9: 70-%{real_name}-cuda.preset Source10: 10-nvidia.conf Source13: alternate-install-present - Source40: com.nvidia.driver.metainfo.xml Source41: parse-supported-gpus.py Source42: com.nvidia.driver.png - Source99: nvidia-generate-tarballs.sh +ExclusiveArch: %{ix86} x86_64 aarch64 +Packager: Terra Packaging Team %ifarch x86_64 aarch64 BuildRequires: libappstream-glib @@ -55,6 +53,8 @@ Conflicts: nvidia-x11-drv-470xx Conflicts: xorg-x11-drv-nvidia Conflicts: xorg-x11-drv-nvidia-470xx +Provides: %{real_name}-580 = %{evr} + %description This package provides the most recent NVIDIA display driver which allows for hardware accelerated rendering with recent NVIDIA chipsets. @@ -74,7 +74,7 @@ Requires: libglvnd-egl%{?_isa} >= 1.0 Requires: libglvnd-gles%{?_isa} >= 1.0 Requires: libglvnd-glx%{?_isa} >= 1.0 Requires: libglvnd-opengl%{?_isa} >= 1.0 -Requires: libnvidia-ml-580%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libnvidia-ml-580xx%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: vulkan-loader %if 0%{?fedora} %ifarch x86_64 @@ -82,8 +82,8 @@ Requires: (%{name}-libs(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} %endif %endif # dlopened -Requires: libnvidia-gpucomp-580%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libnvidia-ml-580%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libnvidia-gpucomp-580xx%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libnvidia-ml-580xx%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-cuda-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Conflicts: nvidia-x11-drv-libs @@ -91,6 +91,8 @@ Conflicts: nvidia-x11-drv-470xx-libs Conflicts: xorg-x11-drv-nvidia-libs Conflicts: xorg-x11-drv-nvidia-470xx-libs +Provides: %{real_name}-580-libs = %{evr} + %description libs This package provides the shared libraries for %{name}. @@ -98,20 +100,21 @@ This package provides the shared libraries for %{name}. Summary: Libraries for %{name}-cuda Provides: %{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: %{name}-devel < %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libnvidia-ml-580 = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: %{real_name}-580-cuda-libs = %{evr} +Requires: libnvidia-ml-580xx = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-cuda-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %ifarch x86_64 aarch64 -Requires: libnvidia-cfg-580 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libnvidia-cfg-580xx = %{?epoch:%{epoch}:}%{version}-%{release} %endif %if 0%{?fedora} %ifarch x86_64 -Requires: (%{name}-cuda-libs-580(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) +Requires: (%{name}-cuda-libs-580xx(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) %endif %endif # dlopened: -Requires: libnvidia-gpucomp-580%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Requires: libnvidia-ml-580 = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libnvidia-gpucomp-580xx%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libnvidia-ml-580xx = %{?epoch:%{epoch}:}%{version}-%{release} Conflicts: xorg-x11-drv-nvidia-cuda-libs Conflicts: xorg-x11-drv-nvidia-470xx-cuda-libs @@ -119,48 +122,51 @@ Conflicts: xorg-x11-drv-nvidia-470xx-cuda-libs %description cuda-libs This package provides the CUDA libraries for %{name}-cuda. -%package -n libnvidia-fbc-580 +%package -n libnvidia-fbc-580xx Summary: NVIDIA OpenGL-based Framebuffer Capture libraries -Provides: %{real_name}-NvFBCOpenGL-580 = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: %{real_name}-NvFBCOpenGL-580xx = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: %{real_name}-NvFBCOpenGL < %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libnvidia-fbc-580 = %{evr} %if 0%{?fedora} %ifarch x86_64 -Requires: (libnvidia-fbc-580(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) +Requires: (libnvidia-fbc-580xx(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) %endif %endif # dlopened: -Requires: %{name}-cuda-libs-580%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-cuda-libs-580xx%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -%description -n libnvidia-fbc-580 +%description -n libnvidia-fbc-580xx This library provides a high performance, low latency interface to capture and optionally encode the composited framebuffer of an X screen. NvFBC are private APIs that are only available to NVIDIA approved partners for use in remote graphics scenarios. -%package -n libnvidia-gpucomp-580 +%package -n libnvidia-gpucomp-580xx Summary: NVIDIA library for shader compilation (nvgpucomp) %if 0%{?fedora} %ifarch x86_64 -Requires: (libnvidia-gpucomp-580(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) +Requires: (libnvidia-gpucomp-580xx(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) %endif %endif +Provides: libnvidia-gpucomp-580 = %{evr} -%description -n libnvidia-gpucomp-580 +%description -n libnvidia-gpucomp-580xx This package contains the private libnvidia-gpucomp runtime library which is used by other driver components. -%package -n libnvidia-ml-580 +%package -n libnvidia-ml-580xx Summary: NVIDIA Management Library (NVML) -Provides: cuda-nvml-580%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: %{real_name}-NVML-580 = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: cuda-nvml-580xx%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: %{real_name}-NVML-580xx = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: libnvidia-ml-580 = %{evr} %if 0%{?fedora} %ifarch x86_64 -Requires: (libnvidia-ml-580(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) +Requires: (libnvidia-ml-580xx(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) %endif %endif Obsoletes: %{real_name}-NVML < %{?epoch:%{epoch}:}%{version}-%{release} -%description -n libnvidia-ml-580 +%description -n libnvidia-ml-580xx A C-based API for monitoring and managing various states of the NVIDIA GPU devices. It provides a direct access to the queries and commands exposed via nvidia-smi. The run-time version of NVML ships with the NVIDIA display driver, @@ -170,38 +176,41 @@ to be a platform for building 3rd party applications. %ifarch x86_64 aarch64 -%package -n libnvidia-cfg-580 +%package -n libnvidia-cfg-580xx Summary: NVIDIA Config public interface (nvcfg) +Provides: libnvidia-cfg-580 = %{evr} -%description -n libnvidia-cfg-580 +%description -n libnvidia-cfg-580xx This package contains the private libnvidia-cfg runtime library which is used by other driver components. %package cuda Summary: CUDA integration for %{name} -Requires: %{name}-cuda-libs-580%{?_isa} = %{?epoch:%{epoch}:}%{version} -Requires: nvidia-580-kmod-common = %{?epoch:%{epoch}:}%{version} -Requires: nvidia-persistenced-580 = %{?epoch:%{epoch}:}%{version} +Requires: %{name}-cuda-libs-580xx%{?_isa} = %{?epoch:%{epoch}:}%{version} +Requires: nvidia-580xx-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: nvidia-persistenced-580xx = %{?epoch:%{epoch}:}%{version} Requires: opencl-filesystem Requires: ocl-icd Conflicts: xorg-x11-drv-nvidia-cuda Conflicts: xorg-x11-drv-nvidia-470xx-cuda +Provides: %{real_name}-580-cuda = %{evr} + %description cuda This package provides the CUDA integration components for %{name}. %if 0%{?fedora} || 0%{?rhel} < 10 -%package -n xorg-x11-nvidia-580 +%package -n xorg-x11-nvidia-580xx Summary: X.org X11 NVIDIA driver and extensions Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version} Requires: xorg-x11-server-Xorg%{?_isa} -Supplements: (%{real_name}-580 and xorg-x11-server-Xorg) - Conflicts: xorg-x11-drv-nvidia Conflicts: xorg-x11-drv-nvidia-470xx +Provides: xorg-x11-nvidia-580 = %{evr} +Supplements: (%{real_name}-580xx and xorg-x11-server-Xorg) -%description -n xorg-x11-nvidia-580 +%description -n xorg-x11-nvidia-580xx The NVIDIA X.org X11 driver and associated components. %endif @@ -414,13 +423,13 @@ appstream-util validate --nonet %{buildroot}%{_metainfodir}/com.nvidia.driver.me %endif %if 0%{?fedora} || 0%{?rhel} < 10 -%files -n xorg-x11-nvidia-580 +%files -n xorg-x11-nvidia-580xx %config(noreplace) %{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf %{_libdir}/xorg/modules/extensions/libglxserver_nvidia.so %{_libdir}/xorg/modules/drivers/nvidia_drv.so %endif -%files -n libnvidia-cfg-580 +%files -n libnvidia-cfg-580xx %{_libdir}/libnvidia-cfg.so.1 %{_libdir}/libnvidia-cfg.so.%{version} @@ -523,16 +532,17 @@ appstream-util validate --nonet %{buildroot}%{_metainfodir}/com.nvidia.driver.me %endif %endif -%files -n libnvidia-fbc-580 +%files -n libnvidia-fbc-580xx %{_libdir}/libnvidia-fbc.so.1 %{_libdir}/libnvidia-fbc.so.%{version} -%files -n libnvidia-gpucomp-580 +%files -n libnvidia-gpucomp-580xx %{_libdir}/libnvidia-gpucomp.so.%{version} -%files -n libnvidia-ml-580 +%files -n libnvidia-ml-580xx %{_libdir}/libnvidia-ml.so.1 %{_libdir}/libnvidia-ml.so.%{version} %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/nvidia-kmod-common/anda.hcl b/anda/system/nvidia-580/nvidia-kmod-common/anda.hcl index 57de07767d..415f0fd9e2 100644 --- a/anda/system/nvidia-580/nvidia-kmod-common/anda.hcl +++ b/anda/system/nvidia-580/nvidia-kmod-common/anda.hcl @@ -1,10 +1,10 @@ project "pkg" { + arches = ["x86_64"] rpm { spec = "nvidia-580-kmod-common.spec" } - arches = ["x86_64"] labels = { subrepo = "nvidia" - weekly = 4 + updbranch = 1 } } diff --git a/anda/system/nvidia-580/nvidia-kmod-common/nvidia-580-kmod-common.spec b/anda/system/nvidia-580/nvidia-kmod-common/nvidia-580-kmod-common.spec index c830e6f830..e83d827450 100644 --- a/anda/system/nvidia-580/nvidia-kmod-common/nvidia-580-kmod-common.spec +++ b/anda/system/nvidia-580/nvidia-kmod-common/nvidia-580-kmod-common.spec @@ -3,34 +3,33 @@ # gsp_*.bin: ELF 64-bit LSB executable, UCB RISC-V %global _binaries_in_noarch_packages_terminate_build 0 %global __brp_strip %{nil} +%global modulename nvidia-580xx -Name: nvidia-580-kmod-common -Version: 580.126.20 -Release: 1%?dist +Name: %{modulename}-kmod-common +Version: 580.159.03 +Release: 1%{?dist} Summary: Common file for NVIDIA's proprietary driver kernel modules Epoch: 3 License: NVIDIA License URL: http://www.nvidia.com/object/unix.html - -BuildArch: noarch - Source0: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}.run Source17: nvidia-boot-update Source18: nvidia-modeset.conf Source19: nvidia.conf Source20: 60-nvidia.rules Source21: 99-nvidia.conf - # UDev rule location (_udevrulesdir) and systemd macros: BuildRequires: systemd-rpm-macros - Requires: dracut -Requires: nvidia-modprobe-580 -Requires: nvidia-driver-580 = %{?epoch:%{epoch}:}%{version} -Requires: nvidia-driver-580-libs = %{?epoch:%{epoch}:}%{version} -Requires: nvidia-580-kmod = %{?epoch:%{epoch}:}%{version} -Provides: nvidia-580-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: nvidia-modprobe-580xx +Requires: nvidia-driver-580xx = %{?epoch:%{epoch}:}%{version} +Requires: nvidia-driver-580xx-libs = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{modulename}-kmod-common = %{?epoch:%{epoch}:}%{version} +Provides: nvidia-580-kmod-common = %{evr} Obsoletes: cuda-nvidia-kmod-common < %{?epoch:%{epoch}:}%{version} +BuildArch: noarch +Packager: Terra Packaging Team %description This package provides the common files required by all NVIDIA kernel module @@ -93,4 +92,5 @@ dracut --regenerate-all --force || : %{_udevrulesdir}/60-nvidia.rules %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-3 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/nvidia-kmod-common/update.rhai b/anda/system/nvidia-580/nvidia-kmod-common/update.rhai index d1ef2924fb..26e90ea495 100644 --- a/anda/system/nvidia-580/nvidia-kmod-common/update.rhai +++ b/anda/system/nvidia-580/nvidia-kmod-common/update.rhai @@ -1,3 +1,3 @@ -import "andax/nvidia.rhai" as nvidia; +import "andax/bump_extras.rhai" as bump; -rpm.version(nvidia::nvidia_legacy_version()); +rpm.version(bump::madoguchi("nvidia-driver-580xx", labels.branch)); diff --git a/anda/system/nvidia-580/nvidia-kmod/0001-Enable-atomic-kernel-modesetting-by-default.patch b/anda/system/nvidia-580/nvidia-kmod/0001-Enable-atomic-kernel-modesetting-by-default.patch new file mode 100644 index 0000000000..b17015cd83 --- /dev/null +++ b/anda/system/nvidia-580/nvidia-kmod/0001-Enable-atomic-kernel-modesetting-by-default.patch @@ -0,0 +1,42 @@ +From 60d1ddc17835226ec67ed1bc1c28524e3bb6e151 Mon Sep 17 00:00:00 2001 +From: Peter Jung +Date: Sun, 20 Apr 2025 18:13:22 +0200 +Subject: [PATCH 1/8] Enable atomic kernel modesetting by default + +This is required for proper functionality under Wayland. fbdev has been default enabled since 570 so that +hunk can be removed from this patch. + +Signed-off-by: Peter Jung +--- + nvidia-drm/nvidia-drm-linux.c | 2 +- + nvidia-drm/nvidia-drm-os-interface.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git an/nvidia-drm/nvidia-drm-linux.c b/nvidia-drm/nvidia-drm-linux.c +index 3cb1815d..209cb469 100644 +--- a/nvidia-drm/nvidia-drm-linux.c ++++ b/nvidia-drm/nvidia-drm-linux.c +@@ -31,7 +31,7 @@ + + MODULE_PARM_DESC( + modeset, +- "Enable atomic kernel modesetting (1 = enable, 0 = disable (default))"); ++ "Enable atomic kernel modesetting (1 = enable (default), 0 = disable)"); + module_param_named(modeset, nv_drm_modeset_module_param, bool, 0400); + + #if defined(NV_DRM_FBDEV_AVAILABLE) +diff --git a/nvidia-drm/nvidia-drm-os-interface.c b/nvidia-drm/nvidia-drm-os-interface.c +index 7617476d..f22afd77 100644 +--- a/nvidia-drm/nvidia-drm-os-interface.c ++++ b/nvidia-drm/nvidia-drm-os-interface.c +@@ -41,7 +41,7 @@ + #include + #endif + +-bool nv_drm_modeset_module_param = false; ++bool nv_drm_modeset_module_param = true; + bool nv_drm_fbdev_module_param = true; + + void *nv_drm_calloc(size_t nmemb, size_t size) +-- +2.49.0.391.g4bbb303af6 diff --git a/anda/system/nvidia-580/nvidia-kmod/anda.hcl b/anda/system/nvidia-580/nvidia-kmod/anda.hcl index d7f5dc58e2..df736abd69 100644 --- a/anda/system/nvidia-580/nvidia-kmod/anda.hcl +++ b/anda/system/nvidia-580/nvidia-kmod/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { - spec = "nvidia-580-kmod.spec" + spec = "nvidia-580xx-kmod.spec" } labels { mock = 1 diff --git a/anda/system/nvidia-580/nvidia-kmod/nvidia-580-kmod.spec b/anda/system/nvidia-580/nvidia-kmod/nvidia-580xx-kmod.spec similarity index 63% rename from anda/system/nvidia-580/nvidia-kmod/nvidia-580-kmod.spec rename to anda/system/nvidia-580/nvidia-kmod/nvidia-580xx-kmod.spec index 84a9ac3220..650734dc34 100644 --- a/anda/system/nvidia-580/nvidia-kmod/nvidia-580-kmod.spec +++ b/anda/system/nvidia-580/nvidia-kmod/nvidia-580xx-kmod.spec @@ -1,28 +1,30 @@ # Build only the akmod package and no kernel module packages: %define buildforkernels akmod -%global modulename nvidia-580 +%global modulename nvidia-580xx %global debug_package %{nil} Name: %{modulename}-kmod -Version: 580.119.02 -Release: 1%?dist +Version: 580.159.03 +Release: 1%{?dist} Summary: NVIDIA display driver kernel module Epoch: 3 License: NVIDIA License URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: http://download.nvidia.com/XFree86/Linux-%{_arch}/%{version}/NVIDIA-Linux-%{_arch}-%{version}.run -Requires: nvidia-580-kmod-common = %{?epoch:%{epoch}:}%{version} -Requires: akmods - - -# Get the needed BuildRequires (in parts depending on what we build for): +Patch0: 0001-Enable-atomic-kernel-modesetting-by-default.patch BuildRequires: kmodtool +Requires: nvidia-580xx-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: akmods +Provides: akmod-nvidia-580 = %{evr} +Provides: nvidia-580-kmod = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-nvidia-580xx +Conflicts: nvidia-kmod +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team # kmodtool does its magic here: -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description The NVidia %{version} display driver kernel module for kernel %{kversion}. @@ -31,11 +33,14 @@ The NVidia %{version} display driver kernel module for kernel %{kversion}. # Error out if there was something wrong with kmodtool: %{?kmodtool_check} # Print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null sh %{SOURCE0} -x --target %{real_name}-%{version}-%{_arch} %setup -T -D -n %{real_name}-%{version}-%{_arch} + +pushd kernel-open %autopatch -p1 +popd rm -f */dkms.conf @@ -60,4 +65,5 @@ done %{?akmod_install} %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-1 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/nvidia-kmod/update.rhai b/anda/system/nvidia-580/nvidia-kmod/update.rhai index ea0b60bd3d..329db7e5d1 100644 --- a/anda/system/nvidia-580/nvidia-kmod/update.rhai +++ b/anda/system/nvidia-580/nvidia-kmod/update.rhai @@ -1,3 +1,3 @@ import "andax/bump_extras.rhai" as bump; -rpm.version(bump::madoguchi("nvidia-580-kmod-common", labels.branch)); +rpm.version(bump::madoguchi("nvidia-580xx-kmod-common", labels.branch)); diff --git a/anda/system/nvidia-580/nvidia-modprobe/nvidia-modprobe-580.spec b/anda/system/nvidia-580/nvidia-modprobe/nvidia-modprobe-580.spec index d5a7949299..a1ec3a50d5 100644 --- a/anda/system/nvidia-580/nvidia-modprobe/nvidia-modprobe-580.spec +++ b/anda/system/nvidia-580/nvidia-modprobe/nvidia-modprobe-580.spec @@ -1,19 +1,19 @@ %global real_name nvidia-modprobe -Name: %{real_name}-580 -Version: 580.126.20 -Release: 1%?dist +Name: %{real_name}-580xx +Version: 580.159.03 +Release: 1%{?dist} Summary: NVIDIA kernel module loader Epoch: 3 -License: GPLv2+ +License: GPL-2.0-or-later URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: https://download.nvidia.com/XFree86/%{real_name}/%{real_name}-%{version}.tar.bz2 Patch0: %{real_name}-man-page-permissions.patch - BuildRequires: gcc BuildRequires: m4 +Provides: %{real_name}-580 = %{evr} +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description This utility is used by user-space NVIDIA driver components to make sure the @@ -46,4 +46,5 @@ make %{?_smp_mflags} \ %{_mandir}/man1/%{real_name}.1.* %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/nvidia-persistenced/nvidia-persistenced-580.spec b/anda/system/nvidia-580/nvidia-persistenced/nvidia-persistenced-580.spec index a97969f8e5..76b646f26a 100644 --- a/anda/system/nvidia-580/nvidia-persistenced/nvidia-persistenced-580.spec +++ b/anda/system/nvidia-580/nvidia-persistenced/nvidia-persistenced-580.spec @@ -1,27 +1,26 @@ %global real_name nvidia-persistenced -Name: %{real_name}-580 -Version: 580.126.20 -Release: 1%?dist -Summary: A daemon to maintain persistent software state in the NVIDIA driver -Epoch: 3 -License: GPLv2+ -URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - -Source0: https://download.nvidia.com/XFree86/%{real_name}/%{real_name}-%{version}.tar.bz2 -Source1: %{real_name}.service - -BuildRequires: gcc -BuildRequires: libtirpc-devel -BuildRequires: m4 - +Name: %{real_name}-580xx +Version: 580.159.03 +Release: 1%{?dist} +Summary: A daemon to maintain persistent software state in the NVIDIA driver +Epoch: 3 +License: GPL-2.0-or-later +URL: http://www.nvidia.com/object/unix.html +ExclusiveArch: x86_64 aarch64 +Source0: https://download.nvidia.com/XFree86/%{real_name}/%{real_name}-%{version}.tar.bz2 +Source1: %{real_name}.service +BuildRequires: gcc +BuildRequires: libtirpc-devel +BuildRequires: m4 # For Fedora systemd-rpm-macros would be enough: -BuildRequires: systemd-devel -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd -Requires: libnvidia-cfg-580%{?_isa} >= %{?epoch:%{epoch}:}%{version} +BuildRequires: systemd-devel +Requires: libnvidia-cfg-580xx%{?_isa} >= %{?epoch:%{epoch}:}%{version} +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd +Provides: %{real_name}-580 = %{evr} +Packager: Terra Packaging Team %description The %{real_name} utility is used to enable persistent software state in the NVIDIA @@ -78,4 +77,5 @@ install -p -m 644 -D %{SOURCE1} %{buildroot}%{_unitdir}/%{real_name}.service %{_sharedstatedir}/%{real_name} %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-3 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/nvidia-settings/nvidia-settings-580.spec b/anda/system/nvidia-580/nvidia-settings/nvidia-settings-580.spec index 646a01eb10..f6e2bf7cb4 100644 --- a/anda/system/nvidia-580/nvidia-settings/nvidia-settings-580.spec +++ b/anda/system/nvidia-580/nvidia-settings/nvidia-settings-580.spec @@ -1,14 +1,12 @@ %global real_name nvidia-settings -Name: %{real_name}-580 -Version: 580.126.20 -Release: 1%?dist +Name: %{real_name}-580xx +Version: 580.159.03 +Release: 1%{?dist} Summary: Configure the NVIDIA graphics driver Epoch: 3 -License: GPLv2+ +License: GPL-2.0-or-later URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: https://download.nvidia.com/XFree86/%{real_name}/%{real_name}-%{version}.tar.bz2 Source1: %{real_name}-load.desktop Source2: %{real_name}.appdata.xml @@ -17,7 +15,6 @@ Patch1: %{real_name}-lib-permissions.patch Patch2: %{real_name}-link-order.patch Patch3: %{real_name}-libXNVCtrl.patch Patch4: %{real_name}-ld-dep-remove.patch - BuildRequires: desktop-file-utils BuildRequires: dbus-devel BuildRequires: gcc @@ -34,11 +31,13 @@ BuildRequires: mesa-libGL-devel BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(wayland-client) BuildRequires: vulkan-headers - -Requires: nvidia-libXNVCtrl-580%{?_isa} = %{?epoch}:%{version}-%{release} -Requires: nvidia-driver-580%{?_isa} = %{?epoch}:%{version} +Requires: nvidia-libXNVCtrl-580xx%{?_isa} = %{?epoch}:%{version}-%{release} +Requires: nvidia-driver-580xx%{?_isa} = %{?epoch}:%{version} # Loaded at runtime Requires: libvdpau%{?_isa} >= 0.9 +Provides: %{real_name}-580 = %{evr} +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description The %{real_name} utility is a tool for configuring the NVIDIA graphics @@ -47,21 +46,24 @@ updating state as appropriate. This communication is done with the NV-CONTROL X extension. -%package -n nvidia-libXNVCtrl-580 +%package -n nvidia-libXNVCtrl-580xx Summary: Library providing the NV-CONTROL API Obsoletes: libXNVCtrl < %{?epoch}:%{version}-%{release} +Provides: libXNVCtrl-580xx = %{?epoch}:%{version}-%{release} +Provides: nvidia-libXNVCtrl-580 = %{?epoch}:%{version}-%{release} Provides: libXNVCtrl-580 = %{?epoch}:%{version}-%{release} -%description -n nvidia-libXNVCtrl-580 +%description -n nvidia-libXNVCtrl-580xx This library provides the NV-CONTROL API for communicating with the proprietary NVidia xorg driver. It is required for proper operation of the %{real_name} utility. -%package -n nvidia-libXNVCtrl-580-devel +%package -n nvidia-libXNVCtrl-580xx-devel Summary: Development files for libXNVCtrl -Requires: nvidia-libXNVCtrl-580 = %{?epoch}:%{version}-%{release} +Requires: nvidia-libXNVCtrl-580xx = %{?epoch}:%{version}-%{release} Requires: libX11-devel +Provides: nvidia-libXNVCtrl-580-devel = %{evr} -%description -n nvidia-libXNVCtrl-580-devel +%description -n nvidia-libXNVCtrl-580xx-devel This devel package contains libraries and header files for developing applications that use the NV-CONTROL API. @@ -126,14 +128,15 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{real_name}. %{_mandir}/man1/%{real_name}.* %{_sysconfdir}/xdg/autostart/%{real_name}-load.desktop -%files -n nvidia-libXNVCtrl-580 +%files -n nvidia-libXNVCtrl-580xx %license COPYING %{_libdir}/libXNVCtrl.so.* -%files -n nvidia-libXNVCtrl-580-devel +%files -n nvidia-libXNVCtrl-580xx-devel %doc doc/NV-CONTROL-API.txt doc/FRAMELOCK.txt %{_includedir}/NVCtrl %{_libdir}/libXNVCtrl.so %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-3 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-580/nvidia-xconfig/nvidia-xconfig-580.spec b/anda/system/nvidia-580/nvidia-xconfig/nvidia-xconfig-580.spec index a983eb030c..d060c047ae 100644 --- a/anda/system/nvidia-580/nvidia-xconfig/nvidia-xconfig-580.spec +++ b/anda/system/nvidia-580/nvidia-xconfig/nvidia-xconfig-580.spec @@ -1,22 +1,21 @@ %global real_name nvidia-xconfig -Name: %{real_name}-580 -Version: 580.126.20 -Release: 1%?dist +Name: %{real_name}-580xx +Version: 580.159.03 +Release: 1%{?dist} Summary: NVIDIA X configuration file editor Epoch: 3 -License: GPLv2+ +License: GPL-2.0-or-later URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: https://download.nvidia.com/XFree86/%{real_name}/%{real_name}-%{version}.tar.bz2 - BuildRequires: gcc BuildRequires: libpciaccess-devel BuildRequires: m4 - -Requires: libnvidia-cfg-580%{?_isa} >= %{?epoch:%{epoch}:}%{version} -Requires: xorg-x11-nvidia-580%{?_isa} >= %{?epoch:%{epoch}:}%{version} +Requires: libnvidia-cfg-580xx%{?_isa} >= %{?epoch:%{epoch}:}%{version} +Requires: xorg-x11-nvidia-580xx%{?_isa} >= %{?epoch:%{epoch}:}%{version} +Provides: %{real_name}-580 = %{evr} +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description %{real_name} is a command line tool intended to provide basic control over @@ -50,4 +49,5 @@ make %{?_smp_mflags} \ %{_mandir}/man1/%{real_name}.1* %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:580.142-3 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia-patch/nvidia-patch.spec b/anda/system/nvidia-patch/nvidia-patch.spec index b280d34ddd..5c361215af 100644 --- a/anda/system/nvidia-patch/nvidia-patch.spec +++ b/anda/system/nvidia-patch/nvidia-patch.spec @@ -1,13 +1,13 @@ %global debug_package %{nil} -%global commit 47c2959260a330f919981cb407659f0e2790dc8a +%global commit 0e665c46a87ba99b41a07169fa3acf6162739648 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260305 +%global commit_date 20260507 %global patches %{_datadir}/src/nvidia-patch Name: nvidia-patch Version: 0^%commit_date.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: NVENC and NvFBC patches for NVIDIA drivers License: EULA diff --git a/anda/system/nvidia/compat-nvidia-repo/compat-nvidia-repo.spec b/anda/system/nvidia/compat-nvidia-repo/compat-nvidia-repo.spec index 5bb47a62d0..6af2b664fa 100644 --- a/anda/system/nvidia/compat-nvidia-repo/compat-nvidia-repo.spec +++ b/anda/system/nvidia/compat-nvidia-repo/compat-nvidia-repo.spec @@ -1,20 +1,16 @@ Name: compat-nvidia-repo -Version: 590.48.01 +Version: 595.71.05 Epoch: 3 -Release: 1%?dist +Release: 1%{?dist} Summary: Compatibility package required by official CUDA packages License: NVIDIA License URL: https://developer.nvidia.com/cuda-toolkit - -BuildArch: noarch - Requires: nvidia-driver >= %{?epoch:%{epoch}:}%{version} Requires: nvidia-driver-cuda >= %{?epoch:%{epoch}:}%{version} Requires: nvidia-driver-cuda-libs >= %{?epoch:%{epoch}:}%{version} Requires: nvidia-driver-libs >= %{?epoch:%{epoch}:}%{version} Requires: nvidia-kmod >= %{?epoch:%{epoch}:}%{version} Requires: nvidia-settings >= %{?epoch:%{epoch}:}%{version} - Provides: cuda-drivers >= %{?epoch:%{epoch}:}%{version} Provides: nvidia-open >= %{?epoch:%{epoch}:}%{version} # Add any versioned provides: @@ -22,6 +18,8 @@ Provides: cuda-drivers-560 >= %{?epoch:%{epoch}:}%{version} Provides: cuda-drivers-565 >= %{?epoch:%{epoch}:}%{version} Provides: nvidia-open-560 >= %{?epoch:%{epoch}:}%{version} Provides: nvidia-open-565 >= %{?epoch:%{epoch}:}%{version} +BuildArch: noarch +Packager: Terra Packaging Team %description Nvidia drivers metapackage required by official CUDA packages. It pulls in all @@ -31,4 +29,5 @@ Nvidia driver components. # Without an empty files section the package is not created. %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/dkms-nvidia/dkms-nvidia.spec b/anda/system/nvidia/dkms-nvidia/dkms-nvidia.spec index a4d378c806..e6c840fbb0 100644 --- a/anda/system/nvidia/dkms-nvidia/dkms-nvidia.spec +++ b/anda/system/nvidia/dkms-nvidia/dkms-nvidia.spec @@ -4,24 +4,27 @@ %global modulename nvidia Name: dkms-%{modulename} -Version: 590.48.01 -Release: 2%?dist +Version: 595.71.05 +Release: 1%{?dist} Summary: NVIDIA display driver kernel module Epoch: 3 License: NVIDIA License URL: https://www.nvidia.com/object/unix.html Source0: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/%{version}/open-gpu-kernel-modules-%{version}.tar.gz Source1: %{name}.conf +Patch0: https://github.com/CachyOS/open-gpu-kernel-modules/commit/211f012865b8ea2ba62c3422f5519cb32395c3e0.patch +Patch1: https://github.com/CachyOS/open-gpu-kernel-modules/commit/92789a5709f64008bee34bb044e33a3de9702eb7.patch BuildRequires: sed -Provides: %{modulename}-kmod = %{?epoch:%{epoch}:}%{version} Requires: %{modulename}-kmod-common = %{?epoch:%{epoch}:}%{version} Requires: dkms -Requires: gcc-c++ -Conflicts: akmod-nvidia -# Unlike most DKMS packages, this package is NOT noarch! -ExclusiveArch: x86_64 aarch64 +Provides: %{modulename}-kmod = %{?epoch:%{epoch}:}%{version} Provides: %{name}-open = %{?epoch:%{epoch}:}%{version} Obsoletes: %{name}-open < %{?epoch:%{epoch}:}%{version} +Conflicts: akmod-%{modulename} +Conflicts: %{modulename}-kmod-580xx +# Unlike most DKMS packages, this package is NOT noarch! +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description This package provides the NVIDIA kernel driver modules. @@ -55,4 +58,6 @@ dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : %{_usrsrc}/%{modulename}-%{version} %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update patches for DSC functionality +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec b/anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec index 696a18fa7b..6e91d4590e 100644 --- a/anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec +++ b/anda/system/nvidia/libva-nvidia-driver/libva-nvidia-driver.spec @@ -1,5 +1,5 @@ -%global commit0 b09c9f62fb6d8b839e0e87e6f0ce53b7dbf9b3c5 -%global date 20260220 +%global commit0 0ba758d54591bf90133f63ca8b29796d51ec1761 +%global date 20260415 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global upstream_name nvidia-vaapi-driver @@ -10,8 +10,8 @@ Name: libva-nvidia-driver Epoch: 1 -Version: 0.0.15%{!?tag:^%{date}git%{shortcommit0}} -Release: 1%?dist +Version: 0.0.16%{!?tag:^%{date}git%{shortcommit0}} +Release: 1%{?dist} Summary: VA-API user mode driver for Nvidia GPUs License: MIT URL: https://github.com/elFarto/%{upstream_name} diff --git a/anda/system/nvidia/nvidia-container-toolkit/nvidia-container-toolkit.spec b/anda/system/nvidia/nvidia-container-toolkit/nvidia-container-toolkit.spec index 866f47c24d..c0cd6ec7de 100644 --- a/anda/system/nvidia/nvidia-container-toolkit/nvidia-container-toolkit.spec +++ b/anda/system/nvidia/nvidia-container-toolkit/nvidia-container-toolkit.spec @@ -1,6 +1,6 @@ Name: nvidia-container-toolkit -Version: 1.18.2 -Release: 1%?dist +Version: 1.19.0 +Release: 1%{?dist} Summary: NVIDIA Container Toolkit License: Apache-2.0 Group: Development/Tools/Other diff --git a/anda/system/nvidia/nvidia-driver/70-nvidia-driver.preset b/anda/system/nvidia/nvidia-driver/70-nvidia-driver.preset index f897d23a61..b9645ecb7b 100644 --- a/anda/system/nvidia/nvidia-driver/70-nvidia-driver.preset +++ b/anda/system/nvidia/nvidia-driver/70-nvidia-driver.preset @@ -1,11 +1,3 @@ -# Enable complete power management. From: -# file:///usr/share/doc/nvidia-driver/html/powermanagement.html - -enable nvidia-hibernate.service -enable nvidia-resume.service -enable nvidia-suspend.service -enable nvidia-suspend-then-hibernate.service - # Enable Dynamic Boost. From: # file:///usr/share/doc/nvidia-driver/html/dynamicboost.html diff --git a/anda/system/nvidia/nvidia-driver/nvidia-driver.spec b/anda/system/nvidia/nvidia-driver/nvidia-driver.spec index 8130f9d4ee..c67ac5ff84 100644 --- a/anda/system/nvidia/nvidia-driver/nvidia-driver.spec +++ b/anda/system/nvidia/nvidia-driver/nvidia-driver.spec @@ -1,6 +1,5 @@ %global debug_package %{nil} -%global __strip %{nil} -%global __brp_strip_comment_note %{nil} +%global __brp_strip %{nil} %global __brp_ldconfig %{nil} %define _build_id_links none @@ -10,24 +9,20 @@ %endif Name: nvidia-driver -Version: 590.48.01 -Release: 4%?dist +Version: 595.71.05 +Release: 1%{?dist} Summary: NVIDIA's proprietary display driver for NVIDIA graphic cards Epoch: 3 License: NVIDIA License URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: %{ix86} x86_64 aarch64 Source8: 70-nvidia-driver.preset Source9: 70-nvidia-driver-cuda.preset Source10: 10-nvidia.conf Source13: alternate-install-present - Source40: com.nvidia.driver.metainfo.xml Source41: parse-supported-gpus.py Source42: com.nvidia.driver.png - Source99: nvidia-generate-tarballs.sh - %ifarch x86_64 aarch64 BuildRequires: libappstream-glib %if 0%{?rhel} == 8 @@ -40,14 +35,14 @@ BuildRequires: systemd-rpm-macros %endif BuildRequires: wget BuildRequires: coreutils - Requires: nvidia-driver-libs%{?_isa} = %{?epoch:%{epoch}:}%{version} Requires: nvidia-kmod-common = %{?epoch:%{epoch}:}%{version} - Conflicts: nvidia-x11-drv Conflicts: nvidia-x11-drv-470xx Conflicts: xorg-x11-drv-nvidia Conflicts: xorg-x11-drv-nvidia-470xx +ExclusiveArch: %{ix86} x86_64 aarch64 +Packager: Terra Packaging Team %description This package provides the most recent NVIDIA display driver which allows for @@ -78,7 +73,6 @@ Requires: vulkan-loader Requires: libnvidia-gpucomp%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: libnvidia-ml%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Requires: %{name}-cuda-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} - Conflicts: nvidia-x11-drv-libs Conflicts: nvidia-x11-drv-470xx-libs Conflicts: xorg-x11-drv-nvidia-libs @@ -92,7 +86,6 @@ Summary: Libraries for %{name}-cuda Requires: %{name}-cuda-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} Provides: %{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: %{name}-devel < %{?epoch:%{epoch}:}%{version}-%{release} - # dlopened: %ifarch x86_64 aarch64 Requires: libnvidia-cfg = %{?epoch:%{epoch}:}%{version}-%{release} @@ -104,7 +97,6 @@ Requires: libnvidia-ml = %{?epoch:%{epoch}:}%{version}-%{release} Requires: (%{name}-cuda-libs(x86-32) = %{?epoch:%{epoch}:}%{version}-%{release} if steam(x86-32)) %endif %endif - Conflicts: xorg-x11-drv-nvidia-cuda-libs Conflicts: xorg-x11-drv-nvidia-470xx-cuda-libs @@ -172,7 +164,6 @@ Requires: nvidia-kmod-common = %{?epoch:%{epoch}:}%{version} Requires: nvidia-persistenced = %{?epoch:%{epoch}:}%{version} Requires: (ocl-icd or OpenCL-ICD-Loader) Requires: opencl-filesystem - Conflicts: xorg-x11-drv-nvidia-cuda Conflicts: xorg-x11-drv-nvidia-470xx-cuda @@ -185,7 +176,6 @@ Summary: X.org X11 NVIDIA driver and extensions Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version} Requires: xorg-x11-server-Xorg%{?_isa} Supplements: (nvidia-driver and xorg-x11-server-Xorg) - Conflicts: xorg-x11-drv-nvidia Conflicts: xorg-x11-drv-nvidia-470xx @@ -223,6 +213,13 @@ rm -f libnvidia-pkcs11.so.%{version} %endif %endif +# Avoid harmless Vulkan loader message: +# WARNING: [Loader Message] Code 0 : Path to given binary /usr/lib64/libGLX_nvidia.so.590.48.01 +# was found to differ from OS loaded path /usr/lib64/libGLX_nvidia.so.0 +# See also https://github.com/negativo17/nvidia-driver/issues/195 +mv libGLX_nvidia.so.%{version} libGLX_nvidia.so.0 +ln -sf libGLX_nvidia.so.0 libGLX_nvidia.so.%{version} + # Create symlinks for shared objects ldconfig -vn . @@ -293,7 +290,7 @@ install -p -m 0644 nvidia-{smi,cuda-mps-control}*.gz %{buildroot}%{_mandir}/man1 %if 0%{?fedora} || 0%{?rhel} < 10 # X stuff -install -p -m 0644 -D %{SOURCE10} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf +install -p -m 0644 -D nvidia-drm-outputclass.conf %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-nvidia.conf install -p -m 0755 -D nvidia_drv.so %{buildroot}%{_libdir}/xorg/modules/drivers/nvidia_drv.so install -p -m 0755 -D libglxserver_nvidia.so.%{version} %{buildroot}%{_libdir}/xorg/modules/extensions/libglxserver_nvidia.so %endif @@ -312,9 +309,7 @@ install -p -m 0644 nvoptix.bin %{buildroot}%{_datadir}/nvidia/ mkdir -p %{buildroot}%{_systemd_util_dir}/system-preset/ install -p -m 0644 %{SOURCE8} %{SOURCE9} %{buildroot}%{_systemd_util_dir}/system-preset/ mkdir -p %{buildroot}%{_unitdir}/ -install -p -m 0644 systemd/system/*.service %{buildroot}%{_unitdir}/ -install -p -m 0755 systemd/nvidia-sleep.sh %{buildroot}%{_bindir}/ -install -p -m 0755 -D systemd/system-sleep/nvidia %{buildroot}%{_systemd_util_dir}/system-sleep/nvidia +cp -frv systemd/system/systemd-* systemd/system/nvidia-powerd.service %{buildroot}%{_unitdir}/ install -p -m 0644 -D nvidia-dbus.conf %{buildroot}%{_datadir}/dbus-1/system.d/nvidia-dbus.conf # Ignore powerd binary exiting if hardware is not present @@ -351,25 +346,13 @@ appstream-util validate --nonet %{buildroot}%{_metainfodir}/com.nvidia.driver.me %ifarch x86_64 aarch64 %post -%systemd_post nvidia-hibernate.service %systemd_post nvidia-powerd.service -%systemd_post nvidia-resume.service -%systemd_post nvidia-suspend.service -%systemd_post nvidia-suspend-then-hibernate.service %preun -%systemd_preun nvidia-hibernate.service %systemd_preun nvidia-powerd.service -%systemd_preun nvidia-resume.service -%systemd_preun nvidia-suspend.service -%systemd_preun nvidia-suspend-then-hibernate.service %postun -%systemd_postun nvidia-hibernate.service %systemd_postun nvidia-powerd.service -%systemd_postun nvidia-resume.service -%systemd_postun nvidia-suspend.service -%systemd_postun nvidia-suspend-then-hibernate.service %endif @@ -384,18 +367,20 @@ appstream-util validate --nonet %{buildroot}%{_metainfodir}/com.nvidia.driver.me %{_bindir}/nvidia-pcc %endif %{_bindir}/nvidia-powerd -%{_bindir}/nvidia-sleep.sh %{_metainfodir}/com.nvidia.driver.metainfo.xml %{_datadir}/dbus-1/system.d/nvidia-dbus.conf %{_datadir}/nvidia/nvidia-application-profiles* %{_datadir}/pixmaps/com.nvidia.driver.png %{_systemd_util_dir}/system-preset/70-nvidia-driver.preset -%{_systemd_util_dir}/system-sleep/nvidia -%{_unitdir}/nvidia-hibernate.service %{_unitdir}/nvidia-powerd.service -%{_unitdir}/nvidia-resume.service -%{_unitdir}/nvidia-suspend.service -%{_unitdir}/nvidia-suspend-then-hibernate.service +%dir %{_unitdir}/systemd-suspend.service.d +%{_unitdir}/systemd-suspend.service.d/nvidia-suspend-nofreeze.conf +%dir %{_unitdir}/systemd-hibernate.service.d +%{_unitdir}/systemd-hibernate.service.d/nvidia-suspend-nofreeze.conf +%dir %{_unitdir}/systemd-suspend-then-hibernate.service.d +%{_unitdir}/systemd-suspend-then-hibernate.service.d/nvidia-suspend-nofreeze.conf +%dir %{_unitdir}/systemd-hybrid-sleep.service.d +%{_unitdir}/systemd-hybrid-sleep.service.d/nvidia-suspend-nofreeze.conf %if 0%{?fedora} < 42 || 0%{?rhel} %{_sysconfdir}/dnf/plugins/needs-restarting.d/%{name}.conf %endif @@ -465,7 +450,6 @@ appstream-util validate --nonet %{buildroot}%{_metainfodir}/com.nvidia.driver.me %endif %ifarch x86_64 %{_datadir}/vulkansc/icd.d/nvidia_icd.%{_target_cpu}.json -%{_libdir}/libnvidia-present.so.%{version} %{_libdir}/libnvidia-vksc-core.so.1 %{_libdir}/libnvidia-vksc-core.so.%{version} %dir %{_libdir}/nvidia @@ -521,4 +505,5 @@ appstream-util validate --nonet %{buildroot}%{_metainfodir}/com.nvidia.driver.me %{_libdir}/libnvidia-ml.so.%{version} %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/nvidia-driver/nvidia-generate-tarballs.sh b/anda/system/nvidia/nvidia-driver/nvidia-generate-tarballs.sh index f21afc002e..40942b422f 100755 --- a/anda/system/nvidia/nvidia-driver/nvidia-generate-tarballs.sh +++ b/anda/system/nvidia/nvidia-driver/nvidia-generate-tarballs.sh @@ -17,7 +17,17 @@ set_vars() { run_file_get() { printf "Downloading installer ${RUN_FILE}... " - [[ -f $RUN_FILE ]] || wget -c -q ${DL_SITE}/${PLATFORM}/${VERSION}/$RUN_FILE + if [[ ! -f $RUN_FILE ]]; then + # Orgininal comment from Negativo: "This is getting ridiculous" + # My comment: It sure fucking is. + if wget -q -S --spider https://download.nvidia.com/XFree86/${PLATFORM}/${VERSION}/$RUN_FILE; then + wget -q https://download.nvidia.com/XFree86/${PLATFORM}/${VERSION}/$RUN_FILE + elif wget -q -S --spider https://us.download.nvidia.com/XFree86/${PLATFORM}/${VERSION}/$RUN_FILE; then + wget -q https://us.download.nvidia.com/XFree86/${PLATFORM}/${VERSION}/$RUN_FILE + else + wget -q https://us.download.nvidia.com/tesla/${VERSION}/$RUN_FILE + fi + fi printf "OK\n" } @@ -26,8 +36,8 @@ run_file_extract() { sh ${RUN_FILE} --extract-only --target ${TEMP_UNPACK} } -cleanup_folder() { +cleanup_folder() { printf "Cleaning up binaries... " cd ${TEMP_UNPACK} @@ -36,7 +46,9 @@ cleanup_folder() { # - Compiled from source # - Interactive installer files # - GLVND GL libraries - # - Internal development only libraries + # - GLVND test scripts + # - Closed source modules + # - Open source modules with precompiled c++ code rm -r \ nvidia-xconfig* \ nvidia-persistenced* \ @@ -49,7 +61,7 @@ cleanup_folder() { libEGL.so.${VERSION} \ nvidia-installer* .manifest make* mk* libglvnd_install_checker \ 15_nvidia_gbm.json 10_nvidia_wayland.json 20_nvidia_xcb.json 20_nvidia_xlib.json \ - 99_nvidia_wayland2.json \ + 09_nvidia_wayland2.json \ kernel kernel-open if [ "${ARCH}" == x86_64 ]; then @@ -70,7 +82,6 @@ cleanup_folder() { } create_tarball() { - KMOD_COMMON=nvidia-kmod-common-${VERSION} USR_64=nvidia-driver-${VERSION}-${ARCH} USR_32=nvidia-driver-${VERSION}-i386 @@ -80,7 +91,7 @@ create_tarball() { mv ${TEMP_UNPACK}/firmware ${TEMP_UNPACK}/nvidia-bug-report.sh ${KMOD_COMMON}/ if [ "$ARCH" == x86_64 ]; then - mkdir ${USR_32} + mkdir ${USR_32} mv ${TEMP_UNPACK}/32/* ${USR_32}/ rm -fr ${TEMP_UNPACK}/32 else diff --git a/anda/system/nvidia/nvidia-kmod-common/anda.hcl b/anda/system/nvidia/nvidia-kmod-common/anda.hcl index ae7a91b959..8afbe4682c 100644 --- a/anda/system/nvidia/nvidia-kmod-common/anda.hcl +++ b/anda/system/nvidia/nvidia-kmod-common/anda.hcl @@ -1,10 +1,10 @@ project "pkg" { + arches = ["x86_64"] rpm { spec = "nvidia-kmod-common.spec" } - arches = ["x86_64"] labels = { subrepo = "nvidia" - weekly = 3 + updbranch = 1 } } diff --git a/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec b/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec index 63b2520ff9..9d88534098 100644 --- a/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec +++ b/anda/system/nvidia/nvidia-kmod-common/nvidia-kmod-common.spec @@ -5,33 +5,31 @@ %global __brp_strip %{nil} Name: nvidia-kmod-common -Version: 590.48.01 -Release: 1%?dist +Version: 595.71.05 +Release: 1%{?dist} Summary: Common file for NVIDIA's proprietary driver kernel modules Epoch: 3 License: NVIDIA License URL: http://www.nvidia.com/object/unix.html - -BuildArch: noarch - Source0: http://download.nvidia.com/XFree86/Linux-x86_64/%{version}/NVIDIA-Linux-x86_64-%{version}.run Source17: nvidia-boot-update Source19: nvidia-modeset.conf Source20: nvidia.conf Source21: 60-nvidia.rules Source24: 99-nvidia.conf - # UDev rule location (_udevrulesdir) and systemd macros: BuildRequires: systemd-rpm-macros - Requires: dracut Requires: nvidia-modprobe Requires: nvidia-driver = %{?epoch:%{epoch}:}%{version} Requires: nvidia-driver-libs = %{?epoch:%{epoch}:}%{version} Requires: nvidia-kmod = %{?epoch:%{epoch}:}%{version} +Requires: gcc-c++ Provides: nvidia-kmod-common = %{?epoch:%{epoch}:}%{version} Obsoletes: nvidia-open-kmod-common < %{?epoch:%{epoch}:}%{version} Obsoletes: cuda-nvidia-kmod-common < %{?epoch:%{epoch}:}%{version} +BuildArch: noarch +Packager: Terra Packaging Team %description This package provides the common files required by all NVIDIA kernel module @@ -87,4 +85,5 @@ fi ||: %{_udevrulesdir}/60-nvidia.rules %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/nvidia-kmod-common/update.rhai b/anda/system/nvidia/nvidia-kmod-common/update.rhai index e5eff132c0..3b53503809 100644 --- a/anda/system/nvidia/nvidia-kmod-common/update.rhai +++ b/anda/system/nvidia/nvidia-kmod-common/update.rhai @@ -1,3 +1,3 @@ -import "andax/nvidia.rhai" as nvidia; +import "andax/bump_extras.rhai" as bump; -rpm.version(nvidia::nvidia_driver_version()); +rpm.version(bump::madoguchi("nvidia-driver", labels.branch)); diff --git a/anda/system/nvidia/nvidia-kmod/nvidia-kmod.spec b/anda/system/nvidia/nvidia-kmod/nvidia-kmod.spec index 3e92b51adb..35e6ac4a54 100644 --- a/anda/system/nvidia/nvidia-kmod/nvidia-kmod.spec +++ b/anda/system/nvidia/nvidia-kmod/nvidia-kmod.spec @@ -7,27 +7,28 @@ %undefine _auto_set_build_flags Name: nvidia-kmod -Version: 590.48.01 -Release: 4%?dist +Version: 595.71.05 +Release: 1%{?dist} Summary: NVIDIA display driver kernel module Epoch: 3 License: NVIDIA License URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: https://github.com/NVIDIA/open-gpu-kernel-modules/archive/%{version}/open-gpu-kernel-modules-%{version}.tar.gz -Requires: nvidia-kmod-common = %{?epoch:%{epoch}:}%{version} -Requires: akmods -Requires: gcc-c++ -Provides: akmod-nvidia-open = %{?epoch:%{epoch}:}%{version} -Obsoletes: akmod-nvidia-open < %{?epoch:%{epoch}:}%{version} - - +Patch0: https://github.com/CachyOS/open-gpu-kernel-modules/commit/211f012865b8ea2ba62c3422f5519cb32395c3e0.patch +Patch1: https://github.com/CachyOS/open-gpu-kernel-modules/commit/92789a5709f64008bee34bb044e33a3de9702eb7.patch BuildRequires: gcc-c++ BuildRequires: kmodtool +Requires: nvidia-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: akmods +Provides: akmod-nvidia-open = %{?epoch:%{epoch}:}%{version} +Obsoletes: akmod-nvidia-open < %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-nvidia +Conflicts: nvidia-kmod-580xx +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team # kmodtool does its magic here: -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description The NVidia %{version} display driver kernel module for kernel %{kversion}. @@ -36,9 +37,13 @@ The NVidia %{version} display driver kernel module for kernel %{kversion}. # Error out if there was something wrong with kmodtool: %{?kmodtool_check} # Print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null -%autosetup -p1 -c +%setup -c + +pushd open-gpu-kernel-modules-%{version} +%autopatch -p1 +popd rm -f open-gpu-kernel-modules-%{version}/dkms.conf @@ -62,4 +67,6 @@ done %{?akmod_install} %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-3 +- Update patches for DSC functionality +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/nvidia-modprobe/nvidia-modprobe.spec b/anda/system/nvidia/nvidia-modprobe/nvidia-modprobe.spec index ca9ac0b6e0..82e682e235 100644 --- a/anda/system/nvidia/nvidia-modprobe/nvidia-modprobe.spec +++ b/anda/system/nvidia/nvidia-modprobe/nvidia-modprobe.spec @@ -1,18 +1,17 @@ Name: nvidia-modprobe -Version: 590.48.01 -Release: 2%?dist +Version: 595.71.05 +Release: 1%{?dist} Summary: NVIDIA kernel module loader Epoch: 3 License: GPL-2.0-or-later URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: https://download.nvidia.com/XFree86/%{name}/%{name}-%{version}.tar.bz2 Patch0: %{name}-man-page-permissions.patch - BuildRequires: gcc BuildRequires: m4 BuildRequires: sed +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description This utility is used by user-space NVIDIA driver components to make sure the @@ -45,4 +44,5 @@ make %{?_smp_mflags} \ %{_mandir}/man1/%{name}.1.* %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/nvidia-persistenced/nvidia-persistenced.spec b/anda/system/nvidia/nvidia-persistenced/nvidia-persistenced.spec index e608a57dd4..68a782544f 100644 --- a/anda/system/nvidia/nvidia-persistenced/nvidia-persistenced.spec +++ b/anda/system/nvidia/nvidia-persistenced/nvidia-persistenced.spec @@ -1,26 +1,24 @@ -Name: nvidia-persistenced -Version: 590.48.01 -Release: 2%?dist -Summary: A daemon to maintain persistent software state in the NVIDIA driver -Epoch: 3 -License: GPL-2.0-or-later -URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - -Source0: https://download.nvidia.com/XFree86/%{name}/%{name}-%{version}.tar.bz2 -Source1: %{name}.service -Source2: %{name}-sysusers.conf - +Name: nvidia-persistenced +Version: 595.71.05 +Release: 1%{?dist} +Summary: A daemon to maintain persistent software state in the NVIDIA driver +Epoch: 3 +License: GPL-2.0-or-later +URL: http://www.nvidia.com/object/unix.html +Source0: https://download.nvidia.com/XFree86/%{name}/%{name}-%{version}.tar.bz2 +Source1: %{name}.service +Source2: %{name}-sysusers.conf BuildRequires: gcc BuildRequires: libtirpc-devel BuildRequires: m4 BuildRequires: sed BuildRequires: systemd-rpm-macros - +Requires: libnvidia-cfg%{?_isa} >= %{?epoch:%{epoch}:}%{version} Requires(post): systemd Requires(preun): systemd Requires(postun): systemd -Requires: libnvidia-cfg%{?_isa} >= %{?epoch:%{epoch}:}%{version} +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description The %{name} utility is used to enable persistent software state in the NVIDIA @@ -71,4 +69,5 @@ install -Dpm644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf %{_sysusersdir}/%{name}.conf %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/nvidia-settings/nvidia-settings.spec b/anda/system/nvidia/nvidia-settings/nvidia-settings.spec index 03d41905d7..2662615a57 100644 --- a/anda/system/nvidia/nvidia-settings/nvidia-settings.spec +++ b/anda/system/nvidia/nvidia-settings/nvidia-settings.spec @@ -1,12 +1,10 @@ Name: nvidia-settings -Version: 590.48.01 -Release: 3%?dist +Version: 595.71.05 +Release: 1%{?dist} Summary: Configure the NVIDIA graphics driver Epoch: 3 License: GPL-2.0-or-later URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: https://download.nvidia.com/XFree86/%{name}/%{name}-%{version}.tar.bz2 Source1: %{name}-load.desktop Source2: %{name}.appdata.xml @@ -15,7 +13,6 @@ Patch1: %{name}-lib-permissions.patch Patch2: %{name}-link-order.patch Patch3: %{name}-libXNVCtrl.patch Patch4: %{name}-ld-dep-remove.patch - BuildRequires: desktop-file-utils BuildRequires: dbus-devel BuildRequires: gcc @@ -33,11 +30,12 @@ BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(wayland-client) BuildRequires: sed BuildRequires: vulkan-headers - Requires: nvidia-libXNVCtrl%{?_isa} = %{?epoch}:%{version}-%{release} Requires: nvidia-driver%{?_isa} = %{?epoch}:%{version} # Loaded at runtime Requires: libvdpau%{?_isa} >= 0.9 +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description The %{name} utility is a tool for configuring the NVIDIA graphics @@ -131,4 +129,5 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/%{name}.appda %{_libdir}/libXNVCtrl.so %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update spec for Terra packaging team diff --git a/anda/system/nvidia/nvidia-xconfig/nvidia-xconfig.spec b/anda/system/nvidia/nvidia-xconfig/nvidia-xconfig.spec index bc1a7b18aa..bd50e931cc 100644 --- a/anda/system/nvidia/nvidia-xconfig/nvidia-xconfig.spec +++ b/anda/system/nvidia/nvidia-xconfig/nvidia-xconfig.spec @@ -1,21 +1,19 @@ Name: nvidia-xconfig -Version: 590.48.01 -Release: 2%?dist +Version: 595.71.05 +Release: 1%{?dist} Summary: NVIDIA X configuration file editor Epoch: 3 License: GPL-2.0-or-later URL: http://www.nvidia.com/object/unix.html -ExclusiveArch: x86_64 aarch64 - Source0: https://download.nvidia.com/XFree86/%{name}/%{name}-%{version}.tar.bz2 - BuildRequires: gcc BuildRequires: libpciaccess-devel BuildRequires: m4 BuildRequires: sed - Requires: libnvidia-cfg%{?_isa} >= %{?epoch:%{epoch}:}%{version} Requires: xorg-x11-nvidia%{?_isa} >= %{?epoch:%{epoch}:}%{version} +ExclusiveArch: x86_64 aarch64 +Packager: Terra Packaging Team %description %{name} is a command line tool intended to provide basic control over @@ -49,4 +47,5 @@ make %{?_smp_mflags} \ %{_mandir}/man1/%{name}.1* %changelog -%autochangelog +* Mon Apr 13 2026 Gilver E. - 3:595.58.03-2 +- Update spec for Terra packaging team diff --git a/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec b/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec index e6fd214cb7..c5fac36506 100644 --- a/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec +++ b/anda/system/opentabletdriver-nightly/opentabletdriver-nightly.spec @@ -1,7 +1,7 @@ -%global commit ddf6eb2d00700411a01797373fa3c4025f96ad75 +%global commit 060571d8eb4e2487d7268659113cf224e0fded7a %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260309 -%global ver 0.6.6.2 +%global commit_date 20260504 +%global ver 0.6.7 # We aren't using Mono but RPM expected Mono %global __requires_exclude_from ^/usr/lib/opentabletdriver/.*$ diff --git a/anda/system/opentabletdriver/opentabletdriver.spec b/anda/system/opentabletdriver/opentabletdriver.spec index 4d8e207818..989e37c98b 100644 --- a/anda/system/opentabletdriver/opentabletdriver.spec +++ b/anda/system/opentabletdriver/opentabletdriver.spec @@ -9,8 +9,8 @@ %global dotnet_runtime_version 8.0 Name: opentabletdriver -Version: 0.6.6.2 -Release: 1%?dist +Version: 0.6.7 +Release: 1%{?dist} Summary: A cross-platform open source tablet driver License: LGPLv3 URL: https://github.com/OpenTabletDriver/OpenTabletDriver diff --git a/anda/system/packagekit-bootc/PackageKit-bootc.spec b/anda/system/packagekit-bootc/PackageKit-bootc.spec index 201440134f..6acdca5d2a 100644 --- a/anda/system/packagekit-bootc/PackageKit-bootc.spec +++ b/anda/system/packagekit-bootc/PackageKit-bootc.spec @@ -1,8 +1,8 @@ %global appid com.fyralabs.PackageKit-bootc %global appstream_component addon Name: PackageKit-bootc -Version: 0.1.1 -Release: 1%?dist +Version: 0.2.0 +Release: 1%{?dist} Summary: bootc backend for PackageKit Packager: Cappy Ishihara diff --git a/anda/system/pion/anda.hcl b/anda/system/pion/anda.hcl new file mode 100644 index 0000000000..cf94971bf1 --- /dev/null +++ b/anda/system/pion/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "pion.spec" + } +} diff --git a/anda/system/pion/pion.spec b/anda/system/pion/pion.spec new file mode 100644 index 0000000000..b44b5c599d --- /dev/null +++ b/anda/system/pion/pion.spec @@ -0,0 +1,47 @@ +Name: pion +Version: 0.1.0 +Release: 1%{?dist} +Summary: Binder IPC Linux userspace root service +License: MIT AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) +URL: https://github.com/technobaboo/pion +Source0: %{url}/archive/refs/tags/%{version}.tar.gz +Packager: Owen Zimmerman + +BuildRequires: cargo-rpm-macros +BuildRequires: systemd-rpm-macros + +%description +Binder IPC Linux userspace root service... Binder objects bound to files (like UNIX domain sockets!). + +%prep +%autosetup +%cargo_prep_online + +%build +%cargo_build +%{cargo_license_online} > LICENSE.dependencies + +%install +install -Dm755 target/rpm/pion-binder %{buildroot}%{_bindir}/pion-binder +install -Dm644 dist/pion-binder.service %{buildroot}%{_unitdir}/pion-binder.service +install -Dm644 dist/dev-binderfs.mount %{buildroot}%{_unitdir}/dev-binderfs.mount + +%post +%systemd_post pion-binder.service + +%preun +%systemd_preun pion-binder.service + +%postun +%systemd_postun_with_restart pion-binder.service + +%files +%doc README.md +%license LICENSE LICENSE.dependencies +%{_bindir}/pion-binder +%{_unitdir}/pion-binder.service +%{_unitdir}/dev-binderfs.mount + +%changelog +* Tue Mar 17 2026 Owen Zimmerman +- Initial commit diff --git a/anda/system/pion/update.rhai b/anda/system/pion/update.rhai new file mode 100644 index 0000000000..3510981958 --- /dev/null +++ b/anda/system/pion/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("technobaboo/pion")); diff --git a/anda/system/pixi/pixi.spec b/anda/system/pixi/pixi.spec index 3c61c3c59d..c93e6c4d0a 100644 --- a/anda/system/pixi/pixi.spec +++ b/anda/system/pixi/pixi.spec @@ -1,6 +1,6 @@ Name: pixi -Version: 0.65.0 -Release: 1%?dist +Version: 0.67.2 +Release: 1%{?dist} Summary: A cross-platform, multi-language package manager License: BSD-3-Clause URL: https://pixi.sh diff --git a/anda/system/readymade/git/readymade-git.spec b/anda/system/readymade/git/readymade-git.spec index 552dd377b4..af22342c96 100644 --- a/anda/system/readymade/git/readymade-git.spec +++ b/anda/system/readymade/git/readymade-git.spec @@ -1,10 +1,10 @@ -%global commit 92cc65b61fd5325d47be8793466b66c71ddc75ea -%global commit_date 20260220 +%global commit d65638a3e998f8af3cc0eda8c3641d134c73087d +%global commit_date 20260501 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global crate readymade Name: readymade-git Version: %commit_date.%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Install ready-made distribution images! License: GPL-3.0-or-later URL: https://github.com/FyraLabs/readymade diff --git a/anda/system/readymade/stable/readymade.spec b/anda/system/readymade/stable/readymade.spec index 5aeec70554..14442f33dc 100644 --- a/anda/system/readymade/stable/readymade.spec +++ b/anda/system/readymade/stable/readymade.spec @@ -1,7 +1,7 @@ %global crate readymade Name: readymade -Version: 0.13.0 -Release: 1%?dist +Version: 0.14.0 +Release: 1%{?dist} Summary: Install ready-made distribution images! License: GPL-3.0-or-later URL: https://github.com/FyraLabs/readymade diff --git a/anda/system/rtl8821cu/akmod/rtl8821cu-kmod.spec b/anda/system/rtl8821cu/akmod/rtl8821cu-kmod.spec index 7e101d011c..dfbb341e87 100644 --- a/anda/system/rtl8821cu/akmod/rtl8821cu-kmod.spec +++ b/anda/system/rtl8821cu/akmod/rtl8821cu-kmod.spec @@ -11,7 +11,7 @@ Linux Driver for USB Wi-Fi Adapters that are based on the RTL8811CU, RTL8821CU, Name: %{modulename}-kmod Version: %{ver}^%{commit_date}git.%{shortcommit} -Release: 3%{?dist} +Release: 4%{?dist} Summary: Linux Driver for USB Wi-Fi Adapters using RTL8821 chipsets License: GPL-2.0-only URL: https://github.com/morrownr/8821cu-20210916 @@ -23,13 +23,13 @@ Requires: akmods Conflicts: dkms-%{modulename} Packager: Gilver E. -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description %_description %prep %{?kmodtool_check} -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %autosetup -n %{git_name}-%{commit} diff --git a/anda/system/rtl8821cu/dkms/anda.hcl b/anda/system/rtl8821cu/dkms/anda.hcl index 3d716dd0ca..09cdb8c884 100644 --- a/anda/system/rtl8821cu/dkms/anda.hcl +++ b/anda/system/rtl8821cu/dkms/anda.hcl @@ -1,4 +1,5 @@ project pkg { + arches = ["x86_64"] rpm { spec = "dkms-rtl8821cu.spec" } diff --git a/anda/system/rtl8821cu/dkms/dkms-rtl8821cu.spec b/anda/system/rtl8821cu/dkms/dkms-rtl8821cu.spec index 439731cce7..f1cce2d9f4 100644 --- a/anda/system/rtl8821cu/dkms/dkms-rtl8821cu.spec +++ b/anda/system/rtl8821cu/dkms/dkms-rtl8821cu.spec @@ -4,13 +4,12 @@ %global ver 5.12.0.4 %global modulename rtl8821cu %global git_name 8821cu-20210916 -%global debug_package %{nil} %global _description %{expand: Linux Driver for USB Wi-Fi Adapters that are based on the RTL8811CU, RTL8821CU, RTL8821CUH, and RTL8731AU chipsets.} Name: dkms-%{modulename} Version: %{ver}^%{commit_date}git.%{shortcommit} -Release: 2%{?dist} +Release: 3%{?dist} Summary: Linux Driver for USB Wi-Fi Adapters using RTL8821 chipsets License: GPL-2.0-only URL: https://github.com/morrownr/8821cu-20210916 @@ -26,6 +25,7 @@ Requires: bc Requires: make Provides: %{modulename}-kmod Conflicts: akmod-%{modulename} +BuildArch: noarch Packager: Gilver E. %description %_description @@ -50,7 +50,7 @@ sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefil %install mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ -cp -fr core hal include os_dep platform Kconfig Makefile halmac.mk dkms-make.sh dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr core hal include os_dep platform Kconfig Makefile halmac.mk rtl8821c.mk dkms-make.sh dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ %if 0%{?fedora} # Do not enable weak modules support in Fedora (no kABI): diff --git a/anda/system/rtl8821cu/kmod-common/rtl8821cu-kmod-common.spec b/anda/system/rtl8821cu/kmod-common/rtl8821cu-kmod-common.spec index 6a6d2ec817..b6685aefa8 100644 --- a/anda/system/rtl8821cu/kmod-common/rtl8821cu-kmod-common.spec +++ b/anda/system/rtl8821cu/kmod-common/rtl8821cu-kmod-common.spec @@ -4,7 +4,6 @@ %global ver 5.12.0.4 %global modulename rtl8821cu %global git_name 8821cu-20210916 -%global debug_package %{nil} Name: %{modulename}-kmod-common Version: %{ver}^%{commit_date}git.%{shortcommit} diff --git a/anda/system/sc0710/akmod/anda.hcl b/anda/system/sc0710/akmod/anda.hcl new file mode 100644 index 0000000000..9082dd68d0 --- /dev/null +++ b/anda/system/sc0710/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "sc0710-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/sc0710/akmod/sc0710-kmod.spec b/anda/system/sc0710/akmod/sc0710-kmod.spec new file mode 100644 index 0000000000..3222c892c1 --- /dev/null +++ b/anda/system/sc0710/akmod/sc0710-kmod.spec @@ -0,0 +1,55 @@ +%global commit 56c3cc0748cc66220487aaa63dc621aa1076994d +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260418 +%global ver 0 +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename sc0710 + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Elgato 4K60 Pro MK.2 / 4K Pro capture card driver +License: GPL-2.0-only +URL: https://github.com/Nakildias/sc0710 +Source0: https://github.com/Nakildias/sc0710/archive/%{commit}.tar.gz#/sc0710-%{shortcommit}.tar.gz +BuildRequires: kmodtool +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-%{modulename} +Packager: Kyle Gospodnetich + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Elgato 4K60 Pro MK.2 / 4K Pro capture card driver. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{commit} + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr lib Makefile _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) VERSION="v%{version}" modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Fri Apr 03 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/sc0710/akmod/update.rhai b/anda/system/sc0710/akmod/update.rhai new file mode 100644 index 0000000000..4969eb372d --- /dev/null +++ b/anda/system/sc0710/akmod/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/sc0710/dkms/anda.hcl b/anda/system/sc0710/dkms/anda.hcl new file mode 100644 index 0000000000..d0e2b9a8af --- /dev/null +++ b/anda/system/sc0710/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-sc0710.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/sc0710/dkms/dkms-sc0710.conf b/anda/system/sc0710/dkms/dkms-sc0710.conf new file mode 100644 index 0000000000..c508e1ac24 --- /dev/null +++ b/anda/system/sc0710/dkms/dkms-sc0710.conf @@ -0,0 +1,6 @@ +PACKAGE_NAME="sc0710" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +BUILT_MODULE_NAME[0]="sc0710" +DEST_MODULE_LOCATION[0]="/kernel/drivers/media/pci/" diff --git a/anda/system/sc0710/dkms/dkms-sc0710.spec b/anda/system/sc0710/dkms/dkms-sc0710.spec new file mode 100644 index 0000000000..e3f8029845 --- /dev/null +++ b/anda/system/sc0710/dkms/dkms-sc0710.spec @@ -0,0 +1,60 @@ +%global commit 56c3cc0748cc66220487aaa63dc621aa1076994d +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260418 +%global ver 0 +%global debug_package %{nil} +%global modulename sc0710 + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Elgato 4K60 Pro MK.2 / 4K Pro capture card driver (DKMS) +License: GPL-2.0-only +URL: https://github.com/Nakildias/%{modulename} +Source0: https://github.com/Nakildias/%{modulename}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: %{name}.conf +Source2: no-weak-modules.conf +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod +BuildArch: noarch +Packager: Kyle Gospodnetich + +%description +Elgato 4K60 Pro MK.2 / 4K Pro capture card driver (DKMS). + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + +cp -f %{SOURCE1} dkms.conf + +sed -i -e 's/__VERSION_STRING/%{version}/g' dkms.conf + +%build + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr lib Makefile dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Fri Apr 03 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/sc0710/dkms/no-weak-modules.conf b/anda/system/sc0710/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/sc0710/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/sc0710/dkms/update.rhai b/anda/system/sc0710/dkms/update.rhai new file mode 100644 index 0000000000..4969eb372d --- /dev/null +++ b/anda/system/sc0710/dkms/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/sc0710/kmod-common/sc0710.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/xpadneo/kmod-common/anda.hcl b/anda/system/sc0710/kmod-common/anda.hcl similarity index 77% rename from anda/system/xpadneo/kmod-common/anda.hcl rename to anda/system/sc0710/kmod-common/anda.hcl index 9b58032693..af7d62c918 100644 --- a/anda/system/xpadneo/kmod-common/anda.hcl +++ b/anda/system/sc0710/kmod-common/anda.hcl @@ -1,7 +1,7 @@ project pkg { arches = ["x86_64"] rpm { - spec = "xpadneo.spec" + spec = "sc0710.spec" } labels { nightly = 1 diff --git a/anda/system/sc0710/kmod-common/sc0710.spec b/anda/system/sc0710/kmod-common/sc0710.spec new file mode 100644 index 0000000000..ec5c2faf77 --- /dev/null +++ b/anda/system/sc0710/kmod-common/sc0710.spec @@ -0,0 +1,32 @@ +%global commit 56c3cc0748cc66220487aaa63dc621aa1076994d +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260418 +%global ver 0 + +Name: sc0710 +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 1%{?dist} +Summary: Elgato 4K60 Pro MK.2 / 4K Pro capture card driver common files +License: GPL-2.0-only +URL: https://github.com/Nakildias/%{name} +Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch +Packager: Kyle Gospodnetich + +%description +Elgato 4K60 Pro MK.2 / 4K Pro capture card driver common files. + +%prep +%autosetup -p1 -n %{name}-%{commit} + +%install + +%files +%license LICENSE +%doc README.md + +%changelog +* Fri Apr 03 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/sc0710/kmod-common/update.rhai b/anda/system/sc0710/kmod-common/update.rhai new file mode 100644 index 0000000000..23c41b09cc --- /dev/null +++ b/anda/system/sc0710/kmod-common/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("Nakildias/sc0710")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); +} diff --git a/anda/system/scx-scheds/nightly/scx-scheds-nightly.spec b/anda/system/scx-scheds/nightly/scx-scheds-nightly.spec index 9f0d9514a0..7ceab46eaa 100644 --- a/anda/system/scx-scheds/nightly/scx-scheds-nightly.spec +++ b/anda/system/scx-scheds/nightly/scx-scheds-nightly.spec @@ -1,6 +1,6 @@ -%global commit 080afd6411c634991db13404f1c7c68d47d83bfc +%global commit a9e43b68d632f2746e97da4fb7a955a320795d1a %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260309 +%global commitdate 20260507 %global ver 1.1.0 %undefine __brp_mangle_shebangs @@ -9,7 +9,7 @@ Version: %{ver}^%{commitdate}.git.%{shortcommit} Release: 1%{?dist} Summary: Nightly builds of sched_ext schedulers and tools SourceLicense: GPL-2.0-only -License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1 AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-only and MPL-2.0-or-later AND (Unlicense OR MIT) AND Zlib +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1-only AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-or-later AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib URL: https://github.com/sched-ext/scx Source0: %{URL}/archive/%{commit}/scx-%{commit}.tar.gz BuildRequires: anda-srpm-macros @@ -84,13 +84,10 @@ License: GPL-2.0-only --exclude scx_arena_selftests %install -find target/rpm \ - -maxdepth 1 -type f -executable ! -name '*.so' \ - -exec install -Dm755 -t %{buildroot}%{_bindir} {} + +%install_cargo_bins +%install_cargo_devel_libs -install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir} - -%{cargo_license_online} > LICENSE.dependencies +%{cargo_license_online -a} > LICENSE.dependencies %files %doc OVERVIEW.md @@ -100,5 +97,7 @@ install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir} %{_bindir}/scx* %changelog +* Sat May 2 2026 Gilver E. - 1.1.0^20260502.git.ce8aa3d-2 +- Update licenses * Sun Jun 15 2025 Gilver E. - 1.0.13^20250612.git.c1507b0-1 - Initial package diff --git a/anda/system/scx-scheds/stable/scx-scheds.spec b/anda/system/scx-scheds/stable/scx-scheds.spec index 2272678450..0dcc1acf46 100644 --- a/anda/system/scx-scheds/stable/scx-scheds.spec +++ b/anda/system/scx-scheds/stable/scx-scheds.spec @@ -2,10 +2,10 @@ Name: scx-scheds Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: sched_ext schedulers SourceLicense: GPL-2.0-only -License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1 AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-only and MPL-2.0-or-later AND (Unlicense OR MIT) AND Zlib +License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND GPL-2.0-only AND ISC AND (LGPL-2.1-only OR BSD-2-Clause) AND LGPL-2.1-only AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0-or-later AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib URL: https://github.com/sched-ext/scx Source0: %{URL}/archive/refs/tags/v%{version}.tar.gz BuildRequires: anda-srpm-macros @@ -78,13 +78,10 @@ License: GPL-2.0-only --exclude scx_arena_selftests %install -find target/rpm \ - -maxdepth 1 -type f -executable ! -name '*.so' \ - -exec install -Dm755 -t %{buildroot}%{_bindir} {} + +%install_cargo_bins +%install_cargo_devel_libs -install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir} - -%{cargo_license_online} > LICENSE.dependencies +%{cargo_license_online -a} > LICENSE.dependencies %files %doc OVERVIEW.md @@ -94,5 +91,7 @@ install -Dm755 target/rpm/*.so -t %{buildroot}%{_libdir} %{_bindir}/scx* %changelog +* Sat May 2 2026 Gilver E. - 1.1.0-2 +- Update licenses * Sun Jun 15 2025 Gilver E. - 1.0.13-1 - Initial package diff --git a/anda/system/scx-tools/nightly/scx-tools-nightly.spec b/anda/system/scx-tools/nightly/scx-tools-nightly.spec index 4e6e77c3fb..dae05b5c48 100644 --- a/anda/system/scx-tools/nightly/scx-tools-nightly.spec +++ b/anda/system/scx-tools/nightly/scx-tools-nightly.spec @@ -1,6 +1,6 @@ -%global commit 1e475504316b4a588d1f3634b2e40a5859067744 +%global commit 224c78c7c5e88472b9ad6a66b8ce90c164157786 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260308 +%global commitdate 20260423 %global ver 1.1.0 %global appid com.sched_ext.scx %global developer "sched-ext Contributors" diff --git a/anda/system/supergfxctl/supergfxctl.spec b/anda/system/supergfxctl/supergfxctl.spec index 29829af00b..1de7f5e6af 100644 --- a/anda/system/supergfxctl/supergfxctl.spec +++ b/anda/system/supergfxctl/supergfxctl.spec @@ -1,6 +1,6 @@ Name: supergfxctl Version: 5.2.7 -Release: 1%?dist +Release: 2%?dist Summary: GPU Utility for ASUS ROG Laptops URL: https://gitlab.com/asus-linux/supergfxctl Source0: %url/-/archive/%{version}/supergfxctl-%{version}.tar.gz @@ -8,7 +8,7 @@ SourceLicense: MPL-2.0 License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND (Unlicense OR MIT) BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold rust-udev-devel BuildRequires: rpm_macro(systemd_post) -Packager: Its-J +Packager: Its-J %description %{summary}. @@ -52,5 +52,8 @@ install -Dm 0644 data/supergfxd.service -t %buildroot%_unitdir %ghost %{_presetdir}/99-supergfxd.preset %changelog -* Sun Oct 26 2025 Its-J +* Tue Apr 14 2026 Its-J +- Add email to my previous contributor attributions + +* Sun Oct 26 2025 Its-J - Package SuperGFXctl diff --git a/anda/misc/system76-scheduler/anda.hcl b/anda/system/system76-scheduler/anda.hcl similarity index 100% rename from anda/misc/system76-scheduler/anda.hcl rename to anda/system/system76-scheduler/anda.hcl diff --git a/anda/misc/system76-scheduler/system76-scheduler.spec b/anda/system/system76-scheduler/system76-scheduler.spec similarity index 100% rename from anda/misc/system76-scheduler/system76-scheduler.spec rename to anda/system/system76-scheduler/system76-scheduler.spec diff --git a/anda/misc/system76-scheduler/update.rhai b/anda/system/system76-scheduler/update.rhai similarity index 100% rename from anda/misc/system76-scheduler/update.rhai rename to anda/system/system76-scheduler/update.rhai diff --git a/anda/system/t150-driver/akmod/anda.hcl b/anda/system/t150-driver/akmod/anda.hcl new file mode 100644 index 0000000000..113665e7bc --- /dev/null +++ b/anda/system/t150-driver/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "t150-driver-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/t150-driver/akmod/t150-driver-kmod.spec b/anda/system/t150-driver/akmod/t150-driver-kmod.spec new file mode 100644 index 0000000000..88f013e575 --- /dev/null +++ b/anda/system/t150-driver/akmod/t150-driver-kmod.spec @@ -0,0 +1,55 @@ +%global commit f7ecb30c65ee5f7870e921bc0a2354df8e1e8100 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250225 +%global ver 1.0 +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename t150-driver + +Name: %{modulename}-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Thrustmaster T150 steering wheel kernel module +License: GPL-2.0-only +URL: https://github.com/scarburato/t150_driver +Source0: %{url}/archive/%{commit}.tar.gz#/t150_driver-%{shortcommit}.tar.gz +BuildRequires: kmodtool +Requires: akmods +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-%{modulename} + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Linux driver for Thrustmaster T150 Steering Wheel USB. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n t150_driver-%{commit} + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr hid-t150/* _kmod_build_${kernel_version%%___*}/ +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/t150-driver/akmod/update.rhai b/anda/system/t150-driver/akmod/update.rhai new file mode 100644 index 0000000000..7885cb6a8d --- /dev/null +++ b/anda/system/t150-driver/akmod/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/t150-driver/kmod-common/t150-driver.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/t150-driver/kmod-common/t150-driver.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/t150-driver/kmod-common/t150-driver.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/t150-driver/dkms/anda.hcl b/anda/system/t150-driver/dkms/anda.hcl new file mode 100644 index 0000000000..eb5944477d --- /dev/null +++ b/anda/system/t150-driver/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-t150-driver.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/t150-driver/dkms/dkms-t150-driver.conf b/anda/system/t150-driver/dkms/dkms-t150-driver.conf new file mode 100644 index 0000000000..23a68a873a --- /dev/null +++ b/anda/system/t150-driver/dkms/dkms-t150-driver.conf @@ -0,0 +1,10 @@ +PACKAGE_NAME="t150-driver" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +MAKE="make KDIR=${kernel_source_dir} all" +CLEAN="make KDIR=${kernel_source_dir} clean" + +BUILT_MODULE_NAME[0]="hid-t150" +BUILT_MODULE_LOCATION[0]="build/" +DEST_MODULE_LOCATION[0]="/extra" diff --git a/anda/system/t150-driver/dkms/dkms-t150-driver.spec b/anda/system/t150-driver/dkms/dkms-t150-driver.spec new file mode 100644 index 0000000000..3f1d3a79b6 --- /dev/null +++ b/anda/system/t150-driver/dkms/dkms-t150-driver.spec @@ -0,0 +1,58 @@ +%global commit f7ecb30c65ee5f7870e921bc0a2354df8e1e8100 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250225 +%global ver 1.0 +%global debug_package %{nil} +%global modulename t150-driver + +Name: dkms-%{modulename} +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Thrustmaster T150 steering wheel kernel module (DKMS) +License: GPL-2.0-only +URL: https://github.com/scarburato/t150_driver +Source0: %{url}/archive/%{commit}.tar.gz#/t150_driver-%{shortcommit}.tar.gz +Source1: %{name}.conf +Source2: no-weak-modules.conf +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod +BuildArch: noarch + +%description +Linux driver for Thrustmaster T150 Steering Wheel USB. + +%prep +%autosetup -p1 -n t150_driver-%{commit} + +cp -f %{SOURCE1} dkms.conf +sed -i -e 's/__VERSION_STRING/%{version}/g' dkms.conf + +%build + +%install +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr hid-t150 dkms_make.mak dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/t150-driver/dkms/no-weak-modules.conf b/anda/system/t150-driver/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/t150-driver/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/t150-driver/dkms/update.rhai b/anda/system/t150-driver/dkms/update.rhai new file mode 100644 index 0000000000..7885cb6a8d --- /dev/null +++ b/anda/system/t150-driver/dkms/update.rhai @@ -0,0 +1,12 @@ +let c = sh("cat anda/system/t150-driver/kmod-common/t150-driver.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/t150-driver/kmod-common/t150-driver.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/t150-driver/kmod-common/t150-driver.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} diff --git a/anda/system/t150-driver/kmod-common/anda.hcl b/anda/system/t150-driver/kmod-common/anda.hcl new file mode 100644 index 0000000000..51d88e9b18 --- /dev/null +++ b/anda/system/t150-driver/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "t150-driver.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/t150-driver/kmod-common/t150-driver.spec b/anda/system/t150-driver/kmod-common/t150-driver.spec new file mode 100644 index 0000000000..199f72369f --- /dev/null +++ b/anda/system/t150-driver/kmod-common/t150-driver.spec @@ -0,0 +1,46 @@ +%global commit f7ecb30c65ee5f7870e921bc0a2354df8e1e8100 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20250225 +%global ver 1.0 + +Name: t150-driver +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +Summary: Thrustmaster T150 steering wheel driver common files +License: GPL-2.0-only +URL: https://github.com/scarburato/t150_driver +Source0: %{url}/archive/%{commit}.tar.gz#/t150_driver-%{shortcommit}.tar.gz +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description +Linux driver for Thrustmaster T150 Steering Wheel USB. This package contains +common files shared between the akmod and dkms variants. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n t150_driver-%{commit} + +echo hid-t150 > %{name}.conf + +%install +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE +%doc README.md + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Thu Apr 02 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/t150-driver/kmod-common/update.rhai b/anda/system/t150-driver/kmod-common/update.rhai new file mode 100644 index 0000000000..ad5b36bdda --- /dev/null +++ b/anda/system/t150-driver/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("scarburato/t150_driver")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let ver = gh("scarburato/t150_driver"); + ver.crop(0); + rpm.global("ver", ver); +} diff --git a/anda/system/taidan/anda.hcl b/anda/system/taidan/anda.hcl new file mode 100644 index 0000000000..5ca54bc05c --- /dev/null +++ b/anda/system/taidan/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "taidan.spec" + } +} diff --git a/anda/system/taidan/taidan.spec b/anda/system/taidan/taidan.spec new file mode 100644 index 0000000000..90a2a9aec3 --- /dev/null +++ b/anda/system/taidan/taidan.spec @@ -0,0 +1,67 @@ +Name: taidan +Version: 0.2.0 +Release: 1%{?dist} +Summary: Out-Of-Box-Experience (OOBE) and Welcome App +SourceLicense: GPL-3.0-or-later AND GPL-2.0-or-later +License: (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND GPL-3.0-or-later AND GPL-2.0-or-later +URL: https://github.com/Ultramarine-Linux/taidan +Packager: Terra Packaging Team +Conflicts: initial-setup +Requires: dbus-daemon +Requires: (glib2 or (/usr/bin/plasma-apply-colorscheme and kf6-kconfig)) +Requires: shadow-utils +Requires: systemd-udev +Requires: bash +Requires: (dnf5 and dnf5-command(copr)) +Requires: flatpak +Requires: libwebp +Requires: webp-pixbuf-loader +Requires: xhost +Requires: kwin-wayland swaybg +Requires: netto network-manager-applet +Requires: polkit +BuildRequires: anda-srpm-macros mold cargo rust-packaging perl systemd-rpm-macros +BuildRequires: pkgconfig(libhelium-1) +BuildRequires: pkgconfig(openssl) +BuildRequires: gcc clang clang-libs +BuildRequires: pkgconfig(libacl) +BuildRequires: pkgconfig(libattr) +BuildRequires: glibc-all-langpacks + +%description +Taidan is a GUI Out-Of-Box-Experience (OOBE) and Welcome App for Ultramarine +Linux, written in Rust and the Helium toolkit. + +%prep +%git_clone +%cargo_prep_online + +%build +%{cargo_license_online} > LICENSE.dependencies + +%install +%cargo_install +DESTDIR=%buildroot ./scripts/install.sh + +%files +%doc README.md +%license LICENSE.md LICENSE.dependencies +%_bindir/taidan +%_libexecdir/start-taidan +%_datadir/polkit-1/rules.d/100-taidan.rules +%_datadir/taidan/ +%_presetdir/95-taidan.preset +%_sysconfdir/com.fyralabs.Taidan/ +%_sysconfdir/pam.d/taidan +%_sysusersdir/taidan.conf +%_unitdir/taidan-initial-setup.service +%_unitdir/taidan-initial-setup-reconfiguration.service +%dir %_prefix/lib/taidan/ +%_prefix/lib/taidan/labwc/* + +%changelog +* Sun Mar 15 2026 Tulip Blossom +- Add dbus-daemon as runtime dependency + +* Sun Mar 15 2026 Tulip Blossom +- Port manifest from Ultramarine repos to Terra diff --git a/anda/system/taidan/update.rhai b/anda/system/taidan/update.rhai new file mode 100644 index 0000000000..d4ee78b6c5 --- /dev/null +++ b/anda/system/taidan/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("ultramarine-linux/taidan")); diff --git a/anda/system/usbio-drivers/akmod/intel-usbio-kmod.spec b/anda/system/usbio-drivers/akmod/intel-usbio-kmod.spec index 39b2b41818..2d07e88742 100644 --- a/anda/system/usbio-drivers/akmod/intel-usbio-kmod.spec +++ b/anda/system/usbio-drivers/akmod/intel-usbio-kmod.spec @@ -8,7 +8,7 @@ Name: %{modulename}-kmod Summary: Kernel drivers for the USBIO Extension Version: 0^%{commit_date}git.%{shortcommit} -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-only URL: https://github.com/intel/usbio-drivers Source0: %{url}/archive/%{commit}.tar.gz#/usbio-drivers-%{shortcommit}.tar.gz @@ -20,7 +20,7 @@ Requires: akmods Requires: akmod-intel-ipu6 Packager: Gilver E. -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description This package enables USBIO Extension drivers on Intel Alder Lake, Raptor Lake, Meteor Lake and Lunar Lake platforms. @@ -30,7 +30,7 @@ This package enables USBIO Extension drivers on Intel Alder Lake, Raptor Lake, M %{?kmodtool_check} # print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %autosetup -p1 -n usbio-drivers-%{commit} rm -fr .github diff --git a/anda/system/uupd/anda.hcl b/anda/system/uupd/anda.hcl new file mode 100644 index 0000000000..5463a64b87 --- /dev/null +++ b/anda/system/uupd/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "uupd.spec" + } +} diff --git a/anda/system/uupd/update.rhai b/anda/system/uupd/update.rhai new file mode 100644 index 0000000000..133dc16bfb --- /dev/null +++ b/anda/system/uupd/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("ublue-os/uupd")); diff --git a/anda/system/uupd/uupd.spec b/anda/system/uupd/uupd.spec new file mode 100644 index 0000000000..39f1511550 --- /dev/null +++ b/anda/system/uupd/uupd.spec @@ -0,0 +1,49 @@ +Name: uupd +Version: 1.3.0 +Release: 1%?dist +Summary: Centralized update service/checker made for Universal Blue +License: Apache-2.0 +URL: https://github.com/ublue-os/uupd +Source0: %url/archive/refs/tags/v%version.tar.gz +BuildRequires: golang +BuildRequires: go-rpm-macros +BuildRequires: systemd-rpm-macros +Recommends: bootc +Packager: Tulip Blossom + +%description +%{summary}. + +%gopkg +%global goipath github.com/ublue-os/uupd +%gometa -f + +%prep +%goprep + +%build +%define gomodulesmode GO111MODULE=on +%gobuild -o %{name} + +%install +install -Dpm0755 -t %{buildroot}%{_bindir}/ %{name} +install -Dpm0644 -t %{buildroot}%{_unitdir}/ %{name}.service %{name}.timer +install -Dpm0644 -t %{buildroot}%{_sysconfdir}/polkit-1/rules.d/%{name}.rules %{name}.rules + +%post +%systemd_post %{name}.timer + +%preun +%systemd_preun %{name}.timer + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_unitdir}/%{name}.service +%{_unitdir}/%{name}.timer +%{_sysconfdir}/polkit-1/rules.d/%{name}.rules + +%changelog +* Sun Apr 19 2026 Tulip Blossom +- Initial commit diff --git a/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec b/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec index b3f8845ee0..fb48f818da 100644 --- a/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec +++ b/anda/system/uutils-coreutils-replace/uutils-coreutils-replace.spec @@ -5,7 +5,7 @@ %endif Name: uutils-coreutils-replace -Version: 0.7.0 +Version: 0.8.0 Release: 1%{?dist} Summary: Cross-platform Rust rewrite of the GNU coreutils License: MIT diff --git a/anda/system/v4l2-relayd/v4l2-relayd.spec b/anda/system/v4l2-relayd/v4l2-relayd.spec index edb5cc11e2..d3cd4661f2 100644 --- a/anda/system/v4l2-relayd/v4l2-relayd.spec +++ b/anda/system/v4l2-relayd/v4l2-relayd.spec @@ -28,8 +28,10 @@ This is used to relay the input GStreamer source to an output source or a V4L2 d %autosetup -p1 -n %{name}-%{commit} autoreconf --force --install --verbose -%build +%conf %configure + +%build %make_build %install @@ -40,12 +42,15 @@ install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_presetdir}/95-v4l2-relayd.preset %post %systemd_post v4l2-relayd.service +%systemd_post v4l2-relayd@.service %preun %systemd_preun v4l2-relayd.service +%systemd_preun v4l2-relayd@.service %postun %systemd_postun_with_restart v4l2-relayd.service +%systemd_postun_with_restart v4l2-relayd@.service %files %license LICENSE @@ -54,7 +59,10 @@ install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_presetdir}/95-v4l2-relayd.preset %{_modprobedir}/v4l2-relayd.conf %{_modulesloaddir}/v4l2-relayd.conf %{_unitdir}/v4l2-relayd.service +%{_unitdir}/v4l2-relayd@.service %{_presetdir}/95-v4l2-relayd.preset +%{_systemdgeneratordir}/v4l2-relayd-generator + %changelog %autochangelog diff --git a/anda/system/v4l2loopback/akmod/v4l2loopback-kmod.spec b/anda/system/v4l2loopback/akmod/v4l2loopback-kmod.spec index 30da3ddc8e..f2312787eb 100644 --- a/anda/system/v4l2loopback/akmod/v4l2loopback-kmod.spec +++ b/anda/system/v4l2loopback/akmod/v4l2loopback-kmod.spec @@ -18,7 +18,7 @@ This module allows you to create \"virtual video devices.\" Normal \(v4l2\) appl Name: %{modulename}-kmod Summary: Kernel module (kmod) for V4L2 loopback devices Version: 0.15.3 -Release: 2%?dist +Release: 4%{?dist} License: GPL-2.0-or-later URL: https://github.com/v4l2loopback/v4l2loopback Source0: %{url}/archive/v%{version}/%{modulename}-%{version}.tar.gz @@ -35,14 +35,14 @@ Requires: kernel-devel Conflicts: dkms-%{modulename} Packager: Cappy Ishihara -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description %_description %prep %{?kmodtool_check} -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %setup -q -c (cd v4l2loopback-%{version} diff --git a/anda/system/v4l2loopback/dkms/dkms-v4l2loopback.spec b/anda/system/v4l2loopback/dkms/dkms-v4l2loopback.spec index 6aca781b0b..58ee8502d9 100644 --- a/anda/system/v4l2loopback/dkms/dkms-v4l2loopback.spec +++ b/anda/system/v4l2loopback/dkms/dkms-v4l2loopback.spec @@ -5,7 +5,7 @@ This module allows you to create \"virtual video devices.\" Normal \(v4l2\) appl Name: dkms-%{modulename} Version: 0.15.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Utils for V4L2 loopback devices License: GPL-2.0-or-later URL: https://github.com/v4l2loopback/v4l2loopback diff --git a/anda/system/v4l2loopback/kmod-common/v4l2loopback.spec b/anda/system/v4l2loopback/kmod-common/v4l2loopback.spec index ac9a645b26..48a2c75cde 100644 --- a/anda/system/v4l2loopback/kmod-common/v4l2loopback.spec +++ b/anda/system/v4l2loopback/kmod-common/v4l2loopback.spec @@ -6,7 +6,7 @@ Name: v4l2loopback Summary: Utils for V4L2 loopback devices Version: 0.15.3 -Release: 1%?dist +Release: 2%?dist License: GPL-2.0-or-later URL: https://github.com/v4l2loopback/v4l2loopback Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -29,7 +29,7 @@ Allows you to create "virtual video devices". Normal (v4l2) applications will re %package akmod-modules Summary: Modules for Akmods -Requires: akmod-%{name} +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} BuildArch: noarch %description akmod-modules diff --git a/anda/system/vicinae/vicinae.spec b/anda/system/vicinae/vicinae.spec index 2c3fecc76c..282614a5ba 100644 --- a/anda/system/vicinae/vicinae.spec +++ b/anda/system/vicinae/vicinae.spec @@ -1,5 +1,5 @@ Name: vicinae -Version: 0.20.5 +Version: 0.20.15 Release: 1%{?dist} License: GPL-3.0 URL: https://docs.vicinae.com diff --git a/anda/system/wine/dev/wine-dev.spec b/anda/system/wine/dev/wine-dev.spec index 6fc3c09c5a..a8d81894fd 100644 --- a/anda/system/wine/dev/wine-dev.spec +++ b/anda/system/wine/dev/wine-dev.spec @@ -9,7 +9,7 @@ %global _prefix /usr/share/wine-dev %global srcmajor 11.x # Make this as a variable instead in case of WINE RCs -%global ver wine-11.4 +%global ver wine-11.8 %global cleanver %(echo %{ver} | sed 's/v//g;s/wine-//g') # This is unfortunate but a lot of Fedora's/SUSE's hardening flags break WINE diff --git a/anda/system/wine/staging/wine-staging.spec b/anda/system/wine/staging/wine-staging.spec index 782b00a41f..e4a8b30814 100644 --- a/anda/system/wine/staging/wine-staging.spec +++ b/anda/system/wine/staging/wine-staging.spec @@ -18,7 +18,7 @@ Name: wine-staging -Version: 11.4 +Version: 11.8 Release: 1%{?dist} Epoch: 1 Summary: WINE Is Not An Emulator - runs MS Windows programs diff --git a/anda/system/wl-kmod/wl-kmod-031_replace_EXTRA_CFLAGS_EXTRA_LDFLAGS_with_ccflags-y_ldflags-y.patch b/anda/system/wl-kmod/wl-kmod-031_replace_EXTRA_CFLAGS_EXTRA_LDFLAGS_with_ccflags-y_ldflags-y.patch new file mode 100644 index 0000000000..a4077e907d --- /dev/null +++ b/anda/system/wl-kmod/wl-kmod-031_replace_EXTRA_CFLAGS_EXTRA_LDFLAGS_with_ccflags-y_ldflags-y.patch @@ -0,0 +1,63 @@ +From 26597004c02ca97d4ff620ed11091cf0dd68a92d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nicolas=20Vi=C3=A9ville?= +Date: Tue, 17 Jun 2025 14:34:24 +0200 +Subject: [PATCH] makefile: replace EXTRA_CFLAGS and EXTRA_LDFLAGS with + ccflags-y and ldflags-y from commit "kbuild: remove EXTRA_*FLAGS support" + (Masahiro Yamada, 6 Feb 2025) saying they have been deprecated since 2007 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Nicolas Viéville +--- + Makefile | 18 +++++++++--------- + 1 file changed, 9 insertions(+), 9 deletions(-) + +diff --git a/Makefile b/Makefile +index 296162c..6e90afb 100644 +--- a/Makefile ++++ b/Makefile +@@ -131,15 +131,15 @@ GCCVERSION := $(subst $(space),$(empty),$(GCCVERSION)) + GCCVERSION := $(shell expr `echo $(GCCVERSION)` | cut -b1-3) + GE_49 := $(shell expr `echo $(GCCVERSION)` \>= 490) + +-EXTRA_CFLAGS := ++ccflags-y := + + ifeq ($(APIFINAL),CFG80211) +- EXTRA_CFLAGS += -DUSE_CFG80211 ++ ccflags-y += -DUSE_CFG80211 + $(info Using CFG80211 API) + endif + + ifeq ($(APIFINAL),WEXT) +- EXTRA_CFLAGS += -DUSE_IW ++ ccflags-y += -DUSE_IW + $(info Using Wireless Extension API) + endif + +@@ -151,15 +151,15 @@ wl-objs += src/wl/sys/wl_linux.o + wl-objs += src/wl/sys/wl_iw.o + wl-objs += src/wl/sys/wl_cfg80211_hybrid.o + +-EXTRA_CFLAGS += -I$(src)/src/include -I$(src)/src/common/include +-EXTRA_CFLAGS += -I$(src)/src/wl/sys -I$(src)/src/wl/phy -I$(src)/src/wl/ppr/include +-EXTRA_CFLAGS += -I$(src)/src/shared/bcmwifi/include +-#EXTRA_CFLAGS += -DBCMDBG_ASSERT -DBCMDBG_ERR ++ccflags-y += -I$(src)/src/include -I$(src)/src/common/include ++ccflags-y += -I$(src)/src/wl/sys -I$(src)/src/wl/phy -I$(src)/src/wl/ppr/include ++ccflags-y += -I$(src)/src/shared/bcmwifi/include ++#ccflags-y += -DBCMDBG_ASSERT -DBCMDBG_ERR + ifeq "$(GE_49)" "1" +-EXTRA_CFLAGS += -Wno-date-time ++ccflags-y += -Wno-date-time + endif + +-EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped ++ldflags-y := $(src)/lib/wlc_hybrid.o_shipped + + KBASE ?= /lib/modules/`uname -r` + KBUILD_DIR ?= $(KBASE)/build +-- +2.49.0 + diff --git a/anda/system/wl-kmod/wl-kmod-032_add_MODULE_DESCRIPTION_macro.patch b/anda/system/wl-kmod/wl-kmod-032_add_MODULE_DESCRIPTION_macro.patch new file mode 100644 index 0000000000..db2b9a7b4b --- /dev/null +++ b/anda/system/wl-kmod/wl-kmod-032_add_MODULE_DESCRIPTION_macro.patch @@ -0,0 +1,30 @@ +From 3b780d05b0f9a3b36196c0cfedb57cb2241f87f8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nicolas=20Vi=C3=A9ville?= +Date: Tue, 17 Jun 2025 14:49:31 +0200 +Subject: [PATCH] wl_linux.c: add MODULE_DESCRIPTION macro related to commit + "modpost: require a MODULE_DESCRIPTION()" (Jeff Johnson, 11 Mar 2025) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Nicolas Viéville +--- + src/wl/sys/wl_linux.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c +index 3c25ce4..0c08fe7 100644 +--- a/src/wl/sys/wl_linux.c ++++ b/src/wl/sys/wl_linux.c +@@ -164,6 +164,8 @@ static int wl_set_radio_block(void *data, bool blocked); + static void wl_report_radio_state(wl_info_t *wl); + #endif + ++// Related to commit "modpost: require a MODULE_DESCRIPTION()" (Jeff Johnson, 11 Mar 2025) ++MODULE_DESCRIPTION("Broadcom STA wireless driver [unmaintained, out-of-tree]"); + MODULE_LICENSE("MIXED/Proprietary"); + + static struct pci_device_id wl_id_table[] = +-- +2.49.0 + diff --git a/anda/system/wl-kmod/wl-kmod-033_disable_objtool_add_warning_unmaintained.patch b/anda/system/wl-kmod/wl-kmod-033_disable_objtool_add_warning_unmaintained.patch new file mode 100644 index 0000000000..c502c50a49 --- /dev/null +++ b/anda/system/wl-kmod/wl-kmod-033_disable_objtool_add_warning_unmaintained.patch @@ -0,0 +1,64 @@ +From 642f61c3ff369e5938eb6b70bf5cc9566a7e04ae Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nicolas=20Vi=C3=A9ville?= +Date: Tue, 17 Jun 2025 15:04:16 +0200 +Subject: [PATCH] =?UTF-8?q?wl=5Flinux.c=20and=20makefile:=20added=20warnin?= + =?UTF-8?q?g=20when=20the=20module=20is=20loaded=20about=20unmaintained=20?= + =?UTF-8?q?state=20of=20driver=20and=20its=20provided=20binary=20blob=20an?= + =?UTF-8?q?d=20possible=20security=20risks=20related=20to=20current=20Linu?= + =?UTF-8?q?x=20kernel=20security=20standards=20(e.g.=20IBT)=20-=20disablin?= + =?UTF-8?q?g=20objtool=20accordingly=20as=20well=20-=20thanks=20to=20Joan?= + =?UTF-8?q?=20Bruguera=20Mic=C3=B3?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Nicolas Viéville +--- + Makefile | 15 +++++++++++++++ + src/wl/sys/wl_linux.c | 4 ++++ + 2 files changed, 19 insertions(+) + +diff --git a/Makefile b/Makefile +index 6e90afb..c38c3ee 100644 +--- a/Makefile ++++ b/Makefile +@@ -169,6 +169,21 @@ MDEST_DIR ?= $(KBASE)/kernel/drivers/net/wireless + CROSS_TOOLS = /path/to/tools + CROSS_KBUILD_DIR = /path/to/kernel/tree + ++# Rel. commit "objtool: Always fail on fatal errors" (Josh Poimboeuf, 31 Mar 2025) ++# This is a *ugly* hack to disable objtool during the final processing of wl.o. ++# Since is embeds the proprietary blob (wlc_hybrid.o_shipped), objtool can't ++# process it, as it does not follow the requirements of current kernels, ++# including support for critical security features. As of Linux v6.15+, it causes ++# a build error. Disable it, at your own risk. Note the MIT license applies: ++# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ++# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ++# SOFTWARE. ++wl.o: override objtool-enabled = ++ + all: + KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=`pwd` + +diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c +index 0c08fe7..59873e1 100644 +--- a/src/wl/sys/wl_linux.c ++++ b/src/wl/sys/wl_linux.c +@@ -922,6 +922,10 @@ static struct pci_driver wl_pci_driver __refdata = { + static int __init + wl_module_init(void) + { ++ printk(KERN_WARNING "You are using the Broadcom STA wireless driver, which is " ++ "not maintained and is incompatible with Linux kernel security mitigations. " ++ "It is heavily recommended to replace the hardware and remove the driver. " ++ "Proceed at your own risk!"); + int error = -ENODEV; + + #ifdef BCMDBG +-- +2.49.0 + diff --git a/anda/system/wl-kmod/wl-kmod-034_kernel_6.15_adaptation_replace_del_timer_with_timer_delete.patch b/anda/system/wl-kmod/wl-kmod-034_kernel_6.15_adaptation_replace_del_timer_with_timer_delete.patch new file mode 100644 index 0000000000..9f93394cdd --- /dev/null +++ b/anda/system/wl-kmod/wl-kmod-034_kernel_6.15_adaptation_replace_del_timer_with_timer_delete.patch @@ -0,0 +1,35 @@ +From ddfac506c7060e7514952c6ec340b34ee0273864 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nicolas=20Vi=C3=A9ville?= +Date: Tue, 17 Jun 2025 15:12:03 +0200 +Subject: [PATCH] wl_linux.c: fix compatibility with kernel >= 6.15 replace + del_timer function with timer_delete function - related to commit "treewide: + Switch/rename to timer_delete[_sync]()" (Thomas Gleixner, 5 Apr 2025) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Nicolas Viéville +--- + src/wl/sys/wl_linux.c | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c +index 59873e1..4512f73 100644 +--- a/src/wl/sys/wl_linux.c ++++ b/src/wl/sys/wl_linux.c +@@ -2501,7 +2501,12 @@ wl_del_timer(wl_info_t *wl, wl_timer_t *t) + ASSERT(t); + if (t->set) { + t->set = FALSE; ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 0) ++ // Rel. commit "treewide: Switch/rename to timer_delete[_sync]()" (Thomas Gleixner, 5 Apr 2025) ++ if (!timer_delete(&t->timer)) { ++#else + if (!del_timer(&t->timer)) { ++#endif + #ifdef BCMDBG + WL_INFORM(("wl%d: Failed to delete timer %s\n", wl->unit, t->name)); + #endif +-- +2.49.0 + diff --git a/anda/system/wl-kmod/wl-kmod-035_kernel_6.17_adaptation_fix_functions_prototypes.patch b/anda/system/wl-kmod/wl-kmod-035_kernel_6.17_adaptation_fix_functions_prototypes.patch new file mode 100644 index 0000000000..dbfa45f8c0 --- /dev/null +++ b/anda/system/wl-kmod/wl-kmod-035_kernel_6.17_adaptation_fix_functions_prototypes.patch @@ -0,0 +1,102 @@ +From 564dc0af953480b3155266b388637e51fb8c6fc8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Nicolas=20Vi=C3=A9ville?= +Date: Thu, 18 Sep 2025 16:01:05 +0200 +Subject: [PATCH] wl_cfg80211_hybrid.c: fix compatibility with kernel >= 6.17 + in funtions prototypes for wl_cfg80211_set_wiphy_params, + wl_cfg80211_set_tx_power and wl_cfg80211_get_tx_power - related to commit + "wifi: cfg80211/mac80211: Add support to get radio index" (Roopni Devanathan, + 15 Jun 2025) +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Nicolas Viéville +--- + src/wl/sys/wl_cfg80211_hybrid.c | 34 +++++++++++++++++++++++++++++---- + 1 file changed, 30 insertions(+), 4 deletions(-) + +diff --git a/src/wl/sys/wl_cfg80211_hybrid.c b/src/wl/sys/wl_cfg80211_hybrid.c +index 5a7f0c4..58f1023 100644 +--- a/src/wl/sys/wl_cfg80211_hybrid.c ++++ b/src/wl/sys/wl_cfg80211_hybrid.c +@@ -70,7 +70,12 @@ wl_cfg80211_scan(struct wiphy *wiphy, + static s32 wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev, + struct cfg80211_scan_request *request); + #endif ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0) ++static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, int radio_idx, ++ u32 changed); ++#else + static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed); ++#endif + static s32 wl_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev, + struct cfg80211_ibss_params *params); + static s32 wl_cfg80211_leave_ibss(struct wiphy *wiphy, struct net_device *dev); +@@ -89,7 +94,12 @@ static int wl_cfg80211_connect(struct wiphy *wiphy, struct net_device *dev, + struct cfg80211_connect_params *sme); + static s32 wl_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_code); + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0) ++static s32 ++wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, ++ int radio_idx, ++ enum nl80211_tx_power_setting type, s32 dbm); ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) + static s32 + wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, + enum nl80211_tx_power_setting type, s32 dbm); +@@ -101,7 +111,10 @@ static s32 wl_cfg80211_set_tx_power(struct wiphy *wiphy, + enum tx_power_setting type, s32 dbm); + #endif + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0) ++static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, ++ int radio_idx, unsigned int link_id, s32 *dbm); ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0) + static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, + unsigned int link_id, s32 *dbm); + #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) +@@ -732,7 +745,12 @@ static s32 wl_set_retry(struct net_device *dev, u32 retry, bool l) + return err; + } + ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0) ++static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, int radio_idx, ++ u32 changed) ++#else + static s32 wl_cfg80211_set_wiphy_params(struct wiphy *wiphy, u32 changed) ++#endif + { + struct wl_cfg80211_priv *wl = wiphy_to_wl(wiphy); + struct net_device *ndev = wl_to_ndev(wl); +@@ -1167,7 +1185,12 @@ wl_cfg80211_disconnect(struct wiphy *wiphy, struct net_device *dev, u16 reason_c + return err; + } + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0) ++static s32 ++wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, ++ int radio_idx, ++ enum nl80211_tx_power_setting type, s32 dbm) ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) + static s32 + wl_cfg80211_set_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, + enum nl80211_tx_power_setting type, s32 dbm) +@@ -1228,7 +1251,10 @@ wl_cfg80211_set_tx_power(struct wiphy *wiphy, enum tx_power_setting type, s32 db + return err; + } + +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 17, 0) ++static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, ++ int radio_idx, unsigned int link_id, s32 *dbm) ++#elif LINUX_VERSION_CODE >= KERNEL_VERSION(6, 14, 0) + static s32 wl_cfg80211_get_tx_power(struct wiphy *wiphy, struct wireless_dev *wdev, + unsigned int link_id, s32 *dbm) + #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 8, 0) +-- +2.51.0 + diff --git a/anda/system/wl-kmod/wl-kmod.spec b/anda/system/wl-kmod/wl-kmod.spec index 3deac76d18..77f043179b 100644 --- a/anda/system/wl-kmod/wl-kmod.spec +++ b/anda/system/wl-kmod/wl-kmod.spec @@ -10,7 +10,7 @@ Name: wl-kmod Version: 6.30.223.271 -Release: 4%{?dist} +Release: 6%{?dist} Summary: Kernel module for Broadcom wireless devices Group: System Environment/Kernel License: Redistributable, no modification permitted @@ -27,7 +27,7 @@ Patch5: wl-kmod-007_kernel_4.8_add_cfg80211_scan_info_struct.patch Patch6: wl-kmod-008_fix_kernel_warnings.patch Patch7: wl-kmod-009_kernel_4.11_remove_last_rx_in_net_device_struct.patch Patch8: wl-kmod-010_kernel_4.12_add_cfg80211_roam_info_struct.patch -Patch9: wl-kmod-011_kernel_4.14_new_kernel_read_function_prototype.patch +Patch9: wl-kmod-011_kernel_4.14_new_kernel_read_function_prototype.patch Patch10: wl-kmod-012_kernel_4.15_new_timer.patch Patch11: wl-kmod-013_gcc8_fix_bounds_check_warnings.patch Patch12: wl-kmod-014_kernel_read_pos_increment_fix.patch @@ -47,13 +47,18 @@ Patch25: wl-kmod-027_wpa_supplicant-2.11_add_max_scan_ie_len.patch Patch26: wl-kmod-028_kernel_6.12_adaptation.patch Patch27: wl-kmod-029_kernel_6.13_adaptation.patch Patch28: wl-kmod-030_kernel_6.14_adaptation.patch +Patch29: wl-kmod-031_replace_EXTRA_CFLAGS_EXTRA_LDFLAGS_with_ccflags-y_ldflags-y.patch +Patch30: wl-kmod-032_add_MODULE_DESCRIPTION_macro.patch +Patch31: wl-kmod-033_disable_objtool_add_warning_unmaintained.patch +Patch32: wl-kmod-034_kernel_6.15_adaptation_replace_del_timer_with_timer_delete.patch +Patch33: wl-kmod-035_kernel_6.17_adaptation_fix_functions_prototypes.patch ExclusiveArch: i686 x86_64 BuildRequires: kmodtool BuildRequires: elfutils-libelf-devel %{!?kernels:BuildRequires: gcc, elfutils-libelf-devel} -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description These packages contain Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver for use with Broadcom's BCM4311-, BCM4312-, BCM4313-, BCM4321-, BCM4322-, BCM43142-, BCM43224-, BCM43225-, BCM43227-, BCM43228-, BCM4331-, BCM4360, and -BCM4352-. @@ -62,7 +67,7 @@ NOTE: Please read the LICENSE.txt file in the docs directory before using this d %prep %{?kmodtool_check} -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} --filterfile %{SOURCE11} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %setup -q -c -T mkdir %{name}-%{version}-src @@ -81,7 +86,7 @@ pushd %{name}-%{version}-src %patch -P 6 -p1 -b .fix_kernel_warnings %patch -P 7 -p1 -b .kernel_4.11_remove_last_rx_in_net_device_struct %patch -P 8 -p1 -b .kernel_4.12_add_cfg80211_roam_info_struct -%patch -P 9 -p1 -b .kernel_4.14_new_kernel_read_function_prototype +%patch -P 9 -p1 -b .kernel_4.14_new_kernel_read_function_prototype %patch -P 10 -p1 -b .kernel_4.15_new_timer %patch -P 11 -p1 -b .gcc8_fix_bounds_check_warnings %patch -P 12 -p1 -b .kernel_read_pos_increment_fix @@ -101,30 +106,296 @@ pushd %{name}-%{version}-src %patch -P 26 -p1 -b .kernel_6.12_adaptation %patch -P 27 -p1 -b .kernel_6.13_adaptation %patch -P 28 -p1 -b .kernel_6.14_adaptation +%patch -P 29 -p1 -b .EXTRA_CFLAGS_EXTRA_LDFLAGS +%patch -P 30 -p1 -b .MODULE_DESCRIPTION +%patch -P 31 -p1 -b .disable_objtool +%patch -P 32 -p1 -b .kernel_6.15_adaptation +%patch -P 33 -p1 -b .kernel_6.17_adaptation -### NOTE: These MUST be added to as new EL versions are released. -%if 0%{?rhel} == 9 +# Manual patching to build for RHEL - inspired by CentOS wl-kmod.spec +# Actually works for RHEL 6.x and 7.x +%if 0%{?rhel} == 6 + # Define kvl (linux) & kvr (release) for use in "patching" logical %define kvl %(echo %{kernel_versions} | cut -d"-" -f1) %define kvr %(echo %{kernel_versions} | cut -d"-" -f2 | cut -d"." -f1) -### Patching for various point release kernels. + # Perform "patching" edits to the src/wl/sys/wl_cfg80211_hybrid.c file. + # Note: Using this method, as opposed to making a patch, allows + # the src.rpm to be compiled under various point release kernels. + # Note: Use [ >][>=] where both >= & > are present + %if "%{kvl}" == "2.6.32" + %if %{kvr} >= 71 + # Apply to EL 6.0 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(3, 6, 0)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 131 + # Apply to EL 6.1 point release and later (2.6.32-131.0.15) + # > No changes currently needed for EL 6.1 point release + %endif + %if %{kvr} >= 220 + # Apply to EL 6.2 point release and later + # > No changes currently needed for EL 6.2 point release + %endif + %if %{kvr} >= 279 + # Apply to EL 6.3 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(2, 6, 36)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(2, 6, 37)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(2, 6, 38)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ > KERNEL_VERSION(2, 6, 39)/ > KERNEL_VERSION(2, 6, 31)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(2, 6, 39)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(3, 1, 0)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} == 358 + # Only apply to EL 6.4 point release + if $(grep -q "/lib/modules/kabi/kabi_whitelist" /usr/lib/rpm/redhat/find-requires.ksyms 2>/dev/null) ; then + %{__sed} -i 's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-current/kabi_whitelist@g' /usr/lib/rpm/redhat/find-requires.ksyms + fi + %endif + %if %{kvr} >= 358 + # Apply to EL 6.4 point release and later + # > No changes currently needed for EL 6.4 point release + %endif + %if %{kvr} == 431 + # Only apply to EL 6.5 point release + if $(grep -q "/lib/modules/kabi/kabi_whitelist" /usr/lib/rpm/redhat/find-requires.ksyms 2>/dev/null) ; then + %{__sed} -i 's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-current/kabi_whitelist@g' /usr/lib/rpm/redhat/find-requires.ksyms + fi + %endif + %if %{kvr} >= 431 + # Apply to EL 6.5 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(3, 8, 0)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(3, 9, 0)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} == 504 + # Only apply to EL 6.6 point release + if $(grep -q "/lib/modules/kabi/kabi_whitelist" /usr/lib/rpm/redhat/find-requires.ksyms 2>/dev/null) ; then + %{__sed} -i 's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-current/kabi_whitelist@g' /usr/lib/rpm/redhat/find-requires.ksyms + fi + %endif + %if %{kvr} >= 504 + # Apply to EL 6.6 point release and later + # > No changes currently needed for EL 6.6 point release + %endif + %if %{kvr} >= 573 + # Apply to EL 6.7 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(3, 11, 0)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ < KERNEL_VERSION(3, 16, 0)/ < KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ < KERNEL_VERSION(3, 18, 0)/ < KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(3, 15, 0)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 642 + # Apply to EL 6.8 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(4, 0, 0)/ >= KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ < KERNEL_VERSION(4,2,0)/ < KERNEL_VERSION(2, 6, 32)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 696 + # Apply to EL 6.9 point release and later + # > No changes currently needed for EL 6.9 point release + %endif + %if %{kvr} >= 754 + # Apply to EL 6.10 point release and later + # > No changes currently needed for EL 6.10 point release + %endif + %endif +%endif +%if 0%{?rhel} == 7 + # Define kvl (linux) & kvr (release) for use in "patching" logical + %define kvl %(echo %{kernel_versions} | cut -d"-" -f1) + %define kvr %(echo %{kernel_versions} | cut -d"-" -f2 | cut -d"." -f1) + + # Perform "patching" edits to the src/wl/sys/wl_cfg80211_hybrid.c file. + # Note: Using this method, as opposed to making a patch, allows + # the src.rpm to be compiled under various point release kernels. + # Note: Use [ >][>=] where both >= & > are present + %if "%{kvl}" == "3.10.0" + %if %{kvr} == 123 + # Only apply to EL 7.0 point release + if $(grep -q "/lib/modules/kabi/kabi_whitelist" /usr/lib/rpm/redhat/find-requires.ksyms 2>/dev/null) ; then + %{__sed} -i 's@/lib/modules/kabi/kabi_whitelist@/lib/modules/kabi-rhel70/kabi_whitelist@g' /usr/lib/rpm/redhat/find-requires.ksyms + fi + %endif + %if %{kvr} >= 123 + # Apply to EL 7.0 point release and later + # > No changes currently needed for EL 7.0 point release + %endif + %if %{kvr} >= 229 + # Apply to EL 7.1 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(3, 11, 0)/ >= KERNEL_VERSION(3, 10, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(3, 15, 0)/ >= KERNEL_VERSION(3, 10, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ < KERNEL_VERSION(3, 16, 0)/ < KERNEL_VERSION(3, 10, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 327 + # Apply to EL 7.2 point release and later + %{__sed} -i 's/ < KERNEL_VERSION(3, 18, 0)/ < KERNEL_VERSION(3, 9, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(4, 0, 0)/ >= KERNEL_VERSION(3, 10, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 514 + # Apply to EL 7.3 point release and later + %{__sed} -i 's/ < KERNEL_VERSION(4,2,0)/ < KERNEL_VERSION(3, 9, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(4, 7, 0)/ >= KERNEL_VERSION(3, 10, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 693 + # Apply to EL 7.4 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(4, 8, 0)/ >= KERNEL_VERSION(3, 10, 0)/' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 862 + # Apply to EL 7.5 point release and later + %{__sed} -i 's/ <= KERNEL_VERSION(4, 10, 0)/ <= KERNEL_VERSION(3, 9, 0)/' src/wl/sys/wl_linux.c + %{__sed} -i 's/ >= KERNEL_VERSION(4, 11, 0)/ >= KERNEL_VERSION(3, 10, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ < KERNEL_VERSION(4, 12, 0)/ < KERNEL_VERSION(3, 10, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(4, 12, 0)/ >= KERNEL_VERSION(3, 10, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 957 + # Apply to EL 7.6 point release and later + # > No changes currently needed for EL 7.6 point release + %endif + %if %{kvr} >= 1062 + # Apply to EL 7.7 point release and later + %{__sed} -i -e 's@__attribute__((__fallthrough__));.*@/* fall through */@g' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 1127 + # Apply to EL 7.8 point release and later + # > No changes currently needed for EL 7.8 point release + %endif + %if %{kvr} >= 1160 + # Apply to EL 7.9 point release and later + # > No changes currently needed for EL 7.9 point release + %endif + %endif +%endif +%if 0%{?rhel} == 8 + # Define kvl (linux) & kvr (release) for use in "patching" logical + %define kvl %(echo %{kernel_versions} | cut -d"-" -f1) + %define kvr %(echo %{kernel_versions} | cut -d"-" -f2 | cut -d"." -f1) + + # Perform "patching" edits to the src/wl/sys/wl_cfg80211_hybrid.c file. + # Note: Using this method, as opposed to making a patch, allows + # the src.rpm to be compiled under various point release kernels. + # Note: Use [ >][>=] where both >= & > are present + %if "%{kvl}" == "4.18.0" + %if %{kvr} == 80 + # Only apply to EL 8.0 point release + # > No changes currently needed for EL 8.0 point release + %endif + %if %{kvr} >= 80 + # Apply to EL 8.0 point release and later + # > No changes currently needed for EL 8.0 point release + %endif + %if %{kvr} >= 147 + # Apply to EL 8.1 point release and later + # > No changes currently needed for EL 8.1 point release + %endif + %if %{kvr} >= 193 + # Apply to EL 8.2 point release and later + # > No changes currently needed for EL 8.2 point release + %endif + %if %{kvr} >= 240 + # Apply to EL 8.3 point release and later + # > No changes currently needed for EL 8.3 point release + %endif + %if %{kvr} >= 305 + # Apply to EL 8.4 point release and later + # > No changes currently needed for EL 8.4 point release + %endif + %if %{kvr} >= 348 + # Apply to EL 8.5 point release and later + # > No changes currently needed for EL 8.5 point release + %endif + %if %{kvr} >= 372 + # Apply to EL 8.6 point release and later + # > No changes currently needed for EL 8.6 point release + %endif + %if %{kvr} >= 425 + # Apply to EL 8.7 point release and later + # > No changes currently needed for EL 8.7 point release + %endif + %if %{kvr} >= 477 + # Apply to EL 8.8 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(6, 0, 0)/ >= KERNEL_VERSION(4, 18, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(6, 1, 0)/ >= KERNEL_VERSION(4, 18, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %if %{kvr} >= 513 + # Apply to EL 8.9 point release and later + # > No changes currently needed for EL 8.9 point release + %endif + %if %{kvr} >= 553 + # Apply to EL 8.10 point release and later + # > No changes currently needed for EL 8.10 point release + %endif + %endif +%endif +%if 0%{?rhel} == 9 + # Define kvl (linux) & kvr (release) for use in "patching" logical + %define kvl %(echo %{kernel_versions} | cut -d"-" -f1) + %define kvr %(echo %{kernel_versions} | cut -d"-" -f2 | cut -d"." -f1) + + # Perform "patching" edits to the src/wl/sys/wl_cfg80211_hybrid.c file. + # Note: Using this method, as opposed to making a patch, allows + # the src.rpm to be compiled under various point release kernels. + # Note: Use [ >][>=] where both >= & > are present %if "%{kvl}" == "5.14.0" %if %{kvr} == 70 + # Only apply to EL 9.0 point release + # > No changes currently needed for EL 9.0 point release %endif %if %{kvr} >= 70 + # Apply to EL 9.0 point release and later %{__sed} -i 's/ < KERNEL_VERSION(5, 17, 0)/ < KERNEL_VERSION(5, 14, 0)/g' src/wl/sys/wl_iw.h %{__sed} -i 's/ >= KERNEL_VERSION(5, 17, 0)/ >= KERNEL_VERSION(5, 14, 0)/g' src/wl/sys/wl_linux.c %endif %if %{kvr} >= 162 + # Apply to EL 9.1 point release and later + # > No changes currently needed for EL 9.1 point release %endif %if %{kvr} >= 284 + # Apply to EL 9.2 point release and later + # > No changes currently needed for EL 9.2 point release %endif %if %{kvr} >= 362 + # Apply to EL 9.3 point release and later %{__sed} -i 's/ >= KERNEL_VERSION(6, [01], 0)/ >= KERNEL_VERSION(5, 14, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c %endif %if %{kvr} >= 427 + # Apply to EL 9.4 point release and later + # > No changes currently needed for EL 9.4 point release %endif %if %{kvr} >= 503 + # Apply to EL 9.5 point release and later + # > No changes currently needed for EL 9.5 point release + %endif + %if %{kvr} >= 570 + # Apply to EL 9.6 point release and later + # > No changes currently needed for EL 9.6 point release + %endif + %if %{kvr} >= 611 + # Apply to EL 9.7 point release and later + %{__sed} -i 's/ < KERNEL_VERSION(6, 13, 0)/ < KERNEL_VERSION(5, 14, 0)/g' src/include/linuxver.h + %{__sed} -i 's/ >= KERNEL_VERSION(6, 14, 0)/ >= KERNEL_VERSION(5, 14, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c + %{__sed} -i 's/ >= KERNEL_VERSION(6, 17, 0)/ >= KERNEL_VERSION(5, 14, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c + %endif + %endif +%endif +%if 0%{?rhel} == 10 + # Define kvl (linux) & kvr (release) for use in "patching" logical + %define kvl %(echo %{kernel_versions} | cut -d"-" -f1) + %define kvr %(echo %{kernel_versions} | cut -d"-" -f2 | cut -d"." -f1) + + # Perform "patching" edits to the src/wl/sys/wl_cfg80211_hybrid.c file. + # Note: Using this method, as opposed to making a patch, allows + # the src.rpm to be compiled under various point release kernels. + # Note: Use [ >][>=] where both >= & > are present + %if "%{kvl}" == "6.12.0" + %if %{kvr} == 55 + # Only apply to EL 10.0 point release + # > No changes currently needed for EL 10.0 point release + %endif + %if %{kvr} >= 55 + # Apply to EL 10.0 point release and later + %{__sed} -i 's/ < KERNEL_VERSION(6, 13, 0)/ < KERNEL_VERSION(6, 12, 0)/g' src/include/linuxver.h + %endif + %if %{kvr} >= 124 + # Apply to EL 10.1 point release and later + %{__sed} -i 's/ >= KERNEL_VERSION(6, 14, 0)/ >= KERNEL_VERSION(6, 12, 0)/g' src/wl/sys/wl_cfg80211_hybrid.c %endif %endif %endif diff --git a/anda/system/wluma/wluma.spec b/anda/system/wluma/wluma.spec index 55eb07ede3..d72bb4177e 100644 --- a/anda/system/wluma/wluma.spec +++ b/anda/system/wluma/wluma.spec @@ -1,12 +1,12 @@ Name: wluma -Version: 4.10.0 -Release: 2%?dist +Version: 4.11.0 +Release: 1%{?dist} Summary: Automatic brightness adjustment based on screen contents and ALS URL: https://github.com/max-baz/wluma Source0: %{url}/archive/refs/tags/%{version}.tar.gz License: ISC BuildRequires: cargo anda-srpm-macros cargo-rpm-macros mold v4l-utils libv4l-devel rust-libudev-devel vulkan-loader-devel dbus-devel clang systemd-rpm-macros -Packager: Its-J +Packager: Its-J %description %{summary}. @@ -45,8 +45,11 @@ install -Dm 644 config.toml %{buildroot}%{_datadir}/%{name}/config.toml %{_datadir}/%{name}/config.toml %changelog +* Tue Apr 14 2026 Its-J +- Add email to my previous contributor attributions + * Sat Nov 29 2025 metcya - Package systemd service, example config, and udev rules -* Fri Nov 28 2025 Its-J +* Fri Nov 28 2025 Its-J - Package wluma diff --git a/anda/system/xbps/xbps.spec b/anda/system/xbps/xbps.spec index 99c8a0d842..ef1df35a06 100644 --- a/anda/system/xbps/xbps.spec +++ b/anda/system/xbps/xbps.spec @@ -37,8 +37,10 @@ featureful and portable as much as possible. %prep %autosetup -%build +%conf %configure + +%build %make_build %install diff --git a/anda/system/xone/nightly/akmod/xone-nightly-kmod.spec b/anda/system/xone/nightly/akmod/xone-nightly-kmod.spec index 223ba82bc4..68188620f7 100644 --- a/anda/system/xone/nightly/akmod/xone-nightly-kmod.spec +++ b/anda/system/xone/nightly/akmod/xone-nightly-kmod.spec @@ -1,6 +1,6 @@ -%global commit a16304ccdecc5bfc7aafdeb759c706da314d15fa +%global commit f2aa9fe01103d7600553b505b298ff0bd47ff280 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260228 +%global commitdate 20260314 %global ver 0.5.7 %define buildforkernels akmod %global debug_package %{nil} @@ -8,7 +8,7 @@ Name: %{modulename}-nightly-kmod Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%?dist +Release: 3%{?dist} %if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 Epoch: 1 %endif @@ -28,14 +28,14 @@ Obsoletes: %{name} < %{?epoch:%{epoch}:}3.0^20250419git.c682b0c %endif Packager: Gilver E. -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description Linux kernel driver for Xbox One and Xbox Series X|S accessories. %prep %{?kmodtool_check} -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %autosetup -p1 -n %{modulename}-%{commit} diff --git a/anda/system/xone/nightly/dkms/dkms-xone-nightly.spec b/anda/system/xone/nightly/dkms/dkms-xone-nightly.spec index 3f8b96d254..b4de82ea2c 100644 --- a/anda/system/xone/nightly/dkms/dkms-xone-nightly.spec +++ b/anda/system/xone/nightly/dkms/dkms-xone-nightly.spec @@ -1,13 +1,13 @@ -%global commit a16304ccdecc5bfc7aafdeb759c706da314d15fa +%global commit f2aa9fe01103d7600553b505b298ff0bd47ff280 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260228 +%global commitdate 20260314 %global ver 0.5.7 %global debug_package %{nil} %global modulename xone Name: dkms-%{modulename}-nightly Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%?dist +Release: 2%{?dist} %if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 Epoch: 1 %endif diff --git a/anda/system/xone/nightly/kmod-common/xone-nightly.spec b/anda/system/xone/nightly/kmod-common/xone-nightly.spec index f64bd3b8eb..8625122ca2 100644 --- a/anda/system/xone/nightly/kmod-common/xone-nightly.spec +++ b/anda/system/xone/nightly/kmod-common/xone-nightly.spec @@ -1,6 +1,6 @@ -%global commit a16304ccdecc5bfc7aafdeb759c706da314d15fa +%global commit f2aa9fe01103d7600553b505b298ff0bd47ff280 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260228 +%global commitdate 20260314 %global ver 0.5.7 %global modulename xone %global _dracutconfdir %{_prefix}/lib/dracut/dracut.conf.d @@ -11,7 +11,7 @@ Name: xone-nightly Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%?dist +Release: 2%{?dist} %if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 Epoch: 1 %endif @@ -45,7 +45,7 @@ Linux kernel driver for Xbox One and Xbox Series X|S accessories common files. %package akmod-modules Summary: Modules for Akmods -Requires: akmod-%{name} +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} BuildArch: noarch %description akmod-modules diff --git a/anda/system/xone/stable/akmod/xone-kmod.spec b/anda/system/xone/stable/akmod/xone-kmod.spec index 319fd965e6..39651ecf4b 100644 --- a/anda/system/xone/stable/akmod/xone-kmod.spec +++ b/anda/system/xone/stable/akmod/xone-kmod.spec @@ -3,8 +3,8 @@ %global modulename xone Name: %{modulename}-kmod -Version: 0.5.7 -Release: 1%?dist +Version: 0.5.8 +Release: 3%{?dist} %if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 Epoch: 2 %endif @@ -24,14 +24,14 @@ Obsoletes: %{name} < %{?epoch:%{epoch}:}0.3.4 %endif Packager: Gilver E. -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description Linux kernel driver for Xbox One and Xbox Series X|S accessories. %prep %{?kmodtool_check} -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %autosetup -p1 -n %{modulename}-%{version} diff --git a/anda/system/xone/stable/dkms/dkms-xone.spec b/anda/system/xone/stable/dkms/dkms-xone.spec index 57cbc4cc8b..2c86dfe891 100644 --- a/anda/system/xone/stable/dkms/dkms-xone.spec +++ b/anda/system/xone/stable/dkms/dkms-xone.spec @@ -2,8 +2,8 @@ %global modulename xone Name: dkms-%{modulename} -Version: 0.5.7 -Release: 1%?dist +Version: 0.5.8 +Release: 2%{?dist} %if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 Epoch: 2 %endif diff --git a/anda/system/xone/stable/kmod-common/xone.spec b/anda/system/xone/stable/kmod-common/xone.spec index 47a5ecafc7..d219664c9e 100644 --- a/anda/system/xone/stable/kmod-common/xone.spec +++ b/anda/system/xone/stable/kmod-common/xone.spec @@ -5,8 +5,8 @@ %global firmware_hash3 e2710daf81e7b36d35985348f68a81d18bc537a2b0c508ffdfde6ac3eae1bad7 Name: xone -Version: 0.5.7 -Release: 1%?dist +Version: 0.5.8 +Release: 2%{?dist} %if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 Epoch: 2 %endif @@ -44,7 +44,7 @@ Linux kernel driver for Xbox One and Xbox Series X|S accessories common files. %package akmod-modules Summary: Modules for Akmods -Requires: akmod-%{name} +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} BuildArch: noarch %description akmod-modules diff --git a/anda/system/xonedo/nightly/akmod/anda.hcl b/anda/system/xonedo/nightly/akmod/anda.hcl new file mode 100644 index 0000000000..ca1a552d4b --- /dev/null +++ b/anda/system/xonedo/nightly/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "xonedo-nightly-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xonedo/nightly/akmod/update.rhai b/anda/system/xonedo/nightly/akmod/update.rhai new file mode 100644 index 0000000000..943bab2262 --- /dev/null +++ b/anda/system/xonedo/nightly/akmod/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xonedo/nightly/akmod/xonedo-nightly-kmod.spec b/anda/system/xonedo/nightly/akmod/xonedo-nightly-kmod.spec new file mode 100644 index 0000000000..61e2d361b3 --- /dev/null +++ b/anda/system/xonedo/nightly/akmod/xonedo-nightly-kmod.spec @@ -0,0 +1,69 @@ +%global commit 982cbcb019ae4d2bee5ae69385223409ee555c88 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260315 +%global ver 0.5.7 +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename xonedo + +Name: %{modulename}-nightly-kmod +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 4%{?dist} +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Epoch: 1 +%endif +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories +License: GPL-2.0-or-later +URL: https://github.com/OpenGamingCollective/xonedo +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +BuildRequires: kmodtool +BuildRequires: systemd-rpm-macros +Requires: %{modulename}-nightly = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-nightly-akmod-modules = %{?epoch:%{epoch}:}%{version} +Requires: akmods +Conflicts: dkms-%{modulename}-nightly +Conflicts: %{modulename}-kmod +Conflicts: dkms-xone-nightly +Conflicts: xone-kmod +Provides: %{modulename}-nightly-kmod +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Obsoletes: %{name} < %{?epoch:%{epoch}:}3.0^20250419git.c682b0c +%endif +Packager: Kyle Gospodnetich + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories. Compatible with the xpad kernel module. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{commit} + +find . -type f -name '*.c' -exec sed -i "s/#VERSION#/%{version}/" {} \; + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr auth bus driver transport Kbuild _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) VERSION="v%{version}" modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Sun Mar 15 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/xonedo/nightly/dkms/anda.hcl b/anda/system/xonedo/nightly/dkms/anda.hcl new file mode 100644 index 0000000000..df85fd67ea --- /dev/null +++ b/anda/system/xonedo/nightly/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches=["x86_64"] + rpm { + spec = "dkms-xonedo-nightly.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xonedo/nightly/dkms/dkms-xonedo-nightly.spec b/anda/system/xonedo/nightly/dkms/dkms-xonedo-nightly.spec new file mode 100644 index 0000000000..134a1aeefb --- /dev/null +++ b/anda/system/xonedo/nightly/dkms/dkms-xonedo-nightly.spec @@ -0,0 +1,75 @@ +%global commit 982cbcb019ae4d2bee5ae69385223409ee555c88 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260314 +%global ver 0.5.7 +%global debug_package %{nil} +%global modulename xonedo + +Name: dkms-%{modulename}-nightly +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Epoch: 1 +%endif +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories +License: GPL-2.0-or-later +URL: https://github.com/OpenGamingCollective/xonedo +Source0: %{url}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: no-weak-modules.conf +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: %{modulename}-nightly = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename}-nightly +Conflicts: %{modulename}-kmod +Conflicts: dkms-xone-nightly +Conflicts: dkms-xone +Provides: %{modulename}-nightly-kmod = %{?epoch:%{epoch}:}%{version} +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Obsoletes: dkms-%{modulename} < %{?epoch:%{epoch}:}3.0^20250419git.c682b0c +%endif +BuildArch: noarch +Packager: Kyle Gospodnetich + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories. Compatible with the xpad kernel module. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + +sed -i \ + -e 's|#VERSION#|%{version}|g' \ + -e 's|kernel/drivers/input/joystick|extra|g' \ + dkms.conf + +find . -type f -name '*.c' -exec sed -i "s/#VERSION#/%{version}/" {} \; + +%install +# Create empty tree: +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr auth bus driver transport Kbuild dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +# Do not enable weak modules support in Fedora (no kABI): +install -Dpm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +# Remove all versions from DKMS registry: +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Sun Mar 15 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/xonedo/nightly/dkms/no-weak-modules.conf b/anda/system/xonedo/nightly/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/xonedo/nightly/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/xonedo/nightly/dkms/update.rhai b/anda/system/xonedo/nightly/dkms/update.rhai new file mode 100644 index 0000000000..943bab2262 --- /dev/null +++ b/anda/system/xonedo/nightly/dkms/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xonedo/nightly/kmod-common/anda.hcl b/anda/system/xonedo/nightly/kmod-common/anda.hcl new file mode 100644 index 0000000000..b008b1a957 --- /dev/null +++ b/anda/system/xonedo/nightly/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "xonedo-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/xonedo/nightly/kmod-common/modules.conf b/anda/system/xonedo/nightly/kmod-common/modules.conf new file mode 100644 index 0000000000..776e9eff4f --- /dev/null +++ b/anda/system/xonedo/nightly/kmod-common/modules.conf @@ -0,0 +1 @@ +add_drivers+=" snd-pcm snd-seq " diff --git a/anda/system/xonedo/nightly/kmod-common/update.rhai b/anda/system/xonedo/nightly/kmod-common/update.rhai new file mode 100644 index 0000000000..570d7773b9 --- /dev/null +++ b/anda/system/xonedo/nightly/kmod-common/update.rhai @@ -0,0 +1,8 @@ +rpm.global("commit", gh_commit("OpenGamingCollective/xonedo")); +if rpm.changed() { + rpm.release(); + rpm.global("commitdate", date()); + let v = gh_tag("OpenGamingCollective/xonedo"); + v.crop(1); + rpm.global("relver", v); +} diff --git a/anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec b/anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec new file mode 100644 index 0000000000..d850fa0598 --- /dev/null +++ b/anda/system/xonedo/nightly/kmod-common/xonedo-nightly.spec @@ -0,0 +1,139 @@ +%global commit 982cbcb019ae4d2bee5ae69385223409ee555c88 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260314 +%global relver 0.5.7-ogc1 +%global ver %(echo %{relver} | sed 's/-/^/g') +%global modulename xonedo +%global _dracutconfdir %{_prefix}/lib/dracut/dracut.conf.d +%global firmware_hash0 080ce4091e53a4ef3e5fe29939f51fd91f46d6a88be6d67eb6e99a5723b3a223 +%global firmware_hash1 48084d9fa53b9bb04358f3bb127b7495dc8f7bb0b3ca1437bd24ef2b6eabdf66 +%global firmware_hash2 0023a7bae02974834500c665a281e25b1ba52c9226c84989f9084fa5ce591d9b +%global firmware_hash3 e2710daf81e7b36d35985348f68a81d18bc537a2b0c508ffdfde6ac3eae1bad7 + +Name: xonedo-nightly +Version: %{ver}^%{commitdate}git.%{shortcommit} +Release: 3%{?dist} +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Epoch: 1 +%endif +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories common files +License: GPL-2.0-or-later +URL: https://github.com/OpenGamingCollective/xonedo +Source0: %{url}/archive/%{commit}.tar.gz#/xone-%{shortcommit}.tar.gz +Source1: modules.conf +Source2: https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2017/03/2ea9591b-f751-442c-80ce-8f4692cdc67b_6b555a3a288153cf04aec6e03cba360afe2fce34.cab +Source3: https://catalog.s.download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab +Source4: https://catalog.s.download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/06/1dbd7cb4-53bc-4857-a5b0-5955c8acaf71_9081931e7d664429a93ffda0db41b7545b7ac257.cab +Source5: https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2017/08/aeff215c-3bc4-4d36-a3ea-e14bfa8fa9d2_e58550c4f74a27e51e5cb6868b10ff633fa77164.cab +### Microsoft TOU copy: +Source6: https://www.microsoft.com/en-us/legal/terms-of-use +BuildRequires: cabextract +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: wireless-regdb +Requires: %{name}-firmware = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Requires(post): dracut +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Conflicts: xone +Conflicts: %{modulename} +Conflicts: xow <= 0.5 +Obsoletes: xow <= 0.5 +BuildArch: noarch +Packager: Kyle Gospodnetich + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories common files. Compatible with the xpad kernel module. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%package firmware +Summary: Firmware for the XBox One controller dongle +License: Proprietary +Requires: wireless-regdb +Conflicts: xone-firmware +BuildArch: noarch + +%description firmware +Proprietary firmware for XBox controller dongles. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} +/usr/bin/sed -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' dkms.conf > %{modulename}.conf + +### Firmware: +# Some of the .bin files have the same name so put them in subdirs +mkdir firm{0..4} + +pushd firm0 +cabextract -F FW_ACC_00U.bin %{SOURCE2} +echo %{firmware_hash0} FW_ACC_00U.bin | sha256sum -c +popd + +pushd firm1 +cabextract -F FW_ACC_00U.bin %{SOURCE3} +echo %{firmware_hash1} FW_ACC_00U.bin | sha256sum -c +popd + +pushd firm2 +cabextract -F FW_ACC_CL.bin %{SOURCE4} +echo %{firmware_hash2} FW_ACC_CL.bin | sha256sum -c +popd + +pushd firm3 +cabextract -F FW_ACC_BR.bin %{SOURCE5} +echo %{firmware_hash3} FW_ACC_BR.bin | sha256sum -c +popd + +%install +# xone-gip-headset module should have the snd-pcm and snd-seq modules be preloaded or it will give errors on boot due to injecting late. +# It still loads afterwards, but this error is easily fixable by just loading the modules in the initramfs. +install -Dpm644 %{SOURCE1} %{buildroot}%{_dracutconfdir}/60-%{modulename}-snd.conf + +# Blacklist: +install -Dpm644 install/modprobe.conf %{buildroot}%{_modprobedir}/60-%{modulename}.conf + +# Firmware: +install -Dpm644 firm0/FW_ACC_00U.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_02e6.bin +install -Dpm644 firm1/FW_ACC_00U.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_02fe.bin +install -Dpm644 firm2/FW_ACC_CL.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_02f9.bin +install -Dpm644 firm3/FW_ACC_BR.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_091e.bin + +# Akmods modules +install -Dm644 %{modulename}.conf -t %{buildroot}%{_modulesloaddir} + +# TOU file +/usr/bin/cp %{SOURCE6} . + +%files +%license LICENSE +%doc README.md +%{_modprobedir}/60-%{modulename}.conf +%{_dracutconfdir}/60-%{modulename}-snd.conf + +%files akmod-modules +%{_modulesloaddir}/%{modulename}.conf + +%files firmware +%license terms-of-use +%{_prefix}/lib/firmware/xone_dongle_02e6.bin +%{_prefix}/lib/firmware/xone_dongle_02fe.bin +%{_prefix}/lib/firmware/xone_dongle_02f9.bin +%{_prefix}/lib/firmware/xone_dongle_091e.bin + +%postun +/usr/bin/dracut -f || : + +%post firmware +echo "The firmware for the wireless dongle is subject to Microsoft's Terms of Use:" +echo 'https://www.microsoft.com/en-us/legal/terms-of-use' + +%changelog +* Sun Mar 15 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/xonedo/stable/akmod/anda.hcl b/anda/system/xonedo/stable/akmod/anda.hcl new file mode 100644 index 0000000000..4d2bfffeef --- /dev/null +++ b/anda/system/xonedo/stable/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "xonedo-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xonedo/stable/akmod/update.rhai b/anda/system/xonedo/stable/akmod/update.rhai new file mode 100644 index 0000000000..747989c246 --- /dev/null +++ b/anda/system/xonedo/stable/akmod/update.rhai @@ -0,0 +1,4 @@ +import "andax/bump_extras.rhai" as bump; + +rpm.version(bump::madoguchi("xonedo", labels.branch)); + diff --git a/anda/system/xonedo/stable/akmod/xonedo-kmod.spec b/anda/system/xonedo/stable/akmod/xonedo-kmod.spec new file mode 100644 index 0000000000..36d0950055 --- /dev/null +++ b/anda/system/xonedo/stable/akmod/xonedo-kmod.spec @@ -0,0 +1,66 @@ +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename xonedo +%global ogcversion 1 + +Name: %{modulename}-kmod +Version: 0.5.7 +Release: 4%{?dist} +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Epoch: 2 +%endif +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories +License: GPL-2.0-or-later +URL: https://github.com/OpenGamingCollective/xonedo +Source0: %{url}/archive/refs/tags/v%{version}-ogc%{ogcversion}.tar.gz +BuildRequires: kmodtool +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Requires: akmods +Conflicts: dkms-%{modulename} +Conflicts: %{modulename}-nightly-kmod +Conflicts: dkms-xone +Conflicts: xone-nightly-kmod +Provides: %{modulename}-kmod +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Obsoletes: %{name} < %{?epoch:%{epoch}:}0.3.4 +%endif +Packager: Kyle Gospodnetich + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories. Compatible with the xpad kernel module. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{version}-ogc%{ogcversion} + +find . -type f -name '*.c' -exec sed -i "s/#VERSION#/%{version}/" {} \; + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr auth bus driver transport Kbuild _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) VERSION="v%{version}" modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Sun Mar 15 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/xonedo/stable/dkms/anda.hcl b/anda/system/xonedo/stable/dkms/anda.hcl new file mode 100644 index 0000000000..1b3bd131a8 --- /dev/null +++ b/anda/system/xonedo/stable/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches=["x86_64"] + rpm { + spec = "dkms-xonedo.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xonedo/stable/dkms/dkms-xonedo.spec b/anda/system/xonedo/stable/dkms/dkms-xonedo.spec new file mode 100644 index 0000000000..f6da01c6e2 --- /dev/null +++ b/anda/system/xonedo/stable/dkms/dkms-xonedo.spec @@ -0,0 +1,72 @@ +%global debug_package %{nil} +%global modulename xonedo +%global ogcversion 1 + +Name: dkms-%{modulename} +Version: 0.5.7 +Release: 3%?dist +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Epoch: 2 +%endif +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories +License: GPL-2.0-or-later +URL: https://github.com/OpenGamingCollective/xonedo +Source0: %{url}/archive/refs/tags/v%{version}-ogc%{ogcversion}.tar.gz +Source1: no-weak-modules.conf +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +Conflicts: %{modulename}-nightly-kmod +Conflicts: akmod-xone +Conflicts: xone-nightly-kmod +Provides: %{modulename}-kmod +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Obsoletes: %{name} < %{?epoch:%{epoch}:}0.3.4 +%endif +BuildArch: noarch +Packager: Kyle Gospodnetich + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories. Compatible with the xpad kernel module. + +%prep +%autosetup -p1 -n %{modulename}-%{version}-ogc%{ogcversion} + +sed -i \ + -e 's|#VERSION#|%{version}|g' \ + -e 's|kernel/drivers/input/joystick|extra|g' \ + dkms.conf + +find . -type f -name '*.c' -exec sed -i "s/#VERSION#/%{version}/" {} \; + +%install +# Create empty tree: +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr auth bus driver transport Kbuild dkms.conf %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if 0%{?fedora} +# Do not enable weak modules support in Fedora (no kABI): +install -Dpm644 %{SOURCE1} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +# Remove all versions from DKMS registry: +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if 0%{?fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Sun Mar 15 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/xonedo/stable/dkms/no-weak-modules.conf b/anda/system/xonedo/stable/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/xonedo/stable/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/xonedo/stable/dkms/update.rhai b/anda/system/xonedo/stable/dkms/update.rhai new file mode 100644 index 0000000000..747989c246 --- /dev/null +++ b/anda/system/xonedo/stable/dkms/update.rhai @@ -0,0 +1,4 @@ +import "andax/bump_extras.rhai" as bump; + +rpm.version(bump::madoguchi("xonedo", labels.branch)); + diff --git a/anda/system/xonedo/stable/kmod-common/anda.hcl b/anda/system/xonedo/stable/kmod-common/anda.hcl new file mode 100644 index 0000000000..e02b579bf1 --- /dev/null +++ b/anda/system/xonedo/stable/kmod-common/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "xonedo.spec" + } +} diff --git a/anda/system/xonedo/stable/kmod-common/modules.conf b/anda/system/xonedo/stable/kmod-common/modules.conf new file mode 100644 index 0000000000..776e9eff4f --- /dev/null +++ b/anda/system/xonedo/stable/kmod-common/modules.conf @@ -0,0 +1 @@ +add_drivers+=" snd-pcm snd-seq " diff --git a/anda/system/xonedo/stable/kmod-common/update.rhai b/anda/system/xonedo/stable/kmod-common/update.rhai new file mode 100644 index 0000000000..1e3d61c10b --- /dev/null +++ b/anda/system/xonedo/stable/kmod-common/update.rhai @@ -0,0 +1,3 @@ +let v = gh_tag("OpenGamingCollective/xonedo"); + +rpm.version(find(`([\d.]+)-ogc`, v, 1)); \ No newline at end of file diff --git a/anda/system/xonedo/stable/kmod-common/xonedo.spec b/anda/system/xonedo/stable/kmod-common/xonedo.spec new file mode 100644 index 0000000000..e8ff0b001d --- /dev/null +++ b/anda/system/xonedo/stable/kmod-common/xonedo.spec @@ -0,0 +1,138 @@ +%global _dracutconfdir %{_prefix}/lib/dracut/dracut.conf.d +%global firmware_hash0 080ce4091e53a4ef3e5fe29939f51fd91f46d6a88be6d67eb6e99a5723b3a223 +%global firmware_hash1 48084d9fa53b9bb04358f3bb127b7495dc8f7bb0b3ca1437bd24ef2b6eabdf66 +%global firmware_hash2 0023a7bae02974834500c665a281e25b1ba52c9226c84989f9084fa5ce591d9b +%global firmware_hash3 e2710daf81e7b36d35985348f68a81d18bc537a2b0c508ffdfde6ac3eae1bad7 +%global ogcversion 1 + +Name: xonedo +Version: 0.5.7 +Release: 3%?dist +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Epoch: 2 +%endif +Summary: Linux kernel driver for Xbox One and Xbox Series X|S accessories common files +License: GPL-2.0-or-later +URL: https://github.com/OpenGamingCollective/xonedo +Source0: %{url}/archive/refs/tags/v%{version}-ogc%{ogcversion}.tar.gz +Source1: modules.conf +### Windows drivers and firmware files: +Source2: https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2017/03/2ea9591b-f751-442c-80ce-8f4692cdc67b_6b555a3a288153cf04aec6e03cba360afe2fce34.cab +Source3: https://catalog.s.download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/07/1cd6a87c-623f-4407-a52d-c31be49e925c_e19f60808bdcbfbd3c3df6be3e71ffc52e43261e.cab +Source4: https://catalog.s.download.windowsupdate.com/c/msdownload/update/driver/drvs/2017/06/1dbd7cb4-53bc-4857-a5b0-5955c8acaf71_9081931e7d664429a93ffda0db41b7545b7ac257.cab +Source5: https://catalog.s.download.windowsupdate.com/d/msdownload/update/driver/drvs/2017/08/aeff215c-3bc4-4d36-a3ea-e14bfa8fa9d2_e58550c4f74a27e51e5cb6868b10ff633fa77164.cab +### Microsoft TOU copy: +Source6: https://www.microsoft.com/en-us/legal/terms-of-use +BuildRequires: cabextract +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: wireless-regdb +Requires: %{name}-firmware = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Requires(post): dracut +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Conflicts: %{name}-nightly +Conflicts: xone-nightly +Conflicts: xone +Conflicts: xow <= 0.5 +Obsoletes: xow <= 0.5 +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Obsoletes: %{name} < %{?epoch:%{epoch}:}0.3.4 +%endif +BuildArch: noarch +Packager: Kyle Gospodnetich + +%description +Linux kernel driver for Xbox One and Xbox Series X|S accessories common files. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%package firmware +Summary: Firmware for the XBox One controller dongle +License: Proprietary +Requires: wireless-regdb +%if 0%{?fedora} <= 43 || 0%{?rhel} <= 10 +Obsoletes: %{name}-firmware < %{?epoch:%{epoch}:}0.3^20250419git.c682b0c +%endif +Conflicts: xone-firmware +BuildArch: noarch + +%description firmware +Proprietary firmware for XBox controller dongles. + +%prep +%autosetup -p1 -n %{name}-%{version}-ogc%{ogcversion} +/usr/bin/sed -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' dkms.conf > %{name}.conf + +### Firmware: +# Some of the .bin files have the same name so put them in subdirs +mkdir firm{0..4} + +pushd firm0 +cabextract -F FW_ACC_00U.bin %{SOURCE2} +echo %{firmware_hash0} FW_ACC_00U.bin | sha256sum -c +popd + +pushd firm1 +cabextract -F FW_ACC_00U.bin %{SOURCE3} +echo %{firmware_hash1} FW_ACC_00U.bin | sha256sum -c +popd + +pushd firm2 +cabextract -F FW_ACC_CL.bin %{SOURCE4} +echo %{firmware_hash2} FW_ACC_CL.bin | sha256sum -c +popd + +pushd firm3 +cabextract -F FW_ACC_BR.bin %{SOURCE5} +echo %{firmware_hash3} FW_ACC_BR.bin | sha256sum -c +popd + +%install +# xone-gip-headset module should have the snd-pcm and snd-seq modules be preloaded or it will give errors on boot due to injecting late. +# It still loads afterwards, but this error is easily fixable by just loading the modules in the initramfs. +install -Dpm644 %{SOURCE1} %{buildroot}%{_dracutconfdir}/60-%{name}-snd.conf + +# Blacklist: +install -Dpm644 install/modprobe.conf %{buildroot}%{_modprobedir}/60-%{name}.conf + +# Firmware: +install -Dpm644 firm0/FW_ACC_00U.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_02e6.bin +install -Dpm644 firm1/FW_ACC_00U.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_02fe.bin +install -Dpm644 firm2/FW_ACC_CL.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_02f9.bin +install -Dpm644 firm3/FW_ACC_BR.bin %{buildroot}%{_prefix}/lib/firmware/xone_dongle_091e.bin + +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +# TOU file +/usr/bin/cp %{SOURCE6} . + +%files +%license LICENSE +%doc README.md +%{_modprobedir}/60-%{name}.conf +%{_dracutconfdir}/60-%{name}-snd.conf + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%files firmware +%license terms-of-use +%{_prefix}/lib/firmware/xone_dongle_02e6.bin +%{_prefix}/lib/firmware/xone_dongle_02fe.bin +%{_prefix}/lib/firmware/xone_dongle_02f9.bin +%{_prefix}/lib/firmware/xone_dongle_091e.bin + +%postun +/usr/bin/dracut -f || : + +%changelog +* Sun Mar 15 2026 Kyle Gospodnetich +- Initial package diff --git a/anda/system/xpad-noone/akmod/xpad-noone-kmod.spec b/anda/system/xpad-noone/akmod/xpad-noone-kmod.spec index 0dde070c72..fff0b2ab46 100644 --- a/anda/system/xpad-noone/akmod/xpad-noone-kmod.spec +++ b/anda/system/xpad-noone/akmod/xpad-noone-kmod.spec @@ -10,7 +10,7 @@ This is the original upstream xpad driver from the Linux kernel with support for Name: %{modulename}-kmod Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 4%{?dist} +Release: 6%{?dist} License: GPL-2.0-or-later Summary: xpad driver with support for XBox One controllers removed URL: https://github.com/medusalix/xpad-noone @@ -28,14 +28,14 @@ Requires: akmods Conflicts: dkms-%{modulename} Packager: Gilver E. -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description %_description %prep %{?kmodtool_check} -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %autosetup -n %{modulename}-%{commit} -p1 diff --git a/anda/system/xpad-noone/dkms/dkms-xpad-noone.spec b/anda/system/xpad-noone/dkms/dkms-xpad-noone.spec index a2ca1bb2c5..97716c4969 100644 --- a/anda/system/xpad-noone/dkms/dkms-xpad-noone.spec +++ b/anda/system/xpad-noone/dkms/dkms-xpad-noone.spec @@ -8,7 +8,7 @@ This is the original upstream xpad driver from the Linux kernel with support for Name: dkms-%{modulename} Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 3%{?dist} +Release: 4%{?dist} License: GPL-2.0-or-later Summary: xpad driver with support for XBox One controllers removed URL: https://github.com/medusalix/xpad-noone diff --git a/anda/system/xpad-noone/kmod-common/xpad-noone.spec b/anda/system/xpad-noone/kmod-common/xpad-noone.spec index ad694dc998..04847a5d12 100644 --- a/anda/system/xpad-noone/kmod-common/xpad-noone.spec +++ b/anda/system/xpad-noone/kmod-common/xpad-noone.spec @@ -7,7 +7,7 @@ This is the original upstream xpad driver from the Linux kernel with support for Name: xpad-noone Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 2%{?dist} +Release: 3%{?dist} License: GPL-2.0-or-later Summary: xpad driver with support for XBox One controllers removed URL: https://github.com/medusalix/xpad-noone @@ -25,7 +25,7 @@ Packager: Gilver E. %package akmod-modules Summary: Modules for Akmods -Requires: akmod-%{name} +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} BuildArch: noarch %description akmod-modules diff --git a/anda/system/xpadneo/akmod/update.rhai b/anda/system/xpadneo/akmod/update.rhai deleted file mode 100644 index b7de501f56..0000000000 --- a/anda/system/xpadneo/akmod/update.rhai +++ /dev/null @@ -1,13 +0,0 @@ -let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; -c.pop(); -rpm.global("commit", c); -if rpm.changed() { - rpm.release(); - let d = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; - d.pop(); - rpm.global("commitdate", d); - let v = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; - v.pop(); - rpm.global("ver", v); -} - diff --git a/anda/system/xpadneo/dkms/update.rhai b/anda/system/xpadneo/dkms/update.rhai deleted file mode 100644 index b7de501f56..0000000000 --- a/anda/system/xpadneo/dkms/update.rhai +++ /dev/null @@ -1,13 +0,0 @@ -let c = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; -c.pop(); -rpm.global("commit", c); -if rpm.changed() { - rpm.release(); - let d = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; - d.pop(); - rpm.global("commitdate", d); - let v = sh("cat anda/system/xpadneo/kmod-common/xpadneo.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; - v.pop(); - rpm.global("ver", v); -} - diff --git a/anda/system/xpadneo/kmod-common/io.github.xpadneo.metainfo.xml b/anda/system/xpadneo/kmod-common/io.github.xpadneo.metainfo.xml deleted file mode 100644 index f11f630d07..0000000000 --- a/anda/system/xpadneo/kmod-common/io.github.xpadneo.metainfo.xml +++ /dev/null @@ -1,26 +0,0 @@ - - io.github.xpadneo - xpadneo - xpadneo - Advanced Linux Driver for Xbox One Wireless Controller (shipped with Xbox One S) - -

- Wireless Drivers for the Xbox One and Series S|X controllers. - - Across all models, xpadneo won't support audio features of the controllers because the firmware doesn't support audio in Bluetooth mode. In the future, xpadneo may support audio when USB and dongle support will be added. -

-
- https://atar-axis.github.io/xpadneo/ - CC0-1.0 - - GPL-3.0 - - - Florian Dollinger - - - - - usb:v045Ep02FDd0008dc00dsc00dp00ic03isc00ip00in00 - -
\ No newline at end of file diff --git a/anda/system/xpadneo/kmod-common/xpadneo.spec b/anda/system/xpadneo/kmod-common/xpadneo.spec deleted file mode 100644 index 00a292ee85..0000000000 --- a/anda/system/xpadneo/kmod-common/xpadneo.spec +++ /dev/null @@ -1,63 +0,0 @@ -%global commit e159faa800848989fff4465210496d05c0dc5dae -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260309 -%global ver 0.10 - -Name: xpadneo -Version: %{ver}^%{commitdate}git.%{shortcommit} -Release: 1%{?dist} -Summary: Advanced Linux Driver for Xbox One Wireless Gamepad common files -License: GPL-3.0 -URL: https://atar-axis.github.io/%{name} -Source0: https://github.com/atar-axis/%{name}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz -Source1: io.github.%{name}.metainfo.xml -BuildRequires: sed -BuildRequires: systemd-rpm-macros -Requires: (akmod-%{name} = %{?epoch:%{epoch}:}%{version} or dkms-%{name} = %{?epoch:%{epoch}:}%{version}) -Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} -Obsoletes: %{name}-kmod-common < %{?epoch:%{epoch}:}0.9.7^20241224git.8d20a23-5%{?dist} -BuildArch: noarch -Packager: Gilver E. - -%description -Advanced Linux Driver for Xbox One Wireless Gamepad common files. - -%package akmod-modules -Summary: Modules for Akmods -Requires: akmod-%{name} -BuildArch: noarch - -%description akmod-modules -Akmods modules for the akmod-%{name} package. - -%prep -%autosetup -p1 -n %{name}-%{commit} -/usr/bin/sed -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' hid-%{name}/dkms.conf.in > %{name}.conf - -%install -# Aliases: -install -Dpm644 hid-%{name}/etc-modprobe.d/%{name}.conf -t %{buildroot}%{_modprobedir} - -# UDev rules: -install -Dpm644 hid-%{name}/etc-udev-rules.d/*.rules -t %{buildroot}%{_udevrulesdir}/ - -# Metadata -install -Dm644 %{SOURCE1} %{buildroot}%{_datadir}/metainfo/io.github.%{name}.metainfo.xml - -# Akmods modules -install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} - -%files -%license LICENSE -%doc docs/*.md -%{_modprobedir}/%{name}.conf -%{_udevrulesdir}/60-%{name}.rules -%{_udevrulesdir}/70-%{name}-disable-hidraw.rules -%{_datadir}/metainfo/io.github.%{name}.metainfo.xml - -%files akmod-modules -%{_modulesloaddir}/%{name}.conf - -%changelog -* Fri Mar 07 2025 Gilver E. -- Package refactoring diff --git a/anda/system/xpadneo/nightly/akmod/anda.hcl b/anda/system/xpadneo/nightly/akmod/anda.hcl new file mode 100644 index 0000000000..f1d6f092a5 --- /dev/null +++ b/anda/system/xpadneo/nightly/akmod/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + rpm { + spec = "xpadneo-nightly-kmod.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xpadneo/nightly/akmod/update.rhai b/anda/system/xpadneo/nightly/akmod/update.rhai new file mode 100644 index 0000000000..2054b27a42 --- /dev/null +++ b/anda/system/xpadneo/nightly/akmod/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xpadneo/akmod/xpadneo-kmod.spec b/anda/system/xpadneo/nightly/akmod/xpadneo-nightly-kmod.spec similarity index 63% rename from anda/system/xpadneo/akmod/xpadneo-kmod.spec rename to anda/system/xpadneo/nightly/akmod/xpadneo-nightly-kmod.spec index 12e4291969..b06e60de4a 100644 --- a/anda/system/xpadneo/akmod/xpadneo-kmod.spec +++ b/anda/system/xpadneo/nightly/akmod/xpadneo-nightly-kmod.spec @@ -1,16 +1,16 @@ -%global commit e159faa800848989fff4465210496d05c0dc5dae +%global commit b514bd4454ddca2c40bf5522b3083cf079c9764e %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260309 -%global ver 0.10 +%global commitdate 20260413 +%global ver 0.10.2 %define buildforkernels akmod %global debug_package %{nil} %global modulename xpadneo -Name: %{modulename}-kmod -Version: %{ver}^%{commitdate}git.%{shortcommit} +Name: %{modulename}-nightly-kmod +Version: %{ver}^%{commitdate}git%{shortcommit} Release: 1%{?dist} Summary: Advanced Linux Driver for Xbox One Wireless Gamepad -License: GPL-3.0 +License: GPL-2.0-only AND GPL-3.0-or-later URL: https://atar-axis.github.io/xpadneo Source0: https://github.com/atar-axis/xpadneo/archive/%{commit}.tar.gz#/xpadneo-%{shortcommit}.tar.gz BuildRequires: kmodtool @@ -18,19 +18,19 @@ BuildRequires: systemd-rpm-macros Requires: akmods Requires: bluez Requires: bluez-tools -Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} -Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-nightly-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-nightly-akmod-modules = %{?epoch:%{epoch}:}%{version} Conflicts: dkms-%{modulename} Packager: Gilver E. -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description Advanced Linux Driver for Xbox One Wireless Gamepad. %prep %{?kmodtool_check} -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %autosetup -p1 -n %{modulename}-%{commit} @@ -55,5 +55,7 @@ done %{?akmod_install} %changelog +* Sat Apr 11 2026 Gilver E. - 0.10.2^45f3982git20260411 +- Separated nightly builds into their own packages * Thu Feb 27 2025 Gilver E. - Package refactoring for alternative DKMS package compatibility diff --git a/anda/system/xpadneo/nightly/dkms/anda.hcl b/anda/system/xpadneo/nightly/dkms/anda.hcl new file mode 100644 index 0000000000..155d865ee6 --- /dev/null +++ b/anda/system/xpadneo/nightly/dkms/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "dkms-xpadneo-nightly.spec" + } + labels { + mock = 1 + updbranch = 1 + } +} diff --git a/anda/system/xpadneo/nightly/dkms/dkms-xpadneo-nightly.spec b/anda/system/xpadneo/nightly/dkms/dkms-xpadneo-nightly.spec new file mode 100644 index 0000000000..001e31a9b4 --- /dev/null +++ b/anda/system/xpadneo/nightly/dkms/dkms-xpadneo-nightly.spec @@ -0,0 +1,69 @@ +%global commit b514bd4454ddca2c40bf5522b3083cf079c9764e +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260413 +%global ver 0.10.2 +%global modulename xpadneo + +Name: dkms-%{modulename}-nightly +Version: %{ver}^%{commitdate}git%{shortcommit} +Release: 1%{?dist} +Summary: Advanced Linux Driver for Xbox One Wireless Gamepad +License: GPL-2.0-only AND GPL-3.0-or-later +URL: https://atar-axis.github.io/%{modulename} +Source0: https://github.com/atar-axis/%{modulename}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source1: dkms-%{modulename}.conf +Source2: no-weak-modules.conf +BuildRequires: sed +Requires: bluez +Requires: bluez-tools +Requires: %{modulename}-kmod-common = %{?epoch:%{epoch}:}%{version} +Requires: dkms +Conflicts: akmod-%{modulename} +BuildArch: noarch +Packager: Gilver E. + +%description +Advanced Linux Driver for Xbox One Wireless Gamepad. + +%prep +%autosetup -p1 -n %{modulename}-%{commit} + + +cp -f %{SOURCE1} hid-xpadneo/src/dkms.conf + +sed -i -e 's/__VERSION_STRING/%{version}/g' hid-xpadneo/src/dkms.conf +sed -i -e 's/$(VERSION)/v%{version}/g' hid-xpadneo/src/Makefile + +%build + +%install +# Create empty tree: +mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ +cp -fr hid-xpadneo/src/* %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ + +%if %{defined fedora} +# Do not enable weak modules support in Fedora (no kABI): +install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%post +dkms add -m %{modulename} -v %{version} -q --rpm_safe_upgrade || : +# Rebuild and make available for the currently running kernel: +dkms build -m %{modulename} -v %{version} -q || : +dkms install -m %{modulename} -v %{version} -q --force || : + +%preun +# Remove all versions from DKMS registry: +dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : + +%files +%{_usrsrc}/%{modulename}-%{version} +%if %{defined fedora} +%{_sysconfdir}/dkms/%{modulename}.conf +%endif + +%changelog +* Sat Apr 11 2026 Gilver E. - 0.10.2^45f3982git20260411 +- Separated nightly builds into their own packages +* Thu Feb 27 2025 Gilver E. +- Initial package diff --git a/anda/system/xpadneo/dkms/dkms-xpadneo.conf b/anda/system/xpadneo/nightly/dkms/dkms-xpadneo.conf similarity index 100% rename from anda/system/xpadneo/dkms/dkms-xpadneo.conf rename to anda/system/xpadneo/nightly/dkms/dkms-xpadneo.conf diff --git a/anda/system/xpadneo/nightly/dkms/no-weak-modules.conf b/anda/system/xpadneo/nightly/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/xpadneo/nightly/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/xpadneo/nightly/dkms/update.rhai b/anda/system/xpadneo/nightly/dkms/update.rhai new file mode 100644 index 0000000000..2054b27a42 --- /dev/null +++ b/anda/system/xpadneo/nightly/dkms/update.rhai @@ -0,0 +1,13 @@ +let c = sh("cat anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec | grep '%global commit ' | sed -E 's/.+commit //'", #{"stdout": "piped"}).ctx.stdout; +c.pop(); +rpm.global("commit", c); +if rpm.changed() { + rpm.release(); + let d = sh("cat anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec | grep '%global commitdate' | sed -E 's/.+commitdate //'", #{"stdout": "piped"}).ctx.stdout; + d.pop(); + rpm.global("commitdate", d); + let v = sh("cat anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec | grep '%global ver' | sed -E 's/.+ver //'", #{"stdout": "piped"}).ctx.stdout; + v.pop(); + rpm.global("ver", v); +} + diff --git a/anda/system/xpadneo/nightly/kmod-common/anda.hcl b/anda/system/xpadneo/nightly/kmod-common/anda.hcl new file mode 100644 index 0000000000..a0ac3dafaf --- /dev/null +++ b/anda/system/xpadneo/nightly/kmod-common/anda.hcl @@ -0,0 +1,9 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "xpadneo-nightly.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/system/xpadneo/kmod-common/update.rhai b/anda/system/xpadneo/nightly/kmod-common/update.rhai similarity index 100% rename from anda/system/xpadneo/kmod-common/update.rhai rename to anda/system/xpadneo/nightly/kmod-common/update.rhai diff --git a/anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec b/anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec new file mode 100644 index 0000000000..7e9239e8c0 --- /dev/null +++ b/anda/system/xpadneo/nightly/kmod-common/xpadneo-nightly.spec @@ -0,0 +1,60 @@ +%global commit b514bd4454ddca2c40bf5522b3083cf079c9764e +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20260413 +%global ver 0.10.2 +%global appid io.github.atar_axis.xpadneo + +Name: xpadneo-nightly +Version: %{ver}^%{commitdate}git%{shortcommit} +Release: 1%{?dist} +Summary: Advanced Linux Driver for Xbox One Wireless Gamepad common files +License: GPL-2.0-only AND GPL-3.0-or-later +URL: https://atar-axis.github.io/xpadneo +Source0: https://github.com/atar-axis/xpadneo/archive/%{commit}.tar.gz#/xpadneo-%{shortcommit}.tar.gz +BuildRequires: make +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Obsoletes: %{name}-kmod-common < %{?epoch:%{epoch}:}0.9.7^20241224git.8d20a23-5%{?dist} +BuildArch: noarch +Packager: Gilver E. + +%description +Advanced Linux Driver for Xbox One Wireless Gamepad common files. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n xpadneo-%{commit} +/usr/bin/sed -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' hid-xpadneo/dkms.conf.in > xpadneo.conf + +%install +%{__make} install-all PREFIX="%{buildroot}" ETC_PREFIX="%{_prefix}/lib" VERSION="%{version}" + +# Akmods modules +install -Dm644 xpadneo.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE.md +# Let RPM handle the docs +%doc %{_docdir}/xpadneo/* +%{_modprobedir}/xpadneo.conf +%{_udevrulesdir}/60-xpadneo.rules +%{_udevrulesdir}/70-xpadneo-disable-hidraw.rules +%{_metainfodir}/%{appid}.metainfo.xml + +%files akmod-modules +%{_modulesloaddir}/xpadneo.conf + +%changelog +* Sat Apr 11 2026 Gilver E. - 0.10.2^45f3982git20260411 +- Separated nightly builds into their own packages +* Fri Mar 07 2025 Gilver E. +- Package refactoring diff --git a/anda/system/xpadneo/akmod/anda.hcl b/anda/system/xpadneo/stable/akmod/anda.hcl similarity index 100% rename from anda/system/xpadneo/akmod/anda.hcl rename to anda/system/xpadneo/stable/akmod/anda.hcl diff --git a/anda/system/xpadneo/stable/akmod/update.rhai b/anda/system/xpadneo/stable/akmod/update.rhai new file mode 100644 index 0000000000..eb076f74aa --- /dev/null +++ b/anda/system/xpadneo/stable/akmod/update.rhai @@ -0,0 +1,3 @@ +import "andax/bump_extras.rhai" as bump; + +rpm.version(bump::madoguchi("xpadneo", labels.branch)); diff --git a/anda/system/xpadneo/stable/akmod/xpadneo-kmod.spec b/anda/system/xpadneo/stable/akmod/xpadneo-kmod.spec new file mode 100644 index 0000000000..43068fa0bf --- /dev/null +++ b/anda/system/xpadneo/stable/akmod/xpadneo-kmod.spec @@ -0,0 +1,59 @@ +%define buildforkernels akmod +%global debug_package %{nil} +%global modulename xpadneo + +Name: %{modulename}-kmod +Version: 0.10.2 +Release: 1%{?dist} +%if 0%{?fedora} <= 45 +Epoch: 1 +%endif +Summary: Advanced Linux Driver for Xbox One Wireless Gamepad +License: GPL-2.0-only AND GPL-3.0-or-later +URL: https://atar-axis.github.io/xpadneo +Source0: https://github.com/atar-axis/xpadneo/archive/refs/tags/v%{version}.tar.gz +BuildRequires: kmodtool +BuildRequires: systemd-rpm-macros +Requires: akmods +Requires: bluez +Requires: bluez-tools +Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} +Requires: %{modulename}-akmod-modules = %{?epoch:%{epoch}:}%{version} +Conflicts: dkms-%{modulename} +Provides: %{modulename}-kmod +Packager: Gilver E. + +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } + +%description +Advanced Linux Driver for Xbox One Wireless Gamepad. + +%prep +%{?kmodtool_check} +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{name} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null + +%autosetup -p1 -n %{modulename}-%{version} + +for kernel_version in %{?kernel_versions}; do + mkdir _kmod_build_${kernel_version%%___*} + cp -fr hid-xpadneo/src/* _kmod_build_${kernel_version%%___*} +done + +%build +for kernel_version in %{?kernel_versions}; do + pushd _kmod_build_${kernel_version%%___*}/ + %make_build -C "${kernel_version##*___}" M=$(pwd) VERSION="v%{version}" modules + popd +done + +%install +for kernel_version in %{?kernel_versions}; do + mkdir -p %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ + install -p -m 0755 _kmod_build_${kernel_version%%___*}/*.ko \ + %{buildroot}/%{kmodinstdir_prefix}/${kernel_version%%___*}/%{kmodinstdir_postfix}/ +done +%{?akmod_install} + +%changelog +* Sat Apr 11 2026 Gilver E. - 1:0.10.2-1 +- Initial stable package diff --git a/anda/system/xpadneo/dkms/anda.hcl b/anda/system/xpadneo/stable/dkms/anda.hcl similarity index 100% rename from anda/system/xpadneo/dkms/anda.hcl rename to anda/system/xpadneo/stable/dkms/anda.hcl diff --git a/anda/system/xpadneo/stable/dkms/dkms-xpadneo.conf b/anda/system/xpadneo/stable/dkms/dkms-xpadneo.conf new file mode 100644 index 0000000000..ecde0d0673 --- /dev/null +++ b/anda/system/xpadneo/stable/dkms/dkms-xpadneo.conf @@ -0,0 +1,6 @@ +PACKAGE_NAME="xpadneo" +PACKAGE_VERSION="__VERSION_STRING" +AUTOINSTALL="yes" + +BUILT_MODULE_NAME[0]="hid-xpadneo" +DEST_MODULE_LOCATION[0]="/extra" diff --git a/anda/system/xpadneo/dkms/dkms-xpadneo.spec b/anda/system/xpadneo/stable/dkms/dkms-xpadneo.spec similarity index 75% rename from anda/system/xpadneo/dkms/dkms-xpadneo.spec rename to anda/system/xpadneo/stable/dkms/dkms-xpadneo.spec index b38ab35c9a..59c56849b9 100644 --- a/anda/system/xpadneo/dkms/dkms-xpadneo.spec +++ b/anda/system/xpadneo/stable/dkms/dkms-xpadneo.spec @@ -1,25 +1,25 @@ -%global commit e159faa800848989fff4465210496d05c0dc5dae -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20260309 -%global ver 0.10 -%global debug_package %{nil} %global modulename xpadneo Name: dkms-%{modulename} -Version: %{ver}^%{commitdate}git.%{shortcommit} +Version: 0.10.2 Release: 1%{?dist} +%if 0%{?fedora} <= 45 +Epoch: 1 +%endif Summary: Advanced Linux Driver for Xbox One Wireless Gamepad -License: GPL-3.0 +License: GPL-2.0-only AND GPL-3.0-or-later URL: https://atar-axis.github.io/%{modulename} -Source0: https://github.com/atar-axis/%{modulename}/archive/%{commit}.tar.gz#/%{modulename}-%{shortcommit}.tar.gz +Source0: https://github.com/atar-axis/xpadneo/archive/refs/tags/v%{version}.tar.gz Source1: %{name}.conf Source2: no-weak-modules.conf BuildRequires: sed +Provides: %{modulename}-kmod Requires: bluez Requires: bluez-tools Requires: %{modulename} = %{?epoch:%{epoch}:}%{version} Requires: dkms Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod BuildArch: noarch Packager: Gilver E. @@ -27,7 +27,7 @@ Packager: Gilver E. Advanced Linux Driver for Xbox One Wireless Gamepad. %prep -%autosetup -p1 -n %{modulename}-%{commit} +%autosetup -p1 -n %{modulename}-%{version} cp -f %{SOURCE1} hid-xpadneo/src/dkms.conf @@ -42,7 +42,7 @@ sed -i -e 's/$(VERSION)/v%{version}/g' hid-xpadneo/src/Makefile mkdir -p %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ cp -fr hid-xpadneo/src/* %{buildroot}%{_usrsrc}/%{modulename}-%{version}/ -%if 0%{?fedora} +%if %{defined fedora} # Do not enable weak modules support in Fedora (no kABI): install -Dpm644 %{SOURCE2} %{buildroot}%{_sysconfdir}/dkms/%{modulename}.conf %endif @@ -59,10 +59,10 @@ dkms remove -m %{modulename} -v %{version} -q --all --rpm_safe_upgrade || : %files %{_usrsrc}/%{modulename}-%{version} -%if 0%{?fedora} +%if %{defined fedora} %{_sysconfdir}/dkms/%{modulename}.conf %endif %changelog -* Thu Feb 27 2025 Gilver E. -- Initial package +* Sat Apr 11 2026 Gilver E. - 1:0.10.2-1 +- Initial stable package diff --git a/anda/system/xpadneo/stable/dkms/no-weak-modules.conf b/anda/system/xpadneo/stable/dkms/no-weak-modules.conf new file mode 100644 index 0000000000..24f6f95c96 --- /dev/null +++ b/anda/system/xpadneo/stable/dkms/no-weak-modules.conf @@ -0,0 +1 @@ +NO_WEAK_MODULES="yes" diff --git a/anda/system/xpadneo/stable/dkms/update.rhai b/anda/system/xpadneo/stable/dkms/update.rhai new file mode 100644 index 0000000000..eb076f74aa --- /dev/null +++ b/anda/system/xpadneo/stable/dkms/update.rhai @@ -0,0 +1,3 @@ +import "andax/bump_extras.rhai" as bump; + +rpm.version(bump::madoguchi("xpadneo", labels.branch)); diff --git a/anda/system/xpadneo/stable/kmod-common/anda.hcl b/anda/system/xpadneo/stable/kmod-common/anda.hcl new file mode 100644 index 0000000000..91956479d9 --- /dev/null +++ b/anda/system/xpadneo/stable/kmod-common/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "xpadneo.spec" + } +} diff --git a/anda/system/xpadneo/stable/kmod-common/update.rhai b/anda/system/xpadneo/stable/kmod-common/update.rhai new file mode 100644 index 0000000000..0a63919e92 --- /dev/null +++ b/anda/system/xpadneo/stable/kmod-common/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("atar-axis/xpadneo")); diff --git a/anda/system/xpadneo/stable/kmod-common/xpadneo.spec b/anda/system/xpadneo/stable/kmod-common/xpadneo.spec new file mode 100644 index 0000000000..4ae97912e3 --- /dev/null +++ b/anda/system/xpadneo/stable/kmod-common/xpadneo.spec @@ -0,0 +1,57 @@ +%global appid io.github.atar_axis.xpadneo + +Name: xpadneo +Version: 0.10.2 +Release: 1%{?dist} +%if 0%{?fedora} <= 45 +Epoch: 1 +%endif +Summary: Advanced Linux Driver for Xbox One Wireless Gamepad common files +License: GPL-2.0-only AND GPL-3.0-or-later +URL: https://atar-axis.github.io/%{name} +Source0: https://github.com/atar-axis/xpadneo/archive/refs/tags/v%{version}.tar.gz +BuildRequires: make +BuildRequires: sed +BuildRequires: systemd-rpm-macros +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} +Obsoletes: %{name}-kmod-common < %{?epoch:%{epoch}:}0.9.7^20241224git.8d20a23-5%{?dist} +BuildArch: noarch +Packager: Gilver E. + +%description +Advanced Linux Driver for Xbox One Wireless Gamepad common files. + +%package akmod-modules +Summary: Modules for Akmods +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} +BuildArch: noarch + +%description akmod-modules +Akmods modules for the akmod-%{name} package. + +%prep +%autosetup -p1 -n %{name}-%{version} +%{__sed} -nE '/^BUILT_MODULE_NAME/{s@^.+"(.+)"@\1@; s|-|_|g; p}' hid-%{name}/dkms.conf.in > %{name}.conf + +%install +%{__make} install-all PREFIX="%{buildroot}" ETC_PREFIX="%{_prefix}/lib" VERSION="%{version}" + +# Akmods modules +install -Dm644 %{name}.conf -t %{buildroot}%{_modulesloaddir} + +%files +%license LICENSE.md +# Let RPM handle the docs +%doc %{_docdir}/%{name}/* +%{_modprobedir}/%{name}.conf +%{_udevrulesdir}/60-%{name}.rules +%{_udevrulesdir}/70-%{name}-disable-hidraw.rules +%{_metainfodir}/%{appid}.metainfo.xml + +%files akmod-modules +%{_modulesloaddir}/%{name}.conf + +%changelog +* Sat Apr 11 2026 Gilver E. - 1:0.10.2-1 +- Initial stable package diff --git a/anda/system/zenergy/akmod/zenergy-kmod.spec b/anda/system/zenergy/akmod/zenergy-kmod.spec index e758069581..49d828ac25 100644 --- a/anda/system/zenergy/akmod/zenergy-kmod.spec +++ b/anda/system/zenergy/akmod/zenergy-kmod.spec @@ -14,7 +14,7 @@ Name: %{modulename}-kmod Version: 1.0^%{commitdate}git.%{shortcommit} -Release: 2%{?dist} +Release: 4%{?dist} Summary: Exposes the energy counters that are reported via the Running Average Power Limit (RAPL) Model-specific Registers (MSRs) via the hardware monitor (HWMON) sysfs interface. License: GPL-2.0 URL: https://github.com/BoukeHaarsma23/zenergy @@ -33,7 +33,7 @@ Requires: kernel-devel Conflicts: dkms-%{modulename} Packager: Cappy Ishihara -%{expand:%(kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } +%{expand:%(kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null) } %description Based on AMD_ENERGY driver, but with some jiffies added so non-root users can read it safely. @@ -45,7 +45,7 @@ via the hardware monitor (HWMON) sysfs interface. %{?kmodtool_check} # print kmodtool output for debugging purposes: -kmodtool --target %{_target_cpu} --repo terra.fyralabs.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null +kmodtool --target %{_target_cpu} --repo terrapkg.com --kmodname %{modulename} %{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"} 2>/dev/null %setup -q -c -n %{modulename}-%{commit} diff --git a/anda/system/zenergy/dkms/dkms-zenergy.spec b/anda/system/zenergy/dkms/dkms-zenergy.spec index 52623400be..945eb78933 100644 --- a/anda/system/zenergy/dkms/dkms-zenergy.spec +++ b/anda/system/zenergy/dkms/dkms-zenergy.spec @@ -6,7 +6,7 @@ Name: dkms-%{modulename} Version: 1.0^%{commitdate}git.%{shortcommit} -Release: 1%?dist +Release: 3%?dist Summary: Exposes the energy counters that are reported via the Running Average Power Limit (RAPL) Model-specific Registers (MSRs) via the hardware monitor (HWMON) sysfs interface. License: GPL-2.0 URL: https://github.com/BoukeHaarsma23/zenergy @@ -19,6 +19,7 @@ BuildArch: x86_64 Requires: dkms Requires: help2man Conflicts: akmod-%{modulename} +Provides: %{modulename}-kmod Packager: Cappy Ishihara %description diff --git a/anda/system/zenergy/kmod-common/zenergy.spec b/anda/system/zenergy/kmod-common/zenergy.spec index 76199c991f..380a305067 100644 --- a/anda/system/zenergy/kmod-common/zenergy.spec +++ b/anda/system/zenergy/kmod-common/zenergy.spec @@ -4,7 +4,7 @@ Name: zenergy Version: 1.0^%{commitdate}git.%{shortcommit} -Release: 1%?dist +Release: 3%?dist Summary: Exposes the energy counters that are reported via the Running Average Power Limit (RAPL) Model-specific Registers (MSRs) via the hardware monitor (HWMON) sysfs interface. License: GPL-2.0 URL: https://github.com/BoukeHaarsma23/zenergy @@ -12,7 +12,7 @@ Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz Source1: com.github.zenergy.metainfo.xml BuildRequires: sed BuildRequires: systemd-rpm-macros -Requires: (akmod-%{name} = %{?epoch:%{epoch}:}%{version} or dkms-%{name} = %{?epoch:%{epoch}:}%{version}) +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} Provides: %{name}-kmod-common = %{?epoch:%{epoch}:}%{version} BuildArch: noarch Packager: Cappy Ishihara @@ -25,7 +25,7 @@ via the hardware monitor (HWMON) sysfs interface. %package akmod-modules Summary: Modules for Akmods -Requires: akmod-%{name} +Requires: %{name}-kmod = %{?epoch:%{epoch}:}%{version} BuildArch: noarch %description akmod-modules diff --git a/anda/terra/gpg-keys/terra-gpg-keys.spec b/anda/terra/gpg-keys/terra-gpg-keys.spec index 66e2773f48..beb946d7d9 100644 --- a/anda/terra/gpg-keys/terra-gpg-keys.spec +++ b/anda/terra/gpg-keys/terra-gpg-keys.spec @@ -2,12 +2,12 @@ Name: terra-gpg-keys Version: %{?fedora:%{fedora}}%{?rhel:%{rhel}} -Release: 2%?dist +Release: 6%{?dist} Summary: GPG keys for Terra Requires: filesystem >= 3.18-6 License: MIT -URL: https://terra.fyralabs.com +URL: https://terrapkg.com # We aren't pulling keys from the origin URLs, since they shouldn't change and this is easier to audit. Source0: RPM-GPG-KEY-terrarawhide Source1: RPM-GPG-KEY-terrarawhide-extras @@ -52,18 +52,13 @@ Source39: RPM-GPG-KEY-terra44-source Source40: RPM-GPG-KEY-terrael10 Source41: RPM-GPG-KEY-terrael10-source BuildArch: noarch +Obsoletes: terra-mock-gpg-keys < %{version}-6 Packager: Terra Packaging Team %description GPG keys for Terra, used for verifying RPM package signatures. -%package -n terra-mock-gpg-keys -Summary: Terra GPG keys for Mock - -%description -n terra-mock-gpg-keys -Terra GPG key copies for use in Mock. - %prep %build @@ -72,13 +67,6 @@ Terra GPG key copies for use in Mock. install -d -m 755 $RPM_BUILD_ROOT/etc/pki/rpm-gpg install -m 644 %{_sourcedir}/RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/rpm-gpg/ -install -d -m 755 $RPM_BUILD_ROOT/etc/pki/mock -install -m 644 %{_sourcedir}/RPM-GPG-KEY* $RPM_BUILD_ROOT/etc/pki/mock/ - %files %dir /etc/pki/rpm-gpg /etc/pki/rpm-gpg/RPM-GPG-KEY-* - -%files -n terra-mock-gpg-keys -%dir /etc/pki/mock -/etc/pki/mock/RPM-GPG-KEY-* diff --git a/anda/terra/mock-configs/terra-mock-configs.spec b/anda/terra/mock-configs/terra-mock-configs.spec index a6d33a8e5f..9f6d3ec8b6 100644 --- a/anda/terra/mock-configs/terra-mock-configs.spec +++ b/anda/terra/mock-configs/terra-mock-configs.spec @@ -1,6 +1,6 @@ Name: terra-mock-configs -Version: 2.2.4 -Release: 3%?dist +Version: 2.4.0 +Release: 3%{?dist} Epoch: 1 Summary: Mock configs for Terra repos @@ -10,7 +10,6 @@ Source0: %url/archive/refs/tags/v%version.tar.gz BuildRequires: mock-core-configs Requires: mock-core-configs -Requires: terra-mock-gpg-keys BuildArch: noarch Provides: anda-mock-configs = %{epoch}:%{version}-%{release} @@ -34,9 +33,13 @@ install -Dpm644 *.cfg -t %{buildroot}%{_sysconfdir}/mock/ %config %{_sysconfdir}/mock/templates/terra-rawhide.tpl %config %{_sysconfdir}/mock/terra-*-x86_64.cfg %config %{_sysconfdir}/mock/terra-*-aarch64.cfg +%config %{_sysconfdir}/mock/terra-*-riscv64.cfg %config %{_sysconfdir}/mock/terra-*-i386.cfg %changelog +* Sat Mar 07 2026 Owen Zimmerman - 2.2.5-1 +- Add riscv64 configs + * Fri Jul 26 2024 madonuko - 1:1.1.0-1 - Include mock files for Terra 41 diff --git a/anda/terra/release/terra-release.spec b/anda/terra/release/terra-release.spec index 035e8bd6da..f7cc32f49f 100644 --- a/anda/terra/release/terra-release.spec +++ b/anda/terra/release/terra-release.spec @@ -2,11 +2,11 @@ Name: terra-release Version: %{?fedora:%{fedora}}%{?rhel:%{rhel}} -Release: 2%?dist +Release: 4%{?dist} Summary: Release package for Terra License: MIT -URL: https://terra.fyralabs.com +URL: https://terrapkg.com Source0: terra.repo Source1: terra-extras.repo Source2: terra-nvidia.repo diff --git a/anda/devs/sccache/anda.hcl b/anda/terra/sccache/anda.hcl similarity index 100% rename from anda/devs/sccache/anda.hcl rename to anda/terra/sccache/anda.hcl diff --git a/anda/devs/sccache/terra-sccache.spec b/anda/terra/sccache/terra-sccache.spec similarity index 99% rename from anda/devs/sccache/terra-sccache.spec rename to anda/terra/sccache/terra-sccache.spec index 6b8d529b27..c2217f2bf5 100644 --- a/anda/devs/sccache/terra-sccache.spec +++ b/anda/terra/sccache/terra-sccache.spec @@ -8,7 +8,7 @@ This build actually enables caching to remote storage.} %bcond dist %["%{_target_cpu}" == "x86_64"] Name: terra-sccache -Version: 0.14.0 +Version: 0.15.0 Release: 1%{?dist} Summary: Remote caching enabled builds of sccache SourceLicense: Apache-2.0 AND (Apache-2.0 OR MIT) diff --git a/anda/devs/sccache/update.rhai b/anda/terra/sccache/update.rhai similarity index 100% rename from anda/devs/sccache/update.rhai rename to anda/terra/sccache/update.rhai diff --git a/anda/terra/srpm-macros/anda-srpm-macros.spec b/anda/terra/srpm-macros/anda-srpm-macros.spec index 62691facfd..7447cb577e 100644 --- a/anda/terra/srpm-macros/anda-srpm-macros.spec +++ b/anda/terra/srpm-macros/anda-srpm-macros.spec @@ -1,9 +1,9 @@ Name: anda-srpm-macros -Version: 0.3.4 -Release: 1%?dist +Version: 0.3.7 +Release: 2%{?dist} Summary: SRPM macros for extra Fedora packages -License: MIT +License: GPL-3.0-or-later URL: https://github.com/terrapkg/srpm-macros Source0: %url/archive/refs/tags/v%{version}.tar.gz diff --git a/anda/themes/adwaita++-icons/adwaita++-icons.spec b/anda/themes/adwaita++-icons/adwaita++-icons.spec index 8e3ed22575..5b6a4c1cee 100644 --- a/anda/themes/adwaita++-icons/adwaita++-icons.spec +++ b/anda/themes/adwaita++-icons/adwaita++-icons.spec @@ -3,10 +3,10 @@ Name: adwaita++-icons Version: 6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GNOME++, a third-party icons theme, based on new GNOME 3.32's Adwaita -License: GPL-3.0 and LGPL-3.0 and CC-BY-SA +License: GPL-3.0-or-later AND LGPL-3.0-or-later AND CC-BY-SA URL: https://github.com/Bonandry/adwaita-plus Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch diff --git a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec index 8aca3f2f12..f100d25649 100644 --- a/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec +++ b/anda/themes/bibata-cursor-theme/bibata-cursor-theme.spec @@ -1,11 +1,10 @@ Name: bibata-cursor-theme Version: 2.0.7 -Release: 1%?dist +Release: 2%?dist URL: https://github.com/ful1e5/Bibata_Cursor Source0: %{url}/releases/download/v%{version}/Bibata.tar.xz Source1: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/README.md -Source2: https://raw.githubusercontent.com/ful1e5/Bibata_Cursor/v%{version}/LICENSE -License: GPL-3.0 +License: GPL-3.0-or-later Summary: Open source, compact, and material designed cursor set BuildArch: noarch BuildRequires: rpm_macro(fdupes) @@ -25,9 +24,8 @@ tar xf %{SOURCE0} %install mkdir -p %{buildroot}/%{_datadir}/icons/ mv Bibata-* %{buildroot}/%{_datadir}/icons/ -mkdir -p %{buildroot}/%{_datadir}/{doc,licenses}/%{name}/ +mkdir -p %{buildroot}/%{_datadir}/doc/%{name}/ cp %{SOURCE1} %{buildroot}/%{_datadir}/doc/%{name}/README.md -cp %{SOURCE2} %{buildroot}/%{_datadir}/licenses/%{name}/LICENSE %fdupes %buildroot%_datadir/icons/ %files diff --git a/anda/themes/breeze-plus-icon-theme/breeze-plus-icon-theme.spec b/anda/themes/breeze-plus-icon-theme/breeze-plus-icon-theme.spec index f52a91ba76..46997847ee 100644 --- a/anda/themes/breeze-plus-icon-theme/breeze-plus-icon-theme.spec +++ b/anda/themes/breeze-plus-icon-theme/breeze-plus-icon-theme.spec @@ -1,10 +1,10 @@ Name: breeze-plus-icon-theme Version: 6.19.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Breeze icon theme with additional icons Packager: Amy King -License: LGPL-2.1-only +License: LGPL-2.1-or-later URL: https://github.com/mjkim0727/breeze-plus Source0: %{url}/archive/refs/tags/%{version}.tar.gz BuildArch: noarch diff --git a/anda/themes/fluent-icon-theme/fluent-icon-theme.spec b/anda/themes/fluent-icon-theme/fluent-icon-theme.spec index 67f001d78a..a972b7b875 100644 --- a/anda/themes/fluent-icon-theme/fluent-icon-theme.spec +++ b/anda/themes/fluent-icon-theme/fluent-icon-theme.spec @@ -2,10 +2,10 @@ Name: fluent-icon-theme Version: 20250821 -Release: 3%?dist +Release: 4%?dist Summary: Fluent icon theme for linux desktops -License: GPL-3.0 +License: GPL-3.0-or-later URL: https://github.com/vinceliuice/Fluent-icon-theme/ Source0: %url/archive/refs/tags/%tag.tar.gz diff --git a/anda/themes/fluent-theme/fluent-theme.spec b/anda/themes/fluent-theme/fluent-theme.spec index e42cd8bf72..dde09baa54 100644 --- a/anda/themes/fluent-theme/fluent-theme.spec +++ b/anda/themes/fluent-theme/fluent-theme.spec @@ -2,10 +2,10 @@ Name: fluent-theme Version: 20250417 -Release: 1%?dist +Release: 2%?dist Summary: Fluent design theme for GNOME/GTK based desktop environments -License: GPL-3.0 +License: GPL-3.0-or-later URL: https://github.com/vinceliuice/Fluent-gtk-theme Source0: https://github.com/vinceliuice/Fluent-gtk-theme/archive/refs/tags/%{tag}.tar.gz diff --git a/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec index b295bf9866..f7586f04c7 100644 --- a/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec +++ b/anda/themes/google-black-cursor-theme/google-black-cursor-theme.spec @@ -1,12 +1,12 @@ Name: google-black-cursor-theme Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/ful1e5/Google_Cursor Source0: %{url}/releases/download/v%{version}/GoogleDot-Black.tar.gz Source1: https://raw.githubusercontent.com/ful1e5/Google_Cursor/v%{version}/README.md Source2: https://raw.githubusercontent.com/ful1e5/Google_Cursor/v%{version}/LICENSE -License: GPL-3.0 -Summary: An opensource cursor theme inspired by Google. +License: GPL-3.0-or-later +Summary: An opensource cursor theme inspired by Google. BuildArch: noarch BuildRequires: rpm_macro(fdupes) diff --git a/anda/themes/helium-gtk-theme/helium-gtk-theme.spec b/anda/themes/helium-gtk-theme/helium-gtk-theme.spec index 3e76761839..3894bf81d6 100644 --- a/anda/themes/helium-gtk-theme/helium-gtk-theme.spec +++ b/anda/themes/helium-gtk-theme/helium-gtk-theme.spec @@ -3,8 +3,8 @@ Summary: tauOS GTK/GNOME Shell Themes Name: helium-gtk-theme Version: %(echo %ver | sed 's/-/./g') -Release: 2%{?dist} -License: GPL-3.0 +Release: 3%{?dist} +License: GPL-3.0-or-later URL: https://github.com/tau-OS/tau-helium Source0: https://github.com/tau-OS/tau-helium/archive/refs/tags/%{ver}.tar.gz BuildArch: noarch diff --git a/anda/themes/hydrogen-icon-theme/hydrogen-icon-theme.spec b/anda/themes/hydrogen-icon-theme/hydrogen-icon-theme.spec index f7ba7faa06..744f30b98e 100644 --- a/anda/themes/hydrogen-icon-theme/hydrogen-icon-theme.spec +++ b/anda/themes/hydrogen-icon-theme/hydrogen-icon-theme.spec @@ -1,8 +1,8 @@ Summary: tauOS Icon Theme Name: hydrogen-icon-theme Version: 1.0.16 -Release: 2%?dist -License: GPL-3.0 +Release: 3%?dist +License: GPL-3.0-or-later URL: https://github.com/tau-OS/tau-hydrogen Source0: https://github.com/tau-OS/tau-hydrogen/archive/refs/tags/%{version}.tar.gz BuildArch: noarch diff --git a/anda/themes/kde-material-you-colors/VERSION_qt6-qtbase.txt b/anda/themes/kde-material-you-colors/VERSION_qt6-qtbase.txt index 22cb9e5536..1de66e5ff8 100644 --- a/anda/themes/kde-material-you-colors/VERSION_qt6-qtbase.txt +++ b/anda/themes/kde-material-you-colors/VERSION_qt6-qtbase.txt @@ -1 +1 @@ -6.10.2 +6.11.0 diff --git a/anda/themes/kde-material-you-colors/kde-material-you-colors.spec b/anda/themes/kde-material-you-colors/kde-material-you-colors.spec index b48e2087c5..6a2e27e5d1 100644 --- a/anda/themes/kde-material-you-colors/kde-material-you-colors.spec +++ b/anda/themes/kde-material-you-colors/kde-material-you-colors.spec @@ -1,10 +1,11 @@ %global appid luisbocanegra.kdematerialyou.colors %global developer "Luis Bocanegra" %global org "com.github.luisbocanegra" +%global pypi_name kde_material_you_colors Name: kde-material-you-colors -Version: 2.0.0 -Release: 4%?dist +Version: 2.2.0 +Release: 4%{?dist} Summary: Automatic Material You Colors Generator from your wallpaper for the Plasma Desktop License: GPL-3.0-only URL: https://github.com/luisbocanegra/%{name} @@ -15,7 +16,6 @@ BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake >= 3.16 BuildRequires: extra-cmake-modules >= 6.0.0 -BuildRequires: fdupes BuildRequires: generic-logos BuildRequires: pyproject-rpm-macros BuildRequires: python3-devel @@ -32,7 +32,7 @@ BuildRequires: cmake(Qt5Core) BuildRequires: pkgconfig(ocl-icd) Requires: qt5-qtbase Requires: kf6-filesystem >= 6.0.0 -Requires: python3-%{name} = %{version}-%{release} +Requires: python3-%{name} = %{evr} Packager: Gilver E. %description @@ -40,48 +40,45 @@ Automatic Material You Colors Generator from your wallpaper for the Plasma Deskt %package -n python3-%{name} Summary: Python files for %{name} -Requires: %{name} = %{version}-%{release} -Requires: python3-dbus -Requires: python3dist(numpy) >= 1.20 -Requires: python3dist(materialyoucolor) >= 2.0.9 -Requires: python3dist(pywal16) -Requires: python3dist(pillow) +Requires: %{name} = %{evr} +Requires: python%{python3_version}dist(file-magic) +Requires: python%{python3_version}dist(pywal16) BuildArch: noarch %description -n python3-%{name} Python files for KDE Material You Colors. %prep -%autosetup -p1 -n %{name}-%{version} -sed -iE 's:\"python-magic.*\":\"file-magic\":' pyproject.toml +%autosetup -n %{name}-%{version} +%pyproject_patch_dependency python-magic:ignore + +%conf +%cmake \ + -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ + -DINSTALL_PLASMOID="ON" %build %pyproject_wheel -%cmake \ - -DCMAKE_INSTALL_PREFIX=%{_prefix} \ - -DINSTALL_PLASMOID=ON %cmake_build %install %pyproject_install -DESTDIR="%{buildroot}" %cmake_install - -sed -Ei "s:^(#!.*)env (python.*)$:\1python3:" %{buildroot}%{python3_sitelib}/kde_material_you_colors/main.py -%fdupes %{buildroot}%{python3_sitelib}/%{name}/ +%pyproject_save_files %{pypi_name} +%cmake_install %files %doc CHANGELOG.md %doc README.md %license LICENSE %{_bindir}/%{name}-screenshot-helper -%{_datadir}/applications/%{name}-screenshot-helper.desktop -%{_datadir}/plasma/plasmoids/luisbocanegra.kdematerialyou.colors/ +%{_appsdir}/%{name}-screenshot-helper.desktop +%{_datadir}/plasma/plasmoids/%{appid}/ -%files -n python3-%{name} +%files -n python3-%{name} -f %{pyproject_files} %{_bindir}/%{name} -%{python3_sitelib}/kde_material_you_colors/ -%{python3_sitelib}/kde_material_you_colors-%{version}.dist-info/ %changelog +* Tue May 5 2026 Gilver E. - 2.2.0-4 +- Refactor build around new RPM macros * Wed May 28 2025 Gilver E. - Initial package diff --git a/anda/themes/kde-material-you-colors/update.rhai b/anda/themes/kde-material-you-colors/update.rhai index 3d67611499..117be52924 100644 --- a/anda/themes/kde-material-you-colors/update.rhai +++ b/anda/themes/kde-material-you-colors/update.rhai @@ -1,7 +1,7 @@ import "andax/bump_extras.rhai" as bump; import "andax/spec.rhai" as spec; -rpm.version(pypi("kde-material-you-colors")); +rpm.version(find(`version = \"([\d.]+)\"`, gh_rawfile("luisbocanegra/kde-material-you-colors", "main", "pyproject.toml"), 1)); open_file("anda/themes/kde-material-you-colors/VERSION_qt6-qtbase.txt", "w").write(bump::bodhi("qt6-qtbase", bump::as_bodhi_ver(labels.branch))); diff --git a/anda/themes/klassy/klassy.spec b/anda/themes/klassy/klassy.spec index eca50ab33a..64d5ebc191 100644 --- a/anda/themes/klassy/klassy.spec +++ b/anda/themes/klassy/klassy.spec @@ -12,13 +12,13 @@ License: GPL-2.0-or-later Group: System/GUI/KDE URL: %{forgeurl} Source: %{forgesource} -Patch0: https://github.com/paulmcauley/klassy/pull/178.patch Obsoletes: classikstyles <= %{version} Obsoletes: classik <= %{version} BuildRequires: cmake >= 3.16 BuildRequires: extra-cmake-modules >= 5.102.0 +BuildRequires: gettext BuildRequires: kf5-rpm-macros BuildRequires: kf5-filesystem @@ -80,13 +80,29 @@ Klassy (formerly ClassiK/ClassikStyles) is a highly customizable binary Window D %forgeautosetup -p1 %build -%cmake +mkdir -p qt6-build +pushd qt6-build +%cmake_kf6 -S .. -DBUILD_QT6=ON -DBUILD_QT5=OFF %cmake_build +popd +mkdir -p qt5-build +pushd qt5-build +%cmake_kf5 -S .. -DBUILD_QT6=OFF -DBUILD_QT5=ON +%cmake_build +popd %install +pushd qt5-build %cmake_install +popd +pushd qt6-build +%cmake_install +popd -%files +%find_lang %{name}_style_config +%find_lang %{name}_kwin_deco + +%files -f %{name}_style_config.lang -f %{name}_kwin_deco.lang %license LICENSES/*.txt %{_bindir}/%{name}-settings @@ -102,18 +118,19 @@ Klassy (formerly ClassiK/ClassikStyles) is a highly customizable binary Window D %{_kf6_qtplugindir}/kstyle_config/klassystyleconfig.so %{_kf6_qtplugindir}/org.kde.kdecoration3/org.kde.klassy.so %{_kf6_qtplugindir}/org.kde.kdecoration3.kcm/kcm_klassydecoration.so -%{_kf6_qtplugindir}/org.kde.kdecoration2.kcm/klassydecoration/presets/* +%{_kf6_qtplugindir}/org.kde.kdecoration3.kcm/klassydecoration/presets/* %{_kf6_datadir}/applications/kcm_klassydecoration.desktop %{_kf6_datadir}/applications/klassystyleconfig.desktop %{_kf6_datadir}/applications/klassy-settings.desktop %{_kf6_datadir}/color-schemes/Klassy*.colors +%{_kf6_datadir}/color-schemes/OpalFruits*.colors %{_datadir}/icons/hicolor/ %{_datadir}/icons/%{name}/ %{_datadir}/icons/%{name}-dark/ -%{_datadir}/plasma/desktoptheme/%{name}/ +%{_datadir}/plasma/desktoptheme/kite-*/ %{_kf6_datadir}/kstyle/themes/%{name}.themerc @@ -122,4 +139,3 @@ Klassy (formerly ClassiK/ClassikStyles) is a highly customizable binary Window D %changelog %autochangelog - diff --git a/anda/themes/lightly-qt6/VER6.txt b/anda/themes/lightly-qt6/VER6.txt index 9a037142aa..9d607966b7 100644 --- a/anda/themes/lightly-qt6/VER6.txt +++ b/anda/themes/lightly-qt6/VER6.txt @@ -1 +1 @@ -10 \ No newline at end of file +11 \ No newline at end of file diff --git a/anda/themes/orchis-theme/orchis-theme.spec b/anda/themes/orchis-theme/orchis-theme.spec index 1fbc94b15e..166b336629 100644 --- a/anda/themes/orchis-theme/orchis-theme.spec +++ b/anda/themes/orchis-theme/orchis-theme.spec @@ -6,7 +6,7 @@ Name: gtk-theme-%theme_name Version: %{sanitized_ver} -Release: 2%?dist +Release: 3%{?dist} Summary: Orchis is a Material Design theme for GNOME/GTK based desktop environments License: GPL-3.0-only Url: https://github.com/vinceliuice/Orchis-theme/ @@ -25,6 +25,8 @@ Requires: sassc BuildArch: noarch +Packager: Owen Zimmerman + %description Orchis is a Material Design theme for GNOME/GTK based desktop environments. Based on nana-4 -- materia-theme (https://github.com/nana-4/materia-theme). diff --git a/anda/themes/unity-asset-pool/unity-asset-pool.spec b/anda/themes/unity-asset-pool/unity-asset-pool.spec index 068c52a4fc..4555a7684f 100644 --- a/anda/themes/unity-asset-pool/unity-asset-pool.spec +++ b/anda/themes/unity-asset-pool/unity-asset-pool.spec @@ -3,7 +3,7 @@ Name: unity-asset-pool Summary: Assets and icons for Unity Version: 0.8.24 -Release: %autorelease +Release: 1%?dist License: CC-BY-SA URL: https://launchpad.net/unity-asset-pool diff --git a/anda/tools/HeadsetControl-nightly/HeadsetControl-nightly.spec b/anda/tools/HeadsetControl-nightly/HeadsetControl-nightly.spec index 626cffd571..9e9bba3207 100644 --- a/anda/tools/HeadsetControl-nightly/HeadsetControl-nightly.spec +++ b/anda/tools/HeadsetControl-nightly/HeadsetControl-nightly.spec @@ -1,6 +1,6 @@ %global _udevrulesdir /usr/lib/udev/rules.d -%global commit 16c337f0b5e034d39d39f28250b480beed50ade4 +%global commit 694b8576da70938b02c2de4664a51b5cb0a335fb %global commitdate 20251121 %global shortcommit %(c=%{commit}; echo ${c:0:7}) diff --git a/anda/tools/MareTF/MareTF.spec b/anda/tools/MareTF/MareTF.spec new file mode 100644 index 0000000000..123d95bee3 --- /dev/null +++ b/anda/tools/MareTF/MareTF.spec @@ -0,0 +1,58 @@ +%define debug_package %{nil} + +Name: MareTF +Version: 0.11.0 +Release: 1%{?dist} +License: MIT +Summary: A utility to create, edit, and display every type of VTF file ever made +URL: https://github.com/craftablescience/MareTF +Source: %{url}/archive/refs/tags/v%{version}.tar.gz +Packager: Owen Zimmerman +Provides: maretf + +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(flac) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(vorbis) +BuildRequires: pkgconfig(zlib) +BuildRequires: cmake(Qt6LinguistTools) +BuildRequires: ninja-build +BuildRequires: vulkan-headers + +%description +%{summary}. + +%prep +%git_clone + +%conf +%cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DMARETF_BUILD_INSTALLER=ON \ + -DCPACK_GENERATOR=RPM \ + -DMARETF_BUILD_INSTALLER=ON + +%build +%cmake_build + +%install +%cmake_install + +%files +%doc README.md +%license LICENSE +%{_bindir}/maretf +%{_bindir}/maretf_gui +%{_appsdir}/maretf.desktop +%{_hicolordir}/512x512/apps/maretf.png +%{_defaultlicensedir}/maretf/LICENSE +%{_datadir}/mime/packages/maretf.xml + +%changelog +* Sun Mar 15 2026 Owen Zimmerman +- Build release build + +* Sat Mar 14 2026 Owen Zimmerman +- Initial commit diff --git a/anda/tools/MareTF/anda.hcl b/anda/tools/MareTF/anda.hcl new file mode 100644 index 0000000000..ff6f663d92 --- /dev/null +++ b/anda/tools/MareTF/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "MareTF.spec" + } +} diff --git a/anda/tools/MareTF/update.rhai b/anda/tools/MareTF/update.rhai new file mode 100644 index 0000000000..207c029245 --- /dev/null +++ b/anda/tools/MareTF/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("craftablescience/MareTF")); diff --git a/anda/tools/arduino-app-bricks-py/arduino-app-bricks-py.spec b/anda/tools/arduino-app-bricks-py/arduino-app-bricks-py.spec index fcbdc049b8..ca35393c58 100644 --- a/anda/tools/arduino-app-bricks-py/arduino-app-bricks-py.spec +++ b/anda/tools/arduino-app-bricks-py/arduino-app-bricks-py.spec @@ -1,7 +1,7 @@ %global pypi_name app-bricks-py %global _desc The code of the Arduino App Lab Bricks -%global ver release/0.8.0rc3 +%global ver release/0.9.2 %global sanitized_ver %(echo %{ver} | sed 's|release/||') Name: %{pypi_name} diff --git a/anda/tools/arduino-app-cli/arduino-app-cli.spec b/anda/tools/arduino-app-cli/arduino-app-cli.spec index 6da107809b..2c241f9d82 100644 --- a/anda/tools/arduino-app-cli/arduino-app-cli.spec +++ b/anda/tools/arduino-app-cli/arduino-app-cli.spec @@ -1,10 +1,10 @@ %global goipath github.com/arduino/arduino-app-cli -Version: 0.8.3 +Version: 0.9.0 %gometa -f Name: arduino-app-cli -Release: 1%?dist +Release: 1%{?dist} Summary: The CLI and service that manages and runs Arduino Apps on UNO Q License: GPL-3.0-only diff --git a/anda/tools/arduino-flasher-cli/arduino-flasher-cli.spec b/anda/tools/arduino-flasher-cli/arduino-flasher-cli.spec index 2b6a39b588..fef8ecedff 100644 --- a/anda/tools/arduino-flasher-cli/arduino-flasher-cli.spec +++ b/anda/tools/arduino-flasher-cli/arduino-flasher-cli.spec @@ -1,5 +1,5 @@ %global goipath github.com/arduino/arduino-flasher-cli -Version: 0.5.0 +Version: 0.5.1 %gometa -f @@ -10,7 +10,7 @@ CLI tool to flash UNO Q boards with the latest Arduino Linux image.} %global godocs README.md Name: arduino-flasher-cli -Release: 1%?dist +Release: 1%{?dist} Summary: CLI tool to flash UNO Q boards with the latest Arduino Linux image License: GPL-3.0-only URL: %{gourl} diff --git a/anda/tools/arduino-remoteocd/arduino-remoteocd.spec b/anda/tools/arduino-remoteocd/arduino-remoteocd.spec index d49f67b612..d2cfeda08c 100644 --- a/anda/tools/arduino-remoteocd/arduino-remoteocd.spec +++ b/anda/tools/arduino-remoteocd/arduino-remoteocd.spec @@ -1,7 +1,7 @@ %global goipath github.com/arduino/remoteocd -%global commit 3cf11b106f040493ea3589ddaf56df9c6396d17f -%global commit_date 20260224 +%global commit ada87dad6fb195d57c4e2abbe2e6c99092c12d33 +%global commit_date 20260505 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Version: 0^%commit_date.%shortcommit @@ -9,7 +9,7 @@ Version: 0^%commit_date.%shortcommit %gometa -f Name: remoteocd -Release: 1%?dist +Release: 1%{?dist} Summary: Flexible firmware flashing for the Arduino UNO Q Microcontroller License: GPL-3.0-only diff --git a/anda/tools/buildsys/anda/rust-anda.spec b/anda/tools/buildsys/anda/rust-anda.spec deleted file mode 100644 index 5fa37431e0..0000000000 --- a/anda/tools/buildsys/anda/rust-anda.spec +++ /dev/null @@ -1,89 +0,0 @@ -# Generated by rust2rpm 22 -%bcond_without check -%define debug_package %{nil} - -%global crate anda - -Name: rust-anda -Version: 0.5.1 -Release: 1%{?dist} -Summary: Andaman Build toolchain - -License: MIT -URL: https://crates.io/crates/anda -Source: https://github.com/FyraLabs/anda/archive/refs/tags/%{version}.tar.gz - -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 -BuildRequires: anda-srpm-macros -BuildRequires: openssl-devel -%if 0%{?fedora} -BuildRequires: openssl-devel-engine -%endif -BuildRequires: git-core -BuildRequires: libgit2-devel -BuildRequires: libssh2-devel -BuildRequires: mold - -%global _description %{expand: -Andaman Build toolchain.} - -%description %{_description} - -%package -n %{crate} -Summary: %{summary} -Requires: mock -Requires: rpm-build -Requires: createrepo_c -Requires: git-core -Requires: libgit2 -%if 0%{?fedora} >= 42 -Requires: mock-filesystem -Requires: util-linux-script -%endif - -%description -n %{crate} %{_description} - -%files -n %{crate} -%license LICENSE.dependencies LICENSE.md -%{_bindir}/anda -%{_mandir}/man1/anda*.1* -%config %{_sysconfdir}/bash_completion.d/anda.bash -%{_datadir}/zsh/site-functions/_anda -%{_datadir}/fish/completions/anda.fish - -%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 -%cargo_prep_online - -%build -%cargo_build -%{cargo_license_online} > LICENSE.dependencies -cargo run --release -p xtask -- manpage -cargo run --release -p xtask -- completion - -%install -install -Dpm755 target/rpm/anda -t %buildroot%_bindir/ - -mkdir -p %{buildroot}%{_mandir}/man1/ - -# Install shell completions - -COMPDIR="target/assets/completion" - -mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d/ -cp -v $COMPDIR/bash/anda.bash %{buildroot}%{_sysconfdir}/bash_completion.d/anda.bash -mkdir -p %{buildroot}%{_datadir}/zsh/site-functions/ -cp -v $COMPDIR/zsh/_anda %{buildroot}%{_datadir}/zsh/site-functions/_anda -mkdir -p %{buildroot}%{_datadir}/fish/completions/ -cp -v $COMPDIR/fish/anda.fish %{buildroot}%{_datadir}/fish/completions/anda.fish - -# install man pages -cp -v target/assets/man_pages/* %{buildroot}%{_mandir}/man1/ - - -rm -rf %{buildroot}%{cargo_registry} - -%changelog -%autochangelog diff --git a/anda/tools/buildsys/muon/muon.spec b/anda/tools/buildsys/muon/muon.spec deleted file mode 100644 index 383d29ca4f..0000000000 --- a/anda/tools/buildsys/muon/muon.spec +++ /dev/null @@ -1,39 +0,0 @@ -Name: muon -Version: 0.5.0 -Release: 1%?dist -Summary: A meson-compatible build system - -# muon is licensed under the GPL version 3 (see LICENSE). Tests under tests/project were copied from the meson project tests and are licensed under Apache 2.0. -License: GPL-3.0 AND Apache-2.0 -URL: https://muon.build/ -Source: https://git.sr.ht/~lattis/muon/archive/%{version}.tar.gz - -BuildRequires: meson -BuildRequires: gcc -BuildRequires: cmake -BuildRequires: libcurl-devel -BuildRequires: libarchive-devel -BuildRequires: libpkgconf-devel -BuildRequires: scdoc -BuildRequires: git-core - -%description -An implementation of the meson build system in c99 with minimal dependencies. - -%prep -%autosetup - -%build -%meson -Dtracy=disabled -%meson_build - -%install -%meson_install - -%files -/usr/bin/muon -%{_mandir}/man1/muon* -%{_mandir}/man5/meson* - -%changelog -%autochangelog diff --git a/anda/tools/buildsys/ops2deb/ops2deb.spec b/anda/tools/buildsys/ops2deb/ops2deb.spec deleted file mode 100644 index da677895e3..0000000000 --- a/anda/tools/buildsys/ops2deb/ops2deb.spec +++ /dev/null @@ -1,43 +0,0 @@ -%global debug_package %nil -%define _python_dist_allow_version_zero # upstream issue? - -Name: python3-ops2deb -Version: 2.7.0 -Release: 1%?dist -Summary: Generate Debian packages for common devops tools -License: MIT -URL: https://github.com/upciti/ops2deb -Source0: %url/archive/refs/tags/%version.tar.gz -BuildRequires: python3-devel poetry python3.10 -BuildRequires: python3dist(setuptools) -BuildArch: noarch - -%description -ops2deb is designed to generate Debian packages for common devops tools, but -can be used to package any portable application. It consumes a configuration -file and outputs .deb packages. ops2deb can also track new releases of upstream -applications and automatically bump application versions in its configuration -file. - - -%prep -%autosetup -n ops2deb-%version - -%build -poetry build - -%install -python3.10 -m ensurepip -python3.10 -m pip install installer -python3.10 -m installer --destdir=%buildroot dist/*.whl -rm -rf %buildroot/%python3_sitelib/*/__pycache__ - -%files -%license LICENSE -%doc README.md -/usr/bin/ops2deb -/usr/lib/python3*/site-packages/ops2deb* - -%changelog -* Fri Apr 28 2023 madonuko - 2.4.1-1 -- Initial package. diff --git a/anda/tools/carapace/carapace.spec b/anda/tools/carapace/carapace.spec index 75b9649374..de0efb3be4 100644 --- a/anda/tools/carapace/carapace.spec +++ b/anda/tools/carapace/carapace.spec @@ -1,12 +1,12 @@ %define debug_package %{nil} %global goipath github.com/carapace-sh/carapace-bin -Version: 1.6.3 +Version: 1.6.5 %gometa -f Name: carapace -Release: 1%?dist +Release: 1%{?dist} Summary: A multi-shell completion binary License: MIT diff --git a/anda/tools/chafa/chafa.spec b/anda/tools/chafa/chafa.spec index 217226dd07..b69d1b21f4 100644 --- a/anda/tools/chafa/chafa.spec +++ b/anda/tools/chafa/chafa.spec @@ -1,6 +1,6 @@ Name: terra-chafa -Version: 1.18.1 -Release: 1%?dist +Version: 1.18.2 +Release: 1%{?dist} Summary: Terminal graphics for the 21st century License: LGPL-3.0-or-later AND GPL-3.0-or-later URL: https://hpjansson.org/chafa/ @@ -45,9 +45,11 @@ Requires: %{name}-libs%{?_isa} = %{evr} %prep %autosetup -n chafa-%{version} -%build +%conf autoreconf -ivf %configure --disable-rpath + +%build %make_build %install diff --git a/anda/tools/cloudflare-speed-cli/cloudflare-speed-cli.spec b/anda/tools/cloudflare-speed-cli/cloudflare-speed-cli.spec index 41180756b8..90acba5fe3 100644 --- a/anda/tools/cloudflare-speed-cli/cloudflare-speed-cli.spec +++ b/anda/tools/cloudflare-speed-cli/cloudflare-speed-cli.spec @@ -1,8 +1,8 @@ %define debug_package %{nil} Name: cloudflare-speed-cli -Version: 0.6.5 -Release: 1%?dist +Version: 0.6.8 +Release: 1%{?dist} Summary: CLI for internet speed test via cloudflare License: GPL-3.0-or-later AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND ISC AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR Apache-2.0) AND (BSD-3-Clause OR MIT) AND BSD-3-Clause AND BSL-1.0 AND CDLA-Permissive-2.0 AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR BSD-3-Clause) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib diff --git a/anda/tools/copyparty/copyparty.spec b/anda/tools/copyparty/copyparty.spec index 4074fadf93..1e9c8124f6 100644 --- a/anda/tools/copyparty/copyparty.spec +++ b/anda/tools/copyparty/copyparty.spec @@ -1,7 +1,7 @@ %global pypi_name copyparty Name: %{pypi_name} -Version: 1.20.11 +Version: 1.20.14 Release: 1%{?dist} Summary: Portable, featureful, and fast file server URL: https://github.com/9001/copyparty diff --git a/anda/tools/coreboot-utils/coreboot-utils.spec b/anda/tools/coreboot-utils/coreboot-utils.spec index 5e3ed1f5bf..083f66b658 100644 --- a/anda/tools/coreboot-utils/coreboot-utils.spec +++ b/anda/tools/coreboot-utils/coreboot-utils.spec @@ -1,8 +1,8 @@ %define debug_package %nil Name: coreboot-utils -Version: 25.12 -Release: 3%?dist +Version: 26.03 +Release: 1%{?dist} Summary: Various coreboot utilities URL: https://doc.coreboot.org License: BSD-3-Clause AND Apache-2.0 AND CC-BY-SA-3.0 AND GPL-2.0-only AND GPL-3.0-or-later AND ISC AND BSD-2-Clause-Patent AND BSD-4-Clause-UC AND CC-PDDC AND GPL-2.0-or-later AND HPND-sell-varient AND LGPL-2.1-or-later AND BSD-2-Clause AND CC-BY-4.0 AND GPL-3.0-only AND HPND AND X11 AND MIT @@ -499,6 +499,13 @@ Requires: coreboot-utils = %{evr} %patch -P0 -p1 %patch -P1 -p1 +%conf +%ifarch x86_64 +pushd msrtool +%configure +popd +%endif + %build %if 0%{?fedora} >= 42 export CC=gcc-14 @@ -534,6 +541,9 @@ pushd util %endif %make_build -C kbc1126 %ifarch x86_64 +%make_build -C msrtool +%endif +%ifarch x86_64 %make_build -C nvramtool LDFLAGS="-fPIE" %endif %ifarch x86_64 @@ -557,13 +567,6 @@ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readon %gobuild -o %{_builddir}/autoport popd -%ifarch x86_64 -pushd msrtool -%configure -%make_build -popd -%endif - pushd coreboot-configurator %meson %meson_build diff --git a/anda/tools/curl-impersonate/curl-impersonate-chrome.spec b/anda/tools/curl-impersonate/curl-impersonate-chrome.spec index 981d34621b..4416f46074 100644 --- a/anda/tools/curl-impersonate/curl-impersonate-chrome.spec +++ b/anda/tools/curl-impersonate/curl-impersonate-chrome.spec @@ -50,8 +50,10 @@ This package contains the object files necessary to develop %{name}. %prep %autosetup -n curl-impersonate-%{version} -p1 -%build +%conf %configure + +%build %{__make} chrome-build %check diff --git a/anda/tools/electron/electron.spec b/anda/tools/electron/electron.spec index 2c5871ecdc..70d7341f49 100644 --- a/anda/tools/electron/electron.spec +++ b/anda/tools/electron/electron.spec @@ -1,6 +1,6 @@ Name: electron %electronmeta -Version: 40.8.0 +Version: 42.0.0 Release: 1%{?dist} Summary: Build cross platform desktop apps with web technologies License: %{electron_license} diff --git a/anda/tools/framework-system/framework-system.spec b/anda/tools/framework-system/framework-system.spec index 8f642e35c1..c5c2a0da03 100644 --- a/anda/tools/framework-system/framework-system.spec +++ b/anda/tools/framework-system/framework-system.spec @@ -1,5 +1,5 @@ Name: framework-system -Version: 0.6.1 +Version: 0.6.3 Release: 1%{?dist} Summary: Rust libraries and tools to interact with the Framework Computer systems URL: https://github.com/FrameworkComputer/framework-system @@ -12,7 +12,6 @@ BuildRequires: rust-udev-devel BuildRequires: rust BuildRequires: systemd-devel BuildRequires: hidapi-devel -Requires: rustup Provides: framework_tool ExclusiveArch: x86_64 @@ -32,8 +31,8 @@ Packager: Owen Zimmerman %install install -Dm755 target/rpm/framework_tool %{buildroot}%{_bindir}/framework_tool -install -Dm 644 completions/bash/framework_tool %{buildroot}%{bash_completions_dir}/framework_tool.bash -install -Dm 644 completions/zsh/_framework_tool %{buildroot}%{zsh_completions_dir}/_framework_tool +install -Dm 644 framework_tool/completions/bash/framework_tool %{buildroot}%{bash_completions_dir}/framework_tool.bash +install -Dm 644 framework_tool/completions/zsh/_framework_tool %{buildroot}%{zsh_completions_dir}/_framework_tool %{cargo_license_online} > LICENSE.dependencies %files diff --git a/anda/tools/fzy/anda.hcl b/anda/tools/fzy/anda.hcl new file mode 100644 index 0000000000..05c623bca8 --- /dev/null +++ b/anda/tools/fzy/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "fzy.spec" + } +} diff --git a/anda/tools/fzy/fzy.spec b/anda/tools/fzy/fzy.spec new file mode 100644 index 0000000000..4a58ee8dde --- /dev/null +++ b/anda/tools/fzy/fzy.spec @@ -0,0 +1,39 @@ +%global forgeurl https://github.com/jhawthorn/fzy +Version: 1.1 +%forgemeta + +Name: fzy +Release: 1%{?dist} +Summary: A fast, simple fuzzy text selector for the terminal + +License: MIT +URL: %{forgeurl} +Source0: %{forgesource} + +Packager: metcya + +BuildRequires: gcc +BuildRequires: make + +%description +fzy is a fast, simple fuzzy text selector for the terminal with an advanced +scoring algorithm. + +%prep +%forgeautosetup + +%build +%make_build + +%install +%make_install BINDIR="%{_bindir}" MANDIR="%{_mandir}" + +%files +%license LICENSE +%doc README.md ALGORITHM.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* + +%changelog +* Mon Mar 23 2026 metcya +- Initial package diff --git a/anda/tools/fzy/update.rhai b/anda/tools/fzy/update.rhai new file mode 100644 index 0000000000..d1f92a1a15 --- /dev/null +++ b/anda/tools/fzy/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("jhawthorn/fzy")); diff --git a/anda/tools/gcm-core/gcm-core.spec b/anda/tools/gcm-core/gcm-core.spec index dac2dd82e0..cd4f0a9ee4 100644 --- a/anda/tools/gcm-core/gcm-core.spec +++ b/anda/tools/gcm-core/gcm-core.spec @@ -6,9 +6,9 @@ %global forgeurl https://github.com/git-ecosystem/git-credential-manager Name: gcm-core -Version: 2.7.0 +Version: 2.7.3 -Release: 1%?dist +Release: 1%{?dist} Summary: Secure, cross-platform Git credential storage %forgemeta diff --git a/anda/tools/gf/gf.spec b/anda/tools/gf/gf.spec index 6df006f1df..c51777c5d8 100644 --- a/anda/tools/gf/gf.spec +++ b/anda/tools/gf/gf.spec @@ -1,6 +1,6 @@ %global forgeurl https://github.com/nakst/gf -%global commit 9a5dbcc90dc9ca9580f6ce2854cd67e2e507b0c1 +%global commit 46174e9b25850c9898ca0c2de90af31ad83122d7 %global shortcommit %{sub %{commit} 0 7} %global commitdate 20251231 diff --git a/anda/tools/glasgow/glasgow.spec b/anda/tools/glasgow/glasgow.spec index fc832a2b3a..38493d8f46 100644 --- a/anda/tools/glasgow/glasgow.spec +++ b/anda/tools/glasgow/glasgow.spec @@ -1,5 +1,5 @@ -%global commit 6d36d2a4f9c9c246035620e4fb16a58aa0bef6af -%global commit_date 20260303 +%global commit 355715ce94c8fd9982d4a2c1e47f267503a5a769 +%global commit_date 20260426 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global pypi_name glasgow @@ -10,7 +10,7 @@ Name: python-%{pypi_name} Version: 0~%{commit_date}git.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Scots Army Knife for electronics License: 0BSD AND Apache-2.0 URL: https://github.com/GlasgowEmbedded/glasgow diff --git a/anda/tools/glasgow/remove-dep-versions.patch b/anda/tools/glasgow/remove-dep-versions.patch index e85cd35979..720699c607 100644 --- a/anda/tools/glasgow/remove-dep-versions.patch +++ b/anda/tools/glasgow/remove-dep-versions.patch @@ -1,8 +1,8 @@ diff --git a/software/pyproject.toml b/software/pyproject.toml -index b2280cc8..6d5f8f68 100644 +index 3ecbad5f..06ea059e 100644 --- a/software/pyproject.toml +++ b/software/pyproject.toml -@@ -29,32 +29,32 @@ requires-python = ">=3.13, <4" +@@ -29,34 +29,34 @@ requires-python = ">=3.13, <4" dependencies = [ # We use `typing` features not available in the lowest Python version we support. The library # `typing_extensions` provides shims for such features. It uses SemVer. @@ -39,6 +39,9 @@ index b2280cc8..6d5f8f68 100644 # Amaranth, and the version range here must be compatible with Amaranth's. - "pyvcd>=0.4.1,<0.5", + "pyvcd", + # `enum-tools` is used for documenting enums. It is unclear which versioning scheme it uses. +- "enum-tools==0.13.0", ++ "enum-tools", # `importlib_resources` is used to shim over Python API incompatibilities. It uses SemVer. - "importlib_resources~=6.5.2", + "importlib_resources", diff --git a/anda/tools/graftcp/nightly/graftcp-nightly.spec b/anda/tools/graftcp/nightly/graftcp-nightly.spec index fc8500590f..8b6668a565 100644 --- a/anda/tools/graftcp/nightly/graftcp-nightly.spec +++ b/anda/tools/graftcp/nightly/graftcp-nightly.spec @@ -1,5 +1,5 @@ -%global commit ed57ff8136d4f86c1de6bb17e176f31852e26c44 -%global commit_date 20260308 +%global commit 6b8e7e659fa39b9396a54f8bf94e9c51c2f58564 +%global commit_date 20260403 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: graftcp-nightly diff --git a/anda/tools/java-binfmt/java-binfmt.spec b/anda/tools/java-binfmt/java-binfmt.spec index b23eb5d12a..66731a815d 100644 --- a/anda/tools/java-binfmt/java-binfmt.spec +++ b/anda/tools/java-binfmt/java-binfmt.spec @@ -1,11 +1,11 @@ -%global commit 4bbeadf096d853ef36155e725020d99c2add14cd +%global commit e12372ea5776a0e0a8acee3ea1e56f0f81c56fca %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20260127 +%global commit_date 20260330 %global _binfmtdir %{_exec_prefix}/lib/binfmt.d Name: java-binfmt Version: 1.0.0^%{commit_date}git%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: Binfmt wrappers and utilities for Java and Jar files. ### License for the C file used in the binary. License: GPL-2.0-or-later diff --git a/anda/tools/jujutsu/jujutsu.spec b/anda/tools/jujutsu/jujutsu.spec index 128ee899f1..4d75d3a167 100644 --- a/anda/tools/jujutsu/jujutsu.spec +++ b/anda/tools/jujutsu/jujutsu.spec @@ -4,8 +4,8 @@ %global __brp_mangle_shebangs %{nil} Name: jujutsu -Version: 0.39.0 -Release: 1%?dist +Version: 0.41.0 +Release: 1%{?dist} Summary: Git-compatible DVCS that is both simple and powerful License: Apache-2.0 AND CC-BY-4.0 URL: https://www.jj-vcs.dev/latest/ diff --git a/anda/tools/kittyCAD-cli/anda.hcl b/anda/tools/kittyCAD-cli/anda.hcl new file mode 100644 index 0000000000..ffb9e0800d --- /dev/null +++ b/anda/tools/kittyCAD-cli/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "kittyCAD-cli.spec" + } +} diff --git a/anda/tools/kittyCAD-cli/kittyCAD-cli.spec b/anda/tools/kittyCAD-cli/kittyCAD-cli.spec new file mode 100644 index 0000000000..3804e38624 --- /dev/null +++ b/anda/tools/kittyCAD-cli/kittyCAD-cli.spec @@ -0,0 +1,37 @@ +%undefine __brp_mangle_shebangs + +Name: kittyCAD-cli +Version: 0.2.163 +Release: 1%{?dist} +Summary: The Zoo command line tool for KittyCAD +URL: https://github.com/KittyCAD/cli +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +License: MIT AND ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) AND NCSA) AND ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND 0BSD AND Apache-2.0 AND ISC AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception AND MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Apache-2.0) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause) AND (BSD-3-Clause AND MIT) AND (BSD-3-Clause OR Apache-2.0) AND (BSD-3-Clause OR MIT) AND BSD-3-Clause AND (CC0-1.0 OR Apache-2.0) AND CDLA-Permissive-2.0 AND EPL-2.0 AND ISC AND LGPL-3.0-or-later AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (MPL-2.0 OR MIT OR Apache-2.0) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib +BuildRequires: cargo-rpm-macros + +Provides: kittycad-cli +Packager: Its-J + +%description +%{summary}. + +%prep +%autosetup -n cli-%{version} +%cargo_prep_online + +%build +%cargo_build + +%install +install -Dm 755 target/release/zoo %{buildroot}%{_bindir}/zoo +%{cargo_license_online} > LICENSE.dependencies + +%files +%{_bindir}/zoo +%license LICENSE +%license LICENSE.dependencies +%doc README.md + +%changelog +* Thu Apr 30 2026 Its-J +- Package KittyCAD CLI diff --git a/anda/tools/kittyCAD-cli/update.rhai b/anda/tools/kittyCAD-cli/update.rhai new file mode 100644 index 0000000000..720ff7f810 --- /dev/null +++ b/anda/tools/kittyCAD-cli/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("KittyCAD/cli")); diff --git a/anda/tools/modern-colorthief/modern-colorthief.spec b/anda/tools/modern-colorthief/modern-colorthief.spec index 04bfe8beff..888d214e96 100644 --- a/anda/tools/modern-colorthief/modern-colorthief.spec +++ b/anda/tools/modern-colorthief/modern-colorthief.spec @@ -1,12 +1,11 @@ %global pypi_name modern_colorthief %bcond bootstrap 0 %bcond docs %{without bootstrap} -%bcond test %{without bootstrap} # The srcrpm is not prefixed with Python because the source is mostly Rust Name: modern-colorthief -Version: 0.1.12 -Release: 1%?dist +Version: 0.2.0 +Release: 1%{?dist} Summary: ColorThief reimagined SourceLicense: MIT License: (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0) AND (MIT OR Apache-2.0 OR NCSA) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) @@ -27,15 +26,6 @@ BuildRequires: python3dist(myst-parser) BuildRequires: python3dist(shibuya) BuildRequires: python3dist(sphinx) %endif -%if %{with test} -%if 0%{?fedora} > 40 -BuildRequires: poetry -BuildRequires: python3dist(poetry) -%endif -BuildRequires: python3dist(colorthief) -BuildRequires: python3dist(fast-colorthief) -BuildRequires: python3dist(pytest) -%endif %description Colorthief but with modern code. @@ -78,25 +68,13 @@ done %{cargo_license_online} > LICENSE.dependencies -%if %{with test} -%check -# Poetry doesn't exist on EL and is too old on 40 -%if 0%{?fedora} <= 40 || 0%{?rhel} -%pytest tests/*.py -%else -# This is in the wrong spot in pyproject.toml and Poetry hates it -# May seem like defeating the purpose of testing but the other tests can be useful -sed -iE 's/python = ">=3.9,<3.14"//' pyproject.toml -poetry run pytest -%endif -%endif - %files -n python3-%{name} %doc DIFFERENCES.md %doc PKG-INFO %doc README.md %license LICENSE %license LICENSE.dependencies +%{_bindir}/%{name} %{python3_sitearch}/%{pypi_name} %{python3_sitearch}/%{pypi_name}-%{version}.dist-info/ diff --git a/anda/tools/natscli/natscli.spec b/anda/tools/natscli/natscli.spec index cf1b5ec704..d3362d7f73 100644 --- a/anda/tools/natscli/natscli.spec +++ b/anda/tools/natscli/natscli.spec @@ -1,14 +1,14 @@ # https://github.com/nats-io/natscli %global goipath github.com/nats-io/natscli -%global commit f312d18efbeab9f8e3455895cab064970e537c71 -%global commit_date 20260228 +%global commit a4f75f973158f1d6feac85ad207c4f48f84bf4e2 +%global commit_date 20260506 %global shortcommit %{sub %{commit} 1 7} %gometa -f Name: natscli Version: 0~%{commit_date}git.%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: The NATS Command Line Interface License: Apache-2.0 @@ -38,7 +38,7 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %files %license LICENSE -%doc README.md AUTH.md LOCAL_DEVELOPMENT.md cli/cheats/* +%doc README.md AUTH.md CODE-OF-CONDUCT.md GOVERNANCE.md cli/cheats/* %{_bindir}/nats %changelog diff --git a/anda/tools/nerdfetch/nerdfetch-tools.spec b/anda/tools/nerdfetch/nerdfetch-tools.spec index 63abb15318..8de5876815 100644 --- a/anda/tools/nerdfetch/nerdfetch-tools.spec +++ b/anda/tools/nerdfetch/nerdfetch-tools.spec @@ -1,6 +1,6 @@ Name: nerdfetch -Version: 8.5.2 -Release: 1%?dist +Version: 8.5.4 +Release: 1%{?dist} Summary: A POSIX *nix fetch script using Nerdfonts License: MIT diff --git a/anda/tools/nvidia/cuda-crt/cuda-crt.spec b/anda/tools/nvidia/cuda-crt/cuda-crt.spec index f9f9912972..4144c13685 100644 --- a/anda/tools/nvidia/cuda-crt/cuda-crt.spec +++ b/anda/tools/nvidia/cuda-crt/cuda-crt.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA crt License: CUDA Toolkit diff --git a/anda/tools/nvidia/cuda-ctadvisor/cuda-ctadvisor.spec b/anda/tools/nvidia/cuda-ctadvisor/cuda-ctadvisor.spec index 7398202256..4ad9823399 100644 --- a/anda/tools/nvidia/cuda-ctadvisor/cuda-ctadvisor.spec +++ b/anda/tools/nvidia/cuda-ctadvisor/cuda-ctadvisor.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA ctadvisor License: CUDA Toolkit diff --git a/anda/tools/nvidia/cuda-nvcc/cuda-nvcc.spec b/anda/tools/nvidia/cuda-nvcc/cuda-nvcc.spec index 494f8e685f..48b391c023 100644 --- a/anda/tools/nvidia/cuda-nvcc/cuda-nvcc.spec +++ b/anda/tools/nvidia/cuda-nvcc/cuda-nvcc.spec @@ -8,7 +8,7 @@ Name: %(echo %real_name | tr '_' '-') Epoch: 1 -Version: 13.2.51 +Version: 13.2.78 Release: 1%{?dist} Summary: CUDA Compiler (NVCC) License: CUDA Toolkit diff --git a/anda/tools/praat/praat.spec b/anda/tools/praat/praat.spec index 42b9707532..2af981aab2 100644 --- a/anda/tools/praat/praat.spec +++ b/anda/tools/praat/praat.spec @@ -4,8 +4,8 @@ %global org "org.praat" Name: praat -Version: 6.4.61 -Release: 1%?dist +Version: 6.4.65 +Release: 1%{?dist} URL: https://www.praat.org Source0: https://github.com/praat/praat.github.io/archive/refs/tags/v%{version}.tar.gz Source1: %appid.metainfo.xml diff --git a/anda/tools/proton-vpn-cli/proton-vpn-cli.spec b/anda/tools/proton-vpn-cli/proton-vpn-cli.spec index 64de9d06b0..0d509027bf 100644 --- a/anda/tools/proton-vpn-cli/proton-vpn-cli.spec +++ b/anda/tools/proton-vpn-cli/proton-vpn-cli.spec @@ -3,8 +3,8 @@ %global __requires_exclude ^python3\\.14dist\\(proton-vpn-local-agent\\)$ Name: python-proton-vpn-cli -Version: 0.1.6 -Release: 1%?dist +Version: 1.0.1 +Release: 1%{?dist} Summary: Official ProtonVPN CLI Linux app License: GPL-3.0-only URL: https://github.com/ProtonVPN/proton-vpn-cli diff --git a/anda/tools/qdl/qdl.spec b/anda/tools/qdl/qdl.spec index 7ab1f65e34..cc971a3cd1 100644 --- a/anda/tools/qdl/qdl.spec +++ b/anda/tools/qdl/qdl.spec @@ -1,6 +1,6 @@ Name: qdl -Version: 2.5 -Release: 1%?dist +Version: 2.6 +Release: 1%{?dist} Summary: This tool communicates with USB devices of id 05c6:9008 to upload a flash loader and use this to flash images URL: https://github.com/linux-msm/qdl Source0: %url/archive/refs/tags/v%version.tar.gz diff --git a/anda/tools/rpi-utils/rpi-utils.spec b/anda/tools/rpi-utils/rpi-utils.spec index 1c197d41d7..3564c15007 100644 --- a/anda/tools/rpi-utils/rpi-utils.spec +++ b/anda/tools/rpi-utils/rpi-utils.spec @@ -1,10 +1,10 @@ -%global commit 216e2d3045e9343e894e6445c5ae122aa7752584 -%global commit_date 20260305 +%global commit ab0de6af57fbbbc47aed976425d0ed7b9d85e47a +%global commit_date 20260429 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: rpi-utils Version: %{commit_date}.%{shortcommit} -Release: 1%?dist +Release: 1%{?dist} Summary: A collection of scripts and simple applications for Raspberry Pi devices License: BSD-3-Clause URL: https://github.com/raspberrypi/utils diff --git a/anda/tools/sops/sops.spec b/anda/tools/sops/sops.spec index 2048865b00..41d0ac6df6 100644 --- a/anda/tools/sops/sops.spec +++ b/anda/tools/sops/sops.spec @@ -1,7 +1,7 @@ %define debug_package %nil Name: sops -Version: 3.12.1 -Release: 1%?dist +Version: 3.12.2 +Release: 1%{?dist} Summary: Simple and flexible tool for managing secrets License: MPL-2.0 URL: https://github.com/getsops/sops diff --git a/anda/tools/spotx-bash/spotx-bash.spec b/anda/tools/spotx-bash/spotx-bash.spec index f22985006d..e97321bf5f 100644 --- a/anda/tools/spotx-bash/spotx-bash.spec +++ b/anda/tools/spotx-bash/spotx-bash.spec @@ -1,10 +1,10 @@ -%global commit 496309d7ca789c7e24c87f12f081d80ced115d48 -%global commit_date 20260226 +%global commit c9b506c7749f853c827b6d4bd1d57818f953f68d +%global commit_date 20260425 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: spotx-bash Version: %commit_date.git~%shortcommit -Release: 1%?dist +Release: 1%{?dist} Summary: Adblock for the Spotify desktop client on Linux. License: MIT URL: https://github.com/SpotX-Official/SpotX-Bash @@ -12,6 +12,7 @@ Source0: %url/archive/%commit.tar.gz Requires: bash BuildArch: noarch Provides: spotx spotx-linux spot-x spotx.sh +Packager: Its-J %description %summary @@ -31,5 +32,8 @@ install -Dm 755 spotx.sh %{buildroot}%{_bindir}/spotx %{_bindir}/spotx %changelog -* Sat Dec 14 2024 Its-J +* Tue Apr 14 2026 Its-J +- Add email to my previous contributor attributions + +* Sat Dec 14 2024 Its-J - Package SpotX-Bash diff --git a/anda/tools/stremio-service/stremio-service.spec b/anda/tools/stremio-service/stremio-service.spec index 735f518570..3a70d8bebe 100644 --- a/anda/tools/stremio-service/stremio-service.spec +++ b/anda/tools/stremio-service/stremio-service.spec @@ -1,6 +1,6 @@ Name: stremio-service -Version: 0.1.18 -Release: 1%?dist +Version: 0.1.21 +Release: 1%{?dist} Summary: Lets you run Stremio server in the background License: GPL-2.0-only AND MPL-2.0 AND (Apache-2.0 OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (Unlicense OR MIT) AND Unicode-3.0 AND (0BSD OR MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND CC0-1.0 AND ISC AND MIT AND (BSD-3-Clause OR MIT OR Apache-2.0) AND Apache-2.0 AND MIT AND (Apache-2.0 OR BSL-1.0) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) URL: https://github.com/Stremio/stremio-service diff --git a/anda/tools/buildsys/subatomic/anda.hcl b/anda/tools/subatomic/anda.hcl similarity index 100% rename from anda/tools/buildsys/subatomic/anda.hcl rename to anda/tools/subatomic/anda.hcl diff --git a/anda/tools/buildsys/subatomic/subatomic.spec b/anda/tools/subatomic/subatomic.spec similarity index 100% rename from anda/tools/buildsys/subatomic/subatomic.spec rename to anda/tools/subatomic/subatomic.spec diff --git a/anda/tools/buildsys/subatomic/update.rhai b/anda/tools/subatomic/update.rhai similarity index 100% rename from anda/tools/buildsys/subatomic/update.rhai rename to anda/tools/subatomic/update.rhai diff --git a/anda/tools/surge/surge.spec b/anda/tools/surge/surge.spec index ed1e95b4f1..11f10e7b23 100644 --- a/anda/tools/surge/surge.spec +++ b/anda/tools/surge/surge.spec @@ -1,10 +1,10 @@ %global goipath github.com/surge-downloader/surge -Version: 0.6.10 +Version: 0.8.5 %gometa Name: surge -Release: 1%?dist +Release: 1%{?dist} Summary: Blazing fast TUI download manager built in Go for power users License: MIT diff --git a/anda/tools/tauri/tauri.spec b/anda/tools/tauri/tauri.spec index 16966156e1..2667bbc8a3 100644 --- a/anda/tools/tauri/tauri.spec +++ b/anda/tools/tauri/tauri.spec @@ -2,8 +2,8 @@ %undefine __brp_mangle_shebangs Name: rust-tauri -Version: 2.10.1 -Release: 1%?dist +Version: 2.11.1 +Release: 1%{?dist} Summary: Command line interface for building Tauri apps License: Apache-2.0 OR MIT URL: https://crates.io/crates/create-tauri-app diff --git a/anda/tools/termflix/termflix.spec b/anda/tools/termflix/termflix.spec index 7c75d40de7..4d2ae79f37 100644 --- a/anda/tools/termflix/termflix.spec +++ b/anda/tools/termflix/termflix.spec @@ -1,6 +1,6 @@ Name: termflix -Version: 0.4.2 -Release: 1%?dist +Version: 0.5.1 +Release: 1%{?dist} Summary: Terminal animation player with 43 procedurally generated animations, multiple render modes, and true color support License: MIT AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND MPL-2.0 diff --git a/anda/tools/topgrade/rust-topgrade.spec b/anda/tools/topgrade/rust-topgrade.spec index a6f3b9281f..f048f8163d 100644 --- a/anda/tools/topgrade/rust-topgrade.spec +++ b/anda/tools/topgrade/rust-topgrade.spec @@ -3,7 +3,7 @@ Name: rust-topgrade # renovate: datasource=github-releases depName=topgrade-rs/topgrade -Version: 17.0.0 +Version: 17.4.0 Release: 1%{?dist} Summary: Upgrade all the things diff --git a/anda/tools/typos/typos.spec b/anda/tools/typos/typos.spec index 44c022ca05..c6f89d19f6 100644 --- a/anda/tools/typos/typos.spec +++ b/anda/tools/typos/typos.spec @@ -2,8 +2,8 @@ %define debug_package %{nil} Name: typos -Version: 1.44.0 -Release: 1%?dist +Version: 1.46.0 +Release: 1%{?dist} Summary: Source Code Spelling Correction License: MIT OR Apache-2.0 diff --git a/anda/tools/virtualsmartcard/virtualsmartcard.spec b/anda/tools/virtualsmartcard/virtualsmartcard.spec index 284cf992ac..c41f91667b 100644 --- a/anda/tools/virtualsmartcard/virtualsmartcard.spec +++ b/anda/tools/virtualsmartcard/virtualsmartcard.spec @@ -7,7 +7,7 @@ Source0: https://github.com/frankmorgner/vsmartcard/releases/download/%na License: GPL-3.0-only BuildRequires: pcsc-lite-devel gcc libtool pkg-config qrencode-devel python3-devel help2man -Requires: qrencode-libs python3 +Requires: qrencode-libs Packager: june-fish %description @@ -15,6 +15,8 @@ Virtual Smart Card emulates a smart card and makes it accessible through PC/SC. %prep %autosetup + +%conf autoreconf --verbose --install %configure prefix=NONE pythondir=%{python3_sitelib} bindir=%{_bindir} diff --git a/anda/tools/xcur2png/xcur2png.spec b/anda/tools/xcur2png/xcur2png.spec index 9e125ef91c..40f5483acd 100644 --- a/anda/tools/xcur2png/xcur2png.spec +++ b/anda/tools/xcur2png/xcur2png.spec @@ -20,8 +20,10 @@ xcur2png is a program which let you take PNG image from X cursor, and generate c %prep %autosetup -%build +%conf %configure + +%build %make_build %install diff --git a/anda/tools/yabs/anda.hcl b/anda/tools/yabs/anda.hcl new file mode 100644 index 0000000000..fe046e5f2f --- /dev/null +++ b/anda/tools/yabs/anda.hcl @@ -0,0 +1,6 @@ +project pkg { + arches = ["x86_64"] + rpm { + spec = "yabs.spec" + } +} diff --git a/anda/tools/yabs/update.rhai b/anda/tools/yabs/update.rhai new file mode 100644 index 0000000000..58101f4faa --- /dev/null +++ b/anda/tools/yabs/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("masonr/yet-another-bench-script")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/tools/yabs/yabs.spec b/anda/tools/yabs/yabs.spec new file mode 100644 index 0000000000..ace35373e7 --- /dev/null +++ b/anda/tools/yabs/yabs.spec @@ -0,0 +1,34 @@ +%global commit ba162efb87dd336c1c63853bb2856828b90c79b3 +%global commit_date 20260429 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: yabs +Version: 0~%{commit_date}git.%{shortcommit} +Release: 1%{?dist} +Summary: Simple bash script to estimate Linux server performance using fio, iperf3, & Geekbench +URL: https://github.com/masonr/yet-another-bench-script +Source0: %{url}/archive/%{commit}/yet-another-bench-script-%commit.tar.gz +License: WTFPL +Provides: yet-another-bench-script +Packager: Owen Zimmerman +BuildArch: noarch + +%description +%{summary}. + +%prep +%autosetup -n yet-another-bench-script-%{commit} + +%build + +%install +install -Dm755 yabs.sh %{buildroot}%{_bindir}/yabs + +%files +%doc README.md +%license LICENSE +%{_bindir}/yabs + +%changelog +* Fri Apr 03 2026 Owen Zimmerman +- Initial commit diff --git a/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec b/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec index 2378710ab6..9823c1afa9 100644 --- a/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec +++ b/anda/tools/yt-dlp-ejs/python-yt-dlp-ejs.spec @@ -1,6 +1,6 @@ Name: python-yt-dlp-ejs -Version: 0.5.0 -Release: 1%?dist +Version: 0.8.0 +Release: 1%{?dist} Summary: External JavaScript for yt-dlp supporting many runtimes License: Unlicense AND MIT AND ISC diff --git a/anda/tools/yt-dlp/yt-dlp-git.spec b/anda/tools/yt-dlp/yt-dlp-git.spec index 8fb86223d1..4305e879aa 100644 --- a/anda/tools/yt-dlp/yt-dlp-git.spec +++ b/anda/tools/yt-dlp/yt-dlp-git.spec @@ -2,8 +2,8 @@ %global oldpkgname yt-dlp-nightly Name: yt-dlp-git -Version: 2026.03.03.162040 -Release: 1%?dist +Version: 2026.05.05.225442 +Release: 1%{?dist} Summary: A command-line program to download videos from online video platforms License: Unlicense diff --git a/anda/tools/yubikey-touch-detector/anda.hcl b/anda/tools/yubikey-touch-detector/anda.hcl new file mode 100644 index 0000000000..da4fb1c16c --- /dev/null +++ b/anda/tools/yubikey-touch-detector/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "yubikey-touch-detector.spec" + } +} diff --git a/anda/tools/yubikey-touch-detector/update.rhai b/anda/tools/yubikey-touch-detector/update.rhai new file mode 100644 index 0000000000..daea87d7dc --- /dev/null +++ b/anda/tools/yubikey-touch-detector/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("max-baz/yubikey-touch-detector")); diff --git a/anda/tools/yubikey-touch-detector/yubikey-touch-detector.spec b/anda/tools/yubikey-touch-detector/yubikey-touch-detector.spec new file mode 100644 index 0000000000..b887fc18de --- /dev/null +++ b/anda/tools/yubikey-touch-detector/yubikey-touch-detector.spec @@ -0,0 +1,66 @@ +%global goipath github.com/max-baz/yubikey-touch-detector +Version: 1.13.0 + +%gometa + +Name: yubikey-touch-detector +Release: 1%{?dist} +Summary: A tool to detect when your YubiKey is waiting for a touch + +License: ISC +URL: https://github.com/max-baz/yubikey-touch-detector +Source0: %{url}/archive/refs/tags/%{version}.tar.gz + +Packager: metcya + +BuildRequires: go-rpm-macros +BuildRequires: scdoc +BuildRequires: pkgconfig(gpgme) +BuildRequires: systemd-rpm-macros + +%description +This is a tool that can detect when YubiKey is waiting for your touch. It is +designed to be integrated with other UI components to display a visible +indicator. + +%prep +%goprep + +%build +%global gomodulesmode GO111MODULE=on +%gobuild -o %{name} +scdoc < %{name}.1.scd > %{name}.1 + +%install +install -Dm 755 %{name} %{buildroot}%{_bindir}/%{name} +install -Dm 644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1 +install -Dm 644 %{name}.png %{buildroot}%{_hicolordir}/128x128/apps/%{name}.png +install -Dm 644 %{name}.service %{buildroot}%{_userunitdir}/%{name}.service +install -Dm 644 %{name}.socket %{buildroot}%{_userunitdir}/%{name}.socket +install -Dm 644 service.conf.example %{buildroot}%{_sysconfdir}/%{name}/service.conf + +%preun +%systemd_user_preun %{name}.service +%systemd_user_preun %{name}.socket + +%post +%systemd_user_post %{name}.service +%systemd_user_post %{name}.socket + +%postun +%systemd_user_postun %{name}.service +%systemd_user_postun %{name}.socket + +%files +%license LICENSE +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* +%{_hicolordir}/128x128/apps/%{name}.png +%{_userunitdir}/%{name}.service +%{_userunitdir}/%{name}.socket +%{_sysconfdir}/%{name}/service.conf + +%changelog +* Wed Mar 18 2026 metcya +- Initial package diff --git a/andax/bump_extras.rhai b/andax/bump_extras.rhai index 90ec2e5ee8..63417b27cb 100644 --- a/andax/bump_extras.rhai +++ b/andax/bump_extras.rhai @@ -29,14 +29,6 @@ fn alma(pkg, repo, branch) { return(vr[1]); } -fn codeberg_commit(repo) { - return get(`https://codeberg.org/api/v1/repos/${repo}/commits?stat=false&verification=false&files=false&limit=1`).json_arr()[0].sha; -} - -fn codeberg(repo) { - return get(`https://codeberg.org/api/v1/repos/${repo}/releases/latest`).json().tag_name; -} - fn as_bodhi_ver(branch) { if branch.starts_with("el") { branch.crop(2);