Skip to content

Commit

Permalink
remove debug logs
Browse files Browse the repository at this point in the history
update readme
  • Loading branch information
zoellner committed Apr 30, 2024
1 parent 8bb5d5e commit f53564f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 15 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ This lambda layer contains the node module [sharp](https://github.com/lovell/sha

### Dependencies
The following table lists the release version of this repo together with the version of each dependency. Patch versions are related to the build process or documentation and have the same dependencies as the minor version.
| release | sharp | libvips | libheif | libwebp | libde265 | x265 | libaom | nodejs |
|---------|--------|---------|---------|---------|-----------|--------|--------|--------|
| 1.2.0 | 0.28.2 | 8.10.6 | 1.12.0 | 1.2.0 | 1.0.8 | - | - | 12 |
| 1.1.0 | 0.27.0 | 8.10.5 | 1.10.0 | 1.1.0 | 1.0.8 | - | - | 12 |
| 2.0.0 | 0.29.1 | 8.11.3 | 1.12.0 | 1.2.1 | 1.0.8 | - | - | 14 |
| 3.0.0 | 0.30.7 | 8.12.2 | 1.12.0 | 1.2.4 | 1.0.8 | - | - | 16 |
| 3.1.0 | 0.30.7 | 8.12.2 | 1.12.0 | 1.2.4 | 1.0.8 | - | - | 16 |
| 3.2.0 | 0.30.7 | 8.12.2 | 1.12.0 | 1.3.2 | 1.0.12 | - | - | 16 |
| 4.1.0 | 0.33.3 | 8.15.2 | 1.17.6 | 1.4.0 | 1.0.15 | 3.6 | - | 20 |
| 4.1.3 | 0.33.3 | 8.15.2 | 1.17.6 | 1.4.0 | 1.0.15 | 3.6 | 3.9.0 | 20 |
| release | sharp | libvips | libheif | libwebp | libde265 | x265 | nodejs |
|---------|--------|---------|---------|---------|-----------|--------|--------|
| 1.2.0 | 0.28.2 | 8.10.6 | 1.12.0 | 1.2.0 | 1.0.8 | - | 12 |
| 1.1.0 | 0.27.0 | 8.10.5 | 1.10.0 | 1.1.0 | 1.0.8 | - | 12 |
| 2.0.0 | 0.29.1 | 8.11.3 | 1.12.0 | 1.2.1 | 1.0.8 | - | 14 |
| 3.0.0 | 0.30.7 | 8.12.2 | 1.12.0 | 1.2.4 | 1.0.8 | - | 16 |
| 3.1.0 | 0.30.7 | 8.12.2 | 1.12.0 | 1.2.4 | 1.0.8 | - | 16 |
| 3.2.0 | 0.30.7 | 8.12.2 | 1.12.0 | 1.3.2 | 1.0.12 | - | 16 |
| 4.1.0 | 0.33.3 | 8.15.2 | 1.17.6 | 1.4.0 | 1.0.15 | 3.6 | 20 |
| 4.1.3 | 0.33.3 | 8.15.2 | 1.17.6 | 1.4.0 | 1.0.15 | 3.6 | 20 |

### CompatibleRuntimes
- `nodejs12.x` (v1.x)
Expand All @@ -92,7 +92,6 @@ You can also use the Sponsor button on the right if you'd like.
## Licenses
- libheif and libde265 are distributed under the terms of the GNU Lesser General Public License. Copyright Struktur AG. See https://github.com/strukturag/libheif/blob/master/COPYING and https://github.com/strukturag/libde265/blob/master/COPYING for details.
- x265 is free to use under the GNU GPL and is also available under a commercial license. See https://www.x265.org/ for details.
- libaom is Copyright (c) 2016, Alliance for Open Media. All rights reserved. See https://aomedia.googlesource.com/aom/+/refs/heads/main/LICENSE for details
- libwebp is Copyright Google Inc. See https://github.com/webmproject/libwebp/blob/master/COPYING for details.
- sharp is licensed under the Apache License, Version 2.0. Copyright Lovell Fuller and contributors. See https://github.com/lovell/sharp/blob/master/LICENSE for details.
- libvips is licensed under the LGPL 2.1+. See https://github.com/libvips/libvips/blob/master/COPYING for details.
Expand Down
5 changes: 1 addition & 4 deletions layer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,12 @@ x265:
libheif: x265 libde265
# libheif
curl -L https://github.com/strukturag/libheif/releases/download/v$(LIBHEIF_VERSION)/libheif-$(LIBHEIF_VERSION).tar.gz | tar zx
cd libheif-$(LIBHEIF_VERSION) && mkdir build && cd build && cmake -DCMAKE_INSTALL_LIBDIR=$(LIB_PATH) --preset=release-noplugins .. && make V=1 && make install
cd libheif-$(LIBHEIF_VERSION) && mkdir build && cd build && cmake -DCMAKE_INSTALL_LIBDIR=$(LIB_PATH) --preset=release-noplugins .. && make V=0 && make install

libvips: installLib libheif libwebp
# libvips
pkg-config libheif --print-variables

curl -L https://github.com/libvips/libvips/releases/download/v$(VIPS_VERSION)/vips-$(VIPS_VERSION).tar.xz | tar xJ
cd vips-$(VIPS_VERSION) && meson setup build --prefix ${PREFIX_PATH} --libdir ${LIB_PATH} -Dheif=enabled -Dheif-module=disabled -Dlcms=enabled --buildtype release && cd build && meson compile && meson install
VIPS_INFO=1 vips

# libheif: libde265
# # libheif
Expand Down

0 comments on commit f53564f

Please sign in to comment.