[GNC] Build 4.8 docs issue

Geert Janssens geert.gnucash at kobaltwit.be
Sun Oct 3 13:35:31 EDT 2021


As a side note, I am surprised you you are building epub, html and pdf for 
your  ebuild. On linux the idea is you build the "ghelp" target* which 
generates the documentation in the format gnucash expects. It's installed in a 
way that is should open with yelp.

The other formats were never intended to be distributed in linux packages. 
They are there to help us generate alternative formats for download from the 
gnucash website.

Regards,

Geert

* Well, to be more precise if you configure the buildsystem with cmake on  
linux, it will by default only enable the ghelp target. And currently 'make' 
(without target) will do nothing on linux as until recently there was no need 
to build the documents for yelp. They could be used straight from the source 
directory for development. Only 'make install' would copy all required files 
in the appropriate install location.
I said 'until recently' because very recently there have been changes that do 
require to run make in order to get a build of the documentation that can be 
tested with yelp for development. For linux packagers this still doesn't 
matter, they only need the 'make install' step.


Op zaterdag 2 oktober 2021 22:26:19 CEST schreef Geert Janssens:
> Please remember to send replies to the list rather than individual users.
> Particularly if you are soliciting for answers from "anyone" ;)
> 
> As to your problems, can you provide more details ?
> 
> It's been a while since I tested  the mobi format. Back then it worked fine,
> also with cmake. You have to enable it explicitly though by passing
> '-DWITH_MOBI=ON' to the cmake call.
> 
> I wouldn't spend too much effort on it though. We're currently considering
> to drop that format. It has been abandoned by Amazon as well.
> 
> Regards,
> 
> Geert
> 
> Op zaterdag 2 oktober 2021 19:40:30 CEST schreef Giuseppe Foti:
> > I am fighting with it too, trying to create a gentoo ebuild for it.
> > 
> > At now I can build, html and epub.
> > 
> > With pdf I have a sandbox access violation issue,
> > 
> > Can anyone confirm that "mobi" can be built both for "help" and "guide" ?
> > 
> > 
> > 
> > 
> > Il 02/10/21 18:51, Geert Janssens ha scritto:
> > 
> > Op zaterdag 2 oktober 2021 18:14:02 CEST schreef Mike Commissaris:
> > 
> > Installing past versions of docs (ver 4.4) went smoothly.
> > With ver 4.8 docs build, starting the install from my script file ./
> > gnucash-docs-4.8.sh
> > I get an error at line 11: ./configure: No such file or directory
> > Sure enough, there is no configure script file in my 4.8 docs build
> > directory.
> > I have searched for answers but have not figured out how to build docs in
> > ver 4.8.
> > Any suggestions or pointer to documentation?
> > 
> > The autotools based build system for gnucash-docs has been deprecated in
> > favor of the cmake based build system.
> > 
> > In gnucash-docs 4.8, the bits to use autotools have been fully removed.
> > 
> > The new way of building is summarized as follows:
> > 
> > - create a build directory (eg 'build') next to your source directory
> > - cd build
> > - cmake ../<source-dir>
> > - make
> > 
> > If you used to set an installation prefix while running configure you may
> > want do to the equivalent for your cmake run.
> > The syntax is "-DCMAKE_INSTALL_PREFIX=<path-to-install>"
> > 
> > Regards,
> > 
> > Geert
> > 
> > 
> > _______________________________________________
> > gnucash-user mailing list
> > gnucash-user at gnucash.org
> > To update your subscription preferences or to unsubscribe:
> > https://lists.gnucash.org/mailman/listinfo/gnucash-user
> > If you are using Nabble or Gmane, please see
> > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
> > Please remember to CC this list on all your replies.
> > You can do this by using Reply-To-List or Reply-All.
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information. -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.






More information about the gnucash-user mailing list