@revizly/sharp-libvips-dev 1.0.2 → 1.0.4

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/include/expat.h CHANGED
@@ -18,6 +18,7 @@
18
18
  Copyright (c) 2022 Thijs Schreijer <thijs@thijsschreijer.nl>
19
19
  Copyright (c) 2023 Hanno Böck <hanno@gentoo.org>
20
20
  Copyright (c) 2023 Sony Corporation / Snild Dolkow <snild@sony.com>
21
+ Copyright (c) 2024 Taichi Haradaguchi <20001722@ymail.ne.jp>
21
22
  Licensed under the MIT license:
22
23
 
23
24
  Permission is hereby granted, free of charge, to any person obtaining
@@ -1042,7 +1043,7 @@ typedef struct {
1042
1043
  XMLPARSEAPI(const XML_Feature *)
1043
1044
  XML_GetFeatureList(void);
1044
1045
 
1045
- #if XML_GE == 1
1046
+ #if defined(XML_DTD) || (defined(XML_GE) && XML_GE == 1)
1046
1047
  /* Added in Expat 2.4.0 for XML_DTD defined and
1047
1048
  * added in Expat 2.6.0 for XML_GE == 1. */
1048
1049
  XMLPARSEAPI(XML_Bool)
@@ -1065,7 +1066,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1065
1066
  */
1066
1067
  #define XML_MAJOR_VERSION 2
1067
1068
  #define XML_MINOR_VERSION 6
1068
- #define XML_MICRO_VERSION 0
1069
+ #define XML_MICRO_VERSION 2
1069
1070
 
1070
1071
  #ifdef __cplusplus
1071
1072
  }
@@ -83,7 +83,7 @@
83
83
  #define PACKAGE_NAME "expat"
84
84
 
85
85
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.6.0"
86
+ #define PACKAGE_STRING "expat 2.6.2"
87
87
 
88
88
  /* Define to the one symbol short name of this package. */
89
89
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +92,7 @@
92
92
  #define PACKAGE_URL ""
93
93
 
94
94
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.6.0"
95
+ #define PACKAGE_VERSION "2.6.2"
96
96
 
97
97
  /* Define to 1 if all of the C90 standard headers exist (not just the ones
98
98
  required in a freestanding environment). This macro is provided for
@@ -100,7 +100,7 @@
100
100
  #define STDC_HEADERS 1
101
101
 
102
102
  /* Version number of package */
103
- #define VERSION "2.6.0"
103
+ #define VERSION "2.6.2"
104
104
 
105
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -273,7 +273,7 @@ FT_BEGIN_HEADER
273
273
  * options set by those programs have precedence, overwriting the value
274
274
  * here with the configured one.
275
275
  */
276
- /* #define FT_CONFIG_OPTION_USE_PNG */
276
+ #define FT_CONFIG_OPTION_USE_PNG
277
277
 
278
278
 
279
279
  /**************************************************************************
@@ -0,0 +1,56 @@
1
+ /*
2
+ * Copyright 2024 GNOME Foundation, Inc.
3
+ *
4
+ * SPDX-License-Identifier: LGPL-2.1-or-later
5
+ *
6
+ * This library is free software; you can redistribute it and/or
7
+ * modify it under the terms of the GNU Lesser General Public
8
+ * License as published by the Free Software Foundation; either
9
+ * version 2.1 of the License, or (at your option) any later version.
10
+ *
11
+ * This library is distributed in the hope that it will be useful,
12
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
+ * Lesser General Public License for more details.
15
+ *
16
+ * You should have received a copy of the GNU Lesser General
17
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
18
+ *
19
+ * Author: Philip Withnall <pwithnall@gnome.org>
20
+ */
21
+
22
+ #if !defined (__GIREPOSITORY_H_INSIDE__) && !defined (GI_COMPILATION)
23
+ #error "Only <girepository.h> can be included directly."
24
+ #endif
25
+
26
+ #ifndef __GI_SCANNER__
27
+
28
+ /* GIRepository already has its cleanups defined by G_DECLARE_FINAL_TYPE */
29
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GITypelib, gi_typelib_unref)
30
+
31
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIBaseInfo, gi_base_info_unref)
32
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIArgInfo, gi_base_info_unref)
33
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GICallableInfo, gi_base_info_unref)
34
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GICallbackInfo, gi_base_info_unref)
35
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIConstantInfo, gi_base_info_unref)
36
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIEnumInfo, gi_base_info_unref)
37
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIFieldInfo, gi_base_info_unref)
38
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIFlagsInfo, gi_base_info_unref)
39
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIFunctionInfo, gi_base_info_unref)
40
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIInterfaceInfo, gi_base_info_unref)
41
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIObjectInfo, gi_base_info_unref)
42
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIPropertyInfo, gi_base_info_unref)
43
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIRegisteredTypeInfo, gi_base_info_unref)
44
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GISignalInfo, gi_base_info_unref)
45
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIStructInfo, gi_base_info_unref)
46
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GITypeInfo, gi_base_info_unref)
47
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIUnionInfo, gi_base_info_unref)
48
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIUnresolvedInfo, gi_base_info_unref)
49
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIValueInfo, gi_base_info_unref)
50
+ G_DEFINE_AUTOPTR_CLEANUP_FUNC (GIVFuncInfo, gi_base_info_unref)
51
+
52
+ /* These types can additionally be stack allocated and cleared */
53
+ G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (GIArgInfo, gi_base_info_clear)
54
+ G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (GITypeInfo, gi_base_info_clear)
55
+
56
+ #endif /* __GI_SCANNER__ */
@@ -62,6 +62,7 @@ G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject)
62
62
 
63
63
  /**
64
64
  * GIRepositoryLoadFlags:
65
+ * @GI_REPOSITORY_LOAD_FLAG_NONE: No flags set.
65
66
  * @GI_REPOSITORY_LOAD_FLAG_LAZY: Lazily load the typelib.
66
67
  *
67
68
  * Flags that control how a typelib is loaded.
@@ -70,6 +71,7 @@ G_DECLARE_FINAL_TYPE (GIRepository, gi_repository, GI, REPOSITORY, GObject)
70
71
  */
71
72
  typedef enum
72
73
  {
74
+ GI_REPOSITORY_LOAD_FLAG_NONE = 0,
73
75
  GI_REPOSITORY_LOAD_FLAG_LAZY = 1 << 0
74
76
  } GIRepositoryLoadFlags;
75
77
 
@@ -240,4 +242,6 @@ void gi_cclosure_marshal_generic (GClosure *closure,
240
242
  void *invocation_hint,
241
243
  void *marshal_data);
242
244
 
245
+ #include <girepository/girepository-autocleanups.h>
246
+
243
247
  G_END_DECLS
@@ -110,6 +110,7 @@ gboolean gi_function_invoker_new_for_address (void *addr,
110
110
  GI_AVAILABLE_IN_ALL
111
111
  void gi_function_invoker_clear (GIFunctionInvoker *invoker);
112
112
 
113
+ G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC (GIFunctionInvoker, gi_function_invoker_clear)
113
114
 
114
115
  GI_AVAILABLE_IN_ALL
115
116
  ffi_closure * gi_callable_info_create_closure (GICallableInfo *callable_info,
@@ -552,6 +552,9 @@ GPrintFunc g_set_printerr_handler (GPrintFunc func);
552
552
  *
553
553
  * Logs a warning if the expression is not true.
554
554
  *
555
+ * Unlike g_return_if_fail(), the expression is always evaluated, even if
556
+ * checks and assertions are disabled.
557
+ *
555
558
  * Since: 2.16
556
559
  */
557
560
  #define g_warn_if_fail(expr) \
@@ -500,14 +500,18 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
500
500
  * @c_handler: the #GCallback to connect.
501
501
  * @data: data to pass to @c_handler calls.
502
502
  *
503
- * Connects a #GCallback function to a signal for a particular object.
503
+ * Connects a [type@GObject.Callback] function to a signal for a particular object.
504
504
  *
505
- * The handler will be called synchronously, before the default handler of the signal. g_signal_emit() will not return control until all handlers are called.
505
+ * The handler will be called synchronously, before the default handler of the signal.
506
+ * [func@GObject.signal_emit] will not return control until all handlers are called.
506
507
  *
507
- * See [memory management of signal handlers][signals.html#Memory_management_of_signal_handlers] for
508
+ * See [memory management of signal handlers](signals.html#Memory_management_of_signal_handlers) for
508
509
  * details on how to handle the return value and memory management of @data.
509
510
  *
510
- * Returns: the handler ID, of type #gulong (always greater than 0 for successful connections)
511
+ * This function cannot fail. If the given signal doesn’t exist, a critical
512
+ * warning is emitted.
513
+ *
514
+ * Returns: the handler ID, of type `gulong` (always greater than 0)
511
515
  */
512
516
  /* Intentionally not using G_CONNECT_DEFAULT here to avoid deprecation
513
517
  * warnings with older GLIB_VERSION_MAX_ALLOWED */
@@ -524,7 +528,10 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
524
528
  *
525
529
  * The handler will be called synchronously, after the default handler of the signal.
526
530
  *
527
- * Returns: the handler ID, of type #gulong (always greater than 0 for successful connections)
531
+ * This function cannot fail. If the given signal doesn’t exist, a critical
532
+ * warning is emitted.
533
+ *
534
+ * Returns: the handler ID, of type `gulong` (always greater than 0)
528
535
  */
529
536
  #define g_signal_connect_after(instance, detailed_signal, c_handler, data) \
530
537
  g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_AFTER)
@@ -562,7 +569,10 @@ void g_signal_chain_from_overridden_handler (gpointer instance,
562
569
  * (GCallback) button_clicked_cb, other_widget);
563
570
  * ]|
564
571
  *
565
- * Returns: the handler ID, of type #gulong (always greater than 0 for successful connections)
572
+ * This function cannot fail. If the given signal doesn’t exist, a critical
573
+ * warning is emitted.
574
+ *
575
+ * Returns: the handler ID, of type `gulong` (always greater than 0)
566
576
  */
567
577
  #define g_signal_connect_swapped(instance, detailed_signal, c_handler, data) \
568
578
  g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, G_CONNECT_SWAPPED)
@@ -47,14 +47,10 @@
47
47
  # endif /* !__cplusplus */
48
48
  #endif
49
49
 
50
- #if defined (_SVR4) || defined (SVR4) || defined (__OpenBSD__) || \
51
- defined (_sgi) || defined (__sun) || defined (sun) || \
52
- defined (__digital__) || defined (__HP_cc)
53
- # include <inttypes.h>
54
- #elif defined (_AIX)
50
+ #if defined (_AIX)
55
51
  # include <sys/inttypes.h>
56
- #elif defined (_MSC_VER) && _MSC_VER < 1600
57
- /* VS 2010 (_MSC_VER 1600) has stdint.h */
52
+ #elif defined (_MSC_VER) && _MSC_VER < 1800
53
+ /* VS 2013 (_MSC_VER 1800) has inttypes.h */
58
54
  typedef __int8 int8_t;
59
55
  typedef unsigned __int8 uint8_t;
60
56
  typedef __int16 int16_t;
@@ -63,10 +59,8 @@ typedef __int32 int32_t;
63
59
  typedef unsigned __int32 uint32_t;
64
60
  typedef __int64 int64_t;
65
61
  typedef unsigned __int64 uint64_t;
66
- #elif defined (__KERNEL__)
67
- # include <linux/types.h>
68
62
  #else
69
- # include <stdint.h>
63
+ # include <inttypes.h>
70
64
  #endif
71
65
 
72
66
  #if defined(__GNUC__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
@@ -56,15 +56,15 @@ struct shared_ptr
56
56
 
57
57
  explicit shared_ptr (T *p = nullptr) : p (p) {}
58
58
  shared_ptr (const shared_ptr &o) : p (v::reference (o.p)) {}
59
- shared_ptr (shared_ptr &&o) : p (o.p) { o.p = nullptr; }
59
+ shared_ptr (shared_ptr &&o) noexcept : p (o.p) { o.p = nullptr; }
60
60
  shared_ptr& operator = (const shared_ptr &o) { if (p != o.p) { destroy (); p = o.p; reference (); } return *this; }
61
- shared_ptr& operator = (shared_ptr &&o) { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
61
+ shared_ptr& operator = (shared_ptr &&o) noexcept { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
62
62
  ~shared_ptr () { v::destroy (p); p = nullptr; }
63
63
 
64
64
  T* get() const { return p; }
65
65
 
66
- void swap (shared_ptr &o) { std::swap (p, o.p); }
67
- friend void swap (shared_ptr &a, shared_ptr &b) { std::swap (a.p, b.p); }
66
+ void swap (shared_ptr &o) noexcept { std::swap (p, o.p); }
67
+ friend void swap (shared_ptr &a, shared_ptr &b) noexcept { std::swap (a.p, b.p); }
68
68
 
69
69
  operator T * () const { return p; }
70
70
  T& operator * () const { return *get (); }
@@ -98,16 +98,16 @@ struct unique_ptr
98
98
 
99
99
  explicit unique_ptr (T *p = nullptr) : p (p) {}
100
100
  unique_ptr (const unique_ptr &o) = delete;
101
- unique_ptr (unique_ptr &&o) : p (o.p) { o.p = nullptr; }
101
+ unique_ptr (unique_ptr &&o) noexcept : p (o.p) { o.p = nullptr; }
102
102
  unique_ptr& operator = (const unique_ptr &o) = delete;
103
- unique_ptr& operator = (unique_ptr &&o) { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
103
+ unique_ptr& operator = (unique_ptr &&o) noexcept { v::destroy (p); p = o.p; o.p = nullptr; return *this; }
104
104
  ~unique_ptr () { v::destroy (p); p = nullptr; }
105
105
 
106
106
  T* get() const { return p; }
107
107
  T* release () { T* v = p; p = nullptr; return v; }
108
108
 
109
- void swap (unique_ptr &o) { std::swap (p, o.p); }
110
- friend void swap (unique_ptr &a, unique_ptr &b) { std::swap (a.p, b.p); }
109
+ void swap (unique_ptr &o) noexcept { std::swap (p, o.p); }
110
+ friend void swap (unique_ptr &a, unique_ptr &b) noexcept { std::swap (a.p, b.p); }
111
111
 
112
112
  operator T * () const { return p; }
113
113
  T& operator * () const { return *get (); }
@@ -76,6 +76,8 @@ typedef struct hb_subset_plan_t hb_subset_plan_t;
76
76
  * @HB_SUBSET_FLAGS_IFTB_REQUIREMENTS: If set enforce requirements on the output subset
77
77
  * to allow it to be used with incremental font transfer IFTB patches. Primarily,
78
78
  * this forces all outline data to use long (32 bit) offsets. Since: EXPERIMENTAL
79
+ * @HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS: If set perform IUP delta optimization on the
80
+ * remaining gvar table's deltas. Since: EXPERIMENTAL
79
81
  *
80
82
  * List of boolean properties that can be configured on the subset input.
81
83
  *
@@ -95,6 +97,7 @@ typedef enum { /*< flags >*/
95
97
  HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE = 0x00000200u,
96
98
  #ifdef HB_EXPERIMENTAL_API
97
99
  HB_SUBSET_FLAGS_IFTB_REQUIREMENTS = 0x00000400u,
100
+ HB_SUBSET_FLAGS_OPTIMIZE_IUP_DELTAS = 0x00000800u,
98
101
  #endif
99
102
  } hb_subset_flags_t;
100
103
 
@@ -170,6 +173,10 @@ HB_EXTERN void
170
173
  hb_subset_input_set_flags (hb_subset_input_t *input,
171
174
  unsigned value);
172
175
 
176
+ HB_EXTERN hb_bool_t
177
+ hb_subset_input_pin_all_axes_to_default (hb_subset_input_t *input,
178
+ hb_face_t *face);
179
+
173
180
  HB_EXTERN hb_bool_t
174
181
  hb_subset_input_pin_axis_to_default (hb_subset_input_t *input,
175
182
  hb_face_t *face,
@@ -182,13 +189,20 @@ hb_subset_input_pin_axis_location (hb_subset_input_t *input,
182
189
  float axis_value);
183
190
 
184
191
  #ifdef HB_EXPERIMENTAL_API
192
+ HB_EXTERN hb_bool_t
193
+ hb_subset_input_get_axis_range (hb_subset_input_t *input,
194
+ hb_tag_t axis_tag,
195
+ float *axis_min_value,
196
+ float *axis_max_value,
197
+ float *axis_def_value);
198
+
185
199
  HB_EXTERN hb_bool_t
186
200
  hb_subset_input_set_axis_range (hb_subset_input_t *input,
187
201
  hb_face_t *face,
188
202
  hb_tag_t axis_tag,
189
203
  float axis_min_value,
190
204
  float axis_max_value,
191
- float *axis_def_value);
205
+ float axis_def_value);
192
206
 
193
207
  HB_EXTERN hb_bool_t
194
208
  hb_subset_input_override_name_table (hb_subset_input_t *input,
@@ -53,14 +53,14 @@ HB_BEGIN_DECLS
53
53
  *
54
54
  * The micro component of the library version available at compile-time.
55
55
  */
56
- #define HB_VERSION_MICRO 0
56
+ #define HB_VERSION_MICRO 1
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.3.0"
63
+ #define HB_VERSION_STRING "8.3.1"
64
64
 
65
65
  /**
66
66
  * HB_VERSION_ATLEAST:
@@ -7,7 +7,7 @@
7
7
 
8
8
  #define LIBRSVG_MAJOR_VERSION (2)
9
9
  #define LIBRSVG_MINOR_VERSION (57)
10
- #define LIBRSVG_MICRO_VERSION (91)
11
- #define LIBRSVG_VERSION "2.57.91"
10
+ #define LIBRSVG_MICRO_VERSION (2)
11
+ #define LIBRSVG_VERSION "2.57.2"
12
12
 
13
13
  #endif
@@ -798,14 +798,9 @@ gboolean rsvg_handle_has_sub (RsvgHandle *handle, const char *id);
798
798
  * @RSVG_UNIT_MM: millimeters
799
799
  * @RSVG_UNIT_PT: points, or 1/72 inch
800
800
  * @RSVG_UNIT_PC: picas, or 1/6 inch (12 points)
801
- * @RSVG_UNIT_CH: advance measure of a '0' character (depends on the text orientation)
802
801
  *
803
802
  * Units for the `RsvgLength` struct. These have the same meaning as [CSS length
804
803
  * units](https://www.w3.org/TR/CSS21/syndata.html#length-units).
805
- *
806
- * If you test for the values of this enum, please note that librsvg may add other units in the future
807
- * as its support for CSS improves. Please make your code handle unknown units gracefully (e.g. with
808
- * a `default` case in a `switch()` statement).
809
804
  */
810
805
  typedef enum {
811
806
  RSVG_UNIT_PERCENT,
@@ -816,8 +811,7 @@ typedef enum {
816
811
  RSVG_UNIT_CM,
817
812
  RSVG_UNIT_MM,
818
813
  RSVG_UNIT_PT,
819
- RSVG_UNIT_PC,
820
- RSVG_UNIT_CH,
814
+ RSVG_UNIT_PC
821
815
  } RsvgUnit;
822
816
 
823
817
  /**
@@ -29,21 +29,21 @@ XMLPUBFUN void xmlCheckVersion(int version);
29
29
  *
30
30
  * the version string like "1.2.3"
31
31
  */
32
- #define LIBXML_DOTTED_VERSION "2.12.5"
32
+ #define LIBXML_DOTTED_VERSION "2.12.6"
33
33
 
34
34
  /**
35
35
  * LIBXML_VERSION:
36
36
  *
37
37
  * the version number: 1.2.3 value is 10203
38
38
  */
39
- #define LIBXML_VERSION 21205
39
+ #define LIBXML_VERSION 21206
40
40
 
41
41
  /**
42
42
  * LIBXML_VERSION_STRING:
43
43
  *
44
44
  * the version number string, 1.2.3 value is "10203"
45
45
  */
46
- #define LIBXML_VERSION_STRING "21205"
46
+ #define LIBXML_VERSION_STRING "21206"
47
47
 
48
48
  /**
49
49
  * LIBXML_VERSION_EXTRA:
@@ -58,7 +58,7 @@ XMLPUBFUN void xmlCheckVersion(int version);
58
58
  * Macro to check that the libxml version in use is compatible with
59
59
  * the version the software has been compiled against
60
60
  */
61
- #define LIBXML_TEST_VERSION xmlCheckVersion(21205);
61
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21206);
62
62
 
63
63
  #ifndef VMS
64
64
  #if 0
@@ -3,8 +3,8 @@
3
3
 
4
4
  #define PANGO_VERSION_MAJOR 1
5
5
  #define PANGO_VERSION_MINOR 52
6
- #define PANGO_VERSION_MICRO 0
6
+ #define PANGO_VERSION_MICRO 1
7
7
 
8
- #define PANGO_VERSION_STRING "1.52.0"
8
+ #define PANGO_VERSION_STRING "1.52.1"
9
9
 
10
10
  #endif /* PANGO_FEATURES_H */
@@ -33,9 +33,9 @@
33
33
 
34
34
  #define PIXMAN_VERSION_MAJOR 0
35
35
  #define PIXMAN_VERSION_MINOR 43
36
- #define PIXMAN_VERSION_MICRO 2
36
+ #define PIXMAN_VERSION_MICRO 4
37
37
 
38
- #define PIXMAN_VERSION_STRING "0.43.2"
38
+ #define PIXMAN_VERSION_STRING "0.43.4"
39
39
 
40
40
  #define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
41
41
  ((major) * 10000) \
@@ -428,8 +428,11 @@ struct _VipsTarget {
428
428
  int write_point;
429
429
 
430
430
  /* Write position in memory_buffer.
431
+ *
432
+ * off_t can be 32 bits on some platforms, so make sure we have a
433
+ * full 64.
431
434
  */
432
- off_t position;
435
+ gint64 position;
433
436
 
434
437
  /* Temp targets on the filesystem need deleting, sometimes.
435
438
  */
@@ -466,8 +469,11 @@ typedef struct _VipsTargetClass {
466
469
  gint64 (*read)(VipsTarget *, void *, size_t);
467
470
 
468
471
  /* Seek output. Args exactly as lseek(2).
472
+ *
473
+ * We have to use int64 rather than off_t, since we must work on
474
+ * Windows, where off_t can be 32-bits.
469
475
  */
470
- off_t (*seek)(VipsTarget *, off_t offset, int whence);
476
+ gint64 (*seek)(VipsTarget *, gint64 offset, int whence);
471
477
 
472
478
  /* Output has been generated, so do any clearing up,
473
479
  * eg. copy the bytes we saved in memory to the target blob.
@@ -492,7 +498,7 @@ int vips_target_write(VipsTarget *target, const void *data, size_t length);
492
498
  VIPS_API
493
499
  gint64 vips_target_read(VipsTarget *target, void *buffer, size_t length);
494
500
  VIPS_API
495
- off_t vips_target_seek(VipsTarget *target, off_t offset, int whence);
501
+ gint64 vips_target_seek(VipsTarget *target, gint64 offset, int whence);
496
502
  VIPS_API
497
503
  int vips_target_end(VipsTarget *target);
498
504
  VIPS_DEPRECATED_FOR(vips_target_end)
@@ -164,15 +164,6 @@ extern "C" {
164
164
  } \
165
165
  G_STMT_END
166
166
 
167
- /* The g_info() macro was added in 2.40.
168
- */
169
- #ifndef g_info
170
- /* Hopefully we have varargs macros. Maybe revisit this.
171
- */
172
- #define g_info(...) \
173
- g_log(G_LOG_DOMAIN, G_LOG_LEVEL_INFO, __VA_ARGS__)
174
- #endif
175
-
176
167
  /* Various integer range clips. Record over/under flows.
177
168
  */
178
169
  #define VIPS_CLIP_UCHAR(V, SEQ) \
@@ -4,16 +4,16 @@
4
4
  #ifndef VIPS_VERSION_H
5
5
  #define VIPS_VERSION_H
6
6
 
7
- #define VIPS_VERSION "8.15.1"
8
- #define VIPS_VERSION_STRING "8.15.1"
7
+ #define VIPS_VERSION "8.15.2"
8
+ #define VIPS_VERSION_STRING "8.15.2"
9
9
  #define VIPS_MAJOR_VERSION (8)
10
10
  #define VIPS_MINOR_VERSION (15)
11
- #define VIPS_MICRO_VERSION (1)
11
+ #define VIPS_MICRO_VERSION (2)
12
12
 
13
13
  /* The ABI version, as used for library versioning.
14
14
  */
15
15
  #define VIPS_LIBRARY_CURRENT (59)
16
- #define VIPS_LIBRARY_REVISION (1)
16
+ #define VIPS_LIBRARY_REVISION (2)
17
17
  #define VIPS_LIBRARY_AGE (17)
18
18
 
19
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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revizly/sharp-libvips-dev",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
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,32 +1,32 @@
1
1
  {
2
- "aom": "3.8.1",
2
+ "aom": "3.8.2",
3
3
  "archive": "3.7.2",
4
4
  "cairo": "1.18.0",
5
5
  "cgif": "0.3.2",
6
6
  "de265": "1.0.15",
7
7
  "exif": "0.6.24",
8
- "expat": "2.6.0",
8
+ "expat": "2.6.2",
9
9
  "ffi": "3.4.6",
10
10
  "fontconfig": "2.15.0",
11
11
  "freetype": "2.13.2",
12
12
  "fribidi": "1.0.13",
13
13
  "gdkpixbuf": "2.42.10",
14
- "glib": "2.79.2",
15
- "harfbuzz": "8.3.0",
14
+ "glib": "2.80.0",
15
+ "harfbuzz": "8.3.1",
16
16
  "heif": "1.17.6",
17
17
  "highway": "1.1.0",
18
18
  "imagequant": "2.4.1",
19
19
  "lcms": "2.16",
20
20
  "mozjpeg": "4.1.5",
21
- "pango": "1.52.0",
22
- "pixman": "0.43.2",
21
+ "pango": "1.52.1",
22
+ "pixman": "0.43.4",
23
23
  "png": "1.6.43",
24
24
  "proxy-libintl": "0.4",
25
- "rsvg": "2.57.91",
25
+ "rsvg": "2.57.2",
26
26
  "spng": "0.7.4",
27
27
  "tiff": "4.6.0",
28
- "vips": "8.15.1",
28
+ "vips": "8.15.2",
29
29
  "webp": "1.3.2",
30
- "xml": "2.12.5",
30
+ "xml": "2.12.6",
31
31
  "zlib-ng": "2.1.6"
32
32
  }
@@ -1,142 +0,0 @@
1
- /* GLIB - Library of useful routines for C programming
2
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3
- *
4
- * SPDX-License-Identifier: LGPL-2.1-or-later
5
- *
6
- * This library is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU Lesser General Public
8
- * License as published by the Free Software Foundation; either
9
- * version 2.1 of the License, or (at your option) any later version.
10
- *
11
- * This library is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
- * Lesser General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU Lesser General Public
17
- * License along with this library; if not, see <http://www.gnu.org/licenses/>.
18
- */
19
-
20
- /*
21
- * Modified by the GLib Team and others 1997-2000. See the AUTHORS
22
- * file for a list of people on the GLib Team. See the ChangeLog
23
- * files for a list of changes. These files are distributed with
24
- * GLib at ftp://ftp.gtk.org/pub/gtk/.
25
- */
26
-
27
- #ifndef __G_WIN32_H__
28
- #define __G_WIN32_H__
29
-
30
- #if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
31
- #error "Only <glib.h> can be included directly."
32
- #endif
33
-
34
- #include <glib/gtypes.h>
35
-
36
- #if defined(G_PLATFORM_WIN32) || defined(__GI_SCANNER__)
37
-
38
- G_BEGIN_DECLS
39
-
40
- #ifndef MAXPATHLEN
41
- #define MAXPATHLEN 1024
42
- #endif
43
-
44
- #if defined(G_OS_WIN32) || defined(__GI_SCANNER__)
45
-
46
- /*
47
- * To get prototypes for the following POSIXish functions, you have to
48
- * include the indicated non-POSIX headers. The functions are defined
49
- * in OLDNAMES.LIB (MSVC) or -lmoldname-msvc (mingw32). But note that
50
- * for POSIX functions that take or return file names in the system
51
- * codepage, in many cases you would want to use the GLib wrappers in
52
- * gstdio.h and UTF-8 instead.
53
- *
54
- * getcwd: <direct.h> (MSVC), <io.h> (mingw32)
55
- * getpid: <process.h>
56
- * access: <io.h>
57
- * unlink: <stdio.h> or <io.h>
58
- * open, read, write, lseek, close: <io.h>
59
- * rmdir: <io.h>
60
- * pipe: <io.h> (actually, _pipe())
61
- */
62
-
63
- /* For some POSIX functions that are not provided by the MS runtime,
64
- * we provide emulation functions in glib, which are prefixed with
65
- * g_win32_. Or that was the idea at some time, but there is just one
66
- * of those:
67
- */
68
- GLIB_AVAILABLE_IN_ALL
69
- gint g_win32_ftruncate (gint f,
70
- guint size);
71
- #endif /* G_OS_WIN32 || __GI_SCANNER__ */
72
-
73
- /* The MS setlocale uses locale names of the form "English_United
74
- * States.1252" etc. We want the Unixish standard form "en", "zh_TW"
75
- * etc. This function gets the current thread locale from Windows and
76
- * returns it as a string of the above form for use in forming file
77
- * names etc. The returned string should be deallocated with g_free().
78
- */
79
- GLIB_AVAILABLE_IN_ALL
80
- gchar* g_win32_getlocale (void);
81
-
82
- /* Translate a Win32 error code (as returned by GetLastError()) into
83
- * the corresponding message. The returned string should be deallocated
84
- * with g_free().
85
- */
86
- GLIB_AVAILABLE_IN_ALL
87
- gchar* g_win32_error_message (gint error);
88
-
89
- GLIB_DEPRECATED
90
- gchar* g_win32_get_package_installation_directory (const gchar *package,
91
- const gchar *dll_name);
92
-
93
- GLIB_DEPRECATED
94
- gchar* g_win32_get_package_installation_subdirectory (const gchar *package,
95
- const gchar *dll_name,
96
- const gchar *subdir);
97
-
98
- GLIB_AVAILABLE_IN_ALL
99
- gchar* g_win32_get_package_installation_directory_of_module (gpointer hmodule);
100
-
101
- GLIB_DEPRECATED_IN_2_44_FOR(g_win32_check_windows_version)
102
- guint g_win32_get_windows_version (void);
103
-
104
- GLIB_AVAILABLE_IN_ALL
105
- gchar* g_win32_locale_filename_from_utf8 (const gchar *utf8filename);
106
-
107
- GLIB_AVAILABLE_IN_2_40
108
- gchar ** g_win32_get_command_line (void);
109
-
110
- /* As of GLib 2.14 we only support NT-based Windows */
111
- #define G_WIN32_IS_NT_BASED() TRUE
112
- #define G_WIN32_HAVE_WIDECHAR_API() TRUE
113
-
114
- /**
115
- * GWin32OSType:
116
- * @G_WIN32_OS_ANY: The running system can be a workstation or a server edition of
117
- * Windows. The type of the running system is therefore not checked.
118
- * @G_WIN32_OS_WORKSTATION: The running system is a workstation edition of Windows,
119
- * such as Windows 7 Professional.
120
- * @G_WIN32_OS_SERVER: The running system is a server edition of Windows, such as
121
- * Windows Server 2008 R2.
122
- *
123
- * Type of Windows edition to check for at run-time.
124
- **/
125
- typedef enum
126
- {
127
- G_WIN32_OS_ANY,
128
- G_WIN32_OS_WORKSTATION,
129
- G_WIN32_OS_SERVER,
130
- } GWin32OSType;
131
-
132
- GLIB_AVAILABLE_IN_2_44
133
- gboolean g_win32_check_windows_version (const gint major,
134
- const gint minor,
135
- const gint spver,
136
- const GWin32OSType os_type);
137
-
138
- G_END_DECLS
139
-
140
- #endif /* G_PLATFORM_WIN32 || __GI_SCANNER__ */
141
-
142
- #endif /* __G_WIN32_H__ */