From de3590a3ae2a3c0a3fcd2bb523889a3b7fa422be Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 18 Nov 2019 10:27:54 +0100 Subject: v0.8.8 --- compat_reports/0.8.6_to_0.8.7/compat_report.html | 1756 +++++++++++++++++ compat_reports/0.8.7_to_0.8.8/compat_report.html | 2209 ++++++++++++++++++++++ libxlsxwriter-el6.patch | 38 + libxlsxwriter.spec | 12 +- libxlsxwriter.xml | 2 +- 5 files changed, 4014 insertions(+), 3 deletions(-) create mode 100644 compat_reports/0.8.6_to_0.8.7/compat_report.html create mode 100644 compat_reports/0.8.7_to_0.8.8/compat_report.html create mode 100644 libxlsxwriter-el6.patch diff --git a/compat_reports/0.8.6_to_0.8.7/compat_report.html b/compat_reports/0.8.6_to_0.8.7/compat_report.html new file mode 100644 index 0000000..af0b540 --- /dev/null +++ b/compat_reports/0.8.6_to_0.8.7/compat_report.html @@ -0,0 +1,1756 @@ + + + + + + + + + +libxlsxwriter: 0.8.6 to 0.8.7 compatibility report + + + +

API compatibility report for the libxlsxwriter library between 0.8.6 and 0.8.7 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibxlsxwriter
Version #10.8.6
Version #20.8.7
Archx86_64
GCC Version8
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files25
Total Libraries1
Total Symbols / Types398 / 248
Compatibility83.8%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Symbols-3
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium20
Low11
Problems with
Symbols
High4
Medium1
Low0
Problems with
Constants
Low0
Other Changes
in Data Types
-5
Other Changes
in Constants
-1
+ +

Added Symbols  3 


+workbook.h, libxlsxwriter.so
+workbook_add_vba_project ( lxw_workbook* workbook, char const* filename )
+workbook_set_vba_name ( lxw_workbook* workbook, char const* name )
+
+worksheet.h, libxlsxwriter.so
+worksheet_set_vba_name ( lxw_worksheet* worksheet, char const* name )
+
+to the top
+ +

Problems with Symbols, High Severity  4 


+worksheet.h, libxlsxwriter.so
+ +[+] lxw_worksheet_prepare_chart ( lxw_worksheet* worksheet, uint16_t chart_ref_id, uint16_t drawing_id, lxw_image_options* image_data, uint8_t is_chartsheet )  2  +
+ + +[+] lxw_worksheet_prepare_image ( lxw_worksheet* worksheet, uint16_t image_ref_id, uint16_t drawing_id, lxw_image_options* image_data )  2  +
+ +
+to the top
+ +

Problems with Data Types, Medium Severity  20 


+common.h
+ +[+] enum lxw_error  13  +
+ + +
+workbook.h
+ +[+] struct lxw_workbook  1  +
+ + +
+worksheet.h
+ +[+] struct lxw_worksheet  6  +
+ + +
+to the top
+ +

Problems with Symbols, Medium Severity  1 


+packager.h, libxlsxwriter.so
+ +[+] lxw_packager_new ( char const* filename, char* tmpdir )  1  +
+ +
+to the top
+ +

Problems with Data Types, Low Severity  11 


+common.h
+ +[+] enum lxw_error  3  +
+ + +
+packager.h
+ +[+] struct lxw_packager  2  +
+ + +
+workbook.h
+ +[+] struct lxw_workbook  3  +
+ + + +[+] struct lxw_workbook_options  2  +
+ + +
+worksheet.h
+ +[+] struct lxw_worksheet  1  +
+ + +
+to the top
+ +

Other Changes in Data Types  5 


+common.h
+ +[+] enum lxw_error  5  +
+ + +
+to the top
+ +

Other Changes in Constants  1 


+content_types.h
+ +[+] LXW_APP_MSEXCEL +
+ + +
+to the top
+

Header Files  25 


+
+app.h
+chart.h
+chartsheet.h
+common.h
+content_types.h
+core.h
+custom.h
+drawing.h
+format.h
+hash_table.h
+ioapi.h
+packager.h
+queue.h
+relationships.h
+shared_strings.h
+styles.h
+theme.h
+tmpfileplus.h
+tree.h
+utility.h
+workbook.h
+worksheet.h
+xlsxwriter.h
+xmlwriter.h
+zip.h
+
+
to the top
+

Libraries  1 


+
+libxlsxwriter.so
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibxlsxwriter
Version #10.8.6
Version #20.8.7
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files25
Total Libraries1
Total Symbols / Types856 / 331
Compatibility92.8%
+

Problem Summary


+ + + + + + + + + + + +
SeverityCount
Added Symbols-3
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium1
Low5
Problems with
Symbols
High0
Medium1
Low4
Problems with
Constants
Low1
Other Changes
in Data Types
-25
Other Changes
in Constants
-2
+ +

Added Symbols  3 


+workbook.h
+workbook_add_vba_project ( lxw_workbook* workbook, char const* filename )
+workbook_set_vba_name ( lxw_workbook* workbook, char const* name )
+
+worksheet.h
+worksheet_set_vba_name ( lxw_worksheet* worksheet, char const* name )
+
+to the top
+ +

Problems with Data Types, Medium Severity  1 


+worksheet.h
+ +[+] struct lxw_worksheet  1  +
+ + +
+to the top
+ +

Problems with Symbols, Medium Severity  1 


+packager.h
+ +[+] lxw_packager_new ( char const* filename, char* tmpdir )  1  +
+ +
+to the top
+ +

Problems with Data Types, Low Severity  5 


+packager.h
+ +[+] struct lxw_packager  1  +
+ + +
+workbook.h
+ +[+] struct lxw_workbook  2  +
+ + + +[+] struct lxw_workbook_options  1  +
+ + +
+worksheet.h
+ +[+] struct lxw_worksheet  1  +
+ + +
+to the top
+ +

Problems with Symbols, Low Severity  4 


+worksheet.h
+ +[+] lxw_worksheet_prepare_chart ( lxw_worksheet* worksheet, uint16_t chart_ref_id, uint16_t drawing_id, lxw_image_options* image_data, uint8_t is_chartsheet )  2  +
+ + +[+] lxw_worksheet_prepare_image ( lxw_worksheet* worksheet, uint16_t image_ref_id, uint16_t drawing_id, lxw_image_options* image_data )  2  +
+ +
+to the top
+ +

Problems with Constants, Low Severity  1 


+xlsxwriter.h
+ +[+] LXW_VERSION +
+ + +
+to the top
+ +

Other Changes in Data Types  25 


+common.h
+ +[+] enum lxw_error  21  +
+ + +
+worksheet.h
+ +[+] struct lxw_worksheet  4  +
+ + +
+to the top
+ +

Other Changes in Constants  2 


+content_types.h
+ +[+] LXW_APP_MSEXCEL +
+ + +
+utility.h
+ +[+] lxw_strcasecmp +
+ + +
+to the top
+

Header Files  25 


+
+app.h
+chart.h
+chartsheet.h
+common.h
+content_types.h
+core.h
+custom.h
+drawing.h
+format.h
+hash_table.h
+ioapi.h
+packager.h
+queue.h
+relationships.h
+shared_strings.h
+styles.h
+theme.h
+tmpfileplus.h
+tree.h
+utility.h
+workbook.h
+worksheet.h
+xlsxwriter.h
+xmlwriter.h
+zip.h
+
+
to the top
+

Libraries  1 


+
+libxlsxwriter.so
+
+
to the top
+



+ +
+ + diff --git a/compat_reports/0.8.7_to_0.8.8/compat_report.html b/compat_reports/0.8.7_to_0.8.8/compat_report.html new file mode 100644 index 0000000..99663b7 --- /dev/null +++ b/compat_reports/0.8.7_to_0.8.8/compat_report.html @@ -0,0 +1,2209 @@ + + + + + + + + + +libxlsxwriter: 0.8.7 to 0.8.8 compatibility report + + + +

API compatibility report for the libxlsxwriter library between 0.8.7 and 0.8.8 versions on x86_64

+ +
+
+ Binary
Compatibility
+ Source
Compatibility
+
+

Test Info


+ + + + + + + +
Library Namelibxlsxwriter
Version #10.8.7
Version #20.8.8
Archx86_64
GCC Version8
SubjectBinary Compatibility
+

Test Results


+ + + + + + +
Total Header Files25
Total Libraries1
Total Symbols / Types401 / 245
Compatibility80.5%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-1
Removed SymbolsHigh1
Problems with
Data Types
High2
Medium26
Low10
Problems with
Symbols
High0
Medium2
Low5
Problems with
Constants
Low1
+ +

Added Symbols  1 


+utility.h, libxlsxwriter.so
+lxw_fopen ( char const* filename, char const* mode )
+
+to the top
+

Removed Symbols  1 


+format.h, libxlsxwriter.so
+lxw_format_check_color ( int color )
+
+to the top
+ +

Problems with Data Types, High Severity  2 


+worksheet.h
+ +[+] struct lxw_image_options  2  +
+ + +
+to the top
+ +

Problems with Data Types, Medium Severity  26 


+chart.h
+ +[+] struct lxw_chart_fill  1  +
+ + + +[+] struct lxw_chart_font  1  +
+ + + +[+] struct lxw_chart_line  1  +
+ + + +[+] struct lxw_chart_pattern  2  +
+ + +
+worksheet.h
+ +[+] struct lxw_data_validation  3  +
+ + + +[+] struct lxw_image_options  15  +
+ + + +[+] struct lxw_protection  3  +
+ + +
+to the top
+ +

Problems with Symbols, Medium Severity  2 


+chartsheet.h, libxlsxwriter.so
+ +[+] chartsheet_set_chart_opt ( lxw_chartsheet* chartsheet, lxw_chart* chart, lxw_image_options* user_options )  1  +
+ +
+worksheet.h, libxlsxwriter.so
+ +[+] worksheet_insert_chart_opt ( lxw_worksheet* worksheet, lxw_row_t row, lxw_col_t col, lxw_chart* chart, lxw_image_options* user_options )  1  +
+ +
+to the top
+ +

Problems with Data Types, Low Severity  10 


+chartsheet.h
+ +[+] struct lxw_chartsheet  1  +
+ + +
+format.h
+ +[+] typedef lxw_color_t  1  +
+ + +
+worksheet.h
+ +[+] struct lxw_data_validation  1  +
+ + + +[+] struct lxw_data_validations  2  +
+ + + +[+] struct lxw_image_options  1  +
+ + + +[+] struct lxw_protection  1  +
+ + + +[+] struct lxw_worksheet  3  +
+ + +
+to the top
+ +

Problems with Symbols, Low Severity  5 


+worksheet.h, libxlsxwriter.so
+ +[+] lxw_worksheet_prepare_chart ( lxw_worksheet* worksheet, uint32_t chart_ref_id, uint32_t drawing_id, lxw_image_options* image_data, uint8_t is_chartsheet )  2  +
+ + +[+] lxw_worksheet_prepare_image ( lxw_worksheet* worksheet, uint32_t image_ref_id, uint32_t drawing_id, lxw_image_options* image_data )  2  +
+ + +[+] lxw_worksheet_write_sheet_protection ( lxw_worksheet* worksheet, lxw_protection* protect )  1  +
+ +
+to the top
+ +

Problems with Constants, Low Severity  1 


+format.h
+ +[+] LXW_COLOR_UNSET +
+ + +
+to the top
+

Header Files  25 


+
+app.h
+chart.h
+chartsheet.h
+common.h
+content_types.h
+core.h
+custom.h
+drawing.h
+format.h
+hash_table.h
+ioapi.h
+packager.h
+queue.h
+relationships.h
+shared_strings.h
+styles.h
+theme.h
+tmpfileplus.h
+tree.h
+utility.h
+workbook.h
+worksheet.h
+xlsxwriter.h
+xmlwriter.h
+zip.h
+
+
to the top
+

Libraries  1 


+
+libxlsxwriter.so
+
+
to the top
+


+

Test Info


+ + + + + + +
Library Namelibxlsxwriter
Version #10.8.7
Version #20.8.8
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + +
Total Header Files25
Total Libraries1
Total Symbols / Types859 / 328
Compatibility73.8%
+

Problem Summary


+ + + + + + + + + + +
SeverityCount
Added Symbols-1
Removed SymbolsHigh1
Problems with
Data Types
High28
Medium3
Low4
Problems with
Symbols
High0
Medium4
Low1
Problems with
Constants
Low2
Other Changes
in Symbols
-2
+ +

Added Symbols  1 


+utility.h
+lxw_fopen ( char const* filename, char const* mode )
+
+to the top
+

Removed Symbols  1 


+format.h
+lxw_format_check_color ( int color )
+
+to the top
+ +

Problems with Data Types, High Severity  28 


+chart.h
+ +[+] struct lxw_chart_fill  1  +
+ + + +[+] struct lxw_chart_font  1  +
+ + + +[+] struct lxw_chart_line  1  +
+ + + +[+] struct lxw_chart_pattern  2  +
+ + +
+worksheet.h
+ +[+] struct lxw_data_validation  3  +
+ + + +[+] struct lxw_image_options  16  +
+ + + +[+] struct lxw_protection  3  +
+ + + +[+] struct lxw_worksheet  1  +
+ + +
+to the top
+ +

Problems with Data Types, Medium Severity  3 


+worksheet.h
+ +[+] struct lxw_data_validations  2  +
+ + + +[+] struct lxw_worksheet  1  +
+ + +
+to the top
+ +

Problems with Symbols, Medium Severity  4 


+chartsheet.h
+ +[+] chartsheet_set_chart_opt ( lxw_chartsheet* chartsheet, lxw_chart* chart, lxw_image_options* user_options )  1  +
+ +
+worksheet.h
+ +[+] lxw_worksheet_prepare_chart ( lxw_worksheet* worksheet, uint32_t chart_ref_id, uint32_t drawing_id, lxw_image_options* image_data, uint8_t is_chartsheet )  1  +
+ + +[+] lxw_worksheet_prepare_image ( lxw_worksheet* worksheet, uint32_t image_ref_id, uint32_t drawing_id, lxw_image_options* image_data )  1  +
+ + +[+] worksheet_insert_chart_opt ( lxw_worksheet* worksheet, lxw_row_t row, lxw_col_t col, lxw_chart* chart, lxw_image_options* user_options )  1  +
+ +
+to the top
+ +

Problems with Data Types, Low Severity  4 


+chartsheet.h
+ +[+] struct lxw_chartsheet  1  +
+ + +
+format.h
+ +[+] typedef lxw_color_t  1  +
+ + +
+worksheet.h
+ +[+] struct lxw_image_options  1  +
+ + + +[+] struct lxw_worksheet  1  +
+ + +
+to the top
+ +

Problems with Symbols, Low Severity  1 


+worksheet.h
+ +[+] lxw_worksheet_write_sheet_protection ( lxw_worksheet* worksheet, lxw_protection* protect )  1  +
+ +
+to the top
+ +

Problems with Constants, Low Severity  2 


+format.h
+ +[+] LXW_COLOR_UNSET +
+ + +
+xlsxwriter.h
+ +[+] LXW_VERSION +
+ + +
+to the top
+ +

Other Changes in Symbols  2 


+worksheet.h
+ +[+] lxw_worksheet_prepare_chart ( lxw_worksheet* worksheet, uint32_t chart_ref_id, uint32_t drawing_id, lxw_image_options* image_data, uint8_t is_chartsheet )  1  +
+ + +[+] lxw_worksheet_prepare_image ( lxw_worksheet* worksheet, uint32_t image_ref_id, uint32_t drawing_id, lxw_image_options* image_data )  1  +
+ +
+to the top
+

Header Files  25 


+
+app.h
+chart.h
+chartsheet.h
+common.h
+content_types.h
+core.h
+custom.h
+drawing.h
+format.h
+hash_table.h
+ioapi.h
+packager.h
+queue.h
+relationships.h
+shared_strings.h
+styles.h
+theme.h
+tmpfileplus.h
+tree.h
+utility.h
+workbook.h
+worksheet.h
+xlsxwriter.h
+xmlwriter.h
+zip.h
+
+
to the top
+

Libraries  1 


+
+libxlsxwriter.so
+
+
to the top
+



+ +
+ + diff --git a/libxlsxwriter-el6.patch b/libxlsxwriter-el6.patch new file mode 100644 index 0000000..4769ce9 --- /dev/null +++ b/libxlsxwriter-el6.patch @@ -0,0 +1,38 @@ +diff -up ./CMakeLists.txt.el6 ./CMakeLists.txt +--- ./CMakeLists.txt.el6 2019-11-18 09:50:52.841439713 +0100 ++++ ./CMakeLists.txt 2019-11-18 09:51:11.128355352 +0100 +@@ -93,15 +93,6 @@ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) + project(${PROJECT_NAME} C) + enable_testing() + +-# POLICY +-# ------ +- +-# The use of the word ZLIB_ROOT should still work prior to "3.12.0", +-# just it's been generalized for all packages now. Just set the policy +-# to new, so we use it, and it will be used prior to 3.12 anyway. +-if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.12") +- cmake_policy(SET CMP0074 NEW) +-endif() + + # OPTIONS + # ------- +diff -up ./include/xlsxwriter/workbook.h.el6 ./include/xlsxwriter/workbook.h +--- ./include/xlsxwriter/workbook.h.el6 2019-11-18 09:56:49.926792381 +0100 ++++ ./include/xlsxwriter/workbook.h 2019-11-18 09:57:47.249527923 +0100 +@@ -906,11 +906,9 @@ void lxw_workbook_free(lxw_workbook *wor + void lxw_workbook_assemble_xml_file(lxw_workbook *workbook); + void lxw_workbook_set_default_xf_indices(lxw_workbook *workbook); + +-DEPRECATED(lxw_workbook *new_workbook(const char *filename), +- "use 'workbook_new' instead"); +-DEPRECATED(lxw_workbook *new_workbook_opt(const char *filename, +- lxw_workbook_options *options), +- "use 'workbook_new_opt()' instead"); ++lxw_workbook *new_workbook(const char *filename); ++lxw_workbook *new_workbook_opt(const char *filename, ++ lxw_workbook_options *options); + + /* Declarations required for unit testing. */ + #ifdef TESTING + diff --git a/libxlsxwriter.spec b/libxlsxwriter.spec index 521ed21..fc9d627 100644 --- a/libxlsxwriter.spec +++ b/libxlsxwriter.spec @@ -7,7 +7,7 @@ # Please, preserve the changelog entries # -%global gh_commit 4df6e8716eeeb4d57217dc57f1d6f880a3d761dd +%global gh_commit 787f47219e1e333ebabbd51262d3ddf9121714ca %global gh_short %(c=%{gh_commit}; echo ${c:0:7}) %global gh_owner jmcnamara %global gh_project libxlsxwriter @@ -15,13 +15,15 @@ Name: %{libname} Summary: A C library for creating Excel XLSX files -Version: 0.8.7 +Version: 0.8.8 Release: 1%{?dist} License: BSD URL: https://github.com/%{gh_owner}/%{gh_project}/ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz +Patch0: %{libname}-el6.patch + BuildRequires: gcc BuildRequires: gcc-c++ # see https://github.com/jmcnamara/libxlsxwriter/issues/168 @@ -72,6 +74,9 @@ for %{name}. %prep %setup -q -n %{gh_project}-%{gh_commit} +%if 0%{?rhel} == 6 +%patch0 -p1 +%endif %build @@ -112,6 +117,9 @@ make install DESTDIR="%{buildroot}" %changelog +* Mon Nov 18 2019 Remi Collet - 0.8.8-1 +- update to 0.8.8 + * Fri Jun 21 2019 Remi Collet - 0.8.7-1 - update to 0.8.7 diff --git a/libxlsxwriter.xml b/libxlsxwriter.xml index 30c9f90..3490aa1 100644 --- a/libxlsxwriter.xml +++ b/libxlsxwriter.xml @@ -9,7 +9,7 @@ -0.8.7 +0.8.8 -- cgit