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 |
|
---|
7 | <!ENTITY gnome-calculator-download-http
|
---|
8 | "&gnome-download-http;/gnome-calculator/&gnome-minor-34;/gnome-calculator-&gnome-calculator-version;.tar.xz">
|
---|
9 | <!ENTITY gnome-calculator-download-ftp
|
---|
10 | "&gnome-download-ftp;/gnome-calculator/&gnome-minor-34;/gnome-calculator-&gnome-calculator-version;.tar.xz">
|
---|
11 | <!ENTITY gnome-calculator-md5sum "9157b93a3f41fdad80df26c062b95c7b">
|
---|
12 | <!ENTITY gnome-calculator-size "944 KB">
|
---|
13 | <!ENTITY gnome-calculator-buildsize "40 MB (with tests)">
|
---|
14 | <!ENTITY gnome-calculator-time "0.2 SBU (with tests)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="gnome-calculator" xreflabel="gnome-calculator-&gnome-calculator-version;">
|
---|
18 | <?dbhtml filename="gnome-calculator.html"?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>gnome-calculator-&gnome-calculator-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="gnome-calculator">
|
---|
28 | <primary sortas="a-gnome-calculator">gnome-calculator</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to GNOME Calculator</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | <application>GNOME Calculator</application> is a powerful graphical
|
---|
36 | calculator with financial, logical and scientific modes. It uses a
|
---|
37 | multiple precision package to do its arithmetic to give a high degree
|
---|
38 | of accuracy.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | &lfs91_checked;
|
---|
42 |
|
---|
43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
44 | <itemizedlist spacing="compact">
|
---|
45 | <listitem>
|
---|
46 | <para>
|
---|
47 | Download (HTTP): <ulink url="&gnome-calculator-download-http;"/>
|
---|
48 | </para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (FTP): <ulink url="&gnome-calculator-download-ftp;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download MD5 sum: &gnome-calculator-md5sum;
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download size: &gnome-calculator-size;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Estimated disk space required: &gnome-calculator-buildsize;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated build time: &gnome-calculator-time;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | </itemizedlist>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect3">GNOME Calculator Dependencies</bridgehead>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
80 | <para role="required">
|
---|
81 | <xref linkend="gtk3"/>,
|
---|
82 | <xref linkend="gtksourceview4"/>,
|
---|
83 | <xref linkend="itstool"/>,
|
---|
84 | <xref linkend="libgee"/>, and
|
---|
85 | <xref linkend="libsoup"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
89 | <para role="recommended">
|
---|
90 | <xref linkend="vala"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <para condition="html" role="usernotes">User Notes:
|
---|
94 | <ulink url="&blfs-wiki;/gnome-calculator"/>
|
---|
95 | </para>
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="installation">
|
---|
99 | <title>Installation of GNOME Calculator</title>
|
---|
100 |
|
---|
101 | <!-- Should not be needed with next version -->
|
---|
102 | <!-- <para>
|
---|
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)/' \
|
---|
108 | -i lib/equation-parser.vala</userinput></screen> -->
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Install <application>GNOME Calculator</application> by running
|
---|
112 | the following commands:
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <screen><userinput>mkdir build &&
|
---|
116 | cd build &&
|
---|
117 |
|
---|
118 | meson --prefix=/usr .. &&
|
---|
119 | ninja</userinput></screen>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | To test the results, issue: <command>ninja test</command>.
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
127 | </para>
|
---|
128 |
|
---|
129 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
130 |
|
---|
131 | </sect2>
|
---|
132 |
|
---|
133 | <sect2 role="content">
|
---|
134 | <title>Contents</title>
|
---|
135 |
|
---|
136 | <segmentedlist>
|
---|
137 | <segtitle>Installed Programs</segtitle>
|
---|
138 | <segtitle>Installed Library</segtitle>
|
---|
139 | <segtitle>Installed Directories</segtitle>
|
---|
140 |
|
---|
141 | <seglistitem>
|
---|
142 | <seg>
|
---|
143 | gcalccmd and gnome-calculator
|
---|
144 | </seg>
|
---|
145 | <seg>
|
---|
146 | None
|
---|
147 | </seg>
|
---|
148 | <seg>
|
---|
149 | /usr/share/help/*/gnome-calculator
|
---|
150 | </seg>
|
---|
151 | </seglistitem>
|
---|
152 | </segmentedlist>
|
---|
153 |
|
---|
154 | <variablelist>
|
---|
155 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
156 | <?dbfo list-presentation="list"?>
|
---|
157 | <?dbhtml list-presentation="table"?>
|
---|
158 |
|
---|
159 | <varlistentry id="gnome-calculator-prog">
|
---|
160 | <term><command>gnome-calculator</command></term>
|
---|
161 | <listitem>
|
---|
162 | <para>
|
---|
163 | is the official calculator of the
|
---|
164 | <application>GNOME</application> Desktop.
|
---|
165 | </para>
|
---|
166 | <indexterm zone="gnome-calculator gnome-calculator-prog">
|
---|
167 | <primary sortas="b-gnome-calculator">gnome-calculator</primary>
|
---|
168 | </indexterm>
|
---|
169 | </listitem>
|
---|
170 | </varlistentry>
|
---|
171 |
|
---|
172 | <varlistentry id="gcalccmd">
|
---|
173 | <term><command>gcalccmd</command></term>
|
---|
174 | <listitem>
|
---|
175 | <para>
|
---|
176 | is a command line version of
|
---|
177 | <application>gnome-calculator</application>.
|
---|
178 | </para>
|
---|
179 | <indexterm zone="gnome-calculator gcalccmd">
|
---|
180 | <primary sortas="b-gcalccmd">gcalccmd</primary>
|
---|
181 | </indexterm>
|
---|
182 | </listitem>
|
---|
183 | </varlistentry>
|
---|
184 |
|
---|
185 | </variablelist>
|
---|
186 |
|
---|
187 | </sect2>
|
---|
188 |
|
---|
189 | </sect1>
|
---|