INSTALLDEB-MYSPELL(1) | INSTALLDEB-MYSPELL(1) |
installdeb-myspell - debhelper-like helper for Debian packages containing myspell/hunspell dictionaries or Openoffice.org thesauri/hyphenation files.
installdeb-myspell [--srcdir=dir] [options] [debhelper options]
installdeb-myspell is a debhelper like program to help installing myspell/hunspell dicts as well as Openoffice.org thesauri or hyphenation files, after contents of an info-myspell file whose format is that for old Openoffice.org 2. This program may also create and install dictionaries in Chromium hunspell binary dic format (.bdic) if --bdic option is set. All this needs the --srcdir option enabled.
Note that unless --srcdir option this program will do nothing.
For more details, see /usr/share/doc/dictionaries-common/dsdt-policy.txt.
The actions executed by installdeb-myspell are the following (only some of them are done if not in o2 compatibility mode):
TYPE LANG COUNTRY NAME
A typical info-myspell file for a myspell/hunspell dictionary will contain something like
# 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 whitespace. Commented lines are allowed.
Same (but the renaming) for hyphenation and thesaurus files, to be installed in [tmpdir]/usr/share/hyphen and [tmpdir]/usr/share/mythes.
If --bdic option is set, dicts in Chromium hunspell binary dictionary format will also be created and installed. This requires /usr/lib/qt5/bin/qwebengine_convert_dict (from qt6-webengine-dev-tools package) be available.
If --bdic-only option is set, only dicts in Chromium hunspell binary dictionary format (.bdic) will be handled and dic, hyphen and thesaurus disabled (even if they have entries in info-myspell file). Equivalent to --bdic --no-dic --no-hyphen --no-thesaurus.
--no-{dic,hyphen,thesaurus} options are provided to disable handling of those files even if they have entries in info-myspell file. Mostly useful for testing.
If --dc-keep is set, temporary files will be preserved once intallation is complete. Currently this only affects .bdic file.
--bdic, --bdic-only and --no-{dic,hyphen,thesaurus} options require at least dictionaries-common-dev 1.29.0. --dc-clean requires at least dictionaries-common-dev 1.29.3.
If --srcdir option is used and the info-myspell file contains something like
# Spanish variants DICT es ES es DICT es AR es ...
installdeb-myspell will automatically set es_ES and es_AR symlinks.
If .bdic is enabled, associated symlinks will be set in the same way.
Shortly, that will no longer be the case. Mozilla will also accept lang_COUNTRY format for that translation table, no special things will be needed. In particular, do not duplicate entries in both lowbar and hyphen forms. Use lowbar.
--dico-debug Show some installdeb-myspell specific
debugging info.
Does not enable debhelper debug, you need to enable
it separately.
--srcdir=dir Will look for .aff/.dic files in the specified
directory
for myspell/hunspell dict packages, for .dic 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.
--dico-{no-}alt-links {Process/Do not process} alternative
symlinks
according to info found in the myspell info file.
--bdic Enable bdic handling.
--bdic-only Deal only with .bdic. Enable .bdic handling and
disable
{dic,hyphen,thesaurus} install.
--no-{dic,hyphen,thesaurus} Disable {dic,hyphen,thesaurus} handling.
The usual debhelper(7) options are accepted.
This program is not part of debhelper, although depends on and is intended to work together with it.
This program is part of the dictionaries-common-dev package. It is intended for use by maintainers of packages containing myspell/hunspell dictionaries or Openoffice.org thesauri/hyphenation files. See the documentation under /usr/share/doc/dictionaries-common-dev.
Rafael Laboissiere <rafael@debian.org>, Agustin Martin <agmartin@debian.org>
2023-3-14 | 1.29.5 |