glfs/general/genlib/libcroco.xml

109 lines
3.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libcroco-download-http "http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-&libcroco-version;.tar.bz2">
<!ENTITY libcroco-download-ftp "ftp://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-&libcroco-version;.tar.bz2">
<!ENTITY libcroco-md5sum "78fb2bf78d469df83b1fc94ce196c1c4">
<!ENTITY libcroco-size "360 KB">
<!ENTITY libcroco-buildsize "9.3 MB">
<!ENTITY libcroco-time "0.2 SBU">
]>
<sect1 id="libcroco" xreflabel="libcroco-&libcroco-version;">
<?dbhtml filename="libcroco.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
<keywordset>
<keyword role="package">libcroco-&libcroco-version;.tar</keyword>
<keyword role="ftpdir">libcroco</keyword>
</keywordset>
</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
<filename class="libraryfile">libcroco</filename> libraries. This is
useful for providing a CSS API.</para>
<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>
</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 &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>LD_LIBRARY_PATH=$(pwd)/src/.libs make test</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/libcroco-&libcroco-version;/examples &amp;&amp;
install -v -m644 docs/usage.txt /usr/share/doc/libcroco-&libcroco-version; &amp;&amp;
install -v -m644 docs/examples/*.c /usr/share/doc/libcroco-&libcroco-version;/examples</userinput></screen>
</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,a]</seg>
<seg>/usr/include/libcroco-&libcroco-version; and
/usr/share/doc/libcroco-&libcroco-version;</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>