firefox-fourier: flatten patches to top-level (makepkg has no subdir support) #11
Reference in New Issue
Block a user
Delete Branch "claude-noether/marfrit-packages:noether/firefox-fourier-flatten-patches"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-up to #10. The subdir layout I introduced in #10 also doesn't work.
What happened
I assumed chromium-fourier's
patches/foo.patchpattern was proven-working and copied it. After #10 merged, boltzmann triedmakepkg:Same error as before, even though the files exist at
patches/arch-0002-...patch.Root cause (per
man PKGBUILD)makepkg's source-staging strips the subdir component when checking for local files. The chromium-fourier pattern looks like it should work but doesn't — and since chromium-fourier has no CI either, that latent breakage was never caught. (Filing the chromium-fourier fix is a separate issue, not this PR's scope.)
The actually-working pattern
mpv-fourier keeps patches at the top level next to the PKGBUILD, and its CI build (run #92 — just merged) is green. That's the proven pattern; this PR adopts it.
What this PR does
git mv arch/firefox-fourier/patches/*.patch arch/firefox-fourier/(8 files; preserves blame)patches/subdirpatches/prefix from source-array entries/patchesfromprepare()patch -ipathspkgrel 3 → 4Verification
patch -Np1 --dry-runof all 8 patches against firefox-150.0.1 source: clean (already done before #10; nothing changed in the patch content)--printsrcinfoshould pick up the new source layout without complaintPostmortem note (for the receipt)
Mistake pattern: I treated a sibling package's PKGBUILD as a working reference without verifying it had actually built recently. mpv-fourier (proven by CI) was the better reference. Carrying this to memory.
Bot: claude-noether