mozilla-xulrunner192/create-tar.sh
author Wolfgang Rosenauer <wr@rosenauer.org>
Mon, 30 Nov 2009 17:16:00 +0100
changeset 11 32afe3be5990
parent 4 523b1d92948c
child 18 c4da314d7975
permissions -rwxr-xr-x
Integrate mozilla-kde patch in xulrunner192 and some cleanup

#!/bin/bash

RELEASE_TAG="FIREFOX_3_6b4_RELEASE"
VERSION="1.9.2b4"

# mozilla
hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 mozilla
pushd mozilla
hg update -r $RELEASE_TAG
popd
tar cjf xulrunner-source-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg --exclude=CVS mozilla

# l10n
test ! -d l10n && mkdir l10n
for locale in $(awk '{ print $1; }' mozilla/browser/locales/shipped-locales); do
  case $locale in 
    ja-JP-mac|en-US)
      ;;
    *)
      hg clone http://hg.mozilla.org/releases/l10n-mozilla-1.9.2/$locale l10n/$locale
      hg -R l10n/$locale up -C -r $RELEASE_TAG
      ;;
  esac
done
tar cjf l10n-$VERSION.tar.bz2 --exclude=.hgtags --exclude=.hgignore --exclude=.hg l10n