source: x/lib/cairo.xml@ fb79d0a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fb79d0a was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 10.0 KB
RevLine 
[bb41bc7]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" [
[bb41bc7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[a2ce753]7 <!ENTITY cairo-download-http "https://www.cairographics.org/snapshots/cairo-&cairo-version;.tar.xz">
8 <!--<!ENTITY cairo-download-http "&sources-anduin-http;/cairo/cairo-&cairo-version;.tar.xz">-->
[97ccf511]9 <!ENTITY cairo-download-ftp " ">
[a2ce753]10 <!ENTITY cairo-md5sum "bf9d0d324ecbd350d0e9308125fa4ce0">
[310a001]11 <!ENTITY cairo-size "40 MB">
[a2ce753]12 <!ENTITY cairo-buildsize "154 MB">
13 <!ENTITY cairo-time "0.8 SBU">
[bb41bc7]14]>
15
[a2912ff]16<sect1 id="cairo" xreflabel="Cairo-&cairo-version;">
[bb41bc7]17 <?dbhtml filename="cairo.html"?>
18
19 <sect1info>
20 <date>$Date$</date>
21 </sect1info>
22
[a2912ff]23 <title>Cairo-&cairo-version;</title>
[bb41bc7]24
25 <indexterm zone="cairo">
[a2912ff]26 <primary sortas="a-Cairo">Cairo</primary>
[bb41bc7]27 </indexterm>
28
29 <sect2 role="package">
[4db1ba6]30 <title>Introduction to Cairo</title>
[bb41bc7]31
[521cea0]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
[68d01360]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
[521cea0]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>
[bb41bc7]49
[3df8ea47]50 &lfs101_checked;
[3af39b1]51
[bb41bc7]52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
[521cea0]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>
[bb41bc7]63 </listitem>
64 <listitem>
[521cea0]65 <para>
66 Download MD5 sum: &cairo-md5sum;
67 </para>
[bb41bc7]68 </listitem>
69 <listitem>
[521cea0]70 <para>
71 Download size: &cairo-size;
72 </para>
[bb41bc7]73 </listitem>
74 <listitem>
[521cea0]75 <para>
76 Estimated disk space required: &cairo-buildsize;
77 </para>
[bb41bc7]78 </listitem>
79 <listitem>
[521cea0]80 <para>
81 Estimated build time: &cairo-time;
82 </para>
[bb41bc7]83 </listitem>
[521cea0]84 </itemizedlist>
85
[4db1ba6]86 <bridgehead renderas="sect3">Cairo Dependencies</bridgehead>
[bb41bc7]87
88 <bridgehead renderas="sect4">Required</bridgehead>
[b8a081c]89 <para role="required">
[1cfd61d]90 <xref linkend="libpng"/> and
[b0ae5b7]91 <xref linkend="pixman"/>
[4db1ba6]92 </para>
93
[f575476]94 <bridgehead renderas="sect4">Recommended</bridgehead>
[4db1ba6]95 <para role="recommended">
[1cfd61d]96 <xref linkend="fontconfig"/>,
[3df8ea47]97 <xref linkend="glib2"/> (required for most GUIs), and
[a2912ff]98 <xref linkend="xorg7-lib"/>
[b8a081c]99 </para>
[bc9c1def]100
[bb41bc7]101 <bridgehead renderas="sect4">Optional</bridgehead>
[b8a081c]102 <para role="optional">
103 <xref linkend="cogl"/>,
[11d14a27]104 <xref linkend="gs"/>,
105 <xref linkend="gtk3"/> and <xref linkend="gtk2"/>,
[b8a081c]106 <xref linkend="gtk-doc"/>,
[521cea0]107 <xref linkend="libdrm"/>,
[11d14a27]108 <xref linkend="librsvg"/>,
[f68e46f]109 <xref linkend="libxml2"/>,
[652b18b]110 <xref linkend="lzo"/>,
[7a395d1]111 <xref linkend="mesa"/>,
[11d14a27]112 <xref linkend="poppler"/>,
[f68e46f]113 <xref linkend="qt5"/>,
[ae629f3]114 <xref linkend="valgrind"/>,
[8763a1da]115 <ulink url="http://pkgs.fedoraproject.org/repo/pkgs/directfb/">DirectFB</ulink>,
[11d14a27]116 <ulink url="https://github.com/rillian/jbig2dec/">jbig2dec</ulink>,
117 <ulink url="https://www.freedesktop.org/wiki/Software/libspectre/">libspectre</ulink>,
118 <ulink url="https://skia.org/">Skia</ulink>, and
[a5592158]119 <ulink url="http://download.qt.io/archive/qt/4.8/">Qt4</ulink>.
[b8a081c]120 </para>
[6e08fa52]121
[baac59c]122 <note>
123 <para>
124 There is a circular dependency between cairo and harfbuzz.
125 If cairo is built before harfbuzz, it is necessary to rebuild cairo
126 after harfbuzz in order to build pango.
127 </para>
128 </note>
[e641675]129
[521cea0]130 <para condition="html" role="usernotes">
131 User Notes: <ulink url="&blfs-wiki;/cairo"/>
132 </para>
[bb41bc7]133 </sect2>
134
135 <sect2 role="installation">
[4db1ba6]136 <title>Installation of Cairo</title>
[bb41bc7]137
[521cea0]138 <para>
139 Install <application>Cairo</application> by running the following
140 commands:
141 </para>
[bb41bc7]142
[a2ce753]143<screen><userinput>./configure --prefix=/usr \
[9ad08f8]144 --disable-static \
145 --enable-tee &amp;&amp;
[bb41bc7]146make</userinput></screen>
147
[f575476]148 <para>
149 This package does not have a working testsuite.
[a2ce753]150 <!-- The test suite can be run with 'make check', but 488 tests fail and
151 59 tests pass. This seems to be due to minute changes in the expected
152 output, similar to librsvg's tests. Since it's a huge chunk of the tests,
153 let's keep it as "broken" for now.-->
[521cea0]154 </para>
[bb41bc7]155
[521cea0]156 <para>
157 Now, as the <systemitem class="username">root</systemitem> user:
158 </para>
[bb41bc7]159
160<screen role="root"><userinput>make install</userinput></screen>
161 </sect2>
162
[15a4fb4c]163 <sect2 role="commands">
164 <title>Command Explanations</title>
165
[a2ce753]166<!-- Not needed with 1.17.4
[e24dbc2]167 <para>
[1ea3b96]168 <parameter>autoreconf -fv</parameter>: This prevents
[e24dbc2]169 <command>configure</command> ending in error with the current version
170 of <application>automake</application> because the AM_INIT_AUTOMAKE
171 definitions came from a previous version.
172 </para>
[a2ce753]173-->
[e24dbc2]174
[7251b1d]175 <para>
[11d14a27]176 <parameter>--enable-tee</parameter>: This switch enables the
177 experimental tee surface backend which is required if using
178 system-installed <application>Cairo</application> with Mozilla applications.
[7251b1d]179 </para>
180
[a98acfe7]181 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
182 href="../../xincludes/static-libraries.xml"/>
[827336dc]183
[74520e8]184 <para>
[11d14a27]185 <option>--enable-xlib-xcb</option>: This switch enables several
[5ec23d4]186 experimental Xlib/XCB functions used by some window managers.
[74520e8]187 </para>
188
[521cea0]189 <para>
[f575476]190 <option>--enable-gl</option>: This switch enables
191 <application>Cairo</application>'s experimental
192 <application>OpenGL</application> surface which
193 is required for <application>Wayland</application>
[a98acfe7]194 compositor and some other packages that are not
195 part of BLFS.
[521cea0]196 </para>
[bc9c1def]197
[f25b2c03]198<!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[a2912ff]199 href="../../xincludes/gtk-doc-rebuild.xml"/>
[f25b2c03]200 NOTE: For this version, no docs are installed by default -->
201
202 <para>
203 <option>--enable-gtk-doc</option>: Use this parameter if GTK-Doc is
204 installed and you wish to create and install the documentation.
205 </para>
[a2912ff]206
[15a4fb4c]207 </sect2>
208
[bb41bc7]209 <sect2 role="content">
210 <title>Contents</title>
211
212 <segmentedlist>
213 <segtitle>Installed Programs</segtitle>
[742b99e]214 <segtitle>Installed Libraries</segtitle>
[bb41bc7]215 <segtitle>Installed Directories</segtitle>
216
217 <seglistitem>
[b8a081c]218 <seg>
[a2ce753]219 cairo-trace
[b8a081c]220 </seg>
221 <seg>
[4db1ba6]222 libcairo.so, libcairo-gobject.so and
223 libcairo-script-interpreter.so
[b8a081c]224 </seg>
225 <seg>
[49a38a1]226 /usr/{include,lib,share/gtk-doc/html}/cairo
[b8a081c]227 </seg>
[bb41bc7]228 </seglistitem>
229 </segmentedlist>
230
231 <variablelist>
232 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
233 <?dbfo list-presentation="list"?>
234 <?dbhtml list-presentation="table"?>
235
[a2ce753]236<!--
[298fee30]237 <varlistentry id="cairo-sphinx">
238 <term><command>cairo-sphinx</command></term>
239 <listitem>
240 <para>
[4c24eb0a]241 is an internal utility for regression analysis
[298fee30]242 </para>
243 <indexterm zone="cairo cairo-sphinx">
244 <primary sortas="b-cairo-sphinx">cairo-sphinx</primary>
245 </indexterm>
246 </listitem>
247 </varlistentry>
[a2ce753]248-->
[298fee30]249
[827336dc]250 <varlistentry id="cairo-trace">
251 <term><command>cairo-trace</command></term>
252 <listitem>
[521cea0]253 <para>
254 generates a log of all calls made by an application to
[4c24eb0a]255 <application>Cairo</application>
[521cea0]256 </para>
[827336dc]257 <indexterm zone="cairo cairo-trace">
258 <primary sortas="b-cairo-trace">cairo-trace</primary>
259 </indexterm>
260 </listitem>
261 </varlistentry>
262
[bb41bc7]263 <varlistentry id="libcairo">
[f575476]264 <term><filename class="libraryfile">libcairo.so</filename></term>
[bb41bc7]265 <listitem>
[521cea0]266 <para>
267 contains the 2D graphics functions required for rendering to the
[4c24eb0a]268 various output targets
[521cea0]269 </para>
[bb41bc7]270 <indexterm zone="cairo libcairo">
[4db1ba6]271 <primary sortas="c-libcairo">libcairo.so</primary>
[bb41bc7]272 </indexterm>
273 </listitem>
274 </varlistentry>
275
[827336dc]276 <varlistentry id="libcairo-gobject">
[7ca0e36]277 <term><filename class="libraryfile">libcairo-gobject.so</filename></term>
[827336dc]278 <listitem>
[521cea0]279 <para>
280 contains functions that integrate
[11d14a27]281 <application>Cairo</application> with
[4c24eb0a]282 <application>Glib</application>'s GObject type system
[521cea0]283 </para>
[827336dc]284 <indexterm zone="cairo libcairo-gobject">
[4db1ba6]285 <primary sortas="c-libcairo-gobject">libcairo-gobject.so</primary>
[827336dc]286 </indexterm>
287 </listitem>
288 </varlistentry>
289
290 <varlistentry id="libcairo-script-interpreter">
[7ca0e36]291 <term><filename class="libraryfile">libcairo-script-interpreter.so</filename></term>
[827336dc]292 <listitem>
[521cea0]293 <para>
294 contains the script interpreter functions for executing and
[4c24eb0a]295 manipulating <application>Cairo</application> execution traces
[521cea0]296 </para>
[827336dc]297 <indexterm zone="cairo libcairo-script-interpreter">
[4db1ba6]298 <primary sortas="c-libcairo-script-interpreter">libcairo-script-interpreter.so</primary>
[827336dc]299 </indexterm>
300 </listitem>
301 </varlistentry>
[a2912ff]302
[bb41bc7]303 </variablelist>
[a2912ff]304
[bb41bc7]305 </sect2>
[a2912ff]306
[bb41bc7]307</sect1>
Note: See TracBrowser for help on using the repository browser.