source: general/genlib/libical.xml@ 481fd21

10.1 11.0 11.1 11.2 lazarus plabs/python-mods qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since 481fd21 was 481fd21, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to icu4c-68_1-src.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23849 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.4 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 libical-download-http "https://github.com/libical/libical/releases/download/v&libical-version;/libical-&libical-version;.tar.gz">
8 <!ENTITY libical-download-ftp " ">
9 <!ENTITY libical-md5sum "41bd1f1fcdcb4779cea478bb55cf07bf">
10 <!ENTITY libical-size "864 KB">
11 <!ENTITY libical-buildsize "21 MB (with tests)">
12 <!ENTITY libical-time "0.2 SBU (Using parallelism=4; with tests)">
13]>
14
15<sect1 id="libical" xreflabel="libical-&libical-version;">
16 <?dbhtml filename="libical.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libical-&libical-version;</title>
24
25 <indexterm zone="libical">
26 <primary sortas="a-libical">libical</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libical</title>
31
32 <para>
33 The <application>libical</application> package contains an implementation
34 of the iCalendar protocols and data formats.
35 </para>
36
37 &lfs10_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&libical-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&libical-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &libical-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &libical-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &libical-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &libical-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">libical Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="cmake"/>
79 </para>
80
81 <bridgehead renderas="sect4">Recommended</bridgehead>
82 <para role="recommended">
83 <xref linkend="gobject-introspection"/> and
84 <xref linkend="vala"/>(both required for Gnome)
85 </para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="db"/>,
90 <xref linkend="doxygen"/> (for the API documentation),
91 <xref linkend="icu"/>, and
92 <xref linkend="pygobject3"/> (for some tests)
93 </para>
94
95 <para condition="html" role="usernotes">User Notes:
96 <ulink url="&blfs-wiki;/libical"/>
97 </para>
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of libical</title>
102
103 <para>First make some fixes for the latest versions of icu and Python:</para>
104
105<screen><userinput>sed -i '/define LEAP_MONTH/a #define FALSE 0' src/libical/icalrecur.c &amp;&amp;
106sed -i 's/array/arraytest/' src/test/libical-glib/CMakeLists.txt &amp;&amp;
107mv src/test/libical-glib/array.py src/test/libical-glib/arraytest.py</userinput></screen>
108
109 <para>
110 Install <application>libical</application> by running the
111 following commands:
112 </para>
113
114 <!-- Needs confirmation, but I got a race condition at -j8,
115 -j1 allowed the build to pass. Pierre 2019-12-06
116 I always have it actually. Hence the entity.-->
117 &parallel_issues;
118<screen><userinput>mkdir build &amp;&amp;
119cd build &amp;&amp;
120
121cmake -DCMAKE_INSTALL_PREFIX=/usr \
122 -DCMAKE_BUILD_TYPE=Release \
123 -DSHARED_ONLY=yes \
124 -DICAL_BUILD_DOCS=false \
125 -DGOBJECT_INTROSPECTION=true \
126 -DICAL_GLIB_VAPI=true \
127 .. &amp;&amp;
128make</userinput></screen>
129<!-- DEVS: the ICAL_BUILD_DOCS=false switch is needed because gtk-doc-1.30 is
130 broken. Unfortunately, it also prevents running make docs. When gtk-doc
131 is fixed, remove the switch and uncomment this.
132 <para>
133 If you have <xref linkend="doxygen"/> installed and wish to build the API
134 documentation, issue:
135 </para>
136
137<screen remap="doc"><userinput>make docs</userinput></screen>
138-->
139 <para>
140 To test the results, issue: <command>make test</command>.
141 <!-- One test, timezones, is known to fail on SysV systems. -->
142 <!-- On systemd, we symlink the current timezone to
143 /etc/localtime, which is what libical expects.
144 This is now done on SysV as well.-->
145 </para>
146
147 <para>
148 Now, as the <systemitem class="username">root</systemitem> user:
149 </para>
150
151<screen role="root"><userinput>make install</userinput></screen>
152<!-- see above:
153 <para>
154 If you have built the API documentation, install by issuing, as
155 <systemitem class="username">root</systemitem> user:
156 </para>
157
158<screen role="root"
159 remap="doc"><userinput>install -vdm755 /usr/share/doc/libical-&libical-version;/html &amp;&amp;
160cp -vr apidocs/html/* /usr/share/doc/libical-&libical-version;/html</userinput></screen>
161-->
162 </sect2>
163
164 <sect2 role="commands">
165 <title>Command Explanations</title>
166
167 <para>
168 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
169 to apply higher level of the compiler optimizations.
170 </para>
171
172 <para>
173 <parameter>-DSHARED_ONLY=yes</parameter>: This switch is used
174 in order to only build the shared libraries.
175 </para>
176
177 <para>
178 <parameter>-DICAL_BUILD_DOCS=false</parameter>: This switch prevents
179 building the <application>GTK</application> documentation, because
180 gtk-doc-1.30 is broken. Unfortunately, it also prevents building the
181 API documentation.
182 </para>
183
184 <para>
185 <parameter>-DGOBJECT_INTROSPECTION=true</parameter>: This switch is used
186 to generate GObject metadata bindings.
187 </para>
188
189 <para>
190 <parameter>-DICAL_GLIB_VAPI=true</parameter>: This switch is used
191 in order to build bindings for <xref linkend="vala"/>.
192 </para>
193
194 <para>
195 <option>-DUSE_BUILTIN_TZDATA=yes</option>: This switch is used
196 in order to build using your own timezone data.
197 </para>
198
199 <!-- No CMake equivalents
200 <para>
201 <parameter>- -enable-cxx</parameter>: This switch enables
202 <application>libical</application> C++ library.
203 </para>
204
205 <para>
206 <option>- -enable-python</option>: This switch enables
207 <application>libical</application> Python bindings.
208 </para> -->
209
210 </sect2>
211
212 <sect2 role="content">
213 <title>Contents</title>
214
215 <segmentedlist>
216 <segtitle>Installed Programs</segtitle>
217 <segtitle>Installed Libraries</segtitle>
218 <segtitle>Installed Directory</segtitle>
219
220 <seglistitem>
221 <seg>
222 None
223 </seg>
224 <seg>
225 libical_cxx.so, libical.so, libicalss_cxx.so, libicalss.so,
226 and libicalvcal.so
227 </seg>
228 <seg>
229 /usr/include/libical, /usr/lib/cmake/LibIcal and
230 /usr/share/doc/libical-&libical-version;/html
231 </seg>
232 </seglistitem>
233 </segmentedlist>
234
235 <variablelist>
236 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
237 <?dbfo list-presentation="list"?>
238 <?dbhtml list-presentation="table"?>
239
240 <varlistentry id="libical-lib">
241 <term><filename class="libraryfile">libical.so</filename></term>
242 <listitem>
243 <para>
244 contains the <application>libical</application> API
245 functions.
246 </para>
247 <indexterm zone="libical libical-lib">
248 <primary sortas="c-libical">libical.so</primary>
249 </indexterm>
250 </listitem>
251 </varlistentry>
252
253 <varlistentry id="libical_cxx-lib">
254 <term><filename class="libraryfile">libical_cxx.so</filename></term>
255 <listitem>
256 <para>
257 contains the <application>libical</application> C++ bindings.
258 </para>
259 <indexterm zone="libical libical_cxx-lib">
260 <primary sortas="c-libical_cxx">libical_cxx.so</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="libicalss">
266 <term><filename class="libraryfile">libicalss.so</filename></term>
267 <listitem>
268 <para>
269 is a library that allows you to store iCal component data
270 to disk in a variety of ways.
271 </para>
272 <indexterm zone="libical libicalss">
273 <primary sortas="c-libicalss">libicalss.so</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="libicalss_cxx">
279 <term><filename class="libraryfile">libicalss_cxx.so</filename></term>
280 <listitem>
281 <para>
282 contains the <application>libicalss</application> C++
283 bindings.
284 </para>
285 <indexterm zone="libical libicalss_cxx">
286 <primary sortas="c-libicalss_cxx">libicalss_cxx.so</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 <varlistentry id="libicalvcal">
292 <term><filename class="libraryfile">libicalvcal.so</filename></term>
293 <listitem>
294 <para>
295 is a vCard/vCalendar C interface.
296 </para>
297 <indexterm zone="libical libicalvcal">
298 <primary sortas="c-libicalvcal">libicalvcal.so</primary>
299 </indexterm>
300 </listitem>
301 </varlistentry>
302
303 </variablelist>
304
305 </sect2>
306
307</sect1>
Note: See TracBrowser for help on using the repository browser.