diff --git a/.github/scripts/configure-sccache.js b/.github/scripts/configure-sccache.js new file mode 100644 index 0000000000..53da0201ca --- /dev/null +++ b/.github/scripts/configure-sccache.js @@ -0,0 +1,172 @@ +// Configure sccache environment variables for GitHub Actions cache integration +// +// This script is still unused until we build terra-sccache with this supported, +// Turns out that Fedora's sccache build has the GHA feature support disabled. +// +// Note: ACTIONS_CACHE_SERVICE_V2 and SCCACHE_GHA_ENABLED are set at workflow level +module.exports = async ({ github, context, core, exec }) => { + // Find sccache path (try which command) + let sccachePath = "sccache"; + try { + const result = await exec.getExecOutput("which", ["sccache"], { + ignoreReturnCode: true, + silent: true, + }); + if (result.exitCode === 0 && result.stdout.trim()) { + sccachePath = result.stdout.trim(); + core.info(`Found sccache at: ${sccachePath}`); + } + } catch (e) { + core.debug(`Could not find sccache path: ${e.message}`); + } + + // Check sccache version + try { + const versionResult = await exec.getExecOutput(sccachePath, ["--version"], { + ignoreReturnCode: true, + silent: true, + }); + core.info(`sccache version: ${versionResult.stdout.trim()}`); + } catch (e) { + core.warning(`Could not get sccache version: ${e.message}`); + } + + // Debug: Show what environment variables are available + core.info("=== Environment Variables Diagnostic ==="); + core.info(`SCCACHE_GHA_ENABLED: ${process.env.SCCACHE_GHA_ENABLED}`); + core.info( + `ACTIONS_CACHE_SERVICE_V2: ${process.env.ACTIONS_CACHE_SERVICE_V2}`, + ); + core.info( + `ACTIONS_RESULTS_URL: ${process.env.ACTIONS_RESULTS_URL ? "SET (length: " + process.env.ACTIONS_RESULTS_URL.length + ")" : "NOT SET"}`, + ); + core.info( + `ACTIONS_RUNTIME_TOKEN: ${process.env.ACTIONS_RUNTIME_TOKEN ? "SET (length: " + process.env.ACTIONS_RUNTIME_TOKEN.length + ")" : "NOT SET"}`, + ); + core.info(`RUSTC_WRAPPER: ${process.env.RUSTC_WRAPPER}`); + core.info(`SCCACHE_LOG: ${process.env.SCCACHE_LOG}`); + core.info("========================================"); + + // Export SCCACHE_PATH so it's available to subsequent steps + core.exportVariable("SCCACHE_PATH", sccachePath); + + // Expose the GHA cache related variables to make it easier for users to + // integrate with GHA support (from upstream mozilla/sccache-action) + if (process.env.ACTIONS_RESULTS_URL) { + core.exportVariable("ACTIONS_RESULTS_URL", process.env.ACTIONS_RESULTS_URL); + core.info("✓ Exported ACTIONS_RESULTS_URL"); + } else { + core.error( + "ACTIONS_RESULTS_URL is not set - GitHub Actions cache WILL NOT work", + ); + } + + if (process.env.ACTIONS_RUNTIME_TOKEN) { + core.exportVariable( + "ACTIONS_RUNTIME_TOKEN", + process.env.ACTIONS_RUNTIME_TOKEN, + ); + core.info("✓ Exported ACTIONS_RUNTIME_TOKEN"); + } else { + core.error( + "ACTIONS_RUNTIME_TOKEN is not set - GitHub Actions cache WILL NOT work", + ); + } + + // Set cache version and restore keys for this specific build matrix + if (process.env.SCCACHE_GHA_VERSION) { + core.exportVariable("SCCACHE_GHA_VERSION", process.env.SCCACHE_GHA_VERSION); + } + if (process.env.SCCACHE_GHA_CACHE_FROM) { + core.exportVariable( + "SCCACHE_GHA_CACHE_FROM", + process.env.SCCACHE_GHA_CACHE_FROM, + ); + } + + // Check if cache busting is enabled + const inputs = + (github && + github.context && + github.context.payload && + github.context.payload.inputs) || + {}; + const rawBustCache = + inputs.bust_cache ?? + inputs.bustCache ?? + process.env.INPUT_BUST_CACHE ?? + process.env.BUST_CACHE; + let bustCache = false; + + if (typeof rawBustCache === "string") { + const v = rawBustCache.toLowerCase().trim(); + bustCache = v === "true" || v === "1" || v === "yes"; + } else { + bustCache = !!rawBustCache; + } + + if (bustCache) { + core.exportVariable("SCCACHE_RECACHE", "1"); + core.info("SCCACHE_RECACHE enabled because bust_cache is true"); + } + + // Stop any running sccache daemon so it picks up the new environment variables + core.info("Stopping any running sccache daemon to pick up configuration..."); + try { + await exec.exec(sccachePath, ["--stop-server"], { + ignoreReturnCode: true, + }); + core.info("✓ sccache daemon stopped successfully"); + } catch (e) { + core.debug( + `Could not stop sccache daemon (it may not be running): ${e.message}`, + ); + } + + // Verify sccache can see the GHA environment variables by starting server with explicit env + core.info("Starting sccache server with GHA environment variables..."); + const sccacheEnv = { + ...process.env, + SCCACHE_GHA_ENABLED: process.env.SCCACHE_GHA_ENABLED || "on", + ACTIONS_CACHE_SERVICE_V2: process.env.ACTIONS_CACHE_SERVICE_V2 || "on", + }; + + try { + await exec.exec(sccachePath, ["--start-server"], { + ignoreReturnCode: true, + env: sccacheEnv, + }); + core.info("✓ sccache server started"); + } catch (e) { + core.warning(`Could not start sccache server: ${e.message}`); + } + + // Show the current sccache configuration + core.info("Verifying sccache configuration:"); + try { + const statsResult = await exec.getExecOutput( + sccachePath, + ["--show-stats"], + { + ignoreReturnCode: true, + env: sccacheEnv, + }, + ); + + // Check if it's using GitHub Actions cache + if (statsResult.stdout.includes("GitHub Actions")) { + core.info("✓ sccache is configured to use GitHub Actions cache"); + } else if (statsResult.stdout.includes("Local disk")) { + core.error( + "✗ sccache is using Local disk cache instead of GitHub Actions cache!", + ); + core.error( + "This means SCCACHE_GHA_ENABLED or required env vars are not being recognized.", + ); + core.info("Stats output:"); + core.info(statsResult.stdout); + } + } catch (e) { + core.debug(`Could not show sccache stats: ${e.message}`); + } +}; diff --git a/.github/scripts/sccache-stats.js b/.github/scripts/sccache-stats.js new file mode 100644 index 0000000000..2fcace5e2c --- /dev/null +++ b/.github/scripts/sccache-stats.js @@ -0,0 +1,121 @@ +module.exports = async ({ github, context, core, exec }) => { + if (!exec) { + throw new Error("exec parameter is required but was not provided"); + } + + // Use SCCACHE_PATH if set, otherwise default to 'sccache' (will use PATH) + const sccachePath = process.env.SCCACHE_PATH || "sccache"; + core.debug(`Using sccache path: ${sccachePath}`); + + const percentage = (x, y) => Math.round((x / y) * 100 || 0); + const plural = (count, base, pluralForm = base + "s") => + `${count} ${count === 1 ? base : pluralForm}`; + const sumStats = (stats) => + Object.values(stats.counts).reduce((acc, val) => acc + val, 0); + const formatDuration = (duration) => { + const ms = duration.nanos / 1e6; + return `${duration.secs}s ${ms}ms`; + }; + + const formatJsonStats = (stats) => { + const cacheErrorCount = sumStats(stats.stats.cache_errors); + const cacheHitCount = sumStats(stats.stats.cache_hits); + const cacheMissCount = sumStats(stats.stats.cache_misses); + const totalHits = cacheHitCount + cacheMissCount + cacheErrorCount; + const ratio = percentage(cacheHitCount, totalHits); + + const writeDuration = formatDuration(stats.stats.cache_write_duration); + const readDuration = formatDuration(stats.stats.cache_read_hit_duration); + const compilerDuration = formatDuration( + stats.stats.compiler_write_duration, + ); + + const noticeHit = plural(cacheHitCount, "hit"); + const noticeMiss = plural(cacheMissCount, "miss", "misses"); + const noticeError = plural(cacheErrorCount, "error"); + const notice = `${ratio}% - ${noticeHit}, ${noticeMiss}, ${noticeError}`; + + const table = [ + [{ data: "Cache hit %", header: true }, { data: `${ratio}%` }], + [ + { data: "Cache hits", header: true }, + { data: cacheHitCount.toString() }, + ], + [ + { data: "Cache misses", header: true }, + { data: cacheMissCount.toString() }, + ], + [ + { data: "Cache errors", header: true }, + { data: cacheErrorCount.toString() }, + ], + [ + { data: "Compile requests", header: true }, + { data: stats.stats.compile_requests.toString() }, + ], + [ + { data: "Requests executed", header: true }, + { data: stats.stats.requests_executed.toString() }, + ], + [ + { data: "Cache writes", header: true }, + { data: stats.stats.cache_writes.toString() }, + ], + [ + { data: "Cache write errors", header: true }, + { data: stats.stats.cache_write_errors.toString() }, + ], + [{ data: "Cache write duration", header: true }, { data: writeDuration }], + [ + { data: "Cache read hit duration", header: true }, + { data: readDuration }, + ], + [ + { data: "Compiler write duration", header: true }, + { data: compilerDuration }, + ], + ]; + return { table, notice }; + }; + + const getOutput = async (command, args = []) => { + core.debug(`get_output: ${command} ${args.join(" ")}`); + const output = await exec.getExecOutput(command, args, { + ignoreReturnCode: false, + silent: false, + }); + if (!output.stdout.endsWith("\n")) { + process.stdout.write("\n"); + } + return output.stdout.toString(); + }; + + const humanStats = await core.group("Get human-readable stats", async () => { + return getOutput(sccachePath, ["--show-stats"]); + }); + + const jsonStats = await core.group("Get JSON stats", async () => { + return getOutput(sccachePath, ["--show-stats", "--stats-format=json"]); + }); + + const stats = JSON.parse(jsonStats); + const formattedStats = formatJsonStats(stats); + + core.notice(formattedStats.notice, { + title: `sccache stats - ${context.job}`, + }); + core.info("\nFull human-readable stats:"); + core.info(humanStats); + + core.summary.addHeading("sccache stats", 2); + core.summary.addTable(formattedStats.table); + core.summary.addDetails( + "Full human-readable stats", + "\n\n```\n" + humanStats + "\n```\n\n", + ); + core.summary.addDetails( + "Full JSON Stats", + "\n\n```json\n" + JSON.stringify(stats, null, 2) + "\n```\n\n", + ); + await core.summary.write(); +}; diff --git a/.github/workflows/json-build.yml b/.github/workflows/json-build.yml index 536d2d5d54..2209de25e5 100644 --- a/.github/workflows/json-build.yml +++ b/.github/workflows/json-build.yml @@ -18,6 +18,11 @@ on: required: false type: string default: "" + bust_cache: + description: "Whether to bust the cache" + required: false + type: boolean + default: false workflow_dispatch: inputs: packages: @@ -30,6 +35,12 @@ on: type: boolean default: true +env: + RUSTC_WRAPPER: sccache + # SCCACHE_NO_DAEMON: "1" + # Disable incremental compilation so sccache works better + CARGO_INCREMENTAL: "false" + jobs: build: strategy: @@ -64,6 +75,19 @@ jobs: dir=$(dirname ${{ matrix.pkg.pkg }}) dnf5 builddep -y ${dir}/*.spec + + - name: Run sccache-cache + uses: mozilla-actions/sccache-action@v0.0.9 + + - name: Configure sccache + run: | + set -euo pipefail + echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV + if [ "${{ inputs.bust_cache }}" = "true" ]; then + echo "SCCACHE_BUST_CACHE=true" >> $GITHUB_ENV + fi + + - name: Build with Andaman run: anda build -D "vendor Terra" ${{ matrix.pkg.pkg }} -c terra-${{ matrix.version }}-${{ matrix.pkg.arch }} ${{ !matrix.pkg.labels.mock == '1' && '-rrpmbuild' || '' }} @@ -105,4 +129,4 @@ jobs: run: ./.github/workflows/mg.sh true "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA" - name: Notify Madoguchi (Failure) if: inputs.publish && (cancelled() || failure()) - run: ./.github/workflows/mg.sh false "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA" + run: ./.github/workflows/mg.sh false "${{matrix.pkg.pkg}}" "${{matrix.version}}" "${{matrix.pkg.arch}}" "${{github.run_id}}" "${{secrets.MADOGUCHI_JWT}}" "$GITHUB_SHA" \ No newline at end of file diff --git a/.github/workflows/update-branch.yml b/.github/workflows/update-branch.yml index 2a43172b4e..d671dd6abd 100644 --- a/.github/workflows/update-branch.yml +++ b/.github/workflows/update-branch.yml @@ -13,9 +13,9 @@ jobs: matrix: branch: - frawhide - - f41 - - f42 - f43 + - f42 + - f41 - el10 container: image: ghcr.io/terrapkg/builder:frawhide diff --git a/.github/workflows/update-nightly.yml b/.github/workflows/update-nightly.yml index a9d3bc9e15..5f6187b5c5 100644 --- a/.github/workflows/update-nightly.yml +++ b/.github/workflows/update-nightly.yml @@ -48,9 +48,9 @@ jobs: git add anda git commit -S -a -m "$msg" } - copy_over f41 || true - copy_over f42 || true copy_over f43 || true + copy_over f42 || true + copy_over f41 || true copy_over el10 || true git push -u origin --all fi diff --git a/.github/workflows/update-weekly.yml b/.github/workflows/update-weekly.yml index 379a6e516e..c220cdbb26 100644 --- a/.github/workflows/update-weekly.yml +++ b/.github/workflows/update-weekly.yml @@ -48,9 +48,9 @@ jobs: git add anda git commit -S -a -m "$msg" } - copy_over f41 || true - copy_over f42 || true copy_over f43 || true + copy_over f42 || true + copy_over f41 || true copy_over el10 || true git push -u origin --all fi diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 1e9a115dba..e8944605bb 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -48,9 +48,9 @@ jobs: git add anda git commit -S -a -m "$msg" } - copy_over f41 || true - copy_over f42 || true copy_over f43 || true + copy_over f42 || true + copy_over f41 || true copy_over el10 || true git push -u origin --all fi diff --git a/anda/apps/chdig/chdig.spec b/anda/apps/chdig/chdig.spec index 385f03b62a..351092dbd5 100644 --- a/anda/apps/chdig/chdig.spec +++ b/anda/apps/chdig/chdig.spec @@ -1,7 +1,7 @@ %undefine __brp_mangle_shebangs Name: chdig -Version: 25.11.2 +Version: 25.12.1 Release: 1%?dist Summary: Dig into ClickHouse with TUI interface URL: https://github.com/azat/chdig diff --git a/anda/apps/discord-canary-openasar/discord-canary-openasar.spec b/anda/apps/discord-canary-openasar/discord-canary-openasar.spec index 6140529bd2..0050267cc0 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.813 +Version: 0.0.819 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 60aaf3f03b..dcfee24435 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.813 +Version: 0.0.819 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 710cc871dc..dc38f4f211 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.116 +Version: 0.0.117 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 64c4195c7b..814c3ddee7 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.167 +Version: 0.0.168 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 a55955c747..a5ce35776b 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.167 +Version: 0.0.168 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers. URL: https://discord.com diff --git a/anda/apps/discord/discord.spec b/anda/apps/discord/discord.spec index 42f771afa0..42d9c35ef7 100644 --- a/anda/apps/discord/discord.spec +++ b/anda/apps/discord/discord.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: discord -Version: 0.0.116 +Version: 0.0.117 Release: 1%?dist Summary: Free Voice and Text Chat for Gamers URL: https://discord.com diff --git a/anda/apps/feishin/feishin.spec b/anda/apps/feishin/feishin.spec index a7d90e6248..dae954f73d 100644 --- a/anda/apps/feishin/feishin.spec +++ b/anda/apps/feishin/feishin.spec @@ -6,7 +6,7 @@ %global __provides_exclude_from %{_datadir}/%{name}/.*\\.so Name: feishin -Version: 0.21.2 +Version: 0.22.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 50ce9fb2ed..bb4d0db713 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 0f37bf09972c7e66ed78ad0460d2ebce97b82809 +%global commit 7ed3cfc83eda4bd33f5044041075689bb517a314 %global shortcommit %{sub %{commit} 1 7} -%global commit_date 20251119 +%global commit_date 20251130 %global devel_name QtColorWidgets %global _distro_extra_cflags -fuse-ld=mold %global _distro_extra_cxxflags -fuse-ld=mold diff --git a/anda/apps/goofcord/stable/goofcord.spec b/anda/apps/goofcord/stable/goofcord.spec index 61975f712c..af2943c490 100644 --- a/anda/apps/goofcord/stable/goofcord.spec +++ b/anda/apps/goofcord/stable/goofcord.spec @@ -9,7 +9,7 @@ %endif Name: goofcord -Version: 1.11.1.beta.1 +Version: 1.11.2 Release: 1%?dist License: OSL-3.0 Summary: A privacy-minded Legcord fork. diff --git a/anda/apps/halloy/halloy.spec b/anda/apps/halloy/halloy.spec index 205181234a..99fee577d3 100644 --- a/anda/apps/halloy/halloy.spec +++ b/anda/apps/halloy/halloy.spec @@ -4,7 +4,7 @@ %global crate halloy Name: halloy -Version: 2025.11 +Version: 2025.12 Release: 1%?dist Summary: An open-source IRC client written in Rust, with the Iced GUI library Packager: Yoong jin @@ -18,6 +18,7 @@ BuildRequires: alsa-lib-devel BuildRequires: cargo-rpm-macros >= 24 BuildRequires: desktop-file-utils BuildRequires: openssl-devel +BuildRequires: pkgconfig(xcb) %description diff --git a/anda/apps/komikku/komikku.spec b/anda/apps/komikku/komikku.spec index 5ab42a1920..155d9013e0 100644 --- a/anda/apps/komikku/komikku.spec +++ b/anda/apps/komikku/komikku.spec @@ -3,10 +3,10 @@ %global gtk4_version 4.14.4 %global libadwaita_version 1.5.1 %global pure_protobuf_version 2.0.0 -%global raw_ver v1.94.0 +%global raw_ver v1.95.0 Name: komikku -Version: 1.94.0 +Version: 1.95.0 %forgemeta Release: 1%?dist Summary: A manga reader for GNOME diff --git a/anda/apps/mpv/mpv-nightly.spec b/anda/apps/mpv/mpv-nightly.spec index 635767cf31..edeb7a792d 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 8469605191c1fb3c9ebf84617a4b2e2bada357fa +%global commit 72dbcf119a9ed5082be2f226593194e20f611eea %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20251124 +%global commit_date 20251201 %global ver 0.40.0 Name: mpv-nightly @@ -188,7 +188,6 @@ sed -e "s|/usr/local/etc|%{_sysconfdir}/mpv|" -i etc/mpv.conf -Dsdl2-audio=enabled \ -Dsdl2-gamepad=enabled \ -Dsdl2-video=enabled \ - -Dsdl2=enabled \ -Dshaderc=disabled \ -Dsndio=disabled \ -Dspirv-cross=disabled \ diff --git a/anda/apps/rpcc/rpcc.spec b/anda/apps/rpcc/rpcc.spec index 5687f21f1f..5fd146cddf 100644 --- a/anda/apps/rpcc/rpcc.spec +++ b/anda/apps/rpcc/rpcc.spec @@ -1,5 +1,5 @@ -%global commit 6ae576bee3ca42f0aea597e76d2e0df0e1184bad -%global commit_date 20251030 +%global commit 9527e92f697ad380ce8669a2b6c61260abafab19 +%global commit_date 20251126 %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: rpcc diff --git a/anda/apps/rpinters/anda.hcl b/anda/apps/rpinters/anda.hcl new file mode 100644 index 0000000000..17deb0a98d --- /dev/null +++ b/anda/apps/rpinters/anda.hcl @@ -0,0 +1,8 @@ +project pkg { + rpm { + spec = "rpinters.spec" + } + labels { + nightly = 1 + } +} diff --git a/anda/apps/rpinters/rpinters.spec b/anda/apps/rpinters/rpinters.spec new file mode 100644 index 0000000000..02698a7eb1 --- /dev/null +++ b/anda/apps/rpinters/rpinters.spec @@ -0,0 +1,45 @@ +%global commit 1815ad67432803843058a3cf7eefbf376e9c02c9 +%global commit_date 20251029 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) + +Name: rpinters +Version: 0~%commit_date.git~%shortcommit +Release: 1%?dist +Summary: Raspberry Pi printing utility module +License: GPL-2+ AND BSD-3-Clause +URL: https://github.com/raspberrypi-ui/rpinters +Source0: %url/archive/%commit.tar.gz +Packager: Owen Zimmerman + +BuildRequires: meson +BuildRequires: ninja-build +BuildRequires: gcc +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(smbclient) +BuildRequires: pkgconfig(cups) +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(gsettings-desktop-schemas) + +%description +%summary. + +%prep +%autosetup -n rpinters-%commit + +%build +%meson +%meson_build + +%install +%meson_install +%find_lang rpcc_%{name} + +%files -f rpcc_%{name}.lang +%doc README +%license debian/copyright +%{_datadir}/rpcc/ui/%{name}.ui +%{_libdir}/rpcc/librpcc_rpinters.so + +%changelog +* Fri Aug 08 2025 Owen Zimmerman +- Package bookshelf diff --git a/anda/apps/rpinters/update.rhai b/anda/apps/rpinters/update.rhai new file mode 100644 index 0000000000..63503e23a4 --- /dev/null +++ b/anda/apps/rpinters/update.rhai @@ -0,0 +1,5 @@ +rpm.global("commit", gh_commit("raspberrypi-ui/rpinters")); +if rpm.changed() { + rpm.release(); + rpm.global("commit_date", date()); +} diff --git a/anda/apps/ruffle/ruffle-nightly.spec b/anda/apps/ruffle/ruffle-nightly.spec index 1e13d3c767..979201dd71 100644 --- a/anda/apps/ruffle/ruffle-nightly.spec +++ b/anda/apps/ruffle/ruffle-nightly.spec @@ -1,4 +1,4 @@ -%global ver 2025-11-22 +%global ver 2025-12-03 %global goodver %(echo %ver | sed 's/-//g') %global __brp_mangle_shebangs %{nil} %bcond_without mold diff --git a/anda/apps/signal-desktop/signal-desktop.spec b/anda/apps/signal-desktop/signal-desktop.spec index b1a9676aec..8b6b8d4994 100644 --- a/anda/apps/signal-desktop/signal-desktop.spec +++ b/anda/apps/signal-desktop/signal-desktop.spec @@ -15,7 +15,7 @@ %endif Name: signal-desktop -Version: 7.80.0 +Version: 7.80.1 Release: 1%?dist Summary: A private messenger for Windows, macOS, and Linux URL: https://signal.org diff --git a/anda/apps/throne/throne.spec b/anda/apps/throne/throne.spec index 8abc31710c..20bc68a844 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.0.9 +Version: 1.0.11 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/desktops/gnome/gnome-shell/gnome-shell.spec b/anda/desktops/gnome/gnome-shell/gnome-shell.spec index 6ca63862bd..27ef4e6457 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 1 +%global minor_version 2 %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 e6f2fd3d63..8c1b620524 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.10.3 +%global ver 0.10.4 -%global commit 96df6f6535f80fa66b9412d9cef4dcebba012b8f -%global commit_date 20251124 +%global commit 2f2413801beee37303913fc3c964bbe92252a963 +%global commit_date 20251202 %global shortcommit %{sub %commit 1 7} Name: %realname.nightly 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 f9b0f543ae..6e340ad42c 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 54e10292fdecc42d2f5b296209d5b67f8ae90423 +%global commit 4652fb4fb04569bea5102e9e52c23ca66a131435 %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 89e4666c5b..99ff5da02e 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 4111d119b21d58754f8b4bcaa7665cab7263be00 +%global commit 4789df7ca73f4d945279d6c28dab8c5efbac4b18 %forgemeta Name: lomiri-ui-toolkit -Version: 1.3.5110 -Release: 2%?dist +Version: 1.3.5900 +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/mangowc/mangowc.spec b/anda/desktops/mangowc/mangowc.spec index 85c78a554f..921f9636d9 100644 --- a/anda/desktops/mangowc/mangowc.spec +++ b/anda/desktops/mangowc/mangowc.spec @@ -1,5 +1,5 @@ Name: mangowc -Version: 0.10.5 +Version: 0.10.7 Release: 1%?dist Summary: wayland compositor base wlroots and scenefx (dwm but wayland) License: GPL-3.0 diff --git a/anda/desktops/waylands/matugen/rust-matugen.spec b/anda/desktops/waylands/matugen/rust-matugen.spec index d662ac89c4..bc6a69ff26 100644 --- a/anda/desktops/waylands/matugen/rust-matugen.spec +++ b/anda/desktops/waylands/matugen/rust-matugen.spec @@ -2,7 +2,7 @@ %global crate matugen Name: rust-matugen -Version: 3.0.0 +Version: 3.1.0 Release: 1%?dist Summary: Material you color generation tool with templates diff --git a/anda/desktops/waylands/walker/walker.spec b/anda/desktops/waylands/walker/walker.spec index e2ec82af73..56f080dd7b 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.11.2 +%global upstream_version v2.11.3 %global ver %{sub %upstream_version 2} Name: walker diff --git a/anda/devs/codium/codium.spec b/anda/devs/codium/codium.spec index 5ce3c0ec04..1d3b0cbdb6 100644 --- a/anda/devs/codium/codium.spec +++ b/anda/devs/codium/codium.spec @@ -12,7 +12,7 @@ %endif Name: codium -Version: 1.106.27818 +Version: 1.106.37943 Release: 1%?dist Summary: Code editing. Redefined. License: MIT diff --git a/anda/devs/deno/land.deno.deno.metainfo.xml b/anda/devs/deno/land.deno.deno.metainfo.xml index c5d0ed7baf..2299102822 100644 --- a/anda/devs/deno/land.deno.deno.metainfo.xml +++ b/anda/devs/deno/land.deno.deno.metainfo.xml @@ -7,6 +7,7 @@ Deno A modern runtime for JavaScript and TypeScript. + https://deno.com/logo.svg

Deno (/ˈdiːnoʊ/, pronounced dee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience. diff --git a/anda/devs/deno/rust-deno.spec b/anda/devs/deno/rust-deno.spec index 69f9c8a002..5beac2feff 100644 --- a/anda/devs/deno/rust-deno.spec +++ b/anda/devs/deno/rust-deno.spec @@ -1,12 +1,13 @@ %undefine __brp_mangle_shebangs # Generated by rust2rpm 27 %bcond check 0 - +%global appid land.deno.deno +%global appstream_component runtime %global crate deno Name: rust-deno Version: 2.5.6 -Release: 2%?dist +Release: 3%?dist Summary: Deno executable License: MIT @@ -44,7 +45,7 @@ License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) %license LICENSE.md %license LICENSE.dependencies %doc README.md -%{_metainfodir}/land.deno.deno.metainfo.xml +%{_metainfodir}/%{appid}.metainfo.xml %{_bindir}/deno %pkg_completion -Bfzn %crate @@ -56,6 +57,7 @@ License: ((Apache-2.0 OR MIT) AND BSD-3-Clause) AND ((MIT OR Apache-2.0) cp %{S:1} . cp %{S:2} gcc + %global __cc %_builddir/%buildsubdir/gcc sed '/\[env\]/a CC="%__cc"' -i .cargo/config @@ -71,4 +73,4 @@ target/rpm/deno completions bash > %buildroot%bash_completions_dir/deno %dnl target/rpm/deno completions elvish > %buildroot%elvish_completions_dir/deno.elv target/rpm/deno completions fish > %buildroot%fish_completions_dir/deno.fish target/rpm/deno completions zsh > %buildroot%zsh_completions_dir/_deno -install -Dm644 %{S:3} -t %buildroot%{_metainfodir} +%terra_appstream -o %{SOURCE3} diff --git a/anda/devs/ghostty/nightly/ghostty-nightly.spec b/anda/devs/ghostty/nightly/ghostty-nightly.spec index f6a2a25be1..528aa81917 100644 --- a/anda/devs/ghostty/nightly/ghostty-nightly.spec +++ b/anda/devs/ghostty/nightly/ghostty-nightly.spec @@ -1,6 +1,6 @@ -%global commit 6b28671eade5d31ef737349cdf53a2e6470a8648 +%global commit b4a48303ed9ea74d326ba450ddf5f1514dca76d0 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global fulldate 2025-11-22 +%global fulldate 2025-12-01 %global commit_date %(echo %{fulldate} | sed 's/-//g') %global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV %global ver 1.3.0 @@ -180,6 +180,19 @@ BuildArch: noarch %description terminfo Ghostty's terminfo. Needed for basic terminal function. +%package -n libghostty-vt-nightly +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. + +%package -n libghostty-vt-nightly-devel +Summary: Development files for libghostty-vt +Requires: libghostty-vt-nightly = %{evr} + +%description -n libghostty-vt-nightly-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 -n %{base_name}-%{ver}-main+%{shortcommit} @@ -240,8 +253,6 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name} %files devel %{_includedir}/ghostty/ -%{_libdir}/libghostty-vt.so -%{_datadir}/pkgconfig/libghostty-vt.pc %files kio %{_datadir}/kio/servicemenus/%{appid}.desktop @@ -279,6 +290,13 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name} %endif %{_datadir}/terminfo/x/xterm-%{base_name} +%files -n libghostty-vt-nightly +%{_libdir}/libghostty-vt.so.* + +%files -n libghostty-vt-nightly-devel +%{_libdir}/libghostty-vt.so +%{_datadir}/pkgconfig/libghostty-vt.pc + %post %systemd_user_post app-%{appid}.service @@ -289,6 +307,8 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name} %systemd_user_postun app-%{appid}.service %changelog +* Sat Nov 29 2025 Gilver E. - 1.3.0~tip^20251128git9baf37a-1 +- Initial libghostty-vt packages * Tue Oct 28 2025 Gilver E. - 1.3.0~tip^20251027gitd40321a-2 - Disabled bundled themes * This is necessary to address licensing issues in the themes repo Ghostty uses diff --git a/anda/devs/micro/micro-nightly.spec b/anda/devs/micro/micro-nightly.spec index ae95a35d42..696ae4e5cf 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 bc5e59c670c6ea971c52a9f60262122bd39eec32 -%global commit_date 20251119 +%global commit_hash 118f5a3e357f026b455fb60a48e124c2ce2910d1 +%global commit_date 20251203 %global shortcommit %{sub %{commit_hash} 1 7} %global ver 2.0.14 diff --git a/anda/devs/yarn-berry/update.rhai b/anda/devs/yarn-berry/update.rhai index 60193b5967..d169d849fa 100644 --- a/anda/devs/yarn-berry/update.rhai +++ b/anda/devs/yarn-berry/update.rhai @@ -1 +1 @@ -rpm.version(find("([\\d.]+)", gh("yarnpkg/berry"), 1)); +rpm.version(npm("@yarnpkg/cli")); diff --git a/anda/devs/yarn-berry/yarnpkg-berry.spec b/anda/devs/yarn-berry/yarnpkg-berry.spec index 9c8c06f80f..eae1642fc2 100644 --- a/anda/devs/yarn-berry/yarnpkg-berry.spec +++ b/anda/devs/yarn-berry/yarnpkg-berry.spec @@ -2,7 +2,7 @@ Name: yarnpkg-berry Version: 4.12.0 -Release: 3%?dist +Release: 4%?dist Summary: Active development version of Yarn License: BSD-2-Clause URL: https://yarnpkg.com @@ -17,7 +17,7 @@ BuildRequires: yarnpkg BuildRequires: %{name} %endif Provides: yarn-berry -Provides: yarnpkg = %{evr} +Conflicts: yarnpkg BuildArch: noarch Packager: Gilver E. diff --git a/anda/devs/zed/nightly/override.xml b/anda/devs/zed/nightly/override.xml new file mode 100644 index 0000000000..0f0e40f8e2 --- /dev/null +++ b/anda/devs/zed/nightly/override.xml @@ -0,0 +1,7 @@ + + + + Zed + dev.zed.Zed + dev.zed.Zed-nightly + diff --git a/anda/devs/zed/nightly/zed-nightly.spec b/anda/devs/zed/nightly/zed-nightly.spec index 8e0f8c95c8..4d093352ea 100644 --- a/anda/devs/zed/nightly/zed-nightly.spec +++ b/anda/devs/zed/nightly/zed-nightly.spec @@ -1,16 +1,22 @@ -%global commit dbcfb48198d80e6b6315dd752466279d2d8ec616 +%global commit 2bf47879dee6dc8c21613b83e058a1dd4b9bde29 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20251124 -%global ver 0.215.0 +%global commit_date 20251203 +%global ver 0.216.0 %bcond_with check +%bcond_with debug_no_build %bcond nightly 1 +%if 0%{?with_debug_no_build} +%global debug_package %{nil} +%endif + # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ %global crate zed -%global app_id dev.zed.Zed-Nightly +%global appid dev.zed.Zed-nightly +%global appstream_component desktop-application %global rustflags_debuginfo 0 @@ -22,6 +28,7 @@ SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later 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 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR 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 (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.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 MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib URL: https://zed.dev/ Source0: https://github.com/zed-industries/zed/archive/%{commit}.tar.gz +Source1: override.xml Conflicts: zed Conflicts: zed-preview @@ -69,9 +76,12 @@ Supplements: (%name unless zfs) %description cli This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead. %files cli +%if %{without debug_no_build} %_bindir/zed -%{_datadir}/applications/%app_id.desktop -%{_metainfodir}/%app_id.metainfo.xml +%endif +%{_datadir}/icons/hicolor/512x512/apps/%appid.png +%{_datadir}/applications/%appid.desktop +%{_metainfodir}/%appid.metainfo.xml %package rename-zeditor Summary: Rename zed to zeditor to prevent collision with zfs @@ -83,21 +93,26 @@ RemovePathPostFixes: .zeditor This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package. The normal package is %name-cli. %files rename-zeditor +%if %{without debug_no_build} %_bindir/zeditor -%_datadir/applications/%app_id.desktop.zeditor -%{_metainfodir}/%app_id.metainfo.xml +%endif +%{_datadir}/icons/hicolor/512x512/apps/%appid.png +%_datadir/applications/%appid.desktop.zeditor +%{_metainfodir}/%appid.metainfo.xml %prep %autosetup -n %{crate}-%{commit} -p1 +%if %{without debug_no_build} %if %{with nightly} %rustup_nightly %endif %cargo_prep_online +%endif export DO_STARTUP_NOTIFY="true" -export APP_ID="%app_id" -export APP_ICON="%app_id" +export APP_ID="%appid" +export APP_ICON="%appid" export APP_NAME="Zed Nightly" export APP_CLI="zed" export APP="%{_libexecdir}/zed-editor" @@ -107,35 +122,40 @@ export ZED_RELEASE_CHANNEL=nightly export BRANDING_LIGHT="#e9aa6a" export BRANDING_DARK="#1a5fb4" -echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in -envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52 +echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in +envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52 sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in" -envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml +envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml %build +%if %{without debug_no_build} export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Nightly from Terra." echo "nightly" > crates/zed/RELEASE_CHANNEL %cargo_build -- --package zed --package cli ALLOW_MISSING_LICENSES=1 script/generate-licenses +%endif %install +%if %{without debug_no_build} install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed %__cargo clean +%endif -install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop -sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor -install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/ -install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/pixmaps/%app_id.png +install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop +sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor +install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/ +install -Dm644 crates/zed/resources/app-icon-nightly.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png -install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml +install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml # The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses # Zed also needs a special approach to fetch the dep licenses +%if %{without debug_no_build} %{__cargo} tree \ -Z avoid-dev-deps \ --workspace \ @@ -148,17 +168,21 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo | sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \ | sort -u \ > LICENSE.dependencies +%endif mv assets/icons/LICENSES LICENSE.icons mv assets/themes/LICENSES LICENSE.themes mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts +%terra_appstream -o %{SOURCE1} %if %{with check} %check -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml -desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop +%if %{without debug_no_build} %cargo_test %endif +%endif %files %doc CODE_OF_CONDUCT.md @@ -166,13 +190,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop %license LICENSE-AGPL %license LICENSE-APACHE %license LICENSE-GPL +%if %{without debug_no_build} %license LICENSE.dependencies +%endif %license LICENSE.fonts %license LICENSE.icons %license LICENSE.themes +%if %{without debug_no_build} %license assets/licenses.md +%endif +%if %{without debug_no_build} %{_libexecdir}/zed-editor -%{_datadir}/pixmaps/%app_id.png +%endif %changelog %autochangelog diff --git a/anda/devs/zed/preview/override.xml b/anda/devs/zed/preview/override.xml new file mode 100644 index 0000000000..ca4f0b51ff --- /dev/null +++ b/anda/devs/zed/preview/override.xml @@ -0,0 +1,6 @@ + + + Zed (Preview) + dev.zed.Zed-preview + dev.zed.Zed-preview + diff --git a/anda/devs/zed/preview/zed-preview.spec b/anda/devs/zed/preview/zed-preview.spec index 57db02fcaf..81cd65130b 100644 --- a/anda/devs/zed/preview/zed-preview.spec +++ b/anda/devs/zed/preview/zed-preview.spec @@ -1,11 +1,17 @@ %bcond_with check +%bcond_with debug_no_build -%global ver 0.214.4-pre +%if 0%{?with_debug_no_build} +%global debug_package %{nil} +%endif + +%global ver 0.216.0-pre # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ %global crate zed -%global app_id dev.zed.Zed-Preview +%global appid dev.zed.Zed-preview +%global appstream_component desktop-application %global rustflags_debuginfo 0 @@ -17,6 +23,7 @@ SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later 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 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR 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 (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.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 MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib URL: https://zed.dev/ Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{ver}.tar.gz +Source1: override.xml Conflicts: zed Conflicts: zed-nightly @@ -61,9 +68,12 @@ Supplements: (%name unless zfs) %description cli This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead. %files cli +%if %{without debug_no_build} %_bindir/zed -%{_datadir}/applications/%app_id.desktop -%{_metainfodir}/%app_id.metainfo.xml +%endif +%{_datadir}/icons/hicolor/512x512/apps/%appid.png +%{_datadir}/applications/%appid.desktop +%{_metainfodir}/%appid.metainfo.xml %package rename-zeditor Summary: Rename zed to zeditor to prevent collision with zfs @@ -75,18 +85,23 @@ RemovePathPostFixes: .zeditor This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package. The normal package is %name-cli. %files rename-zeditor +%if %{without debug_no_build} %_bindir/zeditor -%_datadir/applications/%app_id.desktop.zeditor -%{_metainfodir}/%app_id.metainfo.xml +%endif +%{_datadir}/icons/hicolor/512x512/apps/%appid.png +%_datadir/applications/%appid.desktop.zeditor +%{_metainfodir}/%appid.metainfo.xml %prep %autosetup -n %{crate}-%{ver} -p1 +%if %{without debug_no_build} %cargo_prep_online +%endif export DO_STARTUP_NOTIFY="true" -export APP_ID="%app_id" -export APP_ICON="%app_id" +export APP_ID="%appid" +export APP_ICON="%appid" export APP_NAME="Zed Preview" export APP_CLI="zed" export APP="%{_libexecdir}/zed-editor" @@ -96,35 +111,40 @@ export ZED_RELEASE_CHANNEL=preview export BRANDING_LIGHT="#99c1f1" export BRANDING_DARK="#1a5fb4" -echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in -envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52 +echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in +envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52 sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in" -envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml +envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml %build +%if %{without debug_no_build} export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed Preview from Terra." echo "preview" > crates/zed/RELEASE_CHANNEL %cargo_build -- --package zed --package cli ALLOW_MISSING_LICENSES=1 script/generate-licenses +%endif %install +%if %{without debug_no_build} install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed %__cargo clean +%endif -install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop -sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor -install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/ -install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/pixmaps/%app_id.png +install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop +sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor +install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/ +install -Dm644 crates/zed/resources/app-icon-preview.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png -install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml +install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml # The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses # Zed also needs a special approach to fetch the dep licenses +%if %{without debug_no_build} %{__cargo} tree \ -Z avoid-dev-deps \ --workspace \ @@ -137,17 +157,22 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo | sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \ | sort -u \ > LICENSE.dependencies +%endif mv assets/icons/LICENSES LICENSE.icons mv assets/themes/LICENSES LICENSE.themes mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts +%terra_appstream -o %{SOURCE1} + %if %{with check} %check -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml -desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop +%if %{without debug_no_build} %cargo_test %endif +%endif %files %doc CODE_OF_CONDUCT.md @@ -155,13 +180,18 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop %license LICENSE-AGPL %license LICENSE-APACHE %license LICENSE-GPL +%if %{without debug_no_build} %license LICENSE.dependencies +%endif %license LICENSE.fonts %license LICENSE.icons %license LICENSE.themes +%if %{without debug_no_build} %license assets/licenses.md +%endif +%if %{without debug_no_build} %{_libexecdir}/zed-editor -%{_datadir}/pixmaps/%app_id.png +%endif %changelog %autochangelog diff --git a/anda/devs/zed/stable/override.xml b/anda/devs/zed/stable/override.xml new file mode 100644 index 0000000000..e5fd73a6c1 --- /dev/null +++ b/anda/devs/zed/stable/override.xml @@ -0,0 +1,6 @@ + + + Zed + dev.zed.Zed + dev.zed.Zed + diff --git a/anda/devs/zed/stable/zed.spec b/anda/devs/zed/stable/zed.spec index c5c6bd4e0c..f34a187c14 100644 --- a/anda/devs/zed/stable/zed.spec +++ b/anda/devs/zed/stable/zed.spec @@ -1,21 +1,28 @@ %bcond_with check +%bcond_with debug_no_build + +%if %{with debug_no_build} +%global debug_package %{nil} +%endif # Exclude input files from mangling %global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$ %global crate zed -%global app_id dev.zed.Zed +%global appid dev.zed.Zed +%global appstream_component desktop-application %global rustflags_debuginfo 0 Name: zed -Version: 0.213.7 +Version: 0.215.3 Release: 1%?dist Summary: Zed is a high-performance, multiplayer code editor SourceLicense: AGPL-3.0-only AND Apache-2.0 AND GPL-3.0-or-later 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 AND ISC) AND AGPL.3.0-only AND AGPL-3.0-or-later AND (Apache-2.0 OR BSL-1.0 OR 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 (Apache-2.0 WITH LLVM-exception) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR MIT OR Apache-2.0) AND BSD-2-Clause AND (CC0-1.0 OR Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (CC0-1.0 OR Apache-2.0) AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CC0-1.0 AND GPL-3.0-or-later AND (ISC AND (Apache-2.0 OR ISC) AND OpenSSL) AND (ISC AND (Apache-2.0 OR ISC)) AND ISC AND (MIT AND (MIT OR Apache-2.0)) AND (MIT AND BSD-3-Clause) AND (MIT OR Apache-2.0 OR CC0-1.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 MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Zlib URL: https://zed.dev/ Source0: https://github.com/zed-industries/zed/archive/refs/tags/v%{version}.tar.gz +Source1: override.xml Conflicts: zed-nightly Conflicts: zed-preview @@ -61,9 +68,12 @@ Supplements: (%name unless zfs) %description cli This package provides the /usr/bin/zed binary. If you use zfs, install %name-rename-zeditor instead. %files cli +%if %{without debug_no_build} %_bindir/zed -%{_datadir}/applications/%app_id.desktop -%{_metainfodir}/%app_id.metainfo.xml +%endif +%{_datadir}/icons/hicolor/512x512/apps/%appid.png +%{_datadir}/applications/%appid.desktop +%{_metainfodir}/%appid.metainfo.xml %package rename-zeditor Summary: Rename zed to zeditor to prevent collision with zfs @@ -75,19 +85,23 @@ RemovePathPostFixes: .zeditor This package provides the %_bindir/zeditor binary instead of %_bindir/zed. This avoids conflicts with the zfs package. The normal package is %name-cli. %files rename-zeditor +%if %{without debug_no_build} %_bindir/zeditor -%_datadir/applications/%app_id.desktop.zeditor -%{_metainfodir}/%app_id.metainfo.xml - +%endif +%{_datadir}/icons/hicolor/512x512/apps/%appid.png +%_datadir/applications/%appid.desktop.zeditor +%{_metainfodir}/%appid.metainfo.xml %prep %autosetup -n %{crate}-%{version} -p1 +%if %{without debug_no_build} %cargo_prep_online +%endif export DO_STARTUP_NOTIFY="true" -export APP_ID="%app_id" -export APP_ICON="%app_id" -export APP_NAME="Zed Editor" +export APP_ID="%appid" +export APP_ICON="%appid" +export APP_NAME="Zed" export APP_CLI="zed" export APP="%{_libexecdir}/zed-editor" export APP_ARGS="%U" @@ -96,35 +110,40 @@ export ZED_RELEASE_CHANNEL=stable export BRANDING_LIGHT="#e9aa6a" export BRANDING_DARK="#1a5fb4" -echo "StartupWMClass=$APP_ID" >> crates/zed/resources/zed.desktop.in -envsubst < "crates/zed/resources/zed.desktop.in" > $APP_ID.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52 +echo "StartupWMClass=$appid" >> crates/zed/resources/zed.desktop.in +envsubst < "crates/zed/resources/zed.desktop.in" > %{appid}.desktop # from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=zed-git#n52 sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in" -envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.metainfo.xml +envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml %build +%if %{without debug_no_build} export ZED_UPDATE_EXPLANATION="Run dnf up to update Zed from Terra." echo "stable" > crates/zed/RELEASE_CHANNEL %cargo_build -- --package zed --package cli ALLOW_MISSING_LICENSES=1 script/generate-licenses +%endif %install +%if %{without debug_no_build} install -Dm755 target/rpm/zed %{buildroot}%{_libexecdir}/zed-editor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zeditor install -Dm755 target/rpm/cli %{buildroot}%{_bindir}/zed %__cargo clean +%endif -install -Dm644 %app_id.desktop %{buildroot}%{_datadir}/applications/%app_id.desktop -sed 's/Exec=zed/Exec=zeditor/' %app_id.desktop > %app_id.desktop.zeditor -install -Dm644 %app_id.desktop.zeditor -t %buildroot%_datadir/applications/ -install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/pixmaps/%app_id.png +install -Dm644 %appid.desktop %{buildroot}%{_datadir}/applications/%appid.desktop +sed 's/Exec=zed/Exec=zeditor/' %appid.desktop > %appid.desktop.zeditor +install -Dm644 %appid.desktop.zeditor -t %buildroot%_datadir/applications/ +install -Dm644 crates/zed/resources/app-icon.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%appid.png -install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo.xml +install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml # The license generation script doesn't generate licenses for ALL compiled dependencies, just direct deps of Zed, and it does not "group" licenses # Zed also needs a special approach to fetch the dep licenses +%if %{without debug_no_build} %{__cargo} tree \ -Z avoid-dev-deps \ --workspace \ @@ -137,17 +156,22 @@ install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.metainfo | sed -e '/.*(\*).*/d' -e '/^: pet/ s/./MIT&/' \ | sort -u \ > LICENSE.dependencies +%endif mv assets/icons/LICENSES LICENSE.icons mv assets/themes/LICENSES LICENSE.themes mv assets/fonts/ibm-plex-sans/license.txt LICENSE.fonts +%terra_appstream -o %{SOURCE1} + %if %{with check} %check -appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml -desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%appid.metainfo.xml +desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop +%if %{without debug_no_build} %cargo_test %endif +%endif %files %doc CODE_OF_CONDUCT.md @@ -155,13 +179,17 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop %license LICENSE-AGPL %license LICENSE-APACHE %license LICENSE-GPL +%if %{without debug_no_build} %license LICENSE.dependencies +%license assets/licenses.md +%endif %license LICENSE.fonts %license LICENSE.icons %license LICENSE.themes -%license assets/licenses.md +%if %{without debug_no_build} %{_libexecdir}/zed-editor -%{_datadir}/pixmaps/%app_id.png +%endif + %changelog %autochangelog diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 670ec7b84c..866bb2e1d2 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 8abf5ed7b1f31a89fad1b8d7fb1703639ca08426 +%global commit fbe239eb3d8e4f7cb437cb7f6772b9953efaeec3 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commit_date 20251123 +%global commit_date 20251203 %global snapshot_info %{commit_date}.%{shortcommit} %bcond_without qt6 diff --git a/anda/games/rpcs3/rpcs3.spec b/anda/games/rpcs3/rpcs3.spec index 7af10ca09b..d9c0c06ebd 100644 --- a/anda/games/rpcs3/rpcs3.spec +++ b/anda/games/rpcs3/rpcs3.spec @@ -1,9 +1,8 @@ %global _distro_extra_cflags -Wno-uninitialized %global _distro_extra_cxxflags -include %_includedir/c++/*/cstdint # Define which LLVM/Clang version RPCS3 needs -%if %{?fedora} >= 43 -%global llvm_major 20 -%bcond llvm_compat 1 +%if 0%{?fedora} >= 45 +%global llvm_major 21 %endif # 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} @@ -11,8 +10,8 @@ # Need to get rid of everything Clang can't use and undefine -Wunused-command-line-argument where possible due to the project's build flags %global build_cflags %(echo %{build_cflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument %global build_cxxflags %(echo %{build_cxxflags} | sed 's:-Werror ::g' | sed 's:-Wunused-command-line-argument ::g' | sed 's:-specs\=/usr/lib/rpm/redhat/redhat-annobin-cc1 ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors ::g' | sed 's:-specs=/usr/lib/rpm/redhat/redhat-package-notes ::g') -Wno-unused-command-line-argument -%global commit 5a9083e4fc0bfb73b09c4c436d8f5e78f8c2702a -%global ver 0.0.38-18397 +%global commit e3f5f2d14e44a44eec9f8c0f79f53893ff04fdbc +%global ver 0.0.38-18442 Name: rpcs3 Version: %(echo %{ver} | sed 's/-/^/g') @@ -68,40 +67,35 @@ BuildRequires: qt6-qtbase-private-devel vulkan-devel jack-audio-connection-kit- %build # Looking at the CMakeLists.txt, this is the intended compiler and there are no fixes for GCC on aarch64 -%if %{with llvm_compat} +%if %{defined llvm_major} export LLVM_DIR=%{_libdir}/llvm%{?llvm_major}/%{_lib}/cmake %endif -%cmake -DDISABLE_LTO=TRUE \ - -DZSTD_BUILD_STATIC=ON \ - -DCMAKE_SKIP_RPATH=ON \ - -DBUILD_SHARED_LIBS:BOOL=OFF \ - -DUSE_NATIVE_INSTRUCTIONS=OFF \ - -DCMAKE_C_FLAGS="$CFLAGS" \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ - -DSTATIC_LINK_LLVM=OFF \ - -DUSE_SYSTEM_FAUDIO=ON \ - -DUSE_SDL=ON \ - -DUSE_SYSTEM_SDL=ON \ - -DBUILD_LLVM=OFF \ - -DUSE_PRECOMPILED_HEADERS=OFF \ - -DUSE_DISCORD_RPC=ON \ - -DUSE_SYSTEM_FFMPEG=ON \ - -DUSE_SYSTEM_LIBPNG=ON \ - -DUSE_SYSTEM_ZLIB=ON \ - -DUSE_SYSTEM_OPENCV=ON \ - -DUSE_SYSTEM_CURL=ON \ - -DUSE_SYSTEM_FLATBUFFERS=OFF \ - -DUSE_SYSTEM_PUGIXML=OFF \ - -DUSE_SYSTEM_WOLFSSL=OFF \ -%if %{with llvm_compat} - -DCMAKE_C_COMPILER=clang-%{?llvm_major} \ - -DCMAKE_CXX_COMPILER=clang++-%{?llvm_major} \ -%else - -DCMAKE_C_COMPILER=clang \ - -DCMAKE_CXX_COMPILER=clang++ \ -%endif - -DCMAKE_LINKER=mold \ - -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" \ +%cmake -DDISABLE_LTO=TRUE \ + -DZSTD_BUILD_STATIC=ON \ + -DCMAKE_SKIP_RPATH=ON \ + -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DUSE_NATIVE_INSTRUCTIONS=OFF \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DSTATIC_LINK_LLVM=OFF \ + -DUSE_SYSTEM_FAUDIO=ON \ + -DUSE_SDL=ON \ + -DUSE_SYSTEM_SDL=ON \ + -DBUILD_LLVM=OFF \ + -DUSE_PRECOMPILED_HEADERS=OFF \ + -DUSE_DISCORD_RPC=ON \ + -DUSE_SYSTEM_FFMPEG=ON \ + -DUSE_SYSTEM_LIBPNG=ON \ + -DUSE_SYSTEM_ZLIB=ON \ + -DUSE_SYSTEM_OPENCV=ON \ + -DUSE_SYSTEM_CURL=ON \ + -DUSE_SYSTEM_FLATBUFFERS=OFF \ + -DUSE_SYSTEM_PUGIXML=OFF \ + -DUSE_SYSTEM_WOLFSSL=OFF \ + -DCMAKE_C_COMPILER=clang%{?llvm_major:-%{llvm_major}} \ + -DCMAKE_CXX_COMPILER=clang++%{?llvm_major:-%{llvm_major}} \ + -DCMAKE_LINKER=mold \ + -DCMAKE_SHARED_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" \ -DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold" %cmake_build diff --git a/anda/langs/dart/dart.spec b/anda/langs/dart/dart.spec index 0b0476b3a2..872165b6e3 100644 --- a/anda/langs/dart/dart.spec +++ b/anda/langs/dart/dart.spec @@ -1,7 +1,7 @@ %define debug_package %{nil} Name: dart -Version: 3.10.1 +Version: 3.10.3 Release: 1%?dist Summary: The Dart Language License: BSD-3-Clause diff --git a/anda/langs/go/chezmoi/chezmoi.spec b/anda/langs/go/chezmoi/chezmoi.spec index 5688f29704..2b15e48aeb 100644 --- a/anda/langs/go/chezmoi/chezmoi.spec +++ b/anda/langs/go/chezmoi/chezmoi.spec @@ -4,7 +4,7 @@ # https://github.com/twpayne/chezmoi %global goipath github.com/twpayne/chezmoi -Version: 2.67.0 +Version: 2.67.1 %gometa -f diff --git a/anda/langs/go/gh-act/gh-act.spec b/anda/langs/go/gh-act/gh-act.spec index 0425398cf8..01590e39d1 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.82 +Version: 0.2.83 %gometa -f diff --git a/anda/langs/groovy/groovy-docs/groovy-docs.spec b/anda/langs/groovy/groovy-docs/groovy-docs.spec index 06a0ff32d3..9b2bf66360 100644 --- a/anda/langs/groovy/groovy-docs/groovy-docs.spec +++ b/anda/langs/groovy/groovy-docs/groovy-docs.spec @@ -1,5 +1,5 @@ Name: groovy-docs -Version: 5.0.2 +Version: 5.0.3 Release: 1%?dist Summary: Documentation for the Groovy programming language URL: https://groovy-lang.org/ diff --git a/anda/langs/groovy/groovy.spec b/anda/langs/groovy/groovy.spec index 6a9d3a2a31..32e2abc56c 100644 --- a/anda/langs/groovy/groovy.spec +++ b/anda/langs/groovy/groovy.spec @@ -1,5 +1,5 @@ Name: groovy -Version: 5.0.2 +Version: 5.0.3 Release: 1%?dist Summary: A multi-faceted language for the Java platform BuildArch: noarch diff --git a/anda/langs/nim/nim-nightly/nim-nightly.spec b/anda/langs/nim/nim-nightly/nim-nightly.spec index 45500c872e..1091f86072 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 6543040d40b063ce2c872f582c153c6cff9ef0aa +%global commit 2d0b62aa515c9d1b4132a5c83713d7d1e68840a0 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global ver 2.3.1 -%global commit_date 20251122 +%global commit_date 20251203 %global debug_package %nil Name: nim-nightly diff --git a/anda/langs/python/gay/gay.spec b/anda/langs/python/gay/gay.spec index 6de86d7c54..7003fb1030 100644 --- a/anda/langs/python/gay/gay.spec +++ b/anda/langs/python/gay/gay.spec @@ -7,7 +7,7 @@ Name: python-%{pypi_name} Version: %commit_date.%shortcommit -Release: 1%?dist +Release: 2%?dist Summary: Colour your text / terminal to be more gay License: MIT URL: https://github.com/ms-jpq/gay @@ -44,8 +44,6 @@ Provides: gay %doc README.md %license LICENSE %{_bindir}/gay -%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc -%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc %python3_sitelib/gay-1.3.4.dist-info/* %changelog diff --git a/anda/langs/python/mdtex2html/mdtex2html.spec b/anda/langs/python/mdtex2html/mdtex2html.spec index 5ecab72ff8..92c03668bc 100644 --- a/anda/langs/python/mdtex2html/mdtex2html.spec +++ b/anda/langs/python/mdtex2html/mdtex2html.spec @@ -2,7 +2,7 @@ %global _desc python3-library to convert Markdown with included LaTeX-Formulas to HTML with MathML. Name: python-%{pypi_name} -Version: 1.3.1 +Version: 1.3.2 Release: 1%?dist Summary: python3-library to convert Markdown with included LaTeX-Formulas to HTML with MathML License: LGPL-2.1 diff --git a/anda/langs/python/pgpy13/pgpy13.spec b/anda/langs/python/pgpy13/pgpy13.spec index 678d1f481c..380c345f53 100644 --- a/anda/langs/python/pgpy13/pgpy13.spec +++ b/anda/langs/python/pgpy13/pgpy13.spec @@ -10,7 +10,6 @@ URL: https://github.com/memory/PGPy Source0: https://files.pythonhosted.org/packages/source/P/PGPy13/pgpy13-%{version}.tar.gz BuildArch: noarch -BuildRequires: python3 BuildRequires: python3.10 BuildRequires: python3-build BuildRequires: python3-installer diff --git a/anda/langs/python/pywal16/python-pywal16.spec b/anda/langs/python/pywal16/python-pywal16.spec index 9387e03093..d41f4d0cd1 100644 --- a/anda/langs/python/pywal16/python-pywal16.spec +++ b/anda/langs/python/pywal16/python-pywal16.spec @@ -3,7 +3,7 @@ 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.11 +Version: 3.8.12 Release: 1%?dist Summary: 16 color fork of the original Pywal License: MIT diff --git a/anda/langs/python/types-colorama/types-colorama.spec b/anda/langs/python/types-colorama/types-colorama.spec index 0167686fa9..fa1b9cd97c 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 8c7256c8fdcac67f08db1c22db0776fde6a25349 -%global commit_date 20251124 +%global commit 5e3a96dcaa378d0937134b0fc5ae23fb3928e1f5 +%global commit_date 20251203 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global pypi_name types-colorama diff --git a/anda/langs/rust/koji/rust-koji.spec b/anda/langs/rust/koji/rust-koji.spec index c481ac460c..fcdd00c7b4 100644 --- a/anda/langs/rust/koji/rust-koji.spec +++ b/anda/langs/rust/koji/rust-koji.spec @@ -5,8 +5,8 @@ %global altdiffname cococonscious-%{crate} Name: rust-koji -Version: 3.2.0 -Release: 1%{?dist} +Version: 3.3.1 +Release: 1%?dist Summary: Interactive CLI for creating conventional commits License: MIT diff --git a/anda/langs/rust/television/rust-television.spec b/anda/langs/rust/television/rust-television.spec index d502957305..0502767bc7 100644 --- a/anda/langs/rust/television/rust-television.spec +++ b/anda/langs/rust/television/rust-television.spec @@ -5,7 +5,7 @@ %global crate television Name: rust-television -Version: 0.13.11 +Version: 0.13.12 Release: 1%?dist Summary: Cross-platform, fast and extensible general purpose fuzzy finder TUI diff --git a/anda/langs/rust/typst/rust-typst.spec b/anda/langs/rust/typst/rust-typst.spec index 52f3202f05..07e431057e 100644 --- a/anda/langs/rust/typst/rust-typst.spec +++ b/anda/langs/rust/typst/rust-typst.spec @@ -4,7 +4,7 @@ %global crate typst Name: rust-typst -Version: 0.14.0 +Version: 0.14.1 Release: 1%?dist Summary: New markup-based typesetting system that is powerful and easy to learn diff --git a/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec b/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec index 69dfaf030e..c1741b21ad 100644 --- a/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec +++ b/anda/langs/rust/xwayland-satellite/xwayland-satellite.spec @@ -1,5 +1,5 @@ Name: xwayland-satellite -Version: 0.7 +Version: 0.8 Release: 1%?dist Summary: Xwayland outside your Wayland. License: MPL-2.0 diff --git a/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec b/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec index 2c668bb758..cf9bdd9990 100644 --- a/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec +++ b/anda/langs/vala/vala-panel-appmenu/vala-panel-appmenu.spec @@ -1,5 +1,5 @@ %global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu -%global commit 6665f7708ef15baa5538f5582b81ceb75a104a24 +%global commit aea4ea398b7c75494f23f5e5bdb4f495d615059f %forgemeta Name: vala-panel-appmenu diff --git a/anda/langs/zig/bootstrap/.gitignore b/anda/langs/zig/bootstrap/.gitignore new file mode 100644 index 0000000000..8a0be3c23b --- /dev/null +++ b/anda/langs/zig/bootstrap/.gitignore @@ -0,0 +1,2 @@ +*.tar.xz +*.tar.xz.minisig diff --git a/anda/langs/zig/bootstrap/pre.rhai b/anda/langs/zig/bootstrap/pre.rhai new file mode 100644 index 0000000000..edc85ef10e --- /dev/null +++ b/anda/langs/zig/bootstrap/pre.rhai @@ -0,0 +1,2 @@ +let dir = sub(`/[^/]+$`, "", __script_path); +sh(`./setup.sh fetch`, #{ "cwd": dir }); diff --git a/anda/langs/zig/bootstrap/setup.sh b/anda/langs/zig/bootstrap/setup.sh new file mode 100755 index 0000000000..d8068c74ea --- /dev/null +++ b/anda/langs/zig/bootstrap/setup.sh @@ -0,0 +1,36 @@ +#!/usr/bin/bash + +version=0.16.0-dev.1484+d0ba6642b + +mirrors=() + +for m in $(curl -s https://ziglang.org/download/community-mirrors.txt); do + mirrors+=($m) +done + + +# Self explanatory +function randomize_mirrors() { + number=${#mirrors[@]} + index=$(( RANDOM % number )) + mirror=${mirrors[$index]} +} + +if [ "$1" == "fetch" ]; then + until curl -If ${mirror}/zig-${version}.tar.xz &>/dev/null && curl -If ${mirror}/zig-${version}.tar.xz.minisig &>/dev/null; do + 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 + curl -A "rpmdev-spectool" -H "Accept-Encoding: identity" -O ${mirror}/zig-${version}.tar.xz.minisig +elif [ "$1" == "version" ]; then + echo $version +# Grab a random mirror. For debugging purposes. +elif [ "$1" == "mirror" ]; then + randomize_mirrors + echo "Your random mirror is $mirror" +elif [ "$1" == "mirrors" ]; then + echo "$mirrors" +fi + +exit 0 diff --git a/anda/langs/zig/bootstrap/update.rhai b/anda/langs/zig/bootstrap/update.rhai index 4e64359f58..51ab4017b1 100644 --- a/anda/langs/zig/bootstrap/update.rhai +++ b/anda/langs/zig/bootstrap/update.rhai @@ -2,6 +2,10 @@ let url = `https://ziglang.org/download/index.json`; let json = get(url).json(); let v = json.master.version; rpm.global("ver", v); + if rpm.changed() { rpm.release(); + // Update the Zig version in the script + let dir = sub(`/[^/]+$`, "", __script_path); + sh(`sed -i 's|version=.*|version=${v}|' setup.sh`, #{ "cwd": dir }); } diff --git a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec index afe3646d8e..494ad3de97 100644 --- a/anda/langs/zig/bootstrap/zig-master-bootstrap.spec +++ b/anda/langs/zig/bootstrap/zig-master-bootstrap.spec @@ -7,7 +7,7 @@ %define llvm_compat 20 %endif %global llvm_version 20.0.0 -%global ver 0.16.0-dev.1456+16fc083f2 +%global ver 0.16.0-dev.1484+d0ba6642b %bcond bootstrap 1 %bcond docs %{without bootstrap} %bcond test 1 @@ -36,17 +36,15 @@ %global zig_install_options %zig_build_options %{shrink: \ --prefix "%{_prefix}" \ } -%global zig_mirrors ("https://pkg.machengine.org/zig" "https://zigmirror.hryx.net/zig" "https://zig.linus.dev/zig" "https://zig.squirl.dev" "https://zig.florent.dev") -%global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]}) -Name: zig-master-bootstrap +Name: zig-master Version: %(echo %{ver} | sed 's/-/~/g') Release: 1%?dist -Summary: Boostrap builds for Zig. +Summary: Bootstrapped build of Zig from master. License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1 URL: https://ziglang.org -Source0: %{mirror_url}/zig-%{ver}.tar.xz -Source1: %{mirror_url}/zig-%{ver}.tar.xz.minisig +Source0: zig-%{version_no_tilde}.tar.xz +Source1: zig-%{version_no_tilde}.tar.xz.minisig Patch0: 0000-remove-native-lib-directories-from-rpath.patch Patch3: 0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch BuildRequires: cmake @@ -63,11 +61,14 @@ BuildRequires: help2man BuildRequires: minisign %if %{without bootstrap} BuildRequires: %{name} = %{version} +Obsoletes: %{name}-bootstrap < %{version} %endif %if %{with test} BuildRequires: elfutils-libelf-devel BuildRequires: libstdc++-static %endif +# For the version_no_tilde macro +BuildRequires: rust-srpm-macros Requires: %{name}-libs = %{version} # Apache-2.0 WITH LLVM-exception OR NCSA OR MIT Provides: bundled(compiler-rt) = %{llvm_version} @@ -91,7 +92,7 @@ Packager: Gilver E. %description Zig is an open source alternative to C. -This package provides the bootstrap to build full "prerelease"/master builds of Zig. +This package provides the bootstrapped build to build full "prerelease"/master builds of Zig. It is not recommended to use this build on its own. # The Zig stdlib only contains uncompiled code @@ -198,6 +199,8 @@ install -Dpm644 zig.1 -t %{buildroot}%{_mandir}/man1/ %endif %changelog +* Mon Nov 24 2025 Gilver E. - 0.16.0~dev.1456+16fc083f2-2 +- Moved to new method of bootstrapping, deprecated zig-master-bootstrap * Sat May 10 2025 Gilver E. - 0.15.0~dev.482+2c241b263-2 - Added GCC runtime dependency to pass system information to Zig * Fri Apr 25 2025 Gilver E. - 0.15.0~dev.384+c06fecd46-2 diff --git a/anda/langs/zig/master/.gitignore b/anda/langs/zig/master/.gitignore new file mode 100644 index 0000000000..8a0be3c23b --- /dev/null +++ b/anda/langs/zig/master/.gitignore @@ -0,0 +1,2 @@ +*.tar.xz +*.tar.xz.minisig diff --git a/anda/langs/zig/master/pre.rhai b/anda/langs/zig/master/pre.rhai new file mode 100644 index 0000000000..88dc7a63bb --- /dev/null +++ b/anda/langs/zig/master/pre.rhai @@ -0,0 +1,2 @@ +let dir = sub(`/[^/]+$`, "", __script_path); +sh(`../bootstrap/setup.sh fetch`, #{ "cwd": dir }); diff --git a/anda/langs/zig/master/update.rhai b/anda/langs/zig/master/update.rhai index 1ddb84e899..57bdf8d930 100644 --- a/anda/langs/zig/master/update.rhai +++ b/anda/langs/zig/master/update.rhai @@ -1,3 +1,8 @@ import "andax/bump_extras.rhai" as bump; -rpm.version(bump::madoguchi("zig-master-bootstrap", labels.branch)); +rpm.version(bump::madoguchi("zig-master", labels.branch)); + +if rpm.changed { + let r = bump::madoguchi_json("zig-master", labels.branch).rel; + rpm.release(r + 1); +} diff --git a/anda/langs/zig/master/zig-master.spec b/anda/langs/zig/master/zig-master.spec index 4a73e7ddd9..bd2879a1af 100644 --- a/anda/langs/zig/master/zig-master.spec +++ b/anda/langs/zig/master/zig-master.spec @@ -11,17 +11,15 @@ %bcond docs %{without bootstrap} %bcond test 1 %global zig_cache_dir %{builddir}/zig-cache -%global zig_mirrors ("https://pkg.machengine.org/zig" "https://zigmirror.hryx.net/zig" "https://zig.linus.dev/zig" "https://zig.squirl.dev" "https://zig.florent.dev") -%global mirror_url %(mirrors=%{zig_mirrors}; index=$(( RANDOM % ${#mirrors[@]} )); echo ${mirrors[$index]}) Name: zig-master -Version: 0.16.0~dev.1456+16fc083f2 -Release: 1%?dist +Version: 0.16.0~dev.1484+d0ba6642b +Release: 2%?dist Summary: Master builds of the Zig language License: MIT AND NCSA AND LGPL-2.1-or-later AND LGPL-2.1-or-later WITH GCC-exception-2.0 AND GPL-2.0-or-later AND GPL-2.0-or-later WITH GCC-exception-2.0 AND BSD-3-Clause AND Inner-Net-2.0 AND ISC AND LicenseRef-Fedora-Public-Domain AND GFDL-1.1-or-later AND ZPL-2.1 URL: https://ziglang.org -Source0: %{mirror_url}/zig-%{version_no_tilde}.tar.xz -Source1: %{mirror_url}/zig-%{version_no_tilde}.tar.xz.minisig +Source0: zig-%{version_no_tilde}.tar.xz +Source1: zig-%{version_no_tilde}.tar.xz.minisig Patch0: 0000-remove-native-lib-directories-from-rpath.patch Patch3: 0005-link.Elf-add-root-directory-of-libraries-to-linker-p.patch BuildRequires: cmake @@ -37,7 +35,8 @@ BuildRequires: help2man # for signature verification BuildRequires: minisign %if %{without bootstrap} -BuildRequires: %{name}-bootstrap = %{version} +BuildRequires: %{name} = %{version} +Obsoletes: %{name}-bootstrap < %{version} %endif %if %{with test} BuildRequires: elfutils-libelf-devel diff --git a/anda/lib/DirectX-Headers/DirectX-Headers.spec b/anda/lib/DirectX-Headers/DirectX-Headers.spec new file mode 100644 index 0000000000..c288ba73b6 --- /dev/null +++ b/anda/lib/DirectX-Headers/DirectX-Headers.spec @@ -0,0 +1,148 @@ +%global mingw_build_ucrt64 1 +%{?mingw_package_header} + +# Disable debug as this package only provides a static archive (and no shared object). +# debuginfo will be made available via consumer (mesa) instead. +%global debug_package %{nil} +%global __strip /bin/true + +# There is no LTO in mesa, so drop that in stub archives also +# see mesa comment: +# 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} + +Name: DirectX-Headers +Version: 1.618.1 +Release: 1%{?dist} +Summary: Official Direct3D 12 headers + +License: MIT +URL: https://github.com/microsoft/DirectX-Headers +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: meson +BuildRequires: gcc-c++ +# Test assumes the build is under WSL, which is unlikely +%{?_with_test:BuildRequires: gtest-devel} + +BuildRequires: mingw32-filesystem +BuildRequires: mingw32-gcc-c++ + +BuildRequires: mingw64-filesystem +BuildRequires: mingw64-gcc-c++ + +BuildRequires: ucrt64-filesystem +BuildRequires: ucrt64-gcc-c++ + + +%description +Official Direct3D 12 headers + +%package devel +Summary: Development files for %{name} +# This only provides -static files, so only +Provides: %{name}-static = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%package -n mingw32-directx-headers +Summary: Official DirectX headers available under an open source license + +%description -n mingw32-directx-headers +Official DirectX headers available under an open source license + +%package -n mingw64-directx-headers +Summary: Official DirectX headers available under an open source license + +%description -n mingw64-directx-headers +Official DirectX headers available under an open source license + +%package -n ucrt64-directx-headers +Summary: Official DirectX headers available under an open source license + +%description -n ucrt64-directx-headers +Official DirectX headers available under an open source license + + +%prep +%autosetup -p1 +# Change EOL encoding +for i in LICENSE README.md ; do + sed -i -e 's/\r$//' ${i} + touch -r SECURITY.md ${i} +done + + +%build +%meson \ + %{?!_with_test:-Dbuild-test=false} + +%meson_build + +%mingw_meson +%mingw_ninja + + +%install +%meson_install + +%mingw_ninja_install + +%check +%{?_with_test: +%meson_test +} + + +%files devel +%license LICENSE +%doc README.md SECURITY.md +%{_includedir}/composition +%{_includedir}/directx +%{_includedir}/dxguids +%{_includedir}/wsl +%{_libdir}/libDirectX-Guids.a +%{_libdir}/libd3dx12-format-properties.a +%{_libdir}/pkgconfig/DirectX-Headers.pc + +%files -n mingw32-directx-headers +%doc README.md SECURITY.md +%license LICENSE +%{mingw32_libdir}/pkgconfig/DirectX-Headers.pc +%{mingw32_libdir}/libDirectX-Guids.a +%{mingw32_libdir}/libd3dx12-format-properties.a +%{mingw32_includedir}/composition +%{mingw32_includedir}/wsl/ +%{mingw32_includedir}/dxguids/ +%{mingw32_includedir}/directx/ + +%files -n mingw64-directx-headers +%doc README.md SECURITY.md +%license LICENSE +%{mingw64_libdir}/pkgconfig/DirectX-Headers.pc +%{mingw64_libdir}/libDirectX-Guids.a +%{mingw64_libdir}/libd3dx12-format-properties.a +%{mingw64_includedir}/composition +%{mingw64_includedir}/wsl/ +%{mingw64_includedir}/dxguids/ +%{mingw64_includedir}/directx/ + +%files -n ucrt64-directx-headers +%doc README.md SECURITY.md +%license LICENSE +%{ucrt64_libdir}/pkgconfig/DirectX-Headers.pc +%{ucrt64_libdir}/libDirectX-Guids.a +%{ucrt64_libdir}/libd3dx12-format-properties.a +%{ucrt64_includedir}/composition +%{ucrt64_includedir}/wsl/ +%{ucrt64_includedir}/dxguids/ +%{ucrt64_includedir}/directx/ + + +%changelog +%autochangelog diff --git a/anda/lib/DirectX-Headers/anda.hcl b/anda/lib/DirectX-Headers/anda.hcl new file mode 100644 index 0000000000..7751199f0e --- /dev/null +++ b/anda/lib/DirectX-Headers/anda.hcl @@ -0,0 +1,10 @@ +project pkg { + arches = ["x86_64", "aarch64", "i386"] + rpm { + spec = "DirectX-Headers.spec" + } + labels { + mock = 1 + subrepo = "extras" + } +} diff --git a/anda/lib/apparmor/apparmor.spec b/anda/lib/apparmor/apparmor.spec index 46c29f62c9..659184da40 100644 --- a/anda/lib/apparmor/apparmor.spec +++ b/anda/lib/apparmor/apparmor.spec @@ -276,10 +276,11 @@ make -C utils check %{_bindir}/aa-exec %{_bindir}/aa-features-abi %{_sbindir}/aa-load -%{_sbindir}/aa-teardown -%{_unitdir}/apparmor.service +%{_sbindir}/aa-show-usage +%dnl %{_sbindir}/aa-teardown +%dnl %{_unitdir}/apparmor.service %{_presetdir}/70-apparmor.preset -%{_prefix}/lib/apparmor +%dnl %{_prefix}/lib/apparmor %dir %{_sysconfdir}/apparmor # FIXME: the confusion…? how did this happen %config(noreplace) %{_sysconfdir}/apparmor/default_unconfined.template @@ -293,7 +294,8 @@ make -C utils check %{_mandir}/man7/apparmor.7.gz %{_mandir}/man7/apparmor_xattrs.7.gz %{_mandir}/man8/aa-load.8.gz -%{_mandir}/man8/aa-teardown.8.gz +%{_mandir}/man8/aa-show-usage.8.gz +%dnl %{_mandir}/man8/aa-teardown.8.gz %{_mandir}/man8/apparmor_parser.8.gz %files utils -f apparmor-utils.lang diff --git a/anda/lib/astal/ags/ags.spec b/anda/lib/astal/ags/ags.spec index 7e6cb42bef..a02b4234f4 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.0.0 +Version: 3.1.0 %gometa -f diff --git a/anda/lib/astal/astal-gtk/astal-gtk.spec b/anda/lib/astal/astal-gtk/astal-gtk.spec index ab2a98de71..be5f5f2666 100644 --- a/anda/lib/astal/astal-gtk/astal-gtk.spec +++ b/anda/lib/astal/astal-gtk/astal-gtk.spec @@ -1,6 +1,6 @@ -%global commit 5baeb660214bcafc9ae0b733a1bc84f5fa6078f4 -%global shortcommit 5baeb66 -%global commit_date 20251108 +%global commit 7d1fac8a4b2a14954843a978d2ddde86168c75ef +%global shortcommit 7d1fac8 +%global commit_date 20251127 Name: astal Version: 0^%commit_date.%commit diff --git a/anda/lib/astal/astal/astal.spec b/anda/lib/astal/astal/astal.spec index cb6084b1cf..7c31356877 100644 --- a/anda/lib/astal/astal/astal.spec +++ b/anda/lib/astal/astal/astal.spec @@ -1,7 +1,7 @@ -%global commit 5baeb660214bcafc9ae0b733a1bc84f5fa6078f4 +%global commit 7d1fac8a4b2a14954843a978d2ddde86168c75ef %global shortcommit %{sub %commit 1 7} -%global commit_date 20251108 +%global commit_date 20251127 Name: astal Version: 0^%commit_date.%shortcommit diff --git a/anda/lib/libusermetrics/libusermetrics.spec b/anda/lib/libusermetrics/libusermetrics.spec index 30e4df3648..bcf897814e 100644 --- a/anda/lib/libusermetrics/libusermetrics.spec +++ b/anda/lib/libusermetrics/libusermetrics.spec @@ -1,5 +1,5 @@ Name: libusermetrics -Version: 1.3.3 +Version: 1.4.0 Release: 1%?dist Summary: library for retrieving anonymous metrics about users License: GPLv3 AND LGPLv3 AND LGPLv2 diff --git a/anda/lib/mesa/bazzite.patch b/anda/lib/mesa/bazzite.patch index e05c18db0c..fe27673a01 100644 --- a/anda/lib/mesa/bazzite.patch +++ b/anda/lib/mesa/bazzite.patch @@ -1,7 +1,16 @@ -From 21b062a757a202dcb737d40442b6145c34bb1e48 Mon Sep 17 00:00:00 2001 +From 822117cacfa1eb2f327734c9b95739b7882c17ae Mon Sep 17 00:00:00 2001 +From: Kyle Gospodnetich +Date: Mon, 24 Nov 2025 21:07:27 -0800 +Subject: [PATCH 1/8] [BEGIN] SteamOS Changes + +-- +2.52.0 + + +From 94b012e3b5858db415b4fff612df61667ea85f7b Mon Sep 17 00:00:00 2001 From: Bas Nieuwenhuizen Date: Fri, 14 Jan 2022 15:58:45 +0100 -Subject: [PATCH 01/11] STEAMOS: radv: min image count override for FH5 +Subject: [PATCH 2/8] STEAMOS: radv: min image count override for FH5 Otherwise in combination with the vblank time reservation in gamescope the game could get stuck in low power states. @@ -10,12 +19,12 @@ gamescope the game could get stuck in low power states. 1 file changed, 4 insertions(+) diff --git a/src/util/00-radv-defaults.conf b/src/util/00-radv-defaults.conf -index b82e8d4da4d..c8d059571ad 100644 +index e36357b9e4a..68a1957ee7b 100644 --- a/src/util/00-radv-defaults.conf +++ b/src/util/00-radv-defaults.conf -@@ -234,5 +234,9 @@ Application bugs worked around in this file: - -