postit-debian/debian
Paul Schneider ee0c977e79
Some checks failed
Forgejo Release postit-deb / release (push) Failing after 0s
rules + workflow: extract arm64 libs into a stage dir for dh_shlibdeps
dpkg-shlibdeps refuses to build if it cannot resolve ELF
NEEDED entries from the cross-arch binaries (libc.so.6,
libstdc++.so.6, etc.). The clean answer is dpkg-shlibdeps
-l<dir>, which adds extra library search paths.

We download the .deb for the libs we know the binaries
need (libc6, libstdc++6, libfontconfig1, libfreetype6,
libgtk-3-0) from deb.debian.org, extract them into
/tmp/arm64-stage/ via 'dpkg-deb -x', and pass ARM64_STAGE
through to debian/rules. override_dh_shlibdeps then
forwards -l<stage>/usr/lib/aarch64-linux-gnu/ to
dpkg-shlibdeps.

This mirrors what sbuild/pbuilder do internally: a
chroot-less cross-arch stage dir that dh_shlibdeps
resolves against. No host installation of arm64 needed
(the runner image stays slim, ~50 Mo for binutils-aarch64
and the few libs we extract).
2026-08-17 18:55:31 +01:00
..
source Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
changelog.in packaging: derive Debian version from POSTIT_GIT_TAG via a changelog template 2026-06-28 13:20:17 +01:00
compat Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
control debian: drop debhelper-compat from Build-Depends (set in compat) 2026-06-28 00:47:30 +01:00
copyright Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postinst Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postit.desktop Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postit.install debian: add postit.install listing files for dh_install 2026-06-28 00:49:14 +01:00
postit.wrapper Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
postrm Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00
rules rules + workflow: extract arm64 libs into a stage dir for dh_shlibdeps 2026-08-17 18:55:31 +01:00