[3bef2f0] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[ba056d7] | 7 | <!ENTITY gnome-calculator-download-http
|
---|
[b5db2361] | 8 | "&gnome-download-http;/gnome-calculator/&gnome-41;/gnome-calculator-&gnome-calculator-version;.tar.xz">
|
---|
[ba056d7] | 9 | <!ENTITY gnome-calculator-download-ftp
|
---|
[b5db2361] | 10 | "&gnome-download-ftp;/gnome-calculator/&gnome-41;/gnome-calculator-&gnome-calculator-version;.tar.xz">
|
---|
| 11 | <!ENTITY gnome-calculator-md5sum "178dc6909ee18644cb06a4164ac936c9">
|
---|
| 12 | <!ENTITY gnome-calculator-size "1.0 MB">
|
---|
| 13 | <!ENTITY gnome-calculator-buildsize "45 MB (with tests)">
|
---|
[4d366e4] | 14 | <!ENTITY gnome-calculator-time "0.4 SBU (with tests)">
|
---|
[3bef2f0] | 15 | ]>
|
---|
| 16 |
|
---|
[ba056d7] | 17 | <sect1 id="gnome-calculator" xreflabel="gnome-calculator-&gnome-calculator-version;">
|
---|
| 18 | <?dbhtml filename="gnome-calculator.html"?>
|
---|
[3bef2f0] | 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
[ba056d7] | 24 | <title>gnome-calculator-&gnome-calculator-version;</title>
|
---|
[3bef2f0] | 25 |
|
---|
[ba056d7] | 26 | <indexterm zone="gnome-calculator">
|
---|
| 27 | <primary sortas="a-gnome-calculator">gnome-calculator</primary>
|
---|
[3bef2f0] | 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[ba056d7] | 31 | <title>Introduction to GNOME Calculator</title>
|
---|
[3bef2f0] | 32 |
|
---|
| 33 | <para>
|
---|
[ba056d7] | 34 | <application>GNOME Calculator</application> is a powerful graphical
|
---|
[3bef2f0] | 35 | calculator with financial, logical and scientific modes. It uses a
|
---|
| 36 | multiple precision package to do its arithmetic to give a high degree
|
---|
| 37 | of accuracy.
|
---|
| 38 | </para>
|
---|
| 39 |
|
---|
[0755478b] | 40 | &lfs111_checked;
|
---|
[3bef2f0] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
[ba056d7] | 46 | Download (HTTP): <ulink url="&gnome-calculator-download-http;"/>
|
---|
[3bef2f0] | 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
[ba056d7] | 51 | Download (FTP): <ulink url="&gnome-calculator-download-ftp;"/>
|
---|
[3bef2f0] | 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
[ba056d7] | 56 | Download MD5 sum: &gnome-calculator-md5sum;
|
---|
[3bef2f0] | 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
[ba056d7] | 61 | Download size: &gnome-calculator-size;
|
---|
[3bef2f0] | 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
[ba056d7] | 66 | Estimated disk space required: &gnome-calculator-buildsize;
|
---|
[3bef2f0] | 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>
|
---|
[ba056d7] | 71 | Estimated build time: &gnome-calculator-time;
|
---|
[3bef2f0] | 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[ba056d7] | 76 | <bridgehead renderas="sect3">GNOME Calculator Dependencies</bridgehead>
|
---|
[3bef2f0] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
[89e01c0] | 80 | <xref linkend="gtk3"/>,
|
---|
[8558044] | 81 | <xref linkend="gtksourceview4"/>,
|
---|
| 82 | <xref linkend="itstool"/>,
|
---|
[eb305e7b] | 83 | <xref linkend="libgee"/>,
|
---|
| 84 | <xref linkend="libhandy1"/>, and
|
---|
[ddea44e] | 85 | <xref linkend="libsoup"/>
|
---|
[3bef2f0] | 86 | </para>
|
---|
| 87 |
|
---|
[ba056d7] | 88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 89 | <para role="recommended">
|
---|
| 90 | <xref linkend="vala"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[3bef2f0] | 93 | <para condition="html" role="usernotes">User Notes:
|
---|
[ba056d7] | 94 | <ulink url="&blfs-wiki;/gnome-calculator"/>
|
---|
[3bef2f0] | 95 | </para>
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="installation">
|
---|
[ba056d7] | 99 | <title>Installation of GNOME Calculator</title>
|
---|
[3bef2f0] | 100 |
|
---|
[118b201] | 101 | <!-- Should not be needed with next version -->
|
---|
[e714d96] | 102 | <!-- <para>
|
---|
[118b201] | 103 | First apply an upstream fix to prevent a type mismatch flagged as an
|
---|
| 104 | error by vala-0.44.x:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>sed -e 's/token_list\.copy()/token_list.copy_deep((CopyFunc) Object.ref)/' \
|
---|
[e714d96] | 108 | -i lib/equation-parser.vala</userinput></screen> -->
|
---|
[118b201] | 109 |
|
---|
[3bef2f0] | 110 | <para>
|
---|
[ba056d7] | 111 | Install <application>GNOME Calculator</application> by running
|
---|
| 112 | the following commands:
|
---|
[3bef2f0] | 113 | </para>
|
---|
| 114 |
|
---|
[db1b990] | 115 | <screen><userinput>mkdir build &&
|
---|
| 116 | cd build &&
|
---|
| 117 |
|
---|
[b9fc02a] | 118 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[db1b990] | 119 | ninja</userinput></screen>
|
---|
[3bef2f0] | 120 |
|
---|
| 121 | <para>
|
---|
[2db2e382] | 122 | To test the results, issue: <command>ninja test</command>.
|
---|
[3bef2f0] | 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
[db1b990] | 129 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[3bef2f0] | 130 |
|
---|
| 131 | </sect2>
|
---|
[a78d8510] | 132 |
|
---|
[3bef2f0] | 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
[a78d8510] | 138 | <segtitle>Installed Library</segtitle>
|
---|
[3bef2f0] | 139 | <segtitle>Installed Directories</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
| 142 | <seg>
|
---|
[ba056d7] | 143 | gcalccmd and gnome-calculator
|
---|
[3bef2f0] | 144 | </seg>
|
---|
[c3c56b2] | 145 | <seg>
|
---|
[a761478] | 146 | libgcalc-2.so and libgci-1.so
|
---|
[c3c56b2] | 147 | </seg>
|
---|
[3bef2f0] | 148 | <seg>
|
---|
[a761478] | 149 | /usr/include/gcalc-2,
|
---|
[eb305e7b] | 150 | /usr/include/gci-2,
|
---|
| 151 | /usr/share/devhelp/books/{GCalc-2,GCi-1}, and
|
---|
[3ffdac24] | 152 | /usr/share/help/*/gnome-calculator
|
---|
[3bef2f0] | 153 | </seg>
|
---|
| 154 | </seglistitem>
|
---|
| 155 | </segmentedlist>
|
---|
| 156 |
|
---|
| 157 | <variablelist>
|
---|
| 158 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 159 | <?dbfo list-presentation="list"?>
|
---|
| 160 | <?dbhtml list-presentation="table"?>
|
---|
| 161 |
|
---|
[ba056d7] | 162 | <varlistentry id="gnome-calculator-prog">
|
---|
| 163 | <term><command>gnome-calculator</command></term>
|
---|
[3bef2f0] | 164 | <listitem>
|
---|
| 165 | <para>
|
---|
| 166 | is the official calculator of the
|
---|
[4c24eb0a] | 167 | <application>GNOME</application> Desktop
|
---|
[3bef2f0] | 168 | </para>
|
---|
[ba056d7] | 169 | <indexterm zone="gnome-calculator gnome-calculator-prog">
|
---|
| 170 | <primary sortas="b-gnome-calculator">gnome-calculator</primary>
|
---|
[3bef2f0] | 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="gcalccmd">
|
---|
| 176 | <term><command>gcalccmd</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
| 179 | is a command line version of
|
---|
[4c24eb0a] | 180 | <application>gnome-calculator</application>
|
---|
[3bef2f0] | 181 | </para>
|
---|
[ba056d7] | 182 | <indexterm zone="gnome-calculator gcalccmd">
|
---|
[3bef2f0] | 183 | <primary sortas="b-gcalccmd">gcalccmd</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|