2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<!ENTITY libcroco-download-http "http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-&libcroco-version;.tar.bz2">
|
2005-09-15 03:41:42 +08:00
|
|
|
<!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">
|
2004-06-15 12:33:15 +08:00
|
|
|
]>
|
|
|
|
|
2003-12-09 00:39:45 +08:00
|
|
|
<sect1 id="libcroco" xreflabel="libcroco-&libcroco-version;">
|
2005-05-01 18:49:21 +08:00
|
|
|
<?dbhtml filename="libcroco.html"?>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2005-12-02 04:50:08 +08:00
|
|
|
<keywordset>
|
|
|
|
<keyword role="package">libcroco-&libcroco-version;.tar</keyword>
|
2005-12-09 04:34:05 +08:00
|
|
|
<keyword role="ftpdir">libcroco</keyword>
|
2005-12-02 04:50:08 +08:00
|
|
|
</keywordset>
|
2005-05-01 18:49:21 +08:00
|
|
|
</sect1info>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<title>Libcroco-&libcroco-version;</title>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<indexterm zone="libcroco">
|
|
|
|
<primary sortas="a-Libcroco">Libcroco</primary>
|
|
|
|
</indexterm>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Libcroco</title>
|
2003-12-09 00:39:45 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<para>The <application>libcroco</application> package contains
|
|
|
|
<filename class="libraryfile">libcroco</filename> libraries. This is
|
|
|
|
useful for providing a CSS API.</para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<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>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<bridgehead renderas="sect3">Libcroco Dependencies</bridgehead>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2005-12-02 04:50:08 +08:00
|
|
|
<para role="required"><xref linkend="glib2"/> and
|
2005-05-01 18:49:21 +08:00
|
|
|
<xref linkend="libxml2"/></para>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Libcroco</title>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-31 05:33:35 +08:00
|
|
|
<para>Install <application>libcroco</application> by running the following
|
2005-05-01 18:49:21 +08:00
|
|
|
commands:</para>
|
2004-06-15 12:33:15 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
2005-06-16 05:21:30 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2006-01-06 22:46:55 +08:00
|
|
|
<para>To test the results, issue: <command>LD_LIBRARY_PATH=$(pwd)/src/.libs make test</command>.</para>
|
2005-06-16 05:21:30 +08:00
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2005-09-15 03:41:42 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
install -v -m755 -d /usr/share/doc/libcroco-&libcroco-version;/examples &&
|
|
|
|
install -v -m644 docs/usage.txt /usr/share/doc/libcroco-&libcroco-version; &&
|
|
|
|
install -v -m644 docs/examples/*.c /usr/share/doc/libcroco-&libcroco-version;/examples</userinput></screen>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<segmentedlist>
|
2005-09-15 03:41:42 +08:00
|
|
|
<segtitle>Installed Programs</segtitle>
|
2005-07-28 00:35:22 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2005-09-15 03:41:42 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
<seglistitem>
|
2005-09-15 03:41:42 +08:00
|
|
|
<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>
|
2005-05-01 18:49:21 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2005-05-01 18:49:21 +08:00
|
|
|
</sect2>
|
2005-05-31 00:32:59 +08:00
|
|
|
|
2003-12-09 00:39:45 +08:00
|
|
|
</sect1>
|