glfs/archive/libcroco.xml

197 lines
5.5 KiB
XML
Raw Normal View History

<?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 libcroco-download-http "&gnome-download-http;/libcroco/0.6/libcroco-&libcroco-version;.tar.xz">
<!ENTITY libcroco-download-ftp "&gnome-download-ftp;/libcroco/0.6/libcroco-&libcroco-version;.tar.xz">
<!ENTITY libcroco-md5sum "c80c5a8385011a0260dce6bd0da93dce">
<!ENTITY libcroco-size "480 KB">
<!ENTITY libcroco-buildsize "10 MB (with tests)">
<!ENTITY libcroco-time "0.1 SBU (with tests)">
]>
<sect1 id="libcroco" xreflabel="libcroco-&libcroco-version;">
<?dbhtml filename="libcroco.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>libcroco-&libcroco-version;</title>
<indexterm zone="libcroco">
<primary sortas="a-libcroco">libcroco</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libcroco</title>
<para>
The <application>libcroco</application> package contains
a standalone CSS2 parsing and manipulation library.
</para>
&lfs91_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libcroco-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libcroco-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &libcroco-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &libcroco-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &libcroco-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &libcroco-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libcroco Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="glib2"/> and
<xref linkend="libxml2"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="gtk-doc"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libcroco"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of libcroco</title>
<para>
Install <application>libcroco</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>
To execute the test suite, run <command>make -k test</command>. Some
tests fail: searching files in wrong location, locale problems
(character codes compared to characters), float point numbers not
properly rounded to the same number of places are some of the
reasons.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/gtk-doc-rebuild.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
croco-0.6-config and csslint-0.6
</seg>
<seg>
libcroco-0.6.so
</seg>
<seg>
/usr/include/libcroco-0.6 and
/usr/share/gtk-doc/html/libcroco
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="croco-0.6-config">
<term><command>croco-0.6-config</command></term>
<listitem>
<para>
is a helper script for building with <filename class="libraryfile">libcroco-0.6.so</filename>.
</para>
<indexterm zone="libcroco croco-0.6-config">
<primary sortas="b-croco-0.6-config">croco-0.6-config</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="csslint-0.6">
<term><command>csslint-0.6</command></term>
<listitem>
<para>
is used to parse one or more CSS files specified on
the command line.
</para>
<indexterm zone="libcroco csslint-0.6">
<primary sortas="b-csslint-0.6">csslint-0.6</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libcroco-0">
<term><filename class="libraryfile">libcroco-0.6.so</filename></term>
<listitem>
<para>
contains the API functions for CSS2 parsing and manipulation.
</para>
<indexterm zone="libcroco libcroco-0">
<primary sortas="c-libcroco-0">libcroco-0.6.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>