[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 | " ">
|
---|
| 11 | <!ENTITY gnucash-src-md5sum "eebcf231beffe39a9c1b5f09625bb38e">
|
---|
| 12 | <!ENTITY gnucash-size "8.9 MB">
|
---|
| 13 | <!ENTITY gnucash-buildsize "234 MB">
|
---|
| 14 | <!ENTITY gnucash-time "2.2 SBU">
|
---|
| 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 |
|
---|
[4c77a949] | 44 | &lfs71_built;
|
---|
| 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"/>,
|
---|
| 122 | <xref linkend="slib"/> and
|
---|
| 123 | <xref linkend="goffice"/>.
|
---|
[da836cf] | 124 | </para>
|
---|
| 125 | <para role="required">
|
---|
[107c925] | 126 | <!-- needs gtkhtml-3 <xref linkend="gtkhtml"/> or -->
|
---|
[a4a52f4] | 127 | <xref linkend="webkitgtk"/> (configured <option>--with-gtk=2.0</option>).
|
---|
| 128 | </para>
|
---|
[72b5adb] | 129 |
|
---|
| 130 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a4a52f4] | 131 | <para role="optional">
|
---|
[da836cf] | 132 | <ulink url="http://libdbi.sourceforge.net/">libdbi</ulink> (and
|
---|
| 133 | <ulink url="http://libdbi-drivers.sourceforge.net/">libdbi drivers</ulink>) and
|
---|
[a4a52f4] | 134 | <ulink url="ftp://ftp.gnu.org/pub/gnu/guile/">Guile-www</ulink>
|
---|
| 135 | </para>
|
---|
[72b5adb] | 136 |
|
---|
[3b37f7e8] | 137 | <bridgehead renderas="sect4">Optional (Required for the Help System)</bridgehead>
|
---|
[a4a52f4] | 138 | <para role="optional">
|
---|
| 139 | <xref linkend="rarian"/> and
|
---|
| 140 | <xref linkend="yelp"/> (run-time requirement to view the Help documents).
|
---|
| 141 | </para>
|
---|
[3b37f7e8] | 142 |
|
---|
[72b5adb] | 143 | <bridgehead renderas="sect4">Optional (for On-Line Banking)</bridgehead>
|
---|
[a4a52f4] | 144 | <para role="optional">
|
---|
| 145 | <ulink url="http://libofx.sourceforge.net/">LibOFX</ulink> (requires
|
---|
| 146 | <xref linkend="opensp"/> and <xref linkend="curl"/>),
|
---|
| 147 | <ulink url="http://sourceforge.net/projects/ktoblzcheck">KtoBlzCheck</ulink> and
|
---|
| 148 | <ulink url="http://www.aquamaniac.de/aqbanking/">AqBanking</ulink> (requires
|
---|
| 149 | <ulink url="http://gwenhywfar.sourceforge.net/">Gwenhywfar</ulink> and
|
---|
| 150 | <ulink url="http://www.libchipcard.de/">libchipcard3</ulink>)
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
| 153 | <para condition="html" role="usernotes">
|
---|
| 154 | User Notes: <ulink url="&blfs-wiki;/gnucash"/>
|
---|
| 155 | </para>
|
---|
[38e4f06] | 156 |
|
---|
[72b5adb] | 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="installation">
|
---|
| 160 | <title>Installation of GnuCash</title>
|
---|
| 161 |
|
---|
| 162 | <para>Install <application>GnuCash</application> by running the following
|
---|
| 163 | commands:</para>
|
---|
| 164 |
|
---|
[a4a52f4] | 165 | <screen><userinput>patch -p1 < ../gnucash-&gnucash-version;-guile-2_fixes-1.patch &&
|
---|
[107c925] | 166 | ./configure --prefix=${GNOME_PREFIX} --sysconfdir=${GNOME_SYSCONFDIR} \
|
---|
| 167 | --disable-dbi \
|
---|
| 168 | --with-html-engine=webkit &&
|
---|
[f8625d25] | 169 | make</userinput></screen>
|
---|
| 170 |
|
---|
[a4a52f4] | 171 | <para>
|
---|
| 172 | If you wish to create the API documentation in HTML format, you must
|
---|
| 173 | have <xref linkend="doxygen"/> and <xref linkend="graphviz"/> installed,
|
---|
| 174 | then issue: <command>make doc</command>. If you wish to create the API
|
---|
| 175 | Design Guide in several formats, you must have <xref linkend="texlive"/>
|
---|
| 176 | installed and issue: <command>make -C src/doc/design html pdf
|
---|
| 177 | ps</command>.
|
---|
| 178 | </para>
|
---|
| 179 |
|
---|
| 180 | <para>
|
---|
[da836cf] | 181 | The test suite is currently broken due to problems with <application>Guile
|
---|
| 182 | 2</application>.
|
---|
| 183 | <!-- To test the results, issue: <command>make check</command>.-->
|
---|
[a4a52f4] | 184 | </para>
|
---|
| 185 |
|
---|
| 186 | <para>
|
---|
| 187 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 188 | </para>
|
---|
| 189 |
|
---|
| 190 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 191 |
|
---|
| 192 | <para>
|
---|
| 193 | If you want to install the Help documentation system, you must have
|
---|
| 194 | <xref linkend="yelp"/> and <xref linkend="rarian"/> installed in order to
|
---|
| 195 | view the Help documents. Unpack the additional tarball, change into the
|
---|
| 196 | <filename class="directory">gnucash-docs-&gnucash-docs-version;</filename>
|
---|
| 197 | source directory and issue the following commands as an unprivileged
|
---|
| 198 | user:
|
---|
| 199 | </para>
|
---|
| 200 |
|
---|
| 201 | <screen><userinput>./configure --prefix=${GNOME_PREFIX} &&
|
---|
[f8625d25] | 202 | make</userinput></screen>
|
---|
| 203 |
|
---|
[a4a52f4] | 204 | <para>
|
---|
| 205 | HTML versions of the Users Guide can be created if the DocBook XML tools
|
---|
| 206 | are installed (<xref linkend="libxslt"/>, <xref linkend="DocBook"/> and
|
---|
| 207 | <xref linkend="docbook-xsl"/>). A PDF version of the Users Guide can be
|
---|
| 208 | created if you have <xref linkend="docbook-utils"/>,
|
---|
| 209 | <xref linkend="jadetex"/> and <xref linkend="fop"/> installed.
|
---|
| 210 | Issue the following commands to create the documentation:
|
---|
| 211 | </para>
|
---|
[3b37f7e8] | 212 |
|
---|
[a4a52f4] | 213 | <screen><userinput>make -C guide html &&
|
---|
[3b37f7e8] | 214 | make -C guide pdf</userinput></screen>
|
---|
| 215 |
|
---|
[a4a52f4] | 216 | <para>
|
---|
| 217 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 218 | </para>
|
---|
[3b37f7e8] | 219 |
|
---|
[a4a52f4] | 220 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[3b37f7e8] | 221 |
|
---|
[a4a52f4] | 222 | <para>
|
---|
| 223 | If you built the Users Guide, install it as the
|
---|
| 224 | <systemitem class="username">root</systemitem> user:
|
---|
| 225 | </para>
|
---|
[50ad401] | 226 |
|
---|
[a4a52f4] | 227 | <screen role="root"><userinput>mkdir -p ${GNOME_PREFIX}/share/doc/gnucash-&gnucash-docs-version; &&
|
---|
| 228 | cp -v -R guide/C/gnucash-guide/* ${GNOME_PREFIX}/share/doc/gnucash-&gnucash-docs-version; &&
|
---|
| 229 | cp -v guide/C/gnucash-guide.pdf ${GNOME_PREFIX}/share/doc/gnucash-&gnucash-docs-version;</userinput></screen>
|
---|
[72b5adb] | 230 | </sect2>
|
---|
| 231 |
|
---|
| 232 | <sect2 role="commands">
|
---|
| 233 | <title>Command Explanations</title>
|
---|
| 234 |
|
---|
[a4a52f4] | 235 | <para>
|
---|
| 236 | <parameter>--sysconfdir=${GNOME_SYSCONFDIR}</parameter>: This installs
|
---|
| 237 | configuration files in
|
---|
| 238 | <filename class="directory">${GNOME_SYSCONFDIR}/gnucash</filename> instead
|
---|
| 239 | of <filename class="directory">/usr/etc/gnucash</filename>.
|
---|
| 240 | </para>
|
---|
| 241 |
|
---|
| 242 | <para>
|
---|
[107c925] | 243 | <command>--with-html-engine=webkit</command>: Use
|
---|
[a4a52f4] | 244 | <xref linkend="webkitgtk"/> (configured <option>--with-gtk=2.0</option>)
|
---|
[107c925] | 245 | instead of gtkhtml : the default is Gtkhtml-3 which does not build on
|
---|
| 246 | current <application>Glib2</application> without various changes, and
|
---|
| 247 | <xref linkend="gtkhtml"/> is not recognised by this application.
|
---|
[a4a52f4] | 248 | </para>
|
---|
| 249 |
|
---|
| 250 | <para>
|
---|
[107c925] | 251 | <command>--disable-dbi</command>: Add this option if you've not installed
|
---|
| 252 | <application>libdbi</application> and one or more of its database drivers.
|
---|
[a4a52f4] | 253 | </para>
|
---|
[72b5adb] | 254 | </sect2>
|
---|
| 255 |
|
---|
| 256 | <sect2 role="configuration">
|
---|
| 257 | <title>Configuring GnuCash</title>
|
---|
| 258 |
|
---|
| 259 | <sect3>
|
---|
| 260 | <title>Configuration Information</title>
|
---|
| 261 |
|
---|
[a4a52f4] | 262 | <para>
|
---|
| 263 | If you wish to use <application>GnuCash</application> to retrieve
|
---|
| 264 | stock price quotes, you'll need to
|
---|
| 265 | install the following <application>Perl</application> modules:
|
---|
| 266 | <xref linkend="perl-lwp"/>, <xref linkend="perl-date-manip"/>,
|
---|
| 267 | <xref linkend="perl-html-parser"/>,
|
---|
| 268 | <xref linkend="perl-html-tableextract"/>,
|
---|
[a6af3ab9] | 269 | <ulink url="http://search.cpan.org/~nanis/Crypt-SSLeay/">
|
---|
| 270 | Crypt::SSLeay</ulink> and
|
---|
[a4a52f4] | 271 | <xref linkend="perl-finance-quote"/>. Alternatively, you can run the
|
---|
| 272 | <command>gnc-fq-update</command> script as the
|
---|
| 273 | <systemitem class="username">root</systemitem> user.
|
---|
| 274 | </para>
|
---|
[72b5adb] | 275 | </sect3>
|
---|
| 276 | </sect2>
|
---|
| 277 |
|
---|
| 278 | <sect2 role="content">
|
---|
| 279 | <title>Contents</title>
|
---|
| 280 |
|
---|
| 281 | <segmentedlist>
|
---|
| 282 | <segtitle>Installed Programs</segtitle>
|
---|
| 283 | <segtitle>Installed Libraries</segtitle>
|
---|
| 284 | <segtitle>Installed Directories</segtitle>
|
---|
| 285 |
|
---|
| 286 | <seglistitem>
|
---|
[a4a52f4] | 287 | <seg>
|
---|
| 288 | gnc-fq-check, gnc-fq-dump, gnc-fq-helper, gnc-fq-update,
|
---|
| 289 | gnucash, gnucash-env, gnucash-make-guids, gnucash-valgrind and
|
---|
| 290 | update-gnucash-gconf
|
---|
| 291 | </seg>
|
---|
| 292 | <seg>
|
---|
| 293 | libgnc-backend-sql.so, libgnc-backend-xml-utils.so,
|
---|
| 294 | libgnc-business-ledger.so,libgnc-core-utils.so, libgnc-gnome.so,
|
---|
| 295 | libgnc-module.so, libgnc-qof.so and numerous support libraries
|
---|
| 296 | installed in <filename class="directory">/usr/lib/gnucash</filename>
|
---|
| 297 | </seg>
|
---|
| 298 | <seg>
|
---|
| 299 | ${GNOME_SYSCONFDIR}/gnucash, ${GNOME_PREFIX}/include/gnucash,
|
---|
| 300 | ${GNOME_PREFIX}/lib/gnucash, ${GNOME_PREFIX}/libexec/gnucash and
|
---|
| 301 | ${GNOME_PREFIX}/share/doc/gnucash-&gnucash-version;.
|
---|
| 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>
|
---|