@img/sharp-libvips-linux-arm64 0.0.1

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/README.md ADDED
@@ -0,0 +1,47 @@
1
+ # `@img/sharp-libvips-linux-arm64`
2
+
3
+ Prebuilt libvips and dependencies for use with sharp on Linux (glibc) 64-bit ARM.
4
+
5
+ ## Licensing
6
+
7
+ This software contains third-party libraries
8
+ used under the terms of the following licences:
9
+
10
+ | Library | Used under the terms of |
11
+ |---------------|-----------------------------------------------------------------------------------------------------------|
12
+ | aom | BSD 2-Clause + [Alliance for Open Media Patent License 1.0](https://aomedia.org/license/patent-license/) |
13
+ | cairo | Mozilla Public License 2.0 |
14
+ | cgif | MIT Licence |
15
+ | expat | MIT Licence |
16
+ | fontconfig | [fontconfig Licence](https://gitlab.freedesktop.org/fontconfig/fontconfig/blob/main/COPYING) (BSD-like) |
17
+ | freetype | [freetype Licence](https://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/docs/FTL.TXT) (BSD-like) |
18
+ | fribidi | LGPLv3 |
19
+ | gdk-pixbuf | LGPLv3 |
20
+ | glib | LGPLv3 |
21
+ | harfbuzz | MIT Licence |
22
+ | lcms | MIT Licence |
23
+ | libarchive | BSD 2-Clause |
24
+ | libexif | LGPLv3 |
25
+ | libffi | MIT Licence |
26
+ | libheif | LGPLv3 |
27
+ | libimagequant | [BSD 2-Clause](https://github.com/lovell/libimagequant/blob/main/COPYRIGHT) |
28
+ | mozjpeg | [zlib License, IJG License, BSD-3-Clause](https://github.com/mozilla/mozjpeg/blob/master/LICENSE.md) |
29
+ | libnsgif | MIT Licence |
30
+ | libpng | [libpng License](https://github.com/glennrp/libpng/blob/master/LICENSE) |
31
+ | librsvg | LGPLv3 |
32
+ | libspng | [BSD 2-Clause, libpng License](https://github.com/randy408/libspng/blob/master/LICENSE) |
33
+ | libtiff | [libtiff License](https://libtiff.gitlab.io/libtiff/misc.html) (BSD-like) |
34
+ | libvips | LGPLv3 |
35
+ | libwebp | New BSD License |
36
+ | libxml2 | MIT Licence |
37
+ | orc | [orc License](https://gitlab.freedesktop.org/gstreamer/orc/blob/master/COPYING) (BSD-like) |
38
+ | pango | LGPLv3 |
39
+ | pixman | MIT Licence |
40
+ | proxy-libintl | LGPLv3 |
41
+ | zlib-ng | [zlib Licence](https://github.com/zlib-ng/zlib-ng/blob/develop/LICENSE.md) |
42
+
43
+ Use of libraries under the terms of the LGPLv3 is via the
44
+ "any later version" clause of the LGPLv2 or LGPLv2.1.
45
+
46
+ Please report any errors or omissions via
47
+ https://github.com/lovell/sharp-libvips/issues/new
@@ -0,0 +1,219 @@
1
+ /* glibconfig.h
2
+ *
3
+ * This is a generated file. Please modify 'glibconfig.h.in'
4
+ */
5
+
6
+ #ifndef __GLIBCONFIG_H__
7
+ #define __GLIBCONFIG_H__
8
+
9
+ #include <glib/gmacros.h>
10
+
11
+ #include <limits.h>
12
+ #include <float.h>
13
+ #define GLIB_HAVE_ALLOCA_H
14
+
15
+ #define GLIB_STATIC_COMPILATION 1
16
+ #define GOBJECT_STATIC_COMPILATION 1
17
+ #define GIO_STATIC_COMPILATION 1
18
+ #define GMODULE_STATIC_COMPILATION 1
19
+ #define G_INTL_STATIC_COMPILATION 1
20
+ #define FFI_STATIC_BUILD 1
21
+
22
+ /* Specifies that GLib's g_print*() functions wrap the
23
+ * system printf functions. This is useful to know, for example,
24
+ * when using glibc's register_printf_function().
25
+ */
26
+ #define GLIB_USING_SYSTEM_PRINTF
27
+
28
+ G_BEGIN_DECLS
29
+
30
+ #define G_MINFLOAT FLT_MIN
31
+ #define G_MAXFLOAT FLT_MAX
32
+ #define G_MINDOUBLE DBL_MIN
33
+ #define G_MAXDOUBLE DBL_MAX
34
+ #define G_MINSHORT SHRT_MIN
35
+ #define G_MAXSHORT SHRT_MAX
36
+ #define G_MAXUSHORT USHRT_MAX
37
+ #define G_MININT INT_MIN
38
+ #define G_MAXINT INT_MAX
39
+ #define G_MAXUINT UINT_MAX
40
+ #define G_MINLONG LONG_MIN
41
+ #define G_MAXLONG LONG_MAX
42
+ #define G_MAXULONG ULONG_MAX
43
+
44
+ typedef signed char gint8;
45
+ typedef unsigned char guint8;
46
+
47
+ typedef signed short gint16;
48
+ typedef unsigned short guint16;
49
+
50
+ #define G_GINT16_MODIFIER "h"
51
+ #define G_GINT16_FORMAT "hi"
52
+ #define G_GUINT16_FORMAT "hu"
53
+
54
+
55
+ typedef signed int gint32;
56
+ typedef unsigned int guint32;
57
+
58
+ #define G_GINT32_MODIFIER ""
59
+ #define G_GINT32_FORMAT "i"
60
+ #define G_GUINT32_FORMAT "u"
61
+
62
+
63
+ #define G_HAVE_GINT64 1 /* deprecated, always true */
64
+
65
+ typedef signed long gint64;
66
+ typedef unsigned long guint64;
67
+
68
+ #define G_GINT64_CONSTANT(val) (val##L)
69
+ #define G_GUINT64_CONSTANT(val) (val##UL)
70
+
71
+ #define G_GINT64_MODIFIER "l"
72
+ #define G_GINT64_FORMAT "li"
73
+ #define G_GUINT64_FORMAT "lu"
74
+
75
+
76
+ #define GLIB_SIZEOF_VOID_P 8
77
+ #define GLIB_SIZEOF_LONG 8
78
+ #define GLIB_SIZEOF_SIZE_T 8
79
+ #define GLIB_SIZEOF_SSIZE_T 8
80
+
81
+ typedef signed long gssize;
82
+ typedef unsigned long gsize;
83
+ #define G_GSIZE_MODIFIER "l"
84
+ #define G_GSSIZE_MODIFIER "l"
85
+ #define G_GSIZE_FORMAT "lu"
86
+ #define G_GSSIZE_FORMAT "li"
87
+
88
+ #define G_MAXSIZE G_MAXULONG
89
+ #define G_MINSSIZE G_MINLONG
90
+ #define G_MAXSSIZE G_MAXLONG
91
+
92
+ typedef gint64 goffset;
93
+ #define G_MINOFFSET G_MININT64
94
+ #define G_MAXOFFSET G_MAXINT64
95
+
96
+ #define G_GOFFSET_MODIFIER G_GINT64_MODIFIER
97
+ #define G_GOFFSET_FORMAT G_GINT64_FORMAT
98
+ #define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val)
99
+
100
+ #define G_POLLFD_FORMAT "%d"
101
+
102
+ #define GPOINTER_TO_INT(p) ((gint) (glong) (p))
103
+ #define GPOINTER_TO_UINT(p) ((guint) (gulong) (p))
104
+
105
+ #define GINT_TO_POINTER(i) ((gpointer) (glong) (i))
106
+ #define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u))
107
+
108
+ typedef signed long gintptr;
109
+ typedef unsigned long guintptr;
110
+
111
+ #define G_GINTPTR_MODIFIER "l"
112
+ #define G_GINTPTR_FORMAT "li"
113
+ #define G_GUINTPTR_FORMAT "lu"
114
+
115
+ #define GLIB_MAJOR_VERSION 2
116
+ #define GLIB_MINOR_VERSION 78
117
+ #define GLIB_MICRO_VERSION 0
118
+
119
+ #define G_OS_UNIX
120
+
121
+ #define G_VA_COPY va_copy
122
+
123
+
124
+ #define G_HAVE_ISO_VARARGS 1
125
+
126
+ /* gcc-2.95.x supports both gnu style and ISO varargs, but if -ansi
127
+ * is passed ISO vararg support is turned off, and there is no work
128
+ * around to turn it on, so we unconditionally turn it off.
129
+ */
130
+ #if __GNUC__ == 2 && __GNUC_MINOR__ == 95
131
+ # undef G_HAVE_ISO_VARARGS
132
+ #endif
133
+
134
+ #define G_HAVE_GROWING_STACK 0
135
+
136
+ #ifndef _MSC_VER
137
+ # define G_HAVE_GNUC_VARARGS 1
138
+ #endif
139
+
140
+ #if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
141
+ #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
142
+ #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
143
+ #define G_GNUC_INTERNAL __hidden
144
+ #elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
145
+ #define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
146
+ #else
147
+ #define G_GNUC_INTERNAL
148
+ #endif
149
+
150
+ #define G_THREADS_ENABLED
151
+ #define G_THREADS_IMPL_POSIX
152
+
153
+ #define G_ATOMIC_LOCK_FREE
154
+
155
+ #define GINT16_TO_LE(val) ((gint16) (val))
156
+ #define GUINT16_TO_LE(val) ((guint16) (val))
157
+ #define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val))
158
+ #define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val))
159
+
160
+ #define GINT32_TO_LE(val) ((gint32) (val))
161
+ #define GUINT32_TO_LE(val) ((guint32) (val))
162
+ #define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val))
163
+ #define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val))
164
+
165
+ #define GINT64_TO_LE(val) ((gint64) (val))
166
+ #define GUINT64_TO_LE(val) ((guint64) (val))
167
+ #define GINT64_TO_BE(val) ((gint64) GUINT64_SWAP_LE_BE (val))
168
+ #define GUINT64_TO_BE(val) (GUINT64_SWAP_LE_BE (val))
169
+
170
+ #define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val))
171
+ #define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val))
172
+ #define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val))
173
+ #define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val))
174
+ #define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val))
175
+ #define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val))
176
+ #define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val))
177
+ #define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val))
178
+ #define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val))
179
+ #define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val))
180
+ #define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val))
181
+ #define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val))
182
+ #define G_BYTE_ORDER G_LITTLE_ENDIAN
183
+
184
+ #define GLIB_SYSDEF_POLLIN =1
185
+ #define GLIB_SYSDEF_POLLOUT =4
186
+ #define GLIB_SYSDEF_POLLPRI =2
187
+ #define GLIB_SYSDEF_POLLHUP =16
188
+ #define GLIB_SYSDEF_POLLERR =8
189
+ #define GLIB_SYSDEF_POLLNVAL =32
190
+
191
+ /* No way to disable deprecation warnings for macros, so only emit deprecation
192
+ * warnings on platforms where usage of this macro is broken */
193
+ #if defined(__APPLE__) || defined(_MSC_VER) || defined(__CYGWIN__)
194
+ #define G_MODULE_SUFFIX "so" GLIB_DEPRECATED_MACRO_IN_2_76
195
+ #else
196
+ #define G_MODULE_SUFFIX "so"
197
+ #endif
198
+
199
+ typedef int GPid;
200
+ #define G_PID_FORMAT "i"
201
+
202
+ #define GLIB_SYSDEF_AF_UNIX 1
203
+ #define GLIB_SYSDEF_AF_INET 2
204
+ #define GLIB_SYSDEF_AF_INET6 10
205
+
206
+ #define GLIB_SYSDEF_MSG_OOB 1
207
+ #define GLIB_SYSDEF_MSG_PEEK 2
208
+ #define GLIB_SYSDEF_MSG_DONTROUTE 4
209
+
210
+ #define G_DIR_SEPARATOR '/'
211
+ #define G_DIR_SEPARATOR_S "/"
212
+ #define G_SEARCHPATH_SEPARATOR ':'
213
+ #define G_SEARCHPATH_SEPARATOR_S ":"
214
+
215
+ #undef G_HAVE_FREE_SIZED
216
+
217
+ G_END_DECLS
218
+
219
+ #endif /* __GLIBCONFIG_H__ */
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = __dirname;
Binary file
package/package.json ADDED
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "@img/sharp-libvips-linux-arm64",
3
+ "version": "0.0.1",
4
+ "description": "Prebuilt libvips and dependencies for use with sharp on Linux (glibc) 64-bit ARM",
5
+ "author": "Lovell Fuller <npm@lovell.info>",
6
+ "homepage": "https://sharp.pixelplumbing.com",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/lovell/sharp-libvips.git",
10
+ "directory": "npm/linux-arm64"
11
+ },
12
+ "license": "LGPL-3.0-or-later",
13
+ "funding": {
14
+ "url": "https://opencollective.com/libvips"
15
+ },
16
+ "preferUnplugged": true,
17
+ "publishConfig": {
18
+ "access": "public"
19
+ },
20
+ "files": [
21
+ "lib",
22
+ "versions.json"
23
+ ],
24
+ "type": "commonjs",
25
+ "exports": {
26
+ "./lib": "./lib/index.js",
27
+ "./package": "./package.json",
28
+ "./versions": "./versions.json"
29
+ },
30
+ "engines": {
31
+ "npm": ">=9.6.5",
32
+ "yarn": ">=3.2.0",
33
+ "pnpm": ">=7.1.0",
34
+ "glibc": ">=2.26"
35
+ },
36
+ "os": [
37
+ "linux"
38
+ ],
39
+ "libc": [
40
+ "glibc"
41
+ ],
42
+ "cpu": [
43
+ "arm64"
44
+ ]
45
+ }
package/versions.json ADDED
@@ -0,0 +1,31 @@
1
+ {
2
+ "aom": "3.6.1",
3
+ "archive": "3.7.2",
4
+ "cairo": "1.17.8",
5
+ "cgif": "0.3.2",
6
+ "exif": "0.6.24",
7
+ "expat": "2.5.0",
8
+ "ffi": "3.4.4",
9
+ "fontconfig": "2.14.2",
10
+ "freetype": "2.13.2",
11
+ "fribidi": "1.0.13",
12
+ "gdkpixbuf": "2.42.10",
13
+ "glib": "2.78.0",
14
+ "harfbuzz": "8.2.0",
15
+ "heif": "1.16.2",
16
+ "imagequant": "2.4.1",
17
+ "lcms": "2.15",
18
+ "mozjpeg": "4.1.4",
19
+ "orc": "0.4.34",
20
+ "pango": "1.51.0",
21
+ "pixman": "0.42.2",
22
+ "png": "1.6.40",
23
+ "proxy-libintl": "0.4",
24
+ "rsvg": "2.57.0",
25
+ "spng": "0.7.4",
26
+ "tiff": "4.6.0",
27
+ "vips": "8.14.5",
28
+ "webp": "1.3.2",
29
+ "xml": "2.11.5",
30
+ "zlib-ng": "2.1.3"
31
+ }