@revizly/sharp-libvips-dev 1.0.9 → 1.0.11

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 (88) hide show
  1. package/include/aom/aomcx.h +35 -7
  2. package/include/cairo/cairo-version.h +1 -1
  3. package/include/expat.h +3 -3
  4. package/include/expat_config.h +3 -3
  5. package/include/ffi.h +1 -1
  6. package/include/fontconfig/fontconfig.h +22 -2
  7. package/include/gio-unix-2.0/gio/gdesktopappinfo.h +1 -1
  8. package/include/gio-unix-2.0/gio/gunixmounts.h +8 -1
  9. package/include/glib-2.0/gio/gdbusconnection.h +65 -5
  10. package/include/glib-2.0/gio/gdebugcontroller.h +1 -1
  11. package/include/glib-2.0/gio/gioenums.h +14 -3
  12. package/include/glib-2.0/gio/gioenumtypes.h +3 -3
  13. package/include/glib-2.0/gio/giotypes.h +4 -4
  14. package/include/glib-2.0/gio/gmemorymonitor.h +1 -1
  15. package/include/glib-2.0/gio/gnetworkmonitor.h +1 -1
  16. package/include/glib-2.0/gio/gpowerprofilemonitor.h +1 -1
  17. package/include/glib-2.0/gio/gproxy.h +1 -1
  18. package/include/glib-2.0/gio/gproxyresolver.h +1 -1
  19. package/include/glib-2.0/gio/gtlsbackend.h +1 -1
  20. package/include/glib-2.0/gio/gvfs.h +3 -3
  21. package/include/glib-2.0/gio/gvolumemonitor.h +1 -1
  22. package/include/glib-2.0/glib/gerror.h +1 -1
  23. package/include/glib-2.0/glib/gmacros.h +1 -3
  24. package/include/glib-2.0/glib/gmain.h +1 -1
  25. package/include/glib-2.0/glib/goption.h +58 -36
  26. package/include/glib-2.0/glib/gqueue.h +1 -1
  27. package/include/glib-2.0/glib/gtestutils.h +65 -33
  28. package/include/glib-2.0/glib/gthread.h +2 -0
  29. package/include/glib-2.0/glib/gtypes.h +1 -1
  30. package/include/glib-2.0/glib/gunicode.h +4 -4
  31. package/include/glib-2.0/gobject/glib-enumtypes.h +1 -1
  32. package/include/glib-2.0/gobject/gparam.h +4 -2
  33. package/include/glib-2.0/gobject/gsignal.h +22 -7
  34. package/include/glib-2.0/gobject/gtype.h +10 -4
  35. package/include/harfbuzz/hb-face.h +7 -2
  36. package/include/harfbuzz/hb-ft.h +8 -1
  37. package/include/harfbuzz/hb-ot-shape.h +6 -0
  38. package/include/harfbuzz/hb-paint.h +1 -1
  39. package/include/harfbuzz/hb-shape.h +2 -0
  40. package/include/harfbuzz/hb-subset-serialize.h +83 -0
  41. package/include/harfbuzz/hb-subset.h +12 -0
  42. package/include/harfbuzz/hb-version.h +2 -2
  43. package/include/lcms2.h +7 -5
  44. package/include/lcms2_plugin.h +1 -1
  45. package/include/libexif/exif-byte-order.h +2 -0
  46. package/include/libexif/exif-content.h +2 -0
  47. package/include/libexif/exif-data-type.h +2 -0
  48. package/include/libexif/exif-data.h +3 -2
  49. package/include/libexif/exif-entry.h +2 -0
  50. package/include/libexif/exif-format.h +2 -0
  51. package/include/libexif/exif-ifd.h +2 -0
  52. package/include/libexif/exif-loader.h +2 -0
  53. package/include/libexif/exif-log.h +2 -0
  54. package/include/libexif/exif-mem.h +2 -0
  55. package/include/libexif/exif-mnote-data.h +2 -0
  56. package/include/libexif/exif-tag.h +2 -0
  57. package/include/libexif/exif-utils.h +2 -0
  58. package/include/libheif/heif.h +6 -0
  59. package/include/libheif/heif_cxx.h +18 -12
  60. package/include/libheif/heif_items.h +2 -2
  61. package/include/libheif/heif_version.h +2 -2
  62. package/include/libpng16/png.h +120 -12
  63. package/include/libpng16/pngconf.h +2 -3
  64. package/include/libpng16/pnglibconf.h +11 -2
  65. package/include/librsvg-2.0/librsvg/rsvg-features.h +1 -1
  66. package/include/librsvg-2.0/librsvg/rsvg-pixbuf.h +1 -1
  67. package/include/librsvg-2.0/librsvg/rsvg-version.h +2 -2
  68. package/include/librsvg-2.0/librsvg/rsvg.h +1 -1
  69. package/include/libxml2/libxml/xmlversion.h +4 -4
  70. package/include/pango-1.0/pango/pango-features.h +3 -3
  71. package/include/pango-1.0/pango/pango-font.h +32 -3
  72. package/include/pango-1.0/pango/pango-fontmap.h +4 -0
  73. package/include/pango-1.0/pango/pango-layout.h +10 -1
  74. package/include/pango-1.0/pango/pango-version-macros.h +52 -0
  75. package/include/pango-1.0/pango/pangofc-fontmap.h +6 -0
  76. package/include/pixman-1/pixman-version.h +2 -2
  77. package/include/png.h +120 -12
  78. package/include/pngconf.h +2 -3
  79. package/include/pnglibconf.h +11 -2
  80. package/include/vips/colour.h +2 -0
  81. package/include/vips/version.h +4 -4
  82. package/include/webp/encode.h +5 -4
  83. package/include/webp/sharpyuv/sharpyuv.h +14 -5
  84. package/include/webp/sharpyuv/sharpyuv_csp.h +5 -0
  85. package/include/webp/types.h +2 -2
  86. package/include/zlib.h +4 -4
  87. package/package.json +1 -1
  88. package/versions.json +19 -19
package/include/lcms2.h CHANGED
@@ -1,7 +1,7 @@
1
1
  //---------------------------------------------------------------------------------
2
2
  //
3
3
  // Little Color Management System
4
- // Copyright (c) 1998-2023 Marti Maria Saguer
4
+ // Copyright (c) 1998-2025 Marti Maria Saguer
5
5
  //
6
6
  // Permission is hereby granted, free of charge, to any person obtaining
7
7
  // a copy of this software and associated documentation files (the "Software"),
@@ -23,7 +23,7 @@
23
23
  //
24
24
  //---------------------------------------------------------------------------------
25
25
  //
26
- // Version 2.16
26
+ // Version 2.17
27
27
  //
28
28
 
29
29
  #ifndef _lcms2_H
@@ -64,6 +64,9 @@
64
64
  // Uncomment this to remove the "register" storage class
65
65
  // #define CMS_NO_REGISTER_KEYWORD 1
66
66
 
67
+ // Uncomment this to remove visibility attribute when building shared objects
68
+ // #define CMS_NO_VISIBILITY 1
69
+
67
70
  // ********** End of configuration toggles ******************************
68
71
 
69
72
  // Needed for streams
@@ -84,7 +87,7 @@ extern "C" {
84
87
  #endif
85
88
 
86
89
  // Version/release
87
- #define LCMS_VERSION 2160
90
+ #define LCMS_VERSION 2170
88
91
 
89
92
  // I will give the chance of redefining basic types for compilers that are not fully C99 compliant
90
93
  #ifndef CMS_BASIC_TYPES_ALREADY_DEFINED
@@ -248,7 +251,7 @@ typedef int cmsBool;
248
251
  # define CMSAPI
249
252
  # endif
250
253
  #else // not Windows
251
- # ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
254
+ # if defined(HAVE_FUNC_ATTRIBUTE_VISIBILITY) && !defined(CMS_NO_VISIBILITY)
252
255
  # define CMSEXPORT
253
256
  # define CMSAPI __attribute__((visibility("default")))
254
257
  # else
@@ -958,7 +961,6 @@ typedef void* cmsHTRANSFORM;
958
961
  // IEEE 754-2008 "half"
959
962
  #define TYPE_GRAY_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_GRAY)|CHANNELS_SH(1)|BYTES_SH(2))
960
963
  #define TYPE_RGB_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(2))
961
- #define TYPE_RGBA_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2))
962
964
  #define TYPE_CMYK_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_CMYK)|CHANNELS_SH(4)|BYTES_SH(2))
963
965
 
964
966
  #define TYPE_RGBA_HALF_FLT (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(2))
@@ -1,7 +1,7 @@
1
1
  //---------------------------------------------------------------------------------
2
2
  //
3
3
  // Little Color Management System
4
- // Copyright (c) 1998-2023 Marti Maria Saguer
4
+ // Copyright (c) 1998-2024 Marti Maria Saguer
5
5
  //
6
6
  // Permission is hereby granted, free of charge, to any person obtaining
7
7
  // a copy of this software and associated documentation files (the "Software"),
@@ -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_BYTE_ORDER_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_CONTENT_H
@@ -16,6 +16,8 @@
16
16
  * License along with this library; if not, write to the
17
17
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
18
  * Boston, MA 02110-1301 USA.
19
+ *
20
+ * SPDX-License-Identifier: LGPL-2.0-or-later
19
21
  */
20
22
 
21
23
  #ifndef LIBEXIF_EXIF_DATA_TYPE_H
@@ -2,8 +2,7 @@
2
2
  * \brief Defines the ExifData type and the associated functions.
3
3
  */
4
4
  /*
5
- * \author Lutz Mueller <lutz@users.sourceforge.net>
6
- * \date 2001-2005
5
+ * Copyright (c) 2001-2008 Lutz Mueller <lutz@users.sourceforge.net>
7
6
  *
8
7
  * This library is free software; you can redistribute it and/or
9
8
  * modify it under the terms of the GNU Lesser General Public
@@ -19,6 +18,8 @@
19
18
  * License along with this library; if not, write to the
20
19
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
20
  * Boston, MA 02110-1301 USA.
21
+ *
22
+ * SPDX-License-Identifier: LGPL-2.0-or-later
22
23
  */
23
24
 
24
25
  #ifndef LIBEXIF_EXIF_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_ENTRY_H
@@ -19,6 +19,8 @@
19
19
  * License along with this library; if not, write to the
20
20
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
21
21
  * Boston, MA 02110-1301 USA.
22
+ *
23
+ * SPDX-License-Identifier: LGPL-2.0-or-later
22
24
  */
23
25
 
24
26
  #ifndef LIBEXIF_EXIF_FORMAT_H
@@ -16,6 +16,8 @@
16
16
  * License along with this library; if not, write to the
17
17
  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18
18
  * Boston, MA 02110-1301 USA.
19
+ *
20
+ * SPDX-License-Identifier: LGPL-2.1-or-later
19
21
  */
20
22
 
21
23
  #ifndef LIBEXIF_EXIF_IFD_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_LOADER_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_LOG_H
@@ -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
@@ -1897,6 +1897,7 @@ int heif_image_has_channel(const struct heif_image*, enum heif_channel channel);
1897
1897
  // The 'out_stride' is returned as "bytes per line".
1898
1898
  // When out_stride is NULL, no value will be written.
1899
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.
1900
1901
  LIBHEIF_API
1901
1902
  const uint8_t* heif_image_get_plane_readonly(const struct heif_image*,
1902
1903
  enum heif_channel channel,
@@ -2383,6 +2384,11 @@ struct heif_encoding_options
2383
2384
 
2384
2385
  // Set this to true to use compressed form of uncC where possible.
2385
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.
2386
2392
  };
2387
2393
 
2388
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
 
@@ -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) | (5<<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.5"
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.5"
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 21305
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 "21305"
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(21305);
47
+ #define LIBXML_TEST_VERSION xmlCheckVersion(21306);
48
48
 
49
49
  /**
50
50
  * LIBXML_THREAD_ENABLED: