source: x/lib/cairo.xml@ 92b0b42

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 92b0b42 was d5595930, checked in by Krejzi <krejzi@…>, 11 years ago

Remove Cairo expose_snapshot patch and remove --enable-system-cairo switches from Mozilla products.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10919 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.1 KB
Line 
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 cairo-download-http "http://cairographics.org/releases/cairo-&cairo-version;.tar.xz">
8 <!ENTITY cairo-download-ftp " ">
9 <!ENTITY cairo-md5sum "8b3dcade859c44fb7e56fc68edfe9a45">
10 <!ENTITY cairo-size "41 MB">
11 <!ENTITY cairo-buildsize "170 MB">
12 <!ENTITY cairo-time "1.1 SBU">
13]>
14
15<sect1 id="cairo" xreflabel="Cairo-&cairo-version;">
16 <?dbhtml filename="cairo.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Cairo-&cairo-version;</title>
24
25 <indexterm zone="cairo">
26 <primary sortas="a-Cairo">Cairo</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Cairo</title>
31
32 <para>
33 <application>Cairo</application> is a 2D graphics library with support for
34 multiple output devices. Currently supported output targets include the
35 <application>X</application> Window System, win32, image buffers,
36 PostScript, PDF and SVG. Experimental backends include OpenGL, Quartz and
37 XCB file output. <application>Cairo</application> is designed to produce
38 consistent output on all output media while taking advantage of display
39 hardware acceleration when available (e.g., through the X Render
40 Extension). The <application>Cairo</application> API provides operations
41 similar to the drawing operators of PostScript and PDF. Operations in
42 <application>Cairo</application> include stroking and filling cubic
43 B&eacute;zier splines, transforming and compositing translucent images,
44 and antialiased text rendering. All drawing operations can be transformed
45 by any
46 <ulink url="http://en.wikipedia.org/wiki/Affine_transformation">affine
47 transformation</ulink> (scale, rotation, shear, etc.).
48 </para>
49
50 &lfs72_checked;
51
52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>
56 Download (HTTP): <ulink url="&cairo-download-http;"/>
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download (FTP): <ulink url="&cairo-download-ftp;"/>
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Download MD5 sum: &cairo-md5sum;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Download size: &cairo-size;
72 </para>
73 </listitem>
74 <listitem>
75 <para>
76 Estimated disk space required: &cairo-buildsize;
77 </para>
78 </listitem>
79 <listitem>
80 <para>
81 Estimated build time: &cairo-time;
82 </para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">Cairo Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="libpng"/>,
91 <xref linkend="glib2"/> and
92 <xref linkend="pixman"/>
93 </para>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
97 <xref linkend="fontconfig"/> and
98 <xref linkend="xorg7-lib"/>
99 </para>
100
101 <bridgehead renderas="sect4">Optional</bridgehead>
102 <para role="optional">
103 <xref linkend="cogl"/>,
104 <ulink url="http://www.directfb.org/">DirectFB</ulink>,
105 <!-- <xref linkend="gs"/> (for testing the postscript backend),
106 <xref linkend="gtk2"/> (for testing the PDF backend), -->
107 <xref linkend="gtk-doc"/>,
108 <xref linkend="libdrm"/>,
109 <!-- <xref linkend="librsvg"/> (for testing the SVG backend),
110 <ulink url="http://libspectre.freedesktop.org">libspectre</ulink> (for
111 testing the PDF backend), -->
112 <xref linkend="mesalib"/>,
113 <!-- <xref linkend="poppler"/> (for testing the PDF backend) -->
114 <xref linkend="qt"/>,
115 <ulink url="http://code.google.com/p/skia/">Skia</ulink> and
116 <ulink url="http://www.valgrind.org">Valgrind</ulink>
117 </para>
118
119 <!-- <note>
120 <para>
121 There is a reciprocal dependency with the
122 <application>GTK+ 2</application>, <application>librsvg</application> and
123 <application>Poppler</application> packages. As the test suite is
124 currently unreliable, it is best to simply skip it at this time.
125 </para>
126 </note> -->
127
128 <para condition="html" role="usernotes">
129 User Notes: <ulink url="&blfs-wiki;/cairo"/>
130 </para>
131 </sect2>
132
133 <sect2 role="installation">
134 <title>Installation of Cairo</title>
135
136 <para>
137 Install <application>Cairo</application> by running the following
138 commands:
139 </para>
140
141<screen><userinput>./configure --prefix=/usr \
142 --enable-tee \
143 --enable-xcb \
144 --disable-static &amp;&amp;
145make</userinput></screen>
146
147 <!-- <para>
148 Note that the tests take a long time to run, many of them fail for unknown
149 reasons and it has been known to cause a kernel panic. If you want to run
150 the tests issue: <command>make -k check</command>.
151 </para> -->
152
153 <para>
154 This package does not have a working testsuite.
155 </para>
156
157 <para>
158 Now, as the <systemitem class="username">root</systemitem> user:
159 </para>
160
161<screen role="root"><userinput>make install</userinput></screen>
162 </sect2>
163
164 <sect2 role="commands">
165 <title>Command Explanations</title>
166
167 <para>
168 <option>--enable-tee</option>: This switch enables
169 <application>Cairo</application>'s experimental tee
170 surface which is required by some packages like
171 <application>Firefox</application>.
172 </para>
173
174 <para>
175 <option>--enable-xcb</option>: This switch enables
176 <application>Cairo</application>'s XCB surface
177 which is required by some packages.
178 </para>
179
180 <para>
181 <option>--enable-gl</option>: This switch enables
182 <application>Cairo</application>'s experimental
183 <application>OpenGL</application> surface which
184 is required for <application>Wayland</application>
185 and some other packages that are not part of BLFS.
186 </para>
187
188 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
189 href="../../xincludes/static-libraries.xml"/>
190
191 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
192 href="../../xincludes/gtk-doc-rebuild.xml"/>
193
194 </sect2>
195
196 <sect2 role="content">
197 <title>Contents</title>
198
199 <segmentedlist>
200 <segtitle>Installed Programs</segtitle>
201 <segtitle>Installed Libraries</segtitle>
202 <segtitle>Installed Directories</segtitle>
203
204 <seglistitem>
205 <seg>
206 cairo-sphinx and cairo-trace
207 </seg>
208 <seg>
209 libcairo.so, libcairo-gobject.so and
210 libcairo-script-interpreter.so
211 </seg>
212 <seg>
213 /usr/include/cairo,
214 /usr/lib/cairo and
215 /usr/share/gtk-doc/html/cairo
216 </seg>
217 </seglistitem>
218 </segmentedlist>
219
220 <variablelist>
221 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
222 <?dbfo list-presentation="list"?>
223 <?dbhtml list-presentation="table"?>
224
225 <varlistentry id="cairo-trace">
226 <term><command>cairo-trace</command></term>
227 <listitem>
228 <para>
229 generates a log of all calls made by an application to
230 <application>Cairo</application>.
231 </para>
232 <indexterm zone="cairo cairo-trace">
233 <primary sortas="b-cairo-trace">cairo-trace</primary>
234 </indexterm>
235 </listitem>
236 </varlistentry>
237
238 <varlistentry id="libcairo">
239 <term><filename class="libraryfile">libcairo.so</filename></term>
240 <listitem>
241 <para>
242 contains the 2D graphics functions required for rendering to the
243 various output targets.
244 </para>
245 <indexterm zone="cairo libcairo">
246 <primary sortas="c-libcairo">libcairo.so</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250
251 <varlistentry id="libcairo-gobject">
252 <term><filename class='libraryfile'>libcairo-gobject.so</filename></term>
253 <listitem>
254 <para>
255 contains functions that integrate
256 <application>Cairo</application> with <xref linkend="glib2"/>'s
257 GObject type system.
258 </para>
259 <indexterm zone="cairo libcairo-gobject">
260 <primary sortas="c-libcairo-gobject">libcairo-gobject.so</primary>
261 </indexterm>
262 </listitem>
263 </varlistentry>
264
265 <varlistentry id="libcairo-script-interpreter">
266 <term><filename class='libraryfile'>libcairo-script-interpreter.so</filename></term>
267 <listitem>
268 <para>
269 contains the script interpreter functions for executing and
270 manipulating <application>Cairo</application> execution traces.
271 </para>
272 <indexterm zone="cairo libcairo-script-interpreter">
273 <primary sortas="c-libcairo-script-interpreter">libcairo-script-interpreter.so</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 </variablelist>
279
280 </sect2>
281
282</sect1>
Note: See TracBrowser for help on using the repository browser.