Rechercher une page de manuel
installdeb-myspell
Langue: en
Version: 2009-4-23 (debian - 07/07/09)
Section: 1 (Commandes utilisateur)
NAME
installdeb-myspell - debhelper-like utility for maintainers of Openoffice.org myspell dictionary Debian packagesSYNOPSIS
installdeb-myspell [--srcdir=dir] [debhelper options]
DESCRIPTION
installdeb-myspell is a debhelper like program that is responsible for installing appropriate debhelper snippets in an myspell dictionary package for use under Openoffice.org, according to the Debian Spell Dictionaries and Tools Policy.I will also install Openoffice.org hyphenation or thesaurus files if so requested when used from a Openoffice.org hyphenation or thesaurus package and add appropriate debhelper snippets so they are added to the dictionary.lst file.
For more details, see
/usr/share/doc/dictionaries-common/dsdt-policy.txt.
The actions executed by installdeb-myspell are the following:
- Maintainer Scripts
- installdeb-myspell installs the necessary scraps of code in the postinst and postrm scripts.
- Language info file
- installdeb-myspell will look for a file containing myspell dictionary information, called debian/info-myspell or debian/package.info-myspell. If this file is successfully parsed, it is installed in the [tmpdir]/usr/share/myspell/infos/ooo directory.
A typical info-myspell file for a myspell dictionary will contain something like (all variants must refer to the same dict)
# Spanish variants DICT es ES es_ES DICT es AR es_ES ...
while will, for a typical hyphenation file, be something like
# Danish hyphenation HYPH da DK hyph_da_DK
or for a sample thesaurus,
THES en US th_en_US
all with no leading whitespaces.
- Mozilla spellchecker compatibility
- installdeb-myspell will set appropriate symlinks in destination directory for mozilla spellchecker compatibility unless debian/$package.links exists. If so, symlink creation is expected to be handled through debhelper. This will be needed for some languages (like eo) where mozilla expects the plain isolang code instead of the lang-COUNTRY one.
- Dictionary files installation
- If the --srcdir=dir option is set installdeb-myspell will look for the .aff/.dic files in the directory specified by dir and install them in the default target directory ([tmpdir]/usr/share/myspell/dicts). Base name will be extracted from the info-myspell file. Same for hyphenation and thesaurus files.
- Debconf files
- As opposed to installdeb-ispell and installdeb-wordlist, installdeb-myspell does nothing related to debconf files, that are not needed for myspell. For that reason if you need to add debconf stuff with debhelper to your myspell dictionary package do it in the usual way and call dh_installdebconf(1) as for any other package.
OPTIONS
--srcdir=dir Will look for .aff/.dic files in the specified directoryfor myspell dict packages, for .dat files in
Openoffice.org hyphenation packages and for {.dat,.idx}
files in Openoffice.org thesaurus packages, installing
them if present in the default target directory. Base
name will be extracted from the info-myspell file. If
this option is specified and files are not present an
error will appear.
The usual debhelper(1) options are accepted.
NOTES
This program is not part of debhelper, although it is intended to be used in Openoffice.org myspell 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 Openoffice.org myspell dictionaries. See the documentation under /usr/share/doc/dictionaries-common-dev.
AUTHORS
Rafael LaboissiereContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre