@img/sharp-libvips-dev 1.0.1 → 1.0.3

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 (169) hide show
  1. package/README.md +1 -2
  2. package/include/aom/aom_decoder.h +1 -1
  3. package/include/aom/aom_encoder.h +7 -1
  4. package/include/aom/aom_image.h +24 -12
  5. package/include/aom/aom_integer.h +3 -3
  6. package/include/aom/aomcx.h +15 -0
  7. package/include/aom/aomdx.h +5 -2
  8. package/include/archive.h +7 -5
  9. package/include/archive_entry.h +5 -3
  10. package/include/cgif.h +3 -0
  11. package/include/expat.h +21 -10
  12. package/include/expat_config.h +11 -5
  13. package/include/ffi.h +12 -25
  14. package/include/freetype2/freetype/config/ftoption.h +2 -2
  15. package/include/fribidi/fribidi-config.h +2 -2
  16. package/include/fribidi/fribidi-unicode-version.h +3 -3
  17. package/include/gio-unix-2.0/gio/gfiledescriptorbased.h +3 -2
  18. package/include/glib-2.0/gio/gappinfo.h +40 -25
  19. package/include/glib-2.0/gio/gapplication.h +6 -0
  20. package/include/glib-2.0/gio/gasyncresult.h +1 -1
  21. package/include/glib-2.0/gio/gconverter.h +5 -0
  22. package/include/glib-2.0/gio/gdbusintrospection.h +1 -1
  23. package/include/glib-2.0/gio/gfile.h +16 -0
  24. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  25. package/include/glib-2.0/gio/giotypes.h +0 -1
  26. package/include/glib-2.0/gio/gsettings.h +8 -0
  27. package/include/glib-2.0/gio/gvfs.h +2 -2
  28. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  29. package/include/glib-2.0/girepository/giarginfo.h +23 -6
  30. package/include/glib-2.0/girepository/gibaseinfo.h +44 -18
  31. package/include/glib-2.0/girepository/gicallableinfo.h +26 -16
  32. package/include/glib-2.0/girepository/gicallbackinfo.h +17 -2
  33. package/include/glib-2.0/girepository/giconstantinfo.h +19 -4
  34. package/include/glib-2.0/girepository/gienuminfo.h +20 -21
  35. package/include/glib-2.0/girepository/gifieldinfo.h +22 -7
  36. package/include/glib-2.0/girepository/giflagsinfo.h +60 -0
  37. package/include/glib-2.0/girepository/gifunctioninfo.h +22 -7
  38. package/include/glib-2.0/girepository/giinterfaceinfo.h +33 -18
  39. package/include/glib-2.0/girepository/giobjectinfo.h +41 -26
  40. package/include/glib-2.0/girepository/gipropertyinfo.h +18 -3
  41. package/include/glib-2.0/girepository/giregisteredtypeinfo.h +22 -11
  42. package/include/glib-2.0/girepository/girepository-autocleanups.h +56 -0
  43. package/include/glib-2.0/girepository/girepository.h +53 -62
  44. package/include/glib-2.0/girepository/girffi.h +8 -7
  45. package/include/glib-2.0/girepository/gisignalinfo.h +18 -3
  46. package/include/glib-2.0/girepository/gistructinfo.h +26 -11
  47. package/include/glib-2.0/girepository/gitypeinfo.h +29 -16
  48. package/include/glib-2.0/girepository/gitypelib.h +9 -13
  49. package/include/glib-2.0/girepository/gitypes.h +52 -104
  50. package/include/glib-2.0/girepository/giunioninfo.h +28 -12
  51. package/include/glib-2.0/girepository/giunresolvedinfo.h +17 -2
  52. package/include/glib-2.0/girepository/givalueinfo.h +65 -0
  53. package/include/glib-2.0/girepository/givfuncinfo.h +23 -8
  54. package/include/glib-2.0/glib/deprecated/gthread.h +9 -5
  55. package/include/glib-2.0/glib/gbitlock.h +31 -0
  56. package/include/glib-2.0/glib/gbookmarkfile.h +1 -1
  57. package/include/glib-2.0/glib/giochannel.h +2 -2
  58. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  59. package/include/glib-2.0/glib/gmacros.h +12 -5
  60. package/include/glib-2.0/glib/gmain.h +93 -7
  61. package/include/glib-2.0/glib/gmessages.h +8 -0
  62. package/include/glib-2.0/glib/gqsort.h +8 -1
  63. package/include/glib-2.0/glib/gslice.h +2 -0
  64. package/include/glib-2.0/glib/gstrfuncs.h +24 -30
  65. package/include/glib-2.0/glib/gstrvbuilder.h +3 -0
  66. package/include/glib-2.0/glib/gthread.h +191 -3
  67. package/include/glib-2.0/glib/gunicode.h +1 -1
  68. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  69. package/include/glib-2.0/glib-unix.h +7 -1
  70. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  71. package/include/glib-2.0/gobject/genums.h +6 -6
  72. package/include/glib-2.0/gobject/glib-types.h +11 -0
  73. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  74. package/include/glib-2.0/gobject/gsignal.h +16 -6
  75. package/include/glib-2.0/gobject/gtype.h +6 -6
  76. package/include/harfbuzz/hb-buffer.h +6 -0
  77. package/include/harfbuzz/hb-common.h +6 -9
  78. package/include/harfbuzz/hb-cplusplus.hh +8 -11
  79. package/include/harfbuzz/hb-subset.h +17 -4
  80. package/include/harfbuzz/hb-version.h +3 -3
  81. package/include/hwy/abort.h +28 -0
  82. package/include/hwy/aligned_allocator.h +218 -6
  83. package/include/hwy/base.h +1935 -512
  84. package/include/hwy/cache_control.h +24 -6
  85. package/include/hwy/detect_compiler_arch.h +105 -10
  86. package/include/hwy/detect_targets.h +146 -37
  87. package/include/hwy/foreach_target.h +36 -1
  88. package/include/hwy/highway.h +222 -50
  89. package/include/hwy/ops/arm_neon-inl.h +2055 -894
  90. package/include/hwy/ops/arm_sve-inl.h +1476 -348
  91. package/include/hwy/ops/emu128-inl.h +711 -623
  92. package/include/hwy/ops/generic_ops-inl.h +4431 -2157
  93. package/include/hwy/ops/inside-inl.h +691 -0
  94. package/include/hwy/ops/ppc_vsx-inl.h +2186 -673
  95. package/include/hwy/ops/rvv-inl.h +1556 -536
  96. package/include/hwy/ops/scalar-inl.h +353 -233
  97. package/include/hwy/ops/set_macros-inl.h +171 -23
  98. package/include/hwy/ops/shared-inl.h +198 -56
  99. package/include/hwy/ops/wasm_128-inl.h +283 -244
  100. package/include/hwy/ops/x86_128-inl.h +3673 -1357
  101. package/include/hwy/ops/x86_256-inl.h +1737 -663
  102. package/include/hwy/ops/x86_512-inl.h +1697 -500
  103. package/include/hwy/per_target.h +4 -0
  104. package/include/hwy/profiler.h +648 -0
  105. package/include/hwy/robust_statistics.h +2 -2
  106. package/include/hwy/targets.h +40 -32
  107. package/include/hwy/timer-inl.h +3 -3
  108. package/include/hwy/timer.h +16 -1
  109. package/include/libheif/heif.h +170 -15
  110. package/include/libheif/heif_items.h +237 -0
  111. package/include/libheif/heif_properties.h +38 -2
  112. package/include/libheif/heif_regions.h +1 -1
  113. package/include/libheif/heif_version.h +2 -2
  114. package/include/libpng16/png.h +32 -29
  115. package/include/libpng16/pngconf.h +2 -2
  116. package/include/libpng16/pnglibconf.h +8 -3
  117. package/include/librsvg-2.0/librsvg/rsvg-cairo.h +1 -1
  118. package/include/librsvg-2.0/librsvg/rsvg-features.h +3 -4
  119. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +235 -0
  120. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  121. package/include/librsvg-2.0/librsvg/rsvg.h +55 -176
  122. package/include/libxml2/libxml/HTMLparser.h +12 -19
  123. package/include/libxml2/libxml/c14n.h +1 -12
  124. package/include/libxml2/libxml/debugXML.h +1 -1
  125. package/include/libxml2/libxml/encoding.h +9 -0
  126. package/include/libxml2/libxml/entities.h +12 -1
  127. package/include/libxml2/libxml/hash.h +19 -0
  128. package/include/libxml2/libxml/list.h +2 -2
  129. package/include/libxml2/libxml/nanohttp.h +17 -0
  130. package/include/libxml2/libxml/parser.h +73 -58
  131. package/include/libxml2/libxml/parserInternals.h +9 -1
  132. package/include/libxml2/libxml/pattern.h +6 -0
  133. package/include/libxml2/libxml/tree.h +32 -12
  134. package/include/libxml2/libxml/uri.h +11 -0
  135. package/include/libxml2/libxml/valid.h +29 -2
  136. package/include/libxml2/libxml/xinclude.h +7 -0
  137. package/include/libxml2/libxml/xmlIO.h +21 -5
  138. package/include/libxml2/libxml/xmlerror.h +14 -0
  139. package/include/libxml2/libxml/xmlexports.h +111 -15
  140. package/include/libxml2/libxml/xmlmemory.h +8 -45
  141. package/include/libxml2/libxml/xmlreader.h +2 -0
  142. package/include/libxml2/libxml/xmlsave.h +5 -0
  143. package/include/libxml2/libxml/xmlunicode.h +165 -1
  144. package/include/libxml2/libxml/xmlversion.h +15 -179
  145. package/include/libxml2/libxml/xmlwriter.h +1 -0
  146. package/include/libxml2/libxml/xpath.h +4 -0
  147. package/include/pango-1.0/pango/pango-features.h +2 -2
  148. package/include/pango-1.0/pango/pango-fontmap.h +7 -0
  149. package/include/pango-1.0/pango/pango-item.h +4 -2
  150. package/include/pango-1.0/pango/pango-version-macros.h +25 -0
  151. package/include/pango-1.0/pango/pangofc-font.h +2 -1
  152. package/include/pixman-1/pixman-version.h +2 -2
  153. package/include/png.h +32 -29
  154. package/include/pngconf.h +2 -2
  155. package/include/pnglibconf.h +8 -3
  156. package/include/vips/connection.h +9 -3
  157. package/include/vips/util.h +1 -11
  158. package/include/vips/version.h +4 -4
  159. package/include/webp/decode.h +58 -56
  160. package/include/webp/demux.h +25 -21
  161. package/include/webp/encode.h +44 -39
  162. package/include/webp/mux.h +76 -15
  163. package/include/webp/mux_types.h +2 -1
  164. package/include/webp/sharpyuv/sharpyuv.h +77 -8
  165. package/include/webp/types.h +29 -8
  166. package/include/zconf.h +1 -1
  167. package/include/zlib.h +12 -12
  168. package/package.json +1 -1
  169. package/versions.json +18 -19
package/README.md CHANGED
@@ -16,7 +16,6 @@ used under the terms of the following licences:
16
16
  | fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
17
17
  | freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |
18
18
  | fribidi | LGPLv3 |
19
- | gdk-pixbuf | LGPLv3 |
20
19
  | glib | LGPLv3 |
21
20
  | harfbuzz | MIT Licence |
22
21
  | highway | Apache-2.0 License, BSD 3-Clause |
@@ -27,7 +26,7 @@ used under the terms of the following licences:
27
26
  | libheif | LGPLv3 |
28
27
  | libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
29
28
  | libnsgif | MIT Licence |
30
- | libpng | [libpng License](https://github.com/glennrp/libpng/blob/master/LICENSE) |
29
+ | libpng | [libpng License](https://github.com/pnggroup/libpng/blob/master/LICENSE) |
31
30
  | librsvg | LGPLv3 |
32
31
  | libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
33
32
  | libtiff | [libtiff License](https://gitlab.com/libtiff/libtiff/blob/master/LICENSE.md) (BSD-like) |
@@ -30,7 +30,7 @@
30
30
  extern "C" {
31
31
  #endif
32
32
 
33
- #include "aom/aom_codec.h"
33
+ #include "aom/aom_codec.h" // IWYU pragma: export
34
34
  #include "aom/aom_frame_buffer.h"
35
35
 
36
36
  /*!\brief Current ABI version number
@@ -30,7 +30,7 @@
30
30
  extern "C" {
31
31
  #endif
32
32
 
33
- #include "aom/aom_codec.h"
33
+ #include "aom/aom_codec.h" // IWYU pragma: export
34
34
  #include "aom/aom_external_partition.h"
35
35
 
36
36
  /*!\brief Current ABI version number
@@ -637,6 +637,7 @@ typedef struct aom_codec_enc_cfg {
637
637
  /*!\brief Target data rate
638
638
  *
639
639
  * Target bitrate to use for this stream, in kilobits per second.
640
+ * Max allowed value is 2000000
640
641
  */
641
642
  unsigned int rc_target_bitrate;
642
643
 
@@ -1044,6 +1045,11 @@ aom_fixed_buf_t *aom_codec_get_global_headers(aom_codec_ctx_t *ctx);
1044
1045
  * Interface is not an encoder interface.
1045
1046
  * \retval #AOM_CODEC_INVALID_PARAM
1046
1047
  * A parameter was NULL, the image format is unsupported, etc.
1048
+ *
1049
+ * \note
1050
+ * `duration` is of the unsigned long type, which can be 32 or 64 bits.
1051
+ * `duration` must be less than or equal to UINT32_MAX so that its range is
1052
+ * independent of the size of unsigned long.
1047
1053
  */
1048
1054
  aom_codec_err_t aom_codec_encode(aom_codec_ctx_t *ctx, const aom_image_t *img,
1049
1055
  aom_codec_pts_t pts, unsigned long duration,
@@ -103,7 +103,8 @@ typedef enum aom_transfer_characteristics {
103
103
  AOM_CICP_TC_SMPTE_428 = 17, /**< SMPTE ST 428 */
104
104
  AOM_CICP_TC_HLG = 18, /**< BT.2100 HLG, ARIB STD-B67 */
105
105
  AOM_CICP_TC_RESERVED_19 = 19 /**< For future use (values 19-255) */
106
- } aom_transfer_characteristics_t; /**< alias for enum aom_transfer_function */
106
+ } aom_transfer_characteristics_t; /**< alias for enum
107
+ aom_transfer_characteristics */
107
108
 
108
109
  /*!\brief List of supported matrix coefficients */
109
110
  typedef enum aom_matrix_coefficients {
@@ -125,7 +126,7 @@ typedef enum aom_matrix_coefficients {
125
126
  AOM_CICP_MC_CHROMAT_CL = 13, /**< Chromaticity-derived constant luminance */
126
127
  AOM_CICP_MC_ICTCP = 14, /**< BT.2100 ICtCp */
127
128
  AOM_CICP_MC_RESERVED_15 = 15 /**< For future use (values 15-255) */
128
- } aom_matrix_coefficients_t;
129
+ } aom_matrix_coefficients_t; /**< alias for enum aom_matrix_coefficients */
129
130
 
130
131
  /*!\brief List of supported color range */
131
132
  typedef enum aom_color_range {
@@ -144,7 +145,8 @@ typedef enum aom_chroma_sample_position {
144
145
  /**< sample, between two vertical samples */
145
146
  AOM_CSP_COLOCATED = 2, /**< Co-located with luma(0, 0) sample */
146
147
  AOM_CSP_RESERVED = 3 /**< Reserved value */
147
- } aom_chroma_sample_position_t; /**< alias for enum aom_transfer_function */
148
+ } aom_chroma_sample_position_t; /**< alias for enum aom_chroma_sample_position
149
+ */
148
150
 
149
151
  /*!\brief List of insert flags for Metadata
150
152
  *
@@ -244,10 +246,13 @@ typedef struct aom_image {
244
246
  * is NULL, the storage for the descriptor will be
245
247
  * allocated on the heap.
246
248
  * \param[in] fmt Format for the image
247
- * \param[in] d_w Width of the image
248
- * \param[in] d_h Height of the image
249
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
250
+ * (2^27).
251
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
252
+ * (2^27).
249
253
  * \param[in] align Alignment, in bytes, of the image buffer and
250
- * each row in the image (stride).
254
+ * each row in the image (stride). Must not exceed
255
+ * 65536.
251
256
  *
252
257
  * \return Returns a pointer to the initialized image descriptor. If the img
253
258
  * parameter is non-null, the value of the img parameter will be
@@ -267,10 +272,12 @@ aom_image_t *aom_img_alloc(aom_image_t *img, aom_img_fmt_t fmt,
267
272
  * is NULL, the storage for the descriptor will be
268
273
  * allocated on the heap.
269
274
  * \param[in] fmt Format for the image
270
- * \param[in] d_w Width of the image
271
- * \param[in] d_h Height of the image
275
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
276
+ * (2^27).
277
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
278
+ * (2^27).
272
279
  * \param[in] align Alignment, in bytes, of each row in the image
273
- * (stride).
280
+ * (stride). Must not exceed 65536.
274
281
  * \param[in] img_data Storage to use for the image
275
282
  *
276
283
  * \return Returns a pointer to the initialized image descriptor. If the img
@@ -291,12 +298,17 @@ aom_image_t *aom_img_wrap(aom_image_t *img, aom_img_fmt_t fmt, unsigned int d_w,
291
298
  * is NULL, the storage for the descriptor will be
292
299
  * allocated on the heap.
293
300
  * \param[in] fmt Format for the image
294
- * \param[in] d_w Width of the image
295
- * \param[in] d_h Height of the image
301
+ * \param[in] d_w Width of the image. Must not exceed 0x08000000
302
+ * (2^27).
303
+ * \param[in] d_h Height of the image. Must not exceed 0x08000000
304
+ * (2^27).
296
305
  * \param[in] align Alignment, in bytes, of the image buffer and
297
- * each row in the image (stride).
306
+ * each row in the image (stride). Must not exceed
307
+ * 65536.
298
308
  * \param[in] size_align Alignment, in pixels, of the image width and height.
309
+ * Must not exceed 65536.
299
310
  * \param[in] border A border that is padded on four sides of the image.
311
+ * Must not exceed 65536.
300
312
  *
301
313
  * \return Returns a pointer to the initialized image descriptor. If the img
302
314
  * parameter is non-null, the value of the img parameter will be
@@ -12,7 +12,7 @@
12
12
  #define AOM_AOM_AOM_INTEGER_H_
13
13
 
14
14
  /* get ptrdiff_t, size_t, wchar_t, NULL */
15
- #include <stddef.h>
15
+ #include <stddef.h> // IWYU pragma: export
16
16
 
17
17
  #if defined(_MSC_VER)
18
18
  #define AOM_FORCE_INLINE __forceinline
@@ -33,8 +33,8 @@
33
33
  #endif
34
34
  #endif // __cplusplus
35
35
 
36
- #include <stdint.h>
37
- #include <inttypes.h>
36
+ #include <stdint.h> // IWYU pragma: export
37
+ #include <inttypes.h> // IWYU pragma: export
38
38
 
39
39
  #if defined(__cplusplus)
40
40
  extern "C" {
@@ -1533,6 +1533,12 @@ enum aome_enc_control_id {
1533
1533
  */
1534
1534
  AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR = 164,
1535
1535
 
1536
+ /*!\brief Codec control to set the frame drop mode for SVC,
1537
+ * unsigned int parameter. The valid values are constants of the
1538
+ * AOM_SVC_FRAME_DROP_MODE enum: AOM_LAYER_DROP or AOM_FULL_SUPERFRAME_DROP.
1539
+ */
1540
+ AV1E_SET_SVC_FRAME_DROP_MODE = 165,
1541
+
1536
1542
  // Any new encoder control IDs should be added above.
1537
1543
  // Maximum allowed encoder control ID is 229.
1538
1544
  // No encoder control ID should be added below.
@@ -1699,6 +1705,12 @@ typedef struct aom_svc_ref_frame_comp_pred {
1699
1705
  int use_comp_pred[3]; /**<Compound reference flag. */
1700
1706
  } aom_svc_ref_frame_comp_pred_t;
1701
1707
 
1708
+ /*!brief Frame drop modes for spatial/quality layer SVC */
1709
+ typedef enum {
1710
+ AOM_LAYER_DROP, /**< Any spatial layer can drop. */
1711
+ AOM_FULL_SUPERFRAME_DROP, /**< Only full superframe can drop. */
1712
+ } AOM_SVC_FRAME_DROP_MODE;
1713
+
1702
1714
  /*!\cond */
1703
1715
  /*!\brief Encoder control function parameter type
1704
1716
  *
@@ -2178,6 +2190,9 @@ AOM_CTRL_USE_TYPE(AV1E_GET_LUMA_CDEF_STRENGTH, int *)
2178
2190
  AOM_CTRL_USE_TYPE(AV1E_SET_BITRATE_ONE_PASS_CBR, unsigned int)
2179
2191
  #define AOM_CTRL_AV1E_SET_BITRATE_ONE_PASS_CBR
2180
2192
 
2193
+ AOM_CTRL_USE_TYPE(AV1E_SET_SVC_FRAME_DROP_MODE, unsigned int)
2194
+ #define AOM_CTRL_AV1E_SET_SVC_FRAME_DROP_MODE
2195
+
2181
2196
  AOM_CTRL_USE_TYPE(AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR, int)
2182
2197
  #define AOM_CTRL_AV1E_SET_MAX_CONSEC_FRAME_DROP_CBR
2183
2198
 
@@ -234,8 +234,11 @@ enum aom_dec_control_id {
234
234
  */
235
235
  AV1D_GET_IMG_FORMAT,
236
236
 
237
- /*!\brief Codec control function to get the size of the tile, unsigned int*
238
- * parameter
237
+ /*!\brief Codec control function to get the width and height (in pixels) of
238
+ * the tiles in a tile list, unsigned int* parameter
239
+ *
240
+ * Tile width is in the high 16 bits of the output value, and tile height is
241
+ * in the low 16 bits of the output value.
239
242
  */
240
243
  AV1D_GET_TILE_SIZE,
241
244
 
package/include/archive.h CHANGED
@@ -21,8 +21,6 @@
21
21
  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22
22
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23
23
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24
- *
25
- * $FreeBSD: src/lib/libarchive/archive.h.in,v 1.50 2008/05/26 17:00:22 kientzle Exp $
26
24
  */
27
25
 
28
26
  #ifndef ARCHIVE_H_INCLUDED
@@ -36,7 +34,7 @@
36
34
  * assert that ARCHIVE_VERSION_NUMBER >= 2012108.
37
35
  */
38
36
  /* Note: Compiler will complain if this does not match archive_entry.h! */
39
- #define ARCHIVE_VERSION_NUMBER 3007002
37
+ #define ARCHIVE_VERSION_NUMBER 3007004
40
38
 
41
39
  #include <sys/stat.h>
42
40
  #include <stddef.h> /* for wchar_t */
@@ -157,7 +155,7 @@ __LA_DECL int archive_version_number(void);
157
155
  /*
158
156
  * Textual name/version of the library, useful for version displays.
159
157
  */
160
- #define ARCHIVE_VERSION_ONLY_STRING "3.7.2"
158
+ #define ARCHIVE_VERSION_ONLY_STRING "3.7.4"
161
159
  #define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
162
160
  __LA_DECL const char * archive_version_string(void);
163
161
 
@@ -535,6 +533,10 @@ __LA_DECL int archive_read_open_filenames(struct archive *,
535
533
  const char **_filenames, size_t _block_size);
536
534
  __LA_DECL int archive_read_open_filename_w(struct archive *,
537
535
  const wchar_t *_filename, size_t _block_size);
536
+ #if defined(_WIN32) && !defined(__CYGWIN__)
537
+ __LA_DECL int archive_read_open_filenames_w(struct archive *,
538
+ const wchar_t **_filenames, size_t _block_size);
539
+ #endif
538
540
  /* archive_read_open_file() is a deprecated synonym for ..._open_filename(). */
539
541
  __LA_DECL int archive_read_open_file(struct archive *,
540
542
  const char *_filename, size_t _block_size) __LA_DEPRECATED;
@@ -893,7 +895,7 @@ __LA_DECL int archive_write_set_options(struct archive *_a,
893
895
  const char *opts);
894
896
 
895
897
  /*
896
- * Set a encryption passphrase.
898
+ * Set an encryption passphrase.
897
899
  */
898
900
  __LA_DECL int archive_write_set_passphrase(struct archive *_a, const char *p);
899
901
  __LA_DECL int archive_write_set_passphrase_callback(struct archive *,
@@ -22,15 +22,13 @@
22
22
  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
23
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24
24
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
- *
26
- * $FreeBSD: head/lib/libarchive/archive_entry.h 201096 2009-12-28 02:41:27Z kientzle $
27
25
  */
28
26
 
29
27
  #ifndef ARCHIVE_ENTRY_H_INCLUDED
30
28
  #define ARCHIVE_ENTRY_H_INCLUDED
31
29
 
32
30
  /* Note: Compiler will complain if this does not match archive.h! */
33
- #define ARCHIVE_VERSION_NUMBER 3007002
31
+ #define ARCHIVE_VERSION_NUMBER 3007004
34
32
 
35
33
  /*
36
34
  * Note: archive_entry.h is for use outside of libarchive; the
@@ -251,11 +249,13 @@ __LA_DECL int archive_entry_dev_is_set(struct archive_entry *);
251
249
  __LA_DECL dev_t archive_entry_devmajor(struct archive_entry *);
252
250
  __LA_DECL dev_t archive_entry_devminor(struct archive_entry *);
253
251
  __LA_DECL __LA_MODE_T archive_entry_filetype(struct archive_entry *);
252
+ __LA_DECL int archive_entry_filetype_is_set(struct archive_entry *);
254
253
  __LA_DECL void archive_entry_fflags(struct archive_entry *,
255
254
  unsigned long * /* set */,
256
255
  unsigned long * /* clear */);
257
256
  __LA_DECL const char *archive_entry_fflags_text(struct archive_entry *);
258
257
  __LA_DECL la_int64_t archive_entry_gid(struct archive_entry *);
258
+ __LA_DECL int archive_entry_gid_is_set(struct archive_entry *);
259
259
  __LA_DECL const char *archive_entry_gname(struct archive_entry *);
260
260
  __LA_DECL const char *archive_entry_gname_utf8(struct archive_entry *);
261
261
  __LA_DECL const wchar_t *archive_entry_gname_w(struct archive_entry *);
@@ -274,6 +274,7 @@ __LA_DECL const char *archive_entry_pathname(struct archive_entry *);
274
274
  __LA_DECL const char *archive_entry_pathname_utf8(struct archive_entry *);
275
275
  __LA_DECL const wchar_t *archive_entry_pathname_w(struct archive_entry *);
276
276
  __LA_DECL __LA_MODE_T archive_entry_perm(struct archive_entry *);
277
+ __LA_DECL int archive_entry_perm_is_set(struct archive_entry *);
277
278
  __LA_DECL dev_t archive_entry_rdev(struct archive_entry *);
278
279
  __LA_DECL dev_t archive_entry_rdevmajor(struct archive_entry *);
279
280
  __LA_DECL dev_t archive_entry_rdevminor(struct archive_entry *);
@@ -287,6 +288,7 @@ __LA_DECL const char *archive_entry_symlink_utf8(struct archive_entry *);
287
288
  __LA_DECL int archive_entry_symlink_type(struct archive_entry *);
288
289
  __LA_DECL const wchar_t *archive_entry_symlink_w(struct archive_entry *);
289
290
  __LA_DECL la_int64_t archive_entry_uid(struct archive_entry *);
291
+ __LA_DECL int archive_entry_uid_is_set(struct archive_entry *);
290
292
  __LA_DECL const char *archive_entry_uname(struct archive_entry *);
291
293
  __LA_DECL const char *archive_entry_uname_utf8(struct archive_entry *);
292
294
  __LA_DECL const wchar_t *archive_entry_uname_w(struct archive_entry *);
package/include/cgif.h CHANGED
@@ -13,6 +13,9 @@ extern "C" {
13
13
  #define CGIF_ATTR_NO_GLOBAL_TABLE (1uL << 2) // disable global color table (global color table is default)
14
14
  #define CGIF_ATTR_HAS_TRANSPARENCY (1uL << 3) // first entry in color table contains transparency (alpha channel)
15
15
  #define CGIF_ATTR_NO_LOOP (1uL << 4) // don't loop a GIF animation: only play it one time.
16
+
17
+ #define CGIF_GEN_KEEP_IDENT_FRAMES (1uL << 0) // keep frames that are identical to previous frame (default is to drop them)
18
+
16
19
  #define CGIF_FRAME_ATTR_USE_LOCAL_TABLE (1uL << 0) // use a local color table for a frame (local color table is not used by default)
17
20
  #define CGIF_FRAME_ATTR_HAS_ALPHA (1uL << 1) // alpha channel index provided by user (transIndex field)
18
21
  #define CGIF_FRAME_ATTR_HAS_SET_TRANS (1uL << 2) // transparency setting provided by user (transIndex field)
package/include/expat.h CHANGED
@@ -11,11 +11,14 @@
11
11
  Copyright (c) 2000-2005 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
12
12
  Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
13
13
  Copyright (c) 2002-2016 Karl Waclawek <karl@waclawek.net>
14
- Copyright (c) 2016-2022 Sebastian Pipping <sebastian@pipping.org>
14
+ Copyright (c) 2016-2024 Sebastian Pipping <sebastian@pipping.org>
15
15
  Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
16
16
  Copyright (c) 2016 Thomas Beutlich <tc@tbeu.de>
17
17
  Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
18
18
  Copyright (c) 2022 Thijs Schreijer <thijs@thijsschreijer.nl>
19
+ Copyright (c) 2023 Hanno Böck <hanno@gentoo.org>
20
+ Copyright (c) 2023 Sony Corporation / Snild Dolkow <snild@sony.com>
21
+ Copyright (c) 2024 Taichi Haradaguchi <20001722@ymail.ne.jp>
19
22
  Licensed under the MIT license:
20
23
 
21
24
  Permission is hereby granted, free of charge, to any person obtaining
@@ -269,7 +272,7 @@ XML_ParserCreate_MM(const XML_Char *encoding,
269
272
  const XML_Memory_Handling_Suite *memsuite,
270
273
  const XML_Char *namespaceSeparator);
271
274
 
272
- /* Prepare a parser object to be re-used. This is particularly
275
+ /* Prepare a parser object to be reused. This is particularly
273
276
  valuable when memory allocation overhead is disproportionately high,
274
277
  such as when a large number of small documnents need to be parsed.
275
278
  All handlers are cleared from the parser, except for the
@@ -951,7 +954,7 @@ XMLPARSEAPI(XML_Index) XML_GetCurrentByteIndex(XML_Parser parser);
951
954
  XMLPARSEAPI(int)
952
955
  XML_GetCurrentByteCount(XML_Parser parser);
953
956
 
954
- /* If XML_CONTEXT_BYTES is defined, returns the input buffer, sets
957
+ /* If XML_CONTEXT_BYTES is >=1, returns the input buffer, sets
955
958
  the integer pointed to by offset to the offset within this buffer
956
959
  of the current parse position, and sets the integer pointed to by size
957
960
  to the size of this buffer (the number of input bytes). Otherwise
@@ -1025,7 +1028,9 @@ enum XML_FeatureEnum {
1025
1028
  XML_FEATURE_ATTR_INFO,
1026
1029
  /* Added in Expat 2.4.0. */
1027
1030
  XML_FEATURE_BILLION_LAUGHS_ATTACK_PROTECTION_MAXIMUM_AMPLIFICATION_DEFAULT,
1028
- XML_FEATURE_BILLION_LAUGHS_ATTACK_PROTECTION_ACTIVATION_THRESHOLD_DEFAULT
1031
+ XML_FEATURE_BILLION_LAUGHS_ATTACK_PROTECTION_ACTIVATION_THRESHOLD_DEFAULT,
1032
+ /* Added in Expat 2.6.0. */
1033
+ XML_FEATURE_GE
1029
1034
  /* Additional features must be added to the end of this enum. */
1030
1035
  };
1031
1036
 
@@ -1038,24 +1043,30 @@ typedef struct {
1038
1043
  XMLPARSEAPI(const XML_Feature *)
1039
1044
  XML_GetFeatureList(void);
1040
1045
 
1041
- #ifdef XML_DTD
1042
- /* Added in Expat 2.4.0. */
1046
+ #if defined(XML_DTD) || (defined(XML_GE) && XML_GE == 1)
1047
+ /* Added in Expat 2.4.0 for XML_DTD defined and
1048
+ * added in Expat 2.6.0 for XML_GE == 1. */
1043
1049
  XMLPARSEAPI(XML_Bool)
1044
1050
  XML_SetBillionLaughsAttackProtectionMaximumAmplification(
1045
1051
  XML_Parser parser, float maximumAmplificationFactor);
1046
1052
 
1047
- /* Added in Expat 2.4.0. */
1053
+ /* Added in Expat 2.4.0 for XML_DTD defined and
1054
+ * added in Expat 2.6.0 for XML_GE == 1. */
1048
1055
  XMLPARSEAPI(XML_Bool)
1049
1056
  XML_SetBillionLaughsAttackProtectionActivationThreshold(
1050
1057
  XML_Parser parser, unsigned long long activationThresholdBytes);
1051
1058
  #endif
1052
1059
 
1060
+ /* Added in Expat 2.6.0. */
1061
+ XMLPARSEAPI(XML_Bool)
1062
+ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1063
+
1053
1064
  /* Expat follows the semantic versioning convention.
1054
- See http://semver.org.
1065
+ See https://semver.org
1055
1066
  */
1056
1067
  #define XML_MAJOR_VERSION 2
1057
- #define XML_MINOR_VERSION 5
1058
- #define XML_MICRO_VERSION 0
1068
+ #define XML_MINOR_VERSION 6
1069
+ #define XML_MICRO_VERSION 2
1059
1070
 
1060
1071
  #ifdef __cplusplus
1061
1072
  }
@@ -16,6 +16,9 @@
16
16
  /* Define to 1 if you have the `arc4random_buf' function. */
17
17
  /* #undef HAVE_ARC4RANDOM_BUF */
18
18
 
19
+ /* define if the compiler supports basic C++11 syntax */
20
+ /* #undef HAVE_CXX11 */
21
+
19
22
  /* Define to 1 if you have the <dlfcn.h> header file. */
20
23
  #define HAVE_DLFCN_H 1
21
24
 
@@ -74,13 +77,13 @@
74
77
  #define PACKAGE "expat"
75
78
 
76
79
  /* Define to the address where bug reports for this package should be sent. */
77
- #define PACKAGE_BUGREPORT "expat-bugs@libexpat.org"
80
+ #define PACKAGE_BUGREPORT "https://github.com/libexpat/libexpat/issues"
78
81
 
79
82
  /* Define to the full name of this package. */
80
83
  #define PACKAGE_NAME "expat"
81
84
 
82
85
  /* Define to the full name and version of this package. */
83
- #define PACKAGE_STRING "expat 2.5.0"
86
+ #define PACKAGE_STRING "expat 2.6.2"
84
87
 
85
88
  /* Define to the one symbol short name of this package. */
86
89
  #define PACKAGE_TARNAME "expat"
@@ -89,7 +92,7 @@
89
92
  #define PACKAGE_URL ""
90
93
 
91
94
  /* Define to the version of this package. */
92
- #define PACKAGE_VERSION "2.5.0"
95
+ #define PACKAGE_VERSION "2.6.2"
93
96
 
94
97
  /* Define to 1 if all of the C90 standard headers exist (not just the ones
95
98
  required in a freestanding environment). This macro is provided for
@@ -97,7 +100,7 @@
97
100
  #define STDC_HEADERS 1
98
101
 
99
102
  /* Version number of package */
100
- #define VERSION "2.5.0"
103
+ #define VERSION "2.6.2"
101
104
 
102
105
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
103
106
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -116,7 +119,7 @@
116
119
  /* #undef XML_ATTR_INFO */
117
120
 
118
121
  /* Define to specify how much context to retain around the current parse
119
- point. */
122
+ point, 0 to disable. */
120
123
  #define XML_CONTEXT_BYTES 1024
121
124
 
122
125
  /* Define to include code reading entropy from `/dev/urandom'. */
@@ -125,6 +128,9 @@
125
128
  /* Define to make parameter entity parsing functionality available. */
126
129
  #define XML_DTD 1
127
130
 
131
+ /* Define as 1/0 to enable/disable support for general entities. */
132
+ #define XML_GE 1
133
+
128
134
  /* Define to make XML Namespaces functionality available. */
129
135
  #define XML_NS 1
130
136
 
package/include/ffi.h CHANGED
@@ -1,6 +1,6 @@
1
1
  /* -----------------------------------------------------------------*-C-*-
2
- libffi 3.4.4
3
- - Copyright (c) 2011, 2014, 2019, 2021, 2022 Anthony Green
2
+ libffi 3.4.6
3
+ - Copyright (c) 2011, 2014, 2019, 2021, 2022, 2024 Anthony Green
4
4
  - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc.
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person
@@ -140,13 +140,11 @@ typedef struct _ffi_type
140
140
  when using the static version of the library.
141
141
  Besides, as a workaround, they can define FFI_BUILDING if they
142
142
  *know* they are going to link with the static library. */
143
- #if defined _MSC_VER
143
+ #if defined _MSC_VER && !defined(FFI_STATIC_BUILD)
144
144
  # if defined FFI_BUILDING_DLL /* Building libffi.DLL with msvcc.sh */
145
145
  # define FFI_API __declspec(dllexport)
146
- # elif !defined FFI_BUILDING /* Importing libffi.DLL */
146
+ # else /* Importing libffi.DLL */
147
147
  # define FFI_API __declspec(dllimport)
148
- # else /* Building/linking static library */
149
- # define FFI_API
150
148
  # endif
151
149
  #else
152
150
  # define FFI_API
@@ -222,21 +220,12 @@ FFI_EXTERN ffi_type ffi_type_sint64;
222
220
  FFI_EXTERN ffi_type ffi_type_float;
223
221
  FFI_EXTERN ffi_type ffi_type_double;
224
222
  FFI_EXTERN ffi_type ffi_type_pointer;
225
-
226
- #if 1
227
223
  FFI_EXTERN ffi_type ffi_type_longdouble;
228
- #else
229
- #define ffi_type_longdouble ffi_type_double
230
- #endif
231
224
 
232
225
  #ifdef FFI_TARGET_HAS_COMPLEX_TYPE
233
226
  FFI_EXTERN ffi_type ffi_type_complex_float;
234
227
  FFI_EXTERN ffi_type ffi_type_complex_double;
235
- #if 1
236
228
  FFI_EXTERN ffi_type ffi_type_complex_longdouble;
237
- #else
238
- #define ffi_type_complex_longdouble ffi_type_complex_double
239
- #endif
240
229
  #endif
241
230
  #endif /* LIBFFI_HIDE_BASIC_TYPES */
242
231
 
@@ -363,14 +352,6 @@ typedef struct {
363
352
  FFI_API void *ffi_closure_alloc (size_t size, void **code);
364
353
  FFI_API void ffi_closure_free (void *);
365
354
 
366
- #if defined(PA_LINUX) || defined(PA_HPUX)
367
- #define FFI_CLOSURE_PTR(X) ((void *)((unsigned int)(X) | 2))
368
- #define FFI_RESTORE_PTR(X) ((void *)((unsigned int)(X) & ~3))
369
- #else
370
- #define FFI_CLOSURE_PTR(X) (X)
371
- #define FFI_RESTORE_PTR(X) (X)
372
- #endif
373
-
374
355
  FFI_API ffi_status
375
356
  ffi_prep_closure (ffi_closure*,
376
357
  ffi_cif *,
@@ -474,7 +455,7 @@ ffi_prep_java_raw_closure_loc (ffi_java_raw_closure*,
474
455
 
475
456
  #endif /* FFI_CLOSURES */
476
457
 
477
- #if FFI_GO_CLOSURES
458
+ #ifdef FFI_GO_CLOSURES
478
459
 
479
460
  typedef struct {
480
461
  void *tramp;
@@ -517,8 +498,14 @@ FFI_API
517
498
  ffi_status ffi_get_struct_offsets (ffi_abi abi, ffi_type *struct_type,
518
499
  size_t *offsets);
519
500
 
520
- /* Useful for eliminating compiler warnings. */
501
+ /* Convert between closure and function pointers. */
502
+ #if defined(PA_LINUX) || defined(PA_HPUX)
503
+ #define FFI_FN(f) ((void (*)(void))((unsigned int)(f) | 2))
504
+ #define FFI_CL(f) ((void *)((unsigned int)(f) & ~3))
505
+ #else
521
506
  #define FFI_FN(f) ((void (*)(void))f)
507
+ #define FFI_CL(f) ((void *)(f))
508
+ #endif
522
509
 
523
510
  /* ---- Definitions shared with assembly code ---------------------------- */
524
511
 
@@ -273,7 +273,7 @@ FT_BEGIN_HEADER
273
273
  * options set by those programs have precedence, overwriting the value
274
274
  * here with the configured one.
275
275
  */
276
- /* #define FT_CONFIG_OPTION_USE_PNG */
276
+ #define FT_CONFIG_OPTION_USE_PNG
277
277
 
278
278
 
279
279
  /**************************************************************************
@@ -290,7 +290,7 @@ FT_BEGIN_HEADER
290
290
  * options set by those programs have precedence, overwriting the value
291
291
  * here with the configured one.
292
292
  */
293
- /* #define FT_CONFIG_OPTION_USE_HARFBUZZ */
293
+ #define FT_CONFIG_OPTION_USE_HARFBUZZ
294
294
 
295
295
 
296
296
  /**************************************************************************
@@ -7,10 +7,10 @@
7
7
  #define FRIBIDI_NAME "GNU FriBidi"
8
8
  #define FRIBIDI_BUGREPORT "https://github.com/fribidi/fribidi/issues/new"
9
9
 
10
- #define FRIBIDI_VERSION "1.0.13"
10
+ #define FRIBIDI_VERSION "1.0.15"
11
11
  #define FRIBIDI_MAJOR_VERSION 1
12
12
  #define FRIBIDI_MINOR_VERSION 0
13
- #define FRIBIDI_MICRO_VERSION 13
13
+ #define FRIBIDI_MICRO_VERSION 15
14
14
  #define FRIBIDI_INTERFACE_VERSION 4
15
15
  #define FRIBIDI_INTERFACE_VERSION_STRING "4"
16
16
 
@@ -2,9 +2,9 @@
2
2
  * generated by gen-unicode-version (fribidi unknown)
3
3
  * from the file ReadMe.txt */
4
4
 
5
- #define FRIBIDI_UNICODE_VERSION "14.0.0"
6
- #define FRIBIDI_UNICODE_MAJOR_VERSION 14
7
- #define FRIBIDI_UNICODE_MINOR_VERSION 0
5
+ #define FRIBIDI_UNICODE_VERSION "15.1.0"
6
+ #define FRIBIDI_UNICODE_MAJOR_VERSION 15
7
+ #define FRIBIDI_UNICODE_MINOR_VERSION 1
8
8
  #define FRIBIDI_UNICODE_MICRO_VERSION 0
9
9
 
10
10
  /* End of generated fribidi-unicode-version.h */
@@ -27,14 +27,15 @@
27
27
 
28
28
  G_BEGIN_DECLS
29
29
 
30
+ typedef struct _GFileDescriptorBased GFileDescriptorBased;
31
+ typedef struct _GFileDescriptorBasedIface GFileDescriptorBasedIface;
32
+
30
33
  #define G_TYPE_FILE_DESCRIPTOR_BASED (g_file_descriptor_based_get_type ())
31
34
  #define G_FILE_DESCRIPTOR_BASED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_FILE_DESCRIPTOR_BASED, GFileDescriptorBased))
32
35
  #define G_IS_FILE_DESCRIPTOR_BASED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_FILE_DESCRIPTOR_BASED))
33
36
  #define G_FILE_DESCRIPTOR_BASED_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_FILE_DESCRIPTOR_BASED, GFileDescriptorBasedIface))
34
37
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileDescriptorBased, g_object_unref)
35
38
 
36
- typedef struct _GFileDescriptorBasedIface GFileDescriptorBasedIface;
37
-
38
39
  /**
39
40
  * GFileDescriptorBasedIface:
40
41
  * @g_iface: The parent interface.