@img/sharp-libvips-dev 1.0.1 → 1.0.2

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 (85) hide show
  1. package/include/expat.h +21 -10
  2. package/include/expat_config.h +11 -5
  3. package/include/ffi.h +12 -25
  4. package/include/freetype2/freetype/config/ftoption.h +1 -1
  5. package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +3 -2
  6. package/include/glib-2.0/gio/gapplication.h +6 -0
  7. package/include/glib-2.0/gio/giotypes.h +0 -1
  8. package/include/glib-2.0/girepository/giarginfo.h +23 -6
  9. package/include/glib-2.0/girepository/gibaseinfo.h +44 -18
  10. package/include/glib-2.0/girepository/gicallableinfo.h +26 -16
  11. package/include/glib-2.0/girepository/gicallbackinfo.h +17 -2
  12. package/include/glib-2.0/girepository/giconstantinfo.h +19 -4
  13. package/include/glib-2.0/girepository/gienuminfo.h +20 -21
  14. package/include/glib-2.0/girepository/gifieldinfo.h +22 -7
  15. package/include/glib-2.0/girepository/giflagsinfo.h +60 -0
  16. package/include/glib-2.0/girepository/gifunctioninfo.h +22 -7
  17. package/include/glib-2.0/girepository/giinterfaceinfo.h +33 -18
  18. package/include/glib-2.0/girepository/giobjectinfo.h +41 -26
  19. package/include/glib-2.0/girepository/gipropertyinfo.h +18 -3
  20. package/include/glib-2.0/girepository/giregisteredtypeinfo.h +22 -11
  21. package/include/glib-2.0/girepository/girepository-autocleanups.h +56 -0
  22. package/include/glib-2.0/girepository/girepository.h +53 -62
  23. package/include/glib-2.0/girepository/girffi.h +8 -7
  24. package/include/glib-2.0/girepository/gisignalinfo.h +18 -3
  25. package/include/glib-2.0/girepository/gistructinfo.h +26 -11
  26. package/include/glib-2.0/girepository/gitypeinfo.h +29 -16
  27. package/include/glib-2.0/girepository/gitypelib.h +9 -13
  28. package/include/glib-2.0/girepository/gitypes.h +52 -104
  29. package/include/glib-2.0/girepository/giunioninfo.h +28 -12
  30. package/include/glib-2.0/girepository/giunresolvedinfo.h +17 -2
  31. package/include/glib-2.0/girepository/givalueinfo.h +65 -0
  32. package/include/glib-2.0/girepository/givfuncinfo.h +23 -8
  33. package/include/glib-2.0/glib/deprecated/gthread.h +9 -5
  34. package/include/glib-2.0/glib/gbitlock.h +31 -0
  35. package/include/glib-2.0/glib/gmessages.h +8 -0
  36. package/include/glib-2.0/glib/gslice.h +2 -0
  37. package/include/glib-2.0/glib/gstrfuncs.h +24 -18
  38. package/include/glib-2.0/glib/gthread.h +191 -3
  39. package/include/glib-2.0/glib-unix.h +7 -1
  40. package/include/glib-2.0/gobject/genums.h +6 -6
  41. package/include/glib-2.0/gobject/glib-types.h +11 -0
  42. package/include/glib-2.0/gobject/gsignal.h +16 -6
  43. package/include/hwy/aligned_allocator.h +171 -6
  44. package/include/hwy/base.h +1765 -543
  45. package/include/hwy/cache_control.h +24 -6
  46. package/include/hwy/detect_compiler_arch.h +23 -2
  47. package/include/hwy/detect_targets.h +56 -13
  48. package/include/hwy/foreach_target.h +24 -0
  49. package/include/hwy/highway.h +20 -3
  50. package/include/hwy/ops/arm_neon-inl.h +1086 -667
  51. package/include/hwy/ops/arm_sve-inl.h +1091 -235
  52. package/include/hwy/ops/emu128-inl.h +271 -196
  53. package/include/hwy/ops/generic_ops-inl.h +2270 -399
  54. package/include/hwy/ops/ppc_vsx-inl.h +1786 -563
  55. package/include/hwy/ops/rvv-inl.h +1043 -311
  56. package/include/hwy/ops/scalar-inl.h +189 -159
  57. package/include/hwy/ops/set_macros-inl.h +66 -6
  58. package/include/hwy/ops/shared-inl.h +175 -56
  59. package/include/hwy/ops/wasm_128-inl.h +153 -136
  60. package/include/hwy/ops/x86_128-inl.h +1647 -646
  61. package/include/hwy/ops/x86_256-inl.h +1003 -370
  62. package/include/hwy/ops/x86_512-inl.h +948 -353
  63. package/include/hwy/per_target.h +4 -0
  64. package/include/hwy/profiler.h +648 -0
  65. package/include/hwy/robust_statistics.h +2 -2
  66. package/include/hwy/targets.h +18 -11
  67. package/include/hwy/timer.h +11 -0
  68. package/include/libpng16/png.h +32 -29
  69. package/include/libpng16/pngconf.h +2 -2
  70. package/include/libpng16/pnglibconf.h +7 -2
  71. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  72. package/include/libxml2/libxml/parser.h +16 -7
  73. package/include/libxml2/libxml/xmlIO.h +0 -1
  74. package/include/libxml2/libxml/xmlversion.h +4 -4
  75. package/include/pango-1.0/pango/pango-features.h +3 -3
  76. package/include/pango-1.0/pango/pango-fontmap.h +7 -0
  77. package/include/pixman-1/pixman-version.h +2 -2
  78. package/include/png.h +32 -29
  79. package/include/pngconf.h +2 -2
  80. package/include/pnglibconf.h +7 -2
  81. package/include/vips/connection.h +9 -3
  82. package/include/vips/util.h +0 -9
  83. package/include/vips/version.h +4 -4
  84. package/package.json +1 -1
  85. package/versions.json +11 -11
@@ -127,6 +127,13 @@ static inline HWY_MAYBE_UNUSED const char* TargetName(int64_t target) {
127
127
  return "PPC10";
128
128
  #endif
129
129
 
130
+ #if HWY_ARCH_S390X
131
+ case HWY_Z14:
132
+ return "Z14";
133
+ case HWY_Z15:
134
+ return "Z15";
135
+ #endif
136
+
130
137
  #if HWY_ARCH_WASM
131
138
  case HWY_WASM:
132
139
  return "WASM";
@@ -245,20 +252,20 @@ static inline HWY_MAYBE_UNUSED const char* TargetName(int64_t target) {
245
252
  HWY_CHOOSE_RVV(func_name), /* RVV */ \
246
253
  nullptr /* reserved */
247
254
 
248
- #elif HWY_ARCH_PPC
255
+ #elif HWY_ARCH_PPC || HWY_ARCH_S390X
249
256
  // See HWY_ARCH_X86 above for details.
250
257
  #define HWY_MAX_DYNAMIC_TARGETS 9
251
258
  #define HWY_HIGHEST_TARGET_BIT HWY_HIGHEST_TARGET_BIT_PPC
252
- #define HWY_CHOOSE_TARGET_LIST(func_name) \
253
- nullptr, /* reserved */ \
254
- nullptr, /* reserved */ \
255
- nullptr, /* reserved */ \
256
- nullptr, /* reserved */ \
257
- HWY_CHOOSE_PPC10(func_name), /* PPC10 */ \
258
- HWY_CHOOSE_PPC9(func_name), /* PPC9 */ \
259
- HWY_CHOOSE_PPC8(func_name), /* PPC8 */ \
260
- nullptr, /* reserved (VSX or AltiVec) */ \
261
- nullptr /* reserved (VSX or AltiVec) */
259
+ #define HWY_CHOOSE_TARGET_LIST(func_name) \
260
+ nullptr, /* reserved */ \
261
+ nullptr, /* reserved */ \
262
+ nullptr, /* reserved */ \
263
+ nullptr, /* reserved */ \
264
+ HWY_CHOOSE_PPC10(func_name), /* PPC10 */ \
265
+ HWY_CHOOSE_PPC9(func_name), /* PPC9 */ \
266
+ HWY_CHOOSE_PPC8(func_name), /* PPC8 */ \
267
+ HWY_CHOOSE_Z15(func_name), /* Z15 */ \
268
+ HWY_CHOOSE_Z14(func_name) /* Z14 */
262
269
 
263
270
  #elif HWY_ARCH_WASM
264
271
  // See HWY_ARCH_X86 above for details.
@@ -50,6 +50,17 @@ HWY_DLLEXPORT double InvariantTicksPerSecond();
50
50
  HWY_DLLEXPORT uint64_t TimerResolution();
51
51
 
52
52
  } // namespace platform
53
+
54
+ struct Timestamp {
55
+ Timestamp() { t = platform::Now(); }
56
+ double t;
57
+ };
58
+
59
+ static inline double SecondsSince(const Timestamp& t0) {
60
+ const Timestamp t1;
61
+ return t1.t - t0.t;
62
+ }
63
+
53
64
  } // namespace hwy
54
65
 
55
66
  #endif // HIGHWAY_HWY_TIMER_H_
@@ -1,9 +1,9 @@
1
1
 
2
2
  /* png.h - header file for PNG reference library
3
3
  *
4
- * libpng version 1.6.40
4
+ * libpng version 1.6.43
5
5
  *
6
- * Copyright (c) 2018-2023 Cosmin Truta
6
+ * Copyright (c) 2018-2024 Cosmin Truta
7
7
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
8
8
  * Copyright (c) 1996-1997 Andreas Dilger
9
9
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -15,7 +15,7 @@
15
15
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
16
16
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
17
17
  * Glenn Randers-Pehrson
18
- * libpng versions 1.6.36, December 2018, through 1.6.40, June 2023:
18
+ * libpng versions 1.6.36, December 2018, through 1.6.43, February 2024:
19
19
  * Cosmin Truta
20
20
  * See also "Contributing Authors", below.
21
21
  */
@@ -27,8 +27,8 @@
27
27
  * PNG Reference Library License version 2
28
28
  * ---------------------------------------
29
29
  *
30
- * * Copyright (c) 1995-2023 The PNG Reference Library Authors.
31
- * * Copyright (c) 2018-2023 Cosmin Truta.
30
+ * * Copyright (c) 1995-2024 The PNG Reference Library Authors.
31
+ * * Copyright (c) 2018-2024 Cosmin Truta.
32
32
  * * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
33
33
  * * Copyright (c) 1996-1997 Andreas Dilger.
34
34
  * * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -239,7 +239,7 @@
239
239
  * ...
240
240
  * 1.5.30 15 10530 15.so.15.30[.0]
241
241
  * ...
242
- * 1.6.40 16 10640 16.so.16.40[.0]
242
+ * 1.6.43 16 10643 16.so.16.43[.0]
243
243
  *
244
244
  * Henceforth the source version will match the shared-library major and
245
245
  * minor numbers; the shared-library major version number will be used for
@@ -255,9 +255,6 @@
255
255
  * to the info_ptr or png_ptr members through png.h, and the compiled
256
256
  * application is loaded with a different version of the library.
257
257
  *
258
- * DLLNUM will change each time there are forward or backward changes
259
- * in binary compatibility (e.g., when a new feature is added).
260
- *
261
258
  * See libpng.txt or libpng.3 for more information. The PNG specification
262
259
  * is available as a W3C Recommendation and as an ISO/IEC Standard; see
263
260
  * <https://www.w3.org/TR/2003/REC-PNG-20031110/>
@@ -278,19 +275,21 @@
278
275
  */
279
276
 
280
277
  /* Version information for png.h - this should match the version in png.c */
281
- #define PNG_LIBPNG_VER_STRING "1.6.40"
282
- #define PNG_HEADER_VERSION_STRING " libpng version 1.6.40 - June 21, 2023\n"
278
+ #define PNG_LIBPNG_VER_STRING "1.6.43"
279
+ #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
283
280
 
284
- #define PNG_LIBPNG_VER_SONUM 16
285
- #define PNG_LIBPNG_VER_DLLNUM 16
281
+ /* The versions of shared library builds should stay in sync, going forward */
282
+ #define PNG_LIBPNG_VER_SHAREDLIB 16
283
+ #define PNG_LIBPNG_VER_SONUM PNG_LIBPNG_VER_SHAREDLIB /* [Deprecated] */
284
+ #define PNG_LIBPNG_VER_DLLNUM PNG_LIBPNG_VER_SHAREDLIB /* [Deprecated] */
286
285
 
287
286
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
288
287
  #define PNG_LIBPNG_VER_MAJOR 1
289
288
  #define PNG_LIBPNG_VER_MINOR 6
290
- #define PNG_LIBPNG_VER_RELEASE 40
289
+ #define PNG_LIBPNG_VER_RELEASE 43
291
290
 
292
291
  /* This should be zero for a public release, or non-zero for a
293
- * development version. [Deprecated]
292
+ * development version.
294
293
  */
295
294
  #define PNG_LIBPNG_VER_BUILD 0
296
295
 
@@ -318,7 +317,7 @@
318
317
  * From version 1.0.1 it is:
319
318
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
320
319
  */
321
- #define PNG_LIBPNG_VER 10640 /* 1.6.40 */
320
+ #define PNG_LIBPNG_VER 10643 /* 1.6.43 */
322
321
 
323
322
  /* Library configuration: these options cannot be changed after
324
323
  * the library has been built.
@@ -428,7 +427,7 @@ extern "C" {
428
427
  /* This triggers a compiler error in png.c, if png.c and png.h
429
428
  * do not agree upon the version number.
430
429
  */
431
- typedef char* png_libpng_version_1_6_40;
430
+ typedef char* png_libpng_version_1_6_43;
432
431
 
433
432
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
434
433
  *
@@ -849,7 +848,7 @@ PNG_FUNCTION(void, (PNGCAPI *png_longjmp_ptr), PNGARG((jmp_buf, int)), typedef);
849
848
  #define PNG_TRANSFORM_GRAY_TO_RGB 0x2000 /* read only */
850
849
  /* Added to libpng-1.5.4 */
851
850
  #define PNG_TRANSFORM_EXPAND_16 0x4000 /* read only */
852
- #if INT_MAX >= 0x8000 /* else this might break */
851
+ #if ~0U > 0xffffU /* or else this might break on a 16-bit machine */
853
852
  #define PNG_TRANSFORM_SCALE_16 0x8000 /* read only */
854
853
  #endif
855
854
 
@@ -908,15 +907,15 @@ PNG_EXPORT(2, void, png_set_sig_bytes, (png_structrp png_ptr, int num_bytes));
908
907
  /* Check sig[start] through sig[start + num_to_check - 1] to see if it's a
909
908
  * PNG file. Returns zero if the supplied bytes match the 8-byte PNG
910
909
  * signature, and non-zero otherwise. Having num_to_check == 0 or
911
- * start > 7 will always fail (ie return non-zero).
910
+ * start > 7 will always fail (i.e. return non-zero).
912
911
  */
913
912
  PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start,
914
913
  size_t num_to_check));
915
914
 
916
915
  /* Simple signature checking function. This is the same as calling
917
- * png_check_sig(sig, n) := !png_sig_cmp(sig, 0, n).
916
+ * png_check_sig(sig, n) := (png_sig_cmp(sig, 0, n) == 0).
918
917
  */
919
- #define png_check_sig(sig, n) !png_sig_cmp((sig), 0, (n))
918
+ #define png_check_sig(sig, n) (png_sig_cmp((sig), 0, (n)) == 0) /* DEPRECATED */
920
919
 
921
920
  /* Allocate and initialize png_ptr struct for reading, and any other memory. */
922
921
  PNG_EXPORTA(4, png_structp, png_create_read_struct,
@@ -1730,12 +1729,9 @@ PNG_EXPORT(97, void, png_free, (png_const_structrp png_ptr, png_voidp ptr));
1730
1729
  PNG_EXPORT(98, void, png_free_data, (png_const_structrp png_ptr,
1731
1730
  png_inforp info_ptr, png_uint_32 free_me, int num));
1732
1731
 
1733
- /* Reassign responsibility for freeing existing data, whether allocated
1732
+ /* Reassign the responsibility for freeing existing data, whether allocated
1734
1733
  * by libpng or by the application; this works on the png_info structure passed
1735
- * in, it does not change the state for other png_info structures.
1736
- *
1737
- * It is unlikely that this function works correctly as of 1.6.0 and using it
1738
- * may result either in memory leaks or double free of allocated data.
1734
+ * in, without changing the state for other png_info structures.
1739
1735
  */
1740
1736
  PNG_EXPORT(99, void, png_data_freer, (png_const_structrp png_ptr,
1741
1737
  png_inforp info_ptr, int freer, png_uint_32 mask));
@@ -3207,11 +3203,18 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
3207
3203
  #ifdef PNG_MIPS_MSA_API_SUPPORTED
3208
3204
  # define PNG_MIPS_MSA 6 /* HARDWARE: MIPS Msa SIMD instructions supported */
3209
3205
  #endif
3210
- #define PNG_IGNORE_ADLER32 8
3206
+ #ifdef PNG_DISABLE_ADLER32_CHECK_SUPPORTED
3207
+ # define PNG_IGNORE_ADLER32 8 /* SOFTWARE: disable Adler32 check on IDAT */
3208
+ #endif
3211
3209
  #ifdef PNG_POWERPC_VSX_API_SUPPORTED
3212
- # define PNG_POWERPC_VSX 10 /* HARDWARE: PowerPC VSX SIMD instructions supported */
3210
+ # define PNG_POWERPC_VSX 10 /* HARDWARE: PowerPC VSX SIMD instructions
3211
+ * supported */
3213
3212
  #endif
3214
- #define PNG_OPTION_NEXT 12 /* Next option - numbers must be even */
3213
+ #ifdef PNG_MIPS_MMI_API_SUPPORTED
3214
+ # define PNG_MIPS_MMI 12 /* HARDWARE: MIPS MMI SIMD instructions supported */
3215
+ #endif
3216
+
3217
+ #define PNG_OPTION_NEXT 14 /* Next option - numbers must be even */
3215
3218
 
3216
3219
  /* Return values: NOTE: there are four values and 'off' is *not* zero */
3217
3220
  #define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
@@ -1,9 +1,9 @@
1
1
 
2
2
  /* pngconf.h - machine-configurable file for libpng
3
3
  *
4
- * libpng version 1.6.40
4
+ * libpng version 1.6.43
5
5
  *
6
- * Copyright (c) 2018-2022 Cosmin Truta
6
+ * Copyright (c) 2018-2024 Cosmin Truta
7
7
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
8
8
  * Copyright (c) 1996-1997 Andreas Dilger
9
9
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -1,8 +1,8 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.40 */
3
+ /* libpng version 1.6.43 */
4
4
 
5
- /* Copyright (c) 2018-2023 Cosmin Truta */
5
+ /* Copyright (c) 2018-2024 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
7
7
 
8
8
  /* This code is released under the libpng license. */
@@ -27,6 +27,7 @@
27
27
  #define PNG_COLORSPACE_SUPPORTED
28
28
  #define PNG_CONSOLE_IO_SUPPORTED
29
29
  #define PNG_CONVERT_tIME_SUPPORTED
30
+ /*#undef PNG_DISABLE_ADLER32_CHECK_SUPPORTED*/
30
31
  #define PNG_EASY_ACCESS_SUPPORTED
31
32
  /*#undef PNG_ERROR_NUMBERS_SUPPORTED*/
32
33
  #define PNG_ERROR_TEXT_SUPPORTED
@@ -41,6 +42,10 @@
41
42
  #define PNG_INCH_CONVERSIONS_SUPPORTED
42
43
  #define PNG_INFO_IMAGE_SUPPORTED
43
44
  #define PNG_IO_STATE_SUPPORTED
45
+ /*#undef PNG_MIPS_MMI_API_SUPPORTED*/
46
+ /*#undef PNG_MIPS_MMI_CHECK_SUPPORTED*/
47
+ /*#undef PNG_MIPS_MSA_API_SUPPORTED*/
48
+ /*#undef PNG_MIPS_MSA_CHECK_SUPPORTED*/
44
49
  #define PNG_MNG_FEATURES_SUPPORTED
45
50
  #define PNG_POINTER_INDEXING_SUPPORTED
46
51
  /*#undef PNG_POWERPC_VSX_API_SUPPORTED*/
@@ -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 (1)
11
- #define LIBRSVG_VERSION "2.57.1"
10
+ #define LIBRSVG_MICRO_VERSION (2)
11
+ #define LIBRSVG_VERSION "2.57.2"
12
12
 
13
13
  #endif
@@ -859,10 +859,16 @@ XMLPUBFUN const char *const *__xmlParserVersion(void);
859
859
  XML_OP(xmlLoadExtDtdDefaultValue, int, XML_DEPRECATED) \
860
860
  XML_OP(xmlParserDebugEntities, int, XML_DEPRECATED) \
861
861
  XML_OP(xmlPedanticParserDefaultValue, int, XML_DEPRECATED) \
862
- XML_OP(xmlSubstituteEntitiesDefaultValue, int, XML_DEPRECATED) \
863
- XML_OP(xmlIndentTreeOutput, int, XML_NO_ATTR) \
864
- XML_OP(xmlTreeIndentString, const char *, XML_NO_ATTR) \
865
- XML_OP(xmlSaveNoEmptyTags, int, XML_NO_ATTR)
862
+ XML_OP(xmlSubstituteEntitiesDefaultValue, int, XML_DEPRECATED)
863
+
864
+ #ifdef LIBXML_OUTPUT_ENABLED
865
+ #define XML_GLOBALS_PARSER_OUTPUT \
866
+ XML_OP(xmlIndentTreeOutput, int, XML_NO_ATTR) \
867
+ XML_OP(xmlTreeIndentString, const char *, XML_NO_ATTR) \
868
+ XML_OP(xmlSaveNoEmptyTags, int, XML_NO_ATTR)
869
+ #else
870
+ #define XML_GLOBALS_PARSER_OUTPUT
871
+ #endif
866
872
 
867
873
  #ifdef LIBXML_SAX1_ENABLED
868
874
  #define XML_GLOBALS_PARSER_SAX1 \
@@ -873,6 +879,7 @@ XMLPUBFUN const char *const *__xmlParserVersion(void);
873
879
 
874
880
  #define XML_GLOBALS_PARSER \
875
881
  XML_GLOBALS_PARSER_CORE \
882
+ XML_GLOBALS_PARSER_OUTPUT \
876
883
  XML_GLOBALS_PARSER_SAX1
877
884
 
878
885
  #define XML_OP XML_DECLARE_GLOBAL
@@ -896,9 +903,11 @@ XML_GLOBALS_PARSER
896
903
  XML_GLOBAL_MACRO(xmlPedanticParserDefaultValue)
897
904
  #define xmlSubstituteEntitiesDefaultValue \
898
905
  XML_GLOBAL_MACRO(xmlSubstituteEntitiesDefaultValue)
899
- #define xmlIndentTreeOutput XML_GLOBAL_MACRO(xmlIndentTreeOutput)
900
- #define xmlTreeIndentString XML_GLOBAL_MACRO(xmlTreeIndentString)
901
- #define xmlSaveNoEmptyTags XML_GLOBAL_MACRO(xmlSaveNoEmptyTags)
906
+ #ifdef LIBXML_OUTPUT_ENABLED
907
+ #define xmlIndentTreeOutput XML_GLOBAL_MACRO(xmlIndentTreeOutput)
908
+ #define xmlTreeIndentString XML_GLOBAL_MACRO(xmlTreeIndentString)
909
+ #define xmlSaveNoEmptyTags XML_GLOBAL_MACRO(xmlSaveNoEmptyTags)
910
+ #endif
902
911
  #endif
903
912
  /** DOC_ENABLE */
904
913
 
@@ -218,7 +218,6 @@ XMLPUBFUN xmlParserInputBufferPtr
218
218
  XMLPUBFUN xmlParserInputBufferPtr
219
219
  xmlParserInputBufferCreateMem (const char *mem, int size,
220
220
  xmlCharEncoding enc);
221
- XML_DEPRECATED
222
221
  XMLPUBFUN xmlParserInputBufferPtr
223
222
  xmlParserInputBufferCreateStatic (const char *mem, int size,
224
223
  xmlCharEncoding enc);
@@ -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.3"
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 21203
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 "21203"
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(21203);
61
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21206);
62
62
 
63
63
  #ifndef VMS
64
64
  #if 0
@@ -2,9 +2,9 @@
2
2
  #define PANGO_FEATURES_H
3
3
 
4
4
  #define PANGO_VERSION_MAJOR 1
5
- #define PANGO_VERSION_MINOR 51
6
- #define PANGO_VERSION_MICRO 0
5
+ #define PANGO_VERSION_MINOR 52
6
+ #define PANGO_VERSION_MICRO 1
7
7
 
8
- #define PANGO_VERSION_STRING "1.51.0"
8
+ #define PANGO_VERSION_STRING "1.52.1"
9
9
 
10
10
  #endif /* PANGO_FEATURES_H */
@@ -124,6 +124,13 @@ PANGO_AVAILABLE_IN_1_46
124
124
  PangoFontFamily *pango_font_map_get_family (PangoFontMap *fontmap,
125
125
  const char *name);
126
126
 
127
+ PANGO_AVAILABLE_IN_1_52
128
+ PangoFont * pango_font_map_reload_font (PangoFontMap *fontmap,
129
+ PangoFont *font,
130
+ double scale,
131
+ PangoContext *context,
132
+ const char *variations);
133
+
127
134
 
128
135
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontMap, g_object_unref)
129
136
 
@@ -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 0
36
+ #define PIXMAN_VERSION_MICRO 4
37
37
 
38
- #define PIXMAN_VERSION_STRING "0.43.0"
38
+ #define PIXMAN_VERSION_STRING "0.43.4"
39
39
 
40
40
  #define PIXMAN_VERSION_ENCODE(major, minor, micro) ( \
41
41
  ((major) * 10000) \
package/include/png.h CHANGED
@@ -1,9 +1,9 @@
1
1
 
2
2
  /* png.h - header file for PNG reference library
3
3
  *
4
- * libpng version 1.6.40
4
+ * libpng version 1.6.43
5
5
  *
6
- * Copyright (c) 2018-2023 Cosmin Truta
6
+ * Copyright (c) 2018-2024 Cosmin Truta
7
7
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
8
8
  * Copyright (c) 1996-1997 Andreas Dilger
9
9
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -15,7 +15,7 @@
15
15
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
16
16
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
17
17
  * Glenn Randers-Pehrson
18
- * libpng versions 1.6.36, December 2018, through 1.6.40, June 2023:
18
+ * libpng versions 1.6.36, December 2018, through 1.6.43, February 2024:
19
19
  * Cosmin Truta
20
20
  * See also "Contributing Authors", below.
21
21
  */
@@ -27,8 +27,8 @@
27
27
  * PNG Reference Library License version 2
28
28
  * ---------------------------------------
29
29
  *
30
- * * Copyright (c) 1995-2023 The PNG Reference Library Authors.
31
- * * Copyright (c) 2018-2023 Cosmin Truta.
30
+ * * Copyright (c) 1995-2024 The PNG Reference Library Authors.
31
+ * * Copyright (c) 2018-2024 Cosmin Truta.
32
32
  * * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
33
33
  * * Copyright (c) 1996-1997 Andreas Dilger.
34
34
  * * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -239,7 +239,7 @@
239
239
  * ...
240
240
  * 1.5.30 15 10530 15.so.15.30[.0]
241
241
  * ...
242
- * 1.6.40 16 10640 16.so.16.40[.0]
242
+ * 1.6.43 16 10643 16.so.16.43[.0]
243
243
  *
244
244
  * Henceforth the source version will match the shared-library major and
245
245
  * minor numbers; the shared-library major version number will be used for
@@ -255,9 +255,6 @@
255
255
  * to the info_ptr or png_ptr members through png.h, and the compiled
256
256
  * application is loaded with a different version of the library.
257
257
  *
258
- * DLLNUM will change each time there are forward or backward changes
259
- * in binary compatibility (e.g., when a new feature is added).
260
- *
261
258
  * See libpng.txt or libpng.3 for more information. The PNG specification
262
259
  * is available as a W3C Recommendation and as an ISO/IEC Standard; see
263
260
  * <https://www.w3.org/TR/2003/REC-PNG-20031110/>
@@ -278,19 +275,21 @@
278
275
  */
279
276
 
280
277
  /* Version information for png.h - this should match the version in png.c */
281
- #define PNG_LIBPNG_VER_STRING "1.6.40"
282
- #define PNG_HEADER_VERSION_STRING " libpng version 1.6.40 - June 21, 2023\n"
278
+ #define PNG_LIBPNG_VER_STRING "1.6.43"
279
+ #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
283
280
 
284
- #define PNG_LIBPNG_VER_SONUM 16
285
- #define PNG_LIBPNG_VER_DLLNUM 16
281
+ /* The versions of shared library builds should stay in sync, going forward */
282
+ #define PNG_LIBPNG_VER_SHAREDLIB 16
283
+ #define PNG_LIBPNG_VER_SONUM PNG_LIBPNG_VER_SHAREDLIB /* [Deprecated] */
284
+ #define PNG_LIBPNG_VER_DLLNUM PNG_LIBPNG_VER_SHAREDLIB /* [Deprecated] */
286
285
 
287
286
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
288
287
  #define PNG_LIBPNG_VER_MAJOR 1
289
288
  #define PNG_LIBPNG_VER_MINOR 6
290
- #define PNG_LIBPNG_VER_RELEASE 40
289
+ #define PNG_LIBPNG_VER_RELEASE 43
291
290
 
292
291
  /* This should be zero for a public release, or non-zero for a
293
- * development version. [Deprecated]
292
+ * development version.
294
293
  */
295
294
  #define PNG_LIBPNG_VER_BUILD 0
296
295
 
@@ -318,7 +317,7 @@
318
317
  * From version 1.0.1 it is:
319
318
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
320
319
  */
321
- #define PNG_LIBPNG_VER 10640 /* 1.6.40 */
320
+ #define PNG_LIBPNG_VER 10643 /* 1.6.43 */
322
321
 
323
322
  /* Library configuration: these options cannot be changed after
324
323
  * the library has been built.
@@ -428,7 +427,7 @@ extern "C" {
428
427
  /* This triggers a compiler error in png.c, if png.c and png.h
429
428
  * do not agree upon the version number.
430
429
  */
431
- typedef char* png_libpng_version_1_6_40;
430
+ typedef char* png_libpng_version_1_6_43;
432
431
 
433
432
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
434
433
  *
@@ -849,7 +848,7 @@ PNG_FUNCTION(void, (PNGCAPI *png_longjmp_ptr), PNGARG((jmp_buf, int)), typedef);
849
848
  #define PNG_TRANSFORM_GRAY_TO_RGB 0x2000 /* read only */
850
849
  /* Added to libpng-1.5.4 */
851
850
  #define PNG_TRANSFORM_EXPAND_16 0x4000 /* read only */
852
- #if INT_MAX >= 0x8000 /* else this might break */
851
+ #if ~0U > 0xffffU /* or else this might break on a 16-bit machine */
853
852
  #define PNG_TRANSFORM_SCALE_16 0x8000 /* read only */
854
853
  #endif
855
854
 
@@ -908,15 +907,15 @@ PNG_EXPORT(2, void, png_set_sig_bytes, (png_structrp png_ptr, int num_bytes));
908
907
  /* Check sig[start] through sig[start + num_to_check - 1] to see if it's a
909
908
  * PNG file. Returns zero if the supplied bytes match the 8-byte PNG
910
909
  * signature, and non-zero otherwise. Having num_to_check == 0 or
911
- * start > 7 will always fail (ie return non-zero).
910
+ * start > 7 will always fail (i.e. return non-zero).
912
911
  */
913
912
  PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start,
914
913
  size_t num_to_check));
915
914
 
916
915
  /* Simple signature checking function. This is the same as calling
917
- * png_check_sig(sig, n) := !png_sig_cmp(sig, 0, n).
916
+ * png_check_sig(sig, n) := (png_sig_cmp(sig, 0, n) == 0).
918
917
  */
919
- #define png_check_sig(sig, n) !png_sig_cmp((sig), 0, (n))
918
+ #define png_check_sig(sig, n) (png_sig_cmp((sig), 0, (n)) == 0) /* DEPRECATED */
920
919
 
921
920
  /* Allocate and initialize png_ptr struct for reading, and any other memory. */
922
921
  PNG_EXPORTA(4, png_structp, png_create_read_struct,
@@ -1730,12 +1729,9 @@ PNG_EXPORT(97, void, png_free, (png_const_structrp png_ptr, png_voidp ptr));
1730
1729
  PNG_EXPORT(98, void, png_free_data, (png_const_structrp png_ptr,
1731
1730
  png_inforp info_ptr, png_uint_32 free_me, int num));
1732
1731
 
1733
- /* Reassign responsibility for freeing existing data, whether allocated
1732
+ /* Reassign the responsibility for freeing existing data, whether allocated
1734
1733
  * by libpng or by the application; this works on the png_info structure passed
1735
- * in, it does not change the state for other png_info structures.
1736
- *
1737
- * It is unlikely that this function works correctly as of 1.6.0 and using it
1738
- * may result either in memory leaks or double free of allocated data.
1734
+ * in, without changing the state for other png_info structures.
1739
1735
  */
1740
1736
  PNG_EXPORT(99, void, png_data_freer, (png_const_structrp png_ptr,
1741
1737
  png_inforp info_ptr, int freer, png_uint_32 mask));
@@ -3207,11 +3203,18 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
3207
3203
  #ifdef PNG_MIPS_MSA_API_SUPPORTED
3208
3204
  # define PNG_MIPS_MSA 6 /* HARDWARE: MIPS Msa SIMD instructions supported */
3209
3205
  #endif
3210
- #define PNG_IGNORE_ADLER32 8
3206
+ #ifdef PNG_DISABLE_ADLER32_CHECK_SUPPORTED
3207
+ # define PNG_IGNORE_ADLER32 8 /* SOFTWARE: disable Adler32 check on IDAT */
3208
+ #endif
3211
3209
  #ifdef PNG_POWERPC_VSX_API_SUPPORTED
3212
- # define PNG_POWERPC_VSX 10 /* HARDWARE: PowerPC VSX SIMD instructions supported */
3210
+ # define PNG_POWERPC_VSX 10 /* HARDWARE: PowerPC VSX SIMD instructions
3211
+ * supported */
3213
3212
  #endif
3214
- #define PNG_OPTION_NEXT 12 /* Next option - numbers must be even */
3213
+ #ifdef PNG_MIPS_MMI_API_SUPPORTED
3214
+ # define PNG_MIPS_MMI 12 /* HARDWARE: MIPS MMI SIMD instructions supported */
3215
+ #endif
3216
+
3217
+ #define PNG_OPTION_NEXT 14 /* Next option - numbers must be even */
3215
3218
 
3216
3219
  /* Return values: NOTE: there are four values and 'off' is *not* zero */
3217
3220
  #define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
package/include/pngconf.h CHANGED
@@ -1,9 +1,9 @@
1
1
 
2
2
  /* pngconf.h - machine-configurable file for libpng
3
3
  *
4
- * libpng version 1.6.40
4
+ * libpng version 1.6.43
5
5
  *
6
- * Copyright (c) 2018-2022 Cosmin Truta
6
+ * Copyright (c) 2018-2024 Cosmin Truta
7
7
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
8
8
  * Copyright (c) 1996-1997 Andreas Dilger
9
9
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -1,8 +1,8 @@
1
1
  /* pnglibconf.h - library build configuration */
2
2
 
3
- /* libpng version 1.6.40 */
3
+ /* libpng version 1.6.43 */
4
4
 
5
- /* Copyright (c) 2018-2023 Cosmin Truta */
5
+ /* Copyright (c) 2018-2024 Cosmin Truta */
6
6
  /* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson */
7
7
 
8
8
  /* This code is released under the libpng license. */
@@ -27,6 +27,7 @@
27
27
  #define PNG_COLORSPACE_SUPPORTED
28
28
  #define PNG_CONSOLE_IO_SUPPORTED
29
29
  #define PNG_CONVERT_tIME_SUPPORTED
30
+ /*#undef PNG_DISABLE_ADLER32_CHECK_SUPPORTED*/
30
31
  #define PNG_EASY_ACCESS_SUPPORTED
31
32
  /*#undef PNG_ERROR_NUMBERS_SUPPORTED*/
32
33
  #define PNG_ERROR_TEXT_SUPPORTED
@@ -41,6 +42,10 @@
41
42
  #define PNG_INCH_CONVERSIONS_SUPPORTED
42
43
  #define PNG_INFO_IMAGE_SUPPORTED
43
44
  #define PNG_IO_STATE_SUPPORTED
45
+ /*#undef PNG_MIPS_MMI_API_SUPPORTED*/
46
+ /*#undef PNG_MIPS_MMI_CHECK_SUPPORTED*/
47
+ /*#undef PNG_MIPS_MSA_API_SUPPORTED*/
48
+ /*#undef PNG_MIPS_MSA_CHECK_SUPPORTED*/
44
49
  #define PNG_MNG_FEATURES_SUPPORTED
45
50
  #define PNG_POINTER_INDEXING_SUPPORTED
46
51
  /*#undef PNG_POWERPC_VSX_API_SUPPORTED*/
@@ -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) \