source: general/genlib/libqalculate.xml@ 07c5bf9c

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since 07c5bf9c was eb8d428, checked in by Xi Ruoyao <xry111@…>, 5 months ago

Remove .la files of gspell and libqalculate

They may cause packages to be linked against icu libraries, increasing
the burden if upgrading ICU to a new major version.

  • Property mode set to 100644
File size: 5.1 KB
Line 
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 " ">
9 <!ENTITY libqalculate-md5sum "c129774b53e2bf1f0488214c99c7171a">
10 <!ENTITY libqalculate-size "2.5 MB">
11 <!ENTITY libqalculate-buildsize "139 MB (with tests)">
12 <!ENTITY libqalculate-time "0.8 SBU (With tests; both using parallelism=4)">
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
30 that provides functions for a multi-purpose calculator.
31 </para>
32
33 &lfs120_checked;
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">
73 <xref linkend="curl"/>,
74 <xref linkend="icu"/>, and
75 <xref linkend="libxml2"/>
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="doxygen"/> and
81 <ulink url="http://www.gnuplot.info/download.html">gnuplot</ulink>
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
94<screen><userinput>./configure --prefix=/usr \
95 --disable-static \
96 --docdir=/usr/share/doc/libqalculate-&libqalculate-version; &amp;&amp;
97make</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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
110 href="../../xincludes/rm-la-file-referring-icu.xml"/>
111
112<screen role="root"><userinput>rm -v /usr/lib/libqalculate.la</userinput></screen>
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
119 href="../../xincludes/static-libraries.xml"/>
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Programs</segtitle>
127 <segtitle>Installed Library</segtitle>
128 <segtitle>Installed Directories</segtitle>
129
130 <seglistitem>
131 <seg>
132 qalc
133 </seg>
134 <seg>
135 libqalculate.so
136 </seg>
137 <seg>
138 /usr/include/libqalculate,
139 /usr/share/doc/libqalculate-&libqalculate-version;, and
140 /usr/share/qalculate
141 </seg>
142 </seglistitem>
143 </segmentedlist>
144
145 <variablelist>
146 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
147 <?dbfo list-presentation="list"?>
148 <?dbhtml list-presentation="table"?>
149
150 <varlistentry id="qalc">
151 <term><command>qalc</command></term>
152 <listitem>
153 <para>
154 is a powerful and easy to use command line calculator
155 </para>
156 <indexterm zone="libqalculate qalc">
157 <primary sortas="b-qalc">qalc</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 <varlistentry id="libqalculate.so">
163 <term><filename class="libraryfile">libqalculate.so</filename></term>
164 <listitem>
165 <para>
166 contains the <application>libqalculate</application> API functions
167 </para>
168 <indexterm zone="libqalculate libqalculate.so">
169 <primary sortas="c-libqalculate">libqalculate.so</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.