#1153982 ncurses: suggestions: dh sequencer, debhelper 14, less duplication

Package:
src:ncurses
Source:
src:ncurses
Submitter:
Nicolas Boulenguez
Date:
2026-11-14 15:37:02 UTC
Severity:
normal
Tags:
#1153982#5
Date:
2026-11-14 15:34:22 UTC
From:
To:
Dear maintainers,

the attached suggestions for the Debian packaging of ncurses apply on
the current master branch (759ec4a1).

Diffoscope reports the following differences in the eventual (noopt)
debs and udebs.
 * The new Commands field appears in libncurses-dev and ncurses-bin.
 * ncurses-examples now Depends on perl:any.
   This seems OK, tracemunch is a perl script.
 * The config scripts and pkgconfig .pc files use ${prefix} instead of
   /usr, which is equivalent and more common
   (the dh_auto_configure default could be fixed in CONFARGS if necessary).
 * The differences in the assembly code are all short and carry label
   like gnu-build-id or debug.

dh_dwz is active by default in debhelper 13, inactive by default in
debhelper 14, making the diffoscope output useless, so I have
explicitly enabled it for now.

I have also tried (noopt) -arch and -indep builds.

Thanks in advance for a review.