Compare commits

..

11 Commits

Author SHA1 Message Date
madomado 2bb3f54a73 Merge branch 'frawhide' into mado/fix/compiz9 2025-11-20 16:19:40 +08:00
madomado 2fbec6cbe1 Merge branch 'frawhide' into mado/fix/compiz9 2025-09-02 02:12:06 +08:00
madomado 01041343ab Update compiz9.spec
Signed-off-by: madomado <madonuko@outlook.com>
2025-06-03 21:09:18 +08:00
madomado d55aca76d9 sed the -Wall out of everything
Signed-off-by: madomado <madonuko@outlook.com>
2025-06-03 21:07:15 +08:00
madomado 3cd76648ea Update compiz9.spec
Signed-off-by: madomado <madonuko@outlook.com>
2025-05-28 13:31:49 +08:00
Gilver 10f6ddd2fd Merge branch 'frawhide' into mado/fix/compiz9 2025-05-27 15:18:26 -05:00
madomado 1b8bbbac04 Merge branch 'frawhide' into mado/fix/compiz9 2025-05-28 03:20:23 +08:00
madomado e0cfaf3588 Update compiz9.spec
Signed-off-by: madomado <madonuko@outlook.com>
2025-05-28 03:20:14 +08:00
madomado e05b4f22f6 Update compiz9.spec
Signed-off-by: madomado <madonuko@outlook.com>
2025-05-28 03:16:34 +08:00
madomado 13e4985747 Update compiz9.spec
Signed-off-by: madomado <madonuko@outlook.com>
2025-05-28 02:58:32 +08:00
madomado 7844f1833e fix(compiz9): correct source root name
Signed-off-by: madomado <madonuko@outlook.com>
2025-05-28 02:54:21 +08:00
248 changed files with 4545 additions and 2816 deletions
+4 -5
View File
@@ -1,17 +1,16 @@
{
"name": "Terra Devcontainer",
"image": "ghcr.io/terrapkg/builder:frawhide",
"runArgs": ["--privileged"],
"runArgs": [
"--privileged"
],
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {}
},
"customizations": {
"vscode": {
"extensions": [
"rhaiscript.vscode-rhai",
"1dot75cm.rpmspec",
"hashicorp.hcl",
"redhat.vscode-xml"
"rhaiscript.vscode-rhai"
]
}
},
-172
View File
@@ -1,172 +0,0 @@
// 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}`);
}
};
-121
View File
@@ -1,121 +0,0 @@
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();
};
+1 -25
View File
@@ -18,11 +18,6 @@ on:
required: false
type: string
default: ""
bust_cache:
description: "Whether to bust the cache"
required: false
type: boolean
default: false
workflow_dispatch:
inputs:
packages:
@@ -35,12 +30,6 @@ 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:
@@ -75,19 +64,6 @@ 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' || '' }}
@@ -129,4 +105,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"
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
git config --global commit.gpgsign true
- name: Backport Action
uses: sorenlouv/backport-github-action@v10.2.0
uses: sorenlouv/backport-github-action@v9.5.1
with:
github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }}
auto_backport_label_prefix: sync-
+2 -2
View File
@@ -13,9 +13,9 @@ jobs:
matrix:
branch:
- frawhide
- f43
- f42
- f41
- f42
- f43
- el10
container:
image: ghcr.io/terrapkg/builder:frawhide
+2 -2
View File
@@ -48,9 +48,9 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f43 || true
copy_over f42 || true
copy_over f41 || true
copy_over f42 || true
copy_over f43 || true
copy_over el10 || true
git push -u origin --all
fi
+2 -2
View File
@@ -48,9 +48,9 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f43 || true
copy_over f42 || true
copy_over f41 || true
copy_over f42 || true
copy_over f43 || true
copy_over el10 || true
git push -u origin --all
fi
+2 -2
View File
@@ -48,9 +48,9 @@ jobs:
git add anda
git commit -S -a -m "$msg"
}
copy_over f43 || true
copy_over f42 || true
copy_over f41 || true
copy_over f42 || true
copy_over f43 || true
copy_over el10 || true
git push -u origin --all
fi
+1 -4
View File
@@ -1,8 +1,5 @@
{
"recommendations": [
"rhaiscript.vscode-rhai",
"1dot75cm.rpmspec",
"hashicorp.hcl",
"redhat.vscode-xml"
"rhaiscript.vscode-rhai"
]
}
-9
View File
@@ -1,9 +0,0 @@
// There is no HCL extension, but the Terraform extension grants HCL support
{
"auto_install_extensions": {
"RPM Spec": true,
"XML": true,
"rhai": true,
"Terraform": true
}
}
-9
View File
@@ -42,15 +42,6 @@ And Terra EL itself can be installed with:
sudo dnf install --nogpgcheck --repofrompath 'terra,https://repos.fyralabs.com/terrael$releasever' terra-release
```
## Contributions
First of all, thanks for being interested in contributing to Terra! If you have any questions about contributing, please [join our chats](https://wiki.ultramarine-linux.org/en/community/community/).
- [Contribution Guide](https://developer.fyralabs.com/terra/contributing)
- [FAQ](https://developer.fyralabs.com/terra/faq)
- [Policy](https://developer.fyralabs.com/terra/policy)
## Documentation
Our documentation can be found on our [Devdocs](https://developer.fyralabs.com/terra/).
+1 -1
View File
@@ -1,7 +1,7 @@
%undefine __brp_mangle_shebangs
Name: chdig
Version: 25.12.1
Version: 25.11.1
Release: 1%?dist
Summary: Dig into ClickHouse with TUI interface
URL: https://github.com/azat/chdig
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary-openasar
Version: 0.0.819
Version: 0.0.810
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary
Version: 0.0.819
Version: 0.0.810
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: discord.com
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-openasar
Version: 0.0.117
Version: 0.0.115
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-ptb-openasar
Version: 0.0.168
Version: 0.0.166
Release: 1%?dist
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-ptb
Version: 0.0.168
Version: 0.0.166
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers.
URL: https://discord.com
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord
Version: 0.0.117
Version: 0.0.115
Release: 1%?dist
Summary: Free Voice and Text Chat for Gamers
URL: https://discord.com
+1 -1
View File
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: feishin
Version: 0.22.0
Version: 0.21.2
Release: 1%?dist
Summary: A modern self-hosted music player
License: GPL-3.0
+2 -2
View File
@@ -1,9 +1,9 @@
#? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec
%global ver 13.3.0
%global commit 7ed3cfc83eda4bd33f5044041075689bb517a314
%global commit 0f37bf09972c7e66ed78ad0460d2ebce97b82809
%global shortcommit %{sub %{commit} 1 7}
%global commit_date 20251130
%global commit_date 20251119
%global devel_name QtColorWidgets
%global _distro_extra_cflags -fuse-ld=mold
%global _distro_extra_cxxflags -fuse-ld=mold
+1 -1
View File
@@ -9,7 +9,7 @@
%endif
Name: goofcord
Version: 1.11.2
Version: 1.11.1.beta.1
Release: 1%?dist
License: OSL-3.0
Summary: A privacy-minded Legcord fork.
+1 -2
View File
@@ -4,7 +4,7 @@
%global crate halloy
Name: halloy
Version: 2025.12
Version: 2025.11
Release: 1%?dist
Summary: An open-source IRC client written in Rust, with the Iced GUI library
Packager: Yoong jin <solomoncyj@gmail.com>
@@ -18,7 +18,6 @@ BuildRequires: alsa-lib-devel
BuildRequires: cargo-rpm-macros >= 24
BuildRequires: desktop-file-utils
BuildRequires: openssl-devel
BuildRequires: pkgconfig(xcb)
%description
+2 -2
View File
@@ -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.95.0
%global raw_ver v1.93.0
Name: komikku
Version: 1.95.0
Version: 1.93.0
%forgemeta
Release: 1%?dist
Summary: A manga reader for GNOME
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "librepods.spec"
}
}
@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<component type="desktop-application">
<id>com.github.librepods</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-only</project_license>
<icon
type="remote"
>https://github.com/kavishdevar/librepods/blob/main/linux/assets/librepods.png</icon>
<name>librepods</name>
<summary>AirPods liberated from Apple's ecosystem</summary>
<description>
<p>
LibrePods unlocks Apple's exclusive AirPods features on non-Apple devices.
Get access to noise control modes, adaptive transparency, ear detection,
hearing aid, customized transparency mode, battery status, and more - all the
premium features you paid for but Apple locked to their ecosystem.
</p>
</description>
<launchable type="desktop-id">me.kavishdevar.librepods.desktop</launchable>
<url type="homepage">https://github.com/kavishdevar/librepods</url>
<provides>
<binary>librepods</binary>
</provides>
<keywords>
<keyword>airpods</keyword>
<keyword>librepods</keyword>
</keywords>
<releases>
<release version="0.1.0" />
</releases>
</component>
-63
View File
@@ -1,63 +0,0 @@
%global appid com.github.librepods
Name: librepods
Summary: AirPods liberated from Apple's ecosystem
Version: 0.1.0
Release: 1%?dist
License: GPL-3.0-only
URL: https://github.com/kavishdevar/librepods
Source0: %url/archive/refs/tags/linux-v%version.tar.gz
Source1: com.github.librepods.metainfo.xml
Packager: Owen Zimmerman <owen@fyralabs.com>
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: g++
BuildRequires: qt6-qtbase-devel
BuildRequires: qt6-qtconnectivity-devel
BuildRequires: qt6-qtmultimedia-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: openssl-devel
BuildRequires: anda-srpm-macros
BuildRequires: terra-appstream-helper
Requires: glibc
Requires: openssl
Requires: qt6-qtbase
Requires: qt6-qtconnectivity
Requires: qt6-qtdeclarative
%description
LibrePods unlocks Apple's exclusive AirPods features on non-Apple devices.
Get access to noise control modes, adaptive transparency, ear detection,
hearing aid, customized transparency mode, battery status, and more - all the
premium features you paid for but Apple locked to their ecosystem.
%prep
%autosetup -n %{name}-linux-v%{version}
%build
pushd linux
%cmake
%cmake_build
popd
%install
install -Dm644 linux-rust/assets/icon.png %{buildroot}%{_iconsdir}/hicolor/512x512/apps/librepods.png
pushd linux
%cmake_install
popd
%terra_appstream -o %{SOURCE1}
%files
%doc README.md linux/README.md CHANGELOG.md
%license LICENSE
%{_bindir}/librepods
%{_datadir}/applications/me.kavishdevar.librepods.desktop
%{_metainfodir}/com.github.librepods.metainfo.xml
%{_iconsdir}/hicolor/512x512/apps/librepods.png
%changelog
* Wed Nov 19 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
-4
View File
@@ -1,4 +0,0 @@
let tags = json_arr(get("https://api.github.com/repos/kavishdevar/librepods/tags"));
let tag = tags.find(|t| t.name.starts_with("linux-v"));
tag.name.crop(7);
rpm.version(tag.name);
+3 -2
View File
@@ -1,9 +1,9 @@
# Disable X11 for RHEL 10+
%bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10]
%global commit 72dbcf119a9ed5082be2f226593194e20f611eea
%global commit e6885cb926ca05a23f54f1b44b250f6f981b4e46
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20251201
%global commit_date 20251119
%global ver 0.40.0
Name: mpv-nightly
@@ -188,6 +188,7 @@ 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 \
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit 9527e92f697ad380ce8669a2b6c61260abafab19
%global commit_date 20251126
%global commit 6ae576bee3ca42f0aea597e76d2e0df0e1184bad
%global commit_date 20251030
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: rpcc
-8
View File
@@ -1,8 +0,0 @@
project pkg {
rpm {
spec = "rpinters.spec"
}
labels {
nightly = 1
}
}
-45
View File
@@ -1,45 +0,0 @@
%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 <owen@fyralabs.com>
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 <owen@fyralabs.com>
- Package bookshelf
-5
View File
@@ -1,5 +0,0 @@
rpm.global("commit", gh_commit("raspberrypi-ui/rpinters"));
if rpm.changed() {
rpm.release();
rpm.global("commit_date", date());
}
+1 -1
View File
@@ -1,4 +1,4 @@
%global ver 2025-12-03
%global ver 2025-11-20
%global goodver %(echo %ver | sed 's/-//g')
%global __brp_mangle_shebangs %{nil}
%bcond_without mold
+7 -92
View File
@@ -1,34 +1,10 @@
%global __requires_exclude_from %{_datadir}/%{name}/.*
%bcond_without server_prebuilt
%global appid com.genymobile.scrcpy
%global org com.genymobile
%global appstream_component desktop-application
# NOTE: We only do this on aarch64 to avoid
# duplicate build artifacts on x86_64
#
# If you are building this package locally,
# set --with server to cross-compile/bundle the server APK subpackage.
#
# The server APK is architecture independent.
%ifarch aarch64
%bcond_without server
%else
%bcond_with server
%endif
Name: scrcpy
Version: 3.3.3
Release: 2%?dist
Release: 1%?dist
Summary: Display and control your Android device
License: Apache-2.0 AND Proprietary
License: Apache-2.0
URL: https://github.com/Genymobile/scrcpy
Source0: %url/archive/refs/tags/v%version.tar.gz
Source1: https://developer.android.com/studio/terms.html
%if %{with server_prebuilt}
Source10: https://github.com/Genymobile/scrcpy/releases/download/v%{version}/scrcpy-server-v%{version}
%endif
Packager: madonuko <mado@fyralabs.com>
BuildRequires: meson ninja-build cmake nasm gcc
BuildRequires: pkgconfig(sdl2)
@@ -42,78 +18,29 @@ BuildRequires: pkgconfig(libv4l2)
BuildRequires: cmake(VulkanHeaders)
BuildRequires: vulkan-loader
BuildRequires: OpenCL-ICD-Loader
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
BuildConflicts: dkms-nvidia akmod-nvidia
Requires: android-tools
%description
This application mirrors Android devices (video and audio) connected via USB or TCP/IP and allows control using the computer's keyboard and mouse. It does not require root access or an app installed on the device. It works on Linux, Windows, and macOS.
%if %{with server}
%package server
# This package is architecture independent, it's
# an Android APK file.
Summary: Android server for %{name}
BuildArch: noarch
%description server
Android server for %{name}
%endif
%pkg_completion -Bz
%prep
%autosetup
mkdir -p /tmp/android_sdk
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk
export PATH=$JAVA_HOME/bin:$PATH
export ANDROID_SDK_ROOT=/tmp/android_sdk
sdkmanager --install tools --sdk_root /tmp/android_sdk
echo y | sdkmanager --license
%build
export JAVA_HOME=/usr/lib/jvm/java-21-openjdk
export PATH=$JAVA_HOME/bin:$PATH
export WORK_DIR=$PWD/work
export OUTPUT_DIR=$PWD/output
%dnl #export CFLAGS="$(echo $CFLAGS | sed 's/-D_GNU_SOURCE[=1]*//g')"
%dnl #export CPPFLAGS="$(echo $CPPFLAGS | sed 's/-D_GNU_SOURCE[=1]*//g')"
export VERSION=v%version
export ANDROID_SDK_ROOT=/tmp/android_sdk
# TODO: Gradle 8.9 seems to have problems with Java
# 21-25, so we can't build the APK here at all
# For now, let's use the prebuilt server
# https://github.com/gradle/gradle/issues/35111
%if %{with server}
%if %{with server_prebuilt}
%meson -Dprebuilt_server=%{SOURCE10}
%else
%meson -Dcompile_server=true
%endif
%else
%meson -Dcompile_server=false
%endif
%meson \
-Dcompile_server=false \
-Dportable=false \
-Dstatic=false
%meson_build
rm -rf /tmp/android_sdk
%install
pushd "%_vpath_builddir"
%ninja_install
popd
ls -la
%if %{with server}
install -Dm 644 %{SOURCE1} %{buildroot}%{_datadir}/licenses/LICENSE.android-sdk-license
%endif
%terra_appstream
%meson_install
%files
%doc README.md
@@ -121,17 +48,5 @@ install -Dm 644 %{SOURCE1} %{buildroot}%{_datadir}/licenses/LICENSE.android-sdk-
%_bindir/scrcpy
%_datadir/applications/scrcpy-console.desktop
%_datadir/applications/scrcpy.desktop
%_datadir/bash-completion/completions/scrcpy
%_iconsdir/hicolor/*/apps/scrcpy.png
%_metainfodir/%{appid}.metainfo.xml
%_mandir/man1/scrcpy.1.*
%if %{with server}
%files server
%license %{_datadir}/licenses/LICENSE.android-sdk-license
%_datadir/scrcpy/scrcpy-server
%endif
%changelog
* Thu Oct 02 2025 june-fish <june@fyralabs.com>
- fix android sdk bug
+3 -5
View File
@@ -15,7 +15,7 @@
%endif
Name: signal-desktop
Version: 7.80.1
Version: 7.80.0
Release: 1%?dist
Summary: A private messenger for Windows, macOS, and Linux
URL: https://signal.org
@@ -87,10 +87,8 @@ Signal Desktop links with Signal on Android or iOS and lets you message from you
%build
pnpm install --frozen-lockfile
pushd sticker-creator
pnpm install --frozen-lockfile
pnpm build
popd
pnpm --prefix sticker-creator install
pnpm --prefix sticker-creator build
pnpm run build-linux --dir
%install
+1 -1
View File
@@ -1,7 +1,7 @@
#? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=throne-git
Name: throne
Version: 1.0.11
Version: 1.0.8
Release: 1%?dist
Summary: Qt based cross-platform GUI proxy configuration manager (backend: sing-box)
URL: https://github.com/throneproj/Throne
@@ -1,5 +1,5 @@
Name: budgie-extras
Version: 2.0.0
Version: 1.9.0
Release: 1%?dist
License: GPL-3.0
+3 -1
View File
@@ -1,5 +1,6 @@
%define _ubuntu_rel 25.10.20250930-0ubuntu1
%global _hardened_build 0
%global build_cflags %{__build_flags_lang_c} -Wno-incompatible-pointer-types
Name: compiz9
Version: 0.9.14.2
@@ -77,7 +78,8 @@ Compiz Config Manager helps configure Compiz Window Manager, version 0.9 series
Compiz 9 branch, which is newer then what Fedora packages and required by Unity 7.6 and higher.
%prep
%autosetup -p1 -n compiz-%version+%(echo %_ubuntu_rel | sed 's@-0ubuntu.@@')
%autosetup -p1 -n compiz-%version+%(echo %_ubuntu_rel | sed -E 's@-0ubuntu.+@@')
grep -rlZ -- '-Wall' . | xargs -0 sed -i 's/-Wall//g'
%build
# The driver blacklist hack is obselete
@@ -1,6 +1,6 @@
%global tarball_version %%(echo %{version} | tr '~' '.')
%global major_version 49
%global minor_version 2
%global minor_version 1
%if 0%{?rhel}
%global portal_helper 0
@@ -2,7 +2,7 @@
Name: nautilus-open-any-terminal
Version: 0.7.0
Release: 2%?dist
Release: 1%?dist
Summary: Context-menu entry for opening other terminal in Nautilus
License: GPL-3.0-only
URL: https://github.com/Stunkymonkey/nautilus-open-any-terminal
@@ -18,7 +18,6 @@ BuildRequires: python3dist(pip)
BuildRequires: gettext
Requires: python3-%{name} = %{version}-%{release}
Requires: %{name}-caja = %{version}-%{release}
Requires: nautilus-python
Obsoletes: python3-%{name} < 0.6.1-2
@@ -1,10 +1,10 @@
#? https://src.fedoraproject.org/rpms/hyprutils/blob/rawhide/f/hyprutils.spec
%global realname hyprutils
%global ver 0.10.4
%global ver 0.10.2
%global commit 2f2413801beee37303913fc3c964bbe92252a963
%global commit_date 20251202
%global commit 671792bcfeaaa58022941ed40c3993cd7f04e38d
%global commit_date 20251119
%global shortcommit %{sub %commit 1 7}
Name: %realname.nightly
@@ -2,9 +2,9 @@
%global realname hyprwayland-scanner
%global ver 0.4.5
%global commit f6cf414ca0e16a4d30198fd670ec86df3c89f671
%global commit b3b0f1f40ae09d4447c20608e5a4faf8bf3c492d
%global shortcommit %{sub %commit 1 7}
%global commit_date 20251121
%global commit_date 20250815
Name: %realname.nightly
Version: %ver^%{commit_date}git.%shortcommit
@@ -1,5 +1,5 @@
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
%global commit 4652fb4fb04569bea5102e9e52c23ca66a131435
%global commit c3af1ac5564c1f034dbea120ccf1a46a36977495
%forgemeta
Name: lomiri-system-settings
@@ -1,10 +1,10 @@
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-ui-toolkit
%global commit 4789df7ca73f4d945279d6c28dab8c5efbac4b18
%global commit 4111d119b21d58754f8b4bcaa7665cab7263be00
%forgemeta
Name: lomiri-ui-toolkit
Version: 1.3.5900
Release: 1%?dist
Version: 1.3.5110
Release: 2%?dist
Summary: QML components to ease the creation of beautiful applications in QML for Lomiri
License: LGPL-3.0
+1 -1
View File
@@ -1,5 +1,5 @@
Name: mangowc
Version: 0.10.7
Version: 0.10.5
Release: 1%?dist
Summary: wayland compositor base wlroots and scenefx (dwm but wayland)
License: GPL-3.0
@@ -2,7 +2,7 @@
%global crate matugen
Name: rust-matugen
Version: 3.1.0
Version: 3.0.0
Release: 1%?dist
Summary: Material you color generation tool with templates
+1 -1
View File
@@ -4,7 +4,7 @@
# prevent library files from being installed
%global cargo_install_lib 0
%global upstream_version v2.11.3
%global upstream_version v2.11.1
%global ver %{sub %upstream_version 2}
Name: walker
+2 -2
View File
@@ -8,8 +8,8 @@
%global appid sh.oven.bun
Name: bun-bin
Version: 1.3.3
Release: 1%?dist
Version: 1.3.2
Release: 3%?dist
Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager all in one
License: MIT
URL: https://bun.sh
+1 -1
View File
@@ -12,7 +12,7 @@
%endif
Name: codium
Version: 1.106.37943
Version: 1.105.17075
Release: 1%?dist
Summary: Code editing. Redefined.
License: MIT
@@ -7,7 +7,6 @@
<name>Deno</name>
<summary>A modern runtime for JavaScript and TypeScript.</summary>
<icon>https://deno.com/logo.svg</icon>
<description>
<p>
Deno (/ˈdiːnoʊ/, pronounced dee-no) is a JavaScript, TypeScript, and WebAssembly runtime with secure defaults and a great developer experience.
+4 -6
View File
@@ -1,13 +1,12 @@
%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: 3%?dist
Release: 2%?dist
Summary: Deno executable
License: MIT
@@ -45,7 +44,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}/%{appid}.metainfo.xml
%{_metainfodir}/land.deno.deno.metainfo.xml
%{_bindir}/deno
%pkg_completion -Bfzn %crate
@@ -57,7 +56,6 @@ 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
@@ -73,4 +71,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
%terra_appstream -o %{SOURCE3}
install -Dm644 %{S:3} -t %buildroot%{_metainfodir}
+1 -1
View File
@@ -1,5 +1,5 @@
Name: flutter
Version: 3.38.3
Version: 3.38.2
Release: 1%?dist
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
License: BSD-3-Clause
+4 -24
View File
@@ -1,6 +1,6 @@
%global commit b4a48303ed9ea74d326ba450ddf5f1514dca76d0
%global commit 9831709fcaab578c2f22ecabd495670dbe3e07d1
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global fulldate 2025-12-01
%global fulldate 2025-11-17
%global commit_date %(echo %{fulldate} | sed 's/-//g')
%global public_key RWQlAjJC23149WL2sEpT/l0QKy7hMIFhYdQOFy0Z7z7PbneUgvlsnYcV
%global ver 1.3.0
@@ -180,19 +180,6 @@ 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}
@@ -253,6 +240,8 @@ 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
@@ -290,13 +279,6 @@ 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
@@ -307,8 +289,6 @@ rm -rf %{buildroot}%{_datadir}/terminfo/g/%{base_name}
%systemd_user_postun app-%{appid}.service
%changelog
* Sat Nov 29 2025 Gilver E. <rockgrub@disroot.org> - 1.3.0~tip^20251128git9baf37a-1
- Initial libghostty-vt packages
* Tue Oct 28 2025 Gilver E. <rockgrub@disroot.org> - 1.3.0~tip^20251027gitd40321a-2
- Disabled bundled themes
* This is necessary to address licensing issues in the themes repo Ghostty uses
+2 -2
View File
@@ -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 118f5a3e357f026b455fb60a48e124c2ce2910d1
%global commit_date 20251203
%global commit_hash bc5e59c670c6ea971c52a9f60262122bd39eec32
%global commit_date 20251119
%global shortcommit %{sub %{commit_hash} 1 7}
%global ver 2.0.14
-9
View File
@@ -1,9 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "yarnpkg-berry.spec"
}
labels {
subrepo = "extras"
}
}
-21
View File
@@ -1,21 +0,0 @@
# Quick and dirty patch to make Yarn Berry's build cache system work when installed as a system package.
# This patch is created for and maintained solely for Terra.
--- a/scripts/setup-ts-cache.js 2025-11-22 00:36:54.889317752 -0600
+++ b/scripts/setup-ts-cache.js 2025-11-22 00:44:29.823498920 -0600
@@ -1,6 +1,7 @@
const crypto = require(`crypto`);
const esbuild = require(`esbuild`);
const fs = require(`fs`);
+const os = require('os');
const path = require(`path`);
const v8 = require(`v8`);
const zlib = require(`zlib`);
@@ -25,7 +26,7 @@
isDirty: false,
};
-const cachePath = path.join(__dirname, `../node_modules/.cache/yarn/esbuild-transpile-cache.bin`);
+const cachePath = path.join(os.homedir(), `.cache/yarn/esbuild-transpile-cache.bin`);
try {
const cacheData = v8.deserialize(zlib.brotliDecompressSync(fs.readFileSync(cachePath)));
if (cacheData.version === cache.version) {
-1
View File
@@ -1 +0,0 @@
rpm.version(npm("@yarnpkg/cli"));
-68
View File
@@ -1,68 +0,0 @@
%bcond bootstrap 0
Name: yarnpkg-berry
Version: 4.12.0
Release: 4%?dist
Summary: Active development version of Yarn
License: BSD-2-Clause
URL: https://yarnpkg.com
Source0: https://github.com/yarnpkg/berry/archive/refs/tags/@yarnpkg/cli/%{version}.tar.gz
Patch0: setup-ts-cache.patch
BuildRequires: anda-srpm-macros
BuildRequires: nodejs
BuildRequires: nodejs-packaging
%if %{with bootstrap}
BuildRequires: yarnpkg
%else
BuildRequires: %{name}
%endif
Provides: yarn-berry
Conflicts: yarnpkg
BuildArch: noarch
Packager: Gilver E. <rockgrub@disroot.org>
%description
The next, actively developed version of Yarn.
%package doc
Summary: Extra documentation and contributor guides for Yarn Berry.
%description doc
This package contains extra doc files as well as contributor material for Yarn Berry.
%prep
%autosetup -p1 -n berry--yarnpkg-cli-%{version}
%build
%{__yarn} build:cli
%install
# Yarn cannot be installed in nodejs_sitelib due to using TypeScript runtimes and NodeJS changes disallowing TypeScript in node_modules
mkdir -p {%{buildroot}%{_bindir},%{buildroot}%{_libdir}/yarn-berry}
cp -pr {scripts,packages,.pnp.cjs,.pnp.loader.mjs,.yarn} -t %{buildroot}%{_libdir}/yarn-berry
for bin in yarn yarnpkg; do
ln -sfr %{buildroot}%{_libdir}/yarn-berry/scripts/bin/$bin %{buildroot}%{_bindir}/$bin
done
%files
%license LICENSE.md
%license CODEOWNERS
%doc README.md
%doc CHANGELOG.md
%doc SECURITY.md
%{_bindir}/yarn
%{_bindir}/yarnpkg
%{_libdir}/yarn-berry/
%files doc
%doc CODE_OF_CONDUCT.md
%doc CONTRIBUTING.md
%doc HISTORY.md
%doc GOVERNANCE.md
%changelog
* Sun Nov 23 2025 Gilver E. <rockgrub@disroot.org> - 4.12.0-3
- First build without bootstrap
* Thu Nov 20 2025 Gilver E. <rockgrub@disroot.org> - 4.11.0-1
- Initial build
-7
View File
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<!-- the terra appstream builder will auto-fill this, this is a quirk of terra-appstream-builder -->
<name>Zed</name>
<id>dev.zed.Zed</id>
<icon>dev.zed.Zed-nightly</icon>
</component>
+21 -50
View File
@@ -1,22 +1,16 @@
%global commit 2bf47879dee6dc8c21613b83e058a1dd4b9bde29
%global commit 1fab43d467c3e610bd72cfb94ac12d09d791f397
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20251203
%global ver 0.216.0
%global commit_date 20251120
%global ver 0.215.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 appid dev.zed.Zed-nightly
%global appstream_component desktop-application
%global app_id dev.zed.Zed-Nightly
%global rustflags_debuginfo 0
@@ -28,7 +22,6 @@ 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
@@ -76,12 +69,9 @@ 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
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%{_datadir}/applications/%appid.desktop
%{_metainfodir}/%appid.metainfo.xml
%{_datadir}/applications/%app_id.desktop
%{_metainfodir}/%app_id.metainfo.xml
%package rename-zeditor
Summary: Rename zed to zeditor to prevent collision with zfs
@@ -93,26 +83,21 @@ 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
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%_datadir/applications/%appid.desktop.zeditor
%{_metainfodir}/%appid.metainfo.xml
%_datadir/applications/%app_id.desktop.zeditor
%{_metainfodir}/%app_id.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="%appid"
export APP_ICON="%appid"
export APP_ID="%app_id"
export APP_ICON="%app_id"
export APP_NAME="Zed Nightly"
export APP_CLI="zed"
export APP="%{_libexecdir}/zed-editor"
@@ -122,40 +107,35 @@ export ZED_RELEASE_CHANNEL=nightly
export BRANDING_LIGHT="#e9aa6a"
export BRANDING_DARK="#1a5fb4"
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
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
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.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 %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.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.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.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 \
@@ -168,21 +148,17 @@ install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.x
| 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}/%appid.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
%if %{without debug_no_build}
%cargo_test
%endif
%endif
%files
%doc CODE_OF_CONDUCT.md
@@ -190,18 +166,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.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
%endif
%{_datadir}/pixmaps/%app_id.png
%changelog
%autochangelog
-6
View File
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<name>Zed (Preview)</name>
<id>dev.zed.Zed-preview</id>
<icon>dev.zed.Zed-preview</icon>
</component>
+19 -49
View File
@@ -1,17 +1,11 @@
%bcond_with check
%bcond_with debug_no_build
%if 0%{?with_debug_no_build}
%global debug_package %{nil}
%endif
%global ver 0.216.0-pre
%global ver 0.214.0-pre
# Exclude input files from mangling
%global __brp_mangle_shebangs_exclude_from ^/usr/src/.*$
%global crate zed
%global appid dev.zed.Zed-preview
%global appstream_component desktop-application
%global app_id dev.zed.Zed-Preview
%global rustflags_debuginfo 0
@@ -23,7 +17,6 @@ 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
@@ -68,12 +61,9 @@ 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
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%{_datadir}/applications/%appid.desktop
%{_metainfodir}/%appid.metainfo.xml
%{_datadir}/applications/%app_id.desktop
%{_metainfodir}/%app_id.metainfo.xml
%package rename-zeditor
Summary: Rename zed to zeditor to prevent collision with zfs
@@ -85,23 +75,18 @@ 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
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%_datadir/applications/%appid.desktop.zeditor
%{_metainfodir}/%appid.metainfo.xml
%_datadir/applications/%app_id.desktop.zeditor
%{_metainfodir}/%app_id.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="%appid"
export APP_ICON="%appid"
export APP_ID="%app_id"
export APP_ICON="%app_id"
export APP_NAME="Zed Preview"
export APP_CLI="zed"
export APP="%{_libexecdir}/zed-editor"
@@ -111,40 +96,35 @@ export ZED_RELEASE_CHANNEL=preview
export BRANDING_LIGHT="#99c1f1"
export BRANDING_DARK="#1a5fb4"
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
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
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.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 %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.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.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.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 \
@@ -157,22 +137,17 @@ install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.x
| 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}/%appid.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
%if %{without debug_no_build}
%cargo_test
%endif
%endif
%files
%doc CODE_OF_CONDUCT.md
@@ -180,18 +155,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.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
%endif
%{_datadir}/pixmaps/%app_id.png
%changelog
%autochangelog
-6
View File
@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<component type="desktop-application">
<name>Zed</name>
<id>dev.zed.Zed</id>
<icon>dev.zed.Zed</icon>
</component>
+22 -50
View File
@@ -1,28 +1,21 @@
%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 appid dev.zed.Zed
%global appstream_component desktop-application
%global app_id dev.zed.Zed
%global rustflags_debuginfo 0
Name: zed
Version: 0.215.3
Version: 0.213.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
@@ -68,12 +61,9 @@ 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
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%{_datadir}/applications/%appid.desktop
%{_metainfodir}/%appid.metainfo.xml
%{_datadir}/applications/%app_id.desktop
%{_metainfodir}/%app_id.metainfo.xml
%package rename-zeditor
Summary: Rename zed to zeditor to prevent collision with zfs
@@ -85,23 +75,19 @@ 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
%endif
%{_datadir}/icons/hicolor/512x512/apps/%appid.png
%_datadir/applications/%appid.desktop.zeditor
%{_metainfodir}/%appid.metainfo.xml
%_datadir/applications/%app_id.desktop.zeditor
%{_metainfodir}/%app_id.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="%appid"
export APP_ICON="%appid"
export APP_NAME="Zed"
export APP_ID="%app_id"
export APP_ICON="%app_id"
export APP_NAME="Zed Editor"
export APP_CLI="zed"
export APP="%{_libexecdir}/zed-editor"
export APP_ARGS="%U"
@@ -110,40 +96,35 @@ export ZED_RELEASE_CHANNEL=stable
export BRANDING_LIGHT="#e9aa6a"
export BRANDING_DARK="#1a5fb4"
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
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
sed -i "s|@release_info@||g" "crates/zed/resources/flatpak/zed.metainfo.xml.in"
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > %{appid}.metainfo.xml
envsubst < "crates/zed/resources/flatpak/zed.metainfo.xml.in" > $APP_ID.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 %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.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.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.xml
install -Dm644 %app_id.metainfo.xml %{buildroot}%{_metainfodir}/%app_id.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 \
@@ -156,22 +137,17 @@ install -Dm644 %appid.metainfo.xml %{buildroot}%{_metainfodir}/%appid.metainfo.x
| 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}/%appid.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%app_id.metainfo.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%app_id.desktop
%if %{without debug_no_build}
%cargo_test
%endif
%endif
%files
%doc CODE_OF_CONDUCT.md
@@ -179,17 +155,13 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%appid.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
%if %{without debug_no_build}
%license assets/licenses.md
%{_libexecdir}/zed-editor
%endif
%{_datadir}/pixmaps/%app_id.png
%changelog
%autochangelog
+1 -1
View File
@@ -52,7 +52,7 @@
%global fontdescription %{expand:
Versatile typeface for code, from code.}
Version: 33.3.5
Version: 33.3.4
Release: 1%?dist
Packager: Cappy Ishihara <cappy@fyralabs.com>
Summary: Versatile typeface for code, from code.
-6
View File
@@ -1,6 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "juliamono.spec"
}
}
-33
View File
@@ -1,33 +0,0 @@
Name: juliamono-fonts
Version: 0.061
Release: 1%?dist
URL: https://juliamono.netlify.app/
Source0: https://github.com/cormullion/juliamono/archive/refs/tags/v%{version}.tar.gz
License: OFL-1.1
Summary: A monospaced font with reasonable unicode support
Requires: xorg-x11-font-utils
BuildArch: noarch
Provides: JuliaMono-fonts
Packager: Its-J
%description
JuliaMono is a monospaced typeface designed for programming in text editing environments that require a wide range of specialist and technical unicode characters.
%prep
%autosetup -n juliamono-%{version}
%build
%install
mkdir -p %{buildroot}%{_fontbasedir}/juliamono/
install -Dm644 *.ttf %{buildroot}%{_fontbasedir}/juliamono/
%files
%doc README.md
%license LICENSE
%{_fontbasedir}/juliamono/*.ttf
%changelog
* Fri Nov 21 2025 Its-J
- Package JuliaMono
-1
View File
@@ -1 +0,0 @@
rpm.version(gh("cormullion/juliamono"));
@@ -1,5 +1,5 @@
Name: sarasa-gothic-fonts
Version: 1.0.35
Version: 1.0.34
Release: 1%?dist
URL: https://github.com/be5invis/Sarasa-Gothic
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
+1 -1
View File
@@ -1,7 +1,7 @@
%global __brp_mangle_shebangs %{nil}
Name: inputplumber
Version: 0.68.0
Version: 0.67.1
Release: 1%?dist
Summary: Open source input router and remapper daemon for Linux
License: GPL-3.0-or-later
@@ -3,10 +3,10 @@
%global name_pretty %{quote:Prism Launcher (Nightly)}
%global appid org.prismlauncher.PrismLauncher-nightly
%global commit fbe239eb3d8e4f7cb437cb7f6772b9953efaeec3
%global commit c7fa69cfd0c6e331d8b3bfa77dcb98d1beea34d0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20251203
%global commit_date 20251120
%global snapshot_info %{commit_date}.%{shortcommit}
%bcond_without qt6
+37 -31
View File
@@ -1,8 +1,9 @@
%global _distro_extra_cflags -Wno-uninitialized
%global _distro_extra_cxxflags -include %_includedir/c++/*/cstdint
# Define which LLVM/Clang version RPCS3 needs
%if 0%{?fedora} >= 45
%global llvm_major 21
%if %{?fedora} >= 43
%global llvm_major 20
%bcond llvm_compat 1
%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}
@@ -10,8 +11,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 e3f5f2d14e44a44eec9f8c0f79f53893ff04fdbc
%global ver 0.0.38-18442
%global commit 8ccc30725a661b5355d3e46e2a7410163d335ebc
%global ver 0.0.38-18367
Name: rpcs3
Version: %(echo %{ver} | sed 's/-/^/g')
@@ -67,35 +68,40 @@ 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 %{defined llvm_major}
%if %{with llvm_compat}
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 \
-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" \
%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" \
-DCMAKE_EXE_LINKER_FLAGS="$LDFLAGS -fuse-ld=mold"
%cmake_build
+1 -1
View File
@@ -1,5 +1,5 @@
Name: umu-launcher
Version: 1.3.0
Version: 1.2.9
Release: 1%?dist
Summary: A tool for launching non-steam games with proton
+1 -1
View File
@@ -1,7 +1,7 @@
%define debug_package %{nil}
Name: dart
Version: 3.10.3
Version: 3.10.1
Release: 1%?dist
Summary: The Dart Language
License: BSD-3-Clause
+1 -1
View File
@@ -4,7 +4,7 @@
# https://github.com/twpayne/chezmoi
%global goipath github.com/twpayne/chezmoi
Version: 2.67.1
Version: 2.67.0
%gometa -f
@@ -14,7 +14,7 @@
# https://github.com/abenz1267/elephant
%global goipath github.com/abenz1267/elephant
Version: 2.16.1
Version: 2.16.0
%gometa -f
+1 -1
View File
@@ -12,7 +12,7 @@
# https://github.com/nektos/act
%global goipath github.com/nektos/act
Version: 0.2.83
Version: 0.2.82
%gometa -f
@@ -1,5 +1,5 @@
Name: groovy-docs
Version: 5.0.3
Version: 5.0.2
Release: 1%?dist
Summary: Documentation for the Groovy programming language
URL: https://groovy-lang.org/
+1 -1
View File
@@ -1,5 +1,5 @@
Name: groovy
Version: 5.0.3
Version: 5.0.2
Release: 1%?dist
Summary: A multi-faceted language for the Java platform
BuildArch: noarch
+2 -2
View File
@@ -1,5 +1,5 @@
%global commit bd3f0af4ac9bf5accb893ec345da5dc8f108fa22
%global commit_date 20251123
%global commit 1a431dc8d703a71b9548d830426ff6a2f0da602c
%global commit_date 20251102
%global shortcommit %{sub %commit 1 7}
Name: grabnim
+2 -2
View File
@@ -1,8 +1,8 @@
%global csrc_commit 561b417c65791cd8356b5f73620914ceff845d10
%global commit 2d0b62aa515c9d1b4132a5c83713d7d1e68840a0
%global commit 0f7b37846773f3193f29e628f75086788ac93fe5
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 2.3.1
%global commit_date 20251203
%global commit_date 20251120
%global debug_package %nil
Name: nim-nightly
+3 -1
View File
@@ -7,7 +7,7 @@
Name: python-%{pypi_name}
Version: %commit_date.%shortcommit
Release: 2%?dist
Release: 1%?dist
Summary: Colour your text / terminal to be more gay
License: MIT
URL: https://github.com/ms-jpq/gay
@@ -44,6 +44,8 @@ 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
+1 -1
View File
@@ -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.2
Version: 1.3.1
Release: 1%?dist
Summary: python3-library to convert Markdown with included LaTeX-Formulas to HTML with MathML
License: LGPL-2.1
+1
View File
@@ -10,6 +10,7 @@ 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
-6
View File
@@ -1,6 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "pyee.spec"
}
}
-48
View File
@@ -1,48 +0,0 @@
%global pypi_name pyee
%global _desc A rough port of Node.js's EventEmitter to Python with a few tricks of its own.
Name: python-%{pypi_name}
Version: 13.0.0
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/jfhbrook/pyee
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: pyee
%{?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 pyee
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md DEVELOPMENT.md CONTRIBUTORS.md CHANGELOG.md
%license LICENSE
%python3_sitelib/%{pypi_name}/__pycache__/*.cpython-*.pyc
%python3_sitelib/%{pypi_name}/*.py
%changelog
* Sun Nov 30 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
-1
View File
@@ -1 +0,0 @@
rpm.version(pypi("pyee"));
@@ -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.12
Version: 3.8.11
Release: 1%?dist
Summary: 16 color fork of the original Pywal
License: MIT
-5
View File
@@ -1,5 +0,0 @@
project pkg {
rpm {
spec = "pyzmq.spec"
}
}
-54
View File
@@ -1,54 +0,0 @@
%define debug_package %{nil}
%global pypi_name pyzmq
%global _desc Python bindings for zeromq.
Name: python-%{pypi_name}
Version: 27.1.0
Release: 1%?dist
Summary: Python bindings for zeromq
License: MIT
URL: https://github.com/zeromq/pyzmq
Source0: %{pypi_source}
BuildRequires: python3-devel
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: python3-scikit-build-core
BuildRequires: python3-cython
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: pyzmq
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 zmq
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md AUTHORS.md CONTRIBUTING.md SECURITY.md
%license LICENSE.md
%changelog
* Sun Nov 23 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
-1
View File
@@ -1 +0,0 @@
rpm.version(pypi("pyzmq"));
-6
View File
@@ -1,6 +0,0 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "smbus2.spec"
}
}
-50
View File
@@ -1,50 +0,0 @@
%global pypi_name smbus2
%global _desc A drop-in replacement for smbus-cffi/smbus-python in pure Python.
Name: python-%{pypi_name}
Version: 0.5.0
Release: 1%?dist
Summary: A drop-in replacement for smbus-cffi/smbus-python in pure Python
License: MIT
URL: https://github.com/kplindegaard/smbus2
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-wheel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%_desc
%package -n python3-%{pypi_name}
Summary: %{summary}
Provides: smbus2
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
%_desc
%prep
%autosetup -n smbus2-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files smbus2
%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc README.md CHANGELOG.md
%license LICENSE
%ghost %python3_sitelib/__pycache__/*.cpython-*.pyc
%ghost %python3_sitelib/%{name}/subcommands/__pycache__/*.cpython-*.pyc
%python3_sitelib/smbus2-%version.dist-info/*
%changelog
* Sun Nov 23 2025 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
-1
View File
@@ -1 +0,0 @@
rpm.version(pypi("smbus2"));
@@ -1,5 +1,5 @@
%global commit 5e3a96dcaa378d0937134b0fc5ae23fb3928e1f5
%global commit_date 20251203
%global commit e19edcea117f6737d60e53d8a4001d0853eee5ac
%global commit_date 20251120
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global pypi_name types-colorama
+1 -1
View File
@@ -2,7 +2,7 @@
%global _desc A schema and validator for YAML.
Name: python-%{pypi_name}
Version: 6.1.0
Version: 6.0.0
Release: 1%?dist
Summary: A schema and validator for YAML
License: MIT
+1 -1
View File
@@ -5,7 +5,7 @@
%global crate gitoxide
Name: rust-gitoxide
Version: 0.47.0
Version: 0.46.0
Release: 1%?dist
Summary: Command-line application for interacting with git repositories
+2 -2
View File
@@ -5,8 +5,8 @@
%global altdiffname cococonscious-%{crate}
Name: rust-koji
Version: 3.3.1
Release: 1%?dist
Version: 3.2.0
Release: 1%{?dist}
Summary: Interactive CLI for creating conventional commits
License: MIT
@@ -5,7 +5,7 @@
%global crate television
Name: rust-television
Version: 0.13.12
Version: 0.13.10
Release: 1%?dist
Summary: Cross-platform, fast and extensible general purpose fuzzy finder TUI

Some files were not shown because too many files have changed in this diff Show More