diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /media/libcubeb/update.sh | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'media/libcubeb/update.sh')
-rwxr-xr-x | media/libcubeb/update.sh | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/media/libcubeb/update.sh b/media/libcubeb/update.sh new file mode 100755 index 000000000..235b963e2 --- /dev/null +++ b/media/libcubeb/update.sh @@ -0,0 +1,89 @@ +# Usage: sh update.sh <upstream_src_directory> +set -e + +cp $1/AUTHORS . +cp $1/LICENSE . +cp $1/README.md . +cp $1/include/cubeb/cubeb.h include +cp $1/src/android/audiotrack_definitions.h src/android +cp $1/src/android/sles_definitions.h src/android +cp $1/src/cubeb-internal.h src +cp $1/src/cubeb-speex-resampler.h src +cp $1/src/cubeb.c src +cp $1/src/cubeb_alsa.c src +cp $1/src/cubeb_log.h src +cp $1/src/cubeb_audiotrack.c src +cp $1/src/cubeb_audiounit.cpp src +cp $1/src/cubeb_osx_run_loop.h src +cp $1/src/cubeb_jack.cpp src +cp $1/src/cubeb_opensl.c src +cp $1/src/cubeb_panner.cpp src +cp $1/src/cubeb_panner.h src +cp $1/src/cubeb_pulse.c src +cp $1/src/cubeb_resampler.cpp src +cp $1/src/cubeb_resampler.h src +cp $1/src/cubeb_resampler_internal.h src +cp $1/src/cubeb_ring_array.h src +cp $1/src/cubeb_sndio.c src +cp $1/src/cubeb_utils.h src +cp $1/src/cubeb_utils_unix.h src +cp $1/src/cubeb_utils_win.h src +cp $1/src/cubeb_wasapi.cpp src +cp $1/src/cubeb_winmm.c src +cp $1/test/common.h tests/common.h +cp $1/test/test_audio.cpp tests/test_audio.cpp +#cp $1/test/test_devices.c tests/test_devices.cpp +cp $1/test/test_duplex.cpp tests/test_duplex.cpp +cp $1/test/test_latency.cpp tests/test_latency.cpp +cp $1/test/test_record.cpp tests/test_record.cpp +cp $1/test/test_resampler.cpp tests/test_resampler.cpp +cp $1/test/test_sanity.cpp tests/test_sanity.cpp +cp $1/test/test_tone.cpp tests/test_tone.cpp +cp $1/test/test_utils.cpp tests/test_utils.cpp + +if [ -d $1/.git ]; then + rev=$(cd $1 && git rev-parse --verify HEAD) + dirty=$(cd $1 && git diff-index --name-only HEAD) +fi + +if [ -n "$rev" ]; then + version=$rev + if [ -n "$dirty" ]; then + version=$version-dirty + echo "WARNING: updating from a dirty git repository." + fi + sed -i.bak -e "/The git commit ID used was/ s/[0-9a-f]\{40\}\(-dirty\)\{0,1\}\./$version./" README_MOZILLA + rm README_MOZILLA.bak +else + echo "Remember to update README_MOZILLA with the version details." +fi + +echo "Applying a patch on top of $version" +patch -p1 < ./unresampled-frames.patch + +echo "Applying a patch on top of $version" +patch -p1 < ./bug1302231_emergency_bailout.patch + +echo "Applying a patch on top of $version" +patch -p1 < ./osx-linearize-operations.patch + +echo "Applying a patch on top of $version" +patch -p1 < ./prevent-double-free.patch + +echo "Applying a patch on top of $version" +patch -p1 < ./bug1292803_pulse_assert.patch + +echo "Applying a patch on top of $version" +patch -p1 < ./uplift-wasapi-part-to-beta.patch + +echo "Applying a patch on top of $version" +patch -p3 < ./fix-crashes.patch + +echo "Applying a patch on top of $version" +patch -p3 < ./uplift-part-of-f07ee6d-esr52.patch + +echo "Applying a patch on top of $version" +patch -p3 < ./uplift-system-listener-patch.patch + +echo "Applying a patch on top of $version" +patch -p1 < ./uplift-patch-7a4c711.patch |