From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- extensions/spellcheck/hunspell/update.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 extensions/spellcheck/hunspell/update.sh (limited to 'extensions/spellcheck/hunspell/update.sh') diff --git a/extensions/spellcheck/hunspell/update.sh b/extensions/spellcheck/hunspell/update.sh new file mode 100755 index 0000000000..999b321602 --- /dev/null +++ b/extensions/spellcheck/hunspell/update.sh @@ -0,0 +1,30 @@ +#!/bin/sh + +if [ $# -lt 1 ]; then + echo update.sh "" + exit 1 +fi + +hunspell_dir=`dirname $0` + +tmpclonedir=$(mktemp -d) +git clone https://github.com/hunspell/hunspell --depth 1 --branch $1 ${tmpclonedir} +# Back up mozilla files +cp ${hunspell_dir}/src/moz.build ${tmpclonedir}/src/hunspell +cp ${hunspell_dir}/src/moz.yaml ${tmpclonedir}/src/hunspell + +rm -rf ${hunspell_dir}/src +cp -r ${tmpclonedir}/src/hunspell/ ${hunspell_dir}/src +cp ${tmpclonedir}/license.hunspell ${hunspell_dir}/src +cp ${tmpclonedir}/license.myspell ${hunspell_dir}/src +cp ${tmpclonedir}/license.hunspell ${hunspell_dir}/src/LICENSE +cp ${tmpclonedir}/README ${hunspell_dir}/src +rm ${hunspell_dir}/src/Makefile.am +rm ${hunspell_dir}/src/hunvisapi.h.in +rm ${hunspell_dir}/src/hunzip.cxx +rm ${hunspell_dir}/src/hunzip.hxx +rm ${hunspell_dir}/src/utf_info.cxx +rm -rf ${tmpclonedir} + +cd ${hunspell_dir}/src +patch -p5 < ../patches/bug1410214.patch -- cgit v1.2.3