[613c524f] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[613c524f] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a4a52f4] | 7 | <!ENTITY gnucash-download-http
|
---|
| 8 | "&sourceforge-repo;/gnucash/gnucash-&gnucash-version;.tar.bz2">
|
---|
| 9 | <!ENTITY gnucash-download-ftp
|
---|
| 10 | " ">
|
---|
[79e6d17] | 11 | <!ENTITY gnucash-src-md5sum "e59f94a8c4cf41f47a9e74ba725bde45">
|
---|
| 12 | <!ENTITY gnucash-size "9 MB">
|
---|
| 13 | <!ENTITY gnucash-buildsize "207 MB">
|
---|
| 14 | <!ENTITY gnucash-time "2.0 SBU">
|
---|
[a4a52f4] | 15 | <!ENTITY gnucash-docs-version "2.4.1">
|
---|
| 16 | <!ENTITY gnucash-docs-download
|
---|
| 17 | "&sourceforge-repo;/gnucash/gnucash-docs-&gnucash-docs-version;.tar.gz">
|
---|
| 18 | <!ENTITY gnucash-docs-md5sum "38daeb3b15f296726ee8124122040f08">
|
---|
| 19 | <!ENTITY gnucash-docs-size "32.5 MB">
|
---|
| 20 | <!ENTITY gnucash-docs-buildsize "27 MB">
|
---|
| 21 | <!ENTITY gnucash-docs-time "0.5 SBU">
|
---|
[613c524f] | 22 | ]>
|
---|
| 23 |
|
---|
[5afbfa23] | 24 | <sect1 id="gnucash" xreflabel="GnuCash-&gnucash-version;">
|
---|
[72b5adb] | 25 | <?dbhtml filename="gnucash.html" ?>
|
---|
| 26 |
|
---|
| 27 | <sect1info>
|
---|
| 28 | <othername>$LastChangedBy$</othername>
|
---|
| 29 | <date>$Date$</date>
|
---|
| 30 | </sect1info>
|
---|
| 31 |
|
---|
| 32 | <title>GnuCash-&gnucash-version;</title>
|
---|
| 33 |
|
---|
| 34 | <indexterm zone="gnucash">
|
---|
| 35 | <primary sortas="a-GnuCash">GnuCash</primary>
|
---|
| 36 | </indexterm>
|
---|
| 37 |
|
---|
| 38 | <sect2 role="package">
|
---|
| 39 | <title>Introduction to GnuCash</title>
|
---|
| 40 |
|
---|
| 41 | <para><application>GnuCash</application> is a personal finance
|
---|
[3b37f7e8] | 42 | manager.</para>
|
---|
[72b5adb] | 43 |
|
---|
[79e6d17] | 44 | &lfs72_checked;
|
---|
[4c77a949] | 45 |
|
---|
[72b5adb] | 46 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 47 | <itemizedlist spacing="compact">
|
---|
| 48 | <listitem>
|
---|
[a4a52f4] | 49 | <para>
|
---|
| 50 | Download (HTTP): <ulink url="&gnucash-download-http;"/>
|
---|
| 51 | </para>
|
---|
[72b5adb] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[a4a52f4] | 54 | <para>
|
---|
| 55 | Download (FTP): <ulink url="&gnucash-download-ftp;"/>
|
---|
| 56 | </para>
|
---|
[72b5adb] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[a4a52f4] | 59 | <para>
|
---|
| 60 | Download MD5 sum: &gnucash-src-md5sum;
|
---|
| 61 | </para>
|
---|
[72b5adb] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[a4a52f4] | 64 | <para>
|
---|
| 65 | Download size: &gnucash-size;
|
---|
| 66 | </para>
|
---|
[72b5adb] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[a4a52f4] | 69 | <para>
|
---|
| 70 | Estimated disk space required: &gnucash-buildsize;
|
---|
| 71 | </para>
|
---|
[72b5adb] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[a4a52f4] | 74 | <para>
|
---|
| 75 | Estimated build time: &gnucash-time;
|
---|
| 76 | </para>
|
---|
[72b5adb] | 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
| 79 |
|
---|
| 80 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[a4a52f4] | 81 | <itemizedlist spacing="compact">
|
---|
| 82 | <listitem>
|
---|
| 83 | <para>
|
---|
| 84 | Required patch:
|
---|
| 85 | <ulink url="&patch-root;/gnucash-&gnucash-version;-guile-2_fixes-1.patch"/>
|
---|
| 86 | </para>
|
---|
| 87 | </listitem>
|
---|
[72b5adb] | 88 | <listitem>
|
---|
[a4a52f4] | 89 | <para>
|
---|
| 90 | Optional Help documentation: <ulink url="&gnucash-docs-download;"/>
|
---|
| 91 | </para>
|
---|
[72b5adb] | 92 | </listitem>
|
---|
| 93 | <listitem>
|
---|
[a4a52f4] | 94 | <para>
|
---|
| 95 | Download MD5 sum: &gnucash-docs-md5sum;
|
---|
| 96 | </para>
|
---|
[72b5adb] | 97 | </listitem>
|
---|
[3b37f7e8] | 98 | <listitem>
|
---|
[a4a52f4] | 99 | <para>
|
---|
| 100 | Download size: &gnucash-docs-size;
|
---|
| 101 | </para>
|
---|
[3b37f7e8] | 102 | </listitem>
|
---|
[f89938c] | 103 | <listitem>
|
---|
[a4a52f4] | 104 | <para>
|
---|
| 105 | Estimated disk space required: &gnucash-docs-buildsize;
|
---|
| 106 | </para>
|
---|
[f89938c] | 107 | </listitem>
|
---|
| 108 | <listitem>
|
---|
[a4a52f4] | 109 | <para>
|
---|
| 110 | Estimated build time: &gnucash-docs-time;
|
---|
| 111 | </para>
|
---|
[f89938c] | 112 | </listitem>
|
---|
[72b5adb] | 113 | </itemizedlist>
|
---|
| 114 |
|
---|
| 115 | <bridgehead renderas="sect3">GnuCash Dependencies</bridgehead>
|
---|
| 116 |
|
---|
| 117 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a4a52f4] | 118 | <para role="required">
|
---|
| 119 | <xref linkend="guile"/>,
|
---|
| 120 | <xref linkend="libgnomeui"/>,
|
---|
| 121 | <xref linkend="gnome-vfs"/>,
|
---|
[5b00a2a] | 122 | <xref linkend="slib"/>,
|
---|
| 123 | <xref linkend="goffice"/> and
|
---|
| 124 | <xref linkend="webkitgtk"/>
|
---|
[a4a52f4] | 125 | </para>
|
---|
[72b5adb] | 126 |
|
---|
| 127 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a4a52f4] | 128 | <para role="optional">
|
---|
[0d7900a] | 129 | <ulink url="http://libdbi.sourceforge.net/">libdbi</ulink> (and
|
---|
[da836cf] | 130 | <ulink url="http://libdbi-drivers.sourceforge.net/">libdbi drivers</ulink>) and
|
---|
[a4a52f4] | 131 | <ulink url="ftp://ftp.gnu.org/pub/gnu/guile/">Guile-www</ulink>
|
---|
| 132 | </para>
|
---|
[72b5adb] | 133 |
|
---|
[3b37f7e8] | 134 | <bridgehead renderas="sect4">Optional (Required for the Help System)</bridgehead>
|
---|
[a4a52f4] | 135 | <para role="optional">
|
---|
| 136 | <xref linkend="rarian"/> and
|
---|
| 137 | <xref linkend="yelp"/> (run-time requirement to view the Help documents).
|
---|
| 138 | </para>
|
---|
[3b37f7e8] | 139 |
|
---|
[72b5adb] | 140 | <bridgehead renderas="sect4">Optional (for On-Line Banking)</bridgehead>
|
---|
[a4a52f4] | 141 | <para role="optional">
|
---|
| 142 | <ulink url="http://libofx.sourceforge.net/">LibOFX</ulink> (requires
|
---|
| 143 | <xref linkend="opensp"/> and <xref linkend="curl"/>),
|
---|
| 144 | <ulink url="http://sourceforge.net/projects/ktoblzcheck">KtoBlzCheck</ulink> and
|
---|
| 145 | <ulink url="http://www.aquamaniac.de/aqbanking/">AqBanking</ulink> (requires
|
---|
| 146 | <ulink url="http://gwenhywfar.sourceforge.net/">Gwenhywfar</ulink> and
|
---|
| 147 | <ulink url="http://www.libchipcard.de/">libchipcard3</ulink>)
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | <para condition="html" role="usernotes">
|
---|
| 151 | User Notes: <ulink url="&blfs-wiki;/gnucash"/>
|
---|
| 152 | </para>
|
---|
[38e4f06] | 153 |
|
---|
[72b5adb] | 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="installation">
|
---|
| 157 | <title>Installation of GnuCash</title>
|
---|
| 158 |
|
---|
| 159 | <para>Install <application>GnuCash</application> by running the following
|
---|
| 160 | commands:</para>
|
---|
| 161 |
|
---|
[79e6d17] | 162 | <screen><userinput>patch -Np1 -i ../gnucash-&gnucash-version;-guile-2_fixes-1.patch &&
|
---|
| 163 |
|
---|
| 164 | ./configure --prefix=/usr \
|
---|
| 165 | --sysconfdir=/etc/gnome \
|
---|
| 166 | --disable-dbi \
|
---|
| 167 | --with-html-engine=webkit &&
|
---|
[f8625d25] | 168 | make</userinput></screen>
|
---|
| 169 |
|
---|
[79e6d17] | 170 | <para> If you wish to create the API documentation in HTML format, you must
|
---|
| 171 | have <xref linkend="doxygen"/> and <xref linkend="graphviz"/> installed,
|
---|
| 172 | then issue:</para>
|
---|
[0d7900a] | 173 |
|
---|
[79e6d17] | 174 | <screen><userinput>make doc</userinput></screen>
|
---|
[0d7900a] | 175 |
|
---|
[79e6d17] | 176 | <para>If you wish to create the API Design Guide in several formats, you
|
---|
| 177 | must have <xref linkend="texlive"/> installed and issue:</para>
|
---|
[0d7900a] | 178 |
|
---|
[79e6d17] | 179 | <screen><userinput>make -C src/doc/design html pdf ps</userinput></screen>
|
---|
[a4a52f4] | 180 |
|
---|
| 181 | <para>
|
---|
[0d7900a] | 182 | The test suite is currently broken due to problems with
|
---|
[79e6d17] | 183 | <application>Guile 2</application>.
|
---|
[da836cf] | 184 | <!-- To test the results, issue: <command>make check</command>.-->
|
---|
[a4a52f4] | 185 | </para>
|
---|
| 186 |
|
---|
| 187 | <para>
|
---|
| 188 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 189 | </para>
|
---|
| 190 |
|
---|
| 191 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 192 |
|
---|
| 193 | <para>
|
---|
| 194 | If you want to install the Help documentation system, you must have
|
---|
| 195 | <xref linkend="yelp"/> and <xref linkend="rarian"/> installed in order to
|
---|
| 196 | view the Help documents. Unpack the additional tarball, change into the
|
---|
| 197 | <filename class="directory">gnucash-docs-&gnucash-docs-version;</filename>
|
---|
| 198 | source directory and issue the following commands as an unprivileged
|
---|
| 199 | user:
|
---|
| 200 | </para>
|
---|
| 201 |
|
---|
[79e6d17] | 202 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[f8625d25] | 203 | make</userinput></screen>
|
---|
| 204 |
|
---|
[a4a52f4] | 205 | <para>
|
---|
| 206 | HTML versions of the Users Guide can be created if the DocBook XML tools
|
---|
| 207 | are installed (<xref linkend="libxslt"/>, <xref linkend="DocBook"/> and
|
---|
| 208 | <xref linkend="docbook-xsl"/>). A PDF version of the Users Guide can be
|
---|
| 209 | created if you have <xref linkend="docbook-utils"/>,
|
---|
[3f8a5e2] | 210 | and <xref linkend="fop"/> installed.
|
---|
[a4a52f4] | 211 | Issue the following commands to create the documentation:
|
---|
| 212 | </para>
|
---|
[3b37f7e8] | 213 |
|
---|
[a4a52f4] | 214 | <screen><userinput>make -C guide html &&
|
---|
[3b37f7e8] | 215 | make -C guide pdf</userinput></screen>
|
---|
| 216 |
|
---|
[a4a52f4] | 217 | <para>
|
---|
| 218 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 219 | </para>
|
---|
[3b37f7e8] | 220 |
|
---|
[a4a52f4] | 221 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[3b37f7e8] | 222 |
|
---|
[a4a52f4] | 223 | <para>
|
---|
| 224 | If you built the Users Guide, install it as the
|
---|
| 225 | <systemitem class="username">root</systemitem> user:
|
---|
| 226 | </para>
|
---|
[50ad401] | 227 |
|
---|
[79e6d17] | 228 | <screen role="root"><userinput>mkdir -p /usr/share/doc/gnucash-&gnucash-docs-version; &&
|
---|
| 229 | cp -v -R guide/C/gnucash-guide/* /usr/share/doc/gnucash-&gnucash-docs-version; &&
|
---|
| 230 | cp -v guide/C/gnucash-guide.pdf /usr/share/doc/gnucash-&gnucash-docs-version;</userinput></screen>
|
---|
[72b5adb] | 231 | </sect2>
|
---|
| 232 |
|
---|
| 233 | <sect2 role="commands">
|
---|
| 234 | <title>Command Explanations</title>
|
---|
| 235 |
|
---|
[79e6d17] | 236 | <para><parameter>--sysconfdir=/etc/gnome</parameter>: This installs
|
---|
[0d7900a] | 237 | configuration files in
|
---|
| 238 | <filename class="directory">/etc/gnome/gnucash</filename> instead of
|
---|
[79e6d17] | 239 | <filename class="directory">/usr/etc/gnucash</filename>.</para>
|
---|
[a4a52f4] | 240 |
|
---|
| 241 | <para>
|
---|
[79e6d17] | 242 | <parameter>--with-html-engine=webkit</parameter>: Use
|
---|
[a4a52f4] | 243 | <xref linkend="webkitgtk"/> (configured <option>--with-gtk=2.0</option>)
|
---|
[107c925] | 244 | instead of gtkhtml : the default is Gtkhtml-3 which does not build on
|
---|
| 245 | current <application>Glib2</application> without various changes, and
|
---|
| 246 | <xref linkend="gtkhtml"/> is not recognised by this application.
|
---|
[a4a52f4] | 247 | </para>
|
---|
| 248 |
|
---|
| 249 | <para>
|
---|
[107c925] | 250 | <command>--disable-dbi</command>: Add this option if you've not installed
|
---|
| 251 | <application>libdbi</application> and one or more of its database drivers.
|
---|
[a4a52f4] | 252 | </para>
|
---|
[72b5adb] | 253 | </sect2>
|
---|
| 254 |
|
---|
| 255 | <sect2 role="configuration">
|
---|
| 256 | <title>Configuring GnuCash</title>
|
---|
| 257 |
|
---|
| 258 | <sect3>
|
---|
| 259 | <title>Configuration Information</title>
|
---|
| 260 |
|
---|
[a4a52f4] | 261 | <para>
|
---|
| 262 | If you wish to use <application>GnuCash</application> to retrieve
|
---|
| 263 | stock price quotes, you'll need to
|
---|
| 264 | install the following <application>Perl</application> modules:
|
---|
| 265 | <xref linkend="perl-lwp"/>, <xref linkend="perl-date-manip"/>,
|
---|
| 266 | <xref linkend="perl-html-parser"/>,
|
---|
| 267 | <xref linkend="perl-html-tableextract"/>,
|
---|
[8e2f6669] | 268 | <xref linkend="perl-crypt-ssleay"/> and
|
---|
[a4a52f4] | 269 | <xref linkend="perl-finance-quote"/>. Alternatively, you can run the
|
---|
| 270 | <command>gnc-fq-update</command> script as the
|
---|
| 271 | <systemitem class="username">root</systemitem> user.
|
---|
| 272 | </para>
|
---|
[72b5adb] | 273 | </sect3>
|
---|
| 274 | </sect2>
|
---|
| 275 |
|
---|
| 276 | <sect2 role="content">
|
---|
| 277 | <title>Contents</title>
|
---|
| 278 |
|
---|
| 279 | <segmentedlist>
|
---|
| 280 | <segtitle>Installed Programs</segtitle>
|
---|
| 281 | <segtitle>Installed Libraries</segtitle>
|
---|
| 282 | <segtitle>Installed Directories</segtitle>
|
---|
| 283 |
|
---|
| 284 | <seglistitem>
|
---|
[a4a52f4] | 285 | <seg>
|
---|
| 286 | gnc-fq-check, gnc-fq-dump, gnc-fq-helper, gnc-fq-update,
|
---|
| 287 | gnucash, gnucash-env, gnucash-make-guids, gnucash-valgrind and
|
---|
| 288 | update-gnucash-gconf
|
---|
| 289 | </seg>
|
---|
| 290 | <seg>
|
---|
| 291 | libgnc-backend-sql.so, libgnc-backend-xml-utils.so,
|
---|
| 292 | libgnc-business-ledger.so,libgnc-core-utils.so, libgnc-gnome.so,
|
---|
| 293 | libgnc-module.so, libgnc-qof.so and numerous support libraries
|
---|
| 294 | installed in <filename class="directory">/usr/lib/gnucash</filename>
|
---|
| 295 | </seg>
|
---|
| 296 | <seg>
|
---|
[0d7900a] | 297 | /opt/gnome/gnucash,
|
---|
[79e6d17] | 298 | /usr/include/gnucash,
|
---|
[0d7900a] | 299 | /usr/lib/gnucash,
|
---|
[79e6d17] | 300 | /usr/libexec/gnucash and
|
---|
| 301 | /usr/share/doc/gnucash-&gnucash-version;.
|
---|
[a4a52f4] | 302 | </seg>
|
---|
[72b5adb] | 303 | </seglistitem>
|
---|
| 304 | </segmentedlist>
|
---|
| 305 |
|
---|
| 306 | <variablelist>
|
---|
| 307 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 308 | <?dbfo list-presentation="list"?>
|
---|
| 309 | <?dbhtml list-presentation="table"?>
|
---|
| 310 |
|
---|
| 311 | <varlistentry id="gnucash-prog">
|
---|
| 312 | <term><command>gnucash</command></term>
|
---|
| 313 | <listitem>
|
---|
| 314 | <para>is a personal finance manager.</para>
|
---|
| 315 | <indexterm zone="gnucash gnucash-prog">
|
---|
| 316 | <primary sortas="b-gnucash">gnucash</primary>
|
---|
| 317 | </indexterm>
|
---|
| 318 | </listitem>
|
---|
| 319 | </varlistentry>
|
---|
| 320 | </variablelist>
|
---|
| 321 | </sect2>
|
---|
[f45b1953] | 322 | </sect1>
|
---|