Summary: | dev-libs/xlslib - C++/C library to construct Excel .xls files in code | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Petric Frank <pfrank> |
Component: | [OLD] Library | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | Keywords: | EBUILD |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://sourceforge.net/projects/xlslib/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild file to build the xlslib
Updated ebuild file Hardcode inclusion of xlconfig.h |
(In reply to comment #0) > Proposed location in portage: x11-libs/xlslib Why x11-libs? It doesn't appear to be X11 related at all. Also note that this should probably not be confused with dev-libs/libxls. :) Sorry - my mistake. You're right. I meant dev-libs. Created attachment 320688 [details]
Updated ebuild file
Updated ebuild file.
Fixes:
1. patch installed #include statements to point to the proper locations
2. hardcode inclusion of xlconfig.h in xlsys.h
The include files were installed into /usr/include/xlslib, but the files there uses include statements in the style
#include "common/xlsys.h"
instead of
#include "xlslib/common/xlsys.h"
Fix 1. was introduced to cover this using a couple of sed statements.
Fix 2. covers the problem that if the project which uses this library does not define HAVE_CONFIG_H the compile will abort stating "PACKACKE_VERSION not defined".
Created attachment 320690 [details, diff]
Hardcode inclusion of xlconfig.h
Required patch file for fix 2. above.
|
Created attachment 310829 [details] ebuild file to build the xlslib Created an ebuild for a platform independent library (C/C++) named xlslib. Placed here if someone else needs a C or C++ library to read and/or write XLS (not XLSX !) files. Proposed location in portage: x11-libs/xlslib