Source: libreoffice-dictionaries Version: 1:7.5.0-1 Severity: wishlist Hi, Rene and Mattia
Please enable Esperanto stuff from libreoffice dictionaries. This stuff was added in 2021 https://gerrit.libreoffice.org/c/dictionaries/+/110415 In particular, hunspell dict is an hunspell dict using real hunspell capabilities. It should work far better that previous myspell-eo, derived from ispell Esperanto dictionary and limited to pure myspell capabilities. There were no previous packages for hyphenation patterns and thesaurus but while we are at this, ... I am attaching a diff with what seems to me the required changes for Esperanto stuff to be enabled. Current myspell-eo conflicts with hunspell-eo, so only required coordination is to upload a new eo-spell package with myspell-eo made a transitional package once lo-dicts provide this eo stuff. Regards, -- Agustin
From 7e1947c35d94594221e62d0cda65e367a4d287ee Mon Sep 17 00:00:00 2001 From: Agustin Martin Domingo <agmar...@debian.org> Date: Sun, 29 Oct 2023 23:51:02 +0100 Subject: [PATCH] Enable esperanto hunspell dict, hyphenation and thesaurus packages. --- debian/control | 42 ++++++++++++++++++++++++++++++++++++++++++ debian/copyright | 4 ++++ debian/helper.py | 1 + debian/list.json | 15 +++++++++++++++ debian/rules.install | 4 ++++ 5 files changed, 66 insertions(+) diff --git a/debian/control b/debian/control index 9b6f375..193dcb8 100644 --- a/debian/control +++ b/debian/control @@ -486,6 +486,48 @@ Description: English (GB) dictionary for hunspell terminal interface using Curses library, an Ispell pipe interface and a LibreOffice UNO module. +Package: hyphen-eo +Architecture: all +Multi-Arch: foreign +Depends: dictionaries-common, ${misc:Depends} +Suggests: libreoffice-writer +Provides: hyphen-hyphenation-patterns, hyphen-hyphenation-patterns-eo +Description: Esperanto hyphenation patterns + This package contains the Esperanto hyphenation patterns. + . + You can use these patterns with programs which take advantage of libhyphen, + like LibreOffice. + +Package: hunspell-eo +Architecture: all +Multi-Arch: foreign +Depends: dictionaries-common, ${misc:Depends}, ${hunspell:Depends} +Suggests: hunspell, libreoffice-writer +Provides: hunspell-dictionary, hunspell-dictionary-eo +Breaks: myspell-eo (<< 2.1.2000.02.25-62) +Replaces: myspell-eo (<< 2.1.2000.02.25-62) +Description: Esperanto dictionary for hunspell + This is the Esperanto dictionary for use with the hunspell + spellchecker. + . + Hunspell is a spell checker and morphological analyzer library and program + designed for languages with rich morphology and complex word compounding or + character encoding. It is based on MySpell and features an Ispell-like + terminal interface using Curses library, an Ispell pipe interface and a + LibreOffice UNO module. + +Package: mythes-eo +Architecture: all +Multi-Arch: foreign +Depends: dictionaries-common, ${misc:Depends} +Suggests: libreoffice-writer +Provides: mythes-thesaurus, mythes-thesaurus-eo +Description: Esperanto Thesaurus for LibreOffice + Libreoffice is a full-featured office productivity suite that provides a + near drop-in replacement for Microsoft(R) Office. + . + This package contains the Esperanto thesaurus for LibreOffice. + Package: hyphen-es Architecture: all Multi-Arch: foreign diff --git a/debian/copyright b/debian/copyright index 82fcc87..1fc4c84 100644 --- a/debian/copyright +++ b/debian/copyright @@ -187,6 +187,10 @@ License: custom1 % Please contact the TUGboat editorial staff <tugb...@tug.org> % for corrections and omissions. +Files: dictionaries/eo/* +Copyright: Artur Trzewik <a...@xdobry.de> +License: GPL-2+ + Files: dictionaries/es/* Copyright: Santiago Bosio <santiago.bo...@gmail.com> License: GPL-3+ or LGPL-3+ or MPL-1.1+ diff --git a/debian/helper.py b/debian/helper.py index 9436a1e..7f3c471 100755 --- a/debian/helper.py +++ b/debian/helper.py @@ -68,6 +68,7 @@ breaks_replaces = { "hunspell-bg": ("myspell-bg", '<<', '4.1-5'), "hunspell-en-gb": ("myspell-en-gb", '<<', "1:5.0.1+dfsg-1"), "hunspell-en-za": ("myspell-en-za", '<<', "1:5.0.1+dfsg-1"), + "hunspell-eo": ("myspell-eo", '<<', "2.1.2000.02.25-62"), "hunspell-hr": ('myspell-hr', '<<', '1:6.0.3-2'), "hunspell-it": ("myspell-it", '<<', "1:5.0.1+dfsg-1"), "hunspell-kmr": ('myspell-ku', '<<', '1:5.1.3-2'), diff --git a/debian/list.json b/debian/list.json index 859366e..7b325f2 100644 --- a/debian/list.json +++ b/debian/list.json @@ -232,6 +232,21 @@ ], "name": "English (GB)" }, + { + "639-1": "eo", + "code": "eo", + "hunspell": [ + "eo.aff", + "eo.dic" + ], + "hyphen": [ + "hyph_eo.dic" + ], + "mythes": [ + "th_eo.dat" + ], + "name": "Esperanto" + }, { "639-1": "es", "code": "es", diff --git a/debian/rules.install b/debian/rules.install index 2233111..d08a234 100644 --- a/debian/rules.install +++ b/debian/rules.install @@ -50,6 +50,10 @@ install_files: dh_install -phunspell-en-gb dictionaries/en/en_GB.aff usr/share/hunspell dh_install -phunspell-en-gb dictionaries/en/en_GB.dic usr/share/hunspell dh_install -phyphen-en-gb dictionaries/en/hyph_en_GB.dic usr/share/hyphen + dh_install -phunspell-eo dictionaries/eo/eo.aff usr/share/hunspell + dh_install -phunspell-eo dictionaries/eo/eo.dic usr/share/hunspell + dh_install -phyphen-eo dictionaries/eo/hyph_eo.dic usr/share/hyphen + dh_install -pmythes-eo dictionaries/eo/th_eo.dat usr/share/mythes dh_install -phunspell-es dictionaries/es/es.aff usr/share/hunspell dh_install -phunspell-es dictionaries/es/es.dic usr/share/hunspell dh_install -phyphen-es dictionaries/es/hyph_es.dic usr/share/hyphen -- 2.42.0