Skip to content

Commit

Permalink
Bump libxml2 to v2.13.4 (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud authored Oct 24, 2024
1 parent 2097078 commit e400780
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The changes are relative to the previous release, unless the baseline is specifi
* Write an empty HandlerBox name field instead of "libavif" (saves 7 bytes).
* Update aom.cmd/LocalAom.cmake: v3.10.0
* Update avm.cmd: research-v8.0.0
* Update libxml2.cmd/LocalLibXml2.cmake: v2.13.4
* Update svt.cmd/svt.sh/LocalSvt.cmake: v2.2.1
* Change experimental gainmap API: remove avifGainMapMetadata and
avifGainMapMetadataDouble structs.
Expand Down
4 changes: 2 additions & 2 deletions cmake/Modules/LocalLibXml2.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set(AVIF_LOCAL_LIBXML_GIT_TAG "v2.12.7")
set(AVIF_LOCAL_LIBXML_GIT_TAG "v2.13.4")

set(LIB_FILENAME "${AVIF_SOURCE_DIR}/ext/libxml2/install.libavif/lib/${AVIF_LIBRARY_PREFIX}xml2${CMAKE_STATIC_LIBRARY_SUFFIX}")
if(EXISTS "${LIB_FILENAME}")
Expand Down Expand Up @@ -31,7 +31,7 @@ else()

FetchContent_Declare(
libxml2
GIT_REPOSITORY "https://gitlab.gnome.org/GNOME/libxml2.git"
GIT_REPOSITORY "https://github.com/GNOME/libxml2.git"
BINARY_DIR "${LIBXML2_BINARY_DIR}"
GIT_TAG "${AVIF_LOCAL_LIBXML_GIT_TAG}"
GIT_SHALLOW ON
Expand Down
2 changes: 1 addition & 1 deletion ext/libxml2.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

: # libxml2 is released under the MIT License.

git clone -b v2.12.7 --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git
git clone -b v2.13.4 --depth 1 https://github.com/GNOME/libxml2.git

mkdir -p libxml2/build.libavif
cmake libxml2 -B libxml2/build.libavif/ -G Ninja -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=libxml2/install.libavif \
Expand Down

0 comments on commit e400780

Please sign in to comment.