NAME¶
Devel::DictionariesCommon.pm - dictionaries-common library for its
debhelper-like scripts
SYNOPSIS¶
use Devel::DictionariesCommon q(:all)
DESCRIPTION¶
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'}
SEE ALSO¶
Debian dictionaries-common policy.
AUTHORS¶
Rafael Laboissiere
Agustin Martin