Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

debian::dictionariescommon(3pm) [debian man page]

DictionariesCommon(3pm) 												   DictionariesCommon(3pm)

NAME
Debian::DictionariesCommon.pm - dictionaries-common library SYNOPSIS
use Debian::DictionariesCommon q(:all) $dictionaries = parseinfo ('/var/lib/dictionaries-common/ispell/iwolof'); loaddb ('ispell') updatedb ('wordlist') DESCRIPTION
Common functions for use from the dictionaries-common system. CALLING FUNCTIONS
"dico_checkroot" Check for rootness and fail if not. "build_emacsen_support" Put info from dicts info files into emacsen-ispell-dicts.el "build_jed_support" Put info from dicts info files into jed-ispell-dicts.sl "build_squirrelmail_support" Build support file for squirrelmail with a list of available dictionaries and associated spellchecker calls, in php format. "$libdir = getlibdir($class)" Return info dir for given class. "$default = dico_getsysdefault($class)" Return system default value for given class. "$libdir = getuserdefault" Return value for user default ispell dictionary. "dico_get_spellchecker_params($class,\%language)" Get right params for $class (currently unused) and $language "\%dictionaries = loaddb($class)" Read class .db file and return a reference to a hash with its contents. "\%result = parseinfo($file)" Parse given info file and return a reference to a hash with the relevant data. "setsysdefault($value)" Set value for system default ispell dictionary. "setuserdefault" Set value for user default ispell dictionary, after asking to select it from the available values. "updatedb($class)" Parse info files for given class and update class .db file under dictionaries-common cache dir. SEE ALSO
Debian dictionaries-common policy. AUTHORS
Rafael Laboissiere Agustin Martin 1.12.11 2013-1-22 DictionariesCommon(3pm)

Check Out this Related Man Page

INSTALLDEB-HUNSPELL(1)													    INSTALLDEB-HUNSPELL(1)

NAME
installdeb-hunspell - debhelper-like utility for maintainers of Debian packages SYNOPSIS
installdeb-hunspell [debhelper options] DESCRIPTION
installdeb-hunspell is a debhelper like program that is responsible for installing appropriate debhelper snippets in a package, according to the Debian Spell Dictionaries and Tools Policy. For more details, see /usr/share/doc/dictionaries-common-dev/dsdt-policy.txt.gz The actions executed by installdeb-hunspell are the following: o Maintainer Scripts installdeb-hunspell installs the necessary scraps of code in the postinst and postrm scripts. o Language info file installdeb-hunspell also checks a file containing information, called debian/info-hunspell or debian/package.info-hunspell. If this file is successfully parsed, it is installed in the /var/lib/dictionaries-common/hunspell directory. o Debconf files As opposed to installdeb-ispell and installdeb-wordlist, neither installdeb-aspell nor installdeb-hunspell do anything related to debconf files, since both aspell and hunspell rely on the environment variable "LANG" for default dictionary selection instead of using symlinks set after a debconf question on dictionary installation. For that reason if you need to add debconf stuff with debhelper to your aspell or hunspell dictionary package do it in the usual way and call dh_installdebconf(1) as for any other package. OPTIONS
The usual dephelper(1) options are accepted. NOTES
This program is not part of debhelper, although it is intended to be used in hunspell dictionary packages using debhelper in its building. SEE ALSO
debhelper(1) This program is part of the dictionaries-common-dev package. It is intended to be used by maintainers of hunspell dictionary packages for Debian. See the documentation under /usr/share/doc/dictionaries-common-dev. AUTHORS
Rafael Laboissiere, Agustin Martin 1.12.11 2013-1-22 INSTALLDEB-HUNSPELL(1)
Man Page