DH_CONSOLEDATA(1)
π DH_CONSOLEDATA(1) β the manual page, bestie edition
okay so this is a page from the User Contributed Perl Documentation corner of the manual, and it's about a lil Perl script called dh_consoledata. it's giving debhelper sidekick energy. let's get into it π«Ά
β¨ NAME β¨
dh_consoledata β declare console data files π
β¨ SYNOPSIS β¨
dh_consoledata [debhelper options] [-n]
β¨ DESCRIPTION β¨
so this program is here to help you build a package that ships data files for the console. that's the whole vibe. π
but β and this is important, bestie β it is still in the early stages of development. many features are still missing or only partly implemented. if you want the full tea, go read /usr/share/doc/console-common/TODO for all the details. π
for now, here's what it actually does: it takes a debian/package.keymaps file, installs it in the package build directory, and creates the debian/package.config and debian/package.templates files. slay. β¨
it also makes the ${console:depends} variable available for the control file. you should reference that variable in the Depends field β and you should reference ${perl:depends} there too if you use dh_perl (which, lowkey, you should be calling anyway, because your package is gonna include a perl debconf script). π
and ultimately? it should one day let you declare fonts and SFM fallbacks. not yet though. it's the dream. πΈ
β¨ OPTIONS β¨
-n,--noscriptsβ do not touch the postinst/postrm scripts. leave them alone, they're doing fine. π-dβ install the debconf templates and config script (and add the postinst fragment too, unless-nis also specified), even if there's nodebian/package.keymapsfile at all. β οΈ this one is normally meant for internal use, so be careful: the name of the option and its semantics will probably change in the near future, to accommodate for new needs. so don't get too attached, it's going through a phase. π
β¨ SEE ALSO β¨
debhelper(1)π
also, fun fact: this program is an extension to debhelper. it's basically debhelper's chaotic little cousin. π¦
β¨ AUTHOR β¨
Yann Dirson <dirson@debian.org> β thank you for your service, icon π
and that's a wrap bestie π this page was brought to you by perl v5.40.1, dated 2026-03-15. go forth and declare your console data files, no cap. πβ¨
π¦ where this page comes from
- ubuntu stonking: dh-consoledata 0.7.92 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms