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