mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
9f7d0bfb65
Differential Revision: https://phabricator.services.mozilla.com/D5830 --HG-- rename : gfx/harfbuzz/src/hb-aat-layout-common-private.hh => gfx/harfbuzz/src/hb-aat-layout-common.hh rename : gfx/harfbuzz/src/hb-aat-layout-private.hh => gfx/harfbuzz/src/hb-aat-layout.hh rename : gfx/harfbuzz/src/hb-atomic-private.hh => gfx/harfbuzz/src/hb-atomic.hh rename : gfx/harfbuzz/src/hb-blob-private.hh => gfx/harfbuzz/src/hb-blob.hh rename : gfx/harfbuzz/src/hb-buffer-private.hh => gfx/harfbuzz/src/hb-buffer.hh rename : gfx/harfbuzz/src/hb-face-private.hh => gfx/harfbuzz/src/hb-face.hh rename : gfx/harfbuzz/src/hb-font-private.hh => gfx/harfbuzz/src/hb-font.hh rename : gfx/harfbuzz/src/hb-iter-private.hh => gfx/harfbuzz/src/hb-iter.hh rename : gfx/harfbuzz/src/hb-machinery-private.hh => gfx/harfbuzz/src/hb-machinery.hh rename : gfx/harfbuzz/src/hb-map-private.hh => gfx/harfbuzz/src/hb-map.hh rename : gfx/harfbuzz/src/hb-mutex-private.hh => gfx/harfbuzz/src/hb-mutex.hh rename : gfx/harfbuzz/src/hb-object-private.hh => gfx/harfbuzz/src/hb-object.hh rename : gfx/harfbuzz/src/hb-open-file-private.hh => gfx/harfbuzz/src/hb-open-file.hh rename : gfx/harfbuzz/src/hb-open-type-private.hh => gfx/harfbuzz/src/hb-open-type.hh rename : gfx/harfbuzz/src/hb-ot-layout-common-private.hh => gfx/harfbuzz/src/hb-ot-layout-common.hh rename : gfx/harfbuzz/src/hb-ot-layout-gsubgpos-private.hh => gfx/harfbuzz/src/hb-ot-layout-gsubgpos.hh rename : gfx/harfbuzz/src/hb-ot-layout-private.hh => gfx/harfbuzz/src/hb-ot-layout.hh rename : gfx/harfbuzz/src/hb-ot-map-private.hh => gfx/harfbuzz/src/hb-ot-map.hh rename : gfx/harfbuzz/src/hb-ot-shape-complex-arabic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-arabic.hh rename : gfx/harfbuzz/src/hb-ot-shape-complex-indic-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-indic.hh rename : gfx/harfbuzz/src/hb-ot-shape-complex-khmer-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-khmer.hh rename : gfx/harfbuzz/src/hb-ot-shape-complex-myanmar-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-myanmar.hh rename : gfx/harfbuzz/src/hb-ot-shape-complex-use-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex-use.hh rename : gfx/harfbuzz/src/hb-ot-shape-complex-private.hh => gfx/harfbuzz/src/hb-ot-shape-complex.hh rename : gfx/harfbuzz/src/hb-ot-shape-fallback-private.hh => gfx/harfbuzz/src/hb-ot-shape-fallback.hh rename : gfx/harfbuzz/src/hb-ot-shape-normalize-private.hh => gfx/harfbuzz/src/hb-ot-shape-normalize.hh rename : gfx/harfbuzz/src/hb-ot-shape-private.hh => gfx/harfbuzz/src/hb-ot-shape.hh rename : gfx/harfbuzz/src/hb-set-digest-private.hh => gfx/harfbuzz/src/hb-set-digest.hh rename : gfx/harfbuzz/src/hb-set-private.hh => gfx/harfbuzz/src/hb-set.hh rename : gfx/harfbuzz/src/hb-shape-plan-private.hh => gfx/harfbuzz/src/hb-shape-plan.hh rename : gfx/harfbuzz/src/hb-shaper-impl-private.hh => gfx/harfbuzz/src/hb-shaper-impl.hh rename : gfx/harfbuzz/src/hb-shaper-private.hh => gfx/harfbuzz/src/hb-shaper.hh rename : gfx/harfbuzz/src/hb-subset-private.hh => gfx/harfbuzz/src/hb-subset.hh rename : gfx/harfbuzz/src/hb-unicode-private.hh => gfx/harfbuzz/src/hb-unicode.hh rename : gfx/harfbuzz/src/hb-utf-private.hh => gfx/harfbuzz/src/hb-utf.hh rename : gfx/harfbuzz/src/hb-vector-private.hh => gfx/harfbuzz/src/hb-vector.hh rename : gfx/harfbuzz/src/hb-private.hh => gfx/harfbuzz/src/hb.hh extra : rebase_source : 96e5e4d6e8c904f1ddc8f1338e39f74b02215654
33 lines
946 B
Bash
Executable File
33 lines
946 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Script to update the mozilla in-tree copy of the HarfBuzz library.
|
|
# Run this within the /gfx/harfbuzz directory of the source tree.
|
|
|
|
MY_TEMP_DIR=`mktemp -d -t harfbuzz_update.XXXXXX` || exit 1
|
|
|
|
VERSION=1.9.0
|
|
|
|
git clone https://github.com/harfbuzz/harfbuzz ${MY_TEMP_DIR}/harfbuzz
|
|
git -C ${MY_TEMP_DIR}/harfbuzz checkout ${VERSION}
|
|
|
|
COMMIT=$(git -C ${MY_TEMP_DIR}/harfbuzz rev-parse HEAD)
|
|
perl -p -i -e "s/(\d+\.)(\d+\.)(\d+)/${VERSION}/" README-mozilla;
|
|
perl -p -i -e "s/\[commit [0-9a-f]{40}\]/[commit ${COMMIT}]/" README-mozilla;
|
|
|
|
FILES="AUTHORS autogen.sh configure.ac COPYING git.mk harfbuzz.doap Makefile.am NEWS README src THANKS TODO"
|
|
|
|
for f in $FILES; do
|
|
rm -rf $f
|
|
mv ${MY_TEMP_DIR}/harfbuzz/$f $f
|
|
done
|
|
rm -rf src/hb-ucdn
|
|
rm -rf ${MY_TEMP_DIR}
|
|
|
|
hg revert -r . src/moz.build
|
|
hg addremove
|
|
|
|
echo "###"
|
|
echo "### Updated HarfBuzz to $COMMIT."
|
|
echo "### Remember to verify and commit the changes to source control!"
|
|
echo "###"
|