source: archive/py2cairo.xml@ 469bf6a1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 469bf6a1 was 7979906, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to pycairo-1.13.2. Combines
build for python2 and python3. Py2cairo archived.

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

  • Property mode set to 100644
File size: 3.9 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 py2cairo-download-http
8 "http://cairographics.org/releases/py2cairo-&py2cairo-version;.tar.bz2">
9 <!ENTITY py2cairo-download-ftp " ">
10 <!ENTITY py2cairo-md5sum "20337132c4ab06c1146ad384d55372c5">
11 <!ENTITY py2cairo-size "400 KB">
12 <!ENTITY py2cairo-buildsize "3.6 MB">
13 <!ENTITY py2cairo-time "less than 0.1 SBU">
14]>
15
16 <!-- Begin Py2cairo -->
17 <sect2 id="py2cairo" xreflabel="Py2cairo-&py2cairo-version;">
18
19 <title>Py2cairo-&py2cairo-version;</title>
20
21 <indexterm zone="py2cairo">
22 <primary sortas="a-Py2cairo">Py2cairo</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to Py2cairo Module</title>
27
28 <para>
29 Py2cairo provides <application>Python 2</application> bindings to
30 <application>Cairo</application>.
31 </para>
32
33 &lfs80_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&py2cairo-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&py2cairo-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &py2cairo-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &py2cairo-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &py2cairo-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &py2cairo-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="python2"/> and
74 <xref linkend="cairo"/>
75 </para>
76
77 <bridgehead renderas="sect5">Optional</bridgehead>
78 <para role="optional">
79 <ulink url="http://pytest.org">pytest</ulink>
80 </para>
81
82 <para condition="html" role="usernotes">
83 User Notes: <ulink url="&blfs-wiki;/py2cairo"/>
84 </para>
85 </sect3>
86
87 <sect3 role="installation">
88 <title>Installation of Py2cairo</title>
89
90 <para>
91 Install <application>Py2cairo</application> by running the following
92 commands:
93 </para>
94
95<screen><userinput>./waf configure --prefix=/usr &amp;&amp;
96./waf build</userinput></screen>
97
98 <para>
99 The test suite must be run after the package is installed.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>./waf install</userinput></screen>
107
108 <para>
109 The test suite requires the optional <application>pytest</application>
110 package. If installed, it is run by changing to the
111 <filename class='directory'>test</filename> directory and running
112 <command>py.test</command> as an unprivileged user.
113 </para>
114 </sect3>
115
116 <sect3 role="content">
117 <title>Contents</title>
118
119 <segmentedlist>
120 <segtitle>Installed Programs</segtitle>
121 <segtitle>Installed Library</segtitle>
122 <segtitle>Installed Directory</segtitle>
123
124 <seglistitem>
125 <seg>
126 None
127 </seg>
128 <seg>
129 _cairo.so
130 </seg>
131 <seg>
132 /usr/include/pycairo and
133 /usr/lib/python&python2-majorver;/site-packages/cairo
134 </seg>
135 </seglistitem>
136 </segmentedlist>
137 </sect3>
138 </sect2>
139 <!-- End Py2cairo -->
Note: See TracBrowser for help on using the repository browser.