forked from pool/MozillaFirefox
- update create-tar.sh to latest revision and adjusted tar_stamps
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=773
This commit is contained in:
parent
84a21a1533
commit
a21dd9a5f8
@ -5,6 +5,7 @@ Wed Sep 25 11:25:17 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
|||||||
(contributed by Bernhard Wiedemann)
|
(contributed by Bernhard Wiedemann)
|
||||||
- Make build verbose (contributed by Martin Liška)
|
- Make build verbose (contributed by Martin Liška)
|
||||||
- remove obsolete kde.js setting (boo#1151186)
|
- remove obsolete kde.js setting (boo#1151186)
|
||||||
|
- update create-tar.sh to latest revision and adjusted tar_stamps
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 19 13:31:16 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
Thu Sep 19 13:31:16 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
function print_usage_and_exit() {
|
function print_usage_and_exit() {
|
||||||
echo "Usage: create-tar.sh tar_stamp"
|
echo "Usage: create-tar.sh tar_stamps"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Where tar_stamp should look like this:"
|
echo "Where tar_stamps should look like this:"
|
||||||
echo ""
|
echo ""
|
||||||
cat << EOF
|
cat << EOF
|
||||||
# Node ID: 64ee63facd4ff96b3e8590cff559d7e97ac6b061
|
# Node ID: 64ee63facd4ff96b3e8590cff559d7e97ac6b061
|
||||||
@ -11,8 +11,7 @@ PRODUCT="firefox" # "firefox" or "thunderbird"
|
|||||||
CHANNEL="esr60"
|
CHANNEL="esr60"
|
||||||
VERSION="60.7.0"
|
VERSION="60.7.0"
|
||||||
VERSION_SUFFIX="esr"
|
VERSION_SUFFIX="esr"
|
||||||
FF_RELEASE_TAG="" # Needs only to be set if no tar-ball can be downloaded
|
RELEASE_TAG="" # Needs only to be set if no tar-ball can be downloaded
|
||||||
TB_RELEASE_TAG="" # Only relevant for Thunderbird
|
|
||||||
PREV_VERSION="60.6.3" # Prev. version only needed for locales (leave empty to force l10n-generation)
|
PREV_VERSION="60.6.3" # Prev. version only needed for locales (leave empty to force l10n-generation)
|
||||||
PREV_VERSION_SUFFIX="esr"
|
PREV_VERSION_SUFFIX="esr"
|
||||||
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
|
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
|
||||||
@ -25,7 +24,7 @@ if [ $# -ne 1 ]; then
|
|||||||
print_usage_and_exit
|
print_usage_and_exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Sourcing the given tar_stamp-file to have the variables available
|
# Sourcing the given tar_stamps-file to have the variables available
|
||||||
source "$1" || print_usage_and_exit
|
source "$1" || print_usage_and_exit
|
||||||
|
|
||||||
# Internal variables
|
# Internal variables
|
||||||
@ -193,10 +192,19 @@ else
|
|||||||
echo "cloning new $BRANCH..."
|
echo "cloning new $BRANCH..."
|
||||||
hg clone http://hg.mozilla.org/$BRANCH $PRODUCT-$VERSION
|
hg clone http://hg.mozilla.org/$BRANCH $PRODUCT-$VERSION
|
||||||
if [ "$PRODUCT" = "thunderbird" ]; then
|
if [ "$PRODUCT" = "thunderbird" ]; then
|
||||||
hg clone http://hg.mozilla.org/releases/comm-$CHANNEL thunderbird-$VERSION/comm
|
hg clone http://hg.mozilla.org/releases/comm-$CHANNEL $PRODUCT-$VERSION/comm
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
pushd $PRODUCT-$VERSION || exit 1
|
pushd $PRODUCT-$VERSION || exit 1
|
||||||
|
|
||||||
|
# parse out the Firefox-release tag for this Thunderbird-checkout
|
||||||
|
if [ "$PRODUCT" = "thunderbird" ]; then
|
||||||
|
FF_RELEASE_TAG=$(grep ^GECKO_HEAD_REV ./comm/.gecko_rev.yml | awk -F ' ' '{print $2}') || exit 1
|
||||||
|
echo "Parsed Firefox base ID from .gecko_rev.yml: $FF_RELEASE_TAG"
|
||||||
|
else
|
||||||
|
FF_RELEASE_TAG="$RELEASE_TAG"
|
||||||
|
fi
|
||||||
|
|
||||||
hg update --check $FF_RELEASE_TAG
|
hg update --check $FF_RELEASE_TAG
|
||||||
[ "$FF_RELEASE_TAG" == "default" ] || hg update -r $FF_RELEASE_TAG
|
[ "$FF_RELEASE_TAG" == "default" ] || hg update -r $FF_RELEASE_TAG
|
||||||
# get repo and source stamp
|
# get repo and source stamp
|
||||||
@ -207,7 +215,7 @@ else
|
|||||||
|
|
||||||
if [ "$PRODUCT" = "thunderbird" ]; then
|
if [ "$PRODUCT" = "thunderbird" ]; then
|
||||||
pushd comm || exit 1
|
pushd comm || exit 1
|
||||||
hg update --check $TB_RELEASE_TAG
|
hg update --check $RELEASE_TAG
|
||||||
popd || exit 1
|
popd || exit 1
|
||||||
rm -rf thunderbird-${VERSION}/{,comm/}other-licenses/7zstub
|
rm -rf thunderbird-${VERSION}/{,comm/}other-licenses/7zstub
|
||||||
fi
|
fi
|
||||||
@ -241,7 +249,7 @@ if [ $LOCALES_CHANGED -ne 0 ]; then
|
|||||||
else
|
else
|
||||||
hg clone "http://hg.mozilla.org/l10n-central/$locale" "l10n/$locale"
|
hg clone "http://hg.mozilla.org/l10n-central/$locale" "l10n/$locale"
|
||||||
fi
|
fi
|
||||||
[ "$FF_RELEASE_TAG" == "default" ] || hg -R "l10n/$locale" up -C -r "$changeset"
|
[ "$RELEASE_TAG" == "default" ] || hg -R "l10n/$locale" up -C -r "$changeset"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
@ -2,8 +2,7 @@ PRODUCT="firefox"
|
|||||||
CHANNEL="release"
|
CHANNEL="release"
|
||||||
VERSION="69.0.1"
|
VERSION="69.0.1"
|
||||||
VERSION_SUFFIX=""
|
VERSION_SUFFIX=""
|
||||||
FF_RELEASE_TAG="bf6ea738ba073f1a70554799a749235136afc93a"
|
RELEASE_TAG="bf6ea738ba073f1a70554799a749235136afc93a"
|
||||||
TB_RELEASE_TAG=""
|
|
||||||
PREV_VERSION=""
|
PREV_VERSION=""
|
||||||
PREV_VERSION_SUFFIX=""
|
PREV_VERSION_SUFFIX=""
|
||||||
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
|
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
|
||||||
|
Loading…
Reference in New Issue
Block a user