fastqr 1.0.16 → 1.0.19

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8052ae73e79a369c231c105363d4783192c181479344d5bda9f8653d183d9451
4
- data.tar.gz: '0802a6f8da625c6a41f228e7e234ed8515705dc0f6ca11ba516317c7474836a7'
3
+ metadata.gz: e72762414a03881b03eb610b638d75a18cd344e052b82aa5f1f703e04e9060d6
4
+ data.tar.gz: 051e11a9e96a92e043ebee3b890d140a127ec229f95e1d5d620eb0cb4256c6bf
5
5
  SHA512:
6
- metadata.gz: f96dfffb85201c4a7f47af6e282df1ea324b040908942c157b3183bf6b29b149ea2cdaca0cb8cf396d60d96c2dbe765f006399c431f5b47fb26605b8214dd16a
7
- data.tar.gz: f03a09575b0b7736f31d791544e6b1691c65e1e67601bb7249cf11d6d5d8ac8e07c4ea42de27bf094db182b5288e6eadf044f8007e5019476cf1eec6f50edae5
6
+ metadata.gz: fa3fb17416e369698f1df12588e8bbe7f93f3e5ea989fbb50937e4fe5f0798c7a46a7700d825adb409162f835053adfca4855c41a0a4fb1746380b2b9eb6ba21
7
+ data.tar.gz: 2b647f5ca8f85512980fb0cd2ae2eb08af6673f06fa3fe945252f9ea89e5f25a8c87f8c87d9c48a79c63295807d97a58315b892b848d4e20534a260e6c4254b1
data/CMakeLists.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  cmake_minimum_required(VERSION 3.15)
2
- project(fastqr VERSION 1.0.16 LANGUAGES CXX C)
2
+ project(fastqr VERSION 1.0.19 LANGUAGES CXX C)
3
3
 
4
4
  set(CMAKE_CXX_STANDARD 14)
5
5
  set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -99,15 +99,15 @@ if(NOT BUILD_SHARED_LIBS)
99
99
  NO_DEFAULT_PATH
100
100
  )
101
101
 
102
- find_library(QRENCODE_STATIC_LIBRARY
103
- NAMES libqrencode.a
104
- PATHS
105
- ${QRENCODE_LIBRARY_DIRS}
106
- /usr/local/lib
107
- /opt/homebrew/lib
108
- /usr/lib
109
- NO_DEFAULT_PATH
110
- )
102
+ find_library(QRENCODE_STATIC_LIBRARY
103
+ NAMES libqrencode.a
104
+ PATHS
105
+ /usr/local/lib # Linux: from source build
106
+ ${QRENCODE_LIBRARY_DIRS}
107
+ /opt/homebrew/lib # macOS: from Homebrew
108
+ /usr/lib
109
+ NO_DEFAULT_PATH
110
+ )
111
111
 
112
112
  if(PNG_STATIC_LIBRARY AND QRENCODE_STATIC_LIBRARY)
113
113
  message(STATUS "✓ Found static libpng: ${PNG_STATIC_LIBRARY}")
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.16
1
+ 1.0.19
@@ -16,7 +16,7 @@ function detectPlatform() {
16
16
  if (arch === 'x64') return 'macos-x86_64';
17
17
  } else if (platform === 'linux') {
18
18
  if (arch === 'x64') return 'linux-x86_64';
19
- if (arch === 'arm64') return 'linux-arm64';
19
+ if (arch === 'arm64') return 'linux-aarch64';
20
20
  }
21
21
 
22
22
  throw new Error(`Unsupported platform: ${platform}-${arch}`);
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastqr-pro",
3
- "version": "1.0.16",
3
+ "version": "1.0.19",
4
4
  "description": "Fast QR code generator with UTF-8 support, custom colors, logo embedding, and precise size control",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -25,7 +25,7 @@ module FastQR
25
25
  when /x86_64|x64/
26
26
  'linux-x86_64'
27
27
  when /arm64|aarch64/
28
- 'linux-arm64'
28
+ 'linux-aarch64'
29
29
  else
30
30
  raise "Unsupported Linux architecture: #{arch}"
31
31
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastQR
4
- VERSION = "1.0.16"
4
+ VERSION = "1.0.19"
5
5
  end
6
6
 
@@ -38,6 +38,13 @@ mkdir build
38
38
  cd build
39
39
 
40
40
  echo "🔧 Building standalone CLI with static linking..."
41
+
42
+ # Set PKG_CONFIG_PATH to find custom-built libraries
43
+ if [[ "$OS" == "linux" ]]; then
44
+ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
45
+ echo "PKG_CONFIG_PATH: $PKG_CONFIG_PATH"
46
+ fi
47
+
41
48
  # Configure for standalone CLI (all dependencies static)
42
49
  cmake .. \
43
50
  -DCMAKE_BUILD_TYPE=Release \
data/src/fastqr.cpp CHANGED
@@ -25,7 +25,7 @@
25
25
  // Enable benchmarking
26
26
  // #define FASTQR_BENCHMARK
27
27
 
28
- #define FASTQR_VERSION "1.0.16"
28
+ #define FASTQR_VERSION "1.0.19"
29
29
 
30
30
  namespace fastqr {
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastqr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.16
4
+ version: 1.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - FastQR Project
@@ -85,11 +85,11 @@ files:
85
85
  - bindings/ruby/lib/fastqr.rb
86
86
  - bindings/ruby/lib/fastqr/platform.rb
87
87
  - bindings/ruby/lib/fastqr/version.rb
88
+ - bindings/ruby/prebuilt/linux-aarch64.tar.gz
88
89
  - bindings/ruby/prebuilt/linux-aarch64/bin/fastqr
89
90
  - bindings/ruby/prebuilt/linux-aarch64/include/fastqr.h
90
91
  - bindings/ruby/prebuilt/linux-aarch64/include/stb_image.h
91
92
  - bindings/ruby/prebuilt/linux-aarch64/include/stb_image_write.h
92
- - bindings/ruby/prebuilt/linux-arm64.tar.gz
93
93
  - bindings/ruby/prebuilt/linux-x86_64.tar.gz
94
94
  - bindings/ruby/prebuilt/linux-x86_64/bin/fastqr
95
95
  - bindings/ruby/prebuilt/linux-x86_64/include/fastqr.h