[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 |
|
---|
[c2421a0d] | 7 | <!ENTITY libcroco-download-http "&gnome-download-http;/libcroco/0.6/libcroco-&libcroco-version;.tar.xz">
|
---|
| 8 | <!ENTITY libcroco-download-ftp "&gnome-download-ftp;/libcroco/0.6/libcroco-&libcroco-version;.tar.xz">
|
---|
[85333d1] | 9 | <!ENTITY libcroco-md5sum "c80c5a8385011a0260dce6bd0da93dce">
|
---|
| 10 | <!ENTITY libcroco-size "480 KB">
|
---|
| 11 | <!ENTITY libcroco-buildsize "10 MB (with tests)">
|
---|
[11e3cb6b] | 12 | <!ENTITY libcroco-time "0.1 SBU (with tests)">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 15 | <sect1 id="libcroco" xreflabel="libcroco-&libcroco-version;">
|
---|
[f73597a] | 16 | <?dbhtml filename="libcroco.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
| 18 |
|
---|
[7ded7e3] | 19 | <title>libcroco-&libcroco-version;</title>
|
---|
[8e75f8b9] | 20 |
|
---|
[f73597a] | 21 | <indexterm zone="libcroco">
|
---|
[7ded7e3] | 22 | <primary sortas="a-libcroco">libcroco</primary>
|
---|
[f73597a] | 23 | </indexterm>
|
---|
[8e75f8b9] | 24 |
|
---|
[f73597a] | 25 | <sect2 role="package">
|
---|
[6c8659b] | 26 | <title>Introduction to libcroco</title>
|
---|
[b8c13e3] | 27 |
|
---|
[7ded7e3] | 28 | <para>
|
---|
[0d7900a] | 29 | The <application>libcroco</application> package contains
|
---|
[7ded7e3] | 30 | a standalone CSS2 parsing and manipulation library.
|
---|
| 31 | </para>
|
---|
[8e75f8b9] | 32 |
|
---|
[11193870] | 33 | &lfs91_checked;
|
---|
[3af39b1] | 34 |
|
---|
[f73597a] | 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
[7ded7e3] | 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&libcroco-download-http;"/>
|
---|
| 40 | </para>
|
---|
[f73597a] | 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
[7ded7e3] | 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&libcroco-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
[f73597a] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[7ded7e3] | 48 | <para>
|
---|
| 49 | Download MD5 sum: &libcroco-md5sum;
|
---|
| 50 | </para>
|
---|
[f73597a] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[7ded7e3] | 53 | <para>
|
---|
| 54 | Download size: &libcroco-size;
|
---|
| 55 | </para>
|
---|
[f73597a] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[7ded7e3] | 58 | <para>
|
---|
| 59 | Estimated disk space required: &libcroco-buildsize;
|
---|
| 60 | </para>
|
---|
[f73597a] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[7ded7e3] | 63 | <para>
|
---|
| 64 | Estimated build time: &libcroco-time;
|
---|
| 65 | </para>
|
---|
[f73597a] | 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
[8e75f8b9] | 68 |
|
---|
[6c8659b] | 69 | <bridgehead renderas="sect3">libcroco Dependencies</bridgehead>
|
---|
[8e75f8b9] | 70 |
|
---|
[f73597a] | 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c2421a0d] | 72 | <para role="required">
|
---|
[aa4778c4] | 73 | <xref linkend="glib2"/> and
|
---|
| 74 | <xref linkend="libxml2"/>
|
---|
[c2421a0d] | 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
| 79 | <xref linkend="gtk-doc"/>
|
---|
| 80 | </para>
|
---|
[8e75f8b9] | 81 |
|
---|
[1039de3] | 82 | <para condition="html" role="usernotes">User Notes:
|
---|
[7ded7e3] | 83 | <ulink url="&blfs-wiki;/libcroco"/>
|
---|
| 84 | </para>
|
---|
[f73597a] | 85 | </sect2>
|
---|
[8e75f8b9] | 86 |
|
---|
[f73597a] | 87 | <sect2 role="installation">
|
---|
[6c8659b] | 88 | <title>Installation of libcroco</title>
|
---|
[fdca4266] | 89 |
|
---|
[7ded7e3] | 90 | <para>
|
---|
| 91 | Install <application>libcroco</application> by running the following
|
---|
| 92 | commands:
|
---|
| 93 | </para>
|
---|
[fdca4266] | 94 |
|
---|
[c2421a0d] | 95 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[a979ae53] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[7ded7e3] | 98 | <para>
|
---|
[600a3b14] | 99 | To execute the test suite, run <command>make -k test</command>. Some
|
---|
| 100 | tests fail: searching files in wrong location, locale problems
|
---|
| 101 | (character codes compared to characters), float point numbers not
|
---|
| 102 | properly rounded to the same number of places are some of the
|
---|
| 103 | reasons.
|
---|
| 104 | </para>
|
---|
[ef6e187] | 105 |
|
---|
[7ded7e3] | 106 | <para>
|
---|
| 107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 108 | </para>
|
---|
[a979ae53] | 109 |
|
---|
[c2421a0d] | 110 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | </sect2>
|
---|
| 113 |
|
---|
| 114 | <sect2 role="commands">
|
---|
| 115 | <title>Command Explanations</title>
|
---|
| 116 |
|
---|
| 117 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 118 | href="../../xincludes/static-libraries.xml"/>
|
---|
[c2421a0d] | 119 |
|
---|
| 120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[7ded7e3] | 121 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
[8e75f8b9] | 122 |
|
---|
[f73597a] | 123 | </sect2>
|
---|
[8e75f8b9] | 124 |
|
---|
[f73597a] | 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
[8e75f8b9] | 127 |
|
---|
[f73597a] | 128 | <segmentedlist>
|
---|
[6098c66] | 129 | <segtitle>Installed Programs</segtitle>
|
---|
[4c288b0] | 130 | <segtitle>Installed Library</segtitle>
|
---|
[6098c66] | 131 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 132 |
|
---|
[f73597a] | 133 | <seglistitem>
|
---|
[c2421a0d] | 134 | <seg>
|
---|
| 135 | croco-0.6-config and csslint-0.6
|
---|
| 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | libcroco-0.6.so
|
---|
| 139 | </seg>
|
---|
| 140 | <seg>
|
---|
| 141 | /usr/include/libcroco-0.6 and
|
---|
| 142 | /usr/share/gtk-doc/html/libcroco
|
---|
| 143 | </seg>
|
---|
[f73597a] | 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
[8e75f8b9] | 146 |
|
---|
[c2421a0d] | 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
[e23d8fcb] | 152 | <varlistentry id="croco-0.6-config">
|
---|
| 153 | <term><command>croco-0.6-config</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>
|
---|
| 156 | is a helper script for building with <filename class="libraryfile">libcroco-0.6.so</filename>.
|
---|
| 157 | </para>
|
---|
| 158 | <indexterm zone="libcroco croco-0.6-config">
|
---|
| 159 | <primary sortas="b-croco-0.6-config">croco-0.6-config</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
[c2421a0d] | 164 | <varlistentry id="csslint-0.6">
|
---|
| 165 | <term><command>csslint-0.6</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>
|
---|
[0d7900a] | 168 | is used to parse one or more CSS files specified on
|
---|
[c2421a0d] | 169 | the command line.
|
---|
| 170 | </para>
|
---|
| 171 | <indexterm zone="libcroco csslint-0.6">
|
---|
| 172 | <primary sortas="b-csslint-0.6">csslint-0.6</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
[0c36ac74] | 177 | <varlistentry id="libcroco-0">
|
---|
[c2421a0d] | 178 | <term><filename class="libraryfile">libcroco-0.6.so</filename></term>
|
---|
| 179 | <listitem>
|
---|
| 180 | <para>
|
---|
| 181 | contains the API functions for CSS2 parsing and manipulation.
|
---|
| 182 | </para>
|
---|
[0c36ac74] | 183 | <indexterm zone="libcroco libcroco-0">
|
---|
| 184 | <primary sortas="c-libcroco-0">libcroco-0.6.so</primary>
|
---|
[c2421a0d] | 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
[3af204c] | 188 |
|
---|
[c2421a0d] | 189 | </variablelist>
|
---|
| 190 |
|
---|
[f73597a] | 191 | </sect2>
|
---|
[8e75f8b9] | 192 |
|
---|
[b8c13e3] | 193 | </sect1>
|
---|