fastqr 1.0.13 → 1.0.15

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: ee28ac91e3cdf8cc2614338b9336995a0b3e95cbc4bc814c5238026c8e5f6c49
4
- data.tar.gz: de5dab0a3a80a38cfbc0a3070cdcf2cd1515835cc0e7adafe37d9b4edb3f77f9
3
+ metadata.gz: 4cdb3559bf3039110155691fe81685ef92bb30bf590822c169874a3c3400988c
4
+ data.tar.gz: ed6c5251edc3aa0820802fd97cd10b9929b349f9ba342525188c89bab8da0dd5
5
5
  SHA512:
6
- metadata.gz: d3093d73c237cbd9728ed6d228f897fab5b42e0b7ee6514b5d191781fa6930a21d0821522b0b1003e5edfc76caf73f0d6f5325f0f076e47f013efcd6e7561535
7
- data.tar.gz: 1edf4a6df46505c93946b486f84ebf54ed612207b5f3c0125234f586bf2d6bc330a6cf9ed8a5165416eca2631aa69097dd1ada10812565e4202046294609d2e7
6
+ metadata.gz: ac383dc1c131c3e46fca4cd7c1d41d31a7d2ae8da984a077d4543e3e21f511ccc877d3f1c00aaa08e707123159c87d8205fd1fa554957ea00132b8077cd97031
7
+ data.tar.gz: 3c29ced5757e655d38e697258708094f6e1e326d08dd68cad555f1276919e33e9c063f77c7f6a4452054322fa0eb5510a7f8ee033d601044e57232c0d022ec79
data/CMakeLists.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  cmake_minimum_required(VERSION 3.15)
2
- project(fastqr VERSION 1.0.13 LANGUAGES CXX C)
2
+ project(fastqr VERSION 1.0.15 LANGUAGES CXX C)
3
3
 
4
4
  set(CMAKE_CXX_STANDARD 14)
5
5
  set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -20,7 +20,9 @@ option(FASTQR_BUILD_BINDINGS "Build language bindings" ON)
20
20
 
21
21
  # Find dependencies
22
22
  find_package(PkgConfig REQUIRED)
23
- find_package(PNG REQUIRED)
23
+
24
+ # Find libpng via pkg-config (more reliable than find_package)
25
+ pkg_check_modules(PNG REQUIRED libpng)
24
26
 
25
27
  # Find libqrencode
26
28
  pkg_check_modules(QRENCODE REQUIRED libqrencode)
@@ -66,7 +68,7 @@ target_link_directories(fastqr
66
68
  target_link_libraries(fastqr
67
69
  PRIVATE
68
70
  ${QRENCODE_LIBRARIES}
69
- PNG::PNG
71
+ ${PNG_LIBRARIES}
70
72
  )
71
73
 
72
74
  # Set library output name
@@ -83,12 +85,15 @@ add_executable(fastqr-cli
83
85
 
84
86
  # For standalone CLI binary, link with object library and static dependencies
85
87
  if(NOT BUILD_SHARED_LIBS)
88
+ # Add PNG library directories to search path
89
+ link_directories(${PNG_LIBRARY_DIRS})
90
+
86
91
  # Find static versions of libraries
87
- find_library(PNG_STATIC_LIBRARY
92
+ find_library(PNG_STATIC_LIBRARY
88
93
  NAMES libpng.a libpng16.a
89
- PATHS
94
+ PATHS
90
95
  ${PNG_LIBRARY_DIRS}
91
- /usr/local/lib
96
+ /usr/local/lib
92
97
  /opt/homebrew/lib
93
98
  /usr/lib
94
99
  NO_DEFAULT_PATH
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.13
1
+ 1.0.15
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fastqr-pro",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
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",
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastQR
4
- VERSION = "1.0.13"
4
+ VERSION = "1.0.15"
5
5
  end
6
6
 
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.13"
28
+ #define FASTQR_VERSION "1.0.15"
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.13
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - FastQR Project