source: general/prog/pycairo2.xml@ 8078f5f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 9.1 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8078f5f was 8078f5f, checked in by Ken Moffat <ken@…>, 5 years ago

Fix another error in pycairo2.

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

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