2012-08-25 23:08:32 +08:00
|
|
|
<?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;
|
|
|
|
|
2013-07-29 23:03:33 +08:00
|
|
|
<!ENTITY gnome-calculator-download-http
|
2017-05-08 05:14:37 +08:00
|
|
|
"&gnome-download-http;/gnome-calculator/&gnome-minor-24;/gnome-calculator-&gnome-calculator-version;.tar.xz">
|
2013-07-29 23:03:33 +08:00
|
|
|
<!ENTITY gnome-calculator-download-ftp
|
2017-05-08 05:14:37 +08:00
|
|
|
"&gnome-download-ftp;/gnome-calculator/&gnome-minor-24;/gnome-calculator-&gnome-calculator-version;.tar.xz">
|
|
|
|
<!ENTITY gnome-calculator-md5sum "32a06b7edc33f7e95a0e7818769a729f">
|
2016-08-18 13:47:58 +08:00
|
|
|
<!ENTITY gnome-calculator-size "1.3 MB">
|
2017-05-08 05:14:37 +08:00
|
|
|
<!ENTITY gnome-calculator-buildsize "53 MB (with tests)">
|
2015-10-29 03:45:14 +08:00
|
|
|
<!ENTITY gnome-calculator-time "0.4 SBU (with tests)">
|
2012-08-25 23:08:32 +08:00
|
|
|
]>
|
|
|
|
|
2013-07-29 23:03:33 +08:00
|
|
|
<sect1 id="gnome-calculator" xreflabel="gnome-calculator-&gnome-calculator-version;">
|
|
|
|
<?dbhtml filename="gnome-calculator.html"?>
|
2012-08-25 23:08:32 +08:00
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
2013-07-29 23:03:33 +08:00
|
|
|
<title>gnome-calculator-&gnome-calculator-version;</title>
|
2012-08-25 23:08:32 +08:00
|
|
|
|
2013-07-29 23:03:33 +08:00
|
|
|
<indexterm zone="gnome-calculator">
|
|
|
|
<primary sortas="a-gnome-calculator">gnome-calculator</primary>
|
2012-08-25 23:08:32 +08:00
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2013-07-29 23:03:33 +08:00
|
|
|
<title>Introduction to GNOME Calculator</title>
|
2012-08-25 23:08:32 +08:00
|
|
|
|
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
<application>GNOME Calculator</application> is a powerful graphical
|
2012-08-25 23:08:32 +08:00
|
|
|
calculator with financial, logical and scientific modes. It uses a
|
|
|
|
multiple precision package to do its arithmetic to give a high degree
|
|
|
|
of accuracy.
|
|
|
|
</para>
|
|
|
|
|
2017-02-22 03:59:18 +08:00
|
|
|
&lfs80_checked;
|
2012-08-25 23:08:32 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
Download (HTTP): <ulink url="&gnome-calculator-download-http;"/>
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
Download (FTP): <ulink url="&gnome-calculator-download-ftp;"/>
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
Download MD5 sum: &gnome-calculator-md5sum;
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
Download size: &gnome-calculator-size;
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
Estimated disk space required: &gnome-calculator-buildsize;
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
Estimated build time: &gnome-calculator-time;
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
2016-09-27 08:02:01 +08:00
|
|
|
<!-- Not needed as of 3.22.0 - but keeping just in case.
|
2016-08-30 14:02:26 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required file:
|
|
|
|
<ulink url="&sources-anduin-http;/other/history-view.ui"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Required file:
|
|
|
|
<ulink url="&sources-anduin-http;/other/history-entry.ui"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2016-09-27 08:02:01 +08:00
|
|
|
-->
|
2016-08-30 14:02:26 +08:00
|
|
|
|
2013-07-29 23:03:33 +08:00
|
|
|
<bridgehead renderas="sect3">GNOME Calculator Dependencies</bridgehead>
|
2012-08-25 23:08:32 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2016-08-18 13:47:58 +08:00
|
|
|
<xref linkend="gtk3"/>,
|
|
|
|
<xref linkend="gtksourceview"/>, and
|
2014-10-02 20:13:41 +08:00
|
|
|
<xref linkend="itstool"/>
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
|
2013-07-29 23:03:33 +08:00
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="vala"/>
|
|
|
|
</para>
|
|
|
|
|
2012-08-25 23:08:32 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
2013-07-29 23:03:33 +08:00
|
|
|
<ulink url="&blfs-wiki;/gnome-calculator"/>
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2013-07-29 23:03:33 +08:00
|
|
|
<title>Installation of GNOME Calculator</title>
|
2012-08-25 23:08:32 +08:00
|
|
|
|
2016-09-27 08:02:01 +08:00
|
|
|
<!--
|
2016-08-30 14:02:26 +08:00
|
|
|
<para>
|
|
|
|
First, copy the files that were downloaded earlier into the proper
|
|
|
|
directory, since <application>GNOME Calculator</application>'s tarball
|
|
|
|
does not have them.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>cp -v ../history-{entry,view}.ui data/</userinput></screen>
|
2016-09-27 08:02:01 +08:00
|
|
|
-->
|
2016-08-30 14:02:26 +08:00
|
|
|
|
2012-08-25 23:08:32 +08:00
|
|
|
<para>
|
2013-07-29 23:03:33 +08:00
|
|
|
Install <application>GNOME Calculator</application> by running
|
|
|
|
the following commands:
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
|
2015-10-29 03:45:14 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
2012-08-25 23:08:32 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
2015-03-30 03:01:57 +08:00
|
|
|
To test the results, issue: <command>make check</command>. In 32bit
|
|
|
|
systems, Number.float and Number.double tests might fail due to floating
|
2017-05-08 05:14:37 +08:00
|
|
|
point round off errors, most likely in 32 bit systems.
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2015-10-29 03:45:14 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanation</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2012-08-25 23:08:32 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2015-10-29 03:45:14 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2012-08-25 23:08:32 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
2013-07-29 23:03:33 +08:00
|
|
|
gcalccmd and gnome-calculator
|
2012-08-25 23:08:32 +08:00
|
|
|
</seg>
|
2013-01-26 00:32:25 +08:00
|
|
|
<seg>
|
2015-10-29 03:45:14 +08:00
|
|
|
libcalculator.so
|
2013-01-26 00:32:25 +08:00
|
|
|
</seg>
|
2012-08-25 23:08:32 +08:00
|
|
|
<seg>
|
2015-11-16 06:34:56 +08:00
|
|
|
/usr/{lib,share/help/*}/gnome-calculator
|
2012-08-25 23:08:32 +08:00
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
2013-07-29 23:03:33 +08:00
|
|
|
<varlistentry id="gnome-calculator-prog">
|
|
|
|
<term><command>gnome-calculator</command></term>
|
2012-08-25 23:08:32 +08:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is the official calculator of the
|
|
|
|
<application>GNOME</application> Desktop.
|
|
|
|
</para>
|
2013-07-29 23:03:33 +08:00
|
|
|
<indexterm zone="gnome-calculator gnome-calculator-prog">
|
|
|
|
<primary sortas="b-gnome-calculator">gnome-calculator</primary>
|
2012-08-25 23:08:32 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="gcalccmd">
|
|
|
|
<term><command>gcalccmd</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a command line version of
|
2013-07-29 23:03:33 +08:00
|
|
|
<application>gnome-calculator</application>.
|
2012-08-25 23:08:32 +08:00
|
|
|
</para>
|
2013-07-29 23:03:33 +08:00
|
|
|
<indexterm zone="gnome-calculator gcalccmd">
|
2012-08-25 23:08:32 +08:00
|
|
|
<primary sortas="b-gcalccmd">gcalccmd</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|