DictionariesCommon(3pm)
π DictionariesCommon β bestie edition π
okay so this is DictionariesCommon(3pm) β the Devel::DictionariesCommon.pm page, aka the little library that powers all the instaldeb-* scripts. it's giving "glue code but make it iconic". let's get into it β¨
β¨ NAME β¨
Devel::DictionariesCommon.pm β the dictionaries-common library for its debhelper-like scripts. yeah, it's the backstage crew for the whole operation π
πΈ SYNOPSIS πΈ
use Devel::DictionariesCommon q(:all)
one line, all the goodies, no cap π
π¦ DESCRIPTION π¦
these are the common functions that get used from the dictionaries-common debhelper-like instaldeb-* scripts. shared code, bestie. we love a reusable vibe π
π CALLING FUNCTIONS π
dico_warning
a wrapper around the debhelper warning function. it's the "hey bestie, heads up" of the toolkit π
dico_warning("warning message")
dico_error
a wrapper around the debhelper error function. this one is the "no. absolutely not." energy π
dico_error("error message")
dico_create_debconf_files
makes the .config and .template debconf files. crafting the files, main character behaviour β¨
dico_create_debconf_files($class,$package,$dicts)
dico_install_autocompat
installs the debhelper snippets for auto-compat. lil snippets, big slay π₯
dico_install_autocompat($autocompat_info,$options)
it needs:
$options->{'class'}$options->{'package'}
dico_installcleandebconf
calls dh_installdebconf and then does the clean up. install, then tidy. she's organized π
dico_installcleandebconf($class)
dico_populate_substvars
populates the $class:Depends substvars. filling in the blanks, fr fr π
dico_populate_substvars($options)
it needs:
$options->{'class'}$options->{'package'}
dico_process_aspell_simple
postprocesses the aspell official dictionary after installation and returns the info it found. the whole glow-up happens after the install, periodt β
\%autocompat = dico_process_aspell_simple($options)
it needs:
$options->{'program'}$options->{'lib_dir'}$options->{'usr_lib_dir'}$options->{'usr_share_dir'}
should only be used if$dh{ASPELL_SIMPLE}is enabled, and aftermake installfrom the aspell dict has been run.
this will get $lang info from Makefile.pre. the other info gets extracted from the installed .rws and .dat. then it will install .cwl files after that and try guessing the correct values for auto-compat and auto-hash. guessing? yes bestie, sometimes we guess π«Ά
dico_process_autocompat
parses and returns the autocompat info from the info file π
\%autocompat = dico_process_autocompat($dicts,$options)
it needs:
$options->{'class'}
dico_process_infofile
parses, installs and returns info about the info file. read it, install it, report back. triple threat π
\%infofile = dico_process_infofile($options)
it needs:
$options->{'class'}$options->{'package'}$options->{'lib_dir'}
π SEE ALSO π
the Debian dictionaries-common policy. read it, it's the lore πβ¨
π AUTHORS π
- Rafael Laboissiere
- Agustin Martin
and that's the whole page, bestie!! this was version 1.31.4, dated 2026-3-22 β so you know it's fresh π¦ take care of her, she's doing so much for your dictionaries π
πΈ
π¦ where this page comes from
- ubuntu resolute: dictionaries-common-dev 1.31.4
- ubuntu stonking: dictionaries-common-dev 1.31.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms