r3179 - in trunk: BOOK BOOK/gnome/otherlibs BOOK/introduction/welcome BOOK/xsoft/office patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Mon Jan 3 15:29:39 PST 2005


Author: randy
Date: 2005-01-03 16:29:38 -0700 (Mon, 03 Jan 2005)
New Revision: 3179

Added:
   trunk/patches/Guppi-0.40.3-legend_fix-1.patch
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/gnome/otherlibs/guppi.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/xsoft/office/gnucash.xml
Log:
Updated to GnuCash-1.8.10; added a patch to the Guppi instructions

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-01-03 21:20:07 UTC (rev 3178)
+++ trunk/BOOK/general.ent	2005-01-03 23:29:38 UTC (rev 3179)
@@ -396,7 +396,7 @@
 <!-- Chapter 33 --> 
 <!ENTITY AbiWord-version              "2.2.0">
 <!ENTITY gnumeric-version             "1.4.1"> 
-<!ENTITY gnucash-version              "1.8.9"> 
+<!ENTITY gnucash-version              "1.8.10"> 
 <!ENTITY gimp-version                 "2.0.6"> 
 <!ENTITY evolution-version            "2.0.2">  
 

Modified: trunk/BOOK/gnome/otherlibs/guppi.xml
===================================================================
--- trunk/BOOK/gnome/otherlibs/guppi.xml	2005-01-03 21:20:07 UTC (rev 3178)
+++ trunk/BOOK/gnome/otherlibs/guppi.xml	2005-01-03 23:29:38 UTC (rev 3179)
@@ -43,9 +43,12 @@
 
 <sect3><title>Additional downloads</title>
 <itemizedlist spacing='compact'>
-<listitem><para>Required Patch (if compiled with
-<application><acronym>GCC</acronym></application>-3.4.x): <ulink
+<listitem><para>Required Patch (if compiled with 
+<application><acronym>GCC</acronym></application>-3.4.x): <ulink 
 url="&patch-root;/Guppi-&guppi-version;-gcc34-1.patch"/></para></listitem>
+
+<listitem><para>Required Patch <ulink 
+url="&patch-root;/Guppi-&guppi-version;-legend_fix-1.patch"/></para></listitem>
 </itemizedlist>
 </sect3>
 
@@ -70,6 +73,7 @@
 commands:</para>
 
 <screen><userinput><command>patch -Np1 -i ../Guppi-&guppi-version;-gcc34-1.patch &&
+patch -Np1 -i ../Guppi-&guppi-version;-legend_fix-1.patch &&
 ./configure --prefix=/opt/gnome &&
 make &&
 make install</command></userinput></screen>

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-01-03 21:20:07 UTC (rev 3178)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-01-03 23:29:38 UTC (rev 3179)
@@ -22,6 +22,9 @@
 
 <itemizedlist>
 
+<listitem><para>January 3rd, 2004 [randy]: Updated to GnuCash-1.8.10;
+added a patch to the Guppi instructions.</para></listitem>
+
 <listitem><para>January 3rd, 2004 [larry]: Updated to DocBook-xsl-1.67.2
 and added alternative methods of using other versions.</para></listitem>
 

Modified: trunk/BOOK/xsoft/office/gnucash.xml
===================================================================
--- trunk/BOOK/xsoft/office/gnucash.xml	2005-01-03 21:20:07 UTC (rev 3178)
+++ trunk/BOOK/xsoft/office/gnucash.xml	2005-01-03 23:29:38 UTC (rev 3179)
@@ -6,9 +6,11 @@
 
   <!ENTITY gnucash-download-http "http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-&gnucash-version;.tar.gz">
   <!ENTITY gnucash-download-ftp  "ftp://ftp.at.gnucash.org/pub/gnucash/gnucash/sources/stable/gnucash-&gnucash-version;.tar.gz">
-  <!ENTITY gnucash-size          "7.8 MB">
-  <!ENTITY gnucash-buildsize     "102 MB">
-  <!ENTITY gnucash-time          "2.36 SBU">
+  <!ENTITY gnucash-size          "7.7 MB">
+  <!ENTITY gnucash-buildsize     "108 MB (additional 24 MB for Help documentation)">
+  <!ENTITY gnucash-time          "2.95 SBU">
+  <!ENTITY gnucash-docs-version  "1.8.5">
+  <!ENTITY gnucash-docs-download "http://www.gnucash.org/pub/gnucash/sources/stable/gnucash-docs-&gnucash-docs-version;.tar.gz">
 ]>
 
 <sect1 id="gnucash" xreflabel="GnuCash-&gnucash-version;">
@@ -31,31 +33,52 @@
 <listitem><para>Download (FTP): <ulink
 url="&gnucash-download-ftp;"/></para></listitem>
 <listitem><para>Download size: &gnucash-size;</para></listitem>
-<listitem><para>Estimated Disk space required:
+<listitem><para>Estimated disk space required:
 &gnucash-buildsize;</para></listitem>
 <listitem><para>Estimated build time:
 &gnucash-time;</para></listitem></itemizedlist>
 </sect3>
 
+<sect3><title>Additional download</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Help documentation: 
+<ulink url="&gnucash-docs-download;"/></para></listitem>
+</itemizedlist>
+</sect3>
+
 <sect3><title><application>GnuCash</application> dependencies</title>
-
 <sect4><title>Required</title>
-<para><xref linkend="db"/>, 
+<para><xref linkend="oaf"/>, 
 <xref linkend="gal1"/>, 
 <xref linkend="gtkhtml1"/>, 
-<xref linkend="libghttp"/>, 
-<xref linkend="guppi"/> and 
+<xref linkend="libghttp"/> and 
 <xref linkend="gwrap"/></para>
 </sect4>
 
 <sect4><title>Optional</title>
-<para><ulink url="http://www.graphviz.org/">GraphViz</ulink>, 
+<para><xref linkend="postgresql"/>, 
+<xref linkend="guppi"/>, 
+<xref linkend="scrollkeeper"/>, 
+<ulink url="ftp://ftp.gnu.org/pub/gnu/guile/">Guile-www</ulink>, 
+<xref linkend="perl-modules"/>: 
+(LWP, HTML-Parser, DateManip and Finance-Quote), 
+<ulink url="http://www.graphviz.org/">GraphViz</ulink>, 
 <xref linkend="doxygen"/>, 
-<ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink>, 
-<ulink url="http://openhbci.sourceforge.net/">OpenHBCI</ulink> and 
-<ulink url="http://libofx.sourceforge.net/">LibOFX</ulink></para>
+<ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink></para>
 </sect4>
 
+<sect4><title>Optional (for on-line banking)</title>
+<para><ulink url="http://libofx.sourceforge.net/">LibOFX</ulink>, 
+<ulink url="http://sourceforge.net/projects/ktoblzcheck">KtoBlzCheck</ulink>, 
+<ulink url="http://sourceforge.net/projects/aqhbci">AqHBCI</ulink> 
+(requires 
+<ulink url="http://sourceforge.net/projects/gwenhywfar">Gwenhywfar</ulink> 
+then 
+<ulink url="http://sourceforge.net/projects/aqbanking">AqBanking</ulink>), 
+and also see 
+<ulink url="http://sourceforge.net/projects/libchipcard">libchipcard</ulink>
+</para>
+</sect4>
 </sect3>
 
 </sect2>
@@ -66,24 +89,63 @@
 <para>Install <application>GnuCash</application> by running the following 
 commands:</para>
 
-<screen><userinput><command>./configure --prefix=/opt/gnome &&
+<screen><userinput><command>./configure --prefix=/opt/gnome \
+    --sysconfdir=/etc --disable-guppi \
+    --disable-error-on-warning &&
 make &&
 make install &&
 chown -R root:root /opt/gnome/share/gnucash/doc/html/html</command></userinput></screen>
 
+<para><emphasis>Note:</emphasis> If you run <command>make check</command> 
+before installing the package, you may need to do it as the root user so that 
+the <application>Slib</application> catalog in 
+<filename class='directory'>/usr/share/guile</filename> can be updated.</para>
+
+<para>If you want to install the Help documentation, and you have 
+<xref linkend="scrollkeeper"/> installed, unpack the additional tarball, 
+change into the <application>GnuCash Docs</application> source directory and 
+issue the following commands:</para>
+
+<screen><userinput><command>./configure --prefix=/opt/gnome \
+    --localstatedir=/var/lib &&
+make &&
+make install</command></userinput></screen>
+
 </sect2>
 
 <sect2>
 <title>Command explanations</title>
 
 <para><parameter>--prefix=/opt/gnome</parameter>: 
-<application>GnuCash</application>-&gnucash-version; is a
-<application><acronym>GNOME</acronym></application> 1.4 application.
-</para>
+<application>GnuCash</application>-&gnucash-version; is a 
+<application><acronym>GNOME</acronym></application> 1.4 application.</para>
 
+<para><parameter>--sysconfdir=/etc</parameter>: This installs configuration 
+files in <filename class='directory'>/etc/gnucash</filename> instead of 
+<filename class='directory'>/opt/gnome/etc/gnucash</filename>.</para>
+
+<para><option>--disable-guppi</option>: This compiles 
+<application>GnuCash</application> without support for creating 
+<acronym>GUI</acronym> graphs and plots. Remove this option if you have 
+<application>Guppi</application> installed.</para>
+
+<para><option>--disable-error-on-warning</option>: The build will fail if 
+you used <option>--enable-hbci</option>, as a warning is generated. This 
+option forces the build to ignore the warning.</para>
+
+<para><option>--enable-ofx</option>: This parameter is required if you want 
+to build in on-line banking support using 
+<application>LibOFX</application>.</para>
+
+<para><option>--enable-hbci</option>: This parameter is required if you want 
+to build in on-line banking support using 
+<application>AqBanking</application>/<application>AqHBCI</application>. See 
+<filename>doc/README.HBCI</filename> in the 
+<application>GnuCash</application> source tree for complete information.</para>
+
 <para><command>chown -R root:root /opt/gnome/share/gnucash/doc/html/html</command>: 
-If the package documentation is built by any user other than root, the 
-ownership of the installed files are set incorrectly. This command changes the 
+If the package is built by any user other than root, the ownership of the 
+installed documentation files are set incorrectly. This command changes the 
 ownership to root:root.</para>
 </sect2>
 
@@ -96,8 +158,8 @@
 use. Simply executing <command>gnucash</command> from an 
 <application>X</application> terminal and clicking on the cancel button is 
 sufficient. This must be done prior to setting up accounts as an unprivileged 
-user, due to the fact that <application>GnuCash</application> must create 
-scheme catalogs for itself before it is used.</para></note>
+user, due to the fact that <application>GnuCash</application> must update 
+scheme catalogs before it is used.</para></note>
 
 </sect3>
 

Added: trunk/patches/Guppi-0.40.3-legend_fix-1.patch
===================================================================
--- trunk/patches/Guppi-0.40.3-legend_fix-1.patch	2005-01-03 21:20:07 UTC (rev 3178)
+++ trunk/patches/Guppi-0.40.3-legend_fix-1.patch	2005-01-03 23:29:38 UTC (rev 3179)
@@ -0,0 +1,99 @@
+Submitted By:            BLFS Book <blfs-book at linuxfromscratch.org>
+Date:                    2005-01-03
+Initial Package Version: 0.40.3
+Upstream Status:         Not submitted - package is no longer maintained
+Origin:                  GnuCash-1.8.10 sources
+Description:             Fixes a problem with reversed legends in stacked 
+                         barcharts
+
+$LastChangedBy$
+$Date$
+
+--- Guppi-0.40.3/libguppitank/guppi-object-barchart.c	2003-05-30 21:21:16.000000000 +0200
++++ Guppi-0.40.4/libguppitank/guppi-object-barchart.c	2003-05-30 21:21:26.000000000 +0200
+@@ -410,6 +410,7 @@
+   GuppiElementState *left_axis_state = NULL;
+   GuppiElementState *frame_state = NULL;
+   GuppiColorPalette *color_palette = NULL;
++  GuppiColorPalette *color_palette_legend = NULL;
+   GuppiDataTable *data_table;
+   GnomeFont *font;
+   
+@@ -446,11 +447,13 @@
+   /* FIXME: check for construction of legends. */
+ 
+   if (obar->legend_view && obar->col_labels) {
+-    add_col_labels (obar, data_table, obar->data_cols, obar->col_labels, FALSE);
++    add_col_labels (obar, data_table, obar->data_cols, obar->col_labels, 
++		    obar->legend_reversed);
+   }
+ 
+   if (obar->col_colors) {
+     color_palette = build_bar_colors (obar, FALSE);
++    color_palette_legend = build_bar_colors (obar, obar->legend_reversed);
+   }
+   
+   guppi_element_state_set (barchart_state,
+@@ -497,7 +500,7 @@
+ 
+     guppi_element_state_set (legend_state,
+ 			     "labels", data_table,
+-			     "swatch_colors", color_palette,
++			     "swatch_colors", color_palette_legend,
+ 			     "label_font", font,
+ 			     NULL);
+   }
+@@ -505,6 +508,8 @@
+  
+   /* clean up */
+   
++  guppi_unref (color_palette);
++  guppi_unref (color_palette_legend);
+   guppi_unref (barchart_state);
+   guppi_unref (legend_state);			   
+   guppi_unref (bottom_axis_state);
+@@ -525,6 +530,7 @@
+ 
+   GuppiDataTable *data_table;
+   GuppiColorPalette *color_palette = NULL;
++  GuppiColorPalette *color_palette_legend = NULL;
+ 
+   GuppiElementState *barchart_state;
+   GuppiElementState *legend_state = NULL;
+@@ -560,7 +566,8 @@
+   }
+ 
+   if (obar->col_labels) {
+-    add_col_labels (obar, data_table, obar->data_cols, obar->col_labels, FALSE);
++    add_col_labels (obar, data_table, obar->data_cols, obar->col_labels, 
++		    obar->legend_reversed);
+   }
+ 
+ 
+@@ -568,6 +575,7 @@
+ 
+   if (obar->col_colors) {
+     color_palette = build_bar_colors (obar, FALSE);
++    color_palette_legend = build_bar_colors (obar, obar->legend_reversed);
+   }
+ 
+   barchart_state = guppi_element_state_new ("barchart",
+@@ -620,7 +628,8 @@
+ 
+     legend_state = guppi_element_state_new ("legend",
+ 					    "labels", data_table,
+-					    "swatch_colors", color_palette,
++					    "swatch_colors", 
++					    color_palette_legend,
+ 					    "label_font", font,
+ 					    NULL);
+ 
+@@ -669,6 +678,8 @@
+   /* Clean up after ourselves... */
+ 
+   guppi_unref (data_table);
++  guppi_unref (color_palette);
++  guppi_unref (color_palette_legend);
+ 
+   guppi_unref (barchart_state);
+   guppi_unref (bottom_axis_state);


Property changes on: trunk/patches/Guppi-0.40.3-legend_fix-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list