@img/sharp-libvips-dev 1.2.4-rc.0 → 1.3.0-rc.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.
Files changed (55) hide show
  1. package/README.md +1 -1
  2. package/cplusplus/VError.cpp +1 -1
  3. package/cplusplus/VImage.cpp +66 -109
  4. package/cplusplus/vips-operators.cpp +172 -0
  5. package/include/archive.h +2 -2
  6. package/include/archive_entry.h +1 -1
  7. package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +8 -1
  8. package/include/glib-2.0/gio/gfileinfo.h +7 -0
  9. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  10. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  11. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  12. package/include/glib-2.0/glib/gmacros.h +4 -0
  13. package/include/glib-2.0/glib/gmarkup.h +2 -0
  14. package/include/glib-2.0/glib/gtypes.h +46 -4
  15. package/include/glib-2.0/glib/gunicode.h +13 -1
  16. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  17. package/include/glib-2.0/glib-unix.h +4 -0
  18. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  19. package/include/glib-2.0/gobject/genums.h +2 -2
  20. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  21. package/include/harfbuzz/hb-version.h +2 -2
  22. package/include/libpng16/png.h +7 -7
  23. package/include/libpng16/pngconf.h +1 -1
  24. package/include/libpng16/pnglibconf.h +1 -1
  25. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  26. package/include/librsvg-2.0/librsvg/rsvg.h +6 -1
  27. package/include/png.h +7 -7
  28. package/include/pngconf.h +1 -1
  29. package/include/pnglibconf.h +1 -1
  30. package/include/ultrahdr_api.h +898 -0
  31. package/include/vips/VError8.h +17 -14
  32. package/include/vips/VImage8.h +235 -32
  33. package/include/vips/arithmetic.h +9 -9
  34. package/include/vips/basic.h +11 -1
  35. package/include/vips/colour.h +19 -2
  36. package/include/vips/conversion.h +8 -8
  37. package/include/vips/convolution.h +1 -1
  38. package/include/vips/create.h +2 -2
  39. package/include/vips/draw.h +1 -1
  40. package/include/vips/enumtypes.h +3 -0
  41. package/include/vips/foreign.h +74 -15
  42. package/include/vips/header.h +22 -0
  43. package/include/vips/image.h +8 -5
  44. package/include/vips/morphology.h +1 -1
  45. package/include/vips/operation.h +2 -1
  46. package/include/vips/private.h +5 -10
  47. package/include/vips/region.h +7 -1
  48. package/include/vips/resample.h +2 -2
  49. package/include/vips/semaphore.h +1 -5
  50. package/include/vips/threadpool.h +0 -1
  51. package/include/vips/version.h +8 -8
  52. package/include/zlib.h +5 -5
  53. package/package.json +1 -1
  54. package/versions.json +8 -8
  55. package/include/spng.h +0 -537
package/include/archive.h CHANGED
@@ -34,7 +34,7 @@
34
34
  * assert that ARCHIVE_VERSION_NUMBER >= 2012108.
35
35
  */
36
36
  /* Note: Compiler will complain if this does not match archive_entry.h! */
37
- #define ARCHIVE_VERSION_NUMBER 3008002
37
+ #define ARCHIVE_VERSION_NUMBER 3008004
38
38
 
39
39
  #include <sys/stat.h>
40
40
  #include <stddef.h> /* for wchar_t */
@@ -177,7 +177,7 @@ __LA_DECL int archive_version_number(void);
177
177
  /*
178
178
  * Textual name/version of the library, useful for version displays.
179
179
  */
180
- #define ARCHIVE_VERSION_ONLY_STRING "3.8.2"
180
+ #define ARCHIVE_VERSION_ONLY_STRING "3.8.4"
181
181
  #define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
182
182
  __LA_DECL const char * archive_version_string(void);
183
183
 
@@ -28,7 +28,7 @@
28
28
  #define ARCHIVE_ENTRY_H_INCLUDED
29
29
 
30
30
  /* Note: Compiler will complain if this does not match archive.h! */
31
- #define ARCHIVE_VERSION_NUMBER 3008002
31
+ #define ARCHIVE_VERSION_NUMBER 3008004
32
32
 
33
33
  /*
34
34
  * Note: archive_entry.h is for use outside of libarchive; the
@@ -23,6 +23,7 @@
23
23
  #ifndef __G_DBUS_INTERFACE_SKELETON_H__
24
24
  #define __G_DBUS_INTERFACE_SKELETON_H__
25
25
 
26
+ #include <gio/gdbusconnection.h>
26
27
  #include <gio/giotypes.h>
27
28
 
28
29
  G_BEGIN_DECLS
@@ -51,6 +52,7 @@ struct _GDBusInterfaceSkeleton
51
52
  * @get_vtable: Returns a #GDBusInterfaceVTable. See g_dbus_interface_skeleton_get_vtable() for details.
52
53
  * @get_properties: Returns a #GVariant with all properties. See g_dbus_interface_skeleton_get_properties().
53
54
  * @flush: Emits outstanding changes, if any. See g_dbus_interface_skeleton_flush().
55
+ * @method_dispatch: Dispatches a method invocation. (Since: 2.88)
54
56
  * @g_authorize_method: Signal class handler for the #GDBusInterfaceSkeleton::g-authorize-method signal.
55
57
  *
56
58
  * Class structure for #GDBusInterfaceSkeleton.
@@ -66,9 +68,14 @@ struct _GDBusInterfaceSkeletonClass
66
68
  GDBusInterfaceVTable *(*get_vtable) (GDBusInterfaceSkeleton *interface_);
67
69
  GVariant *(*get_properties) (GDBusInterfaceSkeleton *interface_);
68
70
  void (*flush) (GDBusInterfaceSkeleton *interface_);
71
+ void (*method_dispatch) (GDBusInterfaceSkeleton *interface_,
72
+ GDBusInterfaceMethodCallFunc method_call_func,
73
+ GDBusMethodInvocation *invocation,
74
+ GDBusInterfaceSkeletonFlags flags,
75
+ GDBusObject *object);
69
76
 
70
77
  /*< private >*/
71
- gpointer vfunc_padding[8];
78
+ gpointer vfunc_padding[7];
72
79
  /*< public >*/
73
80
 
74
81
  /* Signals */
@@ -311,6 +311,13 @@ typedef struct _GFileInfoClass GFileInfoClass;
311
311
  *
312
312
  * An example use would be during listing files, to avoid recursive
313
313
  * directory scanning.
314
+ *
315
+ * For local files on Linux, this is a combination of the file’s device number
316
+ * and inode, so is invariant with respect to hard linking. The format used by
317
+ * other VFS implementations may vary, and some VFS backends may not set it.
318
+ *
319
+ * For simply seeing if two [iface@Gio.File] instances refer to the same path
320
+ * on disk, see [method@Gio.File.equal].
314
321
  **/
315
322
  #define G_FILE_ATTRIBUTE_ID_FILE "id::file" /* string */
316
323
 
@@ -1086,3 +1086,37 @@
1086
1086
  #define GIO_AVAILABLE_ENUMERATOR_IN_2_86
1087
1087
  #define GIO_AVAILABLE_TYPE_IN_2_86
1088
1088
  #endif
1089
+
1090
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_88
1091
+ #define GIO_DEPRECATED_IN_2_88 GIO_DEPRECATED
1092
+ #define GIO_DEPRECATED_IN_2_88_FOR(f) GIO_DEPRECATED_FOR (f)
1093
+ #define GIO_DEPRECATED_MACRO_IN_2_88 GLIB_DEPRECATED_MACRO
1094
+ #define GIO_DEPRECATED_MACRO_IN_2_88_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1095
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_88 GLIB_DEPRECATED_ENUMERATOR
1096
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1097
+ #define GIO_DEPRECATED_TYPE_IN_2_88 GLIB_DEPRECATED_TYPE
1098
+ #define GIO_DEPRECATED_TYPE_IN_2_88_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1099
+ #else
1100
+ #define GIO_DEPRECATED_IN_2_88 _GIO_EXTERN
1101
+ #define GIO_DEPRECATED_IN_2_88_FOR(f) _GIO_EXTERN
1102
+ #define GIO_DEPRECATED_MACRO_IN_2_88
1103
+ #define GIO_DEPRECATED_MACRO_IN_2_88_FOR(f)
1104
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_88
1105
+ #define GIO_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f)
1106
+ #define GIO_DEPRECATED_TYPE_IN_2_88
1107
+ #define GIO_DEPRECATED_TYPE_IN_2_88_FOR(f)
1108
+ #endif
1109
+
1110
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_88
1111
+ #define GIO_AVAILABLE_IN_2_88 GIO_UNAVAILABLE (2, 88)
1112
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_88 GLIB_UNAVAILABLE_STATIC_INLINE (2, 88)
1113
+ #define GIO_AVAILABLE_MACRO_IN_2_88 GLIB_UNAVAILABLE_MACRO (2, 88)
1114
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_88 GLIB_UNAVAILABLE_ENUMERATOR (2, 88)
1115
+ #define GIO_AVAILABLE_TYPE_IN_2_88 GLIB_UNAVAILABLE_TYPE (2, 88)
1116
+ #else
1117
+ #define GIO_AVAILABLE_IN_2_88 _GIO_EXTERN
1118
+ #define GIO_AVAILABLE_STATIC_INLINE_IN_2_88
1119
+ #define GIO_AVAILABLE_MACRO_IN_2_88
1120
+ #define GIO_AVAILABLE_ENUMERATOR_IN_2_88
1121
+ #define GIO_AVAILABLE_TYPE_IN_2_88
1122
+ #endif
@@ -1086,3 +1086,37 @@
1086
1086
  #define GI_AVAILABLE_ENUMERATOR_IN_2_86
1087
1087
  #define GI_AVAILABLE_TYPE_IN_2_86
1088
1088
  #endif
1089
+
1090
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_88
1091
+ #define GI_DEPRECATED_IN_2_88 GI_DEPRECATED
1092
+ #define GI_DEPRECATED_IN_2_88_FOR(f) GI_DEPRECATED_FOR (f)
1093
+ #define GI_DEPRECATED_MACRO_IN_2_88 GLIB_DEPRECATED_MACRO
1094
+ #define GI_DEPRECATED_MACRO_IN_2_88_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1095
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_88 GLIB_DEPRECATED_ENUMERATOR
1096
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1097
+ #define GI_DEPRECATED_TYPE_IN_2_88 GLIB_DEPRECATED_TYPE
1098
+ #define GI_DEPRECATED_TYPE_IN_2_88_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1099
+ #else
1100
+ #define GI_DEPRECATED_IN_2_88 _GI_EXTERN
1101
+ #define GI_DEPRECATED_IN_2_88_FOR(f) _GI_EXTERN
1102
+ #define GI_DEPRECATED_MACRO_IN_2_88
1103
+ #define GI_DEPRECATED_MACRO_IN_2_88_FOR(f)
1104
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_88
1105
+ #define GI_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f)
1106
+ #define GI_DEPRECATED_TYPE_IN_2_88
1107
+ #define GI_DEPRECATED_TYPE_IN_2_88_FOR(f)
1108
+ #endif
1109
+
1110
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_88
1111
+ #define GI_AVAILABLE_IN_2_88 GI_UNAVAILABLE (2, 88)
1112
+ #define GI_AVAILABLE_STATIC_INLINE_IN_2_88 GLIB_UNAVAILABLE_STATIC_INLINE (2, 88)
1113
+ #define GI_AVAILABLE_MACRO_IN_2_88 GLIB_UNAVAILABLE_MACRO (2, 88)
1114
+ #define GI_AVAILABLE_ENUMERATOR_IN_2_88 GLIB_UNAVAILABLE_ENUMERATOR (2, 88)
1115
+ #define GI_AVAILABLE_TYPE_IN_2_88 GLIB_UNAVAILABLE_TYPE (2, 88)
1116
+ #else
1117
+ #define GI_AVAILABLE_IN_2_88 _GI_EXTERN
1118
+ #define GI_AVAILABLE_STATIC_INLINE_IN_2_88
1119
+ #define GI_AVAILABLE_MACRO_IN_2_88
1120
+ #define GI_AVAILABLE_ENUMERATOR_IN_2_88
1121
+ #define GI_AVAILABLE_TYPE_IN_2_88
1122
+ #endif
@@ -1086,3 +1086,37 @@
1086
1086
  #define GLIB_AVAILABLE_ENUMERATOR_IN_2_86
1087
1087
  #define GLIB_AVAILABLE_TYPE_IN_2_86
1088
1088
  #endif
1089
+
1090
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_88
1091
+ #define GLIB_DEPRECATED_IN_2_88 GLIB_DEPRECATED
1092
+ #define GLIB_DEPRECATED_IN_2_88_FOR(f) GLIB_DEPRECATED_FOR (f)
1093
+ #define GLIB_DEPRECATED_MACRO_IN_2_88 GLIB_DEPRECATED_MACRO
1094
+ #define GLIB_DEPRECATED_MACRO_IN_2_88_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1095
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_88 GLIB_DEPRECATED_ENUMERATOR
1096
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1097
+ #define GLIB_DEPRECATED_TYPE_IN_2_88 GLIB_DEPRECATED_TYPE
1098
+ #define GLIB_DEPRECATED_TYPE_IN_2_88_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1099
+ #else
1100
+ #define GLIB_DEPRECATED_IN_2_88 _GLIB_EXTERN
1101
+ #define GLIB_DEPRECATED_IN_2_88_FOR(f) _GLIB_EXTERN
1102
+ #define GLIB_DEPRECATED_MACRO_IN_2_88
1103
+ #define GLIB_DEPRECATED_MACRO_IN_2_88_FOR(f)
1104
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_88
1105
+ #define GLIB_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f)
1106
+ #define GLIB_DEPRECATED_TYPE_IN_2_88
1107
+ #define GLIB_DEPRECATED_TYPE_IN_2_88_FOR(f)
1108
+ #endif
1109
+
1110
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_88
1111
+ #define GLIB_AVAILABLE_IN_2_88 GLIB_UNAVAILABLE (2, 88)
1112
+ #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_88 GLIB_UNAVAILABLE_STATIC_INLINE (2, 88)
1113
+ #define GLIB_AVAILABLE_MACRO_IN_2_88 GLIB_UNAVAILABLE_MACRO (2, 88)
1114
+ #define GLIB_AVAILABLE_ENUMERATOR_IN_2_88 GLIB_UNAVAILABLE_ENUMERATOR (2, 88)
1115
+ #define GLIB_AVAILABLE_TYPE_IN_2_88 GLIB_UNAVAILABLE_TYPE (2, 88)
1116
+ #else
1117
+ #define GLIB_AVAILABLE_IN_2_88 _GLIB_EXTERN
1118
+ #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_88
1119
+ #define GLIB_AVAILABLE_MACRO_IN_2_88
1120
+ #define GLIB_AVAILABLE_ENUMERATOR_IN_2_88
1121
+ #define GLIB_AVAILABLE_TYPE_IN_2_88
1122
+ #endif
@@ -82,6 +82,9 @@
82
82
  ((version) == 99 && G_C_STD_VERSION >= 199901L) || \
83
83
  ((version) == 11 && G_C_STD_VERSION >= 201112L) || \
84
84
  ((version) == 17 && G_C_STD_VERSION >= 201710L) || \
85
+ /* the canonical number for C23 is 202311L, but gcc 14 used 202000L and it \
86
+ * implemented almost all of the C23 standard (see https://en.cppreference.com/w/c/compiler_support/23) */ \
87
+ ((version) == 23 && G_C_STD_VERSION >= 202000L) || \
85
88
  0)
86
89
 
87
90
  #else /* defined (__cplusplus) */
@@ -103,6 +106,7 @@
103
106
  ((version) == 14 && G_CXX_STD_VERSION >= 201402L) || \
104
107
  ((version) == 17 && G_CXX_STD_VERSION >= 201703L) || \
105
108
  ((version) == 20 && G_CXX_STD_VERSION >= 202002L) || \
109
+ ((version) == 23 && G_CXX_STD_VERSION >= 202302L) || \
106
110
  0)
107
111
 
108
112
  #endif /* !defined (__cplusplus) */
@@ -227,6 +227,8 @@ GLIB_AVAILABLE_IN_ALL
227
227
  void g_markup_parse_context_get_position (GMarkupParseContext *context,
228
228
  gint *line_number,
229
229
  gint *char_number);
230
+ GLIB_AVAILABLE_IN_2_88
231
+ gsize g_markup_parse_context_get_offset (GMarkupParseContext *context);
230
232
  GLIB_AVAILABLE_IN_ALL
231
233
  gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context);
232
234
 
@@ -448,15 +448,38 @@ typedef const gchar * (*GTranslateFunc) (const gchar *str,
448
448
  /* Overflow-checked unsigned integer arithmetic
449
449
  */
450
450
  #ifndef _GLIB_TEST_OVERFLOW_FALLBACK
451
+ #if defined(HAVE_STDCKDINT_H)
452
+ #define _GLIB_HAVE_STD_OVERFLOW_CHECKS
451
453
  /* https://bugzilla.gnome.org/show_bug.cgi?id=769104 */
452
- #if __GNUC__ >= 5 && !defined(__INTEL_COMPILER)
454
+ #elif __GNUC__ >= 5 && !defined(__INTEL_COMPILER)
453
455
  #define _GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS
454
456
  #elif g_macro__has_builtin(__builtin_add_overflow)
455
457
  #define _GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS
458
+ #elif defined(G_OS_WIN32) && defined(HAVE_INTSAFE_H)
459
+ #define _GLIB_HAVE_INTSAFE_OVERFLOW_CHECKS
456
460
  #endif
457
461
  #endif
458
462
 
459
- #ifdef _GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS
463
+ #ifdef _GLIB_HAVE_STD_OVERFLOW_CHECKS
464
+
465
+ #include <stdckdint.h>
466
+
467
+ #define g_uint_checked_add(dest, a, b) \
468
+ (!ckd_add (dest, a, b))
469
+ #define g_uint_checked_mul(dest, a, b) \
470
+ (!ckd_mul (dest, a, b))
471
+
472
+ #define g_uint64_checked_add(dest, a, b) \
473
+ (!ckd_add (dest, a, b))
474
+ #define g_uint64_checked_mul(dest, a, b) \
475
+ (!ckd_mul (dest, a, b))
476
+
477
+ #define g_size_checked_add(dest, a, b) \
478
+ (!ckd_add (dest, a, b))
479
+ #define g_size_checked_mul(dest, a, b) \
480
+ (!ckd_mul (dest, a, b))
481
+
482
+ #elif defined(_GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS)
460
483
 
461
484
  #define g_uint_checked_add(dest, a, b) \
462
485
  (!__builtin_add_overflow(a, b, dest))
@@ -473,7 +496,26 @@ typedef const gchar * (*GTranslateFunc) (const gchar *str,
473
496
  #define g_size_checked_mul(dest, a, b) \
474
497
  (!__builtin_mul_overflow(a, b, dest))
475
498
 
476
- #else /* !_GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS */
499
+ #elif defined(_GLIB_HAVE_INTSAFE_OVERFLOW_CHECKS)
500
+
501
+ #include <intsafe.h>
502
+
503
+ #define g_uint_checked_add(dest, a, b) \
504
+ (!UIntAdd (a, b, dest))
505
+ #define g_uint_checked_mul(dest, a, b) \
506
+ (!UIntMult (a, b, dest))
507
+
508
+ #define g_uint64_checked_add(dest, a, b) \
509
+ (!ULongLongAdd (a, b, dest))
510
+ #define g_uint64_checked_mul(dest, a, b) \
511
+ (!ULongLongMult (a, b, dest))
512
+
513
+ #define g_size_checked_add(dest, a, b) \
514
+ (!SizeTAdd (a, b, dest))
515
+ #define g_size_checked_mul(dest, a, b) \
516
+ (!SizeTMult (a, b, dest))
517
+
518
+ #else /* !_GLIB_HAVE_STD_OVERFLOW_CHECKS */
477
519
 
478
520
  /* The names of the following inlines are private. Use the macro
479
521
  * definitions above.
@@ -506,7 +548,7 @@ static inline gboolean _GLIB_CHECKED_MUL_SIZE (gsize *dest, gsize a, gsize b) {
506
548
  #define g_size_checked_mul(dest, a, b) \
507
549
  _GLIB_CHECKED_MUL_SIZE(dest, a, b)
508
550
 
509
- #endif /* !_GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS */
551
+ #endif /* !_GLIB_HAVE_STD_OVERFLOW_CHECKS */
510
552
 
511
553
  /* IEEE Standard 754 Single Precision Storage Format (gfloat):
512
554
  *
@@ -209,6 +209,7 @@ typedef enum
209
209
  * @G_UNICODE_BREAK_AKSARA_START: Aksara Start (AS). Since: 2.80
210
210
  * @G_UNICODE_BREAK_VIRAMA_FINAL: Virama Final (VF). Since: 2.80
211
211
  * @G_UNICODE_BREAK_VIRAMA: Virama (VI). Since: 2.80
212
+ * @G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN: Unambiguous Hyphen (HH). Since: 2.88
212
213
  *
213
214
  * These are the possible line break classifications.
214
215
  *
@@ -267,7 +268,8 @@ typedef enum
267
268
  G_UNICODE_BREAK_AKSARA_PRE_BASE,
268
269
  G_UNICODE_BREAK_AKSARA_START,
269
270
  G_UNICODE_BREAK_VIRAMA_FINAL,
270
- G_UNICODE_BREAK_VIRAMA
271
+ G_UNICODE_BREAK_VIRAMA,
272
+ G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN GLIB_AVAILABLE_ENUMERATOR_IN_2_88,
271
273
  } GUnicodeBreakType;
272
274
 
273
275
  /**
@@ -457,6 +459,10 @@ typedef enum
457
459
  * @G_UNICODE_SCRIPT_GURUNG_KHEMA: Gurung Khema. Since: 2.84
458
460
  * @G_UNICODE_SCRIPT_KIRAT_RAI: Kirat Rai. Since: 2.84
459
461
  * @G_UNICODE_SCRIPT_OL_ONAL: Ol Onal. Since: 2.84
462
+ * @G_UNICODE_SCRIPT_SIDETIC: Sidetic. Since: 2.88
463
+ * @G_UNICODE_SCRIPT_TOLONG_SIKI: Tolong Siki. Since: 2.88
464
+ * @G_UNICODE_SCRIPT_TAI_YO: Tai Yo. Since: 2.88
465
+ * @G_UNICODE_SCRIPT_BERIA_ERFE: Beria Erfe. Since: 2.88
460
466
  *
461
467
  * The #GUnicodeScript enumeration identifies different writing
462
468
  * systems. The values correspond to the names as defined in the
@@ -678,6 +684,12 @@ typedef enum
678
684
  G_UNICODE_SCRIPT_GURUNG_KHEMA GLIB_AVAILABLE_ENUMERATOR_IN_2_84, /* Gukh */
679
685
  G_UNICODE_SCRIPT_KIRAT_RAI GLIB_AVAILABLE_ENUMERATOR_IN_2_84, /* Krai */
680
686
  G_UNICODE_SCRIPT_OL_ONAL GLIB_AVAILABLE_ENUMERATOR_IN_2_84, /* Onao */
687
+
688
+ /* Unicode 17.0 additions */
689
+ G_UNICODE_SCRIPT_SIDETIC GLIB_AVAILABLE_ENUMERATOR_IN_2_88, /* Sidt */
690
+ G_UNICODE_SCRIPT_TOLONG_SIKI GLIB_AVAILABLE_ENUMERATOR_IN_2_88, /* Tols */
691
+ G_UNICODE_SCRIPT_TAI_YO GLIB_AVAILABLE_ENUMERATOR_IN_2_88, /* Tayo */
692
+ G_UNICODE_SCRIPT_BERIA_ERFE GLIB_AVAILABLE_ENUMERATOR_IN_2_88, /* Berf */
681
693
  } GUnicodeScript;
682
694
 
683
695
  GLIB_AVAILABLE_IN_ALL
@@ -422,6 +422,15 @@
422
422
  * Since: 2.86
423
423
  */
424
424
  #define GLIB_VERSION_2_86 (G_ENCODE_VERSION (2, 86))
425
+ /**
426
+ * GLIB_VERSION_2_88:
427
+ *
428
+ * A macro that evaluates to the 2.88 version of GLib, in a format
429
+ * that can be used by the C pre-processor.
430
+ *
431
+ * Since: 2.88
432
+ */
433
+ #define GLIB_VERSION_2_88 (G_ENCODE_VERSION (2, 88))
425
434
 
426
435
  /**
427
436
  * GLIB_VERSION_CUR_STABLE:
@@ -353,6 +353,10 @@ int g_closefrom (int lowfd);
353
353
  GLIB_AVAILABLE_IN_2_80
354
354
  int g_fdwalk_set_cloexec (int lowfd);
355
355
 
356
+ GLIB_AVAILABLE_IN_2_88
357
+ char * g_unix_fd_query_path (int fd,
358
+ GError **error);
359
+
356
360
  G_GNUC_END_IGNORE_DEPRECATIONS
357
361
 
358
362
  G_END_DECLS
@@ -1086,3 +1086,37 @@
1086
1086
  #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_86
1087
1087
  #define GMODULE_AVAILABLE_TYPE_IN_2_86
1088
1088
  #endif
1089
+
1090
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_88
1091
+ #define GMODULE_DEPRECATED_IN_2_88 GMODULE_DEPRECATED
1092
+ #define GMODULE_DEPRECATED_IN_2_88_FOR(f) GMODULE_DEPRECATED_FOR (f)
1093
+ #define GMODULE_DEPRECATED_MACRO_IN_2_88 GLIB_DEPRECATED_MACRO
1094
+ #define GMODULE_DEPRECATED_MACRO_IN_2_88_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1095
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_88 GLIB_DEPRECATED_ENUMERATOR
1096
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1097
+ #define GMODULE_DEPRECATED_TYPE_IN_2_88 GLIB_DEPRECATED_TYPE
1098
+ #define GMODULE_DEPRECATED_TYPE_IN_2_88_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1099
+ #else
1100
+ #define GMODULE_DEPRECATED_IN_2_88 _GMODULE_EXTERN
1101
+ #define GMODULE_DEPRECATED_IN_2_88_FOR(f) _GMODULE_EXTERN
1102
+ #define GMODULE_DEPRECATED_MACRO_IN_2_88
1103
+ #define GMODULE_DEPRECATED_MACRO_IN_2_88_FOR(f)
1104
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_88
1105
+ #define GMODULE_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f)
1106
+ #define GMODULE_DEPRECATED_TYPE_IN_2_88
1107
+ #define GMODULE_DEPRECATED_TYPE_IN_2_88_FOR(f)
1108
+ #endif
1109
+
1110
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_88
1111
+ #define GMODULE_AVAILABLE_IN_2_88 GMODULE_UNAVAILABLE (2, 88)
1112
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_88 GLIB_UNAVAILABLE_STATIC_INLINE (2, 88)
1113
+ #define GMODULE_AVAILABLE_MACRO_IN_2_88 GLIB_UNAVAILABLE_MACRO (2, 88)
1114
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_88 GLIB_UNAVAILABLE_ENUMERATOR (2, 88)
1115
+ #define GMODULE_AVAILABLE_TYPE_IN_2_88 GLIB_UNAVAILABLE_TYPE (2, 88)
1116
+ #else
1117
+ #define GMODULE_AVAILABLE_IN_2_88 _GMODULE_EXTERN
1118
+ #define GMODULE_AVAILABLE_STATIC_INLINE_IN_2_88
1119
+ #define GMODULE_AVAILABLE_MACRO_IN_2_88
1120
+ #define GMODULE_AVAILABLE_ENUMERATOR_IN_2_88
1121
+ #define GMODULE_AVAILABLE_TYPE_IN_2_88
1122
+ #endif
@@ -148,7 +148,7 @@ typedef struct _GFlagsValue GFlagsValue;
148
148
  * @minimum: the smallest possible value.
149
149
  * @maximum: the largest possible value.
150
150
  * @n_values: the number of possible values.
151
- * @values: an array of #GEnumValue structs describing the
151
+ * @values: (array length=n_values): an array of #GEnumValue structs describing the
152
152
  * individual values.
153
153
  *
154
154
  * The class of an enumeration type holds information about its
@@ -169,7 +169,7 @@ struct _GEnumClass
169
169
  * @g_type_class: the parent class
170
170
  * @mask: a mask covering all possible values.
171
171
  * @n_values: the number of possible values.
172
- * @values: an array of #GFlagsValue structs describing the
172
+ * @values: (array length=n_values): an array of #GFlagsValue structs describing the
173
173
  * individual values.
174
174
  *
175
175
  * The class of a flags type holds information about its
@@ -1086,3 +1086,37 @@
1086
1086
  #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_86
1087
1087
  #define GOBJECT_AVAILABLE_TYPE_IN_2_86
1088
1088
  #endif
1089
+
1090
+ #if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_88
1091
+ #define GOBJECT_DEPRECATED_IN_2_88 GOBJECT_DEPRECATED
1092
+ #define GOBJECT_DEPRECATED_IN_2_88_FOR(f) GOBJECT_DEPRECATED_FOR (f)
1093
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_88 GLIB_DEPRECATED_MACRO
1094
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_88_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f)
1095
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_88 GLIB_DEPRECATED_ENUMERATOR
1096
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f)
1097
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_88 GLIB_DEPRECATED_TYPE
1098
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_88_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f)
1099
+ #else
1100
+ #define GOBJECT_DEPRECATED_IN_2_88 _GOBJECT_EXTERN
1101
+ #define GOBJECT_DEPRECATED_IN_2_88_FOR(f) _GOBJECT_EXTERN
1102
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_88
1103
+ #define GOBJECT_DEPRECATED_MACRO_IN_2_88_FOR(f)
1104
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_88
1105
+ #define GOBJECT_DEPRECATED_ENUMERATOR_IN_2_88_FOR(f)
1106
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_88
1107
+ #define GOBJECT_DEPRECATED_TYPE_IN_2_88_FOR(f)
1108
+ #endif
1109
+
1110
+ #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_88
1111
+ #define GOBJECT_AVAILABLE_IN_2_88 GOBJECT_UNAVAILABLE (2, 88)
1112
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_88 GLIB_UNAVAILABLE_STATIC_INLINE (2, 88)
1113
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_88 GLIB_UNAVAILABLE_MACRO (2, 88)
1114
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_88 GLIB_UNAVAILABLE_ENUMERATOR (2, 88)
1115
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_88 GLIB_UNAVAILABLE_TYPE (2, 88)
1116
+ #else
1117
+ #define GOBJECT_AVAILABLE_IN_2_88 _GOBJECT_EXTERN
1118
+ #define GOBJECT_AVAILABLE_STATIC_INLINE_IN_2_88
1119
+ #define GOBJECT_AVAILABLE_MACRO_IN_2_88
1120
+ #define GOBJECT_AVAILABLE_ENUMERATOR_IN_2_88
1121
+ #define GOBJECT_AVAILABLE_TYPE_IN_2_88
1122
+ #endif
@@ -47,7 +47,7 @@ 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 1
50
+ #define HB_VERSION_MINOR 2
51
51
  /**
52
52
  * HB_VERSION_MICRO:
53
53
  *
@@ -60,7 +60,7 @@ HB_BEGIN_DECLS
60
60
  *
61
61
  * A string literal containing the library version available at compile-time.
62
62
  */
63
- #define HB_VERSION_STRING "12.1.0"
63
+ #define HB_VERSION_STRING "12.2.0"
64
64
 
65
65
  /**
66
66
  * HB_VERSION_ATLEAST:
@@ -1,6 +1,6 @@
1
1
  /* png.h - header file for PNG reference library
2
2
  *
3
- * libpng version 1.6.50
3
+ * libpng version 1.6.53
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
@@ -14,7 +14,7 @@
14
14
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
15
15
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
16
16
  * Glenn Randers-Pehrson
17
- * libpng versions 1.6.36, December 2018, through 1.6.50, July 2025:
17
+ * libpng versions 1.6.36, December 2018, through 1.6.53, December 2025:
18
18
  * Cosmin Truta
19
19
  * See also "Contributing Authors", below.
20
20
  */
@@ -238,7 +238,7 @@
238
238
  * ...
239
239
  * 1.5.30 15 10530 15.so.15.30[.0]
240
240
  * ...
241
- * 1.6.50 16 10650 16.so.16.50[.0]
241
+ * 1.6.53 16 10651 16.so.16.53[.0]
242
242
  *
243
243
  * Henceforth the source version will match the shared-library major and
244
244
  * minor numbers; the shared-library major version number will be used for
@@ -274,7 +274,7 @@
274
274
  */
275
275
 
276
276
  /* Version information for png.h - this should match the version in png.c */
277
- #define PNG_LIBPNG_VER_STRING "1.6.50"
277
+ #define PNG_LIBPNG_VER_STRING "1.6.53"
278
278
  #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
279
279
 
280
280
  /* The versions of shared library builds should stay in sync, going forward */
@@ -285,7 +285,7 @@
285
285
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
286
286
  #define PNG_LIBPNG_VER_MAJOR 1
287
287
  #define PNG_LIBPNG_VER_MINOR 6
288
- #define PNG_LIBPNG_VER_RELEASE 50
288
+ #define PNG_LIBPNG_VER_RELEASE 53
289
289
 
290
290
  /* This should be zero for a public release, or non-zero for a
291
291
  * development version.
@@ -316,7 +316,7 @@
316
316
  * From version 1.0.1 it is:
317
317
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
318
318
  */
319
- #define PNG_LIBPNG_VER 10650 /* 1.6.50 */
319
+ #define PNG_LIBPNG_VER 10653 /* 1.6.53 */
320
320
 
321
321
  /* Library configuration: these options cannot be changed after
322
322
  * the library has been built.
@@ -426,7 +426,7 @@ extern "C" {
426
426
  /* This triggers a compiler error in png.c, if png.c and png.h
427
427
  * do not agree upon the version number.
428
428
  */
429
- typedef char* png_libpng_version_1_6_50;
429
+ typedef char* png_libpng_version_1_6_53;
430
430
 
431
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
432
432
  *
@@ -1,6 +1,6 @@
1
1
  /* pngconf.h - machine-configurable file for libpng
2
2
  *
3
- * libpng version 1.6.50
3
+ * libpng version 1.6.53
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
@@ -1,6 +1,6 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.50 */
3
+ /* libpng version 1.6.53 */
4
4
 
5
5
  /* Copyright (c) 2018-2025 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
@@ -7,7 +7,7 @@
7
7
 
8
8
  #define LIBRSVG_MAJOR_VERSION (2)
9
9
  #define LIBRSVG_MINOR_VERSION (61)
10
- #define LIBRSVG_MICRO_VERSION (2)
11
- #define LIBRSVG_VERSION "2.61.2"
10
+ #define LIBRSVG_MICRO_VERSION (3)
11
+ #define LIBRSVG_VERSION "2.61.3"
12
12
 
13
13
  #endif
@@ -152,7 +152,12 @@ GType rsvg_error_get_type (void);
152
152
  * example, librsvg will not load `http` resources, to keep
153
153
  * malicious SVG data from "phoning home".
154
154
  *
155
- * 7. A relative URL must resolve to the same directory as the base URL, or to
155
+ * 7. URLs with a `file` scheme are rejected if they contain a hostname, as in
156
+ * `file://hostname/some/directory/foo.svg`. Windows UNC paths with a hostname are
157
+ * also rejected. This is to prevent documents from trying to access resources on
158
+ * other machines.
159
+ *
160
+ * 8. A relative URL must resolve to the same directory as the base URL, or to
156
161
  * one of its subdirectories. Librsvg will canonicalize filenames, by
157
162
  * removing ".." path components and resolving symbolic links, to decide whether
158
163
  * files meet these conditions.
package/include/png.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* png.h - header file for PNG reference library
2
2
  *
3
- * libpng version 1.6.50
3
+ * libpng version 1.6.53
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
@@ -14,7 +14,7 @@
14
14
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
15
15
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
16
16
  * Glenn Randers-Pehrson
17
- * libpng versions 1.6.36, December 2018, through 1.6.50, July 2025:
17
+ * libpng versions 1.6.36, December 2018, through 1.6.53, December 2025:
18
18
  * Cosmin Truta
19
19
  * See also "Contributing Authors", below.
20
20
  */
@@ -238,7 +238,7 @@
238
238
  * ...
239
239
  * 1.5.30 15 10530 15.so.15.30[.0]
240
240
  * ...
241
- * 1.6.50 16 10650 16.so.16.50[.0]
241
+ * 1.6.53 16 10651 16.so.16.53[.0]
242
242
  *
243
243
  * Henceforth the source version will match the shared-library major and
244
244
  * minor numbers; the shared-library major version number will be used for
@@ -274,7 +274,7 @@
274
274
  */
275
275
 
276
276
  /* Version information for png.h - this should match the version in png.c */
277
- #define PNG_LIBPNG_VER_STRING "1.6.50"
277
+ #define PNG_LIBPNG_VER_STRING "1.6.53"
278
278
  #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
279
279
 
280
280
  /* The versions of shared library builds should stay in sync, going forward */
@@ -285,7 +285,7 @@
285
285
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
286
286
  #define PNG_LIBPNG_VER_MAJOR 1
287
287
  #define PNG_LIBPNG_VER_MINOR 6
288
- #define PNG_LIBPNG_VER_RELEASE 50
288
+ #define PNG_LIBPNG_VER_RELEASE 53
289
289
 
290
290
  /* This should be zero for a public release, or non-zero for a
291
291
  * development version.
@@ -316,7 +316,7 @@
316
316
  * From version 1.0.1 it is:
317
317
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
318
318
  */
319
- #define PNG_LIBPNG_VER 10650 /* 1.6.50 */
319
+ #define PNG_LIBPNG_VER 10653 /* 1.6.53 */
320
320
 
321
321
  /* Library configuration: these options cannot be changed after
322
322
  * the library has been built.
@@ -426,7 +426,7 @@ extern "C" {
426
426
  /* This triggers a compiler error in png.c, if png.c and png.h
427
427
  * do not agree upon the version number.
428
428
  */
429
- typedef char* png_libpng_version_1_6_50;
429
+ typedef char* png_libpng_version_1_6_53;
430
430
 
431
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
432
432
  *
package/include/pngconf.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* pngconf.h - machine-configurable file for libpng
2
2
  *
3
- * libpng version 1.6.50
3
+ * libpng version 1.6.53
4
4
  *
5
5
  * Copyright (c) 2018-2025 Cosmin Truta
6
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
@@ -1,6 +1,6 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.50 */
3
+ /* libpng version 1.6.53 */
4
4
 
5
5
  /* Copyright (c) 2018-2025 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */