packaging: Arch+Fedora packaging, CI callers, drop install.sh#1
Merged
Conversation
Packaged builds need the lock file inside git archives: the SRPM builder runs cargo vendor --locked, the PKGBUILD runs cargo fetch --locked, CI builds with --locked, and the four-way version gate reads the lock's own lmtt entry. Applications are expected to commit their lock file anyway.
Standard MasonRhodesDev packaging layout (hyprstate template): - packaging/PKGBUILD: builds from the GitHub v$pkgver tarball (CI provides a local HEAD snapshot with the same filename); prepare() normalizes the linux-multi-theme-toggle-$pkgver prefix GitHub uses to lmtt-$pkgver, fetches with --locked, builds --frozen --release, runs tests in check(), and installs both binaries plus config/examples payload. - packaging/lmtt.spec: offline vendored-cargo build; %prep rewires the schema-tui git dependency onto the vendor/ directory so COPR never touches the network. Installs lmtt + lmtt-config and /usr/share/lmtt. - packaging/build-srpm.sh: four-way version gate (spec = Cargo.toml = Cargo.lock = PKGBUILD), git-archive Source0 with lmtt-$VER/ prefix, cargo-vendor Source1, rpmbuild -bs, gating rpmlint, optional --copr. - packaging/lmtt.rpmlintrc: filter spelling noise and the intentional non-URL Source1. - .copr/Makefile: COPR webhook entry point (SRPM from HEAD).
… Cargo.toml The Makefile install target now ships the same payload as the packages (both binaries, config-example.toml and examples/ under /usr/share/lmtt), and VERSION is read from Cargo.toml instead of being hardcoded so the version has a single source of truth.
ci/package/release/security workflows delegate to the reusable workflows in MasonRhodesDev/packaging-workflows. deny.toml allows MPL-2.0 (option-ext via dirs) and the schema-tui git source on top of the shared baseline.
install.sh is gone — the [mason] pacman repo and the solaris765/lmtt COPR are the supported install paths now. README and INSTALL.md document both, plus a from-source path through the DESTDIR-correct Makefile (which installs both binaries and the examples payload). Also fixes the placeholder github.com/yourusername/lmtt clone URL.
MasonRhodesDev
added a commit
that referenced
this pull request
Jul 3, 2026
packaging: Arch+Fedora packaging, CI callers, drop install.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardized packaging per the fleet-wide push: packaging/{PKGBUILD, spec, rpmlintrc, build-srpm.sh}, canonical dist/ units (/usr/bin paths), .copr/Makefile, thin caller workflows on MasonRhodesDev/packaging-workflows, install.sh removed where it existed. Part of the 8-repo standardization; CI requires packaging-workflows to be on GitHub.
🤖 Generated with Claude Code