@img/sharp-libvips-dev 1.3.0-rc.2 → 1.3.0-rc.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 (82) hide show
  1. package/include/archive.h +2 -2
  2. package/include/archive_entry.h +1 -1
  3. package/include/expat.h +2 -2
  4. package/include/expat_config.h +3 -6
  5. package/include/expat_external.h +2 -3
  6. package/include/freetype2/freetype/config/ftoption.h +7 -1
  7. package/include/freetype2/freetype/config/mac-support.h +2 -0
  8. package/include/freetype2/freetype/freetype.h +8 -17
  9. package/include/freetype2/freetype/ftbdf.h +9 -3
  10. package/include/freetype2/freetype/ftimage.h +1 -1
  11. package/include/freetype2/freetype/ftlcdfil.h +2 -8
  12. package/include/freetype2/freetype/ftparams.h +2 -5
  13. package/include/freetype2/freetype/t1tables.h +2 -2
  14. package/include/glib-2.0/gio/gfileattribute.h +1 -1
  15. package/include/glib-2.0/gio/gfileinfo.h +5 -0
  16. package/include/glib-2.0/gio/gicon.h +1 -1
  17. package/include/glib-2.0/gio/gio-autocleanups.h +0 -1
  18. package/include/glib-2.0/gio/gio.h +2 -0
  19. package/include/glib-2.0/gio/gioenums.h +61 -40
  20. package/include/glib-2.0/gio/gioenumtypes.h +2 -0
  21. package/include/glib-2.0/gio/giptosmessage.h +46 -0
  22. package/include/glib-2.0/gio/gipv6tclassmessage.h +46 -0
  23. package/include/glib-2.0/gio/gresolver.h +1 -1
  24. package/include/glib-2.0/gio/gsettings.h +1 -1
  25. package/include/glib-2.0/gio/gsocketcontrolmessage.h +2 -0
  26. package/include/glib-2.0/girepository/girepository.h +1 -1
  27. package/include/glib-2.0/girepository/girffi.h +2 -2
  28. package/include/glib-2.0/girepository/gitypes.h +3 -3
  29. package/include/glib-2.0/glib/gatomic.h +26 -2
  30. package/include/glib-2.0/glib/gfileutils.h +2 -2
  31. package/include/glib-2.0/glib/ghook.h +3 -1
  32. package/include/glib-2.0/glib/giochannel.h +1 -1
  33. package/include/glib-2.0/glib/gkeyfile.h +1 -1
  34. package/include/glib-2.0/glib/gmacros.h +32 -0
  35. package/include/glib-2.0/glib/gmain.h +4 -0
  36. package/include/glib-2.0/glib/gmarkup.h +8 -1
  37. package/include/glib-2.0/glib/gmessages.h +1 -1
  38. package/include/glib-2.0/glib/gnode.h +1 -1
  39. package/include/glib-2.0/glib/goption.h +1 -1
  40. package/include/glib-2.0/glib/gslice.h +12 -4
  41. package/include/glib-2.0/glib/gspawn.h +1 -1
  42. package/include/glib-2.0/glib/gstrfuncs.h +1 -1
  43. package/include/glib-2.0/glib/gtestutils.h +6 -3
  44. package/include/glib-2.0/glib/gtimer.h +1 -0
  45. package/include/glib-2.0/glib/guri.h +3 -3
  46. package/include/glib-2.0/glib/gutils.h +1 -1
  47. package/include/glib-2.0/gmodule.h +1 -1
  48. package/include/glib-2.0/gobject/gbinding.h +1 -1
  49. package/include/glib-2.0/gobject/gobject.h +1 -1
  50. package/include/glib-2.0/gobject/gparam.h +1 -1
  51. package/include/glib-2.0/gobject/gsignal.h +3 -3
  52. package/include/glib-2.0/gobject/gtype.h +3 -3
  53. package/include/harfbuzz/hb-buffer.h +11 -3
  54. package/include/harfbuzz/hb-cplusplus.hh +31 -27
  55. package/include/harfbuzz/hb-features.h +21 -0
  56. package/include/harfbuzz/hb-ot-color.h +14 -0
  57. package/include/harfbuzz/hb-ot-shape.h +15 -0
  58. package/include/harfbuzz/hb-paint.h +19 -18
  59. package/include/harfbuzz/hb-version.h +3 -3
  60. package/include/lcms2.h +3 -3
  61. package/include/lcms2_plugin.h +1 -1
  62. package/include/libheif/heif_sequences.h +1 -1
  63. package/include/libheif/heif_version.h +2 -2
  64. package/include/libpng16/png.h +636 -487
  65. package/include/libpng16/pngconf.h +2 -2
  66. package/include/libpng16/pnglibconf.h +2 -2
  67. package/include/librsvg-2.0/librsvg/rsvg-version.h +3 -3
  68. package/include/librsvg-2.0/librsvg/rsvg.h +4 -4
  69. package/include/libxml2/libxml/catalog.h +2 -0
  70. package/include/libxml2/libxml/relaxng.h +4 -0
  71. package/include/libxml2/libxml/xmlversion.h +4 -4
  72. package/include/png.h +636 -487
  73. package/include/pngconf.h +2 -2
  74. package/include/pnglibconf.h +2 -2
  75. package/include/vips/colour.h +2 -2
  76. package/include/vips/memory.h +1 -1
  77. package/include/vips/version.h +4 -4
  78. package/include/zlib.h +3 -3
  79. package/package.json +1 -1
  80. package/versions.json +14 -14
  81. package/include/harfbuzz/hb-subset-serialize.h +0 -83
  82. package/include/harfbuzz/hb-subset.h +0 -297
package/include/archive.h CHANGED
@@ -34,7 +34,7 @@
34
34
  * assert that ARCHIVE_VERSION_NUMBER >= 2012108.
35
35
  */
36
36
  /* Note: Compiler will complain if this does not match archive_entry.h! */
37
- #define ARCHIVE_VERSION_NUMBER 3008004
37
+ #define ARCHIVE_VERSION_NUMBER 3008006
38
38
 
39
39
  #include <sys/stat.h>
40
40
  #include <stddef.h> /* for wchar_t */
@@ -177,7 +177,7 @@ __LA_DECL int archive_version_number(void);
177
177
  /*
178
178
  * Textual name/version of the library, useful for version displays.
179
179
  */
180
- #define ARCHIVE_VERSION_ONLY_STRING "3.8.4"
180
+ #define ARCHIVE_VERSION_ONLY_STRING "3.8.6"
181
181
  #define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
182
182
  __LA_DECL const char * archive_version_string(void);
183
183
 
@@ -28,7 +28,7 @@
28
28
  #define ARCHIVE_ENTRY_H_INCLUDED
29
29
 
30
30
  /* Note: Compiler will complain if this does not match archive.h! */
31
- #define ARCHIVE_VERSION_NUMBER 3008004
31
+ #define ARCHIVE_VERSION_NUMBER 3008006
32
32
 
33
33
  /*
34
34
  * Note: archive_entry.h is for use outside of libarchive; the
package/include/expat.h CHANGED
@@ -11,7 +11,7 @@
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-2025 Sebastian Pipping <sebastian@pipping.org>
14
+ Copyright (c) 2016-2026 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>
@@ -1082,7 +1082,7 @@ XML_SetReparseDeferralEnabled(XML_Parser parser, XML_Bool enabled);
1082
1082
  */
1083
1083
  # define XML_MAJOR_VERSION 2
1084
1084
  # define XML_MINOR_VERSION 7
1085
- # define XML_MICRO_VERSION 3
1085
+ # define XML_MICRO_VERSION 5
1086
1086
 
1087
1087
  # ifdef __cplusplus
1088
1088
  }
@@ -34,9 +34,6 @@
34
34
  /* Define to 1 if you have the <inttypes.h> header file. */
35
35
  #define HAVE_INTTYPES_H 1
36
36
 
37
- /* Define to 1 if you have the 'bsd' library (-lbsd). */
38
- /* #undef HAVE_LIBBSD */
39
-
40
37
  /* Define to 1 if you have a working 'mmap' system call. */
41
38
  #define HAVE_MMAP 1
42
39
 
@@ -83,7 +80,7 @@
83
80
  #define PACKAGE_NAME "expat"
84
81
 
85
82
  /* Define to the full name and version of this package. */
86
- #define PACKAGE_STRING "expat 2.7.3"
83
+ #define PACKAGE_STRING "expat 2.7.5"
87
84
 
88
85
  /* Define to the one symbol short name of this package. */
89
86
  #define PACKAGE_TARNAME "expat"
@@ -92,7 +89,7 @@
92
89
  #define PACKAGE_URL ""
93
90
 
94
91
  /* Define to the version of this package. */
95
- #define PACKAGE_VERSION "2.7.3"
92
+ #define PACKAGE_VERSION "2.7.5"
96
93
 
97
94
  /* Define to 1 if all of the C89 standard headers exist (not just the ones
98
95
  required in a freestanding environment). This macro is provided for
@@ -100,7 +97,7 @@
100
97
  #define STDC_HEADERS 1
101
98
 
102
99
  /* Version number of package */
103
- #define VERSION "2.7.3"
100
+ #define VERSION "2.7.5"
104
101
 
105
102
  /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
106
103
  significant byte first (like Motorola and SPARC, unlike Intel). */
@@ -12,7 +12,7 @@
12
12
  Copyright (c) 2001-2002 Greg Stein <gstein@users.sourceforge.net>
13
13
  Copyright (c) 2002-2006 Karl Waclawek <karl@waclawek.net>
14
14
  Copyright (c) 2016 Cristian Rodríguez <crrodriguez@opensuse.org>
15
- Copyright (c) 2016-2019 Sebastian Pipping <sebastian@pipping.org>
15
+ Copyright (c) 2016-2026 Sebastian Pipping <sebastian@pipping.org>
16
16
  Copyright (c) 2017 Rhodri James <rhodri@wildebeest.org.uk>
17
17
  Copyright (c) 2018 Yury Gribov <tetra2005@gmail.com>
18
18
  Licensed under the MIT license:
@@ -88,8 +88,7 @@
88
88
  # ifndef XML_BUILDING_EXPAT
89
89
  /* using Expat from an application */
90
90
 
91
- # if defined(_MSC_EXTENSIONS) && ! defined(__BEOS__) \
92
- && ! defined(__CYGWIN__)
91
+ # if defined(_MSC_VER) && ! defined(__BEOS__) && ! defined(__CYGWIN__)
93
92
  # define XMLIMPORT __declspec(dllimport)
94
93
  # endif
95
94
 
@@ -759,7 +759,13 @@ FT_BEGIN_HEADER
759
759
  /**************************************************************************
760
760
  *
761
761
  * Define `TT_CONFIG_OPTION_BDF` if you want to include support for an
762
- * embedded 'BDF~' table within SFNT-based bitmap formats.
762
+ * embedded 'BDF~' table within an SFNT-based `.otb` font file. This table
763
+ * is an extension used by X11 to preserve BDF properties after conversion
764
+ * to SFNT containers. See
765
+ *
766
+ * https://fontforge.org/docs/techref/non-standard.html#non-standard-bdf
767
+ *
768
+ * for more details.
763
769
  */
764
770
  #define TT_CONFIG_OPTION_BDF
765
771
 
@@ -24,6 +24,7 @@
24
24
  * This is the only necessary change, so it is defined here instead
25
25
  * providing a new configuration file.
26
26
  */
27
+ #ifdef FT_MACINTOSH
27
28
  #if defined( __APPLE__ ) || ( defined( __MWERKS__ ) && defined( macintosh ) )
28
29
  /* No Carbon frameworks for 64bit 10.4.x. */
29
30
  /* `AvailabilityMacros.h` is available since Mac OS X 10.2, */
@@ -36,6 +37,7 @@
36
37
  ( MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4 )
37
38
  #undef FT_MACINTOSH
38
39
  #endif
40
+ #endif /* __APPLE__ ... */
39
41
 
40
42
  #elif defined( __SC__ ) || defined( __MRC__ )
41
43
  /* Classic MacOS compilers */
@@ -4318,14 +4318,13 @@ FT_BEGIN_HEADER
4318
4318
  * property `no-stem-darkening` provided by the 'autofit', 'cff',
4319
4319
  * 'type1', and 't1cid' modules; see @no-stem-darkening).
4320
4320
  *
4321
- * * @FT_PARAM_TAG_LCD_FILTER_WEIGHTS (LCD filter weights, corresponding
4322
- * to function @FT_Library_SetLcdFilterWeights).
4323
- *
4324
4321
  * * @FT_PARAM_TAG_RANDOM_SEED (seed value for the CFF, Type~1, and CID
4325
4322
  * 'random' operator, corresponding to the `random-seed` property
4326
4323
  * provided by the 'cff', 'type1', and 't1cid' modules; see
4327
4324
  * @random-seed).
4328
4325
  *
4326
+ * * @FT_PARAM_TAG_LCD_FILTER_WEIGHTS (no longer supported).
4327
+ *
4329
4328
  * Pass `NULL` as `data` in @FT_Parameter for a given tag to reset the
4330
4329
  * option and use the library or module default again.
4331
4330
  *
@@ -4352,25 +4351,17 @@ FT_BEGIN_HEADER
4352
4351
  * FT_Bool darken_stems = 1;
4353
4352
  *
4354
4353
  * FT_Parameter property2;
4355
- * FT_LcdFiveTapFilter custom_weight =
4356
- * { 0x11, 0x44, 0x56, 0x44, 0x11 };
4357
- *
4358
- * FT_Parameter property3;
4359
4354
  * FT_Int32 random_seed = 314159265;
4360
4355
  *
4361
- * FT_Parameter properties[3] = { property1,
4362
- * property2,
4363
- * property3 };
4356
+ * FT_Parameter properties[2] = { property1,
4357
+ * property2 };
4364
4358
  *
4365
4359
  *
4366
4360
  * property1.tag = FT_PARAM_TAG_STEM_DARKENING;
4367
4361
  * property1.data = &darken_stems;
4368
4362
  *
4369
- * property2.tag = FT_PARAM_TAG_LCD_FILTER_WEIGHTS;
4370
- * property2.data = custom_weight;
4371
- *
4372
- * property3.tag = FT_PARAM_TAG_RANDOM_SEED;
4373
- * property3.data = &random_seed;
4363
+ * property2.tag = FT_PARAM_TAG_RANDOM_SEED;
4364
+ * property2.data = &random_seed;
4374
4365
  *
4375
4366
  * FT_Face_Properties( face, 3, properties );
4376
4367
  * ```
@@ -4381,7 +4372,7 @@ FT_BEGIN_HEADER
4381
4372
  * FT_Parameter property;
4382
4373
  *
4383
4374
  *
4384
- * property.tag = FT_PARAM_TAG_LCD_FILTER_WEIGHTS;
4375
+ * property.tag = FT_PARAM_TAG_STEM_DARKENING;
4385
4376
  * property.data = NULL;
4386
4377
  *
4387
4378
  * FT_Face_Properties( face, 1, &property );
@@ -5178,7 +5169,7 @@ FT_BEGIN_HEADER
5178
5169
  */
5179
5170
  #define FREETYPE_MAJOR 2
5180
5171
  #define FREETYPE_MINOR 14
5181
- #define FREETYPE_PATCH 1
5172
+ #define FREETYPE_PATCH 2
5182
5173
 
5183
5174
 
5184
5175
  /**************************************************************************
@@ -44,7 +44,8 @@ FT_BEGIN_HEADER
44
44
  *
45
45
  * @description:
46
46
  * This section contains the declaration of functions specific to BDF and
47
- * PCF fonts.
47
+ * PCF fonts. They also work for SFNT bitmap fonts that contain a 'BDF~'
48
+ * table like X11's `.otb` fonts.
48
49
  *
49
50
  */
50
51
 
@@ -151,7 +152,9 @@ FT_BEGIN_HEADER
151
152
  * FreeType error code. 0~means success.
152
153
  *
153
154
  * @note:
154
- * This function only works with BDF faces, returning an error otherwise.
155
+ * This function only works with BDF faces and SFNT fonts that have a
156
+ * 'BDF~' table, returning an error otherwise. For the latter, a bitmap
157
+ * strike size must be selected first.
155
158
  */
156
159
  FT_EXPORT( FT_Error )
157
160
  FT_Get_BDF_Charset_ID( FT_Face face,
@@ -165,7 +168,7 @@ FT_BEGIN_HEADER
165
168
  * FT_Get_BDF_Property
166
169
  *
167
170
  * @description:
168
- * Retrieve a BDF property from a BDF or PCF font file.
171
+ * Retrieve a BDF property from a BDF or PCF font.
169
172
  *
170
173
  * @input:
171
174
  * face ::
@@ -196,6 +199,9 @@ FT_BEGIN_HEADER
196
199
  *
197
200
  * In case of error, `aproperty->type` is always set to
198
201
  * @BDF_PROPERTY_TYPE_NONE.
202
+ *
203
+ * This also works with SFNT fonts that have a 'BDF~' table, after a
204
+ * bitmap strike size has been selected.
199
205
  */
200
206
  FT_EXPORT( FT_Error )
201
207
  FT_Get_BDF_Property( FT_Face face,
@@ -875,7 +875,7 @@ FT_BEGIN_HEADER
875
875
  */
876
876
  typedef struct FT_Span_
877
877
  {
878
- short x;
878
+ unsigned short x;
879
879
  unsigned short len;
880
880
  unsigned char coverage;
881
881
 
@@ -145,16 +145,10 @@ FT_BEGIN_HEADER
145
145
  *
146
146
  * FT_LCD_FILTER_LEGACY ::
147
147
  * FT_LCD_FILTER_LEGACY1 ::
148
- * This filter corresponds to the original libXft color filter. It
149
- * provides high contrast output but can exhibit really bad color
150
- * fringes if glyphs are not extremely well hinted to the pixel grid.
151
- * This filter is only provided for comparison purposes, and might be
152
- * disabled or stay unsupported in the future. The second value is
153
- * provided for compatibility with FontConfig, which historically used
154
- * different enumeration, sometimes incorrectly forwarded to FreeType.
148
+ * The legacy libXft color filter is no longer supported and ignored.
155
149
  *
156
150
  * @since:
157
- * 2.3.0 (`FT_LCD_FILTER_LEGACY1` since 2.6.2)
151
+ * 2.3.0
158
152
  */
159
153
  typedef enum FT_LcdFilter_
160
154
  {
@@ -133,11 +133,8 @@ FT_BEGIN_HEADER
133
133
  * FT_PARAM_TAG_LCD_FILTER_WEIGHTS
134
134
  *
135
135
  * @description:
136
- * An @FT_Parameter tag to be used with @FT_Face_Properties. The
137
- * corresponding argument specifies the five LCD filter weights for a
138
- * given face (if using @FT_LOAD_TARGET_LCD, for example), overriding the
139
- * global default values or the values set up with
140
- * @FT_Library_SetLcdFilterWeights.
136
+ * Overriding global LCD filter weights with custom values for a given
137
+ * face is no longer supported and ignored.
141
138
  *
142
139
  * @since:
143
140
  * 2.8
@@ -92,7 +92,7 @@ FT_BEGIN_HEADER
92
92
  FT_String* full_name;
93
93
  FT_String* family_name;
94
94
  FT_String* weight;
95
- FT_Long italic_angle;
95
+ FT_Fixed italic_angle;
96
96
  FT_Bool is_fixed_pitch;
97
97
  FT_Short underline_position;
98
98
  FT_UShort underline_thickness;
@@ -645,7 +645,7 @@ FT_BEGIN_HEADER
645
645
  PS_DICT_UNDERLINE_POSITION, /* FT_Short */
646
646
  PS_DICT_UNDERLINE_THICKNESS, /* FT_UShort */
647
647
  PS_DICT_FS_TYPE, /* FT_UShort */
648
- PS_DICT_ITALIC_ANGLE, /* FT_Long */
648
+ PS_DICT_ITALIC_ANGLE, /* FT_Fixed */
649
649
 
650
650
  PS_DICT_MAX = PS_DICT_ITALIC_ANGLE
651
651
 
@@ -57,7 +57,7 @@ struct _GFileAttributeInfo
57
57
  struct _GFileAttributeInfoList
58
58
  {
59
59
  GFileAttributeInfo *infos;
60
- int n_infos;
60
+ int n_infos; /* will never be negative; it’s a historical accident that this isn’t a size_t */
61
61
  };
62
62
 
63
63
  #define G_TYPE_FILE_ATTRIBUTE_INFO_LIST (g_file_attribute_info_list_get_type ())
@@ -67,6 +67,11 @@ typedef struct _GFileInfoClass GFileInfoClass;
67
67
  *
68
68
  * A key in the "standard" namespace for checking if a file is a backup file.
69
69
  *
70
+ * The exact semantics of what constitutes a backup file are backend-specific.
71
+ * For local files, a file is considered a backup if its name ends with `~`
72
+ * and it is a regular file. This follows the POSIX convention used by text
73
+ * editors such as Emacs.
74
+ *
70
75
  * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_BOOLEAN.
71
76
  **/
72
77
  #define G_FILE_ATTRIBUTE_STANDARD_IS_BACKUP "standard::is-backup" /* boolean */
@@ -86,7 +86,7 @@ struct _GIconIface
86
86
  /**
87
87
  * GIconIface::from_tokens:
88
88
  * @tokens: (array length=num_tokens): An array of tokens
89
- * @num_tokens: The number of tokens in @tokens
89
+ * @num_tokens: The number of tokens in @tokens (guaranteed to be non-negative)
90
90
  * @version: Version of the serialized tokens
91
91
  * @error: Return location for errors, or %NULL to ignore
92
92
  *
@@ -129,7 +129,6 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketAddress, g_object_unref)
129
129
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketClient, g_object_unref)
130
130
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketConnectable, g_object_unref)
131
131
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketConnection, g_object_unref)
132
- G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketControlMessage, g_object_unref)
133
132
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocket, g_object_unref)
134
133
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketListener, g_object_unref)
135
134
  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GSocketService, g_object_unref)
@@ -102,6 +102,8 @@
102
102
  #include <gio/giomodule.h>
103
103
  #include <gio/gioscheduler.h>
104
104
  #include <gio/giostream.h>
105
+ #include <gio/giptosmessage.h>
106
+ #include <gio/gipv6tclassmessage.h>
105
107
  #include <gio/glistmodel.h>
106
108
  #include <gio/gliststore.h>
107
109
  #include <gio/gloadableicon.h>