node-sword-interface 1.0.33 → 1.0.34
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/CMakeLists.txt
CHANGED
|
@@ -17,9 +17,10 @@ link_directories(${CMAKE_SOURCE_DIR}/sword_build)
|
|
|
17
17
|
find_package(ZLIB REQUIRED)
|
|
18
18
|
find_package(CURL REQUIRED)
|
|
19
19
|
find_package(BZip2 REQUIRED)
|
|
20
|
+
find_package(LibLZMA REQUIRED)
|
|
20
21
|
|
|
21
22
|
set(SWORD_LIBRARY_NAME "libsword.a")
|
|
22
|
-
set(DEPENDENT_LIBS ${ZLIB_LIBRARIES} ${CURL_LIBRARIES} ${BZIP2_LIBRARIES})
|
|
23
|
+
set(DEPENDENT_LIBS ${ZLIB_LIBRARIES} ${CURL_LIBRARIES} ${BZIP2_LIBRARIES} ${LIBLZMA_LIBRARIES})
|
|
23
24
|
|
|
24
25
|
if (UNIX)
|
|
25
26
|
set(DEPENDENT_LIBS ${DEPENDENT_LIBS} pthread)
|
package/package.json
CHANGED
package/scripts/build_sword.sh
CHANGED
|
@@ -30,8 +30,8 @@ else
|
|
|
30
30
|
fi
|
|
31
31
|
|
|
32
32
|
# CLONE SWORD
|
|
33
|
-
git clone https://github.com/
|
|
34
|
-
git -C sword checkout
|
|
33
|
+
git clone https://github.com/ezra-bible-app/crosswire-sword-mirror sword
|
|
34
|
+
git -C sword checkout 1.9.0-2025-02-24
|
|
35
35
|
patch --batch --forward -d sword -p 0 < patch/sword_globconf.patch
|
|
36
36
|
|
|
37
37
|
# PATCHES
|
|
@@ -75,7 +75,7 @@ else
|
|
|
75
75
|
# macOS & Linux
|
|
76
76
|
|
|
77
77
|
cd sword_build
|
|
78
|
-
cmake -DLIBSWORD_LIBRARY_TYPE=Static -DCMAKE_CXX_STANDARD=11 -DCMAKE_BUILD_TYPE=
|
|
78
|
+
cmake -DLIBSWORD_LIBRARY_TYPE=Static -DCMAKE_CXX_STANDARD=11 -DCMAKE_BUILD_TYPE=Debug \
|
|
79
79
|
-DCMAKE_DISABLE_FIND_PACKAGE_ICU=TRUE \
|
|
80
80
|
../sword
|
|
81
81
|
fi
|
|
@@ -34,7 +34,7 @@ $headers = @{}
|
|
|
34
34
|
$github_token = $env:GITHUB_TOKEN
|
|
35
35
|
|
|
36
36
|
# --- Set the uri for the release
|
|
37
|
-
$URI = "https://api.github.com/repos/ezra-bible-app/sword-build-win32/releases/tags/v1.
|
|
37
|
+
$URI = "https://api.github.com/repos/ezra-bible-app/sword-build-win32/releases/tags/v1.9.0-2025-02-23"
|
|
38
38
|
|
|
39
39
|
if ($Env:CI -eq "true") {
|
|
40
40
|
Write-Host "GitHub actions build ... using GITHUB_TOKEN for authentication!"
|
|
@@ -983,11 +983,11 @@ Napi::Value NodeSwordInterface::getSwordVersion(const Napi::CallbackInfo& info)
|
|
|
983
983
|
Napi::HandleScope scope(env);
|
|
984
984
|
|
|
985
985
|
#if defined(__ANDROID__)
|
|
986
|
-
string version = "1.9.0-
|
|
986
|
+
string version = "1.9.0-1460f91 (SVN Rev. 3873)";
|
|
987
987
|
#elif defined(__linux__) || defined(__APPLE__)
|
|
988
|
-
string version = "1.9.0-
|
|
988
|
+
string version = "1.9.0-1460f91 (SVN Rev. 3873)";
|
|
989
989
|
#elif _WIN32
|
|
990
|
-
string version = "1.9.0-
|
|
990
|
+
string version = "1.9.0-1460f91 (SVN Rev. 3873)";
|
|
991
991
|
#endif
|
|
992
992
|
|
|
993
993
|
Napi::String swVersion = Napi::String::New(env, version);
|