readlicense_oo/license/license.xml                      |    9 +++++++++
 scp2/source/ooo/file_ooo.scp                            |    9 +++++++++
 scp2/source/ooo/module_ooo.scp                          |   11 +++++++++++
 scp2/source/ooo/module_ooo.ulf                          |    6 ++++++
 setup_native/source/packinfo/packinfo_office.txt        |   15 +++++++++++++++
 setup_native/source/packinfo/spellchecker_selection.txt |    1 +
 6 files changed, 51 insertions(+)

New commits:
commit 08cf27d81f1a6c15d485de868c8d9403be0c3830
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Fri Aug 26 04:14:39 2022 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Mon Aug 29 21:42:16 2022 +0200

    Add Persian (fa-IR) dictionary to installset
    
    Change-Id: I7abf38be5c8d8c8bfb7eb3a756695054b4275f9f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138892
    Reviewed-by: Andras Timar <andras.ti...@collabora.com>
    Tested-by: Jenkins
    (cherry picked from commit 7bc61569e25fe0c32063896eced72219cc4fb3f5)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138902
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>

diff --git a/readlicense_oo/license/license.xml 
b/readlicense_oo/license/license.xml
index 53de23155b1d..2e1e33d926b0 100644
--- a/readlicense_oo/license/license.xml
+++ b/readlicense_oo/license/license.xml
@@ -3737,6 +3737,15 @@
         Public License as published by the Free Software Foundation; either 
version 2 of the License, or (at your
         option) any later version.</p>
         <p><a href="#a__GPL_version_2">Jump to GPL Version 2</a></p>
+        <h2>Persian (Farsi)</h2>
+        <h3>Spelling dictionary</h3>
+        <p>The following software may be included in this product: Persian 
(Farsi) spelling dictionary. Use of any of this
+        software is governed by the terms of the license below:</p>
+        <p>Lilak, Persian Spell Checking Dictionary</p>
+        <p>Copyright (C) 2015 Mostafa Sedaghat Joo</p>
+        <p>Lilak is an open source project for generating Persian dictionary 
for hunspell spell checker based on Persian
+        Morphology. This dictionary is free and the source is available under 
Apache License Version 2.0.</p>
+        <p><a href="#a__Apache_License_version_2_0">Jump to Apache License 
Version 2.0</a></p>
         <h2>Polish</h2>
         <h3>Spelling dictionary</h3>
         <p>The following software may be included in this product: Polish 
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..10f2824ac766 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -428,6 +428,15 @@ File gid_File_Extension_Dictionary_Et
 End
 #endif
 
+#if defined WITH_MYSPELL_DICTS
+File gid_File_Extension_Dictionary_Fa
+       Dir = FILELIST_DIR;
+       Name = "Dictionary/dict-fa.filelist";
+       Styles = (PACKED, FORCELANGUAGEPACK, FILELIST);
+       TXT_FILE_BODY;
+End
+#endif
+
 #if defined WITH_MYSPELL_DICTS
 File gid_File_Extension_Dictionary_Fr
        Dir = FILELIST_DIR;
diff --git a/scp2/source/ooo/module_ooo.scp b/scp2/source/ooo/module_ooo.scp
index 842b244b1670..bf547002600f 100644
--- a/scp2/source/ooo/module_ooo.scp
+++ b/scp2/source/ooo/module_ooo.scp
@@ -324,6 +324,17 @@ Module gid_Module_Root_Extension_Dictionary_Et
     Styles = ();
 End
 
+Module gid_Module_Root_Extension_Dictionary_Fa
+    MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_FA );
+    Files = (gid_File_Extension_Dictionary_Fa);
+    InstallOrder = "2000";
+    Sortkey = "658";
+    Spellcheckerlanguage = "fa";
+    PackageInfo = "packinfo_office.txt";
+    ParentID = gid_Module_Dictionaries;
+    Styles = ();
+End
+
 Module gid_Module_Root_Extension_Dictionary_Fr
     MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_FR );
     Files = (gid_File_Extension_Dictionary_Fr);
diff --git a/scp2/source/ooo/module_ooo.ulf b/scp2/source/ooo/module_ooo.ulf
index 95ccd76fca38..b15f98a7c0ea 100644
--- a/scp2/source/ooo/module_ooo.ulf
+++ b/scp2/source/ooo/module_ooo.ulf
@@ -148,6 +148,12 @@ en-US = "Estonian"
 [STR_DESC_MODULE_EXTENSION_DICTIONARY_ET]
 en-US = "Estonian spelling dictionary, and hyphenation rules"
 
+[STR_NAME_MODULE_EXTENSION_DICTIONARY_FA]
+en-US = "Persian"
+
+[STR_DESC_MODULE_EXTENSION_DICTIONARY_FA]
+en-US = "Persian Spell Checking Dictionary"
+
 [STR_NAME_MODULE_EXTENSION_DICTIONARY_FR]
 en-US = "French"
 
diff --git a/setup_native/source/packinfo/packinfo_office.txt 
b/setup_native/source/packinfo/packinfo_office.txt
index d79ef1fd5a68..1617bb7fb73f 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -629,6 +629,21 @@ destpath = "/opt"
 packageversion = "%PACKAGEVERSION"
 End
 
+Start
+module = "gid_Module_Root_Extension_Dictionary_Fa"
+solarispackagename = 
"%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-fa"
+solarisrequires = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure, 
%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core, 
%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION"
+packagename = "%UNIXPACKAGENAME%BRANDPACKAGEVERSION-dict-fa"
+requires = "%UREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure %PACKAGEVERSION 
%PACKAGEVERSION-%PACKAGEREVISION,%BASISPACKAGEPREFIX%PRODUCTVERSION-core 
%PACKAGEVERSION 
%PACKAGEVERSION-%PACKAGEREVISION,%UNIXPACKAGENAME%BRANDPACKAGEVERSION 
%PACKAGEVERSION %PACKAGEVERSION-%PACKAGEREVISION"
+linuxpatchrequires = ""
+copyright = "2015 Mostafa Sedaghat Joo"
+solariscopyright = "solariscopyrightfile"
+vendor = "Mostafa Sedaghat Joo"
+description = "Fa dictionary for %PRODUCTNAME %PRODUCTVERSION"
+destpath = "/opt"
+packageversion = "%PACKAGEVERSION"
+End
+
 Start
 module = "gid_Module_Root_Extension_Dictionary_Fr"
 solarispackagename = 
"%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-fr"
diff --git a/setup_native/source/packinfo/spellchecker_selection.txt 
b/setup_native/source/packinfo/spellchecker_selection.txt
index 02037dacac64..d4ab3a89d2ba 100644
--- a/setup_native/source/packinfo/spellchecker_selection.txt
+++ b/setup_native/source/packinfo/spellchecker_selection.txt
@@ -46,6 +46,7 @@ en-ZA = "en,es,fr"
 eo = "eo"
 es = "es,an,ca,fr,gl,oc,pt-PT"
 et = "et"
+fa = "fa"
 fr = "fr,es"
 gd = "gd"
 gl = "gl,pt-PT,es"

Reply via email to