Skip to content

Commit a7d9048

Browse files
committed
Move libjxl and brotli to 'web' group dependencies
For JPEG XL support.
1 parent 6336bf6 commit a7d9048

File tree

6 files changed

+9
-7
lines changed

6 files changed

+9
-7
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
1818
| Dependency | Version | Used under the terms of |
1919
|-----------------|------------|--------------------------------------------------------------|
2020
| [aom] | 3.13.1 | BSD 2-Clause + [Alliance for Open Media Patent License 1.0] |
21+
| [brotli] | 1.2.0 | MIT Licence |
2122
| [cairo] | 1.18.4 | Mozilla Public License 2.0 |
2223
| [cgif] | 0.5.0 | MIT Licence |
2324
| [expat] | 2.7.3 | MIT Licence |
@@ -33,6 +34,7 @@ Run the top-level [build script](build.sh) with the `--help` parameter for help.
3334
| [libffi] | 3.5.2 | MIT Licence |
3435
| [libheif] | 1.20.2 | LGPLv3 |
3536
| [libimagequant] | 2.4.1[^1] | BSD 2-Clause |
37+
| [libjxl] | 0.11.1 | BSD 3-Clause |
3638
| [libpng] | 1.6.52 | [libpng License version 2] |
3739
| [librsvg] | 2.61.3 | LGPLv3 |
3840
| [libtiff] | 4.7.1 | [libtiff License] (BSD-like) |
@@ -53,6 +55,7 @@ https://github.com/libvips/libvips/releases/tag/v8.18.0-alpha1
5355

5456
[aom]: https://aomedia.googlesource.com/aom/
5557
[Alliance for Open Media Patent License 1.0]: https://aomedia.org/license/patent-license/
58+
[brotli]: https://github.com/google/brotli
5659
[cairo]: https://gitlab.freedesktop.org/cairo/cairo
5760
[cgif]: https://github.com/dloebl/cgif
5861
[expat]: https://github.com/libexpat/libexpat
@@ -70,6 +73,7 @@ https://github.com/libvips/libvips/releases/tag/v8.18.0-alpha1
7073
[libffi]: https://github.com/libffi/libffi
7174
[libheif]: https://github.com/strukturag/libheif
7275
[libimagequant]: https://github.com/lovell/libimagequant
76+
[libjxl]: https://github.com/libjxl/libjxl
7377
[libpng]: https://github.com/pnggroup/libpng
7478
[libpng License version 2]: https://github.com/pnggroup/libpng/blob/master/LICENSE
7579
[librsvg]: https://gitlab.gnome.org/GNOME/librsvg
@@ -92,14 +96,12 @@ Same as libvips-web + these extra dependencies:
9296

9397
| Dependency | Version | Used under the terms of |
9498
|-----------------|------------|--------------------------------------------------------------|
95-
| [brotli] | 1.2.0 | MIT Licence |
9699
| [cfitsio] | 4.6.2 | BSD-like |
97100
| [fftw] | 3.3.10 | GPLv2 |
98101
| [gdk-pixbuf] | 2.44.4 | LGPLv3 |
99102
| [imagemagick] | 6.9.13-33 | [ImageMagick License] (Apache-2.0-like) |
100103
| [imath] | 3.1.9 | BSD 3-Clause |
101104
| [libdicom] | 1.2.0 | MIT Licence |
102-
| [libjxl] | 0.11.1 | BSD 3-Clause |
103105
| [libraw] | 0.21.4 | LGPL-2.1-only |
104106
| [matio] | 1.5.29 | BSD 2-Clause |
105107
| [nifticlib] | 3.0.1 | Public domain |
@@ -110,15 +112,13 @@ Same as libvips-web + these extra dependencies:
110112
| [sqlite] | 3.51.1 | Public domain |
111113
| [zstd] | 1.5.7 | BSD 3-Clause |
112114

113-
[brotli]: https://github.com/google/brotli
114115
[cfitsio]: https://github.com/HEASARC/cfitsio
115116
[fftw]: https://github.com/FFTW/fftw3
116117
[gdk-pixbuf]: https://gitlab.gnome.org/GNOME/gdk-pixbuf
117118
[imagemagick]: https://github.com/ImageMagick/ImageMagick6
118119
[ImageMagick License]: https://github.com/ImageMagick/ImageMagick6/blob/main/LICENSE
119120
[imath]: https://github.com/AcademySoftwareFoundation/Imath
120121
[libdicom]: https://github.com/ImagingDataCommons/libdicom
121-
[libjxl]: https://github.com/libjxl/libjxl
122122
[libraw]: https://github.com/LibRaw/LibRaw
123123
[matio]: https://github.com/tbeu/matio
124124
[nifticlib]: https://github.com/NIFTI-Imaging/nifti_clib

build/plugins/all-deps/overrides.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ vips_PATCHES := $(vips_PATCHES) \
1111
vips_MESON_OPTS = \
1212
-Dmodules=enabled \
1313
-Dheif-module=$(if $(IS_HEVC),enabled,disabled) \
14+
-Djpeg-xl-module=disabled \
1415
$(if $(findstring graphicsmagick,$(vips_all_DEPS)), -Dmagick-package=GraphicsMagick) \
1516
-Dpdfium=disabled \
1617
-Dquantizr=disabled \

build/plugins/all-deps/vips-all.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $(PKG)_SUBDIR = $(vips_SUBDIR)
99
$(PKG)_FILE = $(vips_FILE)
1010
$(PKG)_URL = $(vips_URL)
1111
$(PKG)_DEPS := $(vips_DEPS) imagemagick matio openexr cfitsio \
12-
nifticlib poppler fftw openslide libjxl libraw
12+
nifticlib poppler fftw openslide libraw
1313

1414
define $(PKG)_PRE_CONFIGURE
1515
# Copy some files to the packaging directory

build/plugins/web-deps/overrides.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ vips_MESON_OPTS = \
44
-Dmodules=disabled \
55
-Dcfitsio=disabled \
66
-Dfftw=disabled \
7-
-Djpeg-xl=disabled \
87
-Dmagick=disabled \
98
-Dmatio=disabled \
109
-Dnifti=disabled \

build/plugins/web-deps/vips-web.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ define $(PKG)_PRE_CONFIGURE
1919
(printf '{\n'; \
2020
printf ' "aom": "$(aom_VERSION)",\n'; \
2121
printf ' "archive": "$(libarchive_VERSION)",\n'; \
22+
printf ' "brotli": "$(brotli_VERSION)",\n'; \
2223
printf ' "cairo": "$(cairo_VERSION)",\n'; \
2324
printf ' "cgif": "$(cgif_VERSION)",\n'; \
2425
printf ' "exif": "$(libexif_VERSION)",\n'; \
@@ -36,6 +37,7 @@ define $(PKG)_PRE_CONFIGURE
3637
$(if $(IS_JPEGLI), \
3738
printf ' "jpegli": "$(jpegli_VERSION)"$(comma)\n';, \
3839
$(if $(IS_MOZJPEG),,printf ' "jpeg": "$(libjpeg-turbo_VERSION)"$(comma)\n';)) \
40+
printf ' "jxl": "$(libjxl_VERSION)",\n'; \
3941
printf ' "lcms": "$(lcms_VERSION)",\n'; \
4042
$(if $(IS_MOZJPEG),printf ' "mozjpeg": "$(mozjpeg_VERSION)"$(comma)\n';) \
4143
printf ' "pango": "$(pango_VERSION)",\n'; \

build/vips.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ $(PKG)_GH_CONF := libvips/libvips/releases,v,,,,.tar.xz
99
$(PKG)_SUBDIR := $(PKG)-$(firstword $(subst -, ,$($(PKG)_VERSION)))
1010
$(PKG)_DEPS := cc meson-wrapper libwebp librsvg glib pango libarchive \
1111
libjpeg-turbo tiff lcms libexif libheif \
12-
libimagequant highway cgif
12+
libimagequant highway cgif libjxl
1313

1414
define $(PKG)_BUILD
1515
$(eval export CFLAGS += -O3)

0 commit comments

Comments
 (0)