author Aki Sasaki <>
Thu, 15 Feb 2018 18:14:26 -0800
changeset 449983 42a3b4c113542cee47b388879e27163091eed356
parent 332640 4e6dd91cd5823834a7da0394367609a1640dfb11
child 491135 cd76fd701f82dc9211bc8323e9948dedc866af9f
permissions -rwxr-xr-x
bug 1438735 - balrog scriptworker push and schedule support. r=bhearsum - add balrog submit-toplevel - this replaces the final portion of the updates builder. - rename balrog transform to balrog_submit, because it's for balrog locale submission - make this default to the 'promote' phase. balrog and beetmover currently take the current phase, which isn't always the wanted behavior. - rename balrog publish to balrog schedule - add balrog secondary push and secondary scheduling, for RCs - remove the release_updates transforms - make the balrog transforms smarter - get rid of the release_balrog_publishing transforms; ad a generic worker_type transform - add BALROG_ACTIONS to - add get_balrog_action_scope() - remove the unused balrog channel scopes MozReview-Commit-ID: 369ACiOAd5F


set -v -e -x

if [ $# -lt 1 ]; then
  echo "Usage: /path/to/libjpeg-turbo/ [tag]"
  exit 1

srcdir=`realpath $(dirname $0)`
rm -rf $srcdir/libjpeg


(cd $repo; git archive --prefix=media/libjpeg/ $tag) | (cd $srcdir/..; tar xf -)

cd $srcdir/libjpeg
cp win/ simd/

revert_files="1050342.diff jconfig.h jconfigint.h MOZCHANGES mozilla.diff simd/"
if test -d ${topsrcdir}/.hg; then
    hg revert --no-backup $revert_files
elif test -d ${topsrcdir}/.git; then
    git checkout HEAD -- $revert_files

patch -p0 -i mozilla.diff
patch -p0 -i 1050342.diff