Created attachment 488486 [details] ebuild for version 0.7.2 This ebuild adds libxlsxwriter. It allows to write Excel workbooks in C.
Created attachment 488488 [details, diff] Remove bundled minizip from CMakeLists.txt
Created attachment 488490 [details, diff] Point to system wide minizip includes
Created attachment 488492 [details, diff] Remove bundled minizip from CMakeLists.txt Fix patch - suddenly removed copyright notice
Created attachment 488496 [details] ebuild for version 0.7.2 Fix License info
Created attachment 488776 [details] libxlsxwriter 0.7.3 This release does no more require the patches. It have been fixed upstream.
Created attachment 498044 [details] ebuild for version 0.7.5 Release 0.7.4 (skipped here): - Fix make build system "install" target for compatibility with MacOS "brew" installer. New release 0.7.5 (according to web page): - Added support for data validations and dropdown lists.
Created attachment 534074 [details] ebuild for version 0.7.7 Version 0.7.7 Requires patch "...double-function..." to overcome double to string conversion (comma - dot problem). Excel always wants to get a decimal point - no comma if locale is non-english.
Created attachment 534076 [details, diff] patch enables conversion from comma to decimal point Some non-english locales convert doubles into string containing commas instead of dots (decimal points). This patch enables a function to always have dots in decimal numbers when converted to strings.
What is preventing this from being added to the portage tree? Is this ready for use via a local overlay? This would allow me to add Excel support to another tool I am packaging.
To my knowledge at least a proxy-maintainer is required to get this package to the official tree. Sure you can put this ebuild and the patch to your local tree - this is how i did it. But the libxlsxwriter library is currently at version 0.8.4 with a lot of enhancements - especially to chartsheets. See also https://github.com/jmcnamara/libxlsxwriter/releases I posted the ebuild here to let other take advantage on it. Due to time constraints i am not able to follow up the releases. Feel free to step in.
Created attachment 565926 [details] ebuild for version 0.8.5
Created attachment 565928 [details] ebuild for version 0.8.5
Created attachment 565930 [details] ebuild for version 0.8.5 Sorry for the spam. This one fixes the dependency issue. This bug is a duplicate of bug #661514.
Created attachment 587062 [details] ebuild for version 0.8.7 Version bump to 0.8.7. No changes other than version bump.
Created attachment 590372 [details] ebuild for version 0.8.7 Updated to apply a patch. Reason: On non US locales in real number strings as decimal point a comma is used. This results in invalid Excel files. Excel expects - independent of the locale in use - a decimal point. See also: https://github.com/jmcnamara/libxlsxwriter/issues/64
Created attachment 590374 [details, diff] Patch to CMakeLists.txt file to pass USE_DOUBLE_FUNCTION at cmake call Add Variable USE_DOUBLE_FUNCTION to CMakeLists.txt. this allows to pass additional make option -DUSE_DOUBLE_FUNCTION. See also: https://github.com/jmcnamara/libxlsxwriter/issues/64
Created attachment 597530 [details] ebuild for version 0.8.8 Hey Petric, 0.8.8 still doesn't have your patch applied. I hope you don't mind; I attempted to apply the patch in environments that have non-english locales with this update. It feels a bit hackish to me (maybe because -DUSE_DOUBLE_FUNCTION gets passed to cmake regardless of if the patch is applied); I'm hoping you can clean it up some the same as you've done so well with the previous ebuilds.
Created attachment 603406 [details] ebuild for dev-libs/libxlsxwriter-0.9.3
Created attachment 603408 [details] libxlsxwriter double function patch
*** Bug 661514 has been marked as a duplicate of this bug. ***
Created attachment 648054 [details] ebuild for dev-libs/libxlsxwriter-0.9.5
(In reply to Jon Hood from comment #21) > Created attachment 648054 [details] > ebuild for dev-libs/libxlsxwriter-0.9.5 This ebuild works also for latest dev-libs/libxlsxwriter-0.9.7, however the "minizip" USE flag is required. Building without it results in multiple build errors: "error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF'"
Created attachment 712974 [details, diff] updated double function patch
Created attachment 712977 [details] ebuild for dev-libs/libxlsxwriter-1.0.6 (In reply to tonemgub from comment #22) > This ebuild works also for latest dev-libs/libxlsxwriter-0.9.7, however the > "minizip" USE flag is required. Building without it results in multiple > build errors: "error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'OF'" I haven't been able to reproduce. Can you please attach your build log? 1.0.6 upstream version. Now supports external openssl md5 function with the optional openssl USE flag.
Created attachment 721259 [details] ebuild for dev-libs/libxlsxwriter-1.0.8 Ebuild for libxlsxwriter-1.0.8; obsoletes patch
Created attachment 724915 [details] ebuild for dev-libs/libxlsxwriter-1.1.1 new CMake option for 1.1.1 requires a small change to the ebuild
The l10.eclass have been removed from portage tree. Detection of non-english locales require a change. Replacement by plocale.eclass (plocale_get_locales instead l10n_get_locales) seems not goind to work. I've set L10N="de en" LINGUAS="de en" in my make.conf. Any hints ?
Created attachment 769505 [details] ebuild for dev-libs/libxlsxwriter-1.1.4 This moves to EAPI 8 to fix the aforementioned plocale issues.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce43d3e5afed7970373db36e8791894931730f6 commit 0ce43d3e5afed7970373db36e8791894931730f6 Author: Efe İzbudak <efe.izbudak@metu.edu.tr> AuthorDate: 2022-06-29 14:18:55 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-29 22:37:37 +0000 dev-libs/libxlsxwriter: new package, add 1.1.4 Closes: https://bugs.gentoo.org/627452 Signed-off-by: Efe İzbudak <efe.izbudak@metu.edu.tr> Signed-off-by: Sam James <sam@gentoo.org> dev-libs/libxlsxwriter/Manifest | 1 + dev-libs/libxlsxwriter/libxlsxwriter-1.1.4.ebuild | 46 +++++++++++++++++++++++ dev-libs/libxlsxwriter/metadata.xml | 18 +++++++++ 3 files changed, 65 insertions(+)