author | Wolfgang Rosenauer <wr@rosenauer.org> |
Thu, 03 Feb 2011 10:42:10 +0100 | |
changeset 226 | 6bf3bb4c115e |
parent 220 | 2538fd6a51be |
child 229 | 298263f797be |
permissions | -rwxr-xr-x |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
1 |
#!/bin/bash |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
2 |
|
78
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
3 |
BRANCH="mozilla-central" |
226
6bf3bb4c115e
update for 2.0b11/4.0b11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
220
diff
changeset
|
4 |
RELEASE_TAG="FIREFOX_4_0b11_RELEASE" |
6bf3bb4c115e
update for 2.0b11/4.0b11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
220
diff
changeset
|
5 |
VERSION="2.0b11" |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
6 |
|
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
7 |
# mozilla |
78
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
8 |
hg clone http://hg.mozilla.org/$BRANCH mozilla |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
9 |
pushd mozilla |
78
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
10 |
[ "$RELEASE_TAG" == "default" ] || hg update -r $RELEASE_TAG |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
11 |
popd |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
12 |
tar cjf xulrunner-source-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
13 |
|
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
14 |
# l10n |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
15 |
test ! -d l10n && mkdir l10n |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
16 |
for locale in $(awk '{ print $1; }' mozilla/browser/locales/shipped-locales); do |
226
6bf3bb4c115e
update for 2.0b11/4.0b11
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
220
diff
changeset
|
17 |
case $locale in |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
18 |
ja-JP-mac|en-US) |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
19 |
;; |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
20 |
*) |
78
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
21 |
hg clone http://hg.mozilla.org/l10n-central/$locale l10n/$locale |
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
22 |
[ "$RELEASE_TAG" == "default" ] || hg -R l10n/$locale up -C -r $RELEASE_TAG |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
23 |
;; |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
24 |
esac |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
25 |
done |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
26 |
tar cjf l10n-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg l10n |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
27 |
|
154
e8d6420a4212
integrate compare-locales into build to merge missing translations with en-US
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
153
diff
changeset
|
28 |
# compare-locales |
e8d6420a4212
integrate compare-locales into build to merge missing translations with en-US
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
153
diff
changeset
|
29 |
hg clone http://hg.mozilla.org/build/compare-locales |
e8d6420a4212
integrate compare-locales into build to merge missing translations with en-US
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
153
diff
changeset
|
30 |
tar cjf compare-locales.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg compare-locales |
e8d6420a4212
integrate compare-locales into build to merge missing translations with en-US
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
153
diff
changeset
|
31 |