xlsLib is a multiplatform, C++ developed, library for dynamically generating Excel(TM) files (*.xls). It allows the generation of Excel(TM) compatible files without the need of any other external software. * Easy to use, fully object oriented, API. * Excel 95 (TM) format spreadsheets. * Multiple worksheets. * All standard font's styles and colors. * All standard cell's styles, colors and properties. * All standard cell's border-styles and colors. * Three basic type of cells: o Blank. o Label. The text in labels can be formated in all standard styles. o Number. All standard number-formats are supported. * Merged cells. * Handling of cells using ranges. LICENSE: GPL (http://xlslib.sourceforge.net/license/) WWW: http://xlslib.sourceforge.net/
Responsible Changed From-To: freebsd-ports-bugs->ehaupt Take.
The port does not build on FreeBSD 4.x [1], do you think you can fix it? [1] --- build fail begins here --- c++ -DHAVE_CONFIG_H -I. -I. -I../src/common -I../src/data -I../src/oledoc -I../src/common -I../src/xlslib -O2 -c xlslib/continue.cpp -Wp,-MD,.deps/continue.TPlo -o continue.o >/dev/null 2>&1 mv -f .libs/continue.lo continue.lo source='xlslib/crc.cpp' object='crc.lo' libtool=yes depfile='.deps/crc.Plo' tmpdepfile='.deps/crc.TPlo' depmode=gcc /bin/sh ../config/depcomp /bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../src/common -I../src/data -I../src/oledoc -I../src/common -I../src/xlslib -O2 -c -o crc.lo `test -f 'xlslib/crc.cpp' || echo './'`xlslib/crc.cpp rm -f .libs/crc.lo c++ -DHAVE_CONFIG_H -I. -I. -I../src/common -I../src/data -I../src/oledoc -I../src/common -I../src/xlslib -O2 -c xlslib/crc.cpp -Wp,-MD,.deps/crc.TPlo -fPIC -DPIC -o .libs/crc.lo In file included from xlslib/crc.h:40, from xlslib/crc.cpp:35: xlslib/tostr.h:118: syntax error before `&' xlslib/tostr.h:118: `::ios_base' undeclared (first use here) xlslib/tostr.h:118: syntax error before `)' *** Error code 1 Stop in /work/a/ports/textproc/xlslib/work/xlslib-0.2.1/src. *** Error code 1 Stop in /work/a/ports/textproc/xlslib/work/xlslib-0.2.1. *** Error code 1 Stop in /a/ports/textproc/xlslib. --- build fail ends here --- Emanuel -- GnuPG key id: 0x55E67774 Download: http://pgp.mit.edu:11371 Key fingerprint: 17B3 FD8F BA68 4AB4 10FD A9D1 AD52 6588 55E6 7774
State Changed From-To: open->feedback Ask for maintainer fix.
Here is fixed version of port. Tested on 4.10-STABLE. --- xlslib.shar --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # xlslib # xlslib/files # xlslib/files/patch-Makefile.in # xlslib/files/patch-common.h # xlslib/files/patch-src_xlslib_label.cpp # xlslib/Makefile # xlslib/distinfo # xlslib/pkg-descr # xlslib/pkg-plist # echo c - xlslib mkdir -p xlslib > /dev/null 2>&1 echo c - xlslib/files mkdir -p xlslib/files > /dev/null 2>&1 echo x - xlslib/files/patch-Makefile.in sed 's/^X//' >xlslib/files/patch-Makefile.in << 'END-of-xlslib/files/patch-Makefile.in' X--- Makefile.in.orig Mon Sep 6 20:41:57 2004 X+++ Makefile.in Sun Dec 4 15:09:53 2005 X@@ -94,7 +94,7 @@ X EXTRA_DIST = bootstrap X X AUTOMAKE_OPTIONS = foreign X-SUBDIRS = src targets X+SUBDIRS = src X MAINTAINERCLEANFILES = Makefile.in aclocal.m4 configure sic/config-h.in \ X sic/stamp-h.in $(AUX_DIST) X END-of-xlslib/files/patch-Makefile.in echo x - xlslib/files/patch-common.h sed 's/^X//' >xlslib/files/patch-common.h << 'END-of-xlslib/files/patch-common.h' X--- src/xlslib/common.h.orig Wed Sep 1 03:45:48 2004 X+++ src/xlslib/common.h Sun Dec 4 15:06:02 2005 X@@ -67,7 +67,7 @@ X typedef std::list<xlslib_core::range_t* XLSLIB_DFLT_ALLOCATOR> Range_List_t; X typedef Range_List_t::iterator Range_List_Itor_t; X X- class xlslib_core::range; X+ class range; X typedef std::list<xlslib_core::range* XLSLIB_DFLT_ALLOCATOR> RangeObj_List_t; X typedef RangeObj_List_t::iterator RangeObj_List_Itor_t; X #endif END-of-xlslib/files/patch-common.h echo x - xlslib/files/patch-src_xlslib_label.cpp sed 's/^X//' >xlslib/files/patch-src_xlslib_label.cpp << 'END-of-xlslib/files/patch-src_xlslib_label.cpp' X--- src/xlslib/label.cpp.orig Mon Dec 12 16:45:55 2005 X+++ src/xlslib/label.cpp Mon Dec 12 16:48:27 2005 X@@ -95,7 +95,7 @@ X label_t class implementation X ****************************** X */ X-label_t::label_t(unsigned16_t rowval, unsigned16_t colval, X+xlslib_core::label_t::label_t(unsigned16_t rowval, unsigned16_t colval, X string& labelstrval, xf_t* pxfval) X { X row = rowval; X@@ -121,7 +121,7 @@ X ****************************** X */ X X-unsigned16_t label_t::GetSize() X+unsigned16_t xlslib_core::label_t::GetSize() X { X unsigned16_t size = 0; X X@@ -136,7 +136,7 @@ X ****************************** X */ X X-CUnit* label_t::GetData() X+CUnit* xlslib_core::label_t::GetData() X { X CUnit* datalabel = X (CUnit*)( new CLabel(row,col,strlabel,pxf)); END-of-xlslib/files/patch-src_xlslib_label.cpp echo x - xlslib/Makefile sed 's/^X//' >xlslib/Makefile << 'END-of-xlslib/Makefile' X# Date created: 6 August 2004 X# Whom: Sergey Prikhodko<sergey@network-asp.biz> X XPORTNAME= xlslib XPORTVERSION= 0.2.1 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= sergey@network-asp.biz XCOMMENT= A C++ library for generation of Excel (TM) files X XGNU_CONFIGURE= yes XINSTALLS_SHLIB= yes X X.include <bsd.port.pre.mk> X X.if ${OSVERSION} < 500039 XUSE_GCC= 3.4 X.endif X X.include <bsd.port.post.mk> END-of-xlslib/Makefile echo x - xlslib/distinfo sed 's/^X//' >xlslib/distinfo << 'END-of-xlslib/distinfo' XMD5 (xlslib-0.2.1.tar.gz) = b18dc9082d7024285f7a510aefcb237a XSHA256 (xlslib-0.2.1.tar.gz) = 9c4f02404a7812ad6a42035d83332295a7cf4af08779d99b3ff2d001832f8453 XSIZE (xlslib-0.2.1.tar.gz) = 270246 END-of-xlslib/distinfo echo x - xlslib/pkg-descr sed 's/^X//' >xlslib/pkg-descr << 'END-of-xlslib/pkg-descr' XxlsLib is a multiplatform, C++ developed, library for dynamically Xgenerating Excel(TM) files (*.xls). It allows the generation of Excel(TM) Xcompatible files without the need of any other external software. X X * Easy to use, fully object oriented, API. X * Excel 95 (TM) format spreadsheets. X * Multiple worksheets. X * All standard font's styles and colors. X * All standard cell's styles, colors and properties. X * All standard cell's border-styles and colors. X * Three basic type of cells: X o Blank. X o Label. The text in labels can be formated in all standard styles. X o Number. All standard number-formats are supported. X * Merged cells. X * Handling of cells using ranges. X XLICENSE: GPL (http://xlslib.sourceforge.net/license/) XWWW: http://xlslib.sourceforge.net/ END-of-xlslib/pkg-descr echo x - xlslib/pkg-plist sed 's/^X//' >xlslib/pkg-plist << 'END-of-xlslib/pkg-plist' Xinclude/xlslib/biffsection.h Xinclude/xlslib/binfile.h Xinclude/xlslib/blank.h Xinclude/xlslib/cell.h Xinclude/xlslib/colinfo.h Xinclude/xlslib/colors.h Xinclude/xlslib/common.h Xinclude/xlslib/config.h Xinclude/xlslib/continue.h Xinclude/xlslib/crc.h Xinclude/xlslib/data3.h Xinclude/xlslib/data4.h Xinclude/xlslib/datast.h Xinclude/xlslib/docsumminfo.h Xinclude/xlslib/extformat.h Xinclude/xlslib/font.h Xinclude/xlslib/format.h Xinclude/xlslib/formtags.h Xinclude/xlslib/globalrec.h Xinclude/xlslib/index.h Xinclude/xlslib/label.h Xinclude/xlslib/merged.h Xinclude/xlslib/number.h Xinclude/xlslib/oledoc.h Xinclude/xlslib/olefs.h Xinclude/xlslib/oleprop.h Xinclude/xlslib/overnew.h Xinclude/xlslib/range.h Xinclude/xlslib/recdef.h Xinclude/xlslib/record.h Xinclude/xlslib/rectypes.h Xinclude/xlslib/row.h Xinclude/xlslib/sheetrec.h Xinclude/xlslib/stringtok.h Xinclude/xlslib/summinfo.h Xinclude/xlslib/systype.h Xinclude/xlslib/timespan.h Xinclude/xlslib/tostr.h Xinclude/xlslib/unit.h Xinclude/xlslib/workbook.h Xinclude/xlslib/xlconfig.h Xlib/libxls.a Xlib/libxls.la Xlib/libxls.so Xlib/libxls.so.0 X@dirrm include/xlslib END-of-xlslib/pkg-plist exit --- xlslib.shar ---
State Changed From-To: feedback->open Feedback received.
State Changed From-To: open->closed New port added with modifications, thanks!