ooo-build r12027 - in branches/sled-10-sp1-ooo-build-2-4: . patches/src680
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r12027 - in branches/sled-10-sp1-ooo-build-2-4: . patches/src680
- Date: Fri, 28 Mar 2008 09:35:37 +0000 (GMT)
Author: tml
Date: Fri Mar 28 09:35:37 2008
New Revision: 12027
URL: http://svn.gnome.org/viewvc/ooo-build?rev=12027&view=rev
Log:
2008-03-28 Tor Lillqvist <tml novell com>
Novell Edition Windows build OOo-2.4.0-15-1 at this point.
2008-03-28 Tor Lillqvist <tml novell com>
* patches/src680/win32-multi-lang-installer.diff
(setup_native/source/win32/customactions/sellang/sellang.cxx):
Have to rework the logic used to deselect irrelevant language
packs in a multi-language installer once more. There is an issue
in 2.4.0 where using lots of languages causes the installer
builder to run forever. We thus have to severely restrict the
number of languages included in the installer. (We use just
en-US,de,es,fr,it,pt-BR.)
If the system default UI language is not among the ones present in
the installer, then by default deselect all except English. (Yes,
it is somewhat rude to assume English being the desired default
then; however by choosing a Custom installation the user is of
course free to select herself which ones she wants.)
This avoids the situation where for instance on a Finnish Windows
machine all six languages would be installed. That is probably
less desirable than installing just English.
Modified:
branches/sled-10-sp1-ooo-build-2-4/ChangeLog
branches/sled-10-sp1-ooo-build-2-4/patches/src680/win32-multi-lang-installer.diff
Modified: branches/sled-10-sp1-ooo-build-2-4/patches/src680/win32-multi-lang-installer.diff
==============================================================================
--- branches/sled-10-sp1-ooo-build-2-4/patches/src680/win32-multi-lang-installer.diff (original)
+++ branches/sled-10-sp1-ooo-build-2-4/patches/src680/win32-multi-lang-installer.diff Fri Mar 28 09:35:37 2008
@@ -129,7 +129,7 @@
+
--- /dev/null
+++ setup_native/source/win32/customactions/sellang/sellang.cxx 2006-06-02 09:13:53.893875000 +0000
-@@ -0,0 +1,330 @@
+@@ -0,0 +1,347 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
@@ -419,6 +419,15 @@
+ * (On most Windows installations, just one UI language is present,
+ * which obviously is the same as the default UI language. But
+ * we want to be generic.)
++ * If none of the languages in a multi-language installer is the
++ * system default UI language (this happens now in 2.4.0 where we
++ * cannot put as many UI languages into the installer as we would
++ * like, but only half a dozen: en-US,de,es,fr,it,pt-BR), pretend
++ * that English is the system default UI language,
++ * so that we will by default deselect everything except
++ * English. We don't want to by default install all half dozen
++ * languages for an unsuspecting user of a Finnish Windows, for
++ * instance. Sigh.
+ */
+ if (system_default_lang[0]) {
+ for (i = 0; i < nlangs; i++) {
@@ -432,6 +441,14 @@
+ }
+ }
+
++ if (!have_system_default_lang) {
++#ifdef VERBOSE_DEBUG_OUTPUT
++ sprintf(tem, "We don't have the system default language %s in the installer, so pretend that English is the system default, sigh.", system_default_lang);
++ MessageBoxA(NULL, tem, "SelectLanguage", MB_OK);
++#endif
++ system_default_lang = "en";
++ have_system_default_lang = 1;
++ }
+ if (have_system_default_lang) {
+ for (i = 0; i < nlangs; i++) {
+ if (memcmp(system_default_lang, langs[i], 2) != 0 &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]