@img/sharp-libvips-dev-wasm32 1.0.0 → 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 (203) hide show
  1. package/include/aom/aom_encoder.h +3 -3
  2. package/include/aom/aomcx.h +17 -8
  3. package/include/expat.h +21 -10
  4. package/include/expat_config.h +11 -5
  5. package/include/ffi.h +12 -25
  6. package/include/glib-2.0/gio/gappinfo.h +0 -7
  7. package/include/glib-2.0/gio/gapplication.h +6 -0
  8. package/include/glib-2.0/gio/gapplicationcommandline.h +12 -1
  9. package/include/glib-2.0/gio/gasyncinitable.h +0 -7
  10. package/include/glib-2.0/gio/gasyncresult.h +0 -6
  11. package/include/glib-2.0/gio/gbufferedinputstream.h +0 -5
  12. package/include/glib-2.0/gio/gbufferedoutputstream.h +0 -5
  13. package/include/glib-2.0/gio/gbytesicon.h +0 -5
  14. package/include/glib-2.0/gio/gcancellable.h +0 -5
  15. package/include/glib-2.0/gio/gconverter.h +0 -7
  16. package/include/glib-2.0/gio/gconverterinputstream.h +0 -6
  17. package/include/glib-2.0/gio/gconverteroutputstream.h +0 -6
  18. package/include/glib-2.0/gio/gdatagrambased.h +0 -7
  19. package/include/glib-2.0/gio/gdatainputstream.h +0 -6
  20. package/include/glib-2.0/gio/gdataoutputstream.h +0 -6
  21. package/include/glib-2.0/gio/gdbusinterface.h +0 -8
  22. package/include/glib-2.0/gio/gdbusinterfaceskeleton.h +0 -8
  23. package/include/glib-2.0/gio/gdbusmessage.h +2 -1
  24. package/include/glib-2.0/gio/gdbusobjectmanagerclient.h +0 -8
  25. package/include/glib-2.0/gio/gdbusobjectmanagerserver.h +0 -8
  26. package/include/glib-2.0/gio/gdbusobjectproxy.h +0 -8
  27. package/include/glib-2.0/gio/gdbusobjectskeleton.h +0 -8
  28. package/include/glib-2.0/gio/gdbusproxy.h +0 -8
  29. package/include/glib-2.0/gio/gdebugcontroller.h +0 -8
  30. package/include/glib-2.0/gio/gdebugcontrollerdbus.h +0 -7
  31. package/include/glib-2.0/gio/gdtlsserverconnection.h +0 -8
  32. package/include/glib-2.0/gio/gemblem.h +0 -5
  33. package/include/glib-2.0/gio/gemblemedicon.h +0 -5
  34. package/include/glib-2.0/gio/gfile.h +0 -10
  35. package/include/glib-2.0/gio/gfileenumerator.h +0 -5
  36. package/include/glib-2.0/gio/gfileicon.h +0 -5
  37. package/include/glib-2.0/gio/gfileinfo.h +0 -5
  38. package/include/glib-2.0/gio/gfileinputstream.h +0 -8
  39. package/include/glib-2.0/gio/gfileiostream.h +0 -8
  40. package/include/glib-2.0/gio/gfilemonitor.h +0 -5
  41. package/include/glib-2.0/gio/gfilenamecompleter.h +0 -5
  42. package/include/glib-2.0/gio/gfileoutputstream.h +0 -8
  43. package/include/glib-2.0/gio/gfilterinputstream.h +0 -5
  44. package/include/glib-2.0/gio/gfilteroutputstream.h +0 -5
  45. package/include/glib-2.0/gio/gicon.h +0 -5
  46. package/include/glib-2.0/gio/ginitable.h +0 -7
  47. package/include/glib-2.0/gio/ginputstream.h +0 -5
  48. package/include/glib-2.0/gio/gio-autocleanups.h +4 -0
  49. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  50. package/include/glib-2.0/gio/gioenums.h +6 -1
  51. package/include/glib-2.0/gio/giomodule.h +0 -5
  52. package/include/glib-2.0/gio/giostream.h +0 -5
  53. package/include/glib-2.0/gio/giotypes.h +5 -108
  54. package/include/glib-2.0/gio/gloadableicon.h +0 -6
  55. package/include/glib-2.0/gio/gmemoryinputstream.h +0 -5
  56. package/include/glib-2.0/gio/gmemoryoutputstream.h +0 -5
  57. package/include/glib-2.0/gio/gmountoperation.h +0 -6
  58. package/include/glib-2.0/gio/gnetworking.h +4 -0
  59. package/include/glib-2.0/gio/goutputstream.h +0 -9
  60. package/include/glib-2.0/gio/gpollableinputstream.h +0 -7
  61. package/include/glib-2.0/gio/gpollableoutputstream.h +0 -7
  62. package/include/glib-2.0/gio/gproxy.h +0 -7
  63. package/include/glib-2.0/gio/gproxyaddressenumerator.h +0 -8
  64. package/include/glib-2.0/gio/gseekable.h +0 -5
  65. package/include/glib-2.0/gio/gsettingsbackend.h +0 -5
  66. package/include/glib-2.0/gio/gsimpleactiongroup.h +0 -7
  67. package/include/glib-2.0/gio/gsimpleasyncresult.h +0 -5
  68. package/include/glib-2.0/gio/gsimpleproxyresolver.h +0 -5
  69. package/include/glib-2.0/gio/gsocket.h +13 -0
  70. package/include/glib-2.0/gio/gsocketaddressenumerator.h +0 -6
  71. package/include/glib-2.0/gio/gsocketconnectable.h +0 -5
  72. package/include/glib-2.0/gio/gtask.h +12 -0
  73. package/include/glib-2.0/gio/gthemedicon.h +0 -5
  74. package/include/glib-2.0/gio/gtlsserverconnection.h +0 -8
  75. package/include/glib-2.0/gio/gunixcredentialsmessage.h +0 -8
  76. package/include/glib-2.0/gio/gvfs.h +0 -5
  77. package/include/glib-2.0/gio/gvolume.h +2 -2
  78. package/include/glib-2.0/gio/gvolumemonitor.h +0 -5
  79. package/include/glib-2.0/glib/deprecated/gcompletion.h +1 -1
  80. package/include/glib-2.0/glib/deprecated/grel.h +0 -23
  81. package/include/glib-2.0/glib/deprecated/gthread.h +10 -6
  82. package/include/glib-2.0/glib/gatomic.h +20 -20
  83. package/include/glib-2.0/glib/gbitlock.h +31 -0
  84. package/include/glib-2.0/glib/gbookmarkfile.h +39 -1
  85. package/include/glib-2.0/glib/gchecksum.h +0 -10
  86. package/include/glib-2.0/glib/gdate.h +0 -9
  87. package/include/glib-2.0/glib/gdatetime.h +33 -1
  88. package/include/glib-2.0/glib/gdir.h +5 -0
  89. package/include/glib-2.0/glib/ghmac.h +0 -9
  90. package/include/glib-2.0/glib/glib-autocleanups.h +4 -0
  91. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  92. package/include/glib-2.0/glib/gmacros.h +1 -0
  93. package/include/glib-2.0/glib/gmessages.h +11 -0
  94. package/include/glib-2.0/glib/gpathbuf.h +0 -7
  95. package/include/glib-2.0/glib/gslice.h +2 -0
  96. package/include/glib-2.0/glib/gstdio.h +1 -1
  97. package/include/glib-2.0/glib/gstrfuncs.h +24 -18
  98. package/include/glib-2.0/glib/gstrvbuilder.h +4 -8
  99. package/include/glib-2.0/glib/gtestutils.h +5 -0
  100. package/include/glib-2.0/glib/gthread.h +216 -3
  101. package/include/glib-2.0/glib/gunicode.h +12 -2
  102. package/include/glib-2.0/glib/gvarianttype.h +1 -10
  103. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  104. package/include/glib-2.0/glib/gwin32.h +4 -4
  105. package/include/glib-2.0/glib-unix.h +214 -0
  106. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  107. package/include/glib-2.0/gobject/gbinding.h +0 -8
  108. package/include/glib-2.0/gobject/gbindinggroup.h +0 -8
  109. package/include/glib-2.0/gobject/gclosure.h +1 -9
  110. package/include/glib-2.0/gobject/genums.h +6 -6
  111. package/include/glib-2.0/gobject/glib-types.h +44 -0
  112. package/include/glib-2.0/gobject/gobject-autocleanups.h +4 -0
  113. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  114. package/include/glib-2.0/gobject/gobject.h +1 -16
  115. package/include/glib-2.0/gobject/gparam.h +3 -12
  116. package/include/glib-2.0/gobject/gsignal.h +16 -6
  117. package/include/glib-2.0/gobject/gsignalgroup.h +0 -8
  118. package/include/glib-2.0/gobject/gtype.h +53 -20
  119. package/include/glib-2.0/gobject/gtypemodule.h +0 -7
  120. package/include/glib-2.0/gobject/gtypeplugin.h +0 -6
  121. package/include/glib-2.0/gobject/gvaluearray.h +0 -7
  122. package/include/glib-2.0/gobject/gvaluecollector.h +1 -11
  123. package/include/glib-2.0/gobject/gvaluetypes.h +2 -0
  124. package/include/hwy/aligned_allocator.h +171 -6
  125. package/include/hwy/base.h +1765 -543
  126. package/include/hwy/cache_control.h +24 -6
  127. package/include/hwy/detect_compiler_arch.h +23 -2
  128. package/include/hwy/detect_targets.h +56 -13
  129. package/include/hwy/foreach_target.h +24 -0
  130. package/include/hwy/highway.h +20 -3
  131. package/include/hwy/ops/arm_neon-inl.h +1086 -667
  132. package/include/hwy/ops/arm_sve-inl.h +1091 -235
  133. package/include/hwy/ops/emu128-inl.h +271 -196
  134. package/include/hwy/ops/generic_ops-inl.h +2270 -399
  135. package/include/hwy/ops/ppc_vsx-inl.h +1786 -563
  136. package/include/hwy/ops/rvv-inl.h +1043 -311
  137. package/include/hwy/ops/scalar-inl.h +189 -159
  138. package/include/hwy/ops/set_macros-inl.h +66 -6
  139. package/include/hwy/ops/shared-inl.h +175 -56
  140. package/include/hwy/ops/wasm_128-inl.h +153 -136
  141. package/include/hwy/ops/x86_128-inl.h +1647 -646
  142. package/include/hwy/ops/x86_256-inl.h +1003 -370
  143. package/include/hwy/ops/x86_512-inl.h +948 -353
  144. package/include/hwy/per_target.h +4 -0
  145. package/include/hwy/profiler.h +648 -0
  146. package/include/hwy/robust_statistics.h +2 -2
  147. package/include/hwy/targets.h +18 -11
  148. package/include/hwy/timer.h +11 -0
  149. package/include/lcms2.h +46 -7
  150. package/include/lcms2_plugin.h +4 -4
  151. package/include/libheif/heif_version.h +2 -2
  152. package/include/resvg.h +15 -3
  153. package/include/vips/connection.h +9 -3
  154. package/include/vips/util.h +0 -9
  155. package/include/vips/version.h +4 -4
  156. package/include/zconf.h +3 -0
  157. package/include/zlib.h +3 -3
  158. package/lib/glib-2.0/include/glibconfig.h +3 -2
  159. package/lib/libaom.a +0 -0
  160. package/lib/libcgif.a +0 -0
  161. package/lib/libexif.a +0 -0
  162. package/lib/libexpat.a +0 -0
  163. package/lib/libexpat.la +3 -3
  164. package/lib/libffi.a +0 -0
  165. package/lib/libffi.la +2 -2
  166. package/lib/libgio-2.0.a +0 -0
  167. package/lib/libglib-2.0.a +0 -0
  168. package/lib/libgmodule-2.0.a +0 -0
  169. package/lib/libgobject-2.0.a +0 -0
  170. package/lib/libgthread-2.0.a +0 -0
  171. package/lib/libheif.a +0 -0
  172. package/lib/libhwy.a +0 -0
  173. package/lib/libimagequant.a +0 -0
  174. package/lib/libjpeg.a +0 -0
  175. package/lib/liblcms2.a +0 -0
  176. package/lib/libresvg.a +0 -0
  177. package/lib/libsharpyuv.a +0 -0
  178. package/lib/libspng.a +0 -0
  179. package/lib/libtiff.a +0 -0
  180. package/lib/libvips-cpp.a +0 -0
  181. package/lib/libvips.a +0 -0
  182. package/lib/libwebp.a +0 -0
  183. package/lib/libwebpdemux.a +0 -0
  184. package/lib/libwebpmux.a +0 -0
  185. package/lib/libz.a +0 -0
  186. package/lib/pkgconfig/aom.pc +2 -2
  187. package/lib/pkgconfig/expat.pc +2 -1
  188. package/lib/pkgconfig/gio-2.0.pc +3 -3
  189. package/lib/pkgconfig/glib-2.0.pc +3 -3
  190. package/lib/pkgconfig/gmodule-2.0.pc +1 -1
  191. package/lib/pkgconfig/gmodule-export-2.0.pc +1 -1
  192. package/lib/pkgconfig/gmodule-no-export-2.0.pc +1 -1
  193. package/lib/pkgconfig/gobject-2.0.pc +1 -1
  194. package/lib/pkgconfig/gthread-2.0.pc +1 -1
  195. package/lib/pkgconfig/lcms2.pc +1 -1
  196. package/lib/pkgconfig/libffi.pc +1 -1
  197. package/lib/pkgconfig/libheif.pc +1 -1
  198. package/lib/pkgconfig/libhwy.pc +1 -1
  199. package/lib/pkgconfig/vips-cpp.pc +1 -1
  200. package/lib/pkgconfig/vips.pc +1 -1
  201. package/lib/pkgconfig/zlib.pc +1 -1
  202. package/package.json +1 -1
  203. package/versions.json +11 -10
@@ -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_
package/include/lcms2.h CHANGED
@@ -23,7 +23,7 @@
23
23
  //
24
24
  //---------------------------------------------------------------------------------
25
25
  //
26
- // Version 2.15
26
+ // Version 2.16
27
27
  //
28
28
 
29
29
  #ifndef _lcms2_H
@@ -76,12 +76,15 @@
76
76
 
77
77
  #ifndef CMS_USE_CPP_API
78
78
  # ifdef __cplusplus
79
+ # if __cplusplus >= 201703L
80
+ # define CMS_NO_REGISTER_KEYWORD 1
81
+ # endif
79
82
  extern "C" {
80
83
  # endif
81
84
  #endif
82
85
 
83
86
  // Version/release
84
- #define LCMS_VERSION 2150
87
+ #define LCMS_VERSION 2160
85
88
 
86
89
  // I will give the chance of redefining basic types for compilers that are not fully C99 compliant
87
90
  #ifndef CMS_BASIC_TYPES_ALREADY_DEFINED
@@ -325,7 +328,8 @@ typedef enum {
325
328
  cmsSigUInt8ArrayType = 0x75693038, // 'ui08'
326
329
  cmsSigVcgtType = 0x76636774, // 'vcgt'
327
330
  cmsSigViewingConditionsType = 0x76696577, // 'view'
328
- cmsSigXYZType = 0x58595A20 // 'XYZ '
331
+ cmsSigXYZType = 0x58595A20, // 'XYZ '
332
+ cmsSigMHC2Type = 0x4D484332 // 'MHC2'
329
333
 
330
334
 
331
335
  } cmsTagTypeSignature;
@@ -403,7 +407,8 @@ typedef enum {
403
407
  cmsSigVcgtTag = 0x76636774, // 'vcgt'
404
408
  cmsSigMetaTag = 0x6D657461, // 'meta'
405
409
  cmsSigcicpTag = 0x63696370, // 'cicp'
406
- cmsSigArgyllArtsTag = 0x61727473 // 'arts'
410
+ cmsSigArgyllArtsTag = 0x61727473, // 'arts'
411
+ cmsSigMHC2Tag = 0x4D484332 // 'MHC2'
407
412
 
408
413
  } cmsTagSignature;
409
414
 
@@ -948,6 +953,7 @@ typedef void* cmsHTRANSFORM;
948
953
  #define TYPE_RGB_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(0))
949
954
  #define TYPE_BGR_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(0)|DOSWAP_SH(1))
950
955
  #define TYPE_CMYK_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(0))
956
+ #define TYPE_OKLAB_DBL (FLOAT_SH(1)|COLORSPACE_SH(PT_MCH3)|CHANNELS_SH(3)|BYTES_SH(0))
951
957
 
952
958
  // IEEE 754-2008 "half"
953
959
  #define TYPE_GRAY_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(2))
@@ -1048,6 +1054,19 @@ typedef struct {
1048
1054
 
1049
1055
  } cmsVideoSignalType;
1050
1056
 
1057
+ typedef struct {
1058
+ cmsUInt32Number CurveEntries;
1059
+ cmsFloat64Number* RedCurve;
1060
+ cmsFloat64Number* GreenCurve;
1061
+ cmsFloat64Number* BlueCurve;
1062
+
1063
+ cmsFloat64Number MinLuminance; // ST.2086 min luminance in nits
1064
+ cmsFloat64Number PeakLuminance; // ST.2086 peak luminance in nits
1065
+
1066
+ cmsFloat64Number XYZ2XYZmatrix[3][4];
1067
+
1068
+ } cmsMHC2Type;
1069
+
1051
1070
 
1052
1071
 
1053
1072
  // Get LittleCMS version (for shared objects) -----------------------------------------------------------------------------
@@ -1220,7 +1239,8 @@ CMSAPI cmsBool CMSEXPORT cmsIsToneCurveMonotonic(const cmsToneCurve* t
1220
1239
  CMSAPI cmsBool CMSEXPORT cmsIsToneCurveDescending(const cmsToneCurve* t);
1221
1240
  CMSAPI cmsInt32Number CMSEXPORT cmsGetToneCurveParametricType(const cmsToneCurve* t);
1222
1241
  CMSAPI cmsFloat64Number CMSEXPORT cmsEstimateGamma(const cmsToneCurve* t, cmsFloat64Number Precision);
1223
- CMSAPI cmsFloat64Number* CMSEXPORT cmsGetToneCurveParams(const cmsToneCurve* t);
1242
+
1243
+ CMSAPI const cmsCurveSegment* CMSEXPORT cmsGetToneCurveSegment(cmsInt32Number n, const cmsToneCurve* t);
1224
1244
 
1225
1245
  // Tone curve tabular estimation
1226
1246
  CMSAPI cmsUInt32Number CMSEXPORT cmsGetToneCurveEstimatedTableEntries(const cmsToneCurve* t);
@@ -1314,8 +1334,11 @@ CMSAPI cmsBool CMSEXPORT cmsSliceSpaceFloat(cmsUInt32Number nInputs, c
1314
1334
 
1315
1335
  typedef struct _cms_MLU_struct cmsMLU;
1316
1336
 
1317
- #define cmsNoLanguage "\0\0"
1318
- #define cmsNoCountry "\0\0"
1337
+ #define cmsNoLanguage "\0\0"
1338
+ #define cmsNoCountry "\0\0"
1339
+
1340
+ // Special language/country to retrieve unicode field for description in V2 profiles. Use with care.
1341
+ #define cmsV2Unicode "\xff\xff"
1319
1342
 
1320
1343
  CMSAPI cmsMLU* CMSEXPORT cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems);
1321
1344
  CMSAPI void CMSEXPORT cmsMLUfree(cmsMLU* mlu);
@@ -1327,6 +1350,9 @@ CMSAPI cmsBool CMSEXPORT cmsMLUsetASCII(cmsMLU* mlu,
1327
1350
  CMSAPI cmsBool CMSEXPORT cmsMLUsetWide(cmsMLU* mlu,
1328
1351
  const char LanguageCode[3], const char CountryCode[3],
1329
1352
  const wchar_t* WideString);
1353
+ CMSAPI cmsBool CMSEXPORT cmsMLUsetUTF8(cmsMLU* mlu,
1354
+ const char LanguageCode[3], const char CountryCode[3],
1355
+ const char* UTF8String);
1330
1356
 
1331
1357
  CMSAPI cmsUInt32Number CMSEXPORT cmsMLUgetASCII(const cmsMLU* mlu,
1332
1358
  const char LanguageCode[3], const char CountryCode[3],
@@ -1335,6 +1361,10 @@ CMSAPI cmsUInt32Number CMSEXPORT cmsMLUgetASCII(const cmsMLU* mlu,
1335
1361
  CMSAPI cmsUInt32Number CMSEXPORT cmsMLUgetWide(const cmsMLU* mlu,
1336
1362
  const char LanguageCode[3], const char CountryCode[3],
1337
1363
  wchar_t* Buffer, cmsUInt32Number BufferSize);
1364
+ CMSAPI cmsUInt32Number CMSEXPORT cmsMLUgetUTF8(const cmsMLU* mlu,
1365
+ const char LanguageCode[3], const char CountryCode[3],
1366
+ char* Buffer, cmsUInt32Number BufferSize);
1367
+
1338
1368
 
1339
1369
  CMSAPI cmsBool CMSEXPORT cmsMLUgetTranslation(const cmsMLU* mlu,
1340
1370
  const char LanguageCode[3], const char CountryCode[3],
@@ -1559,6 +1589,10 @@ CMSAPI cmsUInt32Number CMSEXPORT cmsGetProfileInfoASCII(cmsHPROFILE hProfile,
1559
1589
  const char LanguageCode[3], const char CountryCode[3],
1560
1590
  char* Buffer, cmsUInt32Number BufferSize);
1561
1591
 
1592
+ CMSAPI cmsUInt32Number CMSEXPORT cmsGetProfileInfoUTF8(cmsHPROFILE hProfile, cmsInfoType Info,
1593
+ const char LanguageCode[3], const char CountryCode[3],
1594
+ char* Buffer, cmsUInt32Number BufferSize);
1595
+
1562
1596
  // IO handlers ----------------------------------------------------------------------------------------------------------
1563
1597
 
1564
1598
  typedef struct _cms_io_handler cmsIOHANDLER;
@@ -1621,6 +1655,9 @@ CMSAPI cmsHPROFILE CMSEXPORT cmsCreateInkLimitingDeviceLinkTHR(cmsContext C
1621
1655
 
1622
1656
  CMSAPI cmsHPROFILE CMSEXPORT cmsCreateInkLimitingDeviceLink(cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit);
1623
1657
 
1658
+ CMSAPI cmsHPROFILE CMSEXPORT cmsCreateDeviceLinkFromCubeFile(const char* cFileName);
1659
+
1660
+ CMSAPI cmsHPROFILE CMSEXPORT cmsCreateDeviceLinkFromCubeFileTHR(cmsContext ContextID, const char* cFileName);
1624
1661
 
1625
1662
  CMSAPI cmsHPROFILE CMSEXPORT cmsCreateLab2ProfileTHR(cmsContext ContextID, const cmsCIExyY* WhitePoint);
1626
1663
  CMSAPI cmsHPROFILE CMSEXPORT cmsCreateLab2Profile(const cmsCIExyY* WhitePoint);
@@ -1633,6 +1670,8 @@ CMSAPI cmsHPROFILE CMSEXPORT cmsCreateXYZProfile(void);
1633
1670
  CMSAPI cmsHPROFILE CMSEXPORT cmsCreate_sRGBProfileTHR(cmsContext ContextID);
1634
1671
  CMSAPI cmsHPROFILE CMSEXPORT cmsCreate_sRGBProfile(void);
1635
1672
 
1673
+ CMSAPI cmsHPROFILE CMSEXPORT cmsCreate_OkLabProfile(cmsContext ctx);
1674
+
1636
1675
  CMSAPI cmsHPROFILE CMSEXPORT cmsCreateBCHSWabstractProfileTHR(cmsContext ContextID,
1637
1676
  cmsUInt32Number nLUTPoints,
1638
1677
  cmsFloat64Number Bright,
@@ -603,9 +603,9 @@ typedef void (* _cmsTransformFn)(struct _cmstransform_struct *CMMcargo, //
603
603
  typedef void (*_cmsTransform2Fn)(struct _cmstransform_struct *CMMcargo,
604
604
  const void* InputBuffer,
605
605
  void* OutputBuffer,
606
- cmsUInt32Number PixelsPerLine,
607
- cmsUInt32Number LineCount,
608
- const cmsStride* Stride);
606
+ cmsUInt32Number PixelsPerLine,
607
+ cmsUInt32Number LineCount,
608
+ const cmsStride* Stride);
609
609
 
610
610
  typedef cmsBool (* _cmsTransformFactory)(_cmsTransformFn* xform,
611
611
  void** UserData,
@@ -648,7 +648,7 @@ typedef struct {
648
648
  } cmsPluginTransform;
649
649
 
650
650
  //----------------------------------------------------------------------------------------------------------
651
- // Mutex
651
+ // Mutex
652
652
 
653
653
  typedef void* (* _cmsCreateMutexFnPtrType)(cmsContext ContextID);
654
654
  typedef void (* _cmsDestroyMutexFnPtrType)(cmsContext ContextID, void* mtx);
@@ -28,10 +28,10 @@
28
28
  #define LIBHEIF_HEIF_VERSION_H
29
29
 
30
30
  /* Numeric representation of the version */
31
- #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (17<<16) | (3<<8) | 0)
31
+ #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (17<<16) | (6<<8) | 0)
32
32
 
33
33
  /* Version string */
34
- #define LIBHEIF_VERSION "1.17.3"
34
+ #define LIBHEIF_VERSION "1.17.6"
35
35
 
36
36
  #define LIBHEIF_PLUGIN_DIRECTORY "/src/build/target/lib/libheif"
37
37
 
package/include/resvg.h CHANGED
@@ -17,9 +17,9 @@
17
17
  #include <stdint.h>
18
18
 
19
19
  #define RESVG_MAJOR_VERSION 0
20
- #define RESVG_MINOR_VERSION 36
20
+ #define RESVG_MINOR_VERSION 40
21
21
  #define RESVG_PATCH_VERSION 0
22
- #define RESVG_VERSION "0.36.0"
22
+ #define RESVG_VERSION "0.40.0"
23
23
 
24
24
  /**
25
25
  * @brief List of possible errors.
@@ -431,7 +431,7 @@ bool resvg_get_node_transform(const resvg_render_tree *tree,
431
431
  resvg_transform *transform);
432
432
 
433
433
  /**
434
- * @brief Returns node's bounding box by ID.
434
+ * @brief Returns node's bounding box in canvas coordinates by ID.
435
435
  *
436
436
  * @param tree Render tree.
437
437
  * @param id Node's ID. Must not be NULL.
@@ -442,6 +442,18 @@ bool resvg_get_node_transform(const resvg_render_tree *tree,
442
442
  */
443
443
  bool resvg_get_node_bbox(const resvg_render_tree *tree, const char *id, resvg_rect *bbox);
444
444
 
445
+ /**
446
+ * @brief Returns node's bounding box, including stroke, in canvas coordinates by ID.
447
+ *
448
+ * @param tree Render tree.
449
+ * @param id Node's ID. Must not be NULL.
450
+ * @param bbox Node's bounding box.
451
+ * @return `false` if a node with such an ID does not exist
452
+ * @return `false` if ID isn't a UTF-8 string.
453
+ * @return `false` if ID is an empty string
454
+ */
455
+ bool resvg_get_node_stroke_bbox(const resvg_render_tree *tree, const char *id, resvg_rect *bbox);
456
+
445
457
  /**
446
458
  * @brief Destroys the #resvg_render_tree.
447
459
  */
@@ -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.0"
8
- #define VIPS_VERSION_STRING "8.15.0"
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 (0)
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 (0)
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: true\nenable Analyze7 load/save: true\nenable PPM load/save: true\nenable GIF load: true\nuse fftw for FFTs: false\nSIMD support with highway: true\nICC profile support with lcms: true\nzlib: true\ntext rendering with pangocairo: false\nfont file support with fontconfig: false\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: false\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: false\nSVG load with resvg: true (dynamic module: false)\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/include/zconf.h CHANGED
@@ -116,6 +116,9 @@
116
116
  #ifndef ZEXPORTVA
117
117
  # define ZEXPORTVA Z_EXPORTVA
118
118
  #endif
119
+ #ifndef FAR
120
+ # define FAR
121
+ #endif
119
122
 
120
123
  /* Legacy zlib typedefs for backwards compatibility. Don't assume stdint.h is defined. */
121
124
  typedef unsigned char Byte;
package/include/zlib.h CHANGED
@@ -49,11 +49,11 @@
49
49
  extern "C" {
50
50
  #endif
51
51
 
52
- #define ZLIBNG_VERSION "2.1.4"
53
- #define ZLIBNG_VERNUM 0x020104F0L /* MMNNRRSM: major minor revision status modified */
52
+ #define ZLIBNG_VERSION "2.1.6"
53
+ #define ZLIBNG_VERNUM 0x020106F0L /* MMNNRRSM: major minor revision status modified */
54
54
  #define ZLIBNG_VER_MAJOR 2
55
55
  #define ZLIBNG_VER_MINOR 1
56
- #define ZLIBNG_VER_REVISION 4
56
+ #define ZLIBNG_VER_REVISION 6
57
57
  #define ZLIBNG_VER_STATUS F /* 0=devel, 1-E=beta, F=Release (DEPRECATED) */
58
58
  #define ZLIBNG_VER_STATUSH 0xF /* Hex values: 0=devel, 1-E=beta, F=Release */
59
59
  #define ZLIBNG_VER_MODIFIED 0 /* non-zero if modified externally from zlib-ng */
@@ -16,6 +16,7 @@
16
16
  #define GOBJECT_STATIC_COMPILATION 1
17
17
  #define GIO_STATIC_COMPILATION 1
18
18
  #define GMODULE_STATIC_COMPILATION 1
19
+ #define GI_STATIC_COMPILATION 1
19
20
  #define G_INTL_STATIC_COMPILATION 1
20
21
  #define FFI_STATIC_BUILD 1
21
22
 
@@ -113,8 +114,8 @@ typedef unsigned int guintptr;
113
114
  #define G_GUINTPTR_FORMAT "u"
114
115
 
115
116
  #define GLIB_MAJOR_VERSION 2
116
- #define GLIB_MINOR_VERSION 78
117
- #define GLIB_MICRO_VERSION 1
117
+ #define GLIB_MINOR_VERSION 80
118
+ #define GLIB_MICRO_VERSION 0
118
119
 
119
120
  #define G_OS_UNIX
120
121
  #define G_PLATFORM_WASM
package/lib/libaom.a CHANGED
Binary file
package/lib/libcgif.a CHANGED
Binary file
package/lib/libexif.a CHANGED
Binary file
package/lib/libexpat.a CHANGED
Binary file
package/lib/libexpat.la CHANGED
@@ -23,9 +23,9 @@ dependency_libs=' -lm -L/src/build/target/lib'
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libexpat.
26
- current=9
27
- age=8
28
- revision=10
26
+ current=10
27
+ age=9
28
+ revision=2
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
package/lib/libffi.a CHANGED
Binary file
package/lib/libffi.la CHANGED
@@ -1,5 +1,5 @@
1
1
  # libffi.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-15build2
2
+ # Generated by libtool (GNU libtool) 2.4.7
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -25,7 +25,7 @@ weak_library_names=''
25
25
  # Version information for libffi.
26
26
  current=9
27
27
  age=1
28
- revision=2
28
+ revision=4
29
29
 
30
30
  # Is this an already installed library?
31
31
  installed=yes
package/lib/libgio-2.0.a CHANGED
Binary file
package/lib/libglib-2.0.a CHANGED
Binary file
Binary file
Binary file
Binary file
package/lib/libheif.a CHANGED
Binary file
package/lib/libhwy.a CHANGED
Binary file
Binary file
package/lib/libjpeg.a CHANGED
Binary file
package/lib/liblcms2.a CHANGED
Binary file
package/lib/libresvg.a CHANGED
Binary file
package/lib/libsharpyuv.a CHANGED
Binary file
package/lib/libspng.a CHANGED
Binary file
package/lib/libtiff.a CHANGED
Binary file
package/lib/libvips-cpp.a CHANGED
Binary file
package/lib/libvips.a CHANGED
Binary file
package/lib/libwebp.a CHANGED
Binary file
Binary file
package/lib/libwebpmux.a CHANGED
Binary file
package/lib/libz.a CHANGED
Binary file
@@ -5,8 +5,8 @@ includedir=${prefix}/include
5
5
  libdir=${exec_prefix}/lib
6
6
 
7
7
  Name: aom
8
- Description: Alliance for Open Media AV1 codec library v3.7.0.
9
- Version: 3.7.0
8
+ Description: Alliance for Open Media AV1 codec library v3.8.2.
9
+ Version: 3.8.2
10
10
  Requires:
11
11
  Conflicts:
12
12
  Libs: -L${libdir} -laom
@@ -4,9 +4,10 @@ libdir=${exec_prefix}/lib
4
4
  includedir=${prefix}/include
5
5
 
6
6
  Name: expat
7
- Version: 2.5.0
7
+ Version: 2.6.2
8
8
  Description: expat XML parser
9
9
  URL: https://libexpat.github.io/
10
10
  Libs: -L${libdir} -lexpat
11
11
  Libs.private: -lm
12
12
  Cflags: -I${includedir}
13
+ Cflags.private: -DXML_STATIC
@@ -1,11 +1,11 @@
1
1
  prefix=/src/build/target
2
+ bindir=${prefix}/bin
3
+ datadir=${prefix}/share
2
4
  includedir=${prefix}/include
3
5
  libdir=${prefix}/lib
4
6
 
5
- datadir=${prefix}/share
6
7
  schemasdir=${datadir}/glib-2.0/schemas
7
8
  dtdsdir=${datadir}/glib-2.0/dtds
8
- bindir=${prefix}/bin
9
9
  giomoduledir=${libdir}/gio/modules
10
10
  gio=${bindir}/gio
11
11
  gio_querymodules=${bindir}/gio-querymodules
@@ -18,7 +18,7 @@ gsettings=${bindir}/gsettings
18
18
 
19
19
  Name: GIO
20
20
  Description: glib I/O library
21
- Version: 2.78.1
21
+ Version: 2.80.0
22
22
  Requires: glib-2.0, gobject-2.0, gmodule-no-export-2.0, zlib
23
23
  Libs: -L${libdir} -lgio-2.0
24
24
  Cflags: -I${includedir}
@@ -1,9 +1,9 @@
1
1
  prefix=/src/build/target
2
+ bindir=${prefix}/bin
3
+ datadir=${prefix}/share
2
4
  includedir=${prefix}/include
3
5
  libdir=${prefix}/lib
4
6
 
5
- bindir=${prefix}/bin
6
- datadir=${prefix}/share
7
7
  glib_genmarshal=${bindir}/glib-genmarshal
8
8
  gobject_query=${bindir}/gobject-query
9
9
  glib_mkenums=${bindir}/glib-mkenums
@@ -11,6 +11,6 @@ glib_valgrind_suppressions=${datadir}/glib-2.0/valgrind/glib.supp
11
11
 
12
12
  Name: GLib
13
13
  Description: C Utility Library
14
- Version: 2.78.1
14
+ Version: 2.80.0
15
15
  Libs: -L${libdir} -lglib-2.0 -lm -pthread
16
16
  Cflags: -I${includedir}/glib-2.0 -pthread -I${libdir}/glib-2.0/include
@@ -6,7 +6,7 @@ gmodule_supported=true
6
6
 
7
7
  Name: GModule
8
8
  Description: Dynamic module loader for GLib
9
- Version: 2.78.1
9
+ Version: 2.80.0
10
10
  Requires: gmodule-no-export-2.0, glib-2.0
11
11
  Libs: -Wl,--export-dynamic
12
12
  Cflags: -I${includedir}
@@ -6,7 +6,7 @@ gmodule_supported=true
6
6
 
7
7
  Name: GModule
8
8
  Description: Dynamic module loader for GLib
9
- Version: 2.78.1
9
+ Version: 2.80.0
10
10
  Requires: gmodule-no-export-2.0, glib-2.0
11
11
  Libs: -Wl,--export-dynamic
12
12
  Cflags: -I${includedir}
@@ -6,7 +6,7 @@ gmodule_supported=true
6
6
 
7
7
  Name: GModule
8
8
  Description: Dynamic module loader for GLib
9
- Version: 2.78.1
9
+ Version: 2.80.0
10
10
  Requires: glib-2.0
11
11
  Libs: -L${libdir} -lgmodule-2.0 -pthread
12
12
  Cflags: -I${includedir} -pthread
@@ -4,7 +4,7 @@ libdir=${prefix}/lib
4
4
 
5
5
  Name: GObject
6
6
  Description: GLib Type, Object, Parameter and Signal Library
7
- Version: 2.78.1
7
+ Version: 2.80.0
8
8
  Requires: glib-2.0, libffi >= 3.0.0
9
9
  Libs: -L${libdir} -lgobject-2.0
10
10
  Cflags: -I${includedir}
@@ -4,7 +4,7 @@ libdir=${prefix}/lib
4
4
 
5
5
  Name: GThread
6
6
  Description: Thread support for GLib
7
- Version: 2.78.1
7
+ Version: 2.80.0
8
8
  Requires: glib-2.0
9
9
  Libs: -L${libdir} -lgthread-2.0 -pthread
10
10
  Cflags: -I${includedir} -pthread
@@ -4,6 +4,6 @@ libdir=${prefix}/lib
4
4
 
5
5
  Name: lcms2
6
6
  Description: LCMS Color Management Library
7
- Version: 2.15
7
+ Version: 2.16
8
8
  Libs: -L${libdir} -llcms2 -lm -pthread
9
9
  Cflags: -I${includedir} -pthread
@@ -6,6 +6,6 @@ includedir=${prefix}/include
6
6
 
7
7
  Name: libffi
8
8
  Description: Library supporting Foreign Function Interfaces
9
- Version: 3.4.4
9
+ Version: 3.4.6
10
10
  Libs: -L${toolexeclibdir} -lffi
11
11
  Cflags: -I${includedir}
@@ -15,7 +15,7 @@ builtin_avif_encoder=yes
15
15
  Name: libheif
16
16
  Description: HEIF image codec.
17
17
  URL: https://github.com/strukturag/libheif
18
- Version: 1.17.3
18
+ Version: 1.17.6
19
19
  Requires:
20
20
  Requires.private: aom libsharpyuv
21
21
  Libs: -L${libdir} -lheif