node-sword-interface 1.0.115 → 1.0.117
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/binding.gyp
CHANGED
|
@@ -100,6 +100,12 @@
|
|
|
100
100
|
"conditions":[
|
|
101
101
|
["is_ios==1", {
|
|
102
102
|
"type": "shared_library",
|
|
103
|
+
# Exclude unzip sources from iOS build, because these symbols otherwise
|
|
104
|
+
# get duplicated with the unzip symbols in the static libsword.a.
|
|
105
|
+
"sources!": [
|
|
106
|
+
"src/lib/unzip/unzip.c",
|
|
107
|
+
"src/lib/unzip/ioapi.c"
|
|
108
|
+
],
|
|
103
109
|
'include_dirs': [
|
|
104
110
|
"<(module_root_dir)/src/sword_backend",
|
|
105
111
|
"<(module_root_dir)/src/lib",
|
package/package.json
CHANGED
package/scripts/build_sword.sh
CHANGED
|
@@ -31,7 +31,7 @@ fi
|
|
|
31
31
|
|
|
32
32
|
# CLONE SWORD
|
|
33
33
|
git clone https://github.com/ezra-bible-app/crosswire-sword-mirror sword
|
|
34
|
-
git -C sword checkout 1.9.0-
|
|
34
|
+
git -C sword checkout 1.9.0-2025-12-30
|
|
35
35
|
patch --batch --forward -d sword -p 0 < patch/sword_globconf.patch
|
|
36
36
|
|
|
37
37
|
# PATCHES
|
|
@@ -29,6 +29,10 @@
|
|
|
29
29
|
#include <fstream>
|
|
30
30
|
#endif
|
|
31
31
|
|
|
32
|
+
#if defined(__APPLE__)
|
|
33
|
+
#include <TargetConditionals.h>
|
|
34
|
+
#endif
|
|
35
|
+
|
|
32
36
|
#include <regex>
|
|
33
37
|
|
|
34
38
|
// Own includes
|
|
@@ -220,8 +224,18 @@ vector<string> RepositoryInterface::getRepoNames()
|
|
|
220
224
|
if (source != "STEP Bible") {
|
|
221
225
|
#endif
|
|
222
226
|
|
|
227
|
+
#if TARGET_OS_IOS
|
|
228
|
+
// eBible.org repository is excluded on iOS / iPadOS, because we could not reliably
|
|
229
|
+
// get it to a working state on these platforms (as of 2026-04-03).
|
|
230
|
+
if (source != "eBible.org") {
|
|
231
|
+
#endif
|
|
232
|
+
|
|
223
233
|
sourceNames.push_back(source);
|
|
224
234
|
|
|
235
|
+
#if TARGET_OS_IOS
|
|
236
|
+
}
|
|
237
|
+
#endif
|
|
238
|
+
|
|
225
239
|
#if defined(__ANDROID__) || defined(__APPLE__)
|
|
226
240
|
}
|
|
227
241
|
#endif
|