goffice/gog in g2 branch, new deps coming soon
I've been working on getting a hacked version of libgoffice working within GnuCash for the Gnome Office Graphing [GOG] support. It is basically self-contained in `gnucash/lib/goffice/`, and I've it compiling and working to display basic pie charts in reports. I'm getting close to a point to commit the code, but wanted to outline some new dependencies and changes. The following is a short summary of the configure.in differences: + AC_CHECK_HEADERS(ieeefp.h ieee754.h) + AC_CHECK_FUNCS(finite random drand48 finite memmove mkdtemp uname times sysconf) + PKG_CHECK_MODULES(GSF, libgsf-1 >= 1.8.0 +libgsf-gnome-1 >= 1.8.0) + PKG_CHECK_MODULES(ART, libart-2.0 >= 2.3.11) + PKG_CHECK_MODULES(PRINT, libgnomeprint-2.2 >= 2.5.2) Some of these may be able to be pared down; I've just copied these literally from gnumeric. Unfortunately, the libgnomeprint-2.2 dep is beyond base FC1, which shipped with 2.4.0 [1]; I'll try to figure that out more about that in the next few weeks. Also, for the moment, I've had to disable -Werror to get it to compile; this is due to three things: 1/ Warnings which are due to the dull scalpel I used for the transplantation. 2/ Natural warnings in the compilation due to different coding standards. 2b/ #warning directives used as TODOs in some of the files. I'm intending to commit [to the gnome2 branch] tomorrow or Thursday, so if there are any major objections, please speak out now. I could be easily convinced to wait until the integration is in a better place before committing, but frankly would like to get a checkpoint in CVS. Also, FTR, I'll be out in CA next week, so I'll be a bit unresponsive to problems encountered then; if you're very concerned about being blocked on the gnome2 branch next week, I'd appreciate your trying the changes out this weekend. ...jsled [1] http://download.fedoralegacy.org/fedora/1/os/i386/ -- http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED] ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: goffice/gog in g2 branch, new deps coming soon
Josh Sled <[EMAIL PROTECTED]> writes: > I've been working on getting a hacked version of libgoffice working > within GnuCash for the Gnome Office Graphing [GOG] support. > > It is basically self-contained in `gnucash/lib/goffice/`, and I've it > compiling and working to display basic pie charts in reports. I'm > getting close to a point to commit the code, but wanted to outline some > new dependencies and changes. > > The following is a short summary of the configure.in differences: > > + AC_CHECK_HEADERS(ieeefp.h ieee754.h) > + AC_CHECK_FUNCS(finite random drand48 finite memmove mkdtemp uname times > sysconf) These shouldn't necessarily be problems, but we might need to supply alternatives, maybe. A couple of notes: 1) you have finite listed twice 2) I'm not sure what mkdtemp is. I don't see that on Solaris, so that could be a real problem. 3) Solaris also does not have ieee754.h > + PKG_CHECK_MODULES(GSF, libgsf-1 >= 1.8.0 > +libgsf-gnome-1 >= 1.8.0) These are a problem. RHEL3 only has 1.6.0. > + PKG_CHECK_MODULES(ART, libart-2.0 >= 2.3.11) I presume this is libart_lgpl-2.3.11-2? If so then this should be fine w.r.t RHEL3. > + PKG_CHECK_MODULES(PRINT, libgnomeprint-2.2 >= 2.5.2) This is also a problem; RHEL's libgnomeprint22 is only at 2.2.1.3. -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH [EMAIL PROTECTED]PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: goffice/gog in g2 branch, new deps coming soon
On Tue, 2005-01-25 at 23:50, Derek Atkins wrote: > 2) I'm not sure what mkdtemp is. I don't see that on Solaris, >so that could be a real problem. Well, it's not listed in the lib/goffice/*.c files, so it's probably spurious. > 3) Solaris also does not have ieee754.h Hmm. IIRC, a lot of the numeric/math deps are due to recent gnumeric code in coordination with the R project ... importing their well-tested/&c. math routines. It's unclear if GOG has a real dependency on them, and thus on ieee754.h. More digging required. > > + PKG_CHECK_MODULES(GSF, libgsf-1 >= 1.8.0 > > +libgsf-gnome-1 >= 1.8.0) > > These are a problem. RHEL3 only has 1.6.0. GSF may be able to be a non-dependency; there are GSF-type-definition macros all over the place, but very little actual usage. Of course, gnumeric-CVS actually has deps on libgsf-1.10.0, so the story may be even worse. > > + PKG_CHECK_MODULES(ART, libart-2.0 >= 2.3.11) > > I presume this is libart_lgpl-2.3.11-2? If so then this should be > fine w.r.t RHEL3. Yes it is. Good. > This is also a problem; RHEL's libgnomeprint22 is only at 2.2.1.3. Hmm. This could be quite unfortunate, if the more recent version is because of deps for printing graphs; again: more digging required. Thanks for the info. Are we cl As per our discussion on IRC earlier, I'm going to commit this effort this evening to a sub-branch of the gnucash-gnome2-dev branch called 'g2-gog-integ'; the branch and a branch-point tag called 'g2-gog-integ-bp' exist of about 10 minutes ago. ...jsled -- http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED] ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel