Commit graph

5 commits

Author SHA1 Message Date
a0b9912709 debian: add postit.install listing files for dh_install
dh_install, by default, only installs files explicitly listed
in debian/<package>.install. Without that file, it silently
installs nothing — the build pipeline ends with an empty .deb
of just changelog and copyright.

List:
  /usr/lib/postit/*  (managed assemblies)
  /usr/bin/postit    (wrapper script)
  /usr/share/applications/postit.desktop
  /usr/share/icons/hicolor/{16,32,48,64,128,256}x{...}/apps/postit.png
  /usr/share/icons/hicolor/scalable/apps/postit.svg
2026-06-28 00:49:14 +01:00
b23f2bdec2 gitignore: cover debhelper-generated dirs and stray .deb artifacts
The original .gitignore caught *.deb in the source tree but not:
- debian/.debhelper/  (cache populated by every dh_* helper)
- debian/debhelper-build-stamp, debian/postit.debhelper.log,
  debian/postit.substvars (regenerated per build)
- debian/tmp/         (staging tree for dh_install)
- postit_*.{deb,changes,buildinfo} in the parent workspace
  (where dpkg-buildpackage drops artifacts)
2026-06-28 00:48:53 +01:00
78a56d3e68 debian: stage under debian/tmp/ via dh_install override
Initial debian/rules wrote into debian/postit/usr/... directly.
That fails: dh_clean (run between override_dh_auto_build and
dh_install) wipes the package staging dir, and dh_install needs
debian/tmp/ as the canonical staging area to install files
into debian/postit/.

Move the cp-and-convert block out of override_dh_auto_build into
a 'stage_postit' make define, and call it from override_dh_install
right before dh_install moves files into the package tree.

Also: simplify POSTIT_* path variables — drop the duplicated
POSTIT_APP_DIR / POSTIT_LIB_DIR / POSTIT_BIN_DIR / POSTIT_SHARE_DIR
set (they all derived from debian/postit which is now what dh_install
populates).
2026-06-28 00:48:18 +01:00
8cda50c1fb debian: drop debhelper-compat from Build-Depends (set in compat)
Build-Depends already includes dotnet-sdk-10.0, imagemagick,
librsvg2-bin, git, ca-certificates. The debhelper-compat (= 13)
line was duplicated: the same version is set in debian/compat
(debhelper reads it from there by convention). dh errors out
with:

  dh: error: debhelper compat level specified both in
     debian/compat and in debian/control

Drop the line in control.
2026-06-28 00:47:30 +01:00
9703ebf4dd Initial Debian package for PostIt.Desktop (yavsc) 2026-06-28 00:10:15 +01:00