[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[5600683] | 7 | <!ENTITY libcroco-download-http "&gnome-download-http;/libcroco/0.6/libcroco-&libcroco-version;.tar.bz2">
|
---|
| 8 | <!ENTITY libcroco-download-ftp "&gnome-download-ftp;/libcroco/0.6/libcroco-&libcroco-version;.tar.bz2">
|
---|
[ef6e187] | 9 | <!ENTITY libcroco-md5sum "1429c597aa4b75fc610ab3a542c99209">
|
---|
| 10 | <!ENTITY libcroco-size "406 KB">
|
---|
| 11 | <!ENTITY libcroco-buildsize "10 MB">
|
---|
| 12 | <!ENTITY libcroco-time "0.2 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="libcroco" xreflabel="libcroco-&libcroco-version;">
|
---|
[f73597a] | 16 | <?dbhtml filename="libcroco.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[f73597a] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[8e75f8b9] | 22 |
|
---|
[f73597a] | 23 | <title>Libcroco-&libcroco-version;</title>
|
---|
[8e75f8b9] | 24 |
|
---|
[f73597a] | 25 | <indexterm zone="libcroco">
|
---|
| 26 | <primary sortas="a-Libcroco">Libcroco</primary>
|
---|
| 27 | </indexterm>
|
---|
[8e75f8b9] | 28 |
|
---|
[f73597a] | 29 | <sect2 role="package">
|
---|
[6c8659b] | 30 | <title>Introduction to libcroco</title>
|
---|
[b8c13e3] | 31 |
|
---|
[f73597a] | 32 | <para>The <application>libcroco</application> package contains
|
---|
| 33 | <filename class="libraryfile">libcroco</filename> libraries. This is
|
---|
| 34 | useful for providing a CSS API.</para>
|
---|
[8e75f8b9] | 35 |
|
---|
[3af39b1] | 36 | &lfs65_checked;
|
---|
| 37 |
|
---|
[f73597a] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&libcroco-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&libcroco-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &libcroco-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &libcroco-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &libcroco-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &libcroco-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[8e75f8b9] | 59 |
|
---|
[6c8659b] | 60 | <bridgehead renderas="sect3">libcroco Dependencies</bridgehead>
|
---|
[8e75f8b9] | 61 |
|
---|
[f73597a] | 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4f26c54] | 63 | <para role="required"><xref linkend="glib2"/> and
|
---|
[f73597a] | 64 | <xref linkend="libxml2"/></para>
|
---|
[8e75f8b9] | 65 |
|
---|
[1039de3] | 66 | <para condition="html" role="usernotes">User Notes:
|
---|
| 67 | <ulink url="&blfs-wiki;/libcroco"/></para>
|
---|
| 68 |
|
---|
[f73597a] | 69 | </sect2>
|
---|
[8e75f8b9] | 70 |
|
---|
[f73597a] | 71 | <sect2 role="installation">
|
---|
[6c8659b] | 72 | <title>Installation of libcroco</title>
|
---|
[fdca4266] | 73 |
|
---|
[74390482] | 74 | <para>Install <application>libcroco</application> by running the following
|
---|
[f73597a] | 75 | commands:</para>
|
---|
[fdca4266] | 76 |
|
---|
[f73597a] | 77 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[a979ae53] | 78 | make</userinput></screen>
|
---|
| 79 |
|
---|
[a41f643] | 80 | <para>To test the results, issue:
|
---|
[ef6e187] | 81 | <command>LD_LIBRARY_PATH=$(pwd)/src/.libs make test</command>.</para>
|
---|
| 82 |
|
---|
[a41f643] | 83 | <para>If there are test failures, issue:
|
---|
| 84 | <command>patch -Np1 -i tests/tests-error.log</command>.
|
---|
[ef6e187] | 85 | This will update the failed tests from CVS. You should now rerun the test.
|
---|
| 86 | </para>
|
---|
[a979ae53] | 87 |
|
---|
| 88 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 89 |
|
---|
[6098c66] | 90 | <screen role="root"><userinput>make install &&
|
---|
| 91 | install -v -m755 -d /usr/share/doc/libcroco-&libcroco-version;/examples &&
|
---|
[6c8659b] | 92 | install -v -m644 README docs/usage.txt \
|
---|
| 93 | /usr/share/doc/libcroco-&libcroco-version; &&
|
---|
| 94 | install -v -m644 docs/examples/*.c \
|
---|
| 95 | /usr/share/doc/libcroco-&libcroco-version;/examples</userinput></screen>
|
---|
[8e75f8b9] | 96 |
|
---|
[f73597a] | 97 | </sect2>
|
---|
[8e75f8b9] | 98 |
|
---|
[f73597a] | 99 | <sect2 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
[8e75f8b9] | 101 |
|
---|
[f73597a] | 102 | <segmentedlist>
|
---|
[6098c66] | 103 | <segtitle>Installed Programs</segtitle>
|
---|
[4c288b0] | 104 | <segtitle>Installed Library</segtitle>
|
---|
[6098c66] | 105 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 106 |
|
---|
[f73597a] | 107 | <seglistitem>
|
---|
[6098c66] | 108 | <seg>croco-0.6-config and csslint-0.6</seg>
|
---|
[1039de3] | 109 | <seg>libcroco-0.6.{so,a}</seg>
|
---|
[6098c66] | 110 | <seg>/usr/include/libcroco-&libcroco-version; and
|
---|
| 111 | /usr/share/doc/libcroco-&libcroco-version;</seg>
|
---|
[f73597a] | 112 | </seglistitem>
|
---|
| 113 | </segmentedlist>
|
---|
[8e75f8b9] | 114 |
|
---|
[f73597a] | 115 | </sect2>
|
---|
[8e75f8b9] | 116 |
|
---|
[b8c13e3] | 117 | </sect1>
|
---|