[f36ab176] | 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 |
|
---|
[769728eb] | 7 | <!-- Normally, the "a" after version shouldn't be needed except for 4.5.0 -->
|
---|
[1ca0cbf] | 8 | <!ENTITY libqalculate-download-http "https://github.com/Qalculate/libqalculate/releases/download/v&libqalculate-version;/libqalculate-&libqalculate-version;.tar.gz">
|
---|
[f36ab176] | 9 | <!ENTITY libqalculate-download-ftp " ">
|
---|
[35025e3e] | 10 | <!ENTITY libqalculate-md5sum "7fcad72cb9779afc14fecdf0a0dcc9f1">
|
---|
[31f2b59f] | 11 | <!ENTITY libqalculate-size "2.5 MB">
|
---|
[e22dbdc] | 12 | <!ENTITY libqalculate-buildsize "140 MB (with tests)">
|
---|
[35025e3e] | 13 | <!ENTITY libqalculate-time "0.7 SBU (With tests; both using parallelism=4)">
|
---|
[f36ab176] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libqalculate" xreflabel="libqalculate-&libqalculate-version;">
|
---|
| 17 | <?dbhtml filename="libqalculate.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>libqalculate-&libqalculate-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="libqalculate">
|
---|
| 23 | <primary sortas="a-libqalculate">libqalculate</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to libqalculate</title>
|
---|
| 28 |
|
---|
| 29 | <para>
|
---|
| 30 | The <application>libqalculate</application> package contains a library
|
---|
[17817c8] | 31 | that provides functions for a multi-purpose calculator.
|
---|
[f36ab176] | 32 | </para>
|
---|
| 33 |
|
---|
[6aa631b] | 34 | &lfs120_checked;
|
---|
[f36ab176] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&libqalculate-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&libqalculate-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &libqalculate-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &libqalculate-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &libqalculate-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &libqalculate-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">libqalculate Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
[67cd226] | 74 | <xref linkend="curl"/>,
|
---|
| 75 | <xref linkend="icu"/>, and
|
---|
[f36ab176] | 76 | <xref linkend="libxml2"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 80 | <para role="optional">
|
---|
[7a9a7b26] | 81 | <xref linkend="doxygen"/>
|
---|
[f36ab176] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of libqalculate</title>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Install <application>libqalculate</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
[7b459c22] | 94 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 95 | --disable-static \
|
---|
| 96 | --docdir=/usr/share/doc/libqalculate-&libqalculate-version; &&
|
---|
[f36ab176] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | To test the results, issue: <command>make check</command>.
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
| 114 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 115 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Programs</segtitle>
|
---|
| 123 | <segtitle>Installed Library</segtitle>
|
---|
| 124 | <segtitle>Installed Directories</segtitle>
|
---|
| 125 |
|
---|
| 126 | <seglistitem>
|
---|
| 127 | <seg>
|
---|
| 128 | qalc
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | libqalculate.so
|
---|
| 132 | </seg>
|
---|
| 133 | <seg>
|
---|
[72d2b98] | 134 | /usr/include/libqalculate,
|
---|
| 135 | /usr/share/doc/libqalculate-&libqalculate-version;, and
|
---|
[f36ab176] | 136 | /usr/share/qalculate
|
---|
| 137 | </seg>
|
---|
| 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | <variablelist>
|
---|
| 142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 143 | <?dbfo list-presentation="list"?>
|
---|
| 144 | <?dbhtml list-presentation="table"?>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="qalc">
|
---|
| 147 | <term><command>qalc</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>
|
---|
| 150 | is a powerful and easy to use command line calculator
|
---|
| 151 | </para>
|
---|
| 152 | <indexterm zone="libqalculate qalc">
|
---|
| 153 | <primary sortas="b-qalc">qalc</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="libqalculate.so">
|
---|
| 159 | <term><filename class="libraryfile">libqalculate.so</filename></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>
|
---|
| 162 | contains the <application>libqalculate</application> API functions
|
---|
| 163 | </para>
|
---|
| 164 | <indexterm zone="libqalculate libqalculate.so">
|
---|
| 165 | <primary sortas="c-libqalculate">libqalculate.so</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | </variablelist>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | </sect1>
|
---|