Bug#1055038: libreoffice-dictionaries: Please enable Esperanto hunspell dict, hyphenation and thesaurus packages.
El lun, 30 oct 2023 a las 0:18, Agustin Martin () escribió: > > 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 > > I am attaching a diff with what seems to me the required changes for > Esperanto stuff to be enabled. Hi, Attached slightly updated diff (include year in copyright notice and add esperanto stuff to ass_639_code and ass_639_name variables). Did not rebuild json list, seems there are some other new dicts. Regards, -- Agustin From 925253a9343c290fb07d366b178b4144f9c4e558 Mon Sep 17 00:00:00 2001 From: Agustin Martin Domingo 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 | 5 +++-- debian/list.json | 15 +++ debian/rules.install | 4 5 files changed, 68 insertions(+), 2 deletions(-) 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..8ba57bc 100644 --- a/debian/copyright +++ b/debian/copyright @@ -187,6 +187,10 @@ License: custom1 % Please contact the TUGboat editorial staff % for corrections and omissions. +Files: dictionaries/eo/* +Copyright: 2010 Artur Trzewik +License: GPL-2+ + Files: dictionaries/es/* Copyright: Santiago Bosio License: GPL-3+ or LGPL-3+ or MPL-1.1+ diff --git a/debian/helper.py b/debian/helper.py index 9436a1e..014785a 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'), @@ -171,10 +172,10 @@ Description: German dictionary for hunspell ("frami" version) # Code lookup: https://en.wikipedia.org/wiki/ISO_639:$code # link the pseudo-RFC639-1 used by upstream (the key) to an actual RFC639-1 or RFC638-2 -ass_639_code = {"af_ZA": "af", "an_ES": "an", "ar": "ar", "be_BY": "be", "bg_BG": "bg", "bn_BD": "bn", "bo": "bo", "br_FR": "br", "bs_BA": "bs", "ca": "ca", "cs_CZ": "cs", "da_DK": "da", "de": "de", "el_GR": "el", "en": "en", "es": "es", "et_EE": "et", "fr_FR": "fr", "gd_GB": "gd", "gl": "gl", "gu_IN": "gu", "gug": "gug", "he_IL": "he", "hi_IN": "hi", "hr_HR": "hr", "hu_HU": "hu", "id": "id", "is": "is", "it_IT": "it", "kmr_Latn": "kmr", "lo_LA": "lo", "lt_LT": "lt", "lv_LV": "lv", "mn_MN": "mn", "ne_NP": "ne", "nl_NL": "nl", "no": "no", "oc_FR": "oc", "pl_PL": "pl", "pt_BR": "pt-br", "pt_PT": "pt-pt", "ro": "ro", "ru_RU": "ru", "si_LK": "si", "sk_SK": "sk", "sl_SI": "sl", "sq_AL": "sq", "sr": "sr", "sv_SE": "sv",
Bug#1055038: libreoffice-dictionaries: Please enable Esperanto hunspell dict, hyphenation and thesaurus packages.
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 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 % for corrections and omissions. +Files: dictionaries/eo/* +Copyright: Artur Trzewik +License: GPL-2+ + Files: dictionaries/es/* Copyright: Santiago Bosio 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 @@