@img/sharp-libvips-dev 1.1.0-rc3 → 1.1.0-rc4

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 (112) hide show
  1. package/include/aom/aom_codec.h +18 -1
  2. package/include/aom/aom_encoder.h +2 -0
  3. package/include/aom/aom_image.h +3 -1
  4. package/include/aom/aomcx.h +52 -12
  5. package/include/cairo/cairo-version.h +1 -1
  6. package/include/expat.h +4 -2
  7. package/include/expat_config.h +3 -3
  8. package/include/ffi.h +1 -1
  9. package/include/fontconfig/fontconfig.h +22 -2
  10. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
  11. package/include/gio-unix-2.0/gio/gunixmounts.h +95 -23
  12. package/include/glib-2.0/gio/gdbusconnection.h +65 -5
  13. package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
  14. package/include/glib-2.0/gio/gfile.h +4 -0
  15. package/include/glib-2.0/gio/gio-visibility.h +34 -0
  16. package/include/glib-2.0/gio/gioenums.h +14 -3
  17. package/include/glib-2.0/gio/gioenumtypes.h +3 -3
  18. package/include/glib-2.0/gio/giotypes.h +4 -4
  19. package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
  20. package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  21. package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
  22. package/include/glib-2.0/gio/gproxy.h +1 -1
  23. package/include/glib-2.0/gio/gproxyresolver.h +1 -1
  24. package/include/glib-2.0/gio/gresource.h +6 -0
  25. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  26. package/include/glib-2.0/gio/gvfs.h +3 -3
  27. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  28. package/include/glib-2.0/girepository/gi-visibility.h +34 -0
  29. package/include/glib-2.0/girepository/gicallableinfo.h +12 -0
  30. package/include/glib-2.0/girepository/gitypes.h +1 -0
  31. package/include/glib-2.0/glib/garray.h +1 -1
  32. package/include/glib-2.0/glib/gerror.h +1 -1
  33. package/include/glib-2.0/glib/glib-visibility.h +34 -0
  34. package/include/glib-2.0/glib/gmacros.h +3 -3
  35. package/include/glib-2.0/glib/gmain.h +79 -1
  36. package/include/glib-2.0/glib/gmem.h +3 -0
  37. package/include/glib-2.0/glib/goption.h +58 -36
  38. package/include/glib-2.0/glib/gqueue.h +1 -1
  39. package/include/glib-2.0/glib/grefstring.h +4 -0
  40. package/include/glib-2.0/glib/gstdio.h +65 -0
  41. package/include/glib-2.0/glib/gstrfuncs.h +4 -0
  42. package/include/glib-2.0/glib/gtestutils.h +65 -33
  43. package/include/glib-2.0/glib/gthread.h +2 -0
  44. package/include/glib-2.0/glib/gtypes.h +1 -1
  45. package/include/glib-2.0/glib/gunicode.h +21 -5
  46. package/include/glib-2.0/glib/gvariant.h +50 -13
  47. package/include/glib-2.0/glib/gvarianttype.h +62 -46
  48. package/include/glib-2.0/glib/gversionmacros.h +9 -0
  49. package/include/glib-2.0/glib-unix.h +21 -0
  50. package/include/glib-2.0/gmodule/gmodule-visibility.h +34 -0
  51. package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
  52. package/include/glib-2.0/gobject/gobject-visibility.h +34 -0
  53. package/include/glib-2.0/gobject/gobjectnotifyqueue.c +1 -1
  54. package/include/glib-2.0/gobject/gparam.h +4 -2
  55. package/include/glib-2.0/gobject/gsignal.h +22 -7
  56. package/include/glib-2.0/gobject/gtype.h +10 -4
  57. package/include/harfbuzz/hb-draw.h +1 -1
  58. package/include/harfbuzz/hb-face.h +15 -2
  59. package/include/harfbuzz/hb-ft.h +11 -1
  60. package/include/harfbuzz/hb-ot-shape.h +6 -0
  61. package/include/harfbuzz/hb-paint.h +1 -1
  62. package/include/harfbuzz/hb-shape.h +2 -0
  63. package/include/harfbuzz/hb-subset-serialize.h +83 -0
  64. package/include/harfbuzz/hb-subset.h +12 -0
  65. package/include/harfbuzz/hb-version.h +3 -3
  66. package/include/lcms2.h +7 -5
  67. package/include/lcms2_plugin.h +1 -1
  68. package/include/libexif/exif-byte-order.h +2 -0
  69. package/include/libexif/exif-content.h +2 -0
  70. package/include/libexif/exif-data-type.h +2 -0
  71. package/include/libexif/exif-data.h +3 -2
  72. package/include/libexif/exif-entry.h +2 -0
  73. package/include/libexif/exif-format.h +2 -0
  74. package/include/libexif/exif-ifd.h +2 -0
  75. package/include/libexif/exif-loader.h +2 -0
  76. package/include/libexif/exif-log.h +2 -0
  77. package/include/libexif/exif-mem.h +2 -0
  78. package/include/libexif/exif-mnote-data.h +2 -0
  79. package/include/libexif/exif-tag.h +2 -0
  80. package/include/libexif/exif-utils.h +2 -0
  81. package/include/libheif/heif.h +12 -3
  82. package/include/libheif/heif_cxx.h +18 -12
  83. package/include/libheif/heif_items.h +2 -2
  84. package/include/libheif/heif_properties.h +4 -4
  85. package/include/libheif/heif_version.h +2 -2
  86. package/include/libpng16/png.h +120 -12
  87. package/include/libpng16/pngconf.h +2 -3
  88. package/include/libpng16/pnglibconf.h +11 -2
  89. package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
  90. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
  91. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  92. package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
  93. package/include/libxml2/libxml/xmlversion.h +4 -4
  94. package/include/pango-1.0/pango/pango-features.h +3 -3
  95. package/include/pango-1.0/pango/pango-font.h +31 -2
  96. package/include/pango-1.0/pango/pango-fontmap.h +4 -0
  97. package/include/pango-1.0/pango/pango-layout.h +10 -1
  98. package/include/pango-1.0/pango/pango-version-macros.h +52 -0
  99. package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
  100. package/include/pixman-1/pixman-version.h +3 -3
  101. package/include/png.h +120 -12
  102. package/include/pngconf.h +2 -3
  103. package/include/pnglibconf.h +11 -2
  104. package/include/vips/colour.h +2 -0
  105. package/include/vips/version.h +4 -4
  106. package/include/webp/encode.h +5 -4
  107. package/include/webp/sharpyuv/sharpyuv.h +14 -5
  108. package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
  109. package/include/webp/types.h +2 -2
  110. package/include/zlib.h +4 -4
  111. package/package.json +1 -1
  112. package/versions.json +19 -19
@@ -20,6 +20,8 @@
20
20
  * License along with this library; if not, write to the
21
21
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
22
22
  * Boston, MA 02110-1301 USA.
23
+ *
24
+ * SPDX-License-Identifier: LGPL-2.0-or-later
23
25
  */
24
26
 
25
27
  #ifndef LIBEXIF_EXIF_MEM_H
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_MNOTE_DATA_H
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_TAG_H
@@ -18,6 +18,8 @@
18
18
  * License along with this library; if not, write to the
19
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
21
23
  */
22
24
 
23
25
  #ifndef LIBEXIF_EXIF_UTILS_H
@@ -55,7 +55,7 @@ extern "C" {
55
55
  // 1.18 5 7 1 1 1 1
56
56
  // 1.19 6 7 2 1 1 1
57
57
 
58
- #if defined(_MSC_VER) && !defined(LIBHEIF_STATIC_BUILD)
58
+ #if (defined(_WIN32) || defined __CYGWIN__) && !defined(LIBHEIF_STATIC_BUILD)
59
59
  #ifdef LIBHEIF_EXPORTS
60
60
  #define LIBHEIF_API __declspec(dllexport)
61
61
  #else
@@ -1324,7 +1324,10 @@ struct heif_entity_group
1324
1324
  // Use 0 for `type_filter` or `item_filter` to disable the filter.
1325
1325
  // Returns an array of heif_entity_group structs with *out_num_groups entries.
1326
1326
  LIBHEIF_API
1327
- struct heif_entity_group* heif_context_get_entity_groups(const struct heif_context*, uint32_t type_filter, uint32_t item_filter, int* out_num_groups);
1327
+ struct heif_entity_group* heif_context_get_entity_groups(const struct heif_context*,
1328
+ uint32_t type_filter,
1329
+ heif_item_id item_filter,
1330
+ int* out_num_groups);
1328
1331
 
1329
1332
  // Release an array of entity groups returned by heif_context_get_entity_groups().
1330
1333
  LIBHEIF_API
@@ -1894,6 +1897,7 @@ int heif_image_has_channel(const struct heif_image*, enum heif_channel channel);
1894
1897
  // The 'out_stride' is returned as "bytes per line".
1895
1898
  // When out_stride is NULL, no value will be written.
1896
1899
  // Returns NULL if a non-existing channel was given.
1900
+ // TODO: it would be better if the 'stride' parameter would be size_t to prevent integer overflows when this value is multiplicated with large y coordinates.
1897
1901
  LIBHEIF_API
1898
1902
  const uint8_t* heif_image_get_plane_readonly(const struct heif_image*,
1899
1903
  enum heif_channel channel,
@@ -2363,7 +2367,7 @@ struct heif_encoding_options
2363
2367
 
2364
2368
  // Set this to the NCLX parameters to be used in the output image or set to NULL
2365
2369
  // when the same parameters as in the input image should be used.
2366
- const struct heif_color_profile_nclx* output_nclx_profile;
2370
+ struct heif_color_profile_nclx* output_nclx_profile;
2367
2371
 
2368
2372
  uint8_t macOS_compatibility_workaround_no_nclx_profile;
2369
2373
 
@@ -2380,6 +2384,11 @@ struct heif_encoding_options
2380
2384
 
2381
2385
  // Set this to true to use compressed form of uncC where possible.
2382
2386
  uint8_t prefer_uncC_short_form;
2387
+
2388
+ // TODO: we should add a flag to force MIAF compatible outputs. E.g. this will put restrictions on grid tile sizes and
2389
+ // might add a clap box when the grid output size does not match the color subsampling factors.
2390
+ // Since some of these constraints have to be known before actually encoding the image, "forcing MIAF compatibility"
2391
+ // could also be a flag in the heif_context.
2383
2392
  };
2384
2393
 
2385
2394
  LIBHEIF_API
@@ -1,21 +1,27 @@
1
1
  /*
2
2
  * C++ interface to libheif
3
- * Copyright (c) 2018 Dirk Farin <dirk.farin@gmail.com>
4
3
  *
5
- * This file is part of libheif.
4
+ * MIT License
5
+ *
6
+ * Copyright (c) 2018 Dirk Farin <dirk.farin@gmail.com>
6
7
  *
7
- * libheif is free software: you can redistribute it and/or modify
8
- * it under the terms of the GNU Lesser General Public License as
9
- * published by the Free Software Foundation, either version 3 of
10
- * the License, or (at your option) any later version.
8
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
9
+ * of this software and associated documentation files (the "Software"), to deal
10
+ * in the Software without restriction, including without limitation the rights
11
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12
+ * copies of the Software, and to permit persons to whom the Software is
13
+ * furnished to do so, subject to the following conditions:
11
14
  *
12
- * libheif is distributed in the hope that it will be useful,
13
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
- * GNU Lesser General Public License for more details.
15
+ * The above copyright notice and this permission notice shall be included in all
16
+ * copies or substantial portions of the Software.
16
17
  *
17
- * You should have received a copy of the GNU Lesser General Public License
18
- * along with libheif. If not, see <http://www.gnu.org/licenses/>.
18
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24
+ * SOFTWARE.
19
25
  */
20
26
 
21
27
  #ifndef LIBHEIF_HEIF_CXX_H
@@ -151,7 +151,7 @@ struct heif_error heif_item_set_item_name(struct heif_context* ctx,
151
151
  LIBHEIF_API
152
152
  struct heif_error heif_item_get_item_data(const struct heif_context* ctx,
153
153
  heif_item_id item_id,
154
- heif_metadata_compression* out_compression_format,
154
+ enum heif_metadata_compression* out_compression_format,
155
155
  uint8_t** out_data, size_t* out_data_size);
156
156
 
157
157
  /**
@@ -213,7 +213,7 @@ struct heif_error heif_context_add_item(struct heif_context* ctx,
213
213
  LIBHEIF_API
214
214
  struct heif_error heif_context_add_mime_item(struct heif_context* ctx,
215
215
  const char* content_type,
216
- heif_metadata_compression content_encoding,
216
+ enum heif_metadata_compression content_encoding,
217
217
  const void* data, int size,
218
218
  heif_item_id* out_item_id);
219
219
 
@@ -135,7 +135,7 @@ void heif_item_get_property_transform_crop_borders(const struct heif_context* co
135
135
  int* left, int* top, int* right, int* bottom);
136
136
 
137
137
  /**
138
- * @param context
138
+ * @param context The heif_context for the file
139
139
  * @param itemId The image item id to which this property belongs.
140
140
  * @param fourcc_type The short four-cc type of the property to add.
141
141
  * @param uuid_type If fourcc_type=='uuid', this should point to a 16-byte UUID type. It is ignored otherwise and can be NULL.
@@ -160,7 +160,7 @@ struct heif_error heif_item_get_property_raw_size(const struct heif_context* con
160
160
  size_t* out_size);
161
161
 
162
162
  /**
163
- * @param data_out User-supplied array to write the property data to. The required size of the output array is given by heif_item_get_property_raw_size().
163
+ * @param out_data User-supplied array to write the property data to. The required size of the output array is given by heif_item_get_property_raw_size().
164
164
  */
165
165
  LIBHEIF_API
166
166
  struct heif_error heif_item_get_property_raw_data(const struct heif_context* context,
@@ -177,8 +177,8 @@ struct heif_error heif_item_get_property_raw_data(const struct heif_context* con
177
177
  *
178
178
  * @param context the heif_context containing the HEIF file
179
179
  * @param itemId the image item id to which this property belongs.
180
- * @param propertyID the property index (1-based) to get the extended type for
181
- * @param extended_type output of the call, must be a pointer to at least 16-bytes.
180
+ * @param propertyId the property index (1-based) to get the extended type for
181
+ * @param out_extended_type output of the call, must be a pointer to at least 16-bytes.
182
182
  * @return heif_error_success or an error indicating the failure
183
183
  */
184
184
  LIBHEIF_API
@@ -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) | (19<<16) | (1<<8) | 0)
31
+ #define LIBHEIF_NUMERIC_VERSION ((1<<24) | (19<<16) | (7<<8) | 0)
32
32
 
33
33
  /* Version string */
34
- #define LIBHEIF_VERSION "1.19.1"
34
+ #define LIBHEIF_VERSION "1.19.7"
35
35
 
36
36
  #define LIBHEIF_PLUGIN_DIRECTORY "/target/lib/libheif"
37
37
 
@@ -1,9 +1,8 @@
1
-
2
1
  /* png.h - header file for PNG reference library
3
2
  *
4
- * libpng version 1.6.44
3
+ * libpng version 1.6.47
5
4
  *
6
- * Copyright (c) 2018-2024 Cosmin Truta
5
+ * Copyright (c) 2018-2025 Cosmin Truta
7
6
  * Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
8
7
  * Copyright (c) 1996-1997 Andreas Dilger
9
8
  * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -15,7 +14,7 @@
15
14
  * libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
16
15
  * libpng versions 0.97, January 1998, through 1.6.35, July 2018:
17
16
  * Glenn Randers-Pehrson
18
- * libpng versions 1.6.36, December 2018, through 1.6.44, September 2024:
17
+ * libpng versions 1.6.36, December 2018, through 1.6.47, February 2025:
19
18
  * Cosmin Truta
20
19
  * See also "Contributing Authors", below.
21
20
  */
@@ -27,8 +26,8 @@
27
26
  * PNG Reference Library License version 2
28
27
  * ---------------------------------------
29
28
  *
30
- * * Copyright (c) 1995-2024 The PNG Reference Library Authors.
31
- * * Copyright (c) 2018-2024 Cosmin Truta.
29
+ * * Copyright (c) 1995-2025 The PNG Reference Library Authors.
30
+ * * Copyright (c) 2018-2025 Cosmin Truta.
32
31
  * * Copyright (c) 2000-2002, 2004, 2006-2018 Glenn Randers-Pehrson.
33
32
  * * Copyright (c) 1996-1997 Andreas Dilger.
34
33
  * * Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.
@@ -239,7 +238,7 @@
239
238
  * ...
240
239
  * 1.5.30 15 10530 15.so.15.30[.0]
241
240
  * ...
242
- * 1.6.44 16 10644 16.so.16.44[.0]
241
+ * 1.6.47 16 10647 16.so.16.47[.0]
243
242
  *
244
243
  * Henceforth the source version will match the shared-library major and
245
244
  * minor numbers; the shared-library major version number will be used for
@@ -275,7 +274,7 @@
275
274
  */
276
275
 
277
276
  /* Version information for png.h - this should match the version in png.c */
278
- #define PNG_LIBPNG_VER_STRING "1.6.44"
277
+ #define PNG_LIBPNG_VER_STRING "1.6.47"
279
278
  #define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
280
279
 
281
280
  /* The versions of shared library builds should stay in sync, going forward */
@@ -286,7 +285,7 @@
286
285
  /* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
287
286
  #define PNG_LIBPNG_VER_MAJOR 1
288
287
  #define PNG_LIBPNG_VER_MINOR 6
289
- #define PNG_LIBPNG_VER_RELEASE 44
288
+ #define PNG_LIBPNG_VER_RELEASE 47
290
289
 
291
290
  /* This should be zero for a public release, or non-zero for a
292
291
  * development version.
@@ -317,7 +316,7 @@
317
316
  * From version 1.0.1 it is:
318
317
  * XXYYZZ, where XX=major, YY=minor, ZZ=release
319
318
  */
320
- #define PNG_LIBPNG_VER 10644 /* 1.6.44 */
319
+ #define PNG_LIBPNG_VER 10647 /* 1.6.47 */
321
320
 
322
321
  /* Library configuration: these options cannot be changed after
323
322
  * the library has been built.
@@ -427,7 +426,7 @@ extern "C" {
427
426
  /* This triggers a compiler error in png.c, if png.c and png.h
428
427
  * do not agree upon the version number.
429
428
  */
430
- typedef char* png_libpng_version_1_6_44;
429
+ typedef char* png_libpng_version_1_6_47;
431
430
 
432
431
  /* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
433
432
  *
@@ -745,6 +744,21 @@ typedef png_unknown_chunk * * png_unknown_chunkpp;
745
744
  #define PNG_INFO_sCAL 0x4000U /* ESR, 1.0.6 */
746
745
  #define PNG_INFO_IDAT 0x8000U /* ESR, 1.0.6 */
747
746
  #define PNG_INFO_eXIf 0x10000U /* GR-P, 1.6.31 */
747
+ #define PNG_INFO_cICP 0x20000U /* PNGv3: 1.6.45 */
748
+ #define PNG_INFO_cLLI 0x40000U /* PNGv3: 1.6.45 */
749
+ #define PNG_INFO_mDCV 0x80000U /* PNGv3: 1.6.45 */
750
+ /* APNG: these chunks are stored as unknown, these flags are never set
751
+ * however they are provided as a convenience for implementors of APNG and
752
+ * avoids any merge conflicts.
753
+ *
754
+ * Private chunks: these chunk names violate the chunk name recommendations
755
+ * because the chunk definitions have no signature and because the private
756
+ * chunks with these names have been reserved. Private definitions should
757
+ * avoid them.
758
+ */
759
+ #define PNG_INFO_acTL 0x100000U /* PNGv3: 1.6.45: unknown */
760
+ #define PNG_INFO_fcTL 0x200000U /* PNGv3: 1.6.45: unknown */
761
+ #define PNG_INFO_fdAT 0x400000U /* PNGv3: 1.6.45: unknown */
748
762
 
749
763
  /* This is used for the transformation routines, as some of them
750
764
  * change these values for the row. It also should enable using
@@ -1974,6 +1988,46 @@ PNG_FIXED_EXPORT(233, void, png_set_cHRM_XYZ_fixed, (png_const_structrp png_ptr,
1974
1988
  png_fixed_point int_blue_Z))
1975
1989
  #endif
1976
1990
 
1991
+ #ifdef PNG_cICP_SUPPORTED
1992
+ PNG_EXPORT(250, png_uint_32, png_get_cICP, (png_const_structrp png_ptr,
1993
+ png_const_inforp info_ptr, png_bytep colour_primaries,
1994
+ png_bytep transfer_function, png_bytep matrix_coefficients,
1995
+ png_bytep video_full_range_flag));
1996
+ #endif
1997
+
1998
+ #ifdef PNG_cICP_SUPPORTED
1999
+ PNG_EXPORT(251, void, png_set_cICP, (png_const_structrp png_ptr,
2000
+ png_inforp info_ptr, png_byte colour_primaries,
2001
+ png_byte transfer_function, png_byte matrix_coefficients,
2002
+ png_byte video_full_range_flag));
2003
+ #endif
2004
+
2005
+ #ifdef PNG_cLLI_SUPPORTED
2006
+ PNG_FP_EXPORT(252, png_uint_32, png_get_cLLI, (png_const_structrp png_ptr,
2007
+ png_const_inforp info_ptr, double *maximum_content_light_level,
2008
+ double *maximum_frame_average_light_level))
2009
+ PNG_FIXED_EXPORT(253, png_uint_32, png_get_cLLI_fixed,
2010
+ (png_const_structrp png_ptr, png_const_inforp info_ptr,
2011
+ /* The values below are in cd/m2 (nits) and are scaled by 10,000; not
2012
+ * 100,000 as in the case of png_fixed_point.
2013
+ */
2014
+ png_uint_32p maximum_content_light_level_scaled_by_10000,
2015
+ png_uint_32p maximum_frame_average_light_level_scaled_by_10000))
2016
+ #endif
2017
+
2018
+ #ifdef PNG_cLLI_SUPPORTED
2019
+ PNG_FP_EXPORT(254, void, png_set_cLLI, (png_const_structrp png_ptr,
2020
+ png_inforp info_ptr, double maximum_content_light_level,
2021
+ double maximum_frame_average_light_level))
2022
+ PNG_FIXED_EXPORT(255, void, png_set_cLLI_fixed, (png_const_structrp png_ptr,
2023
+ png_inforp info_ptr,
2024
+ /* The values below are in cd/m2 (nits) and are scaled by 10,000; not
2025
+ * 100,000 as in the case of png_fixed_point.
2026
+ */
2027
+ png_uint_32 maximum_content_light_level_scaled_by_10000,
2028
+ png_uint_32 maximum_frame_average_light_level_scaled_by_10000))
2029
+ #endif
2030
+
1977
2031
  #ifdef PNG_eXIf_SUPPORTED
1978
2032
  PNG_EXPORT(246, png_uint_32, png_get_eXIf, (png_const_structrp png_ptr,
1979
2033
  png_inforp info_ptr, png_bytep *exif));
@@ -2018,6 +2072,60 @@ PNG_EXPORT(144, void, png_set_IHDR, (png_const_structrp png_ptr,
2018
2072
  int color_type, int interlace_method, int compression_method,
2019
2073
  int filter_method));
2020
2074
 
2075
+ #ifdef PNG_mDCV_SUPPORTED
2076
+ PNG_FP_EXPORT(256, png_uint_32, png_get_mDCV, (png_const_structrp png_ptr,
2077
+ png_const_inforp info_ptr,
2078
+ /* The chromaticities of the mastering display. As cHRM, but independent of
2079
+ * the encoding endpoints in cHRM, or cICP, or iCCP. These values will
2080
+ * always be in the range 0 to 1.3107.
2081
+ */
2082
+ double *white_x, double *white_y, double *red_x, double *red_y,
2083
+ double *green_x, double *green_y, double *blue_x, double *blue_y,
2084
+ /* Mastering display luminance in cd/m2 (nits). */
2085
+ double *mastering_display_maximum_luminance,
2086
+ double *mastering_display_minimum_luminance))
2087
+
2088
+ PNG_FIXED_EXPORT(257, png_uint_32, png_get_mDCV_fixed,
2089
+ (png_const_structrp png_ptr, png_const_inforp info_ptr,
2090
+ png_fixed_point *int_white_x, png_fixed_point *int_white_y,
2091
+ png_fixed_point *int_red_x, png_fixed_point *int_red_y,
2092
+ png_fixed_point *int_green_x, png_fixed_point *int_green_y,
2093
+ png_fixed_point *int_blue_x, png_fixed_point *int_blue_y,
2094
+ /* Mastering display luminance in cd/m2 (nits) multiplied (scaled) by
2095
+ * 10,000.
2096
+ */
2097
+ png_uint_32p mastering_display_maximum_luminance_scaled_by_10000,
2098
+ png_uint_32p mastering_display_minimum_luminance_scaled_by_10000))
2099
+ #endif
2100
+
2101
+ #ifdef PNG_mDCV_SUPPORTED
2102
+ PNG_FP_EXPORT(258, void, png_set_mDCV, (png_const_structrp png_ptr,
2103
+ png_inforp info_ptr,
2104
+ /* The chromaticities of the mastering display. As cHRM, but independent of
2105
+ * the encoding endpoints in cHRM, or cICP, or iCCP.
2106
+ */
2107
+ double white_x, double white_y, double red_x, double red_y, double green_x,
2108
+ double green_y, double blue_x, double blue_y,
2109
+ /* Mastering display luminance in cd/m2 (nits). */
2110
+ double mastering_display_maximum_luminance,
2111
+ double mastering_display_minimum_luminance))
2112
+
2113
+ PNG_FIXED_EXPORT(259, void, png_set_mDCV_fixed, (png_const_structrp png_ptr,
2114
+ png_inforp info_ptr,
2115
+ /* The admissible range of these values is not the full range of a PNG
2116
+ * fixed point value. Negative values cannot be encoded and the maximum
2117
+ * value is about 1.3 */
2118
+ png_fixed_point int_white_x, png_fixed_point int_white_y,
2119
+ png_fixed_point int_red_x, png_fixed_point int_red_y,
2120
+ png_fixed_point int_green_x, png_fixed_point int_green_y,
2121
+ png_fixed_point int_blue_x, png_fixed_point int_blue_y,
2122
+ /* These are PNG unsigned 4 byte values: 31-bit unsigned values. The MSB
2123
+ * must be zero.
2124
+ */
2125
+ png_uint_32 mastering_display_maximum_luminance_scaled_by_10000,
2126
+ png_uint_32 mastering_display_minimum_luminance_scaled_by_10000))
2127
+ #endif
2128
+
2021
2129
  #ifdef PNG_oFFs_SUPPORTED
2022
2130
  PNG_EXPORT(145, png_uint_32, png_get_oFFs, (png_const_structrp png_ptr,
2023
2131
  png_const_inforp info_ptr, png_int_32 *offset_x, png_int_32 *offset_y,
@@ -3238,7 +3346,7 @@ PNG_EXPORT(244, int, png_set_option, (png_structrp png_ptr, int option,
3238
3346
  * one to use is one more than this.)
3239
3347
  */
3240
3348
  #ifdef PNG_EXPORT_LAST_ORDINAL
3241
- PNG_EXPORT_LAST_ORDINAL(249);
3349
+ PNG_EXPORT_LAST_ORDINAL(259);
3242
3350
  #endif
3243
3351
 
3244
3352
  #ifdef __cplusplus
@@ -1,9 +1,8 @@
1
-
2
1
  /* pngconf.h - machine-configurable file for libpng
3
2
  *
4
- * libpng version 1.6.44
3
+ * libpng version 1.6.47
5
4
  *
6
- * Copyright (c) 2018-2024 Cosmin Truta
5
+ * Copyright (c) 2018-2025 Cosmin Truta
7
6
  * Copyright (c) 1998-2002,2004,2006-2016,2018 Glenn Randers-Pehrson
8
7
  * Copyright (c) 1996-1997 Andreas Dilger
9
8
  * 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.44 */
3
+ /* libpng version 1.6.47 */
4
4
 
5
- /* Copyright (c) 2018-2024 Cosmin Truta */
5
+ /* Copyright (c) 2018-2025 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. */
@@ -88,11 +88,14 @@
88
88
  #define PNG_READ_USER_TRANSFORM_SUPPORTED
89
89
  #define PNG_READ_bKGD_SUPPORTED
90
90
  #define PNG_READ_cHRM_SUPPORTED
91
+ #define PNG_READ_cICP_SUPPORTED
92
+ #define PNG_READ_cLLI_SUPPORTED
91
93
  #define PNG_READ_eXIf_SUPPORTED
92
94
  #define PNG_READ_gAMA_SUPPORTED
93
95
  #define PNG_READ_hIST_SUPPORTED
94
96
  #define PNG_READ_iCCP_SUPPORTED
95
97
  #define PNG_READ_iTXt_SUPPORTED
98
+ #define PNG_READ_mDCV_SUPPORTED
96
99
  #define PNG_READ_oFFs_SUPPORTED
97
100
  #define PNG_READ_pCAL_SUPPORTED
98
101
  #define PNG_READ_pHYs_SUPPORTED
@@ -158,11 +161,14 @@
158
161
  #define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
159
162
  #define PNG_WRITE_bKGD_SUPPORTED
160
163
  #define PNG_WRITE_cHRM_SUPPORTED
164
+ #define PNG_WRITE_cICP_SUPPORTED
165
+ #define PNG_WRITE_cLLI_SUPPORTED
161
166
  #define PNG_WRITE_eXIf_SUPPORTED
162
167
  #define PNG_WRITE_gAMA_SUPPORTED
163
168
  #define PNG_WRITE_hIST_SUPPORTED
164
169
  #define PNG_WRITE_iCCP_SUPPORTED
165
170
  #define PNG_WRITE_iTXt_SUPPORTED
171
+ #define PNG_WRITE_mDCV_SUPPORTED
166
172
  #define PNG_WRITE_oFFs_SUPPORTED
167
173
  #define PNG_WRITE_pCAL_SUPPORTED
168
174
  #define PNG_WRITE_pHYs_SUPPORTED
@@ -176,11 +182,14 @@
176
182
  #define PNG_WRITE_zTXt_SUPPORTED
177
183
  #define PNG_bKGD_SUPPORTED
178
184
  #define PNG_cHRM_SUPPORTED
185
+ #define PNG_cICP_SUPPORTED
186
+ #define PNG_cLLI_SUPPORTED
179
187
  #define PNG_eXIf_SUPPORTED
180
188
  #define PNG_gAMA_SUPPORTED
181
189
  #define PNG_hIST_SUPPORTED
182
190
  #define PNG_iCCP_SUPPORTED
183
191
  #define PNG_iTXt_SUPPORTED
192
+ #define PNG_mDCV_SUPPORTED
184
193
  #define PNG_oFFs_SUPPORTED
185
194
  #define PNG_pCAL_SUPPORTED
186
195
  #define PNG_pHYs_SUPPORTED
@@ -124,7 +124,7 @@
124
124
  #define LIBRSVG_HAVE_CSS (TRUE)
125
125
  #define LIBRSVG_HAVE_PIXBUF (0)
126
126
 
127
- #define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE)
127
+ #define LIBRSVG_CHECK_FEATURE(FEATURE) (LIBRSVG_HAVE_##FEATURE)
128
128
 
129
129
  #ifndef __GTK_DOC_IGNORE__
130
130
 
@@ -72,7 +72,7 @@ GdkPixbuf *rsvg_handle_get_pixbuf (RsvgHandle *handle);
72
72
  * Returns: (transfer full) (nullable): A pixbuf, or %NULL on error
73
73
  * during rendering.
74
74
  *
75
- * Since: 2.58
75
+ * Since: 2.59
76
76
  **/
77
77
  RSVG_API
78
78
  GdkPixbuf *rsvg_handle_get_pixbuf_and_error (RsvgHandle *handle, GError **error);
@@ -7,7 +7,7 @@
7
7
 
8
8
  #define LIBRSVG_MAJOR_VERSION (2)
9
9
  #define LIBRSVG_MINOR_VERSION (59)
10
- #define LIBRSVG_MICRO_VERSION (2)
11
- #define LIBRSVG_VERSION "2.59.2"
10
+ #define LIBRSVG_MICRO_VERSION (91)
11
+ #define LIBRSVG_VERSION "2.59.91"
12
12
 
13
13
  #endif
@@ -1328,7 +1328,7 @@ G_END_DECLS
1328
1328
  #include <librsvg/rsvg-version.h>
1329
1329
  #include <librsvg/rsvg-cairo.h>
1330
1330
 
1331
- #if LIBRSVG_CHECK_FEATURE(PIXBUF)
1331
+ #if LIBRSVG_HAVE_PIXBUF
1332
1332
  #include <librsvg/rsvg-pixbuf.h>
1333
1333
  #endif
1334
1334
 
@@ -15,21 +15,21 @@
15
15
  *
16
16
  * the version string like "1.2.3"
17
17
  */
18
- #define LIBXML_DOTTED_VERSION "2.13.4"
18
+ #define LIBXML_DOTTED_VERSION "2.13.6"
19
19
 
20
20
  /**
21
21
  * LIBXML_VERSION:
22
22
  *
23
23
  * the version number: 1.2.3 value is 10203
24
24
  */
25
- #define LIBXML_VERSION 21304
25
+ #define LIBXML_VERSION 21306
26
26
 
27
27
  /**
28
28
  * LIBXML_VERSION_STRING:
29
29
  *
30
30
  * the version number string, 1.2.3 value is "10203"
31
31
  */
32
- #define LIBXML_VERSION_STRING "21304"
32
+ #define LIBXML_VERSION_STRING "21306"
33
33
 
34
34
  /**
35
35
  * LIBXML_VERSION_EXTRA:
@@ -44,7 +44,7 @@
44
44
  * Macro to check that the libxml version in use is compatible with
45
45
  * the version the software has been compiled against
46
46
  */
47
- #define LIBXML_TEST_VERSION xmlCheckVersion(21304);
47
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21306);
48
48
 
49
49
  /**
50
50
  * LIBXML_THREAD_ENABLED:
@@ -2,9 +2,9 @@
2
2
  #define PANGO_FEATURES_H
3
3
 
4
4
  #define PANGO_VERSION_MAJOR 1
5
- #define PANGO_VERSION_MINOR 54
6
- #define PANGO_VERSION_MICRO 0
5
+ #define PANGO_VERSION_MINOR 56
6
+ #define PANGO_VERSION_MICRO 2
7
7
 
8
- #define PANGO_VERSION_STRING "1.54.0"
8
+ #define PANGO_VERSION_STRING "1.56.2"
9
9
 
10
10
  #endif /* PANGO_FEATURES_H */
@@ -177,12 +177,31 @@ typedef enum {
177
177
  * @PANGO_FONT_MASK_WEIGHT: the font weight is specified.
178
178
  * @PANGO_FONT_MASK_STRETCH: the font stretch is specified.
179
179
  * @PANGO_FONT_MASK_SIZE: the font size is specified.
180
- * @PANGO_FONT_MASK_GRAVITY: the font gravity is specified (Since: 1.16.)
181
- * @PANGO_FONT_MASK_VARIATIONS: OpenType font variations are specified (Since: 1.42)
182
180
  *
183
181
  * The bits in a `PangoFontMask` correspond to the set fields in a
184
182
  * `PangoFontDescription`.
185
183
  */
184
+ /**
185
+ * PANGO_FONT_MASK_GRAVITY:
186
+ *
187
+ * The font gravity is specified.
188
+ *
189
+ * Since: 1.16
190
+ */
191
+ /**
192
+ * PANGO_FONT_MASK_VARIATIONS:
193
+ *
194
+ * OpenType font variations are specified.
195
+ *
196
+ * Since: 1.42
197
+ */
198
+ /**
199
+ * PANGO_FONT_MASK_FEATURES:
200
+ *
201
+ * OpenType font features are specified.
202
+ *
203
+ * Since: 1.56
204
+ */
186
205
  typedef enum {
187
206
  PANGO_FONT_MASK_FAMILY = 1 << 0,
188
207
  PANGO_FONT_MASK_STYLE = 1 << 1,
@@ -192,6 +211,7 @@ typedef enum {
192
211
  PANGO_FONT_MASK_SIZE = 1 << 5,
193
212
  PANGO_FONT_MASK_GRAVITY = 1 << 6,
194
213
  PANGO_FONT_MASK_VARIATIONS = 1 << 7,
214
+ PANGO_FONT_MASK_FEATURES = 1 << 8,
195
215
  } PangoFontMask;
196
216
 
197
217
  /* CSS scale factors (1.2 factor between each size) */
@@ -316,6 +336,15 @@ void pango_font_description_set_variations (PangoFontDescript
316
336
  PANGO_AVAILABLE_IN_1_42
317
337
  const char *pango_font_description_get_variations (const PangoFontDescription *desc) G_GNUC_PURE;
318
338
 
339
+ PANGO_AVAILABLE_IN_1_56
340
+ void pango_font_description_set_features_static (PangoFontDescription *desc,
341
+ const char *features);
342
+ PANGO_AVAILABLE_IN_1_56
343
+ void pango_font_description_set_features (PangoFontDescription *desc,
344
+ const char *features);
345
+ PANGO_AVAILABLE_IN_1_42
346
+ const char *pango_font_description_get_features (const PangoFontDescription *desc) G_GNUC_PURE;
347
+
319
348
  PANGO_AVAILABLE_IN_ALL
320
349
  PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc) G_GNUC_PURE;
321
350
  PANGO_AVAILABLE_IN_ALL
@@ -131,6 +131,10 @@ PangoFont * pango_font_map_reload_font (PangoFontMap *fontma
131
131
  PangoContext *context,
132
132
  const char *variations);
133
133
 
134
+ PANGO_AVAILABLE_IN_1_56
135
+ gboolean pango_font_map_add_font_file (PangoFontMap *fontmap,
136
+ const char *filename,
137
+ GError **error);
134
138
 
135
139
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontMap, g_object_unref)
136
140
 
@@ -79,10 +79,19 @@ typedef enum {
79
79
  * breaking at grapheme boundaries that are determined by the Unicode text
80
80
  * segmentation algorithm.
81
81
  */
82
+
83
+ /**
84
+ * PANGO_WRAP_NONE:
85
+ *
86
+ * do not wrap.
87
+ *
88
+ * Since: 1.56
89
+ */
82
90
  typedef enum {
83
91
  PANGO_WRAP_WORD,
84
92
  PANGO_WRAP_CHAR,
85
- PANGO_WRAP_WORD_CHAR
93
+ PANGO_WRAP_WORD_CHAR,
94
+ PANGO_WRAP_NONE PANGO_AVAILABLE_ENUMERATOR_IN_1_56
86
95
  } PangoWrapMode;
87
96
 
88
97
  /**