source: x/lib/cairo.xml@ e257101

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 e257101 was c5c2654, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #10

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

  • Property mode set to 100644
File size: 5.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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.gz">
8 <!ENTITY cairo-download-ftp " ">
9 <!ENTITY cairo-md5sum "9002b0e69b3f94831a22d3f2a7735ce2">
10 <!ENTITY cairo-size "1.4 MB">
11 <!ENTITY cairo-buildsize "30.6 MB">
12 <!ENTITY cairo-time "0.4 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 <keywordset>
22 <keyword role="package">cairo-&cairo-version;.tar</keyword>
23 <keyword role="ftpdir">cairo</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>cairo-&cairo-version;</title>
28
29 <indexterm zone="cairo">
30 <primary sortas="a-cairo">cairo</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to cairo</title>
35
36 <para><application>cairo</application> is a 2D graphics library with
37 support for multiple output devices. Currently supported output targets
38 include the <application>X</application> Window System, win32, and image
39 buffers. Experimental backends include OpenGL (through glitz), Quartz,
40 XCB, PostScript and PDF file output. cairo is designed to produce
41 consistent output on all output media while taking advantage of display
42 hardware acceleration when available (e.g., through the X Render
43 Extension). The <application>cairo</application> API provides operations
44 similar to the drawing operators of PostScript and PDF. Operations in
45 <application>cairo</application> include stroking and filling cubic
46 Bézier splines, transforming and compositing translucent images, and
47 antialiased text rendering. All drawing operations can be transformed by
48 any affine transformation (scale, rotation, shear, etc.).</para>
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>Download (HTTP): <ulink url="&cairo-download-http;"/></para>
54 </listitem>
55 <listitem>
56 <para>Download (FTP): <ulink url="&cairo-download-ftp;"/></para>
57 </listitem>
58 <listitem>
59 <para>Download MD5 sum: &cairo-md5sum;</para>
60 </listitem>
61 <listitem>
62 <para>Download size: &cairo-size;</para>
63 </listitem>
64 <listitem>
65 <para>Estimated disk space required: &cairo-buildsize;</para>
66 </listitem>
67 <listitem>
68 <para>Estimated build time: &cairo-time;</para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">cairo Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required"><xref linkend="x-window-system"/> and
76 <xref linkend="pkgconfig"/></para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional"><ulink
80 url="http://www.freedesktop.org/Software/glitz">glitz</ulink>,
81 <ulink url="http://xcb.freedesktop.org/wiki/">XCB</ulink>, and
82 <xref linkend="gtk-doc"/></para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/cairo"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of cairo</title>
91
92 <para><application>cairo</application> will look for an
93 <application>X Render</application> <application>pkg-config</application>
94 file. If you use <application>XFree86</application> as your
95 <application>X</application> Window system, ensure this file exists
96 (<filename>/usr/X11R6/lib/pkgconfig/xrender.pc</filename>). Instructions to
97 create this file have just recently been added to the BLFS book, so you may
98 need to go back to the <application>XFree86</application> section to create
99 it.</para>
100
101 <para>Install <application>cairo</application> by running the following
102 commands:</para>
103
104<screen><userinput>sed -i -e 's/type == GLITZ/color.fourcc == GLITZ/' \
105 -e 's/FORMAT_TYPE_COLOR/FOURCC_RGB/' \
106 src/cairo-glitz-surface.c &amp;&amp;
107./configure --prefix=/usr &amp;&amp;
108make</userinput></screen>
109
110 <para>To test the results, issue: <command>make check</command>.</para>
111
112 <para>Now, as the <systemitem class="username">root</systemitem> user:</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 <para><command>sed -i -e '...' -e '...' src/cairo-glitz-surface.c</command>:
122 This command (copied from upstream CVS) fixes a build problem if you link
123 <application>glitz</application> into the build by passing
124 <option>--enable-glitz</option> to the <command>configure</command>
125 script.</para>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>None</seg>
139 <seg>libcairo.{so,a}</seg>
140 <seg>/usr/include/cairo and /usr/share/gtk-doc/html/cairo</seg>
141 </seglistitem>
142 </segmentedlist>
143
144 <variablelist>
145 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
146 <?dbfo list-presentation="list"?>
147 <?dbhtml list-presentation="table"?>
148
149 <varlistentry id="libcairo">
150 <term><filename class='libraryfile'>libcairo.{so,a}</filename></term>
151 <listitem>
152 <para>contains the 2D graphics functions required for rendering to
153 the various output targets.</para>
154 <indexterm zone="cairo libcairo">
155 <primary sortas="c-libcairo">libcairo.{so,a}</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 </variablelist>
161
162 </sect2>
163
164</sect1>
Note: See TracBrowser for help on using the repository browser.