Repository navigation
0.23.0: dist-deb and dist-rpm, the staged tree as a Debian or RPM package - #56
Merged
Merged
Conversation
…kage Both members install the tree mcpp pack stages under /opt/<name>, with a launcher in /usr/bin, a desktop entry and an icon, and take the control fields from [package]. They share mcpp.dist.linux_package and write either format with nfpm from the xim:nfpm payload, asked for only when a pack needs it, so no host needs dpkg-deb or rpmbuild. Every staged file is listed with an explicit mode and time, so repacking an unchanged tree gives the same bytes. tests/linux-package-consumer packs both, compares their contents, installs the deb and runs the program.
…every host The collection states its version in src/plugins.cppm as well as mcpp.toml, and tests/all-rules-compile names every member that carries sources, so both new members' plans are compiled and asserted silent on macOS and Windows.
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.
Adds two
distmembers,dist-debanddist-rpm, and bumps the package to 0.23.0.mcpp packstages, unchanged, under/opt/<name>, with/usr/bin/<name>execing the tree's launcher, a desktop entry, and an optional PNG or SVG icon. Control fields come from[package]; a package without a maintainer is refused rather than published under a guessed name.options::dependslists packages the machine provides.dist/linux-package.cppm(mcpp.dist.linux_package, featuredist-linux-package, implied by both);dist/deb.cppmanddist/rpm.cppmare thin members with the usualplan_for/submit/generate.xim:nfpm(feat(nfpm): add 2.49.0 for linux/macosx/windows x86_64+aarch64 with automatic updates openxlings/xim-pkgindex#1186, merged), declared on thecfg(linux)axis withprovision = "on-request", so no host needsdpkg-deborrpmbuildand a build that packs nothing downloads nothing.SOURCE_DATE_EPOCH(or a fixed time): measured on nfpm 2.49.0,treeentries keep source mtimes and the top-levelmtimedoes not reach them.Fixture
tests/linux-package-consumer; the new CI step checks that a plain build produces no package, that--pkg-format bogusnames both formats, the deb's control fields and the rpm's requirement, that both packages carry the same files, installs the deb and runs the program, and that repacking an unchanged tree gives identical bytes.Local results on Linux x86_64 with a downloaded nfpm 2.49.0 passed as
options::tool: both packages produced, fields and file lists as above, the program runs from the extracted package, and repacking is byte-identical. Resolvingxim:nfpmfrom the index was not verified locally: the index artifact mcpp synced predates #1186. The README floor 2026.10.30.1 is the package's existing floor; the members use no newer engine API.