@img/sharp-libvips-dev 1.0.6 → 1.1.0-rc2

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.
@@ -234,6 +234,15 @@ VIPS_API
234
234
  int vips_sign(VipsImage *in, VipsImage **out, ...)
235
235
  G_GNUC_NULL_TERMINATED;
236
236
  VIPS_API
237
+ int vips_clamp(VipsImage *in, VipsImage **out, ...)
238
+ G_GNUC_NULL_TERMINATED;
239
+ VIPS_API
240
+ int vips_maxpair(VipsImage *left, VipsImage *right, VipsImage **out, ...)
241
+ G_GNUC_NULL_TERMINATED;
242
+ VIPS_API
243
+ int vips_minpair(VipsImage *left, VipsImage *right, VipsImage **out, ...)
244
+ G_GNUC_NULL_TERMINATED;
245
+ VIPS_API
237
246
  int vips_round(VipsImage *in, VipsImage **out, VipsOperationRound round, ...)
238
247
  G_GNUC_NULL_TERMINATED;
239
248
  VIPS_API
@@ -36,12 +36,12 @@
36
36
 
37
37
  /* Defined in config.h
38
38
  */
39
- #ifdef _VIPS_PUBLIC
40
- #define VIPS_API _VIPS_PUBLIC extern
41
- #else
42
- #define VIPS_API extern
39
+ #ifndef _VIPS_PUBLIC
40
+ #define _VIPS_PUBLIC
43
41
  #endif
44
42
 
43
+ #define VIPS_API _VIPS_PUBLIC extern
44
+
45
45
  /* VIPS_DISABLE_DEPRECATION_WARNINGS:
46
46
  *
47
47
  * Disable deprecation warnings from VIPS API.
@@ -105,6 +105,10 @@ struct _VipsSource;
105
105
  typedef struct _VipsSource VipsSource;
106
106
  struct _VipsTarget;
107
107
  typedef struct _VipsTarget VipsTarget;
108
+ struct _VipsInterpolate;
109
+ typedef struct _VipsInterpolate VipsInterpolate;
110
+ struct _VipsOperation;
111
+ typedef struct _VipsOperation VipsOperation;
108
112
 
109
113
  #ifdef __cplusplus
110
114
  }
@@ -89,8 +89,6 @@ gboolean vips_buf_vappendf(VipsBuf *buf, const char *fmt, va_list ap);
89
89
  VIPS_API
90
90
  gboolean vips_buf_appendc(VipsBuf *buf, char ch);
91
91
  VIPS_API
92
- gboolean vips_buf_appendsc(VipsBuf *buf, gboolean quote, const char *str);
93
- VIPS_API
94
92
  gboolean vips_buf_appendgv(VipsBuf *buf, GValue *value);
95
93
  VIPS_API
96
94
  gboolean vips_buf_append_size(VipsBuf *buf, size_t n);
@@ -501,8 +501,6 @@ VIPS_API
501
501
  gint64 vips_target_seek(VipsTarget *target, gint64 offset, int whence);
502
502
  VIPS_API
503
503
  int vips_target_end(VipsTarget *target);
504
- VIPS_DEPRECATED_FOR(vips_target_end)
505
- void vips_target_finish(VipsTarget *target);
506
504
  VIPS_API
507
505
  unsigned char *vips_target_steal(VipsTarget *target, size_t *length);
508
506
  VIPS_API
@@ -147,9 +147,6 @@ VIPS_API
147
147
  int vips_sequential(VipsImage *in, VipsImage **out, ...)
148
148
  G_GNUC_NULL_TERMINATED;
149
149
  VIPS_API
150
- int vips_cache(VipsImage *in, VipsImage **out, ...)
151
- G_GNUC_NULL_TERMINATED;
152
- VIPS_API
153
150
  int vips_copy_file(VipsImage *in, VipsImage **out, ...)
154
151
  G_GNUC_NULL_TERMINATED;
155
152
 
@@ -46,6 +46,14 @@ typedef enum {
46
46
  VIPS_TEXT_WRAP_LAST
47
47
  } VipsTextWrap;
48
48
 
49
+ typedef enum {
50
+ VIPS_SDF_SHAPE_CIRCLE = 0,
51
+ VIPS_SDF_SHAPE_BOX,
52
+ VIPS_SDF_SHAPE_ROUNDED_BOX,
53
+ VIPS_SDF_SHAPE_LINE,
54
+ VIPS_SDF_SHAPE_LAST
55
+ } VipsSdfShape;
56
+
49
57
  VIPS_API
50
58
  int vips_black(VipsImage **out, int width, int height, ...)
51
59
  G_GNUC_NULL_TERMINATED;
@@ -79,6 +87,9 @@ int vips_sines(VipsImage **out, int width, int height, ...)
79
87
  VIPS_API
80
88
  int vips_zone(VipsImage **out, int width, int height, ...)
81
89
  G_GNUC_NULL_TERMINATED;
90
+ VIPS_API
91
+ int vips_sdf(VipsImage **out, int width, int height, VipsSdfShape shape, ...)
92
+ G_GNUC_NULL_TERMINATED;
82
93
 
83
94
  VIPS_API
84
95
  int vips_identity(VipsImage **out, ...)
@@ -74,6 +74,9 @@ GType vips_combine_get_type(void) G_GNUC_CONST;
74
74
  VIPS_API
75
75
  GType vips_text_wrap_get_type(void) G_GNUC_CONST;
76
76
  #define VIPS_TYPE_TEXT_WRAP (vips_text_wrap_get_type())
77
+ VIPS_API
78
+ GType vips_sdf_shape_get_type(void) G_GNUC_CONST;
79
+ #define VIPS_TYPE_SDF_SHAPE (vips_sdf_shape_get_type())
77
80
  /* enumerations from "draw.h" */
78
81
  VIPS_API
79
82
  GType vips_combine_mode_get_type(void) G_GNUC_CONST;
@@ -95,9 +98,6 @@ VIPS_API
95
98
  GType vips_foreign_subsample_get_type(void) G_GNUC_CONST;
96
99
  #define VIPS_TYPE_FOREIGN_SUBSAMPLE (vips_foreign_subsample_get_type())
97
100
  VIPS_API
98
- GType vips_foreign_jpeg_subsample_get_type(void) G_GNUC_CONST;
99
- #define VIPS_TYPE_FOREIGN_JPEG_SUBSAMPLE (vips_foreign_jpeg_subsample_get_type())
100
- VIPS_API
101
101
  GType vips_foreign_webp_preset_get_type(void) G_GNUC_CONST;
102
102
  #define VIPS_TYPE_FOREIGN_WEBP_PRESET (vips_foreign_webp_preset_get_type())
103
103
  VIPS_API
@@ -474,23 +474,6 @@ typedef enum {
474
474
  VIPS_FOREIGN_SUBSAMPLE_LAST
475
475
  } VipsForeignSubsample;
476
476
 
477
- /**
478
- * VipsForeignJpegSubsample:
479
- * @VIPS_FOREIGN_JPEG_SUBSAMPLE_AUTO: default preset
480
- * @VIPS_FOREIGN_JPEG_SUBSAMPLE_ON: always perform subsampling
481
- * @VIPS_FOREIGN_JPEG_SUBSAMPLE_OFF: never perform subsampling
482
- *
483
- * Set jpeg subsampling mode.
484
- *
485
- * DEPRECATED: use #VipsForeignSubsample
486
- */
487
- typedef enum {
488
- VIPS_FOREIGN_JPEG_SUBSAMPLE_AUTO,
489
- VIPS_FOREIGN_JPEG_SUBSAMPLE_ON,
490
- VIPS_FOREIGN_JPEG_SUBSAMPLE_OFF,
491
- VIPS_FOREIGN_JPEG_SUBSAMPLE_LAST
492
- } VipsForeignJpegSubsample;
493
-
494
477
  VIPS_API
495
478
  int vips_jpegload(const char *filename, VipsImage **out, ...)
496
479
  G_GNUC_NULL_TERMINATED;
@@ -664,7 +647,10 @@ VIPS_API
664
647
  int vips_rawsave(VipsImage *in, const char *filename, ...)
665
648
  G_GNUC_NULL_TERMINATED;
666
649
  VIPS_API
667
- int vips_rawsave_fd(VipsImage *in, int fd, ...)
650
+ int vips_rawsave_buffer(VipsImage *in, void **buf, size_t *len, ...)
651
+ G_GNUC_NULL_TERMINATED;
652
+ VIPS_API
653
+ int vips_rawsave_target(VipsImage *in, VipsTarget *target, ...)
668
654
  G_GNUC_NULL_TERMINATED;
669
655
 
670
656
  VIPS_API
@@ -99,6 +99,13 @@ extern "C" {
99
99
  */
100
100
  #define VIPS_META_BITS_PER_SAMPLE "bits-per-sample"
101
101
 
102
+ /**
103
+ * VIPS_META_PALETTE:
104
+ *
105
+ * Does this image have a palette?
106
+ */
107
+ #define VIPS_META_PALETTE "palette"
108
+
102
109
  /**
103
110
  * VIPS_META_LOADER:
104
111
  *
@@ -59,9 +59,14 @@ extern "C" {
59
59
  * for width/height so we could go up to 2bn, but it's good to have a lower
60
60
  * value set so we can see crazy numbers early.
61
61
  *
62
- * This was 1m for a while, but someone found a use for a 4m wide image.
62
+ * This can be overridden with the `VIPS_MAX_COORD` env var, or the
63
+ * `--vips-max-coord` CLI arg.
63
64
  */
64
- #define VIPS_MAX_COORD (10000000)
65
+ #define VIPS_DEFAULT_MAX_COORD (100000000)
66
+
67
+ /* Fetch the overridden value.
68
+ */
69
+ #define VIPS_MAX_COORD (vips_max_coord_get())
65
70
 
66
71
  typedef enum {
67
72
  VIPS_DEMAND_STYLE_ERROR = -1,
@@ -57,10 +57,9 @@ extern "C" {
57
57
  (G_TYPE_INSTANCE_GET_CLASS((obj), \
58
58
  VIPS_TYPE_INTERPOLATE, VipsInterpolateClass))
59
59
 
60
- typedef struct _VipsInterpolate {
60
+ struct _VipsInterpolate {
61
61
  VipsObject parent_object;
62
-
63
- } VipsInterpolate;
62
+ };
64
63
 
65
64
  /* An interpolation function. This is a class method, but we have a lookup
66
65
  * function for it to speed up dispatch. Write to the memory at "out",
@@ -53,7 +53,7 @@ extern "C" {
53
53
  G_STMT_START \
54
54
  { \
55
55
  const char *sst = (V); \
56
- \
56
+ \
57
57
  if ((S) != sst) { \
58
58
  if (!(S) || !sst || strcmp((S), sst) != 0) { \
59
59
  VIPS_FREE(S); \
@@ -71,6 +71,24 @@ extern "C" {
71
71
  #define VIPS_ARRAY(OBJ, N, T) \
72
72
  ((T *) VIPS_MALLOC(OBJ, (N) * sizeof(T)))
73
73
 
74
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsImage, g_object_unref)
75
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsObject, g_object_unref)
76
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsRegion, g_object_unref)
77
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsConnection, g_object_unref)
78
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsSource, g_object_unref)
79
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsSourceCustom, g_object_unref)
80
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsGInputStream, g_object_unref)
81
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsSourceGInputStream, g_object_unref)
82
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsTarget, g_object_unref)
83
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsTargetCustom, g_object_unref)
84
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsSbuf, g_object_unref)
85
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsInterpolate, g_object_unref)
86
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsOperation, g_object_unref)
87
+
88
+ // FIXME ... need more of these
89
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsArrayDouble, VipsArrayDouble_unref)
90
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC(VipsArrayImage, VipsArrayImage_unref)
91
+
74
92
  VIPS_API
75
93
  void *vips_malloc(VipsObject *object, size_t size);
76
94
  VIPS_API
@@ -69,7 +69,7 @@ typedef enum /*< flags >*/ {
69
69
 
70
70
  typedef gboolean (*VipsOperationBuildFn)(VipsObject *object);
71
71
 
72
- typedef struct _VipsOperation {
72
+ struct _VipsOperation {
73
73
  VipsObject parent_instance;
74
74
 
75
75
  /* Keep the hash here.
@@ -80,8 +80,7 @@ typedef struct _VipsOperation {
80
80
  /* Pixels calculated ... handy for measuring over-calculation.
81
81
  */
82
82
  int pixels;
83
-
84
- } VipsOperation;
83
+ };
85
84
 
86
85
  typedef struct _VipsOperationClass {
87
86
  VipsObjectClass parent_class;
@@ -136,10 +135,6 @@ int vips_call_argv(VipsOperation *operation, int argc, char **argv);
136
135
 
137
136
  VIPS_API
138
137
  void vips_cache_drop_all(void);
139
- VIPS_DEPRECATED_FOR(vips_cache_operation_buildp)
140
- VipsOperation *vips_cache_operation_lookup(VipsOperation *operation);
141
- VIPS_DEPRECATED_FOR(vips_cache_operation_buildp)
142
- void vips_cache_operation_add(VipsOperation *operation);
143
138
  VIPS_API
144
139
  int vips_cache_operation_buildp(VipsOperation **operation);
145
140
  VIPS_API
@@ -220,6 +220,13 @@ int _vips__argument_id;
220
220
 
221
221
  void vips__meta_init(void);
222
222
 
223
+ // autoptr needs typed functions for autofree ... this needs to be in the
224
+ // public API since downstream projects can use our auto defs
225
+ VIPS_API
226
+ void VipsArrayDouble_unref(VipsArrayDouble *array);
227
+ VIPS_API
228
+ void VipsArrayImage_unref(VipsArrayImage *array);
229
+
223
230
  #ifdef __cplusplus
224
231
  }
225
232
  #endif /*__cplusplus*/
@@ -61,6 +61,9 @@ extern "C" {
61
61
 
62
62
  #define VIPS_ABS(X) (((X) >= 0) ? (X) : -(X))
63
63
 
64
+ // is something (eg. a pointer) N aligned
65
+ #define VIPS_ALIGNED(P, N) ((((guint64) (P)) & ((N) - 1)) == 0)
66
+
64
67
  /* The built-in isnan and isinf functions provided by gcc 4+ and clang are
65
68
  * up to 7x faster than their libc equivalent included from <math.h>.
66
69
  */
@@ -123,7 +126,7 @@ extern "C" {
123
126
  { \
124
127
  if ((N)) { \
125
128
  int duff_count = ((N) + 15) / 16; \
126
- \
129
+ \
127
130
  switch ((N) % 16) { \
128
131
  case 0: \
129
132
  do { \
@@ -283,12 +286,6 @@ VIPS_API
283
286
  void *vips_hash_table_map(GHashTable *hash,
284
287
  VipsSListMap2Fn fn, void *a, void *b);
285
288
 
286
- VIPS_API
287
- char *vips_strncpy(char *dest, const char *src, int n);
288
- VIPS_API
289
- char *vips_strrstr(const char *haystack, const char *needle);
290
- VIPS_API
291
- gboolean vips_ispostfix(const char *a, const char *b);
292
289
  VIPS_API
293
290
  gboolean vips_iscasepostfix(const char *a, const char *b);
294
291
  VIPS_API
@@ -296,14 +293,6 @@ gboolean vips_isprefix(const char *a, const char *b);
296
293
  VIPS_API
297
294
  char *vips_break_token(char *str, const char *brk);
298
295
 
299
- void vips__chomp(char *str);
300
-
301
- VIPS_API
302
- int vips_vsnprintf(char *str, size_t size, const char *format, va_list ap);
303
- VIPS_API
304
- int vips_snprintf(char *str, size_t size, const char *format, ...)
305
- G_GNUC_PRINTF(3, 4);
306
-
307
296
  VIPS_API
308
297
  int vips_filename_suffix_match(const char *path, const char *suffixes[]);
309
298
 
@@ -390,6 +379,8 @@ typedef enum {
390
379
  VIPS_TOKEN_COMMA
391
380
  } VipsToken;
392
381
 
382
+ // we expose this one in the API for testing
383
+ VIPS_API
393
384
  const char *vips__token_get(const char *buffer,
394
385
  VipsToken *token, char *string, int size);
395
386
  const char *vips__token_must(const char *buffer, VipsToken *token,
@@ -4,19 +4,19 @@
4
4
  #ifndef VIPS_VERSION_H
5
5
  #define VIPS_VERSION_H
6
6
 
7
- #define VIPS_VERSION "8.15.5"
8
- #define VIPS_VERSION_STRING "8.15.5"
7
+ #define VIPS_VERSION "8.16.0"
8
+ #define VIPS_VERSION_STRING "8.16.0"
9
9
  #define VIPS_MAJOR_VERSION (8)
10
- #define VIPS_MINOR_VERSION (15)
11
- #define VIPS_MICRO_VERSION (5)
10
+ #define VIPS_MINOR_VERSION (16)
11
+ #define VIPS_MICRO_VERSION (0)
12
12
 
13
13
  /* The ABI version, as used for library versioning.
14
14
  */
15
- #define VIPS_LIBRARY_CURRENT (59)
16
- #define VIPS_LIBRARY_REVISION (5)
17
- #define VIPS_LIBRARY_AGE (17)
15
+ #define VIPS_LIBRARY_CURRENT (60)
16
+ #define VIPS_LIBRARY_REVISION (0)
17
+ #define VIPS_LIBRARY_AGE (18)
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: 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"
19
+ #define VIPS_CONFIG "enable debug: false\nenable deprecated: false\nenable modules: false\nenable cplusplus: true\nenable RAD load/save: false\nenable Analyze7 load: false\nenable PPM load/save: false\nenable GIF load: true\nFFTs with fftw: false\nSIMD support with libhwy: true\nICC profile support with lcms2: true\ndeflate compression with zlib: 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 spng: true\nimage quantisation with imagequant: true\nTIFF load/save with libtiff-4: 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 or Poppler: false (dynamic module: false)\nSVG load with librsvg-2.0: true\nEXR load with OpenEXR: false\nWSI load with OpenSlide: false (dynamic module: false)\nMatlab load with Matio: false\nNIfTI load/save with libnifti: false\nFITS load/save with cfitsio: false\nGIF save with cgif: true\nMagick load/save with MagickCore: false (dynamic module: false)"
20
20
 
21
21
  /* Not really anything to do with versions, but this is a handy place to put
22
22
  * it.
@@ -109,9 +109,6 @@ extern "C" {
109
109
 
110
110
  #include <vips/private.h>
111
111
 
112
- #if VIPS_ENABLE_DEPRECATED
113
- #include <vips/mask.h>
114
- #endif
115
112
  #include <vips/image.h>
116
113
  #include <vips/memory.h>
117
114
  #include <vips/error.h>
@@ -138,8 +135,15 @@ extern "C" {
138
135
  #include <vips/colour.h>
139
136
  #include <vips/draw.h>
140
137
  #include <vips/create.h>
141
- #if VIPS_ENABLE_DEPRECATED
142
- #include <vips/video.h>
138
+
139
+ /* VIPS_DISABLE_COMPAT:
140
+ *
141
+ * Disable automatically inclusion of `vips7compat.h`.
142
+ *
143
+ * This has no effect when building with `-Ddeprecated=false`.
144
+ */
145
+ #if VIPS_ENABLE_DEPRECATED && !defined(VIPS_DISABLE_COMPAT)
146
+ #include <vips/vips7compat.h>
143
147
  #endif
144
148
 
145
149
  /* We can't use _ here since this will be compiled by our clients and they may
@@ -158,6 +162,8 @@ extern "C" {
158
162
  -1) \
159
163
  : vips_init(ARGV0))
160
164
 
165
+ VIPS_API
166
+ int vips_max_coord_get(void);
161
167
  VIPS_API
162
168
  int vips_init(const char *argv0);
163
169
  VIPS_API
@@ -3,7 +3,7 @@
3
3
  /*
4
4
 
5
5
  This file is part of VIPS.
6
-
6
+
7
7
  VIPS is free software; you can redistribute it and/or modify
8
8
  it under the terms of the GNU Lesser General Public License as published by
9
9
  the Free Software Foundation; either version 2 of the License, or
@@ -30,24 +30,25 @@
30
30
  #ifndef VIPS_CPLUSPLUS
31
31
  #define VIPS_CPLUSPLUS
32
32
 
33
+ /* avoid conflict with Qt definitions, if they exist */
34
+ #if defined(signals) && defined(Q_SIGNALS)
35
+ #define _VIPS_QT_SIGNALS_DEFINED
36
+ #undef signals
37
+ #endif
38
+
33
39
  #include <vips/version.h>
34
40
 
35
41
  #include <glib-object.h>
36
42
 
37
- /* Define VIPS_CPLUSPLUS_EXPORTS to build a DLL using MSVC.
43
+ /* Note: when building without Meson, it may be necessary to define
44
+ * _VIPS_PUBLIC as __declspec(dllexport) when building a DLL.
38
45
  */
39
- #ifdef _VIPS_PUBLIC
40
- # define VIPS_CPLUSPLUS_API _VIPS_PUBLIC
41
- #elif defined(_MSC_VER)
42
- # ifdef VIPS_CPLUSPLUS_EXPORTS
43
- # define VIPS_CPLUSPLUS_API __declspec(dllexport)
44
- # else
45
- # define VIPS_CPLUSPLUS_API __declspec(dllimport)
46
- # endif
47
- #else
48
- # define VIPS_CPLUSPLUS_API
46
+ #ifndef _VIPS_PUBLIC
47
+ #define _VIPS_PUBLIC
49
48
  #endif
50
49
 
50
+ #define VIPS_CPLUSPLUS_API _VIPS_PUBLIC
51
+
51
52
  #define VIPS_NAMESPACE_START namespace vips {
52
53
  #define VIPS_NAMESPACE_END }
53
54
 
@@ -57,4 +58,10 @@
57
58
  #include "VRegion8.h"
58
59
  #include "VConnection8.h"
59
60
 
61
+ /* restore Qt keywords if they were disabled for GLib inclusion */
62
+ #ifdef _VIPS_QT_SIGNALS_DEFINED
63
+ #define signals Q_SIGNALS
64
+ #undef _VIPS_QT_SIGNALS_DEFINED
65
+ #endif
66
+
60
67
  #endif /*VIPS_CPLUSPLUS*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@img/sharp-libvips-dev",
3
- "version": "1.0.6",
3
+ "version": "1.1.0-rc2",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "aom": "3.10.0",
3
- "archive": "3.7.6",
3
+ "archive": "3.7.7",
4
4
  "cairo": "1.18.2",
5
5
  "cgif": "0.4.1",
6
6
  "exif": "0.6.24",
@@ -9,7 +9,7 @@
9
9
  "fontconfig": "2.15.0",
10
10
  "freetype": "2.13.3",
11
11
  "fribidi": "1.0.16",
12
- "glib": "2.82.1",
12
+ "glib": "2.82.2",
13
13
  "harfbuzz": "10.0.1",
14
14
  "heif": "1.18.2",
15
15
  "highway": "1.2.0",
@@ -23,7 +23,7 @@
23
23
  "rsvg": "2.59.1",
24
24
  "spng": "0.7.4",
25
25
  "tiff": "4.7.0",
26
- "vips": "8.15.5-rc1",
26
+ "vips": "8.16.0-rc2",
27
27
  "webp": "1.4.0",
28
28
  "xml": "2.13.4",
29
29
  "zlib-ng": "2.2.2"