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