author | Wolfgang Rosenauer <wr@rosenauer.org> |
Sat, 14 Sep 2013 21:02:47 +0200 | |
branch | esr17 |
changeset 665 | efc8a8a62a09 |
parent 655 | f812ab6b56ac |
child 677 | ef3b8d075242 |
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 |
|
582 | 3 |
CHANNEL="esr17" |
340
aabcc7895695
update to version 8.0b1 (just merged stuff; build might still fail)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
337
diff
changeset
|
4 |
BRANCH="releases/mozilla-$CHANNEL" |
665 | 5 |
RELEASE_TAG="FIREFOX_17_0_9esr_RELEASE" |
6 |
VERSION="17.0.9" |
|
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
7 |
|
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
8 |
# mozilla |
533 | 9 |
echo "cloning $BRANCH..." |
78
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
10 |
hg clone http://hg.mozilla.org/$BRANCH mozilla |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
11 |
pushd mozilla |
78
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
12 |
[ "$RELEASE_TAG" == "default" ] || hg update -r $RELEASE_TAG |
325
f5966ab369fb
manual forward merge xulrunner from firefox6 branch
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
256
diff
changeset
|
13 |
# get repo and source stamp |
f5966ab369fb
manual forward merge xulrunner from firefox6 branch
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
256
diff
changeset
|
14 |
echo -n "REV=" > ../source-stamp.txt |
f5966ab369fb
manual forward merge xulrunner from firefox6 branch
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
256
diff
changeset
|
15 |
hg -R . parent --template="{node|short}\n" >> ../source-stamp.txt |
f5966ab369fb
manual forward merge xulrunner from firefox6 branch
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
256
diff
changeset
|
16 |
echo -n "REPO=" >> ../source-stamp.txt |
f5966ab369fb
manual forward merge xulrunner from firefox6 branch
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
256
diff
changeset
|
17 |
hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" >> ../source-stamp.txt |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
18 |
popd |
533 | 19 |
echo "creating archive..." |
325
f5966ab369fb
manual forward merge xulrunner from firefox6 branch
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
256
diff
changeset
|
20 |
tar cjf xulrunner-$VERSION-source.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
21 |
|
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
22 |
# l10n |
533 | 23 |
echo "fetching locales..." |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
24 |
test ! -d l10n && mkdir l10n |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
25 |
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
|
26 |
case $locale in |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
27 |
ja-JP-mac|en-US) |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
28 |
;; |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
29 |
*) |
533 | 30 |
echo "fetching $locale ..." |
584
0541c6b43891
use correct l10n tree
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
582
diff
changeset
|
31 |
hg clone http://hg.mozilla.org/releases/l10n/mozilla-release/$locale l10n/$locale |
78
e0271a18500f
mozilla-xulrunner193: initial compiling version (not all patches rebased yet)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
76
diff
changeset
|
32 |
[ "$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
|
33 |
;; |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
34 |
esac |
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
35 |
done |
533 | 36 |
echo "creating l10n archive..." |
4
523b1d92948c
Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff
changeset
|
37 |
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
|
38 |
|
154
e8d6420a4212
integrate compare-locales into build to merge missing translations with en-US
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
153
diff
changeset
|
39 |
# compare-locales |
533 | 40 |
echo "creating compare-locales" |
154
e8d6420a4212
integrate compare-locales into build to merge missing translations with en-US
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
153
diff
changeset
|
41 |
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
|
42 |
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
|
43 |