-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libxlsxwriter: add new version 1.1.9 (#25715)
* libxlsxwriter: add version 1.1.9 * add virtualbuildenv * revert 1.1.8 * fix compilation errors on MSVC * disable pkgconf
- Loading branch information
Showing
4 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
recipes/libxlsxwriter/all/patches/1.1.9-0001-fix-cmake.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index e444dcc..44a638d 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -183,9 +183,9 @@ endif() | ||
|
||
if(NOT BUILD_SHARED_LIBS) | ||
if(UNIX) | ||
- set(CMAKE_POSITION_INDEPENDENT_CODE ON) | ||
+# set(CMAKE_POSITION_INDEPENDENT_CODE ON) | ||
elseif(MINGW OR MSYS) | ||
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static -static-libgcc -Wno-char-subscripts -Wno-long-long") | ||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-char-subscripts -Wno-long-long") | ||
list(APPEND LXW_PRIVATE_COMPILE_DEFINITIONS USE_FILE32API) | ||
elseif(MSVC) | ||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /Fd\"${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pdb\"") | ||
@@ -208,7 +208,7 @@ if(MSVC AND USE_STATIC_MSVC_RUNTIME) | ||
endif() | ||
|
||
# Configure pkg-config | ||
-find_package(PkgConfig) | ||
+# find_package(PkgConfig) | ||
file(READ "include/xlsxwriter.h" ver) | ||
|
||
string(REGEX MATCH "LXW_VERSION \"([^\"]+)\"" _ ${ver}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
versions: | ||
"1.1.9": | ||
folder: "all" | ||
"1.1.8": | ||
folder: "all" | ||
"1.1.7": | ||
|