severity 556245 wishlist tags 556245 wontfix patch --
Specifically regarding QOF: Debian library 'libqof-dev' 0.8.4-2 despite being up-to-date have little resemblance to whatever is coming as QOF in gnucash (src/libqof), which have version 1.4.0 Theoretically if gnucash were using libqof-dev, it could be unbundled with something like the attached patch. In practice there is little in common between embedded libqof and debian- provided one so this patch is causing FTBFS with multiple "unknown type name" errors. Regards, Dmitry.
--- a/configure.ac +++ b/configure.ac @@ -544,11 +544,12 @@ ### -------------------------------------------------------------------------- ### Internal code part which is called "qof" -LIBQOF_LIBRARY_VERSION=1:4:0 +PKG_CHECK_MODULES(LIBQOF, qof >= 0.8.0) +LIBQOF_LIBRARY_VERSION=`$PKG_CONFIG --modversion qof` AC_SUBST(LIBQOF_LIBRARY_VERSION) -QOF_CFLAGS='-I${top_builddir}/src/libqof/qof -I${top_srcdir}/src/libqof/qof' -QOF_LIBS='${top_builddir}/src/libqof/qof/libgnc-qof.la' +QOF_CFLAGS=`$PKG_CONFIG --cflags qof` +QOF_LIBS=`$PKG_CONFIG --libs-only-l qof` AC_SUBST(QOF_CFLAGS) AC_SUBST(QOF_LIBS) @@ -1383,9 +1384,6 @@ src/import-export/log-replay/Makefile src/import-export/aqbanking/Makefile src/import-export/aqbanking/schemas/Makefile - src/libqof/Makefile - src/libqof/qof/Makefile - src/libqof/qof/test/Makefile src/optional/Makefile src/optional/gtkmm/Makefile src/optional/python-bindings/Makefile --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,6 +1,5 @@ # These directories do not contain any gtk dependencies NONGUI_SUBDIRS = \ - libqof \ debug \ doc \ pixmaps \