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 after make install from 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