Proposal: offer Markpad on the AUR
Splitting this out from #498 as a packaging question rather than a bug.
Why
The Linux AppImage is the fragile channel: it bundles the graphics stack and breaks on hosts with a newer Mesa (the WebKitGTK pin in #463, and the libwayland-client bundling in #498). The .deb/.rpm do not have this problem, because they depend on the host libwebkit2gtk-4.1 instead of bundling it.
For Arch-family users the natural install path is the AUR, and it structurally avoids the whole bundled-graphics failure mode for the same reason the .deb does. The original reporter in #182 is on CachyOS (Arch family), so this is exactly the audience that would benefit.
What I have
I have already written and locally validated (makepkg) a markpad-bin PKGBUILD that repackages the official .deb:
depends=('webkit2gtk-4.1' 'gtk3' 'hicolor-icon-theme') (host WebKitGTK, so no EGL bug)
- unpacks the
.deb payload verbatim: usr/bin/Markpad, the .desktop entry, and the hicolor icons
- installs the BSD-3-Clause LICENSE and README
Name note: the plain markpad on the AUR is an unrelated project (Twilight0/MarkPad), so this would be markpad-bin to avoid the collision.
The actual question: official or community?
- Community (lowest effort for you): I publish and maintain
markpad-bin on my own AUR account and keep it current with each release. No burden on this repo; you would optionally just link it from the README.
- Official (upstream-driven): automate AUR updates from CI. That needs an AUR account you own plus
AUR_SSH_PRIVATE_KEY / AUR_USERNAME / AUR_EMAIL secrets in a repo you control. I am a contributor here, so I cannot add those secrets to this repo, which is why I am asking rather than just opening a PR.
How I do this for my own project (spotatui), as a template
I maintain two AUR packages for spotatui and keep them in sync from the upstream repo automatically:
A publish-aur.yml GitHub Action (workflow_dispatch) does the update: it curls the release artifacts to compute their sha256, sed-bumps pkgver/pkgrel/checksums in the PKGBUILD, regenerates .SRCINFO by running makepkg --printsrcinfo inside an archlinux:latest container, and pushes to the AUR over SSH. I am happy to replicate that setup for Markpad, in whichever repo makes sense given the secret constraint above.
Ask
- Do you want an official AUR presence, or are you happy for me to maintain
markpad-bin as a community package and link it from the README?
- Any preference between a source-build package and the
.deb-repackage -bin approach? (I would suggest -bin first: it reuses the signed release build and is the most reliable.)
Happy to open the follow-up (publish the package, and/or wire the workflow) once you decide the direction.
Proposal: offer Markpad on the AUR
Splitting this out from #498 as a packaging question rather than a bug.
Why
The Linux AppImage is the fragile channel: it bundles the graphics stack and breaks on hosts with a newer Mesa (the WebKitGTK pin in #463, and the
libwayland-clientbundling in #498). The.deb/.rpmdo not have this problem, because they depend on the hostlibwebkit2gtk-4.1instead of bundling it.For Arch-family users the natural install path is the AUR, and it structurally avoids the whole bundled-graphics failure mode for the same reason the
.debdoes. The original reporter in #182 is on CachyOS (Arch family), so this is exactly the audience that would benefit.What I have
I have already written and locally validated (
makepkg) amarkpad-binPKGBUILD that repackages the official.deb:depends=('webkit2gtk-4.1' 'gtk3' 'hicolor-icon-theme')(host WebKitGTK, so no EGL bug).debpayload verbatim:usr/bin/Markpad, the.desktopentry, and the hicolor iconsName note: the plain
markpadon the AUR is an unrelated project (Twilight0/MarkPad), so this would bemarkpad-binto avoid the collision.The actual question: official or community?
markpad-binon my own AUR account and keep it current with each release. No burden on this repo; you would optionally just link it from the README.AUR_SSH_PRIVATE_KEY/AUR_USERNAME/AUR_EMAILsecrets in a repo you control. I am a contributor here, so I cannot add those secrets to this repo, which is why I am asking rather than just opening a PR.How I do this for my own project (spotatui), as a template
I maintain two AUR packages for spotatui and keep them in sync from the upstream repo automatically:
A
publish-aur.ymlGitHub Action (workflow_dispatch) does the update: itcurls the release artifacts to compute their sha256,sed-bumpspkgver/pkgrel/checksums in the PKGBUILD, regenerates.SRCINFOby runningmakepkg --printsrcinfoinside anarchlinux:latestcontainer, and pushes to the AUR over SSH. I am happy to replicate that setup for Markpad, in whichever repo makes sense given the secret constraint above.Ask
markpad-binas a community package and link it from the README?.deb-repackage-binapproach? (I would suggest-binfirst: it reuses the signed release build and is the most reliable.)Happy to open the follow-up (publish the package, and/or wire the workflow) once you decide the direction.