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 "c80c5a8385011a0260dce6bd0da93dce">
|
---|
10 | <!ENTITY libcroco-size "480 KB">
|
---|
11 | <!ENTITY libcroco-buildsize "10 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 |
|
---|
19 | <title>libcroco-&libcroco-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="libcroco">
|
---|
22 | <primary sortas="a-libcroco">libcroco</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to libcroco</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>libcroco</application> package contains
|
---|
30 | a standalone CSS2 parsing and manipulation library.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs91_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&libcroco-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (FTP): <ulink url="&libcroco-download-ftp;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download MD5 sum: &libcroco-md5sum;
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download size: &libcroco-size;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Estimated disk space required: &libcroco-buildsize;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated build time: &libcroco-time;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect3">libcroco Dependencies</bridgehead>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
72 | <para role="required">
|
---|
73 | <xref linkend="glib2"/> and
|
---|
74 | <xref linkend="libxml2"/>
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
78 | <para role="optional">
|
---|
79 | <xref linkend="gtk-doc"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">User Notes:
|
---|
83 | <ulink url="&blfs-wiki;/libcroco"/>
|
---|
84 | </para>
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2 role="installation">
|
---|
88 | <title>Installation of libcroco</title>
|
---|
89 |
|
---|
90 | <para>
|
---|
91 | Install <application>libcroco</application> by running the following
|
---|
92 | commands:
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
96 | make</userinput></screen>
|
---|
97 |
|
---|
98 | <para>
|
---|
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>
|
---|
105 |
|
---|
106 | <para>
|
---|
107 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
108 | </para>
|
---|
109 |
|
---|
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"
|
---|
118 | href="../../xincludes/static-libraries.xml"/>
|
---|
119 |
|
---|
120 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
121 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="content">
|
---|
126 | <title>Contents</title>
|
---|
127 |
|
---|
128 | <segmentedlist>
|
---|
129 | <segtitle>Installed Programs</segtitle>
|
---|
130 | <segtitle>Installed Library</segtitle>
|
---|
131 | <segtitle>Installed Directories</segtitle>
|
---|
132 |
|
---|
133 | <seglistitem>
|
---|
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>
|
---|
144 | </seglistitem>
|
---|
145 | </segmentedlist>
|
---|
146 |
|
---|
147 | <variablelist>
|
---|
148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
149 | <?dbfo list-presentation="list"?>
|
---|
150 | <?dbhtml list-presentation="table"?>
|
---|
151 |
|
---|
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 |
|
---|
164 | <varlistentry id="csslint-0.6">
|
---|
165 | <term><command>csslint-0.6</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | is used to parse one or more CSS files specified on
|
---|
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 |
|
---|
177 | <varlistentry id="libcroco-0">
|
---|
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>
|
---|
183 | <indexterm zone="libcroco libcroco-0">
|
---|
184 | <primary sortas="c-libcroco-0">libcroco-0.6.so</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | </variablelist>
|
---|
190 |
|
---|
191 | </sect2>
|
---|
192 |
|
---|
193 | </sect1>
|
---|