After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 484576 - Configuration error with goffice 0.5
Configuration error with goffice 0.5
Status: VERIFIED FIXED
Product: GnuCash
Classification: Other
Component: Build system
2.2.x
Other All
: Normal normal
: ---
Assigned To: Derek Atkins
Derek Atkins
Depends on:
Blocks: backport
 
 
Reported: 2007-10-08 02:54 UTC by Ken Mayer
Modified: 2018-06-29 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (4.69 KB, patch)
2007-10-28 02:46 UTC, Andreas Köhler
none Details | Review
Patch revised (5.11 KB, patch)
2007-10-28 12:29 UTC, Andreas Köhler
committed Details | Review

Description Ken Mayer 2007-10-08 02:54:07 UTC
Steps to reproduce:
1. ./configure
2. 
3. 


Stack trace:
checking for libgoffice-0.4 >= 0.4.0... no
checking for libgoffice-0.3 >= 0.3.0... no
checking for libgoffice-1 >= 0.0.4... no
configure: error: Cannot find libgoffice.


Other information:
GnomeOffice v0.5 is out, you need to edit configure.in by adding another line,
probably something like

*** gnucash-2.2.1/configure.in.orig     Sun Aug 19 06:44:55 2007
--- gnucash-2.2.1/configure.in  Sun Oct  7 16:48:42 2007
***************
*** 1103,1112 ****
      AC_SUBST(GLADE_CFLAGS)
      AC_SUBST(GLADE_LIBS)
  
!     PKG_CHECK_MODULES(GOFFICE, libgoffice-0.4 >= 0.4.0, [], [
!       PKG_CHECK_MODULES(GOFFICE, libgoffice-0.3 >= 0.3.0, [], [
!         PKG_CHECK_MODULES(GOFFICE, libgoffice-1 >= 0.0.4, [], [
!           AC_MSG_ERROR([Cannot find libgoffice.])
          ])
        ])
      ])
--- 1103,1114 ----
      AC_SUBST(GLADE_CFLAGS)
      AC_SUBST(GLADE_LIBS)
  
!     PKG_CHECK_MODULES(GOFFICE, libgoffice-0.5 >= 0.5.0, [], [
!       PKG_CHECK_MODULES(GOFFICE, libgoffice-0.4 >= 0.4.0, [], [
!         PKG_CHECK_MODULES(GOFFICE, libgoffice-0.3 >= 0.3.0, [], [
!           PKG_CHECK_MODULES(GOFFICE, libgoffice-1 >= 0.0.4, [], [
!             AC_MSG_ERROR([Cannot find libgoffice.])
!           ])
          ])
        ])
      ])
Comment 1 Derek Atkins 2007-10-08 03:00:33 UTC
Have you tested that gnucash actually builds and runs with goffice-0.5?
Comment 2 Ken Mayer 2007-10-08 03:20:13 UTC
No, still banging my head against configure issues (gtkhtml, cairo support, getting all the proper pieces is painful), so I guess my report is premature. 
Comment 3 Josh Sled 2007-10-08 13:12:39 UTC
(Lowering severity.)

As goffice-0.5 has a different library version number, then it's likely that we can use it without code changes as well.  IIRC, the reports are that it does not build directly with goffice-0.5.
Comment 4 Andreas Köhler 2007-10-28 02:46:42 UTC
Created attachment 98005 [details] [review]
Patch

What about this one?
Especially, does it still compile against goffice 0.4, show and print graphs?
Comment 5 Andreas Köhler 2007-10-28 12:29:19 UTC
Created attachment 98019 [details] [review]
Patch revised

Actually I committed this one as r16572.
Goffice 0.5.0 seems to lack the function to render to the printing cairo context, so it will be unsupported.

Is this worth a backport to branches/2.2?
Comment 6 Andreas Köhler 2007-10-28 15:13:30 UTC
Given
08:44:29 <andi5> do you think we need it for branches/2.2?
08:44:37 <cstim> yes, probably.

I am awaiting a backport of r16572 and r16574 :-)
Comment 7 Andreas Köhler 2007-11-17 21:58:31 UTC
r16590.  Thanks!
Comment 8 John Ralls 2018-06-29 21:51:31 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=484576. Please update any external references or bookmarks.