From b717014cd75b531002827a314f98d8a5353d1502 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Tue, 16 Nov 2021 09:31:51 +0000 Subject: [PATCH] Upgrade to libvips v8.12.0-rc1 (#119) Add cgif as dependency Co-authored-by: Kleis Auke Wolthuizen --- LIBVIPS_VERSION | 2 +- THIRD-PARTY-NOTICES.md | 3 ++- build/lin.sh | 11 +++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/LIBVIPS_VERSION b/LIBVIPS_VERSION index dba04c1e..f8ca746b 100644 --- a/LIBVIPS_VERSION +++ b/LIBVIPS_VERSION @@ -1 +1 @@ -8.11.3 +8.12.0-rc1 diff --git a/THIRD-PARTY-NOTICES.md b/THIRD-PARTY-NOTICES.md index 142ea607..f5268d89 100644 --- a/THIRD-PARTY-NOTICES.md +++ b/THIRD-PARTY-NOTICES.md @@ -7,8 +7,9 @@ used under the terms of the following licences: |---------------|-----------------------------------------------------------------------------------------------------------| | aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) | | cairo | Mozilla Public License 2.0 | +| cgif | MIT Licence | | expat | MIT Licence | -| fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) | +| fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) | | freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) | | fribidi | LGPLv3 | | gdk-pixbuf | LGPLv3 | diff --git a/build/lin.sh b/build/lin.sh index d148fe26..f064fa48 100755 --- a/build/lin.sh +++ b/build/lin.sh @@ -124,6 +124,7 @@ VERSION_PANGO=1.49.3 VERSION_SVG=2.52.4 VERSION_AOM=3.2.0 VERSION_HEIF=1.12.0 +VERSION_CGIF=0.0.2 # Remove patch version component without_patch() { @@ -172,6 +173,7 @@ version_latest "pango" "$VERSION_PANGO" "11783" version_latest "svg" "$VERSION_SVG" "5420" version_latest "aom" "$VERSION_AOM" "17628" version_latest "heif" "$VERSION_HEIF" "64439" +#version_latest "cgif" "$VERSION_CGIF" "" # not yet in release monitoring if [ "$ALL_AT_VERSION_LATEST" = "false" ]; then exit 1; fi # Download and build dependencies from source @@ -468,6 +470,14 @@ fi ${DARWIN:+--disable-Bsymbolic} make install-strip +mkdir ${DEPS}/cgif +$CURL https://github.com/dloebl/cgif/archive/V${VERSION_CGIF}.tar.gz | tar xzC ${DEPS}/cgif --strip-components=1 +cd ${DEPS}/cgif +CFLAGS="${CFLAGS} -O3" meson setup _build --default-library=static --buildtype=release --strip --prefix=${TARGET} ${MESON} \ + -Dtests=false +ninja -C _build +ninja -C _build install + mkdir ${DEPS}/vips $CURL https://github.com/libvips/libvips/releases/download/v${VERSION_VIPS}/vips-${VERSION_VIPS}.tar.gz | tar xzC ${DEPS}/vips --strip-components=1 cd ${DEPS}/vips @@ -537,6 +547,7 @@ cd ${TARGET} printf "{\n\ \"aom\": \"${VERSION_AOM}\",\n\ \"cairo\": \"${VERSION_CAIRO}\",\n\ + \"cgif\": \"${VERSION_CGIF}\",\n\ \"exif\": \"${VERSION_EXIF}\",\n\ \"expat\": \"${VERSION_EXPAT}\",\n\ \"ffi\": \"${VERSION_FFI}\",\n\