@img/sharp-libvips-dev 1.1.0-rc1 → 1.1.0-rc2
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/cplusplus/VImage.cpp +17 -1
- package/include/archive.h +2 -2
- package/include/archive_entry.h +1 -1
- package/include/vips/VImage8.h +4 -0
- package/include/vips/vips.h +9 -5
- package/package.json +1 -1
- package/versions.json +3 -3
package/cplusplus/VImage.cpp
CHANGED
|
@@ -647,7 +647,7 @@ VImage::new_from_memory_steal(const void *data, size_t size,
|
|
|
647
647
|
throw(VError());
|
|
648
648
|
|
|
649
649
|
g_signal_connect(image, "postclose",
|
|
650
|
-
G_CALLBACK(vips_image_free_buffer),
|
|
650
|
+
G_CALLBACK(vips_image_free_buffer), const_cast<void *>(data));
|
|
651
651
|
|
|
652
652
|
return VImage(image);
|
|
653
653
|
}
|
|
@@ -1592,4 +1592,20 @@ operator>>=(VImage &a, const std::vector<double> b)
|
|
|
1592
1592
|
return a;
|
|
1593
1593
|
}
|
|
1594
1594
|
|
|
1595
|
+
// Compat operations
|
|
1596
|
+
|
|
1597
|
+
VImage
|
|
1598
|
+
VImage::new_from_memory_steal(void *data, size_t size,
|
|
1599
|
+
int width, int height, int bands, VipsBandFormat format)
|
|
1600
|
+
{
|
|
1601
|
+
return new_from_memory_steal(static_cast<const void *>(data), size,
|
|
1602
|
+
width, height, bands, format);
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
void
|
|
1606
|
+
VImage::rawsave_fd(int fd, VOption *options) const
|
|
1607
|
+
{
|
|
1608
|
+
rawsave_target(VTarget::new_to_descriptor(fd), options);
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1595
1611
|
VIPS_NAMESPACE_END
|
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
|
|
37
|
+
#define ARCHIVE_VERSION_NUMBER 3007007
|
|
38
38
|
|
|
39
39
|
#include <sys/stat.h>
|
|
40
40
|
#include <stddef.h> /* for wchar_t */
|
|
@@ -155,7 +155,7 @@ __LA_DECL int archive_version_number(void);
|
|
|
155
155
|
/*
|
|
156
156
|
* Textual name/version of the library, useful for version displays.
|
|
157
157
|
*/
|
|
158
|
-
#define ARCHIVE_VERSION_ONLY_STRING "3.7.
|
|
158
|
+
#define ARCHIVE_VERSION_ONLY_STRING "3.7.7"
|
|
159
159
|
#define ARCHIVE_VERSION_STRING "libarchive " ARCHIVE_VERSION_ONLY_STRING
|
|
160
160
|
__LA_DECL const char * archive_version_string(void);
|
|
161
161
|
|
package/include/archive_entry.h
CHANGED
|
@@ -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
|
|
31
|
+
#define ARCHIVE_VERSION_NUMBER 3007007
|
|
32
32
|
|
|
33
33
|
/*
|
|
34
34
|
* Note: archive_entry.h is for use outside of libarchive; the
|
package/include/vips/VImage8.h
CHANGED
|
@@ -2050,6 +2050,10 @@ public:
|
|
|
2050
2050
|
|
|
2051
2051
|
// Compat operations
|
|
2052
2052
|
|
|
2053
|
+
static VImage
|
|
2054
|
+
new_from_memory_steal(void *data, size_t size,
|
|
2055
|
+
int width, int height, int bands, VipsBandFormat format);
|
|
2056
|
+
|
|
2053
2057
|
/**
|
|
2054
2058
|
* Write raw image to file descriptor.
|
|
2055
2059
|
*
|
package/include/vips/vips.h
CHANGED
|
@@ -109,9 +109,6 @@ extern "C" {
|
|
|
109
109
|
|
|
110
110
|
#include <vips/private.h>
|
|
111
111
|
|
|
112
|
-
#if VIPS_ENABLE_DEPRECATED
|
|
113
|
-
#include <vips/mask.h>
|
|
114
|
-
#endif
|
|
115
112
|
#include <vips/image.h>
|
|
116
113
|
#include <vips/memory.h>
|
|
117
114
|
#include <vips/error.h>
|
|
@@ -138,8 +135,15 @@ extern "C" {
|
|
|
138
135
|
#include <vips/colour.h>
|
|
139
136
|
#include <vips/draw.h>
|
|
140
137
|
#include <vips/create.h>
|
|
141
|
-
|
|
142
|
-
|
|
138
|
+
|
|
139
|
+
/* VIPS_DISABLE_COMPAT:
|
|
140
|
+
*
|
|
141
|
+
* Disable automatically inclusion of `vips7compat.h`.
|
|
142
|
+
*
|
|
143
|
+
* This has no effect when building with `-Ddeprecated=false`.
|
|
144
|
+
*/
|
|
145
|
+
#if VIPS_ENABLE_DEPRECATED && !defined(VIPS_DISABLE_COMPAT)
|
|
146
|
+
#include <vips/vips7compat.h>
|
|
143
147
|
#endif
|
|
144
148
|
|
|
145
149
|
/* We can't use _ here since this will be compiled by our clients and they may
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@img/sharp-libvips-dev",
|
|
3
|
-
"version": "1.1.0-
|
|
3
|
+
"version": "1.1.0-rc2",
|
|
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"aom": "3.10.0",
|
|
3
|
-
"archive": "3.7.
|
|
3
|
+
"archive": "3.7.7",
|
|
4
4
|
"cairo": "1.18.2",
|
|
5
5
|
"cgif": "0.4.1",
|
|
6
6
|
"exif": "0.6.24",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"fontconfig": "2.15.0",
|
|
10
10
|
"freetype": "2.13.3",
|
|
11
11
|
"fribidi": "1.0.16",
|
|
12
|
-
"glib": "2.82.
|
|
12
|
+
"glib": "2.82.2",
|
|
13
13
|
"harfbuzz": "10.0.1",
|
|
14
14
|
"heif": "1.18.2",
|
|
15
15
|
"highway": "1.2.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"rsvg": "2.59.1",
|
|
24
24
|
"spng": "0.7.4",
|
|
25
25
|
"tiff": "4.7.0",
|
|
26
|
-
"vips": "8.16.0-
|
|
26
|
+
"vips": "8.16.0-rc2",
|
|
27
27
|
"webp": "1.4.0",
|
|
28
28
|
"xml": "2.13.4",
|
|
29
29
|
"zlib-ng": "2.2.2"
|