Bug 350688 Dictionaries should form part of the locale pack in the installer. r=ajschult,sr=neil

This commit is contained in:
bugzilla%standard8.demon.co.uk 2006-09-08 14:47:38 +00:00
Родитель 720911f967
Коммит 08df207afa
4 изменённых файлов: 10 добавлений и 422 удалений

Просмотреть файл

@ -55,14 +55,13 @@ C2=Component2
C3=Component3
C4=Component5
C5=Component6
C6=Component9
C7=Component11
C6=Component10
[Setup Type1]
; *** LOCALIZE ME BABY ***
Description Short=Complete
; *** LOCALIZE ME BABY ***
Description Long=Navigator, Mail & News, Spellchecker, Chatzilla, Debugger, Inspector, and Reporter
Description Long=Navigator, Mail & News, Chatzilla, Debugger, Inspector, and Reporter
C0=Component0
C1=Component1
C2=Component2
@ -74,7 +73,6 @@ C7=Component7
C8=Component8
C9=Component9
C10=Component10
C11=Component11
[Setup Type2]
; *** LOCALIZE ME BABY ***
@ -86,7 +84,7 @@ C1=Component1
C2=Component3
C3=Component5
C4=Component6
C5=Component11
C5=Component10
[Setup Type3]
; *** LOCALIZE ME BABY ***
@ -104,7 +102,6 @@ C7=Component7
C8=Component8
C9=Component9
C10=Component10
C11=Component11
;-------------------------------------------------------------------------
@ -205,16 +202,6 @@ Attributes=SELECTED
URL0=$URLPath$
[Component9]
Description Short=Spellchecker
; *** LOCALIZE ME BABY ***
Description Long=Spellchecker
Archive=spellcheck.xpi
$InstallSize$:spellcheck
$InstallSizeArchive$:spellcheck.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component10]
Description Short=Website Reporter
; *** LOCALIZE ME BABY ***
Description Long=Website Reporter
@ -224,7 +211,7 @@ $InstallSizeArchive$:reporter.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component11]
[Component10]
Description Short=Quality Feedback Agent
; *** LOCALIZE ME BABY ***
Description Long=for reporting $AppDisplayName$ crash information

Просмотреть файл

@ -19,6 +19,7 @@ bin/defaults/profile/en-US/*
bin/defaults/messenger/en-US/*
bin/defaults/isp/en-US/movemail.rdf
bin/searchplugins/*
bin/dictionaries/*
[deflenus]
;
@ -295,6 +296,11 @@ bin/components/libimgicon.so
bin/components/xulappinfo.js
bin/components/xulappinfo.xpt
; spellchecker (may not be present)
bin/components/libmyspell.so
bin/components/spellchecker.xpt
bin/components/libspellchecker.so
; NegotiateAuth
bin/components/libauth.so
@ -537,12 +543,6 @@ bin/res/inspector/viewer-registry.rdf
bin/res/inspector/search-registry.rdf
bin/chrome/icons/default/winInspectorMain*.xpm
[spellcheck]
bin/components/libmyspell.so
bin/components/libspellchecker.so
bin/components/spellchecker.xpt
bin/dictionaries/*
[reporter]
bin/chrome/reporter.jar
bin/chrome/reporter.manifest

Просмотреть файл

@ -1,266 +0,0 @@
; XXXThis is the Configuration file for Suite builds with MOZ_XUL_APP=0
; set. For MOZ_XUL_APP=1 see suite/installer/unix/config.it
; Changes should be reflected in both files.
;-------------------------------------------------------------------------
[General]
;-------------------------------------------------------------------------
Default Location=/usr/local/$AppName$
; *** LOCALIZE ME BABY ***
Title=$AppDisplayName$ Installer
; The Default Setup Type value must exactly match the "Description Short"
; value of the desired setup type.
; *** LOCALIZE ME BABY ***
Default Setup Type=Typical
;-------------------------------------------------------------------------
[Cleanup On Upgrade]
;-------------------------------------------------------------------------
ObjectToIgnore0=plugins
ObjectToIgnore1=install.log
;-------------------------------------------------------------------------
[Dialog Welcome]
;-------------------------------------------------------------------------
Show Dialog=TRUE
Title=$AppDisplayName$ Installer
Readme File=README
;-------------------------------------------------------------------------
[Dialog License]
;-------------------------------------------------------------------------
Show Dialog=TRUE
Title=$AppDisplayName$ Installer
License File=MPL-1.1.txt
;-------------------------------------------------------------------------
[Dialog Setup Type]
;-------------------------------------------------------------------------
Title=$AppDisplayName$ Installer
; *** LOCALIZE ME BABY ***
Message0=Please select the setup type you wish to install.
[Setup Type0]
; *** LOCALIZE ME BABY ***
Description Short=Typical
; *** LOCALIZE ME BABY ***
Description Long=Navigator and Mail & News
C0=Component0
C1=Component1
C2=Component2
C3=Component3
C4=Component5
C5=Component6
C6=Component9
C7=Component11
[Setup Type1]
; *** LOCALIZE ME BABY ***
Description Short=Complete
; *** LOCALIZE ME BABY ***
Description Long=Navigator, Mail & News, Spellchecker, Chatzilla, Debugger, Inspector, and Reporter
C0=Component0
C1=Component1
C2=Component2
C3=Component3
C4=Component4
C5=Component5
C6=Component6
C7=Component7
C8=Component8
C9=Component9
C10=Component10
C11=Component11
[Setup Type2]
; *** LOCALIZE ME BABY ***
Description Short=Navigator
; *** LOCALIZE ME BABY ***
Description Long=Navigator only
C0=Component0
C1=Component1
C2=Component3
C3=Component5
C4=Component6
C5=Component11
[Setup Type3]
; *** LOCALIZE ME BABY ***
Description Short=Custom
; *** LOCALIZE ME BABY ***
Description Long=Choose components you wish to install
C0=Component0
C1=Component1
C2=Component2
C3=Component3
C4=Component4
C5=Component5
C6=Component6
C7=Component7
C8=Component8
C9=Component9
C10=Component10
C11=Component11
;-------------------------------------------------------------------------
[Dialog Select Components]
;-------------------------------------------------------------------------
Title=$AppDisplayName$ Installer
; *** LOCALIZE ME BABY ***
Message0=Please select the components you wish to install.
[Component0]
Description Short=XPInstall Engine
; *** LOCALIZE ME BABY ***
Description Long=Installer technology
Archive=xpcom.xpi
$InstallSize$:xpcom
$InstallSizeArchive$:xpcom.xpi
Attributes=SELECTED|INVISIBLE
URL0=$URLPath$
[Component1]
Description Short=Navigator
; *** LOCALIZE ME BABY ***
Description Long=for web browsing
Archive=browser.xpi
$InstallSize$:browser
$InstallSizeArchive$:browser.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component2]
Description Short=Mail & News
; *** LOCALIZE ME BABY ***
Description Long=for reading email and newsgroups
Archive=mail.xpi
$InstallSize$:mail
$InstallSizeArchive$:mail.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component3]
Description Short=Personal Security Manager
; *** LOCALIZE ME BABY ***
Description Long=for secure browsing and email; required for SSL(https) and S/MIME
Archive=psm.xpi
$InstallSize$:psm
$InstallSizeArchive$:psm.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component4]
Description Short=Chatzilla
; *** LOCALIZE ME BABY ***
Description Long=for chatting on Internet Relay Chat(IRC)
Archive=chatzilla.xpi
$InstallSize$:chatzilla
$InstallSizeArchive$:chatzilla.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component5]
Description Short=English US Profile Defaults
; *** LOCALIZE ME BABY ***
Description Long=English US Profile Defaults
Archive=deflenus.xpi
$InstallSize$:deflenus
$InstallSizeArchive$:deflenus.xpi
Attributes=SELECTED|INVISIBLE
URL0=$URLPath$
[Component6]
Description Short=English (US) Language Pack
; *** LOCALIZE ME BABY ***
Description Long=English (US) Language Pack
Archive=langenus.xpi
$InstallSize$:langenus
$InstallSizeArchive$:langenus.xpi
Attributes=SELECTED|INVISIBLE
URL0=$URLPath$
[Component7]
Description Short=Debugger
; *** LOCALIZE ME BABY ***
Description Long=for debugging JavaScript
Archive=venkman.xpi
$InstallSize$:venkman
$InstallSizeArchive$:venkman.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component8]
Description Short=Inspector
; *** LOCALIZE ME BABY ***
Description Long=DOM Inspector
Archive=inspector.xpi
$InstallSize$:inspector
$InstallSizeArchive$:inspector.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component9]
Description Short=Spellchecker
; *** LOCALIZE ME BABY ***
Description Long=Spellchecker
Archive=spellcheck.xpi
$InstallSize$:spellcheck
$InstallSizeArchive$:spellcheck.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component10]
Description Short=Website Reporter
; *** LOCALIZE ME BABY ***
Description Long=Website Reporter
Archive=reporter.xpi
$InstallSize$:reporter
$InstallSizeArchive$:reporter.xpi
Attributes=SELECTED
URL0=$URLPath$
[Component11]
Description Short=Quality Feedback Agent
; *** LOCALIZE ME BABY ***
Description Long=for reporting $AppDisplayName$ crash information
Archive=talkback.xpi
Install Size=1960
Archive Size=812
Attributes=SELECTED
URL0=$URLPath$
;-------------------------------------------------------------------------
[Dialog Start Install]
;-------------------------------------------------------------------------
Show Dialog=TRUE
Title=$AppDisplayName$ Installer
; *** LOCALIZE ME BABY ***
Message0=Click the Install button to proceed with this installation.
XPInstall Engine=xpcom.xpi
;-------------------------------------------------------------------------
[PostInstallRun0]
;-------------------------------------------------------------------------
Target=run-mozilla.sh
Arguments=regxpcom
;-------------------------------------------------------------------------
[PostInstallRun1]
;-------------------------------------------------------------------------
Target=run-mozilla.sh
Arguments=regchrome
;-------------------------------------------------------------------------
[LegacyCheck0]
;-------------------------------------------------------------------------
Filename=$AppName$-bin
; *** LOCALIZE ME BABY ***
Message=The selected directory already contains a $AppDisplayName$ installation. To delete %s completely, please press the 'Delete Directory' button. Information in your $AppDisplayName$ profile(s) should not be affected. Or, please press the 'Cancel' button and choose a different destination directory.

Просмотреть файл

@ -1,133 +0,0 @@
#!/usr/bin/perl -w
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is Mozilla Communicator client code, released
# March 31, 1998.
#
# The Initial Developer of the Original Code is
# Netscape Communications Corporation.
# Portions created by the Initial Developer are Copyright (C) 1998-1999
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
# Sean Su <ssu@netscape.com>
# Samir Gehani <sgehani@netscape.com>
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
#
# This perl script builds the xpi, config.ini, and js files.
#
# Make sure there are at least seven arguments
if(@ARGV < 7)
{
die "usage: $0 <default version> <URL path> <staging path> <dist install path> <app name> <app display name> <config.it location>
default version : julian based date version
ie: 5.0.0.99257
URL path : URL path to where the .xpi files will be staged at.
Either ftp:// or http:// can be used. Nothing will be
copied to there by this script. It is used for config.ini.
staging path : full path to where the components are staged at
dist install path : full path to target dist area
app name : the base name for executables (e.g. mozilla)
app display name : the display name to use
config.it location: the location of the configuration file to use as
input for config.ini
\n";
}
$inDefaultVersion = $ARGV[0];
$inURLPath = $ARGV[1];
$inStagePath = $ARGV[2];
$inDistPath = $ARGV[3];
$inAppName = $ARGV[4];
$inAppDisplayName = $ARGV[5];
$inConfigItLoc = $ARGV[6];
# Check for existance of staging path
if(!(-e "$inStagePath"))
{
die "invalid path: $inStagePath\n";
}
# Make sure inDistPath exists
if(!(-e "$inDistPath"))
{
system("mkdir $inDistPath");
}
# Make all xpi files
MakeXpiFile("xpcom");
MakeXpiFile("browser");
MakeXpiFile("psm");
MakeXpiFile("mail");
MakeXpiFile("chatzilla");
MakeXpiFile("talkback");
MakeXpiFile("deflenus");
MakeXpiFile("langenus");
MakeXpiFile("venkman");
MakeXpiFile("inspector");
MakeXpiFile("spellcheck");
MakeXpiFile("reporter");
# Make the config.ini file
MakeConfigFile();
print " done!\n";
# end of script
exit(0);
sub MakeConfigFile
{
# Make config.ini file
if(system("perl makecfgini.pl $inConfigItLoc/config.it $inDefaultVersion $inStagePath $inDistPath $inURLPath $inAppName $inAppDisplayName") != 0)
{
exit(1);
}
}
sub MakeXpiFile
{
my($componentName) = @_;
# Make .xpi file
if(system("perl makexpi.pl $componentName $inStagePath $inDistPath $inDefaultVersion $inAppDisplayName") != 0)
{
exit(1);
}
}