@img/sharp-libvips-dev 0.0.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/include/glib-2.0/glib/gmacros.h +1 -1
- package/include/glib-2.0/glib/gtestutils.h +1 -1
- package/include/glib-2.0/gobject/gtype.h +7 -7
- package/include/harfbuzz/hb-aat-layout.h +2 -2
- package/include/harfbuzz/hb-deprecated.h +10 -1
- package/include/harfbuzz/hb-subset.h +6 -0
- package/include/harfbuzz/hb-version.h +3 -3
- package/include/libheif/heif.h +34 -23
- package/include/libheif/heif_regions.h +1 -1
- package/include/libheif/heif_version.h +2 -2
- package/include/libpng16/pnglibconf.h +1 -1
- package/include/pnglibconf.h +1 -1
- package/include/vips/version.h +1 -1
- package/include/zlib.h +23 -19
- package/package.json +1 -1
- package/versions.json +5 -5
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ used under the terms of the following licences:
|
|
|
30
30
|
| libpng | [libpng License](https://github.com/glennrp/libpng/blob/master/LICENSE) |
|
|
31
31
|
| librsvg | LGPLv3 |
|
|
32
32
|
| libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
|
|
33
|
-
| libtiff | [libtiff License](https://
|
|
33
|
+
| libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
|
|
34
34
|
| libvips | LGPLv3 |
|
|
35
35
|
| libwebp | New BSD License |
|
|
36
36
|
| libxml2 | MIT Licence |
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
/* Macros by analogy to GINT_TO_POINTER, GPOINTER_TO_INT
|
|
953
953
|
*/
|
|
954
954
|
#define GPOINTER_TO_SIZE(p) ((gsize) (p))
|
|
955
|
-
#define GSIZE_TO_POINTER(s) ((gpointer) (gsize) (s))
|
|
955
|
+
#define GSIZE_TO_POINTER(s) ((gpointer) (guintptr) (gsize) (s))
|
|
956
956
|
|
|
957
957
|
/* Provide convenience macros for handling structure
|
|
958
958
|
* fields through their offsets.
|
|
@@ -54,7 +54,7 @@ typedef void (*GTestFixtureFunc) (gpointer fixture,
|
|
|
54
54
|
gint64 __n1 = (n1), __n2 = (n2); \
|
|
55
55
|
if (__n1 cmp __n2) ; else \
|
|
56
56
|
g_assertion_message_cmpint (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, \
|
|
57
|
-
#n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'i'); \
|
|
57
|
+
#n1 " " #cmp " " #n2, (guint64)__n1, #cmp, (guint64)__n2, 'i'); \
|
|
58
58
|
} G_STMT_END
|
|
59
59
|
#define g_assert_cmpuint(n1, cmp, n2) G_STMT_START { \
|
|
60
60
|
guint64 __n1 = (n1), __n2 = (n2); \
|
|
@@ -41,7 +41,13 @@ G_BEGIN_DECLS
|
|
|
41
41
|
*/
|
|
42
42
|
#define G_TYPE_FUNDAMENTAL(type) (g_type_fundamental (type))
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* G_TYPE_FUNDAMENTAL_SHIFT:
|
|
45
|
+
*
|
|
46
|
+
* Shift value used in converting numbers to type IDs.
|
|
47
|
+
*/
|
|
48
|
+
#define G_TYPE_FUNDAMENTAL_SHIFT (2)
|
|
49
|
+
/**
|
|
50
|
+
* G_TYPE_FUNDAMENTAL_MAX: (value 1020)
|
|
45
51
|
*
|
|
46
52
|
* An integer constant that represents the number of identifiers reserved
|
|
47
53
|
* for types that are assigned at compile-time.
|
|
@@ -207,12 +213,6 @@ G_BEGIN_DECLS
|
|
|
207
213
|
* Open an issue on https://gitlab.gnome.org/GNOME/glib/issues/new for
|
|
208
214
|
* reservations.
|
|
209
215
|
*/
|
|
210
|
-
/**
|
|
211
|
-
* G_TYPE_FUNDAMENTAL_SHIFT:
|
|
212
|
-
*
|
|
213
|
-
* Shift value used in converting numbers to type IDs.
|
|
214
|
-
*/
|
|
215
|
-
#define G_TYPE_FUNDAMENTAL_SHIFT (2)
|
|
216
216
|
/**
|
|
217
217
|
* G_TYPE_MAKE_FUNDAMENTAL:
|
|
218
218
|
* @x: the fundamental type number.
|
|
@@ -40,7 +40,7 @@ HB_BEGIN_DECLS
|
|
|
40
40
|
* @HB_AAT_LAYOUT_FEATURE_TYPE_INVALID: Initial, unset feature type
|
|
41
41
|
* @HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC: [All Typographic Features](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type0)
|
|
42
42
|
* @HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES: [Ligatures](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type1)
|
|
43
|
-
* @
|
|
43
|
+
* @HB_AAT_LAYOUT_FEATURE_TYPE_CURSIVE_CONNECTION: [Cursive Connection](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type2)
|
|
44
44
|
* @HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE: [Letter Case](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type3)
|
|
45
45
|
* @HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION: [Vertical Substitution](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type4)
|
|
46
46
|
* @HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT: [Linguistic Rearrangement](https://developer.apple.com/fonts/TrueType-Reference-Manual/RM09/AppendixF.html#Type5)
|
|
@@ -88,7 +88,7 @@ typedef enum
|
|
|
88
88
|
|
|
89
89
|
HB_AAT_LAYOUT_FEATURE_TYPE_ALL_TYPOGRAPHIC = 0,
|
|
90
90
|
HB_AAT_LAYOUT_FEATURE_TYPE_LIGATURES = 1,
|
|
91
|
-
|
|
91
|
+
HB_AAT_LAYOUT_FEATURE_TYPE_CURSIVE_CONNECTION = 2,
|
|
92
92
|
HB_AAT_LAYOUT_FEATURE_TYPE_LETTER_CASE = 3,
|
|
93
93
|
HB_AAT_LAYOUT_FEATURE_TYPE_VERTICAL_SUBSTITUTION = 4,
|
|
94
94
|
HB_AAT_LAYOUT_FEATURE_TYPE_LINGUISTIC_REARRANGEMENT = 5,
|
|
@@ -56,7 +56,7 @@ HB_BEGIN_DECLS
|
|
|
56
56
|
/**
|
|
57
57
|
* HB_SCRIPT_CANADIAN_ABORIGINAL:
|
|
58
58
|
*
|
|
59
|
-
* Use #HB_SCRIPT_CANADIAN_SYLLABICS instead
|
|
59
|
+
* Use #HB_SCRIPT_CANADIAN_SYLLABICS instead.
|
|
60
60
|
*
|
|
61
61
|
* Deprecated: 0.9.20
|
|
62
62
|
*/
|
|
@@ -301,6 +301,15 @@ hb_font_get_glyph_shape (hb_font_t *font,
|
|
|
301
301
|
hb_draw_funcs_t *dfuncs, void *draw_data);
|
|
302
302
|
|
|
303
303
|
|
|
304
|
+
/**
|
|
305
|
+
* HB_AAT_LAYOUT_FEATURE_TYPE_CURISVE_CONNECTION:
|
|
306
|
+
*
|
|
307
|
+
* Use #HB_AAT_LAYOUT_FEATURE_TYPE_CURSIVE_CONNECTION instead.
|
|
308
|
+
*
|
|
309
|
+
* Deprecated: 8.3.0
|
|
310
|
+
*/
|
|
311
|
+
#define HB_AAT_LAYOUT_FEATURE_TYPE_CURISVE_CONNECTION HB_AAT_LAYOUT_FEATURE_TYPE_CURSIVE_CONNECTION
|
|
312
|
+
|
|
304
313
|
#endif
|
|
305
314
|
|
|
306
315
|
|
|
@@ -73,6 +73,9 @@ typedef struct hb_subset_plan_t hb_subset_plan_t;
|
|
|
73
73
|
* OS/2 will not be recalculated.
|
|
74
74
|
* @HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE: If set don't perform glyph closure on layout
|
|
75
75
|
* substitution rules (GSUB). Since: 7.2.0.
|
|
76
|
+
* @HB_SUBSET_FLAGS_IFTB_REQUIREMENTS: If set enforce requirements on the output subset
|
|
77
|
+
* to allow it to be used with incremental font transfer IFTB patches. Primarily,
|
|
78
|
+
* this forces all outline data to use long (32 bit) offsets. Since: EXPERIMENTAL
|
|
76
79
|
*
|
|
77
80
|
* List of boolean properties that can be configured on the subset input.
|
|
78
81
|
*
|
|
@@ -90,6 +93,9 @@ typedef enum { /*< flags >*/
|
|
|
90
93
|
HB_SUBSET_FLAGS_GLYPH_NAMES = 0x00000080u,
|
|
91
94
|
HB_SUBSET_FLAGS_NO_PRUNE_UNICODE_RANGES = 0x00000100u,
|
|
92
95
|
HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE = 0x00000200u,
|
|
96
|
+
#ifdef HB_EXPERIMENTAL_API
|
|
97
|
+
HB_SUBSET_FLAGS_IFTB_REQUIREMENTS = 0x00000400u,
|
|
98
|
+
#endif
|
|
93
99
|
} hb_subset_flags_t;
|
|
94
100
|
|
|
95
101
|
/**
|
|
@@ -47,20 +47,20 @@ HB_BEGIN_DECLS
|
|
|
47
47
|
*
|
|
48
48
|
* The minor component of the library version available at compile-time.
|
|
49
49
|
*/
|
|
50
|
-
#define HB_VERSION_MINOR
|
|
50
|
+
#define HB_VERSION_MINOR 3
|
|
51
51
|
/**
|
|
52
52
|
* HB_VERSION_MICRO:
|
|
53
53
|
*
|
|
54
54
|
* The micro component of the library version available at compile-time.
|
|
55
55
|
*/
|
|
56
|
-
#define HB_VERSION_MICRO
|
|
56
|
+
#define HB_VERSION_MICRO 0
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* HB_VERSION_STRING:
|
|
60
60
|
*
|
|
61
61
|
* A string literal containing the library version available at compile-time.
|
|
62
62
|
*/
|
|
63
|
-
#define HB_VERSION_STRING "8.
|
|
63
|
+
#define HB_VERSION_STRING "8.3.0"
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
66
|
* HB_VERSION_ATLEAST:
|
package/include/libheif/heif.h
CHANGED
|
@@ -77,19 +77,18 @@ extern "C" {
|
|
|
77
77
|
// Version string of linked libheif library.
|
|
78
78
|
LIBHEIF_API const char* heif_get_version(void);
|
|
79
79
|
|
|
80
|
-
// Numeric version of linked libheif library, encoded as
|
|
81
|
-
// For example:
|
|
80
|
+
// Numeric version of linked libheif library, encoded as 0xHHMMLL00 = hh.mm.ll, where hh, mm, ll is the decimal representation of HH, MM, LL.
|
|
81
|
+
// For example: 0x02150300 is version 2.21.3
|
|
82
82
|
LIBHEIF_API uint32_t heif_get_version_number(void);
|
|
83
83
|
|
|
84
|
-
// Numeric part "HH" from above. Returned as a decimal number
|
|
84
|
+
// Numeric part "HH" from above. Returned as a decimal number.
|
|
85
85
|
LIBHEIF_API int heif_get_version_number_major(void);
|
|
86
|
-
// Numeric part "MM" from above. Returned as a decimal number
|
|
86
|
+
// Numeric part "MM" from above. Returned as a decimal number.
|
|
87
87
|
LIBHEIF_API int heif_get_version_number_minor(void);
|
|
88
|
-
// Numeric part "LL" from above. Returned as a decimal number
|
|
88
|
+
// Numeric part "LL" from above. Returned as a decimal number.
|
|
89
89
|
LIBHEIF_API int heif_get_version_number_maintenance(void);
|
|
90
90
|
|
|
91
91
|
// Helper macros to check for given versions of libheif at compile time.
|
|
92
|
-
// Note: h, m, l should be 2-digit BCD numbers. I.e., decimal 17 = 0x17 (BCD)
|
|
93
92
|
#define LIBHEIF_MAKE_VERSION(h, m, l) ((h) << 24 | (m) << 16 | (l) << 8)
|
|
94
93
|
#define LIBHEIF_HAVE_VERSION(h, m, l) (LIBHEIF_NUMERIC_VERSION >= LIBHEIF_MAKE_VERSION(h, m, l))
|
|
95
94
|
|
|
@@ -392,7 +391,7 @@ enum heif_compression_format
|
|
|
392
391
|
*/
|
|
393
392
|
heif_compression_EVC = 6,
|
|
394
393
|
/**
|
|
395
|
-
* JPEG 2000 compression.
|
|
394
|
+
* JPEG 2000 compression.
|
|
396
395
|
*
|
|
397
396
|
* The encapsulation of JPEG 2000 is specified in ISO/IEC 15444-16:2021.
|
|
398
397
|
* The core encoding is defined in ISO/IEC 15444-1, or ITU-T T.800.
|
|
@@ -401,7 +400,7 @@ enum heif_compression_format
|
|
|
401
400
|
/**
|
|
402
401
|
* Uncompressed encoding.
|
|
403
402
|
*
|
|
404
|
-
* This is defined in ISO/IEC 23001-17:2023 (Draft International Standard).
|
|
403
|
+
* This is defined in ISO/IEC 23001-17:2023 (Final Draft International Standard).
|
|
405
404
|
*/
|
|
406
405
|
heif_compression_uncompressed = 8,
|
|
407
406
|
/**
|
|
@@ -479,24 +478,36 @@ struct heif_init_params
|
|
|
479
478
|
};
|
|
480
479
|
|
|
481
480
|
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
481
|
+
/**
|
|
482
|
+
* Initialise library.
|
|
483
|
+
*
|
|
484
|
+
* You should call heif_init() when you start using libheif and heif_deinit() when you are finished.
|
|
485
|
+
* These calls are reference counted. Each call to heif_init() should be matched by one call to heif_deinit().
|
|
486
|
+
*
|
|
487
|
+
* For backwards compatibility, it is not really necessary to call heif_init(), but some library memory objects
|
|
488
|
+
* will never be freed if you do not call heif_init()/heif_deinit().
|
|
489
|
+
*
|
|
490
|
+
* heif_init() will load the external modules installed in the default plugin path. Thus, you need it when you
|
|
491
|
+
* want to load external plugins from the default path.
|
|
492
|
+
* Codec plugins that are compiled into the library directly (selected by the compile-time parameters of libheif)
|
|
493
|
+
* will be available even without heif_init().
|
|
494
|
+
*
|
|
495
|
+
* Make sure that you do not have one part of your program use heif_init()/heif_deinit() and another part that does
|
|
496
|
+
* not use it as the latter may try to use an uninitialized library. If in doubt, enclose everything with init/deinit.
|
|
497
|
+
*
|
|
498
|
+
* You may pass nullptr to get default parameters. Currently, no parameters are supported.
|
|
499
|
+
*/
|
|
497
500
|
LIBHEIF_API
|
|
498
501
|
struct heif_error heif_init(struct heif_init_params*);
|
|
499
502
|
|
|
503
|
+
/**
|
|
504
|
+
* Deinitialise and clean up library.
|
|
505
|
+
*
|
|
506
|
+
* You should call heif_init() when you start using libheif and heif_deinit() when you are finished.
|
|
507
|
+
* These calls are reference counted. Each call to heif_init() should be matched by one call to heif_deinit().
|
|
508
|
+
*
|
|
509
|
+
* \sa heif_init()
|
|
510
|
+
*/
|
|
500
511
|
LIBHEIF_API
|
|
501
512
|
void heif_deinit(void);
|
|
502
513
|
|
|
@@ -506,7 +506,7 @@ struct heif_error heif_region_get_polyline_points(const struct heif_region* regi
|
|
|
506
506
|
* The points are provided as pairs of X,Y coordinates, in the order X<sub>1</sub>,
|
|
507
507
|
* Y<sub>1</sub>, X<sub>2</sub>, Y<sub>2</sub>, ..., X<sub>n</sub>, Y<sub>n</sub>.
|
|
508
508
|
*
|
|
509
|
-
* @param region the region to
|
|
509
|
+
* @param region the region to query, which must be of type #heif_region_type_polyline
|
|
510
510
|
* @param image_id the identifier for the image to transform / scale the region to
|
|
511
511
|
* @param out_pts_array the array to return the points in, which must have twice as many entries as there are points
|
|
512
512
|
* in the polyline.
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
#define LIBHEIF_HEIF_VERSION_H
|
|
29
29
|
|
|
30
30
|
/* Numeric representation of the version */
|
|
31
|
-
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (17<<16) | (
|
|
31
|
+
#define LIBHEIF_NUMERIC_VERSION ((1<<24) | (17<<16) | (3<<8) | 0)
|
|
32
32
|
|
|
33
33
|
/* Version string */
|
|
34
|
-
#define LIBHEIF_VERSION "1.17.
|
|
34
|
+
#define LIBHEIF_VERSION "1.17.3"
|
|
35
35
|
|
|
36
36
|
#define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
|
|
37
37
|
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
#define PNG_USER_HEIGHT_MAX 1000000
|
|
210
210
|
#define PNG_USER_WIDTH_MAX 1000000
|
|
211
211
|
#define PNG_ZBUF_SIZE 8192
|
|
212
|
-
#define PNG_ZLIB_VERNUM
|
|
212
|
+
#define PNG_ZLIB_VERNUM 0x130f
|
|
213
213
|
#define PNG_Z_DEFAULT_COMPRESSION (-1)
|
|
214
214
|
#define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0
|
|
215
215
|
#define PNG_Z_DEFAULT_STRATEGY 1
|
package/include/pnglibconf.h
CHANGED
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
#define PNG_USER_HEIGHT_MAX 1000000
|
|
210
210
|
#define PNG_USER_WIDTH_MAX 1000000
|
|
211
211
|
#define PNG_ZBUF_SIZE 8192
|
|
212
|
-
#define PNG_ZLIB_VERNUM
|
|
212
|
+
#define PNG_ZLIB_VERNUM 0x130f
|
|
213
213
|
#define PNG_Z_DEFAULT_COMPRESSION (-1)
|
|
214
214
|
#define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0
|
|
215
215
|
#define PNG_Z_DEFAULT_STRATEGY 1
|
package/include/vips/version.h
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
#define VIPS_LIBRARY_REVISION (0)
|
|
17
17
|
#define VIPS_LIBRARY_AGE (17)
|
|
18
18
|
|
|
19
|
-
#define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable cplusplus: true\nenable RAD load/save: false\nenable Analyze7 load/save: false\nenable PPM load/save: false\nenable GIF load: true\nuse fftw for FFTs: false\nSIMD support with highway:
|
|
19
|
+
#define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable cplusplus: true\nenable RAD load/save: false\nenable Analyze7 load/save: false\nenable PPM load/save: false\nenable GIF load: true\nuse fftw for FFTs: false\nSIMD support with highway: true\naccelerate loops with ORC: false\nICC profile support with lcms: true\nzlib: true\ntext rendering with pangocairo: true\nfont file support with fontconfig: true\nEXIF metadata support with libexif: true\nJPEG load/save with libjpeg: true\nJXL load/save with libjxl: false (dynamic module: false)\nJPEG2000 load/save with OpenJPEG: false\nPNG load/save with libspng: true\nPNG load/save with libpng: false\nselected quantisation package: imagequant\nTIFF load/save with libtiff: true\nimage pyramid save with libarchive: true\nHEIC/AVIF load/save with libheif: true (dynamic module: false)\nWebP load/save with libwebp: true\nPDF load with PDFium: false\nPDF load with poppler-glib: false (dynamic module: false)\nSVG load with librsvg: true\nEXR load with OpenEXR: false\nOpenSlide load: false (dynamic module: false)\nMatlab load with libmatio: false\nNIfTI load/save with niftiio: false\nFITS load/save with cfitsio: false\nGIF save with cgif: true\nselected Magick package: none (dynamic module: false)\nMagick API version: none\nMagick load: false\nMagick save: false"
|
|
20
20
|
|
|
21
21
|
/* Not really anything to do with versions, but this is a handy place to put
|
|
22
22
|
* it.
|
package/include/zlib.h
CHANGED
|
@@ -49,19 +49,20 @@
|
|
|
49
49
|
extern "C" {
|
|
50
50
|
#endif
|
|
51
51
|
|
|
52
|
-
#define ZLIBNG_VERSION "2.1.
|
|
53
|
-
#define ZLIBNG_VERNUM
|
|
52
|
+
#define ZLIBNG_VERSION "2.1.4"
|
|
53
|
+
#define ZLIBNG_VERNUM 0x020104F0L /* MMNNRRSM: major minor revision status modified */
|
|
54
54
|
#define ZLIBNG_VER_MAJOR 2
|
|
55
55
|
#define ZLIBNG_VER_MINOR 1
|
|
56
|
-
#define ZLIBNG_VER_REVISION
|
|
57
|
-
#define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release */
|
|
56
|
+
#define ZLIBNG_VER_REVISION 4
|
|
57
|
+
#define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
|
|
58
|
+
#define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
|
|
58
59
|
#define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
|
|
59
60
|
|
|
60
|
-
#define ZLIB_VERSION "1.
|
|
61
|
-
#define ZLIB_VERNUM
|
|
61
|
+
#define ZLIB_VERSION "1.3.0.zlib-ng"
|
|
62
|
+
#define ZLIB_VERNUM 0x130f
|
|
62
63
|
#define ZLIB_VER_MAJOR 1
|
|
63
|
-
#define ZLIB_VER_MINOR
|
|
64
|
-
#define ZLIB_VER_REVISION
|
|
64
|
+
#define ZLIB_VER_MINOR 3
|
|
65
|
+
#define ZLIB_VER_REVISION 0
|
|
65
66
|
#define ZLIB_VER_SUBREVISION 15 /* 15=fork (0xf) */
|
|
66
67
|
|
|
67
68
|
/*
|
|
@@ -239,8 +240,8 @@ Z_EXTERN int Z_EXPORT deflateInit (z_stream *strm, int level);
|
|
|
239
240
|
|
|
240
241
|
Initializes the internal stream state for compression. The fields
|
|
241
242
|
zalloc, zfree and opaque must be initialized before by the caller. If
|
|
242
|
-
zalloc and zfree are set to
|
|
243
|
-
allocation functions.
|
|
243
|
+
zalloc and zfree are set to Z_NULL, deflateInit updates them to use default
|
|
244
|
+
allocation functions. total_in, total_out, adler, and msg are initialized.
|
|
244
245
|
|
|
245
246
|
The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
|
|
246
247
|
1 gives best speed, 9 gives best compression, 0 gives no compression at all
|
|
@@ -330,8 +331,8 @@ Z_EXTERN int Z_EXPORT deflate(z_stream *strm, int flush);
|
|
|
330
331
|
with the same value of the flush parameter and more output space (updated
|
|
331
332
|
avail_out), until the flush is complete (deflate returns with non-zero
|
|
332
333
|
avail_out). In the case of a Z_FULL_FLUSH or Z_SYNC_FLUSH, make sure that
|
|
333
|
-
avail_out is greater than six
|
|
334
|
-
avail_out == 0
|
|
334
|
+
avail_out is greater than six when the flush marker begins, in order to avoid
|
|
335
|
+
repeated flush markers upon calling deflate() again when avail_out == 0.
|
|
335
336
|
|
|
336
337
|
If the parameter flush is set to Z_FINISH, pending input is processed,
|
|
337
338
|
pending output is flushed and deflate returns with Z_STREAM_END if there was
|
|
@@ -392,8 +393,9 @@ Z_EXTERN int Z_EXPORT inflateInit (z_stream *strm);
|
|
|
392
393
|
the caller. In the current version of inflate, the provided input is not
|
|
393
394
|
read or consumed. The allocation of a sliding window will be deferred to
|
|
394
395
|
the first call of inflate (if the decompression does not complete on the
|
|
395
|
-
first call). If zalloc and zfree are set to
|
|
396
|
-
them to use default allocation functions.
|
|
396
|
+
first call). If zalloc and zfree are set to Z_NULL, inflateInit updates
|
|
397
|
+
them to use default allocation functions. total_in, total_out, adler, and
|
|
398
|
+
msg are initialized.
|
|
397
399
|
|
|
398
400
|
inflateInit returns Z_OK if success, Z_MEM_ERROR if there was not enough
|
|
399
401
|
memory, Z_VERSION_ERROR if the zlib library version is incompatible with the
|
|
@@ -703,7 +705,7 @@ Z_EXTERN int Z_EXPORT deflateReset(z_stream *strm);
|
|
|
703
705
|
This function is equivalent to deflateEnd followed by deflateInit, but
|
|
704
706
|
does not free and reallocate the internal compression state. The stream
|
|
705
707
|
will leave the compression level and any other attributes that may have been
|
|
706
|
-
set unchanged.
|
|
708
|
+
set unchanged. total_in, total_out, adler, and msg are initialized.
|
|
707
709
|
|
|
708
710
|
deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
|
|
709
711
|
stream state was inconsistent (such as zalloc or state being NULL).
|
|
@@ -734,7 +736,7 @@ Z_EXTERN int Z_EXPORT deflateParams(z_stream *strm, int level, int strategy);
|
|
|
734
736
|
Then no more input data should be provided before the deflateParams() call.
|
|
735
737
|
If this is done, the old level and strategy will be applied to the data
|
|
736
738
|
compressed before deflateParams(), and the new level and strategy will be
|
|
737
|
-
applied to the
|
|
739
|
+
applied to the data compressed after deflateParams().
|
|
738
740
|
|
|
739
741
|
deflateParams returns Z_OK on success, Z_STREAM_ERROR if the source stream
|
|
740
742
|
state was inconsistent or if a parameter was invalid, or Z_BUF_ERROR if
|
|
@@ -816,8 +818,9 @@ Z_EXTERN int Z_EXPORT deflateSetHeader(z_stream *strm, gz_headerp head);
|
|
|
816
818
|
gzip file" and give up.
|
|
817
819
|
|
|
818
820
|
If deflateSetHeader is not used, the default gzip header has text false,
|
|
819
|
-
the time set to zero, and os set to
|
|
820
|
-
fields. The gzip header is returned to the default
|
|
821
|
+
the time set to zero, and os set to the current operating system, with no
|
|
822
|
+
extra, name, or comment fields. The gzip header is returned to the default
|
|
823
|
+
state by deflateReset().
|
|
821
824
|
|
|
822
825
|
deflateSetHeader returns Z_OK if success, or Z_STREAM_ERROR if the source
|
|
823
826
|
stream state was inconsistent.
|
|
@@ -924,7 +927,7 @@ Z_EXTERN int Z_EXPORT inflateSync(z_stream *strm);
|
|
|
924
927
|
inflateSync returns Z_OK if a possible full flush point has been found,
|
|
925
928
|
Z_BUF_ERROR if no more input was provided, Z_DATA_ERROR if no flush point
|
|
926
929
|
has been found, or Z_STREAM_ERROR if the stream structure was inconsistent.
|
|
927
|
-
In the success case, the application may save the current
|
|
930
|
+
In the success case, the application may save the current value of
|
|
928
931
|
total_in which indicates where valid compressed data was found. In the
|
|
929
932
|
error case, the application may repeatedly call inflateSync, providing more
|
|
930
933
|
input each time, until success or end of the input data.
|
|
@@ -950,6 +953,7 @@ Z_EXTERN int Z_EXPORT inflateReset(z_stream *strm);
|
|
|
950
953
|
This function is equivalent to inflateEnd followed by inflateInit,
|
|
951
954
|
but does not free and reallocate the internal decompression state. The
|
|
952
955
|
stream will keep attributes that may have been set by inflateInit2.
|
|
956
|
+
total_in, total_out, adler, and msg are initialized.
|
|
953
957
|
|
|
954
958
|
inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
|
|
955
959
|
stream state was inconsistent (such as zalloc or state being NULL).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@img/sharp-libvips-dev",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
package/versions.json
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"freetype": "2.13.2",
|
|
11
11
|
"fribidi": "1.0.13",
|
|
12
12
|
"gdkpixbuf": "2.42.10",
|
|
13
|
-
"glib": "2.78.
|
|
14
|
-
"harfbuzz": "8.
|
|
15
|
-
"heif": "1.17.
|
|
13
|
+
"glib": "2.78.1",
|
|
14
|
+
"harfbuzz": "8.3.0",
|
|
15
|
+
"heif": "1.17.3",
|
|
16
16
|
"highway": "1.0.7",
|
|
17
17
|
"imagequant": "2.4.1",
|
|
18
18
|
"lcms": "2.15",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"rsvg": "2.57.0",
|
|
25
25
|
"spng": "0.7.4",
|
|
26
26
|
"tiff": "4.6.0",
|
|
27
|
-
"vips": "8.15.0
|
|
27
|
+
"vips": "8.15.0",
|
|
28
28
|
"webp": "1.3.2",
|
|
29
29
|
"xml": "2.11.5",
|
|
30
|
-
"zlib-ng": "2.1.
|
|
30
|
+
"zlib-ng": "2.1.4"
|
|
31
31
|
}
|