~ubuntu-branches/ubuntu/karmic/openoffice.org-l10n/karmic

« back to all changes in this revision

Viewing changes to ooo-build/patches/src680/win32-multi-lang-installer.diff

  • Committer: Bazaar Package Importer
  • Author(s): Chris Cheney, Chris Cheney, Matthias Klose
  • Date: 2008-04-01 23:01:30 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080401230130-kiv3et1lcgwqr3ix
Tags: 1:2.4.0-3ubuntu1
* Copy of the openoffice.org source.
  - debian/changelog: Change source name.
  - debian/control.in: Change source name.
  - debian/control: Regenerate control file.
  - Note this version does not include the launchpad rosetta translations
    due to bugs in rosetta causing very long export time.

[ Chris Cheney ]
* Resynchronise with Debian (r1044). Remaining changes:
  - debian/broffice.org.postrm.in:
    . Change diversions to ubuntu bitmap filenames.
  - debian/broffice.org.preinst.in:
    . Change diversions to ubuntu bitmap filenames.
  - debian/control.in:
    . Change maintainer line.
    . Use imagemagick instead of graphicsmagick.
    . Change bzr repo location.
    . Add package openoffice.org-style-human.
    . Add replaces openoffice.org-gtk (<< 2.0.3-1) for openoffice.org-gnome
      dapper upgrade.
  - debian/control.l10n.in:
    . Add file for Ubuntu.
  - debian/control.lang.in:
    . Add L10N_COMMON to Depends.
  - debian/control.mozilla.in:
    . Add Xb-Npp-xxx tags according to "firefox distro add-on suport" spec.
  - debian/control.ubuntu-feisty.in:
    . Add file for Ubuntu.
  - debian/deppackage.postinst.in:
    . Add file for Ubuntu.
  - debian/module-po.map:
    . Add file for Ubuntu.
  - debian/ooo-build-ubuntu.diff:
    . Various Ubuntu specific changes to ooo-build.
  - debian/openoffice.org-base.mime:
    . Update and sort mime-types.
  - debian/openoffice.org-calc.mime:
    . Update and sort mime-types.
  - debian/openoffice.org-draw.mime:
    . Update and sort mime-types.
  - debian/openoffice.org-filter-binfilter.mime:
    . Update and sort mime-types.
  - debian/openoffice.org-impress.mime:
    . Update and sort mime-types.
  - debian/openoffice.org-math.mime:
    . Update and sort mime-types.
  - debian/openoffice.org-writer.mime:
    . Update and sort mime-types.
  - debian/rules:
    . Add BUILD_SPARC option.
    . Add USE_COMMON_DOCDIR option.
    . Add USE_LZMA_COMPRESS option.
    . Add support to build on lpia.
    . Add support to build l10n as a separate source.
    . Add support to chmod +x programs in debian dir.
    . Add support to uuencode binary files in ubuntu dir.
    . Add support for Ubuntu specific bitmaps.
    . Add support for openoffice.org-style-human package.
    . Add support for launchpad translations.
    . Update location of aotcompile.py file.
    . Use imagemagick instead of graphicsmagick.
    . Use openjdk-6-jre instead of icedtea-java7-jre. Closes LP: #203636
    . Various Ubuntu specific changes.
  - debian/scripts/convert2po:
    . Add file for Ubuntu.
  - debian/scripts/fix_image_rgb:
    . Use imagemagick instead of graphicsmagick.
  - debian/scripts/gsifilter.py:
    . Add file for Ubuntu.
  - debian/scripts/splitgsi:
    . Add file for Ubuntu.
  - debian/template.desktop.in:
    . Add NoDisplay=true.
* Resynchronise with ooo-build (r12081).
  - Closes LP: #54776, #62256, #105906, #113358, #131272, #137469, #138252
    Closes LP: #148552, #154940, #160988, #175983, #194759, #197451, #197622
* ubuntu/*:
  - Update splash screen for OOo 2.4. Closes LP: #199193
  - Various Ubuntu specific changes.

[ Matthias Klose ]
* ubuntu/lpi2gsi: Add templates and conversion scripts to generate
  the additional help menu entries.
* Update translations for the OOo help menu, taken from a fresh
  launchpad-integration translations export.
* ooo-build/patches/src680/ubuntu-lpi.diff: Update Launchpad URLs
  (remove /distros), use answers.launchpad.net and translations.launchpad.net
  for +gethelp and +translate respectively
* debian/ooo-build-ubuntu.diff: Remove.
* ubuntu/desktop-templates.diff: Updated, merged from the ooo-build trunk.
* ubuntu/desktop-translations.diff: Updated from a fresh ooo-build
  translations export.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
+
130
130
--- /dev/null
131
131
+++ setup_native/source/win32/customactions/sellang/sellang.cxx 2006-06-02 09:13:53.893875000 +0000
132
 
@@ -0,0 +1,330 @@
 
132
@@ -0,0 +1,347 @@
133
133
+/*************************************************************************
134
134
+ *
135
135
+ *  OpenOffice.org - a multi-platform office productivity suite
419
419
+                * (On most Windows installations, just one UI language is present,
420
420
+                * which obviously is the same as the default UI language. But
421
421
+                * we want to be generic.)
 
422
+                * If none of the languages in a multi-language installer is the
 
423
+                * system default UI language (this happens now in 2.4.0 where we
 
424
+                * cannot put as many UI languages into the installer as we would
 
425
+                * like, but only half a dozen: en-US,de,es,fr,it,pt-BR), pretend 
 
426
+                * that English is the system default UI language,
 
427
+                * so that we will by default deselect everything except
 
428
+                * English. We don't want to by default install all half dozen
 
429
+                * languages for an unsuspecting user of a Finnish Windows, for
 
430
+                * instance. Sigh.
422
431
+                */
423
432
+               if (system_default_lang[0]) {
424
433
+                       for (i = 0; i < nlangs; i++) {
432
441
+                       }
433
442
+               }
434
443
+
 
444
+               if (!have_system_default_lang) {
 
445
+#ifdef VERBOSE_DEBUG_OUTPUT
 
446
+                       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);
 
447
+                       MessageBoxA(NULL, tem, "SelectLanguage", MB_OK);
 
448
+#endif
 
449
+                       system_default_lang = "en";
 
450
+                       have_system_default_lang = 1;
 
451
+               }
435
452
+               if (have_system_default_lang) {
436
453
+                       for (i = 0; i < nlangs; i++) {
437
454
+                               if (memcmp(system_default_lang, langs[i], 2) != 0 &&