mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
7a34460df5
Tags git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17016 af4574ff-66df-0310-9fd7-8a98e5e911e0
292 lines
8.8 KiB
XML
292 lines
8.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY libical-download-http "https://github.com/libical/libical/releases/download/v&libical-version;/libical-&libical-version;.tar.gz">
|
|
<!--
|
|
<!ENTITY libical-download-http "https://github.com/libical/libical/archive/v&libical-version;.tar.gz">-->
|
|
<!ENTITY libical-download-ftp " ">
|
|
<!ENTITY libical-md5sum "6bf8e5f5a3ba88baf390d0134e05d76e">
|
|
<!ENTITY libical-size "684 KB">
|
|
<!ENTITY libical-buildsize "14 MB, with tests (additional 12 MB for the API documentation)">
|
|
<!ENTITY libical-time "0.3 SBU, (with tests and API documentation)">
|
|
]>
|
|
|
|
<sect1 id="libical" xreflabel="libical-&libical-version;">
|
|
<?dbhtml filename="libical.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>libical-&libical-version;</title>
|
|
|
|
<indexterm zone="libical">
|
|
<primary sortas="a-libical">libical</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to libical</title>
|
|
|
|
<para>
|
|
The <application>libical</application> package contains an implementation
|
|
of the iCalendar protocols and data formats.
|
|
</para>
|
|
|
|
&lfs79_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<!--
|
|
<note>
|
|
|
|
<para>The download link below obtains
|
|
<filename>libical-&libical-version;.tar.gz</filename> if a web browser
|
|
such as <xref linkend="firefox"/> is used. This is the correct name
|
|
for the archive, because it saves the file as <filename
|
|
class="directory">libical-&libical-version;</filename>. However, if
|
|
another method is used for downloading, e.g. <xref linkend="wget"/>, the
|
|
file name is <filename>v&libical-version;.tar.gz</filename>, which is not
|
|
acceptable. The file should be renamed to the correct filename
|
|
<filename>libical-&libical-version;.tar.gz</filename>. You can achieve
|
|
this automatically by using the command:</para>
|
|
|
|
<screen><userinput>wget <ulink url="&libical-download-http;"/> -O libical-&libical-version;.tar.gz</userinput></screen>
|
|
</note>
|
|
-->
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&libical-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&libical-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &libical-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &libical-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &libical-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &libical-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">libical Dependencies</bridgehead>
|
|
|
|
<!-- Upstream recommends to use CMake since autotools
|
|
doesn't bump soname for 0.48 -> 1.0 incompatibility -->
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="cmake"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="db"/>,
|
|
<xref linkend="doxygen"/> (for the API documentation),
|
|
<xref linkend="gobject-introspection"/>, and
|
|
<xref linkend="icu"/>
|
|
</para>
|
|
|
|
<!-- Can't be built using CMake
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="openjdk"/> and
|
|
<xref linkend="python2"/> (must have <xref linkend="swig"/> also)
|
|
</para> -->
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/libical"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of libical</title>
|
|
|
|
<para>
|
|
Install <application>libical</application> by running the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DSHARED_ONLY=yes \
|
|
.. &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
If you have <xref linkend="doxygen"/> installed and wish to build the API
|
|
documentation, issue:
|
|
</para>
|
|
|
|
<screen><userinput>make docs</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue: <command>make test</command>.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<para>
|
|
If you have built the API documentation, install by issuing, as
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>install -vdm755 /usr/share/doc/libical-&libical-version;/html &&
|
|
cp -vr apidocs/html/* /usr/share/doc/libical-&libical-version;/html</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
|
|
to apply higher level of the compiler optimizations.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>-DSHARED_ONLY=yes</parameter>: This switch is used
|
|
in order to only build the shared libraries.
|
|
</para>
|
|
|
|
<para>
|
|
<option>-DUSE_BUILTIN_TZDATA=yes</option>: This switch is used
|
|
in order to build using your own timezone data.
|
|
</para>
|
|
|
|
<!-- No CMake equivalents
|
|
<para>
|
|
<parameter>- -enable-cxx</parameter>: This switch enables
|
|
<application>libical</application> C++ library.
|
|
</para>
|
|
|
|
<para>
|
|
<option>- -enable-python</option>: This switch enables
|
|
<application>libical</application> Python bindings.
|
|
</para> -->
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
libical_cxx.so, libical.so, libicalss_cxx.so, libicalss.so,
|
|
and libicalvcal.so
|
|
</seg>
|
|
<seg>
|
|
/usr/include/libical, /usr/lib/cmake/LibIcal and
|
|
/usr/share/doc/libical-&libical-version;/html
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="libical-lib">
|
|
<term><filename class="libraryfile">libical.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>libical</application> API
|
|
functions.
|
|
</para>
|
|
<indexterm zone="libical libical-lib">
|
|
<primary sortas="c-libical">libical.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libical_cxx-lib">
|
|
<term><filename class="libraryfile">libical_cxx.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>libical</application> C++ bindings.
|
|
</para>
|
|
<indexterm zone="libical libical_cxx-lib">
|
|
<primary sortas="c-libical_cxx">libical_cxx.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libicalss">
|
|
<term><filename class="libraryfile">libicalss.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
is a library that allows you to store iCal component data
|
|
to disk in a variety of ways.
|
|
</para>
|
|
<indexterm zone="libical libicalss">
|
|
<primary sortas="c-libicalss">libicalss.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libicalss_cxx">
|
|
<term><filename class="libraryfile">libicalss_cxx.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
contains the <application>libicalss</application> C++
|
|
bindings.
|
|
</para>
|
|
<indexterm zone="libical libicalss_cxx">
|
|
<primary sortas="c-libicalss_cxx">libicalss_cxx.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="libicalvcal">
|
|
<term><filename class="libraryfile">libicalvcal.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
is a vCard/vCalendar C interface.
|
|
</para>
|
|
<indexterm zone="libical libicalvcal">
|
|
<primary sortas="c-libicalvcal">libicalvcal.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|