source: general/prog/pycairo.xml@ f73ad111

10.0 10.1 11.0 11.1 11.2 9.1 lazarus qt5new trunk upgradedb xry111/intltool xry111/soup3 xry111/test-20220226
Last change on this file since f73ad111 was f73ad111, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Make pygobject3 text reference py3.8 instead of py3.7
Update to pycairo-1.18.2

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

  • Property mode set to 100644
File size: 4.7 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 pycairo-download-http "https://github.com/pygobject/pycairo/releases/download/v&pycairo-version;/pycairo-&pycairo-version;.tar.gz">
8 <!ENTITY pycairo-download-ftp " ">
9 <!ENTITY pycairo-md5sum "be2ba51f234270dec340f28f1695a95e">
10 <!ENTITY pycairo-size "196 KB">
11 <!ENTITY pycairo-buildsize "7.2 MB">
12 <!ENTITY pycairo-time "less than 0.1 SBU">
13]>
14
15 <!-- Begin PyCairo -->
16 <sect2 id="pycairo" xreflabel="PyCairo-&pycairo-version;">
17
18 <title>PyCairo-&pycairo-version;</title>
19
20 <indexterm zone="pycairo">
21 <primary sortas="a-PyCairo">PyCairo</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to PyCairo Module</title>
26
27 <para>
28 PyCairo provides <application>Python</application> bindings to
29 <application>Cairo</application>.
30 </para>
31
32 &lfs90_checked;
33 <!-- Does not use gcc -->
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&pycairo-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&pycairo-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &pycairo-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &pycairo-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &pycairo-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &pycairo-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">PyCairo Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="cairo"/>
74 </para>
75
76 <bridgehead renderas="sect5">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="python2"/> (<xref role="nodep" linkend="pygtk"/>
79 can only use <application>Python 2</application>)
80 </para>
81
82 <bridgehead renderas="sect5">Optional</bridgehead>
83 <para role="optional">
84 <ulink url="https://hypothesis.readthedocs.io">Hypothesis</ulink>
85 (for tests)
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/pycairo"/>
90 </para>
91 </sect3>
92
93 <sect3 role="installation">
94 <title>Installation of PyCairo</title>
95
96 <para>
97 Install <application>PyCairo</application> for Python2 and Python3 by
98 running the following commands:
99 </para>
100
101<screen><userinput>python2 setup.py build &amp;&amp;
102python3 setup.py build</userinput></screen>
103
104 <para>
105 This package does not come with a test suite.
106 </para>
107
108 <para>
109 Now, as the <systemitem class="username">root</systemitem> user:
110 </para>
111
112<screen role="root"><userinput>python2 setup.py install --optimize=1 &amp;&amp;
113python2 setup.py install_pycairo_header &amp;&amp;
114python2 setup.py install_pkgconfig &amp;&amp;
115python3 setup.py install --optimize=1 &amp;&amp;
116python3 setup.py install_pycairo_header &amp;&amp;
117python3 setup.py install_pkgconfig</userinput></screen>
118<!-- Seems that install does the following too
119python2 setup.py install_pycairo_header &amp;&amp;
120python2 setup.py install_pkgconfig</userinput></screen>-->
121
122 </sect3>
123
124 <sect3 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directories</segtitle>
131
132 <seglistitem>
133 <seg>
134 None
135 </seg>
136 <seg>
137 _cairo.so (python2) and
138 _cairo.cpython-38m-x86_64-linux-gnu.so (python3)
139 </seg>
140 <seg>
141 /usr/include/pycairo,
142 /usr/lib/python&python2-majorver;/site-packages/cairo,
143 /usr/lib/python&python2-majorver;/site-packages/pycairo-&pycairo-version;-py&python2-majorver;.egg,
144 /usr/lib/python&python3-majorver;/site-packages/cairo, and
145 /usr/lib/python&python3-majorver;/site-packages/pycairo-&pycairo-version;-py&python3-majorver;.egg
146 </seg>
147 </seglistitem>
148 </segmentedlist>
149 </sect3>
150 </sect2>
151 <!-- End PyCairo -->
Note: See TracBrowser for help on using the repository browser.