[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 " ">
|
---|
[0ec2262] | 9 | <!ENTITY libical-md5sum "463a59244c6767b8e67b29379405e297">
|
---|
| 10 | <!ENTITY libical-size "860 KB">
|
---|
| 11 | <!ENTITY libical-buildsize "21 MB (with tests)">
|
---|
| 12 | <!ENTITY libical-time "0.2 SBU (Using parallelism=5; 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 |
|
---|
[ad112fd5] | 37 | &lfs90_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 |
|
---|
[131b1b7] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
[b1d3c72a] | 83 | <xref linkend="db"/>,
|
---|
| 84 | <xref linkend="doxygen"/> (for the API documentation),
|
---|
[5d314e0] | 85 | <xref linkend="icu"/>, and both
|
---|
| 86 | <xref linkend="gobject-introspection"/> and
|
---|
| 87 | <xref linkend="vala"/>(required for Gnome)
|
---|
[131b1b7] | 88 | </para>
|
---|
| 89 |
|
---|
[31bf432] | 90 | <para condition="html" role="usernotes">User Notes:
|
---|
[23d3543c] | 91 | <ulink url="&blfs-wiki;/libical"/>
|
---|
| 92 | </para>
|
---|
[31bf432] | 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of libical</title>
|
---|
| 97 |
|
---|
[23d3543c] | 98 | <para>
|
---|
| 99 | Install <application>libical</application> by running the
|
---|
| 100 | following commands:
|
---|
| 101 | </para>
|
---|
[31bf432] | 102 |
|
---|
[23d3543c] | 103 | <screen><userinput>mkdir build &&
|
---|
[c0ee00e] | 104 | cd build &&
|
---|
[18c9ee54] | 105 |
|
---|
[5d314e0] | 106 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 107 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 108 | -DSHARED_ONLY=yes \
|
---|
| 109 | -DICAL_BUILD_DOCS=false \
|
---|
| 110 | -DGOBJECT_INTROSPECTION=true \
|
---|
| 111 | -DICAL_GLIB_VAPI=true \
|
---|
[23d3543c] | 112 | .. &&
|
---|
[31bf432] | 113 | make</userinput></screen>
|
---|
[07f61e4] | 114 | <!-- DEVS: the ICAL_BUILD_DOCS=false switch is needed because gtk-doc-1.30 is
|
---|
| 115 | broken. Unfortunately, it also prevents running make docs. When gtk-doc
|
---|
| 116 | is fixed, remove the switch and uncomment this.
|
---|
[131b1b7] | 117 | <para>
|
---|
| 118 | If you have <xref linkend="doxygen"/> installed and wish to build the API
|
---|
| 119 | documentation, issue:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
[a42c273] | 122 | <screen remap="doc"><userinput>make docs</userinput></screen>
|
---|
[07f61e4] | 123 | -->
|
---|
[23d3543c] | 124 | <para>
|
---|
| 125 | To test the results, issue: <command>make test</command>.
|
---|
[1588ff1] | 126 | <!-- One test, timezones, is known to fail on SysV systems. -->
|
---|
[b5e5d59] | 127 | <!-- On systemd, we symlink the current timezone to
|
---|
[1588ff1] | 128 | /etc/localtime, which is what libical expects.
|
---|
| 129 | This is now done on SysV as well.-->
|
---|
[23d3543c] | 130 | </para>
|
---|
[31bf432] | 131 |
|
---|
[23d3543c] | 132 | <para>
|
---|
| 133 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 134 | </para>
|
---|
[31bf432] | 135 |
|
---|
[23d3543c] | 136 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[07f61e4] | 137 | <!-- see above:
|
---|
[131b1b7] | 138 | <para>
|
---|
| 139 | If you have built the API documentation, install by issuing, as
|
---|
| 140 | <systemitem class="username">root</systemitem> user:
|
---|
| 141 | </para>
|
---|
| 142 |
|
---|
[a42c273] | 143 | <screen role="root"
|
---|
| 144 | remap="doc"><userinput>install -vdm755 /usr/share/doc/libical-&libical-version;/html &&
|
---|
[131b1b7] | 145 | cp -vr apidocs/html/* /usr/share/doc/libical-&libical-version;/html</userinput></screen>
|
---|
[07f61e4] | 146 | -->
|
---|
[31bf432] | 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="commands">
|
---|
| 150 | <title>Command Explanations</title>
|
---|
| 151 |
|
---|
[23d3543c] | 152 | <para>
|
---|
| 153 | <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
---|
| 154 | to apply higher level of the compiler optimizations.
|
---|
| 155 | </para>
|
---|
[b2a4bc8] | 156 |
|
---|
[131b1b7] | 157 | <para>
|
---|
| 158 | <parameter>-DSHARED_ONLY=yes</parameter>: This switch is used
|
---|
| 159 | in order to only build the shared libraries.
|
---|
| 160 | </para>
|
---|
| 161 |
|
---|
[07f61e4] | 162 | <para>
|
---|
| 163 | <parameter>-DICAL_BUILD_DOCS=false</parameter>: This switch prevents
|
---|
| 164 | building the <application>GTK</application> documentation, because
|
---|
| 165 | gtk-doc-1.30 is broken. Unfortunately, it also prevents building the
|
---|
| 166 | API documentation.
|
---|
| 167 | </para>
|
---|
| 168 |
|
---|
[b1d3c72a] | 169 | <para>
|
---|
| 170 | <option>-DUSE_BUILTIN_TZDATA=yes</option>: This switch is used
|
---|
| 171 | in order to build using your own timezone data.
|
---|
| 172 | </para>
|
---|
| 173 |
|
---|
[5d314e0] | 174 | <para>
|
---|
[ae7e4b9] | 175 | <option>-DGOBJECT_INTROSPECTION=true</option>: This switch is used
|
---|
[5d314e0] | 176 | to generate GObject metadata bindings.
|
---|
| 177 | </para>
|
---|
| 178 |
|
---|
| 179 | <para>
|
---|
| 180 | <option>-DICAL_GLIB_VAPI=true</option>: This switch is used
|
---|
| 181 | in order to build bindings for <xref linkend="vala"/>.
|
---|
| 182 | </para>
|
---|
| 183 |
|
---|
[23d3543c] | 184 | <!-- No CMake equivalents
|
---|
| 185 | <para>
|
---|
| 186 | <parameter>- -enable-cxx</parameter>: This switch enables
|
---|
| 187 | <application>libical</application> C++ library.
|
---|
| 188 | </para>
|
---|
[b2a4bc8] | 189 |
|
---|
[23d3543c] | 190 | <para>
|
---|
| 191 | <option>- -enable-python</option>: This switch enables
|
---|
| 192 | <application>libical</application> Python bindings.
|
---|
| 193 | </para> -->
|
---|
[31bf432] | 194 |
|
---|
| 195 | </sect2>
|
---|
| 196 |
|
---|
| 197 | <sect2 role="content">
|
---|
| 198 | <title>Contents</title>
|
---|
| 199 |
|
---|
| 200 | <segmentedlist>
|
---|
| 201 | <segtitle>Installed Programs</segtitle>
|
---|
| 202 | <segtitle>Installed Libraries</segtitle>
|
---|
[23d3543c] | 203 | <segtitle>Installed Directory</segtitle>
|
---|
[31bf432] | 204 |
|
---|
| 205 | <seglistitem>
|
---|
[23d3543c] | 206 | <seg>
|
---|
| 207 | None
|
---|
| 208 | </seg>
|
---|
| 209 | <seg>
|
---|
[b1d3c72a] | 210 | libical_cxx.so, libical.so, libicalss_cxx.so, libicalss.so,
|
---|
| 211 | and libicalvcal.so
|
---|
[23d3543c] | 212 | </seg>
|
---|
| 213 | <seg>
|
---|
[b1d3c72a] | 214 | /usr/include/libical, /usr/lib/cmake/LibIcal and
|
---|
[131b1b7] | 215 | /usr/share/doc/libical-&libical-version;/html
|
---|
[23d3543c] | 216 | </seg>
|
---|
[31bf432] | 217 | </seglistitem>
|
---|
| 218 | </segmentedlist>
|
---|
| 219 |
|
---|
| 220 | <variablelist>
|
---|
| 221 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 222 | <?dbfo list-presentation="list"?>
|
---|
| 223 | <?dbhtml list-presentation="table"?>
|
---|
| 224 |
|
---|
| 225 | <varlistentry id="libical-lib">
|
---|
[131b1b7] | 226 | <term><filename class="libraryfile">libical.so</filename></term>
|
---|
[31bf432] | 227 | <listitem>
|
---|
[23d3543c] | 228 | <para>
|
---|
| 229 | contains the <application>libical</application> API
|
---|
| 230 | functions.
|
---|
| 231 | </para>
|
---|
[31bf432] | 232 | <indexterm zone="libical libical-lib">
|
---|
[131b1b7] | 233 | <primary sortas="c-libical">libical.so</primary>
|
---|
[31bf432] | 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
[b1d3c72a] | 238 | <varlistentry id="libical_cxx-lib">
|
---|
| 239 | <term><filename class="libraryfile">libical_cxx.so</filename></term>
|
---|
| 240 | <listitem>
|
---|
| 241 | <para>
|
---|
| 242 | contains the <application>libical</application> C++ bindings.
|
---|
| 243 | </para>
|
---|
| 244 | <indexterm zone="libical libical_cxx-lib">
|
---|
| 245 | <primary sortas="c-libical_cxx">libical_cxx.so</primary>
|
---|
| 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
[31bf432] | 250 | <varlistentry id="libicalss">
|
---|
[131b1b7] | 251 | <term><filename class="libraryfile">libicalss.so</filename></term>
|
---|
[31bf432] | 252 | <listitem>
|
---|
[23d3543c] | 253 | <para>
|
---|
[c4b0455] | 254 | is a library that allows you to store iCal component data
|
---|
[23d3543c] | 255 | to disk in a variety of ways.
|
---|
| 256 | </para>
|
---|
[31bf432] | 257 | <indexterm zone="libical libicalss">
|
---|
[131b1b7] | 258 | <primary sortas="c-libicalss">libicalss.so</primary>
|
---|
[31bf432] | 259 | </indexterm>
|
---|
| 260 | </listitem>
|
---|
| 261 | </varlistentry>
|
---|
| 262 |
|
---|
[b1d3c72a] | 263 | <varlistentry id="libicalss_cxx">
|
---|
| 264 | <term><filename class="libraryfile">libicalss_cxx.so</filename></term>
|
---|
| 265 | <listitem>
|
---|
| 266 | <para>
|
---|
| 267 | contains the <application>libicalss</application> C++
|
---|
| 268 | bindings.
|
---|
| 269 | </para>
|
---|
| 270 | <indexterm zone="libical libicalss_cxx">
|
---|
| 271 | <primary sortas="c-libicalss_cxx">libicalss_cxx.so</primary>
|
---|
| 272 | </indexterm>
|
---|
| 273 | </listitem>
|
---|
| 274 | </varlistentry>
|
---|
| 275 |
|
---|
[31bf432] | 276 | <varlistentry id="libicalvcal">
|
---|
[131b1b7] | 277 | <term><filename class="libraryfile">libicalvcal.so</filename></term>
|
---|
[31bf432] | 278 | <listitem>
|
---|
[23d3543c] | 279 | <para>
|
---|
| 280 | is a vCard/vCalendar C interface.
|
---|
| 281 | </para>
|
---|
[31bf432] | 282 | <indexterm zone="libical libicalvcal">
|
---|
[131b1b7] | 283 | <primary sortas="c-libicalvcal">libicalvcal.so</primary>
|
---|
[31bf432] | 284 | </indexterm>
|
---|
| 285 | </listitem>
|
---|
| 286 | </varlistentry>
|
---|
| 287 |
|
---|
| 288 | </variablelist>
|
---|
| 289 |
|
---|
| 290 | </sect2>
|
---|
| 291 |
|
---|
| 292 | </sect1>
|
---|