<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY gnumeric-download-http "&gnome-download-http;/gnumeric/1.12/gnumeric-&gnumeric-version;.tar.xz">
  <!ENTITY gnumeric-download-ftp  "&gnome-download-ftp;/gnumeric/1.12/gnumeric-&gnumeric-version;.tar.xz">
  <!ENTITY gnumeric-md5sum        "d60bad3065348fefe2096a16a9bc11dd">
  <!ENTITY gnumeric-size          "17.6 MB">
  <!ENTITY gnumeric-buildsize     "276 MB (additional 2 MB for the tests)">
  <!ENTITY gnumeric-time          "1.8 SBU (additional 1.5 SBU for the tests)">
]>

<sect1 id="gnumeric" xreflabel="Gnumeric-&gnumeric-version;">
  <?dbhtml filename="gnumeric.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-03-02 22:42:44 -0500 (Mon, 02 Mar 2015) $</date>
  </sect1info>

  <title>Gnumeric-&gnumeric-version;</title>

  <indexterm zone="gnumeric">
    <primary sortas="a-Gnumeric">Gnumeric</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Gnumeric</title>

    <para>
      The <application>Gnumeric</application> package contains a
      spreadsheet program which is useful for mathematical analysis.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&gnumeric-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&gnumeric-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &gnumeric-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &gnumeric-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &gnumeric-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &gnumeric-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Gnumeric Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="goffice010"/> and
      <xref linkend="rarian"/>
    </para>

    <bridgehead renderas="sect4">Recommended Runtime</bridgehead>
    <para role="recommended runtime">
       an icon theme such as <xref linkend="adwaita-icon-theme"/>,
       <xref linkend="oxygen-icons"/> or
       <xref linkend="gnome-icon-theme"/>,
       <xref linkend="x-window-system"/>, and
       <xref linkend="yelp"/> for the buit-in help functionality
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="dconf"/> (to prevent some test failures),
      <xref linkend="gobject-introspection"/>,
      <xref linkend="pygobject3"/>,
      <xref linkend="valgrind"/> (for some tests),
<!--  <xref linkend="guile"/>, Developer: support unmaintained-->
      <ulink url="http://dblatex.sourceforge.net/">dblatex (for PDF docs)</ulink>,
      <ulink url="http://www.gnome-db.org/">libgda</ulink>,
      <ulink url="http://www.mono-project.com/">Mono</ulink>,
      <ulink url="http://pxlib.sourceforge.net/">pxlib</ulink>, and
      <ulink url="http://www.frodol.dds.nl/psiconv/index.html">Psiconv</ulink>
    </para>

<!--  Now in "recommendended runtime deps". Keeping as a comment because it
      is easier to revert
   <note>
      <para>
        Though only a run-time dependency, if you don't install the
        <xref linkend="yelp"/> package, the built-in help functionality in
        <application>Gnumeric</application> will not be available.
      </para>
    </note>
-->
    <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/gnumeric"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Gnumeric</title>

    <para>Install <application>Gnumeric</application> by running the following
    commands:</para>

<screen><userinput>sed -e "s@zz-application/zz-winassoc-xls;@@" -i gnumeric.desktop.in &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>

    <para>
      This package requires to be installed before the test suite is run.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

    <para>
      If you wish to test the results, issue <command>make -k check</command>.
      Tests must be run from an active X session, and <xref linkend="dconf"/>
      should be installed to prevent some failures. Even so, a few tests fail,
      some for known reasons.
    </para>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <command>sed -e "s@zz-application/zz-winassoc-xls;@@" ...</command>: This
      sed removes invalid mime type from the .desktop file.
    </para>

    <para>
      <option>--enable-pdfdocs</option>: Use this switch if you have
      installed dblatex and wish to create PDF docs.
    </para>

  </sect2>


  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          gnumeric (symlink), gnumeric-&gnumeric-version;, ssconvert,
          ssdiff, ssgrep and ssindex
        </seg>
        <seg>
          libspreadsheet-&gnumeric-version;.so, libspreadsheet.so,
          several plugins under /usr/lib/gnumeric/&gnumeric-version;/plugins/,
          and /usr/lib/goffice/0.10/plugins/gnumeric/gnumeric.so
        </seg>
        <seg>
          /usr/include/libspreadsheet-1.12,
          /usr/lib/gnumeric,
          /usr/lib/goffice/0.10/plugins/gnumeric,
          /usr/share/gnome/help/gnumeric,
          /usr/share/gnumeric,
          /usr/share/omf/gnumeric and
          /usr/share/pixmaps/gnumeric
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="gnumeric-prog">
        <term><command>gnumeric</command></term>
        <listitem>
          <para>
            is a symlink to <command>gnumeric-&gnumeric-version;</command>.
          </para>
          <indexterm zone="gnumeric gnumeric-prog">
            <primary sortas="b-gnumeric">gnumeric</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="gnumeric-1">
        <term><command>gnumeric-&gnumeric-version;</command></term>
        <listitem>
          <para>
            is <application>GNOME</application>'s spreadsheet application.
          </para>
          <indexterm zone="gnumeric gnumeric-1">
            <primary sortas="b-gnumeric-&gnumeric-version;">gnumeric-&gnumeric-version;</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="ssconvert">
        <term><command>ssconvert</command></term>
        <listitem>
          <para>
            is a command line utility to convert spreadsheet files
            between various spreadsheet file formats.
          </para>
          <indexterm zone="gnumeric ssconvert">
            <primary sortas="b-ssconvert">ssconvert</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="ssdiff">
        <term><command>ssdiff</command></term>
        <listitem>
          <para>
            is a command line utility to compare two spreadsheets.
          </para>
          <indexterm zone="gnumeric ssdiff">
            <primary sortas="b-ssdiff">ssdiff</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="ssgrep">
        <term><command>ssgrep</command></term>
        <listitem>
          <para>
            is a command line utility to search spreadsheets for strings.
          </para>
          <indexterm zone="gnumeric ssgrep">
            <primary sortas="b-ssgrep">ssindex</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="ssindex">
        <term><command>ssindex</command></term>
        <listitem>
          <para>
            is a command line utility to generate index data for
            spreadsheet files.
          </para>
          <indexterm zone="gnumeric ssindex">
            <primary sortas="b-ssindex">ssindex</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
