fastqr 1.0.24 → 1.0.26
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.
- checksums.yaml +4 -4
- data/CMakeLists.txt +27 -30
- data/VERSION +1 -1
- data/bindings/nodejs/package.json +1 -1
- data/bindings/ruby/lib/fastqr/version.rb +1 -1
- data/bindings/ruby/prebuilt/linux-aarch64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/linux-aarch64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/linux-x86_64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/linux-x86_64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/macos-arm64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-arm64.tar.gz +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64/bin/fastqr +0 -0
- data/bindings/ruby/prebuilt/macos-x86_64.tar.gz +0 -0
- data/src/fastqr.cpp +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 457b98912e41a7810a0f8c3d8f22965b517c6da7fb8bbe2ed06b969eda990603
|
|
4
|
+
data.tar.gz: '063209c0e1f36e15b709dcf5129dd2902a48de17a4b57967791aea9e9924122b'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 150aeb0c727ccc4915b09d65c38bcf7afa5a25f766bae315830096402fef9915e8ee21a88503cbbb94b24b843b9cead04e2aee178c5eddc2be7528e57555483c
|
|
7
|
+
data.tar.gz: 3799f1bd5ea39d4daadb353874a122b3184c85e9294f082629ae8b90cbe90d4e85178d48874c8ff0d8c8a3cabf0b17c1cd8547b12b479ff4760e074d54977017
|
data/CMakeLists.txt
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.15)
|
|
2
|
-
project(fastqr VERSION 1.0.
|
|
2
|
+
project(fastqr VERSION 1.0.26 LANGUAGES CXX C)
|
|
3
3
|
|
|
4
4
|
set(CMAKE_CXX_STANDARD 14)
|
|
5
5
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
@@ -88,12 +88,12 @@ if(NOT BUILD_SHARED_LIBS)
|
|
|
88
88
|
# Add PNG library directories to search path
|
|
89
89
|
link_directories(${PNG_LIBRARY_DIRS})
|
|
90
90
|
|
|
91
|
-
# Find static versions of libraries
|
|
91
|
+
# Find static versions of ALL libraries
|
|
92
92
|
find_library(PNG_STATIC_LIBRARY
|
|
93
93
|
NAMES libpng.a libpng16.a
|
|
94
94
|
PATHS
|
|
95
|
-
${PNG_LIBRARY_DIRS}
|
|
96
95
|
/usr/local/lib
|
|
96
|
+
${PNG_LIBRARY_DIRS}
|
|
97
97
|
/opt/homebrew/lib
|
|
98
98
|
/usr/lib
|
|
99
99
|
NO_DEFAULT_PATH
|
|
@@ -102,55 +102,52 @@ if(NOT BUILD_SHARED_LIBS)
|
|
|
102
102
|
find_library(QRENCODE_STATIC_LIBRARY
|
|
103
103
|
NAMES libqrencode.a
|
|
104
104
|
PATHS
|
|
105
|
-
/usr/local/lib
|
|
105
|
+
/usr/local/lib
|
|
106
106
|
${QRENCODE_LIBRARY_DIRS}
|
|
107
|
-
/opt/homebrew/lib
|
|
107
|
+
/opt/homebrew/lib
|
|
108
108
|
/usr/lib
|
|
109
109
|
NO_DEFAULT_PATH
|
|
110
110
|
)
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
find_library(ZLIB_STATIC_LIBRARY
|
|
113
|
+
NAMES libz.a
|
|
114
|
+
PATHS
|
|
115
|
+
/usr/local/lib
|
|
116
|
+
/opt/homebrew/lib
|
|
117
|
+
/opt/homebrew/opt/zlib/lib
|
|
118
|
+
/usr/lib
|
|
119
|
+
/usr/lib/x86_64-linux-gnu
|
|
120
|
+
/usr/lib/aarch64-linux-gnu
|
|
121
|
+
NO_DEFAULT_PATH
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
if(PNG_STATIC_LIBRARY AND QRENCODE_STATIC_LIBRARY AND ZLIB_STATIC_LIBRARY)
|
|
113
125
|
message(STATUS "✓ Found static libpng: ${PNG_STATIC_LIBRARY}")
|
|
114
126
|
message(STATUS "✓ Found static libqrencode: ${QRENCODE_STATIC_LIBRARY}")
|
|
127
|
+
message(STATUS "✓ Found static libz: ${ZLIB_STATIC_LIBRARY}")
|
|
115
128
|
|
|
116
|
-
# Link CLI directly with object library + static libs
|
|
129
|
+
# Link CLI directly with object library + static libs ONLY
|
|
117
130
|
target_link_libraries(fastqr-cli
|
|
118
131
|
PRIVATE
|
|
119
132
|
fastqr_obj
|
|
120
133
|
${QRENCODE_STATIC_LIBRARY}
|
|
121
134
|
${PNG_STATIC_LIBRARY}
|
|
122
|
-
|
|
135
|
+
${ZLIB_STATIC_LIBRARY}
|
|
123
136
|
)
|
|
124
|
-
|
|
125
|
-
# On Linux, ensure
|
|
137
|
+
|
|
138
|
+
# On Linux, ensure FULL static linking (no GLIBC dependency)
|
|
126
139
|
if(UNIX AND NOT APPLE)
|
|
127
|
-
# Try to link everything statically on Linux
|
|
128
140
|
target_link_options(fastqr-cli PRIVATE
|
|
129
|
-
-static
|
|
130
|
-
-static-libstdc++
|
|
141
|
+
-static
|
|
131
142
|
)
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
find_library(ZLIB_STATIC_LIBRARY
|
|
135
|
-
NAMES libz.a
|
|
136
|
-
PATHS
|
|
137
|
-
/usr/local/lib
|
|
138
|
-
/usr/lib
|
|
139
|
-
/usr/lib/x86_64-linux-gnu
|
|
140
|
-
/usr/lib/aarch64-linux-gnu
|
|
141
|
-
NO_DEFAULT_PATH
|
|
142
|
-
)
|
|
143
|
-
|
|
144
|
-
if(ZLIB_STATIC_LIBRARY)
|
|
145
|
-
message(STATUS "✓ Found static libz: ${ZLIB_STATIC_LIBRARY}")
|
|
146
|
-
# Replace z with static version
|
|
147
|
-
target_link_libraries(fastqr-cli PRIVATE ${ZLIB_STATIC_LIBRARY})
|
|
148
|
-
endif()
|
|
143
|
+
# Add pthread for static linking (required by libstdc++ and libqrencode)
|
|
144
|
+
target_link_libraries(fastqr-cli PRIVATE pthread)
|
|
149
145
|
endif()
|
|
150
146
|
else()
|
|
151
147
|
message(WARNING "Static libraries not found, falling back to dynamic linking")
|
|
152
148
|
message(WARNING " libpng: ${PNG_STATIC_LIBRARY}")
|
|
153
149
|
message(WARNING " libqrencode: ${QRENCODE_STATIC_LIBRARY}")
|
|
150
|
+
message(WARNING " libz: ${ZLIB_STATIC_LIBRARY}")
|
|
154
151
|
|
|
155
152
|
target_link_libraries(fastqr-cli
|
|
156
153
|
PRIVATE fastqr
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.26
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/src/fastqr.cpp
CHANGED