[PATCH] Change in core[libreoffice-4-0]: fdo#59713 add Bosnian Hunspell dictionary

Andras Timar (via Code Review) gerrit at gerrit.libreoffice.org
Tue Jan 22 10:56:15 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1812

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/12/1812/1

fdo#59713 add Bosnian Hunspell dictionary

Conflicts:

	scp2/source/ooo/file_ooo.scp

Change-Id: I84a561fe081040a56acd394b789e2ce1cb488457
---
M scp2/source/ooo/common_brand.scp
M scp2/source/ooo/file_ooo.scp
M scp2/source/ooo/module_ooo.scp
M scp2/source/ooo/module_ooo.ulf
M setup_native/source/packinfo/packinfo_office.txt
M setup_native/source/packinfo/spellchecker_selection.txt
6 files changed, 47 insertions(+), 0 deletions(-)



diff --git a/scp2/source/ooo/common_brand.scp b/scp2/source/ooo/common_brand.scp
index 0c21df8..58921c3 100644
--- a/scp2/source/ooo/common_brand.scp
+++ b/scp2/source/ooo/common_brand.scp
@@ -208,6 +208,11 @@
     DosName = "dict-br";
 End
 
+Directory gid_Brand_Dir_Share_Extensions_Dict_Bs
+    ParentID = gid_Brand_Dir_Share_Extensions;
+    DosName = "dict-bs";
+End
+
 Directory gid_Brand_Dir_Share_Extensions_Dict_Ca
     ParentID = gid_Brand_Dir_Share_Extensions;
     DosName = "dict-ca";
diff --git a/scp2/source/ooo/file_ooo.scp b/scp2/source/ooo/file_ooo.scp
index c4b48d1..e977049 100644
--- a/scp2/source/ooo/file_ooo.scp
+++ b/scp2/source/ooo/file_ooo.scp
@@ -1354,6 +1354,15 @@
 #endif
 
 #ifndef WITHOUT_MYSPELL_DICTS
+File gid_File_Extension_Dictionary_Bs
+	Dir = gid_Brand_Dir_Share_Extensions_Dict_Bs;
+	Name = "dict-bs.oxt";
+	Styles = (PACKED, FORCELANGUAGEPACK, ARCHIVE);
+	UnixRights = 444;
+End
+#endif
+
+#ifndef WITHOUT_MYSPELL_DICTS
 File gid_File_Extension_Dictionary_Ca
     Dir = gid_Brand_Dir_Share_Extensions_Dict_Ca;
     Name = "dict-ca.oxt";
diff --git a/scp2/source/ooo/module_ooo.scp b/scp2/source/ooo/module_ooo.scp
index 2ae3e41..dfa8391 100644
--- a/scp2/source/ooo/module_ooo.scp
+++ b/scp2/source/ooo/module_ooo.scp
@@ -132,6 +132,17 @@
     Styles = ();
 End
 
+Module gid_Module_Root_Extension_Dictionary_Bs
+    MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_BS );
+    Files = (gid_File_Extension_Dictionary_Bs);
+    InstallOrder = "2000";
+    Sortkey = "517";
+    Spellcheckerlanguage = "bs";
+    PackageInfo = "packinfo_office.txt";
+    ParentID = gid_Module_Dictionaries;
+    Styles = ();
+End
+
 Module gid_Module_Root_Extension_Dictionary_Ca
     MOD_NAME_DESC ( MODULE_EXTENSION_DICTIONARY_CA );
     Files = (gid_File_Extension_Dictionary_Ca);
diff --git a/scp2/source/ooo/module_ooo.ulf b/scp2/source/ooo/module_ooo.ulf
index 6809206..7463ab6 100644
--- a/scp2/source/ooo/module_ooo.ulf
+++ b/scp2/source/ooo/module_ooo.ulf
@@ -91,6 +91,12 @@
 [STR_DESC_MODULE_EXTENSION_DICTIONARY_BR]
 en-US = "Breton spelling dictionary"
 
+[STR_NAME_MODULE_EXTENSION_DICTIONARY_BS]
+en-US = "Bosnian"
+
+[STR_DESC_MODULE_EXTENSION_DICTIONARY_BS]
+en-US = "Bosnian spelling dictionary"
+
 [STR_NAME_MODULE_EXTENSION_DICTIONARY_CA]
 en-US = "Catalan"
 
diff --git a/setup_native/source/packinfo/packinfo_office.txt b/setup_native/source/packinfo/packinfo_office.txt
index 5ace658..3e8c89e 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -599,6 +599,21 @@
 End
 
 Start
+module = "gid_Module_Root_Extension_Dictionary_Bs"
+solarispackagename = "%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-bs"
+solarisrequires = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core02, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core03, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core04, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core05, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core06, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core07, %PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION"
+packagename = "%UNIXPACKAGENAME%BRANDPACKAGEVERSION-dict-bs"
+requires = "%UREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure,%BASISPACKAGEPREFIX%PRODUCTVERSION-core01,%BASISPACKAGEPREFIX%PRODUCTVERSION-core02,%BASISPACKAGEPREFIX%PRODUCTVERSION-core03,%BASISPACKAGEPREFIX%PRODUCTVERSION-core04,%BASISPACKAGEPREFIX%PRODUCTVERSION-core05,%BASISPACKAGEPREFIX%PRODUCTVERSION-core06,%BASISPACKAGEPREFIX%PRODUCTVERSION-core07,%UNIXPACKAGENAME%BRANDPACKAGEVERSION"
+linuxpatchrequires = ""
+copyright = "2013 by Vedran Ljubović"
+solariscopyright = "solariscopyrightfile"
+vendor = "Vedran Ljubović"
+description = "Bs dictionary for %PRODUCTNAME %PRODUCTVERSION"
+destpath = "/opt"
+packageversion = "%PACKAGEVERSION"
+End
+
+Start
 module = "gid_Module_Root_Extension_Dictionary_Ca"
 solarispackagename = "%PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION-dict-ca"
 solarisrequires = "%SOLSUREPACKAGEPREFIX%BRANDPACKAGEVERSION-ure, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core02, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core03, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core04, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core05, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core06, %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core07, %PACKAGEPREFIX%SOLARISBRANDPACKAGENAME%BRANDPACKAGEVERSION"
diff --git a/setup_native/source/packinfo/spellchecker_selection.txt b/setup_native/source/packinfo/spellchecker_selection.txt
index 2ae0e47..b318c7e 100644
--- a/setup_native/source/packinfo/spellchecker_selection.txt
+++ b/setup_native/source/packinfo/spellchecker_selection.txt
@@ -32,6 +32,7 @@
 bg = "bg"
 bn = "bn"
 br = "br,fr"
+bs = "bs"
 ca = "an,ca,es,fr,it,oc"
 cs = "cs"
 da = "da,de"

-- 
To view, visit https://gerrit.libreoffice.org/1812
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I84a561fe081040a56acd394b789e2ce1cb488457
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Andras Timar <atimar at suse.com>



More information about the LibreOffice mailing list