Re: [GNC-dev] Dependencies on Launchpad
Op maandag 27 mei 2019 09:22:42 CEST schreef Colin Law: > I would not bother trying to build for Trusty. It went out of support > in April, nobody should be using it now. > https://wiki.ubuntu.com/Releases > > Colin Agreed. Trusty does come with googletest, but the package is called gtest. It was not merged yet with the google-mock package (both of which are required for gnucash). I believe the real issue though is the version is too old. It's 1.6 and IIRC we need at least 1.7. Geert ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] [GNC] UK VAT and "Making Tax Digital"
Maf, Can you also share the full output of the cmake command ? The error looks like you are missing the swig command on your system, but I'd like to see how cmake reports this. Geert Op dinsdag 14 mei 2019 09:35:32 CEST schreef Maf. King: > On Sunday, 12 May 2019 01:54:16 BST Christopher Lam wrote: > > Good luck creating a build. Branch at > > https://github.com/christopherlam/gnucash/tree/maint-csv-export > > Hi Christopher, > > Tried to build GC last night. CMake failed with many errors. > > I downloaded the zip source file using the green "clone or download" button > on the page you mentioned above. > > unzipped into ~/src > > followed the suggestions on the wiki page about how to install into > ~/opt/gnucash-vat > > rancmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/gnucash-vat ../gnucash-maint- > csv-export/ > > > the first several errors were file not found types: > > CMake Error at common/test-core/CMakeLists.txt:43 (add_library): > Cannot find source file: > > /home/maf/src/gnucash-maint-csv-export/common/test-core/swig-unittest- > support-guile.c > > Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp > .hxx .in .txx > > (that file is not in my tree, nor is it in your git branch) > > then there were some like > > CMake Error: CMake can not determine linker language for target: test-core > -guile > > make failed, of course. > > Do I need to pass some switches to CMake, or do I need more source than what > is in the branch from mainline or somewhere? > > Thanks, > Maf. > > > > > ___ > gnucash-devel mailing list > gnucash-devel@gnucash.org > https://lists.gnucash.org/mailman/listinfo/gnucash-devel ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] gnucash-on-windows master: Guile 2.2 for Windows.
Op donderdag 25 april 2019 23:54:01 CEST schreef John Ralls: > Updatedvia > https://github.com/Gnucash/gnucash-on-windows/commit/c739d231 > (commit) from > https://github.com/Gnucash/gnucash-on-windows/commit/fe22df60 (commit) > > > > commit c739d231b5dc4775d40433d3148979a4a4d4c7ab > Author: John Ralls > Date: Thu Apr 25 14:53:28 2019 -0700 > > Guile 2.2 for Windows. > > diff --git a/gnucash.modules b/gnucash.modules > index 04c3856..29b8c62 100644 > --- a/gnucash.modules > +++ b/gnucash.modules > @@ -119,11 +119,9 @@ > > > > - autogen-sh="autoreconf" autogenargs="--without-threads"> > - repo="ftp.gnu.org" module="guile/guile-2.0.14.tar.gz" - > version="2.0.14"> > - file="https://raw.githubusercontent.com/Gnucash/gnucash-on-windows/master/p > atches/guile-2.0.14-mingw64-fixups.patch" strip="1"/> > - file="https://raw.githubusercontent.com/Gnucash/gnucash-on-windows/master/p > atches/guile-2.0.14-Fix-mktime-test.patch" strip="1"/> > + id="guile2" autogen-sh="configure" autogenargs="--disable-rpath > --enable-networking --enable-nls --enable-posix --enable-regex > --with-threads --with-modules --disable-static"> > + repo="sourceforge" module="gnucash/Dependencies/guile-2.2.4+mingw.tar.bz2" > + version="2.2.4+mingw"> I am aware I suggested on irc to put the tarball on sourceforge. However while seeing this commit I wonder if there's a reason not to do as we did for guile 2.0: start from the upstream tarball and apply patches during the build ? That would mean storing the patches in our gnucash-on-windows repo. Geert ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [GNC-dev] GnuCash 3 on Linux
Op dinsdag 26 februari 2019 09:28:41 CET schreef David Cousens: > Wm and other interested parties > > To help alleviate the confusion over where user configuration information is > located in V3.x cf v 2.6.x I have started adding some diagrams to > illustrate the changes in locations that occurred which are hopefully a bit > easier to understand than all that text. > > Currently I only have a Linux page up and running but I can build the others > easily witha little cut and paste. > > David Cousens David, Thanks for this work. The diagrams are much easier to get an overview quickly. It also is not completely accurate in what is marked as "environment variables" (in green). Not all of these symbolic names are actually variables that influence gnucash/gtk in any way. I only used these symbolic names to create a logical structure. Of the ones you have marked as environment variables DOT_GNUCASH_DIR (for gnucash 2.6 and older), GNC_DATA_HOME (for gnucash 3.x and (as of gnucash 3.4) GNC_CONFIG_HOME will indeed be honored by gnucash. But USER_DATA_HOME and USER_CONFIG_HOME are not interepreted in any way. And as far as I know GTK_DATA_HOME and GTK_CONFIG_HOME aren't either. On linux and MacOS you can manipulate the locations GTK uses by setting XDG_DATA_HOME and XDG_CONFIG_HOME. Gtk will access XDG_DATA_HOME/gtk- and XDG_CONFIG_HOME/gtk- respectively. XDG_DATA_HOME and XDG_CONFIG_HOME also affect gnucash in the same way though GNC_DATA_HOME and GNC_CONFIG_HOME take precedence if set. HOME is indeed an environment variable, though I'd avoid changing this as it has a broad impact. Regards, Geert ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel