2005-12-27 13:54:46 -06:00
|
|
|
GnuCash Compiler Dependency
|
|
|
|
---------------------------
|
|
|
|
|
2019-06-06 08:49:22 -05:00
|
|
|
The GnuCash developers use gcc (https://gcc.gnu.org) for developing and
|
2005-12-27 13:54:46 -06:00
|
|
|
testing GnuCash. For convenience, we have relied on certain features
|
|
|
|
of gcc that are not part of any official standard and may not be
|
|
|
|
available with other standard-compliant compilers. Anyone desiring to
|
|
|
|
compile GnuCash with some other compiler may have to remove these
|
|
|
|
"gcc-isms", some of which are documented here.
|
|
|
|
|
|
|
|
Pointer-typed NULL sentinel values
|
|
|
|
----------------------------------
|
|
|
|
|
|
|
|
Gcc provides an implementation of `stddef.h' that defines NULL to
|
|
|
|
always expand to a pointer-typed null constant. This is precisely
|
|
|
|
what is needed in order to make sentinel value arguments to variadic
|
|
|
|
functions correct for both 32 and 64 bit platforms. However, another
|
|
|
|
implementation may define NULL to expand to `0'. In that case, all
|
|
|
|
sentinel value arguments must have an explicit `(void *)' cast.
|
|
|
|
|
|
|
|
C++ style comments
|
|
|
|
------------------
|
|
|
|
|
|
|
|
C++ style comments (`// comment to end of line') are discouraged but
|
|
|
|
not actively eradicated.
|
|
|
|
|
|
|
|
Variadic Macros
|
|
|
|
---------------
|
|
|
|
|
|
|
|
GnuCash uses variadic macros for debugging and logging support (via
|
|
|
|
qof).
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-09-21 12:31:40 -05:00
|
|
|
Important notice
|
|
|
|
----------------
|
2019-10-12 19:23:41 -05:00
|
|
|
You can find the most recent version of the following part at
|
2019-06-06 08:49:22 -05:00
|
|
|
https://wiki.gnucash.org/wiki/Dependencies.
|
2010-09-21 12:31:40 -05:00
|
|
|
|
2005-12-27 13:54:46 -06:00
|
|
|
GnuCash Library Dependency Policy
|
|
|
|
---------------------------------
|
2005-11-01 21:32:36 -06:00
|
|
|
|
|
|
|
GnuCash desires to only depend on library versions and packages that are
|
|
|
|
practically available. Specifically, we choose to depend only on versions
|
2011-03-30 02:13:54 -05:00
|
|
|
that have been in the major distributions for 6 months. (This is motivated in
|
2005-11-01 21:32:36 -06:00
|
|
|
part by the 1.6 release, which required a large set of relatively-recent
|
|
|
|
dependencies. Specifically, as most user's (distributions) did not have the
|
|
|
|
required versions packaged, it was exceedingly painful for end users to
|
|
|
|
upgrade to the anticipated release, leading to a reputation that gnucash
|
2011-03-30 02:13:54 -05:00
|
|
|
still has.)
|
2005-11-01 21:32:36 -06:00
|
|
|
|
|
|
|
Libraries/Deps
|
|
|
|
--------------
|
2019-10-12 19:23:41 -05:00
|
|
|
required Version
|
|
|
|
-------- _______
|
|
|
|
gcc or clang 8.0 (gcc)/6.0(clang) C++17 C/C++ compiler
|
|
|
|
cmake 3.10 Build system manager
|
2020-04-24 16:23:56 -05:00
|
|
|
glib2 2.56.1
|
|
|
|
gtk+3 3.22.30
|
2020-07-14 08:23:56 -05:00
|
|
|
guile 3.0, 2.2 or 2.0.9 Must be built with regex
|
2019-10-09 05:49:26 -05:00
|
|
|
support enabled
|
2020-04-24 16:23:56 -05:00
|
|
|
libxml2 2.9.4
|
|
|
|
gettext 0.20 Required to build gnucash.pot,
|
|
|
|
0.19.6 or later permitted but
|
|
|
|
won't generate gnucash.pot.
|
2018-04-06 16:47:24 -05:00
|
|
|
libxslt, including xsltproc
|
Fix typos for gnuchash/ doc/ bindings/ and misc.
Typos found via `codespell -q 3 -D ~/Projects/codespell/codespell_lib/data/dictionary.txt -S *.po,./po,*.min.js,./ChangeLog*,./NEWS,./doc/README*,./AUTHORS,./libgnucash/tax/us/txf-de*,./data/accounts -L ans,cas,dragable,gae,iff,iif,mut,nd,numer,startd,stoll`
2019-09-13 19:26:03 -05:00
|
|
|
ICU International Components for
|
2017-03-13 13:55:09 -05:00
|
|
|
Unicode
|
2019-10-12 19:23:41 -05:00
|
|
|
boost 1.67.0 All headers plus date_time,
|
2020-09-22 14:35:59 -05:00
|
|
|
filesystem, locale,
|
|
|
|
program_options, and
|
2019-10-12 19:23:41 -05:00
|
|
|
regex libraries.
|
|
|
|
locale and regex libs must be
|
2017-03-13 13:55:09 -05:00
|
|
|
built with ICU support.
|
2019-10-12 19:23:41 -05:00
|
|
|
Note that 1.67.0 is the first
|
|
|
|
*release* that supports C++17,
|
|
|
|
but that some distributions
|
|
|
|
have patched earlier versions
|
|
|
|
to work.
|
|
|
|
swig 3.0.12 Makes Guile and Python Bindings.
|
2020-04-24 16:23:56 -05:00
|
|
|
webkit 2.4.11 (Windows,
|
|
|
|
2.14.1 (Everything Else)
|
2019-10-12 19:23:41 -05:00
|
|
|
googletest 1.8.0 Some distros call it gtest.
|
2018-01-27 17:44:03 -06:00
|
|
|
Some distros also separate out
|
|
|
|
googlemock or gmock; both are
|
|
|
|
required.
|
2010-09-21 12:31:40 -05:00
|
|
|
|
2019-10-12 19:23:41 -05:00
|
|
|
libdbi 0.8.3 SQL backend; also requires at
|
|
|
|
least one of libdbd-sqlite3,
|
|
|
|
libdbd-mysql, or libdbd-pgsql
|
2011-03-30 02:13:54 -05:00
|
|
|
|
2020-04-24 16:23:56 -05:00
|
|
|
zlib
|
2011-03-30 02:13:54 -05:00
|
|
|
|
2020-04-24 16:23:56 -05:00
|
|
|
optional
|
|
|
|
--------
|
2022-10-03 16:24:44 -05:00
|
|
|
aqbanking 6.4.0 online banking and SWIFT
|
|
|
|
gwenhywfar 5.8.0 file imports.
|
2020-04-24 16:23:56 -05:00
|
|
|
|
2024-02-29 18:12:53 -06:00
|
|
|
python 3.8.0 python bindings; headers
|
2019-10-12 19:23:41 -05:00
|
|
|
required, not just binaries.
|
2020-04-24 16:23:56 -05:00
|
|
|
libofx 0.9.12 OFX/QFX import
|
|
|
|
|
|
|
|
libsecret 0.18
|
|
|
|
gtk-mac-integration MacOS only, for menus to go
|
|
|
|
to the main menu bar instead
|
|
|
|
of one on the window.
|
2011-03-30 02:13:54 -05:00
|
|
|
|
2018-04-06 17:46:16 -05:00
|
|
|
doxygen For building the Doxygen API
|
|
|
|
documentation.
|
2018-01-23 18:04:28 -06:00
|
|
|
|
2014-01-27 03:15:44 -06:00
|
|
|
at runtime, required
|
|
|
|
---------------------
|
2018-04-06 16:47:24 -05:00
|
|
|
a gsettings backend to store the gnucash global preferences in
|
|
|
|
This backend is platform dependent.
|
|
|
|
- linux: dconf
|
|
|
|
- windows: registry
|
|
|
|
- osx/quarz: plists
|
2014-01-27 03:15:44 -06:00
|
|
|
|
2018-04-06 16:47:24 -05:00
|
|
|
Note that the osx and windows backends are built-in in gio for their
|
|
|
|
respective platforms. On linux and similar systems, the dconf package
|
|
|
|
should be installed.
|
2014-01-27 03:15:44 -06:00
|
|
|
|
2013-11-05 13:33:10 -06:00
|
|
|
at runtime, suggested
|
|
|
|
---------------------
|
2018-04-06 16:47:24 -05:00
|
|
|
isocodes: translation of currency names
|