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