mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
Compare commits
388 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 44f0e34e79 | |||
| 9bed28d4ab | |||
| b8ec2be908 | |||
| 0e44c1f48e | |||
| d6d41f0599 | |||
| be4435fc7e | |||
| 04f8d55bf9 | |||
| 0fcaf3ffc0 | |||
| e77d733e04 | |||
| 7f356e6716 | |||
| 626fe758ef | |||
| 716e304eec | |||
| 432701ef70 | |||
| 5e6bf17a82 | |||
| 3167572692 | |||
| 37c3deb32c | |||
| c167c0bbaa | |||
| 44b4427914 | |||
| f8575db7b7 | |||
| 36e237255b | |||
| b16d5fdabd | |||
| c2d7e36003 | |||
| 3a4810e1c8 | |||
| 9d2cd161fd | |||
| 571de0404e | |||
| 55f4dd4f47 | |||
| 6612eed815 | |||
| 3e14da5df8 | |||
| 7388b23bba | |||
| bef36f254c | |||
| a55be36a59 | |||
| fa40367a47 | |||
| b554a3a86c | |||
| 5a50410ca3 | |||
| 49f0d89545 | |||
| 9816db5f83 | |||
| abd67e0958 | |||
| 1ab774ce06 | |||
| c7cd19afef | |||
| ae1e19c7c5 | |||
| 9c7c6db698 | |||
| eac4e471f9 | |||
| 2d663dfda1 | |||
| 1f014f6662 | |||
| 090d10d485 | |||
| a84dbf053b | |||
| 8e60ba185b | |||
| c95b1f8565 | |||
| e49f693183 | |||
| ac81d6cc58 | |||
| 51b81cfaa0 | |||
| 729577d4ec | |||
| b17c564f25 | |||
| 14606244c9 | |||
| 4c38dd1ef1 | |||
| 280b58b5f1 | |||
| c81e576af0 | |||
| ec058c3794 | |||
| 927991ee7d | |||
| 9d3216a0f3 | |||
| 1c7bc06f40 | |||
| 9ea70ecb14 | |||
| d173b1a328 | |||
| 6a0670f76c | |||
| 09583e6d0b | |||
| b4423626f6 | |||
| ca4f49e5ac | |||
| 8c89910d15 | |||
| 71c0e4fa90 | |||
| 6c5403af96 | |||
| 01e0d677c2 | |||
| 177ec7ea2a | |||
| ee73e64128 | |||
| 2ebc5bcd01 | |||
| 967592e54a | |||
| 83cd26edd0 | |||
| 6939a0a82a | |||
| 14aca1d021 | |||
| a6576cdf8f | |||
| 4c4f0a65aa | |||
| 574acfddad | |||
| d1ea058a8e | |||
| 2925452b8f | |||
| 9da5f7d439 | |||
| c950f85d99 | |||
| 74b70156b6 | |||
| 65bf267eb1 | |||
| 4ca1598ef7 | |||
| 6faf9c9d2c | |||
| 87b0fa31f5 | |||
| ab6526a622 | |||
| 5eeb82a84a | |||
| 6be35f3cf3 | |||
| 29718a7e26 | |||
| 915a65be60 | |||
| c927378264 | |||
| d19169d6fe | |||
| 35214b74c3 | |||
| 0bf267dc9d | |||
| ebabffee9a | |||
| 9e1478372d | |||
| 866c553529 | |||
| f1cfa19c6a | |||
| 4b5b399ede | |||
| 405dba6531 | |||
| f23df92a74 | |||
| 7582f6afb3 | |||
| 9f260cbb59 | |||
| 2ed1c1e7d8 | |||
| 0c11b38aa9 | |||
| a65efd197e | |||
| 1266dac744 | |||
| 104649b9b6 | |||
| edf5afdf64 | |||
| 653cecb541 | |||
| 80ec5a283a | |||
| 8362d456d7 | |||
| 916807dd1c | |||
| 73a69ba191 | |||
| 7cc959367b | |||
| 304225ef47 | |||
| e7b497a0ba | |||
| 9d140cb1dc | |||
| 9518b973a1 | |||
| 98b7ee21f9 | |||
| 69a9e1f524 | |||
| ef6483fa86 | |||
| 9a6fe9f57e | |||
| 3fd07693e6 | |||
| 5cfe593d1d | |||
| eddd7240b4 | |||
| 16dbadf1a4 | |||
| fdc5244db0 | |||
| a12b82bbb5 | |||
| 09c6ba0999 | |||
| f3498d185a | |||
| 0b7a345cbb | |||
| 4b29b0c0ef | |||
| 18d19b8ccb | |||
| b5643ea653 | |||
| c046cb96fc | |||
| 2e91e34c7c | |||
| 50ef7655ad | |||
| a04ab29762 | |||
| 564b4b5efc | |||
| af59966289 | |||
| 14c23573d5 | |||
| a775aba05b | |||
| c0ea496361 | |||
| a139fd1b10 | |||
| 380da4c1b0 | |||
| 9ea4014217 | |||
| a4e0d6a2f9 | |||
| 19ccd20030 | |||
| ea32fbf0ef | |||
| 610516759f | |||
| 4a0e3883ab | |||
| d0116a7eff | |||
| 93d7fc4b14 | |||
| 410caee026 | |||
| 422eac13f8 | |||
| 161a27551d | |||
| 0e9768cc48 | |||
| 5fb6a3c9d2 | |||
| f73145e260 | |||
| b3c05575cc | |||
| 2c23b5d553 | |||
| 705cf8d550 | |||
| c4ef2f0908 | |||
| 2673998f05 | |||
| 4caf46c9c0 | |||
| b39cb906e6 | |||
| c2fd47dc4b | |||
| 90ef67272b | |||
| 2896419ba2 | |||
| e97321b001 | |||
| 3d13c6521f | |||
| 2ff68b65cf | |||
| 653ebfec28 | |||
| f1b6c8eab7 | |||
| fad47a0a17 | |||
| 40ff359758 | |||
| fe65f7962d | |||
| bdd838ab49 | |||
| 2fe3cad675 | |||
| a5c6f2c900 | |||
| 4bdf867a1d | |||
| d79a708327 | |||
| c9038d1468 | |||
| f9af700e96 | |||
| 9b563fe4a4 | |||
| 76b2aa8373 | |||
| 60abf7f890 | |||
| bdf4f734a4 | |||
| 03d46a7c93 | |||
| b526c32a1d | |||
| 883fe6a7bb | |||
| 074b8c33ad | |||
| 3a449f40ab | |||
| 465855e0b7 | |||
| 45f7aef913 | |||
| b32c423413 | |||
| 7649c4f9a0 | |||
| 1550e1680e | |||
| f2316d4539 | |||
| 5cf637d780 | |||
| b3f15ace72 | |||
| da487763ac | |||
| 4b3ce85752 | |||
| 9738e02139 | |||
| 8f937512cf | |||
| 2be39debad | |||
| 40e5d36c5b | |||
| 872a56a20e | |||
| dad004ff7e | |||
| 3544bda352 | |||
| da31334a9f | |||
| 72b0e21a7b | |||
| 97fc431c8a | |||
| 9e3d75857f | |||
| f3373a3889 | |||
| 35d9682a72 | |||
| 849ef5f4ab | |||
| 85a20cdfd6 | |||
| 30a60977b2 | |||
| 83c53a96fb | |||
| 2cfd280a81 | |||
| 3f0983d21f | |||
| c2f6f17b62 | |||
| 7eb778d021 | |||
| 08437bb4a2 | |||
| a6fd16f2fe | |||
| a414340c52 | |||
| 6f4ec72fb7 | |||
| 1bd8fce1bc | |||
| 9125930f1e | |||
| 95274d41e6 | |||
| f5988ff887 | |||
| be46b944ca | |||
| 7f4480ed72 | |||
| 6fec6bd8e5 | |||
| 77434f5fe3 | |||
| d57316955e | |||
| 17613f253b | |||
| b1e9604dde | |||
| efd3786bd4 | |||
| 856769d97a | |||
| 608173f1c2 | |||
| f5bd01d13e | |||
| aad63a2a69 | |||
| 77df468183 | |||
| 11260eb90f | |||
| 2a7acf189a | |||
| dd6c11b027 | |||
| c4abde2c9d | |||
| 8ab02a4d12 | |||
| b5b6c63230 | |||
| 4dbfc50f3b | |||
| 8545494e6a | |||
| 417eb6f063 | |||
| 2f0250d909 | |||
| 51ab56fb05 | |||
| 809e605c41 | |||
| 5750869bc4 | |||
| dcaa615162 | |||
| a807cbcbaa | |||
| 2bcfcc9135 | |||
| 9ba7d3e5de | |||
| c67da6924a | |||
| a181c2d097 | |||
| 23a32e0196 | |||
| 9048d021eb | |||
| 30ff86166c | |||
| cc98b1f1bc | |||
| 30bf198a26 | |||
| 60bad06662 | |||
| e31c2a8831 | |||
| c3eeebaf65 | |||
| 813e784999 | |||
| 1219215b1a | |||
| 02e3f9900e | |||
| c29af05d3a | |||
| 9751eaad36 | |||
| ca53187d37 | |||
| 8a97d9779c | |||
| c95f6af044 | |||
| 017b07f911 | |||
| 4302147f65 | |||
| 09b4ee98df | |||
| 7787f8d6b8 | |||
| 0af2cbb12b | |||
| 43e9a96824 | |||
| ad1f54213b | |||
| 786d96bee4 | |||
| 3c62aa87e5 | |||
| 94b104cd29 | |||
| b490f5b81a | |||
| dce0a5ef2b | |||
| 6ded7befdb | |||
| 218bd30db1 | |||
| 6c072540b0 | |||
| 3515806ec0 | |||
| 017b256b63 | |||
| 336fbc2468 | |||
| 2302b73024 | |||
| 4e9abfcc5f | |||
| 0b0e93f426 | |||
| 8cc5ceef29 | |||
| e1af7bbb17 | |||
| 1d47b39aa7 | |||
| c3dd47e769 | |||
| c0a37811da | |||
| 3696664cbd | |||
| 15faef0893 | |||
| 6a0d03f6da | |||
| c42421b5b3 | |||
| c5ba569e7a | |||
| 5e897aa0b1 | |||
| cf4d3771a8 | |||
| 309c0ea8e9 | |||
| fc3dd1ff16 | |||
| 025d656531 | |||
| c2945dde74 | |||
| cc7291e23e | |||
| 0d144c5012 | |||
| 8347adb39c | |||
| e94d4ec443 | |||
| 78c0207c6f | |||
| 6ef23b8806 | |||
| a0986cfd06 | |||
| 553e20db75 | |||
| 8e25a90d28 | |||
| 53028ef003 | |||
| 2bdf8cae9b | |||
| 8f45b5020a | |||
| ef8320a307 | |||
| 74cd3e9340 | |||
| e4e7efe3ae | |||
| fbed109d3c | |||
| cc15a1f6e8 | |||
| 15dd2e20f4 | |||
| 6bcf82e070 | |||
| d47ad48685 | |||
| f27fbe4f01 | |||
| 543063bb89 | |||
| 07b486e4c3 | |||
| 8115e7e2af | |||
| e2008d945a | |||
| e93749a1a0 | |||
| 883cc65db4 | |||
| f1ecba2d3d | |||
| 44be04411f | |||
| 07ed991a89 | |||
| 76f03b9510 | |||
| ae399b8f0e | |||
| 09c3bf1bcd | |||
| c1bdce1de9 | |||
| 5d71a8bee4 | |||
| 561a9be95c | |||
| b6ba426cb2 | |||
| 5a89f39353 | |||
| 93673f29e7 | |||
| 801587d596 | |||
| d52578cc25 | |||
| a28f3185fb | |||
| bb191d2ab5 | |||
| 400c24a097 | |||
| eccb75906f | |||
| e8195f535d | |||
| b717a2e97e | |||
| 6325c47b2f | |||
| 487186f19f | |||
| fcb3d08f9e | |||
| 7948282c88 | |||
| 2ffbf998bc | |||
| 5795c707c7 | |||
| 3b9c7c3497 | |||
| 8a270679b4 | |||
| 53acdc2987 | |||
| 4545b0fc76 | |||
| f0060977cb | |||
| d019bfdb8b | |||
| 2bfc352f00 | |||
| c5116cd9d8 | |||
| 32028039e2 | |||
| 56ca8b7488 | |||
| c568a655f5 | |||
| b6873f3878 |
@@ -1,16 +1,17 @@
|
||||
{
|
||||
"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"
|
||||
"rhaiscript.vscode-rhai",
|
||||
"1dot75cm.rpmspec",
|
||||
"hashicorp.hcl",
|
||||
"redhat.vscode-xml"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
@@ -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}`);
|
||||
}
|
||||
};
|
||||
@@ -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();
|
||||
};
|
||||
@@ -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"
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
git config --global commit.gpgsign true
|
||||
|
||||
- name: Backport Action
|
||||
uses: sorenlouv/backport-github-action@v9.5.1
|
||||
uses: sorenlouv/backport-github-action@v10.2.0
|
||||
with:
|
||||
github_token: ${{ secrets.RABONEKO_BACKPORT_GITHUB_TOKEN }}
|
||||
auto_backport_label_prefix: sync-
|
||||
|
||||
@@ -13,9 +13,9 @@ jobs:
|
||||
matrix:
|
||||
branch:
|
||||
- frawhide
|
||||
- f41
|
||||
- f42
|
||||
- f43
|
||||
- f42
|
||||
- f41
|
||||
- el10
|
||||
container:
|
||||
image: ghcr.io/terrapkg/builder:frawhide
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Vendored
+4
-1
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"rhaiscript.vscode-rhai"
|
||||
"rhaiscript.vscode-rhai",
|
||||
"1dot75cm.rpmspec",
|
||||
"hashicorp.hcl",
|
||||
"redhat.vscode-xml"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
// There is no HCL extension, but the Terraform extension grants HCL support
|
||||
{
|
||||
"auto_install_extensions": {
|
||||
"RPM Spec": true,
|
||||
"XML": true,
|
||||
"rhai": true,
|
||||
"Terraform": true
|
||||
}
|
||||
}
|
||||
@@ -42,6 +42,15 @@ 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,7 +1,7 @@
|
||||
%global __requires_exclude ^lib-.*.so
|
||||
%global __provides_exclude ^lib-.*.so
|
||||
|
||||
%global ver Audacity-3.7.5
|
||||
%global ver Audacity-3.7.6
|
||||
%global sanitized_ver %(echo %{ver} | sed 's/Audacity-//g')
|
||||
|
||||
Name: audacity-freeworld
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%undefine __brp_mangle_shebangs
|
||||
|
||||
Name: chdig
|
||||
Version: 25.11.1
|
||||
Version: 25.12.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.810
|
||||
Version: 0.0.821
|
||||
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-canary
|
||||
Version: 0.0.810
|
||||
Version: 0.0.821
|
||||
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.115
|
||||
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
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord-ptb-openasar
|
||||
Version: 0.0.166
|
||||
Version: 0.0.169
|
||||
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
|
||||
Version: 0.0.166
|
||||
Version: 0.0.169
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers.
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
|
||||
|
||||
Name: discord
|
||||
Version: 0.0.115
|
||||
Version: 0.0.117
|
||||
Release: 1%?dist
|
||||
Summary: Free Voice and Text Chat for Gamers
|
||||
URL: https://discord.com
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global commit 9615228a515fd77abb0cab5de21528f1f33d26f6
|
||||
%global commit_date 20251104
|
||||
%global commit 6f3bee3b4a1c9ec65fcba586fc7fc1a804d567ba
|
||||
%global commit_date 20251205
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
Name: envision-nightly
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 1837c8a41f33894c96ab0e8102f0f2c2aa858766
|
||||
%global shortcommit %{sub %{commit} 1 7}
|
||||
%global commit_date 20251119
|
||||
%global commit_date 20251206
|
||||
%global devel_name QtColorWidgets
|
||||
%global _distro_extra_cflags -fuse-ld=mold
|
||||
%global _distro_extra_cxxflags -fuse-ld=mold
|
||||
|
||||
@@ -1,38 +1,22 @@
|
||||
%global commit 3f5eda113f33fead76a5a53e0b71c11b254d68fd
|
||||
%global commit df6d6b9c8ce880c8900c405f834136b83da710cf
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20250615
|
||||
%global ver 1.10.1
|
||||
%global commit_date 20251207
|
||||
%global ver 1.11.3^
|
||||
%global base_name goofcord
|
||||
%global git_name GoofCord
|
||||
%global debug_package %{nil}
|
||||
# Exclude private libraries
|
||||
%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$
|
||||
%ifnarch aarch64 armv7hl armv7l
|
||||
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$
|
||||
%elifarch aarch64 armv7hl armv7l
|
||||
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$
|
||||
%endif
|
||||
|
||||
%electronmeta
|
||||
|
||||
Name: %{base_name}-nightly
|
||||
Version: %{ver}^%{commit_date}.git.%{shortcommit}
|
||||
Release: 1%{?dist}
|
||||
Version: %{ver}%{commit_date}.git.%{shortcommit}
|
||||
Release: 1%?dist
|
||||
License: OSL-3.0
|
||||
Summary: A privacy-minded Legcord fork.
|
||||
Group: Applications/Internet
|
||||
URL: https://github.com/Milkshiift/%{git_name}
|
||||
Source0: %{url}/archive/%{commit}/%{git_name}-%{commit}.tar.gz
|
||||
BuildRequires: anda-srpm-macros >= 0.2.26
|
||||
BuildRequires: bun-bin
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: git
|
||||
BuildRequires: make
|
||||
BuildRequires: nodejs
|
||||
BuildRequires: nodejs-npm
|
||||
BuildRequires: python3
|
||||
%ifarch aarch64
|
||||
BuildRequires: zlib-ng-compat-devel
|
||||
%endif
|
||||
Packager: Gilver E. <rockgrub@disroot.org>
|
||||
|
||||
%description
|
||||
@@ -42,59 +26,31 @@ A highly configurable and privacy minded Discord client.
|
||||
%autosetup -n %{git_name}-%{commit}
|
||||
|
||||
%build
|
||||
%ifarch aarch64 armv7hl armv7l
|
||||
%ifarch %{arm64} armv7hl armv7l
|
||||
sed -i '/\"x64\",/d' electron-builder.ts
|
||||
%endif
|
||||
bun install
|
||||
bun run packageLinux --publish=never
|
||||
%bun_build -r build -R
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/%{git_name}
|
||||
%ifarch x86_64
|
||||
mv dist/linux-unpacked/* -t %{buildroot}%{_datadir}/%{git_name}
|
||||
%elifarch aarch64
|
||||
mv dist/linux-arm64-unpacked/* -t %{buildroot}%{_datadir}/%{git_name}
|
||||
%elifarch armv7hl armv7l
|
||||
mv dist/linux-armv7l-unpacked/* -t %{buildroot}%{_datadir}/%{git_name}
|
||||
%endif
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -sf %{_datadir}/%{git_name}/%{git_name} %{buildroot}%{_bindir}/%{git_name}
|
||||
install -Dm644 dist/.icon-set/icon_16x16.png %{buildroot}/%{_iconsdir}/hicolor/16x16/apps/%{git_name}.png
|
||||
install -Dm644 dist/.icon-set/icon_32.png %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/%{git_name}.png
|
||||
install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}/%{_iconsdir}/hicolor/48x48/apps/%{git_name}.png
|
||||
install -Dm644 dist/.icon-set/icon_64.png %{buildroot}/%{_iconsdir}/hicolor/64x64/apps/%{git_name}.png
|
||||
install -Dm644 dist/.icon-set/icon_128.png %{buildroot}/%{_iconsdir}/hicolor/128x128/apps/%{git_name}.png
|
||||
install -Dm644 dist/.icon-set/icon_256.png %{buildroot}/%{_iconsdir}/hicolor/256x256/apps/%{git_name}.png
|
||||
install -Dm644 dist/.icon-set/icon_512.png %{buildroot}/%{_iconsdir}/hicolor/512x512/apps/%{git_name}.png
|
||||
install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}/%{_iconsdir}/hicolor/1024x1024/apps/%{git_name}.png
|
||||
|
||||
%ifarch x86_64
|
||||
dist/%{git_name}-*x86_64.AppImage --appimage-extract '*.desktop'
|
||||
%elifarch aarch64
|
||||
dist/%{git_name}-*arm64.AppImage --appimage-extract '*.desktop'
|
||||
%elifarch armv7hl armv7l
|
||||
dist/%{git_name}-*armv7l.AppImage --appimage-extract '*.desktop'
|
||||
%endif
|
||||
desktop-file-install --set-key=Exec --set-value="%{_datadir}/%{git_name}/%{git_name} --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto %U" squashfs-root/%{git_name}.desktop
|
||||
%electron_install -d %{base_name} -s %{base_name} -i %{base_name} -D -O -U %U -E UseOzonePlatform,WaylandWindowDecorations
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{git_name}.desktop
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{base_name}.desktop
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{git_name}
|
||||
%{_datadir}/applications/%{git_name}.desktop
|
||||
%{_datadir}/%{git_name}/
|
||||
%{_iconsdir}/hicolor/16x16/apps/%{git_name}.png
|
||||
%{_iconsdir}/hicolor/32x32/apps/%{git_name}.png
|
||||
%{_iconsdir}/hicolor/48x48/apps/%{git_name}.png
|
||||
%{_iconsdir}/hicolor/64x64/apps/%{git_name}.png
|
||||
%{_iconsdir}/hicolor/128x128/apps/%{git_name}.png
|
||||
%{_iconsdir}/hicolor/256x256/apps/%{git_name}.png
|
||||
%{_iconsdir}/hicolor/512x512/apps/%{git_name}.png
|
||||
%{_iconsdir}/hicolor/1024x1024/apps/%{git_name}.png
|
||||
%{_bindir}/%{base_name}
|
||||
%{_datadir}/applications/%{base_name}.desktop
|
||||
%{_libdir}/%{base_name}/
|
||||
%{_iconsdir}/hicolor/16x16/apps/%{base_name}.png
|
||||
%{_iconsdir}/hicolor/32x32/apps/%{base_name}.png
|
||||
%{_iconsdir}/hicolor/48x48/apps/%{base_name}.png
|
||||
%{_iconsdir}/hicolor/64x64/apps/%{base_name}.png
|
||||
%{_iconsdir}/hicolor/128x128/apps/%{base_name}.png
|
||||
%{_iconsdir}/hicolor/256x256/apps/%{base_name}.png
|
||||
%{_iconsdir}/hicolor/512x512/apps/%{base_name}.png
|
||||
%{_iconsdir}/hicolor/1024x1024/apps/%{base_name}.png
|
||||
|
||||
%changelog
|
||||
* Sat Jun 28 2025 Gilver E. <rockgrub@disroot.org> - 1.10.1^20250615.git.3f5eda1
|
||||
|
||||
@@ -1,8 +1,13 @@
|
||||
rpm.global("commit", gh_commit("Milkshiift/GoofCord"));
|
||||
if rpm.changed {
|
||||
if rpm.changed() {
|
||||
let v = gh_tag("Milkshiift/GoofCord");
|
||||
v.crop(1);
|
||||
rpm.global("ver", v);
|
||||
if `[\d.]+-beta\.\d+`.find_all(v).len == 0 {
|
||||
let v = sub(`-beta\.\d+`, "~", v);
|
||||
rpm.global("ver", v);
|
||||
} else {
|
||||
rpm.global("ver", v + `^`);
|
||||
}
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@ project pkg {
|
||||
rpm {
|
||||
spec = "goofcord.spec"
|
||||
}
|
||||
labels {
|
||||
mock = 1
|
||||
}
|
||||
labels {
|
||||
mock = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,32 +1,17 @@
|
||||
%global git_name GoofCord
|
||||
%global debug_package %{nil}
|
||||
# Exclude private libraries
|
||||
%global __provides_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*))$
|
||||
%ifnarch aarch64 armv7hl armv7l
|
||||
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\aarch64*\\.so.*))$
|
||||
%elifarch aarch64 armv7hl armv7l
|
||||
%global __requires_exclude ^((libffmpeg[.]so.*)|(lib.*\\.so.*)|(.*\\x86_64*\\.so.*)|(.*\\x86-64*\\.so.*))$
|
||||
%endif
|
||||
|
||||
%electronmeta
|
||||
|
||||
Name: goofcord
|
||||
Version: 1.11.1.beta.1
|
||||
Version: 1.11.3
|
||||
Release: 1%?dist
|
||||
License: OSL-3.0
|
||||
Summary: A privacy-minded Legcord fork.
|
||||
Group: Applications/Internet
|
||||
URL: https://github.com/Milkshiift/%{git_name}
|
||||
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
|
||||
BuildRequires: anda-srpm-macros >= 0.2.26
|
||||
BuildRequires: bun-bin
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: make
|
||||
BuildRequires: nodejs
|
||||
BuildRequires: nodejs-npm
|
||||
BuildRequires: python3
|
||||
%ifarch aarch64
|
||||
BuildRequires: zlib-ng-compat-devel
|
||||
%endif
|
||||
Packager: Gilver E. <rockgrub@disroot.org>
|
||||
|
||||
%description
|
||||
@@ -36,41 +21,13 @@ A highly configurable and privacy minded Discord client.
|
||||
%autosetup -n %{git_name}-%{version}
|
||||
|
||||
%build
|
||||
%ifarch aarch64 armv7hl armv7l
|
||||
%ifarch %{arm64} armv7hl armv7l
|
||||
sed -i '/\"x64\",/d' electron-builder.ts
|
||||
%endif
|
||||
bun install
|
||||
bun run packageLinux
|
||||
%bun_build -r build -R
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||
%ifarch x86_64
|
||||
mv dist/linux-unpacked/* -t %{buildroot}%{_datadir}/%{name}
|
||||
%elifarch aarch64
|
||||
mv dist/linux-arm64-unpacked/* -t %{buildroot}%{_datadir}/%{name}
|
||||
%elifarch armv7hl armv7l
|
||||
mv dist/linux-armv7l-unpacked/* -t %{buildroot}%{_datadir}/%{name}
|
||||
%endif
|
||||
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
ln -sf %{_datadir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -Dm644 dist/.icon-set/icon_16x16.png %{buildroot}/%{_iconsdir}/hicolor/16x16/apps/%{name}.png
|
||||
install -Dm644 dist/.icon-set/icon_32.png %{buildroot}/%{_iconsdir}/hicolor/32x32/apps/%{name}.png
|
||||
install -Dm644 dist/.icon-set/icon_48x48.png %{buildroot}/%{_iconsdir}/hicolor/48x48/apps/%{name}.png
|
||||
install -Dm644 dist/.icon-set/icon_64.png %{buildroot}/%{_iconsdir}/hicolor/64x64/apps/%{name}.png
|
||||
install -Dm644 dist/.icon-set/icon_128.png %{buildroot}/%{_iconsdir}/hicolor/128x128/apps/%{name}.png
|
||||
install -Dm644 dist/.icon-set/icon_256.png %{buildroot}/%{_iconsdir}/hicolor/256x256/apps/%{name}.png
|
||||
install -Dm644 dist/.icon-set/icon_512.png %{buildroot}/%{_iconsdir}/hicolor/512x512/apps/%{name}.png
|
||||
install -Dm644 dist/.icon-set/icon_1024.png %{buildroot}/%{_iconsdir}/hicolor/1024x1024/apps/%{name}.png
|
||||
|
||||
%ifarch x86_64
|
||||
dist/%{git_name}-*x86_64.AppImage --appimage-extract '*.desktop'
|
||||
%elifarch aarch64
|
||||
dist/%{git_name}-*arm64.AppImage --appimage-extract '*.desktop'
|
||||
%elifarch armv7hl armv7l
|
||||
dist/%{git_name}-*armv7l.AppImage --appimage-extract '*.desktop'
|
||||
%endif
|
||||
desktop-file-install --set-key=Exec --set-value="%{_datadir}/%{name}/%{name} --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform-hint=auto %U" squashfs-root/%{name}.desktop
|
||||
%electron_install -D -O -U %U -E UseOzonePlatform,WaylandWindowDecorations
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
@@ -80,7 +37,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/%{name}/
|
||||
%{_libdir}/%{name}/
|
||||
%{_iconsdir}/hicolor/16x16/apps/%{name}.png
|
||||
%{_iconsdir}/hicolor/32x32/apps/%{name}.png
|
||||
%{_iconsdir}/hicolor/48x48/apps/%{name}.png
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
rpm.version(gh_tag("Milkshiift/GoofCord"));
|
||||
let v = gh_tag("Milkshiift/GoofCord");
|
||||
|
||||
if `[\d.]+-beta\.\d+`.find_all(v).len == 0 {
|
||||
rpm.version(v);
|
||||
}
|
||||
|
||||
@@ -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 <solomoncyj@gmail.com>
|
||||
@@ -18,6 +18,7 @@ BuildRequires: alsa-lib-devel
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pkgconfig(xcb)
|
||||
|
||||
|
||||
%description
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "helium-browser-bin.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,119 @@
|
||||
%define debug_package %{nil}
|
||||
|
||||
%global __requires_exclude libffmpeg.so|libvk_swiftshader.so|libvulkan.so|libEGL.so|libGLESv2.so
|
||||
%global __provides_exclude_from %{_libdir}/%{name}/.*\\.so
|
||||
%global appid net.imput.helium
|
||||
|
||||
Name: helium-browser-bin
|
||||
Version: 0.7.2.1
|
||||
Release: 1%?dist
|
||||
Summary: Private, fast, and honest web browser based on Chromium
|
||||
|
||||
URL: https://helium.computer
|
||||
License: GPL-3.0-only AND BSD-3-Clause
|
||||
|
||||
Source0: https://github.com/imputnet/helium-linux/releases/download/%{version}/helium-%{version}-x86_64_linux.tar.xz
|
||||
Source1: https://github.com/imputnet/helium-linux/releases/download/%{version}/helium-%{version}-arm64_linux.tar.xz
|
||||
Source2: net.imput.helium.metainfo.xml
|
||||
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
|
||||
BuildRequires: terra-appstream-helper
|
||||
|
||||
Requires: xdg-utils
|
||||
Requires: liberation-fonts
|
||||
|
||||
Packager: Nadia P <nyadiia@pm.me>
|
||||
|
||||
%description
|
||||
Private, fast, and honest web browser based on Chromium.
|
||||
Based on ungoogled-chromium with additional privacy and usability improvements.
|
||||
|
||||
%prep
|
||||
%ifarch x86_64
|
||||
%autosetup -n helium-%{version}-x86_64_linux
|
||||
%endif
|
||||
%ifarch aarch64
|
||||
%autosetup -n helium-%{version}-arm64_linux -T -b 1
|
||||
%endif
|
||||
|
||||
sed -i \
|
||||
-e 's/Exec=chromium/Exec=%{name}/' \
|
||||
-e 's/Name=Helium$/Name=Helium Browser/' \
|
||||
-e 's/Icon=helium/Icon=%{appid}/' \
|
||||
helium.desktop
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
install -dm755 %{buildroot}%{_libdir}/%{name}
|
||||
cp -a * %{buildroot}%{_libdir}/%{name}/
|
||||
|
||||
sed -i 's/exists_desktop_file || generate_desktop_file/true/' \
|
||||
%{buildroot}%{_libdir}/%{name}/chrome-wrapper
|
||||
|
||||
install -Dm644 helium.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
install -Dm644 product_logo_256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{appid}.png
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/%{name}/helium.desktop
|
||||
rm -f %{buildroot}%{_libdir}/%{name}/product_logo_256.png
|
||||
|
||||
install -dm755 %{buildroot}%{_bindir}
|
||||
cat > %{buildroot}%{_bindir}/%{name} << EOF
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
XDG_CONFIG_HOME="\${XDG_CONFIG_HOME:-\"\$HOME/.config\"}"
|
||||
|
||||
SYS_CONF="%{_sysconfdir}/helium-browser-flags.conf"
|
||||
USR_CONF="\${XDG_CONFIG_HOME}/helium-browser-flags.conf"
|
||||
|
||||
FLAGS=()
|
||||
|
||||
append_flags_file() {
|
||||
local file="\$1"
|
||||
[[ -r "\$file" ]] || return 0
|
||||
local line safe_line
|
||||
while IFS= read -r line; do
|
||||
[[ "\$line" =~ ^[[:space:]]*(#|\$) ]] && continue
|
||||
case "\$line" in
|
||||
*'\$('*|*'\`'*)
|
||||
echo "Warning: ignoring unsafe line in \$file: \$line" >&2
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
set -f
|
||||
safe_line=\${line//\$/\\\\\$}
|
||||
safe_line=\${safe_line//~/\\\\~}
|
||||
eval "set -- \$safe_line"
|
||||
set +f
|
||||
for token in "\$@"; do
|
||||
FLAGS+=("\$token")
|
||||
done
|
||||
done < "\$file"
|
||||
}
|
||||
|
||||
append_flags_file "\$SYS_CONF"
|
||||
append_flags_file "\$USR_CONF"
|
||||
|
||||
if [[ -n "\${HELIUM_USER_FLAGS:-}" ]]; then
|
||||
read -r -a ENV_FLAGS <<< "\$HELIUM_USER_FLAGS"
|
||||
FLAGS+=("\${ENV_FLAGS[@]}")
|
||||
fi
|
||||
|
||||
exec %{_libdir}/%{name}/chrome-wrapper "\${FLAGS[@]}" "\$@"
|
||||
EOF
|
||||
chmod 755 %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
%terra_appstream -o %{SOURCE2}
|
||||
|
||||
%files
|
||||
%{_libdir}/%{name}/
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/icons/hicolor/256x256/apps/%{appid}.png
|
||||
%{_metainfodir}/%{appid}.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Wed Dec 03 2025 Nadia P <nyadiia@pm.me> - 0.6.9.1-1
|
||||
- Initial package
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<component type="runtime">
|
||||
<id>net.imput.helium</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-3.0-only AND BSD-3-Clause</project_license>
|
||||
|
||||
<name>Helium Browser</name>
|
||||
<summary>Private, fast, and honest web browser based on Chromium.</summary>
|
||||
|
||||
<icon type="local">
|
||||
/usr/share/icons/hicolor/256x256/apps/net.imput.helium.png
|
||||
</icon>
|
||||
<description>
|
||||
<p>
|
||||
Private, fast, and honest web browser based on Chromium.
|
||||
Based on ungoogled-chromium with additional privacy and usability improvements.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://helium.computer</url>
|
||||
|
||||
<releases>
|
||||
<release version="0.6.9.1" />
|
||||
</releases>
|
||||
</component>
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("imputnet/helium-linux"));
|
||||
@@ -3,18 +3,18 @@
|
||||
%global gtk4_version 4.14.4
|
||||
%global libadwaita_version 1.5.1
|
||||
%global pure_protobuf_version 2.0.0
|
||||
%global raw_ver v1.93.0
|
||||
%global raw_ver v1.96.0
|
||||
|
||||
Name: komikku
|
||||
Version: 1.93.0
|
||||
Version: 1.96.0
|
||||
%forgemeta
|
||||
Release: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: A manga reader for GNOME
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://valos.gitlab.io/Komikku
|
||||
URL: https://apps.gnome.org/Komikku/
|
||||
Source0: https://codeberg.org/valos/%{appname}/archive/%{raw_ver}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "librepods.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
<?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>
|
||||
@@ -0,0 +1,63 @@
|
||||
%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
|
||||
@@ -0,0 +1,4 @@
|
||||
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);
|
||||
@@ -1,9 +1,9 @@
|
||||
# Disable X11 for RHEL 10+
|
||||
%bcond x11 %[%{undefined rhel} || 0%{?rhel} < 10]
|
||||
|
||||
%global commit e6885cb926ca05a23f54f1b44b250f6f981b4e46
|
||||
%global commit dbd7a905b6ed47dd8f0acd09a1f4cc9a08e854a6
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20251119
|
||||
%global commit_date 20251205
|
||||
%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 \
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: peazip
|
||||
Version: 10.7.0
|
||||
Version: 10.8.0
|
||||
Release: 1%?dist
|
||||
Summary: Free Zip / Unzip software and Rar file extractor. Cross-platform file and archive manager
|
||||
License: LGPL-3.0-only
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "rpinters.spec"
|
||||
}
|
||||
labels {
|
||||
nightly = 1
|
||||
}
|
||||
}
|
||||
@@ -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 <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
|
||||
@@ -0,0 +1,5 @@
|
||||
rpm.global("commit", gh_commit("raspberrypi-ui/rpinters"));
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
rpm.global("commit_date", date());
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
%global ver 2025-11-20
|
||||
%global ver 2025-12-07
|
||||
%global goodver %(echo %ver | sed 's/-//g')
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
%bcond_without mold
|
||||
|
||||
@@ -1,10 +1,34 @@
|
||||
%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: 1%?dist
|
||||
Release: 2%?dist
|
||||
Summary: Display and control your Android device
|
||||
License: Apache-2.0
|
||||
License: Apache-2.0 AND Proprietary
|
||||
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)
|
||||
@@ -18,29 +42,78 @@ 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
|
||||
%meson_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
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -48,5 +121,17 @@ export VERSION=v%version
|
||||
%_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
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
%endif
|
||||
|
||||
Name: signal-desktop
|
||||
Version: 7.80.0
|
||||
Version: 7.81.0
|
||||
Release: 1%?dist
|
||||
Summary: A private messenger for Windows, macOS, and Linux
|
||||
URL: https://signal.org
|
||||
@@ -87,8 +87,10 @@ Signal Desktop links with Signal on Android or iOS and lets you message from you
|
||||
|
||||
%build
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm --prefix sticker-creator install
|
||||
pnpm --prefix sticker-creator build
|
||||
pushd sticker-creator
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm build
|
||||
popd
|
||||
pnpm run build-linux --dir
|
||||
|
||||
%install
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#? https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=throne-git
|
||||
|
||||
Name: throne
|
||||
Version: 1.0.8
|
||||
Version: 1.0.12
|
||||
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: 1.9.0
|
||||
Version: 2.0.0
|
||||
Release: 1%?dist
|
||||
|
||||
License: GPL-3.0
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
Name: nautilus-open-any-terminal
|
||||
Version: 0.7.0
|
||||
Release: 1%?dist
|
||||
Release: 2%?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,6 +18,7 @@ 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.2
|
||||
%global ver 0.11.0
|
||||
|
||||
%global commit 671792bcfeaaa58022941ed40c3993cd7f04e38d
|
||||
%global commit_date 20251119
|
||||
%global commit fe686486ac867a1a24f99c753bb40ffed338e4b0
|
||||
%global commit_date 20251206
|
||||
%global shortcommit %{sub %commit 1 7}
|
||||
|
||||
Name: %realname.nightly
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
%global realname hyprwayland-scanner
|
||||
%global ver 0.4.5
|
||||
%global commit b3b0f1f40ae09d4447c20608e5a4faf8bf3c492d
|
||||
%global commit f6cf414ca0e16a4d30198fd670ec86df3c89f671
|
||||
%global shortcommit %{sub %commit 1 7}
|
||||
%global commit_date 20250815
|
||||
%global commit_date 20251121
|
||||
|
||||
Name: %realname.nightly
|
||||
Version: %ver^%{commit_date}git.%shortcommit
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%global framework kio
|
||||
|
||||
%global stable_kf6 stable
|
||||
%global majmin_ver_kf6 6.20
|
||||
%global ecm_ver 6.20.0
|
||||
%global majmin_ver_kf6 6.21
|
||||
%global ecm_ver 6.21.0
|
||||
%global ecm_rel 1
|
||||
|
||||
Name: kf6-%{framework}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global commit 7f92a0f5aab4936f24f5a47a717a7444af1d3f42
|
||||
%global commit 2c0685cde50628c9791ccff1ad02af21f27a2a1b
|
||||
|
||||
Name: lightdm-kde-greeter
|
||||
Version: 6.0.5
|
||||
Version: 6.1.0
|
||||
Release: 1%?dist
|
||||
Summary: Login screen using the LightDM framework
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-app-launch
|
||||
%global commit ca7670c0a74c42f03c0bb4196773519c270a0d75
|
||||
%global commit f4b7c634dc4f95086dcda70113fbc2f6ce22eed7
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-app-launch
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit c3af1ac5564c1f034dbea120ccf1a46a36977495
|
||||
%global commit 4652fb4fb04569bea5102e9e52c23ca66a131435
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
# prevent library files from being installed
|
||||
%global cargo_install_lib 0
|
||||
|
||||
%global upstream_version v2.11.1
|
||||
%global upstream_version v2.12.0
|
||||
%global ver %{sub %upstream_version 2}
|
||||
|
||||
Name: walker
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
%global __requires_exclude ^libaaudio\\.so.*|^libandroid\\.so.*|^libmediandk\\.so.*|^liblog\\.so.*|^libc\\.so.*|^libm\\.so.*|^libdl\\.so.*|^libcrypt\\.so.*|^libstdc\\+\\+\\.so.*|^libncursesw\\.so.*|^libtinfo\\.so.*|^libnsl\\.so.*|^libpanelw\\.so.*$
|
||||
|
||||
Name: android-studio
|
||||
Version: 2025.2.1.8
|
||||
Version: 2025.2.2.7
|
||||
Release: 1%?dist
|
||||
Summary: Official IDE for Android development
|
||||
License: Apache-2.0
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
%global appid sh.oven.bun
|
||||
|
||||
Name: bun-bin
|
||||
Version: 1.3.2
|
||||
Release: 3%?dist
|
||||
Version: 1.3.3
|
||||
Release: 1%?dist
|
||||
Summary: Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
|
||||
License: MIT
|
||||
URL: https://bun.sh
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
%endif
|
||||
|
||||
Name: codium
|
||||
Version: 1.105.17075
|
||||
Version: 1.106.37943
|
||||
Release: 1%?dist
|
||||
Summary: Code editing. Redefined.
|
||||
License: MIT
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<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.
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: flutter
|
||||
Version: 3.38.2
|
||||
Version: 3.38.4
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
%global commit 9831709fcaab578c2f22ecabd495670dbe3e07d1
|
||||
%global commit 08c9661683edc1e9e63d8e6abd469a68faaee575
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global fulldate 2025-11-17
|
||||
%global fulldate 2025-12-05
|
||||
%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. <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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "yarnpkg-berry.spec"
|
||||
}
|
||||
labels {
|
||||
subrepo = "extras"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
# 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) {
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(npm("@yarnpkg/cli"));
|
||||
@@ -0,0 +1,68 @@
|
||||
%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
|
||||
@@ -0,0 +1,7 @@
|
||||
<?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>
|
||||
@@ -1,16 +1,22 @@
|
||||
%global commit 1fab43d467c3e610bd72cfb94ac12d09d791f397
|
||||
%global commit 9f344f093e1b5fee08937111569b106dbeee2410
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commit_date 20251120
|
||||
%global ver 0.215.0
|
||||
%global commit_date 20251207
|
||||
%global ver 0.217.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
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?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>
|
||||
@@ -1,11 +1,17 @@
|
||||
%bcond_with check
|
||||
%bcond_with debug_no_build
|
||||
|
||||
%global ver 0.214.0-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
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?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>
|
||||
@@ -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.3
|
||||
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
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
%global fontdescription %{expand:
|
||||
Versatile typeface for code, from code.}
|
||||
|
||||
Version: 33.3.4
|
||||
Version: 33.3.6
|
||||
Release: 1%?dist
|
||||
Packager: Cappy Ishihara <cappy@fyralabs.com>
|
||||
Summary: Versatile typeface for code, from code.
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
project pkg {
|
||||
arches = ["x86_64"]
|
||||
rpm {
|
||||
spec = "juliamono.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
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
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("cormullion/juliamono"));
|
||||
@@ -1,6 +1,6 @@
|
||||
%define debug_package %nil
|
||||
%define _ttfontsdir %{_datadir}/fonts/maple
|
||||
%global upstream_ver v7.8
|
||||
%global upstream_ver v7.9
|
||||
%define sanitized_ver %(echo "$( sed 's/^.//;s/-/~/' <<< "%{upstream_ver}" )")
|
||||
|
||||
Name: maple-fonts
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: sarasa-gothic-fonts
|
||||
Version: 1.0.34
|
||||
Version: 1.0.35
|
||||
Release: 1%?dist
|
||||
URL: https://github.com/be5invis/Sarasa-Gothic
|
||||
Source0: %url/releases/download/v%version/Sarasa-TTC-%version.7z
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Name: seto-fonts
|
||||
Version: 6.20
|
||||
Release: 3%?dist
|
||||
URL: https://ja.osdn.net/projects/setofont/
|
||||
Release: 4%?dist
|
||||
URL: https://web.archive.org/web/20240226230836/https://ja.osdn.net/projects/setofont/
|
||||
Source0: https://github.com/terrapkg/pkg-seto-fonts/archive/refs/tags/%version.tar.gz
|
||||
License: OFL-1.1
|
||||
Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
%global __brp_mangle_shebangs %{nil}
|
||||
|
||||
Name: inputplumber
|
||||
Version: 0.67.1
|
||||
Version: 0.68.0
|
||||
Release: 1%?dist
|
||||
Summary: Open source input router and remapper daemon for Linux
|
||||
License: GPL-3.0-or-later
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%define osuresver 2025.1028.0
|
||||
%define osuresver 2025.1125.0
|
||||
%global debug_package %{nil}
|
||||
%define __strip /bin/true
|
||||
|
||||
Name: osu-lazer
|
||||
Version: 2025.1029.1
|
||||
Version: 2025.1205.0
|
||||
Release: 1%?dist
|
||||
Summary: The future of osu! and the beginning of an open era! Commonly known by the codename osu!lazer. Pew pew.
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
%global name_pretty %{quote:Prism Launcher (Nightly)}
|
||||
%global appid org.prismlauncher.PrismLauncher-nightly
|
||||
|
||||
%global commit c7fa69cfd0c6e331d8b3bfa77dcb98d1beea34d0
|
||||
%global commit aa0bd45d6cca34ab4ec79bfc6b9dec1beaa35cf8
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
|
||||
%global commit_date 20251120
|
||||
%global commit_date 20251207
|
||||
%global snapshot_info %{commit_date}.%{shortcommit}
|
||||
|
||||
%bcond_without qt6
|
||||
|
||||
+31
-37
@@ -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 8ccc30725a661b5355d3e46e2a7410163d335ebc
|
||||
%global ver 0.0.38-18367
|
||||
%global commit 0f1d516d9ae6a1725e4db5553c99463b1aa6d821
|
||||
%global ver 0.0.38-18452
|
||||
|
||||
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
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Name: umu-launcher
|
||||
Version: 1.2.9
|
||||
Version: 1.3.0
|
||||
Release: 1%?dist
|
||||
Summary: A tool for launching non-steam games with proton
|
||||
|
||||
|
||||
@@ -1,14 +1,12 @@
|
||||
%define debug_package %nil
|
||||
|
||||
Name: blahaj
|
||||
Version: 2.2.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Gay sharks at your local terminal - lolcat-like CLI tool
|
||||
License: BSD-2-Clause
|
||||
URL: https://blahaj.queer.software
|
||||
Source0: https://github.com/GeopJr/BLAHAJ/archive/refs/tags/v%version.tar.gz
|
||||
BuildRequires: crystal gcc libyaml-devel pcre-devel libgc-devel libevent-devel
|
||||
ExclusiveArch: x86_64
|
||||
Name: blahaj
|
||||
Version: 2.2.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Gay sharks at your local terminal - lolcat-like CLI tool
|
||||
License: BSD-2-Clause
|
||||
URL: https://blahaj.geopjr.dev/
|
||||
Source0: https://codeberg.org/GeopJr/BLAHAJ/archive/v%{version}.tar.gz
|
||||
BuildRequires: crystal shards make gcc libyaml-devel pcre-devel libgc-devel libevent-devel bash
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%description
|
||||
Apart from a cute cuddly shark plushie from IKEA, BLÅHAJ is a lolcat-like CLI
|
||||
@@ -17,17 +15,13 @@ It has a wide variety of flags/colors to choose from and many options from flag
|
||||
size to whether to colorize by line, word or character.
|
||||
|
||||
%prep
|
||||
%autosetup -n BLAHAJ-%{version}
|
||||
%autosetup -n %{name}
|
||||
|
||||
%build
|
||||
shards build --production --release -D "-fPIE" --link-flags "-pie"
|
||||
shards build --production --release
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_bindir
|
||||
install -Dm755 bin/blahaj %buildroot%_bindir/
|
||||
|
||||
%check
|
||||
crystal spec --order random -Dpreview_mt
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
@@ -35,5 +29,7 @@ crystal spec --order random -Dpreview_mt
|
||||
%_bindir/blahaj
|
||||
|
||||
%changelog
|
||||
* Sat Dec 06 2025 june-fish <june@fyralabs.com> - 2.2.0-2
|
||||
- Update URLs and build steps (fix missing debug_package)
|
||||
* Sat Apr 15 2023 windowsboy111 <windowsboy111@fyralabs.com> - 2.0.1-1
|
||||
- Initial package.
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
rpm.version(gh("GeopJr/BLAHAJ"));
|
||||
import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
rpm.version(bump::codeberg("GeopJr/BLAHAJ"));
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
# https://github.com/twpayne/chezmoi
|
||||
%global goipath github.com/twpayne/chezmoi
|
||||
Version: 2.67.0
|
||||
Version: 2.68.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
# https://github.com/abenz1267/elephant
|
||||
%global goipath github.com/abenz1267/elephant
|
||||
Version: 2.16.0
|
||||
Version: 2.17.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
# https://github.com/jesseduffield/lazygit
|
||||
%global goipath github.com/jesseduffield/lazygit
|
||||
Version: 0.56.0
|
||||
Version: 0.57.0
|
||||
|
||||
%gometa -f
|
||||
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user