source: x/lib/cairo.xml@ dc22bd6

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since dc22bd6 was dc22bd6, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Cairo: Clean up optional dependencies (text change only)

One of the things I've been doing over the past week is building
packages that list &qt5-deps or &qt5-components with Qt Alternate and Qt
Components.

For each one I've been checking logs for relevant information to Qt. It
doesn't show up in my logs, so I checked the Configure script and didn't
notice anything in there either.

When checking the NEWS file, I found out that several backends have been
removed - including cogl, qt, and DirectFB.

  • Property mode set to 100644
File size: 10.5 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 "&gnome-download-http;/cairo/&cairo-minor;/cairo-&cairo-version;.tar.xz">
8 <!--<!ENTITY cairo-download-http "https://www.cairographics.org/snapshots/cairo-&cairo-version;.tar.xz">
9 <!ENTITY cairo-download-http "&sources-anduin-http;/cairo/cairo-&cairo-version;.tar.xz">-->
10 <!ENTITY cairo-download-ftp " ">
11 <!ENTITY cairo-md5sum "c5a6f255af72a2e5faa8e6a53dd882e2">
12 <!ENTITY cairo-size "33 MB">
13 <!ENTITY cairo-buildsize "137 MB">
14 <!ENTITY cairo-time "0.4 SBU (Using parallelism=4)">
15]>
16
17<sect1 id="cairo" xreflabel="Cairo-&cairo-version;">
18 <?dbhtml filename="cairo.html"?>
19
20
21 <title>Cairo-&cairo-version;</title>
22
23 <indexterm zone="cairo">
24 <primary sortas="a-Cairo">Cairo</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to Cairo</title>
29
30 <para>
31 <application>Cairo</application> is a 2D graphics library with support for
32 multiple output devices. Currently supported output targets include the
33 <application>X</application> Window System, win32, image buffers,
34 PostScript, PDF and SVG. Experimental backends include OpenGL, Quartz and
35 XCB file output. <application>Cairo</application> is designed to produce
36 consistent output on all output media while taking advantage of display
37 hardware acceleration when available (e.g., through the X Render
38 Extension). The <application>Cairo</application> API provides operations
39 similar to the drawing operators of PostScript and PDF. Operations in
40 <application>Cairo</application> include stroking and filling cubic
41 B&eacute;zier splines, transforming and compositing translucent images,
42 and antialiased text rendering. All drawing operations can be transformed
43 by any
44 <ulink url="https://en.wikipedia.org/wiki/Affine_transformation">affine
45 transformation</ulink> (scale, rotation, shear, etc.).
46 </para>
47
48 &lfs120_checked;
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>
54 Download (HTTP): <ulink url="&cairo-download-http;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download (FTP): <ulink url="&cairo-download-ftp;"/>
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download MD5 sum: &cairo-md5sum;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download size: &cairo-size;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated disk space required: &cairo-buildsize;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Estimated build time: &cairo-time;
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Cairo Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <xref linkend="libpng"/> and
89 <xref linkend="pixman"/>
90 </para>
91
92 <bridgehead renderas="sect4">Recommended</bridgehead>
93 <para role="recommended">
94 <xref linkend="fontconfig"/>,
95 <xref linkend="glib2"/> (required for most GUIs), and
96 <xref linkend="xorg7-lib"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <!--<xref linkend="cogl"/>,-->
102 <xref linkend="gs"/>,
103 <xref linkend="gtk3"/> and <xref linkend="gtk2"/>,
104 <xref linkend="gtk-doc"/>,
105 <xref linkend="libdrm"/>,
106 <xref linkend="librsvg"/>,
107 <xref linkend="libxml2"/>,
108 <xref linkend="lzo"/>,
109 <xref linkend="mesa"/>,
110 <xref linkend="poppler"/>,
111 <!--&qt5-deps;,-->
112 <xref linkend="valgrind"/>,
113 <!--<ulink url="https://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,-->
114 <ulink url="https://github.com/rillian/jbig2dec/">jbig2dec</ulink>,
115 <ulink url="https://www.freedesktop.org/wiki/Software/libspectre/">libspectre</ulink>, and
116 <ulink url="https://skia.org/">Skia</ulink>
117 <!--<ulink url="https://download.qt.io/archive/qt/4.8/">Qt4</ulink>.-->
118 </para>
119
120 <note>
121 <para>
122 There is a circular dependency between cairo and harfbuzz.
123 If cairo is built before harfbuzz, it is necessary to rebuild cairo
124 after harfbuzz in order to build pango.
125 </para>
126 </note>
127
128 </sect2>
129
130 <sect2 role="installation">
131 <title>Installation of Cairo</title>
132
133 <!-- /usr/include/ansidecl.h says "This file is part of the GNU C
134 Library", but it's actually installed by Binutils. -->
135 <para>
136 Adapt this package for Binutils-2.39 or later:
137 </para>
138
139<screen><userinput>sed 's/PTR/void */' -i util/cairo-trace/lookup-symbol.c</userinput></screen>
140
141 <para>
142 Fix a pkg-config file that may cause errors later:
143 </para>
144
145<screen><userinput>sed -e "/@prefix@/a exec_prefix=@exec_prefix@" \
146 -i util/cairo-script/cairo-script-interpreter.pc.in</userinput></screen>
147
148 <para>
149 Install <application>Cairo</application> by running the following
150 commands:
151 </para>
152
153<screen><userinput>./configure --prefix=/usr \
154 --disable-static \
155 --enable-tee &amp;&amp;
156make</userinput></screen>
157
158 <para>
159 This package does not have a working test suite.
160 <!-- The test suite can be run with 'make check', but 488 tests fail and
161 59 tests pass. This seems to be due to minute changes in the expected
162 output, similar to librsvg's tests. Since it's a huge chunk of the tests,
163 let's keep it as "broken" for now.-->
164 </para>
165
166 <para>
167 Now, as the <systemitem class="username">root</systemitem> user:
168 </para>
169
170<screen role="root"><userinput>make install</userinput></screen>
171 </sect2>
172
173 <sect2 role="commands">
174 <title>Command Explanations</title>
175
176<!-- Not needed with 1.17.4
177 <para>
178 <parameter>autoreconf -fv</parameter>: This prevents
179 <command>configure</command> ending in error with the current version
180 of <application>automake</application> because the AM_INIT_AUTOMAKE
181 definitions came from a previous version.
182 </para>
183-->
184
185 <para>
186 <parameter>--enable-tee</parameter>: This switch enables the
187 experimental tee surface backend which is required if using
188 system-installed <application>Cairo</application> with Mozilla applications.
189 </para>
190
191 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
192 href="../../xincludes/static-libraries.xml"/>
193
194 <para>
195 <option>--enable-xlib-xcb</option>: This switch enables several
196 experimental Xlib/XCB functions used by some window managers.
197 </para>
198
199 <para>
200 <option>--enable-gl</option>: This switch enables
201 <application>Cairo</application>'s experimental
202 <application>OpenGL</application> surface which
203 is required for <application>Wayland</application>
204 compositor and some other packages that are not
205 part of BLFS.
206 </para>
207
208<!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
209 href="../../xincludes/gtk-doc-rebuild.xml"/>
210 NOTE: For this version, no docs are installed by default -->
211
212 <para>
213 <option>--enable-gtk-doc</option>: Use this parameter if GTK-Doc is
214 installed and you wish to create and install the documentation.
215 </para>
216
217 </sect2>
218
219 <sect2 role="content">
220 <title>Contents</title>
221
222 <segmentedlist>
223 <segtitle>Installed Programs</segtitle>
224 <segtitle>Installed Libraries</segtitle>
225 <segtitle>Installed Directories</segtitle>
226
227 <seglistitem>
228 <seg>
229 cairo-trace
230 </seg>
231 <seg>
232 libcairo.so, libcairo-gobject.so and
233 libcairo-script-interpreter.so
234 </seg>
235 <seg>
236 /usr/{include,lib,share/gtk-doc/html}/cairo
237 </seg>
238 </seglistitem>
239 </segmentedlist>
240
241 <variablelist>
242 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
243 <?dbfo list-presentation="list"?>
244 <?dbhtml list-presentation="table"?>
245
246<!--
247 <varlistentry id="cairo-sphinx">
248 <term><command>cairo-sphinx</command></term>
249 <listitem>
250 <para>
251 is an internal utility for regression analysis
252 </para>
253 <indexterm zone="cairo cairo-sphinx">
254 <primary sortas="b-cairo-sphinx">cairo-sphinx</primary>
255 </indexterm>
256 </listitem>
257 </varlistentry>
258-->
259
260 <varlistentry id="cairo-trace">
261 <term><command>cairo-trace</command></term>
262 <listitem>
263 <para>
264 generates a log of all calls made by an application to
265 <application>Cairo</application>
266 </para>
267 <indexterm zone="cairo cairo-trace">
268 <primary sortas="b-cairo-trace">cairo-trace</primary>
269 </indexterm>
270 </listitem>
271 </varlistentry>
272
273 <varlistentry id="libcairo">
274 <term><filename class="libraryfile">libcairo.so</filename></term>
275 <listitem>
276 <para>
277 contains the 2D graphics functions required for rendering to the
278 various output targets
279 </para>
280 <indexterm zone="cairo libcairo">
281 <primary sortas="c-libcairo">libcairo.so</primary>
282 </indexterm>
283 </listitem>
284 </varlistentry>
285
286 <varlistentry id="libcairo-gobject">
287 <term><filename class="libraryfile">libcairo-gobject.so</filename></term>
288 <listitem>
289 <para>
290 contains functions that integrate
291 <application>Cairo</application> with
292 <application>Glib</application>'s GObject type system
293 </para>
294 <indexterm zone="cairo libcairo-gobject">
295 <primary sortas="c-libcairo-gobject">libcairo-gobject.so</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="libcairo-script-interpreter">
301 <term><filename class="libraryfile">libcairo-script-interpreter.so</filename></term>
302 <listitem>
303 <para>
304 contains the script interpreter functions for executing and
305 manipulating <application>Cairo</application> execution traces
306 </para>
307 <indexterm zone="cairo libcairo-script-interpreter">
308 <primary sortas="c-libcairo-script-interpreter">libcairo-script-interpreter.so</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 </variablelist>
314
315 </sect2>
316
317</sect1>
Note: See TracBrowser for help on using the repository browser.