Devel::DictionariesCommon(3pm)

Devel::DictionariesCommon3pm

Dictionaries-common library for its debhelper-like scripts

Usage

    use Devel::DictionariesCommon q(:all)

Overview

Common functions for use from the dictionaries-common debhelper-like installdeb-* scripts.

Calling functions

"dico_warning"

Wrapper to debhelper warning function

  dico_warning("warning message")
"dico_error"

Wrapper to debhelper error function

  dico_error("error message")
"dico_create_debconf_files"

Create .config and .template debconf files

  dico_create_debconf_files($class,$package,$dicts)
"dico_install_autocompat"

Install debhelper snippets for auto-compat

  dico_install_autocompat($autocompat_info,$options)

Needs:

  $options->{'class'}
  $options->{'package'}
"dico_installcleandebconf"

Call dh_installdebconf and do the clean up

  dico_installcleandebconf($class)
"dico_populate_substvars"

Populate $class:Depends substvars

 dico_populate_substvars($options)

Needs:

  $options->{'class'}
  $options->{'package'}
"dico_process_aspell_simple"

Postprocess aspell official dictionary after installation and return info found

  \%autocompat = dico_process_aspell_simple($options)

Needs:

  $options->{'program'}
  $options->{'lib_dir'}
  $options->{'usr_lib_dir'}
  $options->{'usr_share_dir'}

Should only be used if $dh{ASPELL_SIMPLE} is enabled, after make install from aspell dict has been run. This will get $lang info from Makefile.pre. Other info will be extracted from installed .rws and .dat. Will install .cwl files after it and try guessing correct values for auto-compat and auto-hash

"dico_process_autocompat"

Parse and return autocompat info from info file

  \%autocompat = dico_process_autocompat($dicts,$options)

Needs:

  $options->{'class'}
"dico_process_infofile"

Parse, install and return info about info file

  \%infofile = dico_process_infofile($options)

Needs:

  $options->{'class'}
  $options->{'package'}
  $options->{'lib_dir'}

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Authors

 Rafael Laboissiere
 Agustin Martin

From dictionaries-common-dev 1.30.10 in Debian 13 (Trixie). Parsed by carta from the page's man source.