1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY libcroco-md5sum "bc0984fce078ba2ce29f9500c6b9ddce">
|
---|
10 | <!ENTITY libcroco-size "472 KB">
|
---|
11 | <!ENTITY libcroco-buildsize "12 MB (with tests)">
|
---|
12 | <!ENTITY libcroco-time "0.1 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libcroco" xreflabel="libcroco-&libcroco-version;">
|
---|
16 | <?dbhtml filename="libcroco.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libcroco-&libcroco-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libcroco">
|
---|
26 | <primary sortas="a-libcroco">libcroco</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libcroco</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>libcroco</application> package contains
|
---|
34 | a standalone CSS2 parsing and manipulation library.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs83_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&libcroco-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&libcroco-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &libcroco-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &libcroco-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &libcroco-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &libcroco-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">libcroco Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="glib2"/> and
|
---|
78 | <xref linkend="libxml2"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <xref linkend="gtk-doc"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <para condition="html" role="usernotes">User Notes:
|
---|
87 | <ulink url="&blfs-wiki;/libcroco"/>
|
---|
88 | </para>
|
---|
89 | </sect2>
|
---|
90 |
|
---|
91 | <sect2 role="installation">
|
---|
92 | <title>Installation of libcroco</title>
|
---|
93 |
|
---|
94 | <para>
|
---|
95 | Install <application>libcroco</application> by running the following
|
---|
96 | commands:
|
---|
97 | </para>
|
---|
98 |
|
---|
99 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
100 | make</userinput></screen>
|
---|
101 |
|
---|
102 | <para>
|
---|
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>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
112 | </para>
|
---|
113 |
|
---|
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"
|
---|
122 | href="../../xincludes/static-libraries.xml"/>
|
---|
123 |
|
---|
124 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
125 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="content">
|
---|
130 | <title>Contents</title>
|
---|
131 |
|
---|
132 | <segmentedlist>
|
---|
133 | <segtitle>Installed Programs</segtitle>
|
---|
134 | <segtitle>Installed Library</segtitle>
|
---|
135 | <segtitle>Installed Directories</segtitle>
|
---|
136 |
|
---|
137 | <seglistitem>
|
---|
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>
|
---|
148 | </seglistitem>
|
---|
149 | </segmentedlist>
|
---|
150 |
|
---|
151 | <variablelist>
|
---|
152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
153 | <?dbfo list-presentation="list"?>
|
---|
154 | <?dbhtml list-presentation="table"?>
|
---|
155 |
|
---|
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 |
|
---|
168 | <varlistentry id="csslint-0.6">
|
---|
169 | <term><command>csslint-0.6</command></term>
|
---|
170 | <listitem>
|
---|
171 | <para>
|
---|
172 | is used to parse one or more CSS files specified on
|
---|
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 |
|
---|
181 | <varlistentry id="libcroco-0">
|
---|
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>
|
---|
187 | <indexterm zone="libcroco libcroco-0">
|
---|
188 | <primary sortas="c-libcroco-0">libcroco-0.6.so</primary>
|
---|
189 | </indexterm>
|
---|
190 | </listitem>
|
---|
191 | </varlistentry>
|
---|
192 |
|
---|
193 | </variablelist>
|
---|
194 |
|
---|
195 | </sect2>
|
---|
196 |
|
---|
197 | </sect1>
|
---|