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