Skip to content

Add the fork's KWin RPM spec and its build script - #29

Merged
archledger merged 2 commits into
plasma-fusionfrom
packaging/fork-rpm
Nov 14, 2026
Merged

archledger merged 2 commits into
plasma-fusionfrom
packaging/fork-rpm

Conversation

@archledger

Copy link
Copy Markdown
Owner

What

The spec and the build script for the fork's KWin packages, the pinned compositor of the full profile (archledger/plasma-fusion ADR 0001). Two commits; no source file of KWin changes.

  • packaging/fedora/kwin-fusion.spec: Fedora 44's kwin.spec with the fork's identity. The release carries the fork's sequence number as the suffix .pfN (macro pf, default 3: 6.8.2-3.fc44.pf3), the source is the fork's tagged archive as GitHub serves it (it unpacks to kwin-6.8.2-pf3), and Fedora's patch c9d7207 is not listed: the 6.8.2 line has that commit in its source.
  • packaging/fedora/build-fork-rpm.sh TAG [OUTPUT_DIR]: downloads the tagged archive and builds the packages; SRPM=1 builds the source package only, the input of the Copr project. It takes the sequence number from the tag and refuses a tag of another upstream version than the spec's.

Verification

  • The packages the re-entry matrix of Track safe native ownership for dynamic tiling plasma-fusion#115 ran on were built with this spec in the fork's CI image (Fedora 44, no network): kwin, kwin-common, kwin-libs, kwin-devel, kwin-doc and the debug packages at 6.8.2-3.fc44.pf3, three builds from the 6.8.2 line; rpm -K digests verified; installed on the ThinkPad X13 Yoga and in a Fedora 44 virtual machine with dnf reinstall, rpm -V clean.
  • Those builds took their source from a local git archive of the line with the same top directory, not from GitHub's archive of a tag: the tag v6.8.2-pf3 does not exist yet. The script's download and the SRPM=1 path run for the first time with the tag.

The full profile's pinned compositor: the Fedora kwin.spec with the
fork's identity — the pfN distag (the stock release plus the fork's
sequence number), the GitHub tagged archive as the source, and the
fork's changelog entry. The build script downloads the tagged archive,
extracts the stock sources the spec needs, and runs rpmbuild. The
subpackages are kwin, kwin-common, kwin-libs, kwin-devel and kwin-doc
at the pfN distag, matching the metapackage's exact-EVR requires.

Signed-off-by: Wisbendji Fimerlus <archledger236@gmail.com>
build-fork-rpm.sh could not build from a real tag:

- It took the sequence number with ${TAG##*.pf}, which matches
  nothing in v6.8.2-pf3, so every pf tag was refused.
- Its --define version and --define distag had no effect: the spec's
  own Version: and Release: lines win. The spec now takes the
  sequence number as the macro pf (default 3) for its release and
  its source, and the script passes the tag's. A tag of another
  upstream version than the spec's is refused.
- GitHub's archive of v6.8.2-pf3 unpacks to kwin-6.8.2-pf3, not to
  the kwin-6.8.2 that %autosetup expects by default.
- It fetched Fedora's patch c9d7207 (compositor: handle possibly
  missing render device). The fork's 6.8.2 line has that commit in
  its source, and applying it again fails; the spec no longer lists
  it.

SRPM=1 builds the source package only, the input of the Copr
project. The first changelog entry's weekday is corrected
(2026-11-12 is a Thursday).

Signed-off-by: Wisbendji Fimerlus <archledger236@gmail.com>
Copilot AI balanced review requested due to automatic review settings November 14, 2026 01:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T01:20:47.831091Z d156196 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@archledger
archledger merged commit 3b8adce into plasma-fusion Nov 14, 2026
2 checks passed
@archledger
archledger deleted the packaging/fork-rpm branch November 14, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants