diff --git a/crates/core/src/document/mupdf_sys.rs b/crates/core/src/document/mupdf_sys.rs index c62c52b..79eef0c 100644 --- a/crates/core/src/document/mupdf_sys.rs +++ b/crates/core/src/document/mupdf_sys.rs @@ -3,7 +3,7 @@ use std::mem; pub const FZ_MAX_COLORS: usize = 32; -pub const FZ_VERSION: &str = "1.23.6"; +pub const FZ_VERSION: &str = "1.23.11"; pub const FZ_META_INFO_AUTHOR: &str = "info:Author"; pub const FZ_META_INFO_TITLE: &str = "info:Title"; diff --git a/doc/BUILD.md b/doc/BUILD.md index 624634b..e844e04 100644 --- a/doc/BUILD.md +++ b/doc/BUILD.md @@ -39,7 +39,7 @@ rustup target add arm-unknown-linux-gnueabihf ## Developer Tools -Install the required dependencies: *MuPDF 1.23.6*, *DjVuLibre*, *FreeType*, *HarfBuzz*. +Install the required dependencies: *MuPDF 1.23.11*, *DjVuLibre*, *FreeType*, *HarfBuzz*. ### Emulator diff --git a/thirdparty/download.sh b/thirdparty/download.sh index b068d21..f78f65f 100755 --- a/thirdparty/download.sh +++ b/thirdparty/download.sh @@ -2,20 +2,20 @@ declare -A urls=( # Compression - ["zlib"]="https://www.zlib.net/zlib-1.3.tar.gz" + ["zlib"]="https://www.zlib.net/zlib-1.3.1.tar.gz" ["bzip2"]="https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz" # Images - ["libpng"]="https://download.sourceforge.net/libpng/libpng-1.6.40.tar.gz" - ["libjpeg"]="http://www.ijg.org/files/jpegsrc.v9e.tar.gz" - ["openjpeg"]="https://github.com/uclouvain/openjpeg/archive/v2.5.0.tar.gz" - ["jbig2dec"]="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9533/jbig2dec-0.19.tar.gz" + ["libpng"]="https://download.sourceforge.net/libpng/libpng-1.6.43.tar.gz" + ["libjpeg"]="http://www.ijg.org/files/jpegsrc.v9f.tar.gz" + ["openjpeg"]="https://github.com/uclouvain/openjpeg/archive/v2.5.2.tar.gz" + ["jbig2dec"]="https://github.com/ArtifexSoftware/jbig2dec/releases/download/0.20/jbig2dec-0.20.tar.gz" # Fonts ["freetype2"]="https://download.savannah.gnu.org/releases/freetype/freetype-2.13.2.tar.gz" - ["harfbuzz"]="https://github.com/harfbuzz/harfbuzz/archive/3.0.0.tar.gz" # We're stuck at 3.0.0. + ["harfbuzz"]="https://github.com/harfbuzz/harfbuzz/archive/8.4.0.tar.gz" # Documents ["gumbo"]="https://github.com/google/gumbo-parser/archive/v0.10.1.tar.gz" ["djvulibre"]="http://downloads.sourceforge.net/djvu/djvulibre-3.5.28.tar.gz" - ["mupdf"]="https://mupdf.com/downloads/archive/mupdf-1.23.6-source.tar.gz" + ["mupdf"]="https://mupdf.com/downloads/archive/mupdf-1.23.11-source.tar.gz" ) for name in "${@:-${!urls[@]}}" ; do