@img/sharp-libvips-dev 1.2.0-rc.1 → 1.2.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.
- package/include/glib-2.0/glib/glib-visibility.h +1 -1
- package/include/glib-2.0/glib/gwin32.h +192 -0
- package/include/glib-2.0/gobject/gobject-visibility.h +1 -1
- package/include/glib-2.0/msvc_recommended_pragmas.h +41 -0
- package/include/libpng16/png.h +35 -16
- package/include/libpng16/pngconf.h +1 -1
- package/include/libpng16/pnglibconf.h +1 -1
- package/include/libxml2/libxml/parser.h +2 -2
- package/include/libxml2/libxml/xmlerror.h +2 -1
- package/include/libxml2/libxml/xmlversion.h +4 -4
- package/include/png.h +35 -16
- package/include/pngconf.h +1 -1
- package/include/pnglibconf.h +1 -1
- package/package.json +1 -1
- package/versions.json +3 -3
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# define _GLIB_EXPORT __declspec(dllexport)
|
|
5
5
|
# define _GLIB_IMPORT __declspec(dllimport)
|
|
6
6
|
#elif __GNUC__ >= 4
|
|
7
|
-
# define _GLIB_EXPORT __attribute__((visibility("default")))
|
|
7
|
+
# define _GLIB_EXPORT __attribute__((visibility("default"))) __declspec(dllexport)
|
|
8
8
|
# define _GLIB_IMPORT
|
|
9
9
|
#else
|
|
10
10
|
# define _GLIB_EXPORT
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/* GLIB - Library of useful routines for C programming
|
|
2
|
+
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
|
|
3
|
+
*
|
|
4
|
+
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
5
|
+
*
|
|
6
|
+
* This library is free software; you can redistribute it and/or
|
|
7
|
+
* modify it under the terms of the GNU Lesser General Public
|
|
8
|
+
* License as published by the Free Software Foundation; either
|
|
9
|
+
* version 2.1 of the License, or (at your option) any later version.
|
|
10
|
+
*
|
|
11
|
+
* This library is distributed in the hope that it will be useful,
|
|
12
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14
|
+
* Lesser General Public License for more details.
|
|
15
|
+
*
|
|
16
|
+
* You should have received a copy of the GNU Lesser General Public
|
|
17
|
+
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* Modified by the GLib Team and others 1997-2000. See the AUTHORS
|
|
22
|
+
* file for a list of people on the GLib Team. See the ChangeLog
|
|
23
|
+
* files for a list of changes. These files are distributed with
|
|
24
|
+
* GLib at ftp://ftp.gtk.org/pub/gtk/.
|
|
25
|
+
*/
|
|
26
|
+
|
|
27
|
+
#ifndef __G_WIN32_H__
|
|
28
|
+
#define __G_WIN32_H__
|
|
29
|
+
|
|
30
|
+
#if !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION)
|
|
31
|
+
#error "Only <glib.h> can be included directly."
|
|
32
|
+
#endif
|
|
33
|
+
|
|
34
|
+
#include <glib/gtypes.h>
|
|
35
|
+
|
|
36
|
+
#ifdef G_PLATFORM_WIN32
|
|
37
|
+
|
|
38
|
+
G_BEGIN_DECLS
|
|
39
|
+
|
|
40
|
+
#ifndef MAXPATHLEN
|
|
41
|
+
#define MAXPATHLEN 1024
|
|
42
|
+
#endif
|
|
43
|
+
|
|
44
|
+
#ifdef G_OS_WIN32
|
|
45
|
+
|
|
46
|
+
/*
|
|
47
|
+
* To get prototypes for the following POSIXish functions, you have to
|
|
48
|
+
* include the indicated non-POSIX headers. The functions are defined
|
|
49
|
+
* in OLDNAMES.LIB (MSVC) or -lmoldname-msvc (mingw32). But note that
|
|
50
|
+
* for POSIX functions that take or return file names in the system
|
|
51
|
+
* codepage, in many cases you would want to use the GLib wrappers in
|
|
52
|
+
* gstdio.h and UTF-8 instead.
|
|
53
|
+
*
|
|
54
|
+
* getcwd: <direct.h> (MSVC), <io.h> (mingw32)
|
|
55
|
+
* getpid: <process.h>
|
|
56
|
+
* access: <io.h>
|
|
57
|
+
* unlink: <stdio.h> or <io.h>
|
|
58
|
+
* open, read, write, lseek, close: <io.h>
|
|
59
|
+
* rmdir: <io.h>
|
|
60
|
+
* pipe: <io.h> (actually, _pipe())
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
/* For some POSIX functions that are not provided by the MS runtime,
|
|
64
|
+
* we provide emulation functions in glib, which are prefixed with
|
|
65
|
+
* g_win32_. Or that was the idea at some time, but there is just one
|
|
66
|
+
* of those:
|
|
67
|
+
*/
|
|
68
|
+
GLIB_AVAILABLE_IN_ALL
|
|
69
|
+
gint g_win32_ftruncate (gint f,
|
|
70
|
+
guint size);
|
|
71
|
+
#endif /* G_OS_WIN32 */
|
|
72
|
+
|
|
73
|
+
/* The MS setlocale uses locale names of the form "English_United
|
|
74
|
+
* States.1252" etc. We want the Unixish standard form "en", "zh_TW"
|
|
75
|
+
* etc. This function gets the current thread locale from Windows and
|
|
76
|
+
* returns it as a string of the above form for use in forming file
|
|
77
|
+
* names etc. The returned string should be deallocated with g_free().
|
|
78
|
+
*/
|
|
79
|
+
GLIB_AVAILABLE_IN_ALL
|
|
80
|
+
gchar* g_win32_getlocale (void);
|
|
81
|
+
|
|
82
|
+
/* Translate a Win32 error code (as returned by GetLastError()) into
|
|
83
|
+
* the corresponding message. The returned string should be deallocated
|
|
84
|
+
* with g_free().
|
|
85
|
+
*/
|
|
86
|
+
GLIB_AVAILABLE_IN_ALL
|
|
87
|
+
gchar* g_win32_error_message (gint error);
|
|
88
|
+
|
|
89
|
+
GLIB_DEPRECATED
|
|
90
|
+
gchar* g_win32_get_package_installation_directory (const gchar *package,
|
|
91
|
+
const gchar *dll_name);
|
|
92
|
+
|
|
93
|
+
GLIB_DEPRECATED
|
|
94
|
+
gchar* g_win32_get_package_installation_subdirectory (const gchar *package,
|
|
95
|
+
const gchar *dll_name,
|
|
96
|
+
const gchar *subdir);
|
|
97
|
+
|
|
98
|
+
GLIB_AVAILABLE_IN_ALL
|
|
99
|
+
gchar* g_win32_get_package_installation_directory_of_module (gpointer hmodule);
|
|
100
|
+
|
|
101
|
+
GLIB_DEPRECATED_IN_2_44_FOR(g_win32_check_windows_version)
|
|
102
|
+
guint g_win32_get_windows_version (void);
|
|
103
|
+
|
|
104
|
+
GLIB_AVAILABLE_IN_ALL
|
|
105
|
+
gchar* g_win32_locale_filename_from_utf8 (const gchar *utf8filename);
|
|
106
|
+
|
|
107
|
+
GLIB_AVAILABLE_IN_2_40
|
|
108
|
+
gchar ** g_win32_get_command_line (void);
|
|
109
|
+
|
|
110
|
+
/* As of GLib 2.14 we only support NT-based Windows */
|
|
111
|
+
#define G_WIN32_IS_NT_BASED() TRUE
|
|
112
|
+
#define G_WIN32_HAVE_WIDECHAR_API() TRUE
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* GWin32OSType:
|
|
116
|
+
* @G_WIN32_OS_ANY: The running system can be a workstation or a server edition of
|
|
117
|
+
* Windows. The type of the running system is therefore not checked.
|
|
118
|
+
* @G_WIN32_OS_WORKSTATION: The running system is a workstation edition of Windows,
|
|
119
|
+
* such as Windows 7 Professional.
|
|
120
|
+
* @G_WIN32_OS_SERVER: The running system is a server edition of Windows, such as
|
|
121
|
+
* Windows Server 2008 R2.
|
|
122
|
+
*
|
|
123
|
+
* Type of Windows edition to check for at run-time.
|
|
124
|
+
**/
|
|
125
|
+
typedef enum
|
|
126
|
+
{
|
|
127
|
+
G_WIN32_OS_ANY,
|
|
128
|
+
G_WIN32_OS_WORKSTATION,
|
|
129
|
+
G_WIN32_OS_SERVER,
|
|
130
|
+
} GWin32OSType;
|
|
131
|
+
|
|
132
|
+
GLIB_AVAILABLE_IN_2_44
|
|
133
|
+
gboolean g_win32_check_windows_version (const gint major,
|
|
134
|
+
const gint minor,
|
|
135
|
+
const gint spver,
|
|
136
|
+
const GWin32OSType os_type);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* g_win32_clear_com:
|
|
140
|
+
* @com_obj: (not optional) (nullable): Pointer to COM object pointer to release and clear
|
|
141
|
+
*
|
|
142
|
+
* Releases the referenced COM object, and clears its pointer to `NULL`.
|
|
143
|
+
*
|
|
144
|
+
* The @com_obj pointer must not be `NULL`.
|
|
145
|
+
*
|
|
146
|
+
* If @com_obj references a `NULL` COM object, this function is a no-op.
|
|
147
|
+
*
|
|
148
|
+
* This is equivalent to `g_clear_object()` for dealing with
|
|
149
|
+
* Windows COM objects.
|
|
150
|
+
*
|
|
151
|
+
* Since: 2.84
|
|
152
|
+
*/
|
|
153
|
+
|
|
154
|
+
#ifndef __cplusplus
|
|
155
|
+
|
|
156
|
+
#define g_win32_clear_com(com_obj) \
|
|
157
|
+
G_STMT_START {\
|
|
158
|
+
IUnknown **unknown_com_obj = (IUnknown **)(com_obj); \
|
|
159
|
+
\
|
|
160
|
+
if (*unknown_com_obj) \
|
|
161
|
+
{ \
|
|
162
|
+
(*unknown_com_obj)->lpVtbl->Release (*unknown_com_obj); \
|
|
163
|
+
*unknown_com_obj = NULL; \
|
|
164
|
+
} \
|
|
165
|
+
} G_STMT_END \
|
|
166
|
+
GLIB_AVAILABLE_MACRO_IN_2_84
|
|
167
|
+
|
|
168
|
+
#endif
|
|
169
|
+
|
|
170
|
+
G_END_DECLS
|
|
171
|
+
|
|
172
|
+
#ifdef __cplusplus
|
|
173
|
+
/*
|
|
174
|
+
* There are COM objects that only have C++-style definitions, such as DirectWrite
|
|
175
|
+
* from the Windows SDK (albeit a C interface is provided for the mingw-w64 toolchain),
|
|
176
|
+
* so we need to have a C++ version for this
|
|
177
|
+
*/
|
|
178
|
+
template <typename com_interface>
|
|
179
|
+
static inline void
|
|
180
|
+
g_win32_clear_com (com_interface **com_obj)
|
|
181
|
+
{
|
|
182
|
+
if (*com_obj != NULL)
|
|
183
|
+
{
|
|
184
|
+
(*com_obj)->Release ();
|
|
185
|
+
*com_obj = NULL;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
#endif
|
|
189
|
+
|
|
190
|
+
#endif /* G_PLATFORM_WIN32 */
|
|
191
|
+
|
|
192
|
+
#endif /* __G_WIN32_H__ */
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# define _GOBJECT_EXPORT __declspec(dllexport)
|
|
5
5
|
# define _GOBJECT_IMPORT __declspec(dllimport)
|
|
6
6
|
#elif __GNUC__ >= 4
|
|
7
|
-
# define _GOBJECT_EXPORT __attribute__((visibility("default")))
|
|
7
|
+
# define _GOBJECT_EXPORT __attribute__((visibility("default"))) __declspec(dllexport)
|
|
8
8
|
# define _GOBJECT_IMPORT
|
|
9
9
|
#else
|
|
10
10
|
# define _GOBJECT_EXPORT
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
#ifndef _MSC_VER
|
|
2
|
+
#pragma error "This header is for Microsoft VC or clang-cl only."
|
|
3
|
+
#endif /* _MSC_VER */
|
|
4
|
+
|
|
5
|
+
/* Make MSVC more pedantic, this is a recommended pragma list
|
|
6
|
+
* from _Win32_Programming_ by Rector and Newcomer.
|
|
7
|
+
*/
|
|
8
|
+
#ifndef __clang__
|
|
9
|
+
#pragma warning(error:4002) /* too many actual parameters for macro */
|
|
10
|
+
#pragma warning(error:4003) /* not enough actual parameters for macro */
|
|
11
|
+
#pragma warning(1:4010) /* single-line comment contains line-continuation character */
|
|
12
|
+
#pragma warning(error:4013) /* 'function' undefined; assuming extern returning int */
|
|
13
|
+
#pragma warning(1:4016) /* no function return type; using int as default */
|
|
14
|
+
#pragma warning(error:4020) /* too many actual parameters */
|
|
15
|
+
#pragma warning(error:4021) /* too few actual parameters */
|
|
16
|
+
#pragma warning(error:4027) /* function declared without formal parameter list */
|
|
17
|
+
#pragma warning(error:4029) /* declared formal parameter list different from definition */
|
|
18
|
+
#pragma warning(error:4033) /* 'function' must return a value */
|
|
19
|
+
#pragma warning(error:4035) /* 'function' : no return value */
|
|
20
|
+
#pragma warning(error:4045) /* array bounds overflow */
|
|
21
|
+
#pragma warning(error:4047) /* different levels of indirection */
|
|
22
|
+
#pragma warning(error:4049) /* terminating line number emission */
|
|
23
|
+
#pragma warning(error:4053) /* An expression of type void was used as an operand */
|
|
24
|
+
#pragma warning(error:4071) /* no function prototype given */
|
|
25
|
+
#pragma warning(disable:4101) /* unreferenced local variable */
|
|
26
|
+
#pragma warning(error:4150)
|
|
27
|
+
|
|
28
|
+
/* G_NORETURN */
|
|
29
|
+
#pragma warning(error:4646) /* function declared with __declspec(noreturn) has non-void return type */
|
|
30
|
+
#pragma warning(error:4715) /* 'function': not all control paths return a value */
|
|
31
|
+
#pragma warning(error:4098) /* 'void' function returning a value */
|
|
32
|
+
|
|
33
|
+
#pragma warning(disable:4244) /* No possible loss of data warnings */
|
|
34
|
+
#pragma warning(disable:4305) /* No truncation from int to char warnings */
|
|
35
|
+
|
|
36
|
+
#pragma warning(error:4819) /* The file contains a character that cannot be represented in the current code page */
|
|
37
|
+
#endif /* __clang__ */
|
|
38
|
+
|
|
39
|
+
/* work around Microsoft's premature attempt to deprecate the C-Library */
|
|
40
|
+
#define _CRT_SECURE_NO_WARNINGS
|
|
41
|
+
#define _CRT_NONSTDC_NO_WARNINGS
|
package/include/libpng16/png.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* png.h - header file for PNG reference library
|
|
2
2
|
*
|
|
3
|
-
* libpng version 1.6.
|
|
3
|
+
* libpng version 1.6.49
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2018-2025 Cosmin Truta
|
|
6
6
|
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
|
15
15
|
* libpng versions 0.97, January 1998, through 1.6.35, July 2018:
|
|
16
16
|
* Glenn Randers-Pehrson
|
|
17
|
-
* libpng versions 1.6.36, December 2018, through 1.6.
|
|
17
|
+
* libpng versions 1.6.36, December 2018, through 1.6.49, June 2025:
|
|
18
18
|
* Cosmin Truta
|
|
19
19
|
* See also "Contributing Authors", below.
|
|
20
20
|
*/
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
* ...
|
|
239
239
|
* 1.5.30 15 10530 15.so.15.30[.0]
|
|
240
240
|
* ...
|
|
241
|
-
* 1.6.
|
|
241
|
+
* 1.6.49 16 10649 16.so.16.49[.0]
|
|
242
242
|
*
|
|
243
243
|
* Henceforth the source version will match the shared-library major and
|
|
244
244
|
* minor numbers; the shared-library major version number will be used for
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
*/
|
|
275
275
|
|
|
276
276
|
/* Version information for png.h - this should match the version in png.c */
|
|
277
|
-
#define PNG_LIBPNG_VER_STRING "1.6.
|
|
277
|
+
#define PNG_LIBPNG_VER_STRING "1.6.49"
|
|
278
278
|
#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
|
|
279
279
|
|
|
280
280
|
/* The versions of shared library builds should stay in sync, going forward */
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
|
|
286
286
|
#define PNG_LIBPNG_VER_MAJOR 1
|
|
287
287
|
#define PNG_LIBPNG_VER_MINOR 6
|
|
288
|
-
#define PNG_LIBPNG_VER_RELEASE
|
|
288
|
+
#define PNG_LIBPNG_VER_RELEASE 49
|
|
289
289
|
|
|
290
290
|
/* This should be zero for a public release, or non-zero for a
|
|
291
291
|
* development version.
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
* From version 1.0.1 it is:
|
|
317
317
|
* XXYYZZ, where XX=major, YY=minor, ZZ=release
|
|
318
318
|
*/
|
|
319
|
-
#define PNG_LIBPNG_VER
|
|
319
|
+
#define PNG_LIBPNG_VER 10649 /* 1.6.49 */
|
|
320
320
|
|
|
321
321
|
/* Library configuration: these options cannot be changed after
|
|
322
322
|
* the library has been built.
|
|
@@ -426,7 +426,7 @@ extern "C" {
|
|
|
426
426
|
/* This triggers a compiler error in png.c, if png.c and png.h
|
|
427
427
|
* do not agree upon the version number.
|
|
428
428
|
*/
|
|
429
|
-
typedef char*
|
|
429
|
+
typedef char* png_libpng_version_1_6_49;
|
|
430
430
|
|
|
431
431
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
432
432
|
*
|
|
@@ -3303,26 +3303,45 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
|
|
|
3303
3303
|
* selected at run time.
|
|
3304
3304
|
*/
|
|
3305
3305
|
#ifdef PNG_SET_OPTION_SUPPORTED
|
|
3306
|
+
|
|
3307
|
+
/* HARDWARE: ARM Neon SIMD instructions supported */
|
|
3306
3308
|
#ifdef PNG_ARM_NEON_API_SUPPORTED
|
|
3307
|
-
# define PNG_ARM_NEON
|
|
3309
|
+
# define PNG_ARM_NEON 0
|
|
3308
3310
|
#endif
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
+
|
|
3312
|
+
/* SOFTWARE: Force maximum window */
|
|
3313
|
+
#define PNG_MAXIMUM_INFLATE_WINDOW 2
|
|
3314
|
+
|
|
3315
|
+
/* SOFTWARE: Check ICC profile for sRGB */
|
|
3316
|
+
#define PNG_SKIP_sRGB_CHECK_PROFILE 4
|
|
3317
|
+
|
|
3318
|
+
/* HARDWARE: MIPS MSA SIMD instructions supported */
|
|
3311
3319
|
#ifdef PNG_MIPS_MSA_API_SUPPORTED
|
|
3312
|
-
# define PNG_MIPS_MSA
|
|
3320
|
+
# define PNG_MIPS_MSA 6
|
|
3313
3321
|
#endif
|
|
3322
|
+
|
|
3323
|
+
/* SOFTWARE: Disable Adler32 check on IDAT */
|
|
3314
3324
|
#ifdef PNG_DISABLE_ADLER32_CHECK_SUPPORTED
|
|
3315
|
-
# define PNG_IGNORE_ADLER32 8
|
|
3325
|
+
# define PNG_IGNORE_ADLER32 8
|
|
3316
3326
|
#endif
|
|
3327
|
+
|
|
3328
|
+
/* HARDWARE: PowerPC VSX SIMD instructions supported */
|
|
3317
3329
|
#ifdef PNG_POWERPC_VSX_API_SUPPORTED
|
|
3318
|
-
# define PNG_POWERPC_VSX
|
|
3319
|
-
* supported */
|
|
3330
|
+
# define PNG_POWERPC_VSX 10
|
|
3320
3331
|
#endif
|
|
3332
|
+
|
|
3333
|
+
/* HARDWARE: MIPS MMI SIMD instructions supported */
|
|
3321
3334
|
#ifdef PNG_MIPS_MMI_API_SUPPORTED
|
|
3322
|
-
# define PNG_MIPS_MMI
|
|
3335
|
+
# define PNG_MIPS_MMI 12
|
|
3336
|
+
#endif
|
|
3337
|
+
|
|
3338
|
+
/* HARDWARE: RISC-V RVV SIMD instructions supported */
|
|
3339
|
+
#ifdef PNG_RISCV_RVV_API_SUPPORTED
|
|
3340
|
+
# define PNG_RISCV_RVV 14
|
|
3323
3341
|
#endif
|
|
3324
3342
|
|
|
3325
|
-
|
|
3343
|
+
/* Next option - numbers must be even */
|
|
3344
|
+
#define PNG_OPTION_NEXT 16
|
|
3326
3345
|
|
|
3327
3346
|
/* Return values: NOTE: there are four values and 'off' is *not* zero */
|
|
3328
3347
|
#define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
|
|
@@ -275,7 +275,7 @@ struct _xmlParserCtxt {
|
|
|
275
275
|
/* Node analysis stack only used for DOM building */
|
|
276
276
|
|
|
277
277
|
/* Current parsed Node */
|
|
278
|
-
xmlNodePtr node
|
|
278
|
+
xmlNodePtr node;
|
|
279
279
|
/* Depth of the parsing stack */
|
|
280
280
|
int nodeNr XML_DEPRECATED_MEMBER;
|
|
281
281
|
/* Max depth of the parsing stack */
|
|
@@ -331,7 +331,7 @@ struct _xmlParserCtxt {
|
|
|
331
331
|
/* ugly but ... */
|
|
332
332
|
int keepBlanks XML_DEPRECATED_MEMBER;
|
|
333
333
|
/* SAX callbacks are disabled */
|
|
334
|
-
int disableSAX
|
|
334
|
+
int disableSAX;
|
|
335
335
|
/* Parsing is in int 1/ext 2 subset */
|
|
336
336
|
int inSubset;
|
|
337
337
|
/* name of subset */
|
|
@@ -15,21 +15,21 @@
|
|
|
15
15
|
*
|
|
16
16
|
* the version string like "1.2.3"
|
|
17
17
|
*/
|
|
18
|
-
#define LIBXML_DOTTED_VERSION "2.14.
|
|
18
|
+
#define LIBXML_DOTTED_VERSION "2.14.4"
|
|
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
|
|
25
|
+
#define LIBXML_VERSION 21404
|
|
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 "
|
|
32
|
+
#define LIBXML_VERSION_STRING "21404"
|
|
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(
|
|
47
|
+
#define LIBXML_TEST_VERSION xmlCheckVersion(21404);
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* LIBXML_THREAD_ENABLED:
|
package/include/png.h
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* png.h - header file for PNG reference library
|
|
2
2
|
*
|
|
3
|
-
* libpng version 1.6.
|
|
3
|
+
* libpng version 1.6.49
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2018-2025 Cosmin Truta
|
|
6
6
|
* Copyright (c) 1998-2002,2004,2006-2018 Glenn Randers-Pehrson
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* libpng versions 0.89, June 1996, through 0.96, May 1997: Andreas Dilger
|
|
15
15
|
* libpng versions 0.97, January 1998, through 1.6.35, July 2018:
|
|
16
16
|
* Glenn Randers-Pehrson
|
|
17
|
-
* libpng versions 1.6.36, December 2018, through 1.6.
|
|
17
|
+
* libpng versions 1.6.36, December 2018, through 1.6.49, June 2025:
|
|
18
18
|
* Cosmin Truta
|
|
19
19
|
* See also "Contributing Authors", below.
|
|
20
20
|
*/
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
* ...
|
|
239
239
|
* 1.5.30 15 10530 15.so.15.30[.0]
|
|
240
240
|
* ...
|
|
241
|
-
* 1.6.
|
|
241
|
+
* 1.6.49 16 10649 16.so.16.49[.0]
|
|
242
242
|
*
|
|
243
243
|
* Henceforth the source version will match the shared-library major and
|
|
244
244
|
* minor numbers; the shared-library major version number will be used for
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
*/
|
|
275
275
|
|
|
276
276
|
/* Version information for png.h - this should match the version in png.c */
|
|
277
|
-
#define PNG_LIBPNG_VER_STRING "1.6.
|
|
277
|
+
#define PNG_LIBPNG_VER_STRING "1.6.49"
|
|
278
278
|
#define PNG_HEADER_VERSION_STRING " libpng version " PNG_LIBPNG_VER_STRING "\n"
|
|
279
279
|
|
|
280
280
|
/* The versions of shared library builds should stay in sync, going forward */
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
/* These should match the first 3 components of PNG_LIBPNG_VER_STRING: */
|
|
286
286
|
#define PNG_LIBPNG_VER_MAJOR 1
|
|
287
287
|
#define PNG_LIBPNG_VER_MINOR 6
|
|
288
|
-
#define PNG_LIBPNG_VER_RELEASE
|
|
288
|
+
#define PNG_LIBPNG_VER_RELEASE 49
|
|
289
289
|
|
|
290
290
|
/* This should be zero for a public release, or non-zero for a
|
|
291
291
|
* development version.
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
* From version 1.0.1 it is:
|
|
317
317
|
* XXYYZZ, where XX=major, YY=minor, ZZ=release
|
|
318
318
|
*/
|
|
319
|
-
#define PNG_LIBPNG_VER
|
|
319
|
+
#define PNG_LIBPNG_VER 10649 /* 1.6.49 */
|
|
320
320
|
|
|
321
321
|
/* Library configuration: these options cannot be changed after
|
|
322
322
|
* the library has been built.
|
|
@@ -426,7 +426,7 @@ extern "C" {
|
|
|
426
426
|
/* This triggers a compiler error in png.c, if png.c and png.h
|
|
427
427
|
* do not agree upon the version number.
|
|
428
428
|
*/
|
|
429
|
-
typedef char*
|
|
429
|
+
typedef char* png_libpng_version_1_6_49;
|
|
430
430
|
|
|
431
431
|
/* Basic control structions. Read libpng-manual.txt or libpng.3 for more info.
|
|
432
432
|
*
|
|
@@ -3303,26 +3303,45 @@ PNG_EXPORT(245, int, png_image_write_to_memory, (png_imagep image, void *memory,
|
|
|
3303
3303
|
* selected at run time.
|
|
3304
3304
|
*/
|
|
3305
3305
|
#ifdef PNG_SET_OPTION_SUPPORTED
|
|
3306
|
+
|
|
3307
|
+
/* HARDWARE: ARM Neon SIMD instructions supported */
|
|
3306
3308
|
#ifdef PNG_ARM_NEON_API_SUPPORTED
|
|
3307
|
-
# define PNG_ARM_NEON
|
|
3309
|
+
# define PNG_ARM_NEON 0
|
|
3308
3310
|
#endif
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
+
|
|
3312
|
+
/* SOFTWARE: Force maximum window */
|
|
3313
|
+
#define PNG_MAXIMUM_INFLATE_WINDOW 2
|
|
3314
|
+
|
|
3315
|
+
/* SOFTWARE: Check ICC profile for sRGB */
|
|
3316
|
+
#define PNG_SKIP_sRGB_CHECK_PROFILE 4
|
|
3317
|
+
|
|
3318
|
+
/* HARDWARE: MIPS MSA SIMD instructions supported */
|
|
3311
3319
|
#ifdef PNG_MIPS_MSA_API_SUPPORTED
|
|
3312
|
-
# define PNG_MIPS_MSA
|
|
3320
|
+
# define PNG_MIPS_MSA 6
|
|
3313
3321
|
#endif
|
|
3322
|
+
|
|
3323
|
+
/* SOFTWARE: Disable Adler32 check on IDAT */
|
|
3314
3324
|
#ifdef PNG_DISABLE_ADLER32_CHECK_SUPPORTED
|
|
3315
|
-
# define PNG_IGNORE_ADLER32 8
|
|
3325
|
+
# define PNG_IGNORE_ADLER32 8
|
|
3316
3326
|
#endif
|
|
3327
|
+
|
|
3328
|
+
/* HARDWARE: PowerPC VSX SIMD instructions supported */
|
|
3317
3329
|
#ifdef PNG_POWERPC_VSX_API_SUPPORTED
|
|
3318
|
-
# define PNG_POWERPC_VSX
|
|
3319
|
-
* supported */
|
|
3330
|
+
# define PNG_POWERPC_VSX 10
|
|
3320
3331
|
#endif
|
|
3332
|
+
|
|
3333
|
+
/* HARDWARE: MIPS MMI SIMD instructions supported */
|
|
3321
3334
|
#ifdef PNG_MIPS_MMI_API_SUPPORTED
|
|
3322
|
-
# define PNG_MIPS_MMI
|
|
3335
|
+
# define PNG_MIPS_MMI 12
|
|
3336
|
+
#endif
|
|
3337
|
+
|
|
3338
|
+
/* HARDWARE: RISC-V RVV SIMD instructions supported */
|
|
3339
|
+
#ifdef PNG_RISCV_RVV_API_SUPPORTED
|
|
3340
|
+
# define PNG_RISCV_RVV 14
|
|
3323
3341
|
#endif
|
|
3324
3342
|
|
|
3325
|
-
|
|
3343
|
+
/* Next option - numbers must be even */
|
|
3344
|
+
#define PNG_OPTION_NEXT 16
|
|
3326
3345
|
|
|
3327
3346
|
/* Return values: NOTE: there are four values and 'off' is *not* zero */
|
|
3328
3347
|
#define PNG_OPTION_UNSET 0 /* Unset - defaults to off */
|
package/include/pngconf.h
CHANGED
package/include/pnglibconf.h
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@img/sharp-libvips-dev",
|
|
3
|
-
"version": "1.2.0-rc.
|
|
3
|
+
"version": "1.2.0-rc.3",
|
|
4
4
|
"description": "Header files and C++ sources for libvips and dependencies required when compiling sharp from source",
|
|
5
5
|
"author": "Lovell Fuller <npm@lovell.info>",
|
|
6
6
|
"homepage": "https://sharp.pixelplumbing.com",
|
package/versions.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"fontconfig": "2.16.2",
|
|
10
10
|
"freetype": "2.13.3",
|
|
11
11
|
"fribidi": "1.0.16",
|
|
12
|
-
"glib": "2.85.
|
|
12
|
+
"glib": "2.85.1",
|
|
13
13
|
"harfbuzz": "11.2.1",
|
|
14
14
|
"heif": "1.19.8",
|
|
15
15
|
"highway": "1.2.0",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"mozjpeg": "4.1.5",
|
|
19
19
|
"pango": "1.56.3",
|
|
20
20
|
"pixman": "0.46.2",
|
|
21
|
-
"png": "1.6.
|
|
21
|
+
"png": "1.6.49",
|
|
22
22
|
"proxy-libintl": "0.4",
|
|
23
23
|
"rsvg": "2.60.0",
|
|
24
24
|
"spng": "0.7.4",
|
|
25
25
|
"tiff": "4.7.0",
|
|
26
26
|
"vips": "8.17.0",
|
|
27
27
|
"webp": "1.5.0",
|
|
28
|
-
"xml2": "2.14.
|
|
28
|
+
"xml2": "2.14.4",
|
|
29
29
|
"zlib-ng": "2.2.4"
|
|
30
30
|
}
|