Skip to content

Packaging: offer Markpad on the AUR (markpad-bin) — official or community? #500

Description

@LargeModGames

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

  1. 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?
  2. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting decisionNeeds a product-direction call from the maintainer before work can startenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions