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
(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.