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