summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2022-01-28 15:19:14 -0300
committerEike Rathke <erack@redhat.com>2022-02-14 18:40:14 +0100
commit5727a12acc6a159ff2df3526530fee8e3fca2984 (patch)
treec5b604e7e9a5bcc2735fe42eefcd47fa1a6fb8fe
parent27f7077cff0c85c99c34d7bf47c14179f105e2d1 (diff)
Adding Central Kurdish(ckb) Spell Checker & Dictionary
Part II (core) Dictionary packaging Based on https://gerrit.libreoffice.org/c/core/+/59882 Change-Id: Ib60553acf1764743918e666d4e6308c1976c6813 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129120 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
-rw-r--r--readlicense_oo/license/license.xml6
-rw-r--r--scp2/source/ooo/file_ooo.scp9
-rw-r--r--scp2/source/ooo/module_ooo.scp11
-rw-r--r--scp2/source/ooo/module_ooo.ulf6
-rw-r--r--setup_native/source/packinfo/packinfo_office.txt15
-rw-r--r--setup_native/source/packinfo/spellchecker_selection.txt1
6 files changed, 48 insertions, 0 deletions
diff --git a/readlicense_oo/license/license.xml b/readlicense_oo/license/license.xml
index 9c00f393bf77..56b36c71fa02 100644
--- a/readlicense_oo/license/license.xml
+++ b/readlicense_oo/license/license.xml
@@ -2840,6 +2840,12 @@
"https://gerrit.libreoffice.org/plugins/gitiles/dictionaries/+/master/cs_CZ/README_en.txt">Appendix A</a></p>
<p>The thesaurus is generated automatically via a script by Jan Holesovsky &lt;kendy@collabora.com&gt;, based
on idea of Zdenek Zabokrtsky - big thanks!</p>
+ <h2>Central Kurdish</h2>
+ <h3>Spelling dictionary</h3>
+ <p>Author: Sina Ahmadi &lt;ahmadi.sina@outlook.com&gt;<br />The following software may be included in this product: Central Kurdish spelling dictionary. Use of any of this
+ software is governed by the terms of the license below:</p>
+ <p>Creative Commons <a href="#a__CC-BY-SA_4_0">CC-BY-SA</a></p>
+ <p>The source CKB dictionary is available from <a href="https://github.com/sinaahmadi/KurdishHunspell">Kurdish Hunspell</a> project.</p>
<h2>Croatian</h2>
<h3>Spelling dictionary</h3>
<p>The following software may be included in this product: Croatian spelling dictionary. Use of any of this
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index 9a49f163adaa..3561a2e2ddc8 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -357,6 +357,15 @@ End
#endif
#if defined WITH_MYSPELL_DICTS
+File gid_File_Extension_Dictionary_Ckb
+ Dir = FILELIST_DIR;
+ Name = "Dictionary/dict-ckb.filelist";
+ Styles = (PACKED, FORCELANGUAGEPACK, FILELIST);
+ TXT_FILE_BODY;
+End
+#endif
+
+#if defined WITH_MYSPELL_DICTS
File gid_File_Extension_Dictionary_Cs
Dir = FILELIST_DIR;
Name = "Dictionary/dict-cs.filelist";
diff --git a/scp2/source/ooo/module_ooo.scp b/scp2/source/ooo/module_ooo.scp
index 842b244b1670..7538d02f6a01 100644
--- a/scp2/source/ooo/module_ooo.scp
+++ b/scp2/source/ooo/module_ooo.scp
@@ -236,6 +236,17 @@ Module gid_Module_Root_Extension_Dictionary_Ca
Styles = ();
End
+Module gid_Module_Root_Extension_Dictionary_Ckb
+ MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_CKB );
+ Files = (gid_File_Extension_Dictionary_Ckb);
+ InstallOrder = "2000";
+ Sortkey = "525";
+ Spellcheckerlanguage = "ckb";
+ PackageInfo = "packinfo_office.txt";
+ ParentID = gid_Module_Dictionaries;
+ Styles = ();
+End
+
Module gid_Module_Root_Extension_Dictionary_Cs
MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_CS );
Files = (gid_File_Extension_Dictionary_Cs);
diff --git a/scp2/source/ooo/module_ooo.ulf b/scp2/source/ooo/module_ooo.ulf
index 95ccd76fca38..c900375278f8 100644
--- a/scp2/source/ooo/module_ooo.ulf
+++ b/scp2/source/ooo/module_ooo.ulf
@@ -100,6 +100,12 @@ en-US = "Catalan"
[STR_DESC_MODULE_EXTENSION_DICTIONARY_CA]
en-US = "Catalan spelling dictionary, hyphenation rules, and thesaurus"
+[STR_NAME_MODULE_EXTENSION_DICTIONARY_CKB]
+en-US = "Central Kurdish"
+
+[STR_DESC_MODULE_EXTENSION_DICTIONARY_CS]
+en-US = "Central Kurdish spelling dictionary"
+
[STR_NAME_MODULE_EXTENSION_DICTIONARY_CS]
en-US = "Czech"
diff --git a/setup_native/source/packinfo/packinfo_office.txt b/setup_native/source/packinfo/packinfo_office.txt
index 4233364eed4f..6aed60aea7e7 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -508,6 +508,21 @@ packageversion = "%PACKAGEVERSION"
End
Start
+module = "gid_Module_Root_Extension_Dictionary_Ckb"
+solarispackagename = "%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-ckb"
+solarisrequires = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, %PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION"
+packagename = "%UNIXPACKAGENAME%BRANDPACKAGEVERSION-dict-ckb"
+requires = "%UREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure %PACKAGEVERSION %PACKAGEVERSION-%PACKAGEREVISION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core %PACKAGEVERSION %PACKAGEVERSION-%PACKAGEREVISION,%UNIXPACKAGENAME%BRANDPACKAGEVERSION %PACKAGEVERSION %PACKAGEVERSION-%PACKAGEREVISION"
+linuxpatchrequires = ""
+copyright = "2022 The Document Foundation"
+solariscopyright = "solariscopyrightfile"
+vendor = "The Document Foundation"
+description = "Ckb dictionary for %PRODUCTNAME %PRODUCTVERSION"
+destpath = "/opt"
+packageversion = "%PACKAGEVERSION"
+End
+
+Start
module = "gid_Module_Root_Extension_Dictionary_Cs"
solarispackagename = "%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-cs"
solarisrequires = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, %PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION"
diff --git a/setup_native/source/packinfo/spellchecker_selection.txt b/setup_native/source/packinfo/spellchecker_selection.txt
index 02037dacac64..7d4f8b25a83d 100644
--- a/setup_native/source/packinfo/spellchecker_selection.txt
+++ b/setup_native/source/packinfo/spellchecker_selection.txt
@@ -36,6 +36,7 @@ br = "br,fr"
bs = "bs"
ca = "ca,an,es,fr,it,oc"
ca-valencia = "ca,an,es,fr,it,oc"
+ckb = "ckb"
cs = "cs"
da = "da,de"
de = "de,fr,it"