Difference between revisions of "User talk:Gjanssens"

From GnuCash
Jump to: navigation, search
(Initializing_Documentation_Build_Environment&curid=3983: Re:Re:)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== Initializing_Documentation_Build_Environment&curid=3983 ==
+
== https://wiki.gnucash.org/wiki/index.php?title=Template:Flatpak_convert-pref.sh&curid=4490&diff=20262&oldid=19822 ==
  
;-G: other generators possible?
+
Why hardcoding it? I suspect most users dont want such a cluttered home directory.
:All generators supported by cmake are possible. I have chosen to set "Unix Makefiles" to limit the changes in following commands. They can all use "make <xyz>" then instead of "make <xyz> or ninja(-build) <xyz>". In fact we can probably omit the generator as "Unix Makefiles" is the default on linux.
+
--[[User:Fell|Fell]] ([[User talk:Fell|talk]]) 09:44, 25 September 2021 (UTC)
::I added a note at the beginning of the page.
 
  
;builddir:subdir vs. out of tree?
+
I chose to hardcode it to make it a script that can be run without any modification needed by the user. Many users of the kind that use gnucash are not command line savvy. It's challenging enough for them to open a terminal and copy/paste these cryptic commands. If they also have to understand how to change the script before running it, that raises the bar considerably.
:Personally I prefer to build out of tree. But the documentation was written with a hidden build dir instead. I have not changed that. A non-hidden build dir in-tree apparently causes issues for potfile generation (in code) and may have other side effects so that should be avoided.
 
::Perhaps I had copied that from Translation.
 
;WITH_CHM:Why is the only unavailable format on my system the only defaulting "ON"?
 
:No it will be unavailable on linux. You're looking at the conditions for a Windows environment.
 
::That is, what you published on the page.
 
:On linux all but the CHM will be available (well, pedantically MOBI will be disabled by default as well). Note that chm doesn't work on linux at all, regardless of the build system. For Autotools it's simply not there. For CMake I tried to make it work using a compat library but that fails. I have not investigated further as it's really only a Windows format. Nothing other than Windows will ever use it.
 
 
 
:;My current process:
 
::#sudo make install;
 
::# parallel:
 
::#*make html
 
::#* yelp
 
::# firefox with HTML output
 
::# Final phase: remaining formts on demand
 
--[[User:Fell|Fell]] ([[User talk:Fell|talk]]) 20:11, 28 April 2020 (UTC)
 
::If the page is OK for you, you can remove this whole section.
 

Latest revision as of 19:54, 25 September 2021

https://wiki.gnucash.org/wiki/index.php?title=Template:Flatpak_convert-pref.sh&curid=4490&diff=20262&oldid=19822

Why hardcoding it? I suspect most users dont want such a cluttered home directory. --Fell (talk) 09:44, 25 September 2021 (UTC)

I chose to hardcode it to make it a script that can be run without any modification needed by the user. Many users of the kind that use gnucash are not command line savvy. It's challenging enough for them to open a terminal and copy/paste these cryptic commands. If they also have to understand how to change the script before running it, that raises the bar considerably.