Skip to content

Commit

Permalink
Upgrade to libvips v8.12.0-rc1 (#119)
Browse files Browse the repository at this point in the history
Add cgif as dependency

Co-authored-by: Kleis Auke Wolthuizen <[email protected]>
  • Loading branch information
lovell and kleisauke authored Nov 16, 2021
1 parent 93adcd6 commit b717014
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LIBVIPS_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.11.3
8.12.0-rc1
3 changes: 2 additions & 1 deletion THIRD-PARTY-NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
11 changes: 11 additions & 0 deletions build/lin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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\
Expand Down

0 comments on commit b717014

Please sign in to comment.