No description
Find a file
X27 588cced1e3
All checks were successful
build / plan (push) Successful in 14s
build / zed (fedora 44) (44, zed) (push) Successful in 4m41s
build / zed (fedora 45) (45, zed) (push) Successful in 4m45s
Update packages from upstream
packages/zed/zed.spec
2026-11-20 17:49:10 +00:00
.forgejo/workflows Add papirus-icon-theme-latest 2026-10-15 21:25:02 +02:00
packages Update packages from upstream 2026-11-20 17:49:10 +00:00
scripts bump-github.sh: add --tag-prefix for repos that tag several apps 2026-10-31 18:03:54 +01:00
.gitignore Add Fedora RPM package repo with Finamp 2026-10-09 19:20:45 +02:00
README.md Add tutanota-desktop 2026-10-31 18:03:54 +01:00
RPM-GPG-KEY-x27 Sign RPMs so dnf accepts them 2026-10-09 19:59:05 +02:00
x27-packages.repo Never replace a published version; expire repo metadata hourly 2026-10-11 14:07:47 +02:00

X27-Linux-Packages

RPM packages for Fedora that aren't in the official repos, published to the Forgejo RPM registry on git.xlabsx27.com. Built for Fedora 44 and 45, on x86_64 and aarch64.

Package Upstream Notes
finamp finamp-app/finamp Jellyfin music player. Repackages upstream's prebuilt Linux bundle. Upstream tags 1.0.1-beta become version 1.0.1~beta
linux-headphones-manager X27-Apps/Headphones-Controller Settings for Nothing / CMF, Sony and HyperX headphones. Built from upstream's source, a Python (PySide6) app. Also installs the hpctl command-line tool and a udev rule for HyperX USB dongles. Replaces headphone-controller, its name up to 0.1.0
lm-studio lmstudio.ai Local LLM app. Its license forbids redistribution, so the RPM holds only an installer: on install and update it downloads the pinned AppImage from lmstudio.ai (about 1 GB), checks its sha256 and unpacks it into /usr/lib64/lm-studio/app. If that fails, run sudo /usr/libexec/lm-studio-install. Doesn't work with rpm-ostree install, whose scriptlets have no network; a BlueBuild image build is fine. Upstream 0.4.26-4 becomes version 0.4.26.4
papirus-icon-theme-latest PapirusDevelopmentTeam/papirus-icon-theme Upstream's newest Papirus icon theme. Built only for Fedora releases whose own papirus-icon-theme is older, so it may be missing from some. It replaces Fedora's papirus-icon-theme, -dark and -light, so install it with sudo dnf install --allowerasing papirus-icon-theme-latest, and go back with sudo dnf swap papirus-icon-theme-latest papirus-icon-theme
tutanota-desktop tutao/tutanota Tuta mail, calendar and drive client. Run it with tutanota-desktop. Repackages upstream's AppImage, x86_64 only. The built-in updater is removed, so dnf handles updates
zen-browser zen-browser/desktop Firefox-based browser. Run it with zen-browser. The built-in updater is removed and turned off by policy, so dnf handles updates
zed zed-industries/zed Code editor. Stable releases only, no -pre. The built-in updater is turned off by the launcher, so dnf handles updates

The apps repackage upstream's prebuilt Linux builds, except lm-studio, which downloads it on install. Each one installs under /usr/lib64/<name>, with a launcher in /usr/bin. papirus-icon-theme-latest is built from upstream's source tarball into /usr/share/icons, and linux-headphones-manager from its source into Fedora's Python site-packages.

Install

sudo dnf config-manager addrepo \
  --from-repofile=https://git.xlabsx27.com/X27/X27-Linux-Packages/raw/branch/main/x27-packages.repo
sudo dnf install finamp linux-headphones-manager lm-studio tutanota-desktop zen-browser zed

Use x27-packages.repo, not the .repo that Forgejo generates. Forgejo's file only trusts the registry key, which signs the repo index, so dnf rejects the packages as unsigned. Packages are signed with RPM-GPG-KEY-x27 (fingerprint DD7B E061 9639 FAF9 14BD A11C D606 0113 B5C3 B4F7). dnf asks you to import both keys on the first install.

dnf saves the repo as /etc/yum.repos.d/x27-packages.repo. dnf names the file after the URL's file name, not the repo ID.

If you added Forgejo's .repo before, remove it first. It's saved as /etc/yum.repos.d/fedora-<release>.repo (e.g. fedora-44.repo), and its repo ID is gitea-x27-fedora-44. Check the file before deleting it, so you don't remove one of Fedora's own repos:

grep -l gitea-x27 /etc/yum.repos.d/*.repo   # should print only fedora-44.repo
sudo rm /etc/yum.repos.d/fedora-44.repo

In a BlueBuild recipe (X27-Linux), add the same .repo URL under dnf.repos.files.

How it works

  • packages/<name>/<name>.spec: one folder per package. Files next to the spec, like patches or configs, are copied into SOURCES.
  • packages/<name>/update.sh (optional): checks upstream and bumps the spec (Version, Release, %changelog) when there's a new release. For GitHub releases it's a single call to scripts/bump-github.sh <spec> <owner/repo> <asset-suffix> [--pre] [--tag-prefix <prefix>]. Pass "" as the asset suffix for projects whose releases have no assets. For a repo that tags several apps, --tag-prefix keeps only the tags starting with that prefix and drops it from the version. For a project on a Forgejo server, pass its URL (e.g. https://git.xlabsx27.com/X27-Apps/Headphones-Controller) instead of owner/repo.
  • %global fedora_package <name> in a spec (optional): the package is a newer build of something Fedora already ships. CI builds it for a Fedora release only while its Version is newer than Fedora's <name> there.
  • scripts/newer-than-fedora.sh <name>: prints true or false, whether to build the package on this Fedora release. Always true without fedora_package.
  • scripts/build.sh <name> [arch...]: builds into out/. With no arch given, it builds every arch in the spec's ExclusiveArch, or the host's if there's none.
  • scripts/sign.sh: signs out/*.rpm with the key in RPM_SIGNING_KEY, then checks them against RPM-GPG-KEY-x27.
  • scripts/publish.sh <group>: uploads out/*.rpm to the registry group, e.g. fedora-44. If that exact version is already there, it's skipped, never replaced.
  • scripts/prune.sh <group>: deletes every other version of the packages in out/ from the group, so the registry only keeps the newest version of each program.
  • scripts/check-bumps.sh <base>: fails if a package changed since base but its Version and Release didn't. CI runs it before building.
  • scripts/changed-packages.sh [base]: lists the packages that changed since base. If anything shared changed (scripts, workflows, the key), it lists every package.
  • scripts/update-all.sh: runs every update.sh.

Forgejo Actions:

  • .forgejo/workflows/update.yml runs daily. It runs update-all.sh and pushes any spec bumps to main.
  • .forgejo/workflows/build.yml runs on pushes to main. A plan job picks the packages to build, then each package gets its own job per Fedora release, e.g. zed (fedora 44), in a fedora:<release> container. Each job checks newer-than-fedora.sh (and skips the rest if it says false), builds the package, checks it installs, signs it, publishes it, and deletes its older versions. A push rebuilds only the packages it changed; a manual run rebuilds all of them. PRs build without signing or publishing.

The workflows need these repo secrets:

Secret Value
PACKAGES_USER X27
PACKAGES_TOKEN Forgejo access token for X27 with write:package and write:repository
RPM_SIGNING_KEY Armored private key for RPM-GPG-KEY-x27, without a passphrase (build only)

The runner needs the docker label.

Build locally

podman run --rm -v "$PWD:/src:Z" -w /src fedora:44 bash -c '
  dnf -y install rpm-build rpmdevtools dnf-plugins-core &&
  dnf -y builddep packages/finamp/finamp.spec &&
  scripts/build.sh finamp'

Add a package

  1. Create packages/<name>/<name>.spec. If it repackages prebuilt binaries, set debug_package %{nil} and __strip /bin/true, as finamp.spec does, so other arches can be built on an x86_64 runner.
  2. Optionally add an update.sh. For GitHub releases, copy packages/zed/update.sh; the spec needs a %global upstream_version line.
  3. Build it locally, then push to main.

Versions: a package's version is the program's version, and Release starts at 1 for each one (update.sh resets it). If you change a package without a new program version, bump Release, or CI fails. A published version is never replaced: dnf caches the repo index, so a different file under the same name fails dnf's checksum check until that cache expires.