mozilla-xulrunner193/create-tar.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Fri, 21 May 2010 14:18:47 +0200
changeset 76 93fb7400b957
parent 67 mozilla-xulrunner192/create-tar.sh@a05eb1c8699f
child 78 e0271a18500f
permissions -rwxr-xr-x
Move mozilla-xulrunner192 -> mozilla-xulrunner193 Remove patches which are already in m-c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
67
a05eb1c8699f Prepare for final 3.6.4 release
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 64
diff changeset
     3
RELEASE_TAG="FIREFOX_3_6_4_RELEASE"
64
7bb1edb78dd5 Update to 1.9.2.4/3.6.4pre to prepare the bigger Lorentz merge
Wolfgang Rosenauer <wr@rosenauer.org>
parents: 63
diff changeset
     4
VERSION="1.9.2.4"
4
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     5
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     6
# mozilla
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     7
hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 mozilla
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     8
pushd mozilla
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
     9
hg update -r $RELEASE_TAG
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    10
popd
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    11
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
    12
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    13
# l10n
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    14
test ! -d l10n && mkdir l10n
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    15
for locale in $(awk '{ print $1; }' mozilla/browser/locales/shipped-locales); do
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    16
  case $locale in 
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    17
    ja-JP-mac|en-US)
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    18
      ;;
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
      hg clone http://hg.mozilla.org/releases/l10n-mozilla-1.9.2/$locale l10n/$locale
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    21
      hg -R l10n/$locale up -C -r $RELEASE_TAG
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    22
      ;;
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    23
  esac
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    24
done
523b1d92948c Add mozilla-xulrunner192 package
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
diff changeset
    25
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
    26