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 dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
|
---|
8 | <!ENTITY dbus-python-download-ftp " ">
|
---|
9 | <!ENTITY dbus-python-md5sum "b09cd2d1a057cc432ce944de3fc06bf7">
|
---|
10 | <!ENTITY dbus-python-size "592 KB">
|
---|
11 | <!ENTITY dbus-python-buildsize "11 MB">
|
---|
12 | <!ENTITY dbus-python-time "0.3 SBU">
|
---|
13 |
|
---|
14 | <!ENTITY notify-python-download-http
|
---|
15 | "http://www.galago-project.org/files/releases/source/notify-python/notify-python-¬ify-python-version;.tar.bz2">
|
---|
16 | <!ENTITY notify-python-download-ftp " ">
|
---|
17 | <!ENTITY notify-python-md5sum "d247cf79b46cef7495deb0a76334f81d">
|
---|
18 | <!ENTITY notify-python-size "212 KB">
|
---|
19 | <!ENTITY notify-python-buildsize "2.3 MB">
|
---|
20 | <!ENTITY notify-python-time "less than 0.1 SBU">
|
---|
21 |
|
---|
22 | <!ENTITY py2cairo-download-http
|
---|
23 | "http://cairographics.org/releases/py2cairo-&py2cairo-version;.tar.bz2">
|
---|
24 | <!ENTITY py2cairo-download-ftp " ">
|
---|
25 | <!ENTITY py2cairo-md5sum "20337132c4ab06c1146ad384d55372c5">
|
---|
26 | <!ENTITY py2cairo-size "400 KB">
|
---|
27 | <!ENTITY py2cairo-buildsize "3.6 MB">
|
---|
28 | <!ENTITY py2cairo-time "less than 0.1 SBU">
|
---|
29 |
|
---|
30 | <!ENTITY pycairo-download-http
|
---|
31 | "http://cairographics.org/releases/pycairo-&pycairo-version;.tar.bz2">
|
---|
32 | <!ENTITY pycairo-download-ftp " ">
|
---|
33 | <!ENTITY pycairo-md5sum "e6fd3f2f1e6a72e0db0868c4985669c5">
|
---|
34 | <!ENTITY pycairo-size "244 KB">
|
---|
35 | <!ENTITY pycairo-buildsize "3.0 MB">
|
---|
36 | <!ENTITY pycairo-time "less than 0.1 SBU">
|
---|
37 |
|
---|
38 | <!ENTITY pygobject2-download-http
|
---|
39 | "&gnome-download-http;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
|
---|
40 | <!ENTITY pygobject2-download-ftp
|
---|
41 | "&gnome-download-ftp;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
|
---|
42 | <!ENTITY pygobject2-md5sum "9415cb7f2b3a847f2310ccea258b101e">
|
---|
43 | <!ENTITY pygobject2-size "730 KB">
|
---|
44 | <!ENTITY pygobject2-buildsize "25 MB">
|
---|
45 | <!ENTITY pygobject2-time "0.2 SBU">
|
---|
46 |
|
---|
47 | <!ENTITY pygobject3-download-http
|
---|
48 | "&gnome-download-http;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">
|
---|
49 | <!ENTITY pygobject3-download-ftp
|
---|
50 | "&gnome-download-ftp;/pygobject/3.8/pygobject-&pygobject3-version;.tar.xz">
|
---|
51 | <!ENTITY pygobject3-md5sum "607976fa21cee004cae12795a88d2675">
|
---|
52 | <!ENTITY pygobject3-size "640 KB">
|
---|
53 | <!ENTITY pygobject3-buildsize "30 MB">
|
---|
54 | <!ENTITY pygobject3-time "0.3 SBU">
|
---|
55 |
|
---|
56 | <!ENTITY pygtk-download-http
|
---|
57 | "&gnome-download-http;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
|
---|
58 | <!ENTITY pygtk-download-ftp
|
---|
59 | "&gnome-download-ftp;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
|
---|
60 | <!ENTITY pygtk-md5sum "a1051d5794fd7696d3c1af6422d17a49">
|
---|
61 | <!ENTITY pygtk-size "2.2 MB">
|
---|
62 | <!ENTITY pygtk-buildsize "83 MB">
|
---|
63 | <!ENTITY pygtk-time "0.7 SBU">
|
---|
64 |
|
---|
65 | <!ENTITY pyatspi2-download-http
|
---|
66 | "&gnome-download-http;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">
|
---|
67 | <!ENTITY pyatspi2-download-ftp
|
---|
68 | "&gnome-download-ftp;/pyatspi/2.8/pyatspi-&pyatspi2-version;.tar.xz">
|
---|
69 | <!ENTITY pyatspi2-md5sum "930f51c62cca60ebdf90f735d26385b2">
|
---|
70 | <!ENTITY pyatspi2-size "284 KB">
|
---|
71 | <!ENTITY pyatspi2-buildsize "5.0 MB">
|
---|
72 | <!ENTITY pyatspi2-time "less than 0.1 SBU">
|
---|
73 |
|
---|
74 | <!ENTITY pyrex-download-http
|
---|
75 | "http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-&pyrex-version;.tar.gz">
|
---|
76 | <!ENTITY pyrex-download-ftp " ">
|
---|
77 | <!ENTITY pyrex-md5sum "515dee67d15d4393841e2d60e8341947">
|
---|
78 | <!ENTITY pyrex-size "252 KB">
|
---|
79 | <!ENTITY pyrex-buildsize "4.0 MB">
|
---|
80 | <!ENTITY pyrex-time "less than 0.1 SBU">
|
---|
81 | ]>
|
---|
82 |
|
---|
83 | <sect1 id="python-modules" xreflabel="Python modules">
|
---|
84 | <?dbhtml filename="python-modules.html" ?>
|
---|
85 |
|
---|
86 | <sect1info>
|
---|
87 | <othername>$LastChangedBy$</othername>
|
---|
88 | <date>$Date$</date>
|
---|
89 | </sect1info>
|
---|
90 |
|
---|
91 | <title>Python Modules</title>
|
---|
92 |
|
---|
93 | <indexterm zone="python-modules">
|
---|
94 | <primary sortas="a-Python-modules">Python modules</primary>
|
---|
95 | </indexterm>
|
---|
96 |
|
---|
97 | <sect2 role="package">
|
---|
98 | <title>Introduction to Python Modules</title>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | The <application>Python</application> module packages add useful objects
|
---|
102 | to the <application>Python</application> language. Modules utilized by
|
---|
103 | packages throughout BLFS are listed here, along with their dependencies.
|
---|
104 | Installation of the modules shown on this page is meant to follow from top
|
---|
105 | to bottom to handle optional dependencies in each module.
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <itemizedlist spacing="compact">
|
---|
109 | <listitem>
|
---|
110 | <para>
|
---|
111 | <xref linkend="dbus-python"/>
|
---|
112 | </para>
|
---|
113 | </listitem>
|
---|
114 | <listitem>
|
---|
115 | <para>
|
---|
116 | <xref linkend="notify-python"/>
|
---|
117 | </para>
|
---|
118 | </listitem>
|
---|
119 | <listitem>
|
---|
120 | <para>
|
---|
121 | <xref linkend="py2cairo"/>
|
---|
122 | </para>
|
---|
123 | </listitem>
|
---|
124 | <listitem>
|
---|
125 | <para>
|
---|
126 | <xref linkend="pycairo"/>
|
---|
127 | </para>
|
---|
128 | </listitem>
|
---|
129 | <listitem>
|
---|
130 | <para>
|
---|
131 | <xref linkend="pygobject2"/>
|
---|
132 | </para>
|
---|
133 | </listitem>
|
---|
134 | <listitem>
|
---|
135 | <para>
|
---|
136 | <xref linkend="pygobject3"/>
|
---|
137 | </para>
|
---|
138 | </listitem>
|
---|
139 | <listitem>
|
---|
140 | <para>
|
---|
141 | <xref linkend="pygtk"/>
|
---|
142 | </para>
|
---|
143 | </listitem>
|
---|
144 | <listitem>
|
---|
145 | <para>
|
---|
146 | <xref linkend="pyatspi2"/>
|
---|
147 | </para>
|
---|
148 | </listitem>
|
---|
149 | <listitem>
|
---|
150 | <para>
|
---|
151 | <xref linkend="pyrex"/>
|
---|
152 | </para>
|
---|
153 | </listitem>
|
---|
154 | </itemizedlist>
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | <!-- Begin D-Bus Python -->
|
---|
158 | <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
|
---|
159 | <title>D-Bus Python</title>
|
---|
160 |
|
---|
161 | <indexterm zone="dbus-python">
|
---|
162 | <primary sortas="a-dbus-python">dbus-python</primary>
|
---|
163 | </indexterm>
|
---|
164 |
|
---|
165 | <sect3 role="package">
|
---|
166 | <title>Introduction to D-Bus Python Module</title>
|
---|
167 |
|
---|
168 | <para>
|
---|
169 | <application>D-Bus Python</application> provides
|
---|
170 | <application>Python</application> bindings to the
|
---|
171 | <application>D-Bus</application>.
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | &lfs73_checked;
|
---|
175 |
|
---|
176 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
177 | <itemizedlist spacing="compact">
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | Download (HTTP): <ulink url="&dbus-python-download-http;"/>
|
---|
181 | </para>
|
---|
182 | </listitem>
|
---|
183 | <listitem>
|
---|
184 | <para>
|
---|
185 | Download (FTP): <ulink url="&dbus-python-download-ftp;"/>
|
---|
186 | </para>
|
---|
187 | </listitem>
|
---|
188 | <listitem>
|
---|
189 | <para>
|
---|
190 | Download MD5 sum: &dbus-python-md5sum;
|
---|
191 | </para>
|
---|
192 | </listitem>
|
---|
193 | <listitem>
|
---|
194 | <para>
|
---|
195 | Download size: &dbus-python-size;
|
---|
196 | </para>
|
---|
197 | </listitem>
|
---|
198 | <listitem>
|
---|
199 | <para>
|
---|
200 | Estimated disk space required: &dbus-python-buildsize;
|
---|
201 | </para>
|
---|
202 | </listitem>
|
---|
203 | <listitem>
|
---|
204 | <para>
|
---|
205 | Estimated build time: &dbus-python-time;
|
---|
206 | </para>
|
---|
207 | </listitem>
|
---|
208 | </itemizedlist>
|
---|
209 |
|
---|
210 | <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
|
---|
211 |
|
---|
212 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
213 | <para role="required">
|
---|
214 | <xref linkend="dbus-glib"/> and
|
---|
215 | <xref linkend="python2"/> and/or
|
---|
216 | <xref linkend="python3"/>
|
---|
217 | </para>
|
---|
218 |
|
---|
219 | <bridgehead renderas="sect5">
|
---|
220 | Optional (Required to build the API and HTML Documentation)
|
---|
221 | </bridgehead>
|
---|
222 | <para role="optional">
|
---|
223 | <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
|
---|
224 | <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
|
---|
225 | </para>
|
---|
226 |
|
---|
227 | <para condition="html" role="usernotes">User Notes:
|
---|
228 | <ulink url="&blfs-wiki;/dbus-python"/>
|
---|
229 | </para>
|
---|
230 | </sect3>
|
---|
231 |
|
---|
232 | <sect3 role="installation">
|
---|
233 | <title>Installation of D-Bus Python</title>
|
---|
234 |
|
---|
235 | <note>
|
---|
236 | <para>
|
---|
237 | Both <application>Python 2</application> and
|
---|
238 | <application>Python 3</application> modules can
|
---|
239 | be built and installed without any conflicts.
|
---|
240 | </para>
|
---|
241 | </note>
|
---|
242 |
|
---|
243 | <para>
|
---|
244 | To build <application>D-Bus Python</application> as the
|
---|
245 | <application>Python 2</application> module, run the
|
---|
246 | following commands:
|
---|
247 | </para>
|
---|
248 |
|
---|
249 | <screen><userinput>mkdir python2 &&
|
---|
250 | pushd python2 &&
|
---|
251 | PYTHON=/usr/bin/python \
|
---|
252 | ../configure --prefix=/usr \
|
---|
253 | --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
254 | make &&
|
---|
255 | popd</userinput></screen>
|
---|
256 |
|
---|
257 | <para>
|
---|
258 | To test the results, issue: <command>make -C python2 check</command>.
|
---|
259 | </para>
|
---|
260 |
|
---|
261 | <para>
|
---|
262 | To build <application>D-Bus Python</application> as the
|
---|
263 | <application>Python 3</application> module, run the
|
---|
264 | following commands:
|
---|
265 | </para>
|
---|
266 |
|
---|
267 | <screen><userinput>mkdir python3 &&
|
---|
268 | pushd python3 &&
|
---|
269 | PYTHON=/usr/bin/python3 \
|
---|
270 | ../configure --prefix=/usr \
|
---|
271 | --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
272 | make &&
|
---|
273 | popd</userinput></screen>
|
---|
274 |
|
---|
275 | <para>
|
---|
276 | To test the results, issue: <command>make -C python3 check</command>.
|
---|
277 | </para>
|
---|
278 |
|
---|
279 | <para>
|
---|
280 | To install the <application>Python 2</application> module,
|
---|
281 | run the following command as the
|
---|
282 | <systemitem class="username">root</systemitem> user:
|
---|
283 | </para>
|
---|
284 |
|
---|
285 | <screen role="root"><userinput>make -C python2 install</userinput></screen>
|
---|
286 |
|
---|
287 | <para>
|
---|
288 | To install the <application>Python 3</application> module,
|
---|
289 | run the following command as the
|
---|
290 | <systemitem class="username">root</systemitem> user:
|
---|
291 | </para>
|
---|
292 |
|
---|
293 | <screen role="root"><userinput>make -C python3 install</userinput></screen>
|
---|
294 |
|
---|
295 | </sect3>
|
---|
296 |
|
---|
297 | <sect3 role="content">
|
---|
298 | <title>Contents</title>
|
---|
299 |
|
---|
300 | <segmentedlist>
|
---|
301 | <segtitle>Installed Programs</segtitle>
|
---|
302 | <segtitle>Installed Libraries</segtitle>
|
---|
303 | <segtitle>Installed Directories</segtitle>
|
---|
304 |
|
---|
305 | <seglistitem>
|
---|
306 | <seg>
|
---|
307 | None
|
---|
308 | </seg>
|
---|
309 | <seg>
|
---|
310 | None
|
---|
311 | </seg>
|
---|
312 | <seg>
|
---|
313 | /usr/share/doc/dbus-python-&dbus-python-version; and
|
---|
314 | /usr/lib/python&python2-majorver;/site-packages/dbus and/or
|
---|
315 | /usr/lib/python&python3-majorver;/site-packages/dbus
|
---|
316 | </seg>
|
---|
317 | </seglistitem>
|
---|
318 | </segmentedlist>
|
---|
319 |
|
---|
320 | </sect3>
|
---|
321 |
|
---|
322 | </sect2>
|
---|
323 | <!-- End D-Bus Python -->
|
---|
324 |
|
---|
325 | <!-- Begin Notify Python -->
|
---|
326 | <sect2 id="notify-python" xreflabel="Notify Python-¬ify-python-version;">
|
---|
327 |
|
---|
328 | <title>Notify Python-¬ify-python-version;</title>
|
---|
329 |
|
---|
330 | <indexterm zone="notify-python">
|
---|
331 | <primary sortas="a-notify-python">notify-python</primary>
|
---|
332 | </indexterm>
|
---|
333 |
|
---|
334 | <sect3 role="package">
|
---|
335 | <title>Introduction to Notify Python Module</title>
|
---|
336 |
|
---|
337 | <para>
|
---|
338 | Notify Python provides <application>Python 2</application>
|
---|
339 | bindings to the <application>libnotify</application>.
|
---|
340 | </para>
|
---|
341 |
|
---|
342 | &lfs72_checked;
|
---|
343 |
|
---|
344 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
345 | <itemizedlist spacing="compact">
|
---|
346 | <listitem>
|
---|
347 | <para>
|
---|
348 | Download (HTTP): <ulink url="¬ify-python-download-http;"/>
|
---|
349 | </para>
|
---|
350 | </listitem>
|
---|
351 | <listitem>
|
---|
352 | <para>
|
---|
353 | Download (FTP): <ulink url="¬ify-python-download-ftp;"/>
|
---|
354 | </para>
|
---|
355 | </listitem>
|
---|
356 | <listitem>
|
---|
357 | <para>
|
---|
358 | Download MD5 sum: ¬ify-python-md5sum;
|
---|
359 | </para>
|
---|
360 | </listitem>
|
---|
361 | <listitem>
|
---|
362 | <para>
|
---|
363 | Download size: ¬ify-python-size;
|
---|
364 | </para>
|
---|
365 | </listitem>
|
---|
366 | <listitem>
|
---|
367 | <para>
|
---|
368 | Estimated disk space required: ¬ify-python-buildsize;
|
---|
369 | </para>
|
---|
370 | </listitem>
|
---|
371 | <listitem>
|
---|
372 | <para>
|
---|
373 | Estimated build time: ¬ify-python-time;
|
---|
374 | </para>
|
---|
375 | </listitem>
|
---|
376 | </itemizedlist>
|
---|
377 |
|
---|
378 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
379 | <itemizedlist spacing="compact">
|
---|
380 | <listitem>
|
---|
381 | <para>
|
---|
382 | Required patch:
|
---|
383 | <ulink url="&patch-root;/notify-python-¬ify-python-version;-libnotify-0.7-1.patch"/>
|
---|
384 | </para>
|
---|
385 | </listitem>
|
---|
386 | </itemizedlist>
|
---|
387 |
|
---|
388 | <bridgehead renderas="sect4">Notify Python Dependencies</bridgehead>
|
---|
389 |
|
---|
390 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
391 | <para role="required">
|
---|
392 | <xref linkend="libnotify"/> and
|
---|
393 | <xref linkend="pygtk"/> (with <xref linkend="gtk2"/> support).
|
---|
394 | </para>
|
---|
395 |
|
---|
396 | <para condition="html" role="usernotes">
|
---|
397 | User Notes: <ulink url="&blfs-wiki;/notify-python"/>
|
---|
398 | </para>
|
---|
399 | </sect3>
|
---|
400 |
|
---|
401 | <sect3 role="installation">
|
---|
402 | <title>Installation of Notify Python</title>
|
---|
403 |
|
---|
404 | <para>
|
---|
405 | Install <application>Notify Python</application> by running the following
|
---|
406 | commands:
|
---|
407 | </para>
|
---|
408 |
|
---|
409 | <screen><userinput>patch -Np1 -i ../notify-python-¬ify-python-version;-libnotify-0.7-1.patch &&
|
---|
410 | ./configure --prefix=/usr &&
|
---|
411 | make</userinput></screen>
|
---|
412 |
|
---|
413 | <para>
|
---|
414 | This package does not come with a testsuite.
|
---|
415 | </para>
|
---|
416 |
|
---|
417 | <para>
|
---|
418 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
419 | </para>
|
---|
420 |
|
---|
421 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
422 | </sect3>
|
---|
423 |
|
---|
424 | <sect3 role="content">
|
---|
425 | <title>Contents</title>
|
---|
426 |
|
---|
427 | <segmentedlist>
|
---|
428 | <segtitle>Installed Programs</segtitle>
|
---|
429 | <segtitle>Installed Libraries</segtitle>
|
---|
430 | <segtitle>Installed Directory</segtitle>
|
---|
431 |
|
---|
432 | <seglistitem>
|
---|
433 | <seg>
|
---|
434 | None
|
---|
435 | </seg>
|
---|
436 | <seg>
|
---|
437 | None
|
---|
438 | </seg>
|
---|
439 | <seg>
|
---|
440 | /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/pynotify
|
---|
441 | </seg>
|
---|
442 | </seglistitem>
|
---|
443 | </segmentedlist>
|
---|
444 | </sect3>
|
---|
445 | </sect2>
|
---|
446 | <!-- End Notify Python -->
|
---|
447 |
|
---|
448 | <!-- Begin Py2cairo -->
|
---|
449 | <sect2 id="py2cairo" xreflabel="Py2cairo-&py2cairo-version;">
|
---|
450 |
|
---|
451 | <title>Py2cairo-&py2cairo-version;</title>
|
---|
452 |
|
---|
453 | <indexterm zone="py2cairo">
|
---|
454 | <primary sortas="a-Py2cairo">Py2cairo</primary>
|
---|
455 | </indexterm>
|
---|
456 |
|
---|
457 | <sect3 role="package">
|
---|
458 | <title>Introduction to Py2cairo Module</title>
|
---|
459 |
|
---|
460 | <para>
|
---|
461 | Py2cairo provides <application>Python 2</application> bindings to
|
---|
462 | <application>Cairo</application>.
|
---|
463 | </para>
|
---|
464 |
|
---|
465 | &lfs73_checked;
|
---|
466 |
|
---|
467 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
468 | <itemizedlist spacing="compact">
|
---|
469 | <listitem>
|
---|
470 | <para>
|
---|
471 | Download (HTTP): <ulink url="&py2cairo-download-http;"/>
|
---|
472 | </para>
|
---|
473 | </listitem>
|
---|
474 | <listitem>
|
---|
475 | <para>
|
---|
476 | Download (FTP): <ulink url="&py2cairo-download-ftp;"/>
|
---|
477 | </para>
|
---|
478 | </listitem>
|
---|
479 | <listitem>
|
---|
480 | <para>
|
---|
481 | Download MD5 sum: &py2cairo-md5sum;
|
---|
482 | </para>
|
---|
483 | </listitem>
|
---|
484 | <listitem>
|
---|
485 | <para>
|
---|
486 | Download size: &py2cairo-size;
|
---|
487 | </para>
|
---|
488 | </listitem>
|
---|
489 | <listitem>
|
---|
490 | <para>
|
---|
491 | Estimated disk space required: &py2cairo-buildsize;
|
---|
492 | </para>
|
---|
493 | </listitem>
|
---|
494 | <listitem>
|
---|
495 | <para>
|
---|
496 | Estimated build time: &py2cairo-time;
|
---|
497 | </para>
|
---|
498 | </listitem>
|
---|
499 | </itemizedlist>
|
---|
500 |
|
---|
501 | <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead>
|
---|
502 |
|
---|
503 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
504 | <para role="required">
|
---|
505 | <xref linkend="python2"/> and
|
---|
506 | <xref linkend="cairo"/>
|
---|
507 | </para>
|
---|
508 |
|
---|
509 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
510 | <para role="optional">
|
---|
511 | <ulink url="http://pytest.org">pytest</ulink>
|
---|
512 | </para>
|
---|
513 |
|
---|
514 | <para condition="html" role="usernotes">
|
---|
515 | User Notes: <ulink url="&blfs-wiki;/py2cairo"/>
|
---|
516 | </para>
|
---|
517 | </sect3>
|
---|
518 |
|
---|
519 | <sect3 role="installation">
|
---|
520 | <title>Installation of Py2cairo</title>
|
---|
521 |
|
---|
522 | <para>
|
---|
523 | Install <application>Py2cairo</application> by running the following
|
---|
524 | commands:
|
---|
525 | </para>
|
---|
526 |
|
---|
527 | <screen><userinput>./waf configure --prefix=/usr &&
|
---|
528 | ./waf build</userinput></screen>
|
---|
529 |
|
---|
530 | <para>
|
---|
531 | The test suite must be run after the package is installed.
|
---|
532 | </para>
|
---|
533 |
|
---|
534 | <para>
|
---|
535 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
536 | </para>
|
---|
537 |
|
---|
538 | <screen role="root"><userinput>./waf install</userinput></screen>
|
---|
539 |
|
---|
540 | <para>
|
---|
541 | The test suite requires the optional <application>pytest</application>
|
---|
542 | package. If installed, it is run by changing to the
|
---|
543 | <filename class='directory'>test</filename> directory and running
|
---|
544 | <userinput>py.test</userinput> an an unprivileged user.
|
---|
545 | </para>
|
---|
546 | </sect3>
|
---|
547 |
|
---|
548 | <sect3 role="content">
|
---|
549 | <title>Contents</title>
|
---|
550 |
|
---|
551 | <segmentedlist>
|
---|
552 | <segtitle>Installed Programs</segtitle>
|
---|
553 | <segtitle>Installed Library</segtitle>
|
---|
554 | <segtitle>Installed Directory</segtitle>
|
---|
555 |
|
---|
556 | <seglistitem>
|
---|
557 | <seg>
|
---|
558 | None
|
---|
559 | </seg>
|
---|
560 | <seg>
|
---|
561 | _cairo.so
|
---|
562 | </seg>
|
---|
563 | <seg>
|
---|
564 | /usr/include/pycairo and
|
---|
565 | /usr/lib/python&python2-majorver;/site-packages/cairo
|
---|
566 | </seg>
|
---|
567 | </seglistitem>
|
---|
568 | </segmentedlist>
|
---|
569 | </sect3>
|
---|
570 | </sect2>
|
---|
571 | <!-- End Py2cairo -->
|
---|
572 |
|
---|
573 | <!-- Begin PyCairo -->
|
---|
574 | <sect2 id="pycairo" xreflabel="PyCairo-&pycairo-version;">
|
---|
575 |
|
---|
576 | <title>PyCairo-&pycairo-version;</title>
|
---|
577 |
|
---|
578 | <indexterm zone="pycairo">
|
---|
579 | <primary sortas="a-PyCairo">PyCairo</primary>
|
---|
580 | </indexterm>
|
---|
581 |
|
---|
582 | <sect3 role="package">
|
---|
583 | <title>Introduction to PyCairo Module</title>
|
---|
584 |
|
---|
585 | <para>
|
---|
586 | Pycairo provides <application>Python 3</application> bindings to
|
---|
587 | <application>Cairo</application>.
|
---|
588 | </para>
|
---|
589 |
|
---|
590 | &lfs73_checked;
|
---|
591 |
|
---|
592 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
593 | <itemizedlist spacing="compact">
|
---|
594 | <listitem>
|
---|
595 | <para>
|
---|
596 | Download (HTTP): <ulink url="&pycairo-download-http;"/>
|
---|
597 | </para>
|
---|
598 | </listitem>
|
---|
599 | <listitem>
|
---|
600 | <para>
|
---|
601 | Download (FTP): <ulink url="&pycairo-download-ftp;"/>
|
---|
602 | </para>
|
---|
603 | </listitem>
|
---|
604 | <listitem>
|
---|
605 | <para>
|
---|
606 | Download MD5 sum: &pycairo-md5sum;
|
---|
607 | </para>
|
---|
608 | </listitem>
|
---|
609 | <listitem>
|
---|
610 | <para>
|
---|
611 | Download size: &pycairo-size;
|
---|
612 | </para>
|
---|
613 | </listitem>
|
---|
614 | <listitem>
|
---|
615 | <para>
|
---|
616 | Estimated disk space required: &pycairo-buildsize;
|
---|
617 | </para>
|
---|
618 | </listitem>
|
---|
619 | <listitem>
|
---|
620 | <para>
|
---|
621 | Estimated build time: &pycairo-time;
|
---|
622 | </para>
|
---|
623 | </listitem>
|
---|
624 | </itemizedlist>
|
---|
625 |
|
---|
626 | <bridgehead renderas="sect4">PyCairo Dependencies</bridgehead>
|
---|
627 |
|
---|
628 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
629 | <para role="required">
|
---|
630 | <xref linkend="cairo"/> and
|
---|
631 | <xref linkend="python3"/>
|
---|
632 | </para>
|
---|
633 |
|
---|
634 | <para condition="html" role="usernotes">
|
---|
635 | User Notes: <ulink url="&blfs-wiki;/pycairo"/>
|
---|
636 | </para>
|
---|
637 | </sect3>
|
---|
638 |
|
---|
639 | <sect3 role="installation">
|
---|
640 | <title>Installation of PyCairo</title>
|
---|
641 |
|
---|
642 | <para>
|
---|
643 | Install <application>PyCairo</application> by running the following
|
---|
644 | commands:
|
---|
645 | </para>
|
---|
646 |
|
---|
647 | <screen><userinput>PYTHON=/usr/bin/python3 ./waf configure --prefix=/usr &&
|
---|
648 | ./waf build</userinput></screen>
|
---|
649 |
|
---|
650 | <para>
|
---|
651 | This package does not come with a test suite.
|
---|
652 | </para>
|
---|
653 |
|
---|
654 | <para>
|
---|
655 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
656 | </para>
|
---|
657 |
|
---|
658 | <screen role="root"><userinput>./waf install</userinput></screen>
|
---|
659 |
|
---|
660 | </sect3>
|
---|
661 |
|
---|
662 | <sect3 role="content">
|
---|
663 | <title>Contents</title>
|
---|
664 |
|
---|
665 | <segmentedlist>
|
---|
666 | <segtitle>Installed Programs</segtitle>
|
---|
667 | <segtitle>Installed Library</segtitle>
|
---|
668 | <segtitle>Installed Directory</segtitle>
|
---|
669 |
|
---|
670 | <seglistitem>
|
---|
671 | <seg>
|
---|
672 | None
|
---|
673 | </seg>
|
---|
674 | <seg>
|
---|
675 | None
|
---|
676 | </seg>
|
---|
677 | <seg>
|
---|
678 | /usr/include/pycairo and
|
---|
679 | /usr/lib/python&python3-majorver;/site-packages/cairo
|
---|
680 | </seg>
|
---|
681 | </seglistitem>
|
---|
682 | </segmentedlist>
|
---|
683 | </sect3>
|
---|
684 | </sect2>
|
---|
685 | <!-- End PyCairo -->
|
---|
686 |
|
---|
687 | <!-- Begin PyGObject2 -->
|
---|
688 | <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
|
---|
689 |
|
---|
690 | <title>PyGObject-&pygobject2-version;</title>
|
---|
691 |
|
---|
692 | <indexterm zone="pygobject2">
|
---|
693 | <primary sortas="a-PyGObject">PyGObject</primary>
|
---|
694 | </indexterm>
|
---|
695 |
|
---|
696 | <sect3 role="package">
|
---|
697 | <title>Introduction to PyGObject Module</title>
|
---|
698 |
|
---|
699 | <para>
|
---|
700 | PyGObject-&pygobject2-version; provides
|
---|
701 | <application>Python 2</application> bindings to the GObject class from
|
---|
702 | <application>GLib</application>.
|
---|
703 | </para>
|
---|
704 |
|
---|
705 | &lfs73_checked;
|
---|
706 |
|
---|
707 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
708 | <itemizedlist spacing="compact">
|
---|
709 | <listitem>
|
---|
710 | <para>
|
---|
711 | Download (HTTP): <ulink url="&pygobject2-download-http;"/>
|
---|
712 | </para>
|
---|
713 | </listitem>
|
---|
714 | <listitem>
|
---|
715 | <para>
|
---|
716 | Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
|
---|
717 | </para>
|
---|
718 | </listitem>
|
---|
719 | <listitem>
|
---|
720 | <para>
|
---|
721 | Download MD5 sum: &pygobject2-md5sum;
|
---|
722 | </para>
|
---|
723 | </listitem>
|
---|
724 | <listitem>
|
---|
725 | <para>
|
---|
726 | Download size: &pygobject2-size;
|
---|
727 | </para>
|
---|
728 | </listitem>
|
---|
729 | <listitem>
|
---|
730 | <para>
|
---|
731 | Estimated disk space required: &pygobject2-buildsize;
|
---|
732 | </para>
|
---|
733 | </listitem>
|
---|
734 | <listitem>
|
---|
735 | <para>
|
---|
736 | Estimated build time: &pygobject2-time;
|
---|
737 | </para>
|
---|
738 | </listitem>
|
---|
739 | </itemizedlist>
|
---|
740 |
|
---|
741 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
742 | <itemizedlist spacing="compact">
|
---|
743 | <listitem>
|
---|
744 | <para>
|
---|
745 | Optional patch:
|
---|
746 | <ulink url="&patch-root;/pygobject-&pygobject2-version;-introspection-1.patch"/>
|
---|
747 | </para>
|
---|
748 | </listitem>
|
---|
749 | </itemizedlist>
|
---|
750 |
|
---|
751 | <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
|
---|
752 |
|
---|
753 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
754 | <para role="required">
|
---|
755 | <xref linkend="glib2"/> and
|
---|
756 | <xref linkend="py2cairo"/>
|
---|
757 | </para>
|
---|
758 |
|
---|
759 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
760 | <para role="optional">
|
---|
761 | <xref linkend="gobject-introspection"/> and
|
---|
762 | <xref linkend="libxslt"/> (to Build Documentation)
|
---|
763 | </para>
|
---|
764 |
|
---|
765 | <para condition="html" role="usernotes">
|
---|
766 | User Notes: <ulink url="&blfs-wiki;/pygobject2"/>
|
---|
767 | </para>
|
---|
768 | </sect3>
|
---|
769 |
|
---|
770 | <sect3 role="installation">
|
---|
771 | <title>Installation of PyGObject</title>
|
---|
772 |
|
---|
773 | <para>
|
---|
774 | If you have installed <xref linkend="gobject-introspection"/>, apply the
|
---|
775 | required patch by running the following commands:
|
---|
776 | </para>
|
---|
777 |
|
---|
778 | <screen><userinput>patch -p1 < ../pygobject-&pygobject2-version;-introspection-1.patch</userinput></screen>
|
---|
779 |
|
---|
780 | <para>
|
---|
781 | Install <application>PyGObject</application> by running the following
|
---|
782 | commands:
|
---|
783 | </para>
|
---|
784 |
|
---|
785 | <screen><userinput>./configure --prefix=/usr --disable-introspection &&
|
---|
786 | make</userinput></screen>
|
---|
787 |
|
---|
788 | <para>
|
---|
789 | This package does not have a working testsuite.
|
---|
790 | </para>
|
---|
791 |
|
---|
792 | <para>
|
---|
793 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
794 | </para>
|
---|
795 |
|
---|
796 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
797 | </sect3>
|
---|
798 |
|
---|
799 | <sect3 role="commands">
|
---|
800 | <title>Command Explanations</title>
|
---|
801 |
|
---|
802 | <para>
|
---|
803 | <option>--disable-introspection</option>: Omit this switch if you have
|
---|
804 | installed <xref linkend="gobject-introspection"/>. Note that it
|
---|
805 | conflicts with <xref linkend="pygobject3"/>.
|
---|
806 | </para>
|
---|
807 |
|
---|
808 | <para>
|
---|
809 | <option>--disable-docs</option>: This option disables the rebuilding of
|
---|
810 | the html documentation if <xref linkend="libxslt"/> is installed.
|
---|
811 | </para>
|
---|
812 |
|
---|
813 | </sect3>
|
---|
814 |
|
---|
815 | <sect3 role="content">
|
---|
816 | <title>Contents</title>
|
---|
817 |
|
---|
818 | <segmentedlist>
|
---|
819 | <segtitle>Installed Programs</segtitle>
|
---|
820 | <segtitle>Installed Libraries</segtitle>
|
---|
821 | <segtitle>Installed Directories</segtitle>
|
---|
822 |
|
---|
823 | <seglistitem>
|
---|
824 | <seg>pygobject-codegen-2.0</seg>
|
---|
825 | <seg>
|
---|
826 | libpyglib-2.0-python.so,
|
---|
827 | _gio.so,
|
---|
828 | unix.so,
|
---|
829 | _glib.so and
|
---|
830 | _gobject.so.
|
---|
831 | </seg>
|
---|
832 | <seg>
|
---|
833 | /usr/include/pygtk-2.0,
|
---|
834 | /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
|
---|
835 | /usr/share/gtk-doc/html/pygobject and
|
---|
836 | /usr/share/pygobject/2.0
|
---|
837 | </seg>
|
---|
838 | </seglistitem>
|
---|
839 | </segmentedlist>
|
---|
840 | </sect3>
|
---|
841 | </sect2>
|
---|
842 | <!-- End PyGObject2 -->
|
---|
843 |
|
---|
844 | <!-- Begin PyGObject3 -->
|
---|
845 | <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
|
---|
846 |
|
---|
847 | <title>PyGObject-&pygobject3-version;</title>
|
---|
848 |
|
---|
849 | <indexterm zone="pygobject3">
|
---|
850 | <primary sortas="a-PyGObject3">PyGObject3</primary>
|
---|
851 | </indexterm>
|
---|
852 |
|
---|
853 | <sect3 role="package">
|
---|
854 | <title>Introduction to PyGObject3 Module</title>
|
---|
855 |
|
---|
856 | <para>
|
---|
857 | <application>PyGObject3</application> provides
|
---|
858 | <application>Python</application> bindings to the GObject
|
---|
859 | class from <application>GLib</application>.
|
---|
860 | </para>
|
---|
861 |
|
---|
862 | &lfs73_checked;
|
---|
863 |
|
---|
864 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
865 | <itemizedlist spacing="compact">
|
---|
866 | <listitem>
|
---|
867 | <para>
|
---|
868 | Download (HTTP): <ulink url="&pygobject3-download-http;"/>
|
---|
869 | </para>
|
---|
870 | </listitem>
|
---|
871 | <listitem>
|
---|
872 | <para>
|
---|
873 | Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
|
---|
874 | </para>
|
---|
875 | </listitem>
|
---|
876 | <listitem>
|
---|
877 | <para>
|
---|
878 | Download MD5 sum: &pygobject3-md5sum;
|
---|
879 | </para>
|
---|
880 | </listitem>
|
---|
881 | <listitem>
|
---|
882 | <para>
|
---|
883 | Download size: &pygobject3-size;
|
---|
884 | </para>
|
---|
885 | </listitem>
|
---|
886 | <listitem>
|
---|
887 | <para>
|
---|
888 | Estimated disk space required: &pygobject3-buildsize;
|
---|
889 | </para>
|
---|
890 | </listitem>
|
---|
891 | <listitem>
|
---|
892 | <para>
|
---|
893 | Estimated build time: &pygobject3-time;
|
---|
894 | </para>
|
---|
895 | </listitem>
|
---|
896 | </itemizedlist>
|
---|
897 |
|
---|
898 | <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead>
|
---|
899 |
|
---|
900 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
901 | <para role="required">
|
---|
902 | <xref linkend="gobject-introspection"/> and
|
---|
903 | <xref linkend="py2cairo"/>
|
---|
904 | (for <application>Python 2</application> bindings) and/or
|
---|
905 | <xref linkend="pycairo"/>
|
---|
906 | (for <application>Python 3</application> bindings)
|
---|
907 | </para>
|
---|
908 |
|
---|
909 | <para condition="html" role="usernotes">
|
---|
910 | User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
|
---|
911 | </para>
|
---|
912 | </sect3>
|
---|
913 |
|
---|
914 | <sect3 role="installation">
|
---|
915 | <title>Installation of PyGObject3</title>
|
---|
916 |
|
---|
917 | <note>
|
---|
918 | <para>
|
---|
919 | Both <application>Python 2</application> and
|
---|
920 | <application>Python 3</application> modules can
|
---|
921 | be built and installed without any conflicts.
|
---|
922 | </para>
|
---|
923 | </note>
|
---|
924 |
|
---|
925 | <para>
|
---|
926 | To build <application>PyGObject3</application> as the
|
---|
927 | <application>Python 2</application> module, run the
|
---|
928 | following commands:
|
---|
929 | </para>
|
---|
930 |
|
---|
931 | <screen><userinput>mkdir python2 &&
|
---|
932 | pushd python2 &&
|
---|
933 | ../configure --prefix=/usr --with-python=/usr/bin/python &&
|
---|
934 | make &&
|
---|
935 | popd</userinput></screen>
|
---|
936 |
|
---|
937 | <para>
|
---|
938 | To test the results, issue: <command>make -C python2 check</command>.
|
---|
939 | </para>
|
---|
940 |
|
---|
941 | <para>
|
---|
942 | To build <application>PyGObject3</application> as the
|
---|
943 | <application>Python 3</application> module, run the
|
---|
944 | following commands:
|
---|
945 | </para>
|
---|
946 |
|
---|
947 | <screen><userinput>mkdir python3 &&
|
---|
948 | pushd python3 &&
|
---|
949 | ../configure --prefix=/usr --with-python=/usr/bin/python3 &&
|
---|
950 | make &&
|
---|
951 | popd</userinput></screen>
|
---|
952 |
|
---|
953 | <para>
|
---|
954 | To test the results, issue: <command>make -C python3 check</command>.
|
---|
955 | </para>
|
---|
956 |
|
---|
957 | <para>
|
---|
958 | To install the <application>Python 2</application> module,
|
---|
959 | run the following command as the
|
---|
960 | <systemitem class="username">root</systemitem> user:
|
---|
961 | </para>
|
---|
962 |
|
---|
963 | <screen role="root"><userinput>make -C python2 install</userinput></screen>
|
---|
964 |
|
---|
965 | <para>
|
---|
966 | To install the <application>Python 3</application> module,
|
---|
967 | run the following command as the
|
---|
968 | <systemitem class="username">root</systemitem> user:
|
---|
969 | </para>
|
---|
970 |
|
---|
971 | <screen role="root"><userinput>make -C python3 install</userinput></screen>
|
---|
972 |
|
---|
973 | </sect3>
|
---|
974 |
|
---|
975 | <sect3 role="content">
|
---|
976 | <title>Contents</title>
|
---|
977 |
|
---|
978 | <segmentedlist>
|
---|
979 | <segtitle>Installed Programs</segtitle>
|
---|
980 | <segtitle>Installed Library</segtitle>
|
---|
981 | <segtitle>Installed Directories</segtitle>
|
---|
982 |
|
---|
983 | <seglistitem>
|
---|
984 | <seg>
|
---|
985 | None
|
---|
986 | </seg>
|
---|
987 | <seg>
|
---|
988 | libpyglib-gi-2.0-python.so and/or
|
---|
989 | libpyglib-gi-2.0-python3.so
|
---|
990 | </seg>
|
---|
991 | <seg>
|
---|
992 | /usr/include/pygobject-3.0 and
|
---|
993 | /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or
|
---|
994 | /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
|
---|
995 | </seg>
|
---|
996 | </seglistitem>
|
---|
997 | </segmentedlist>
|
---|
998 |
|
---|
999 | </sect3>
|
---|
1000 |
|
---|
1001 | </sect2>
|
---|
1002 | <!-- End PyGObject -->
|
---|
1003 |
|
---|
1004 | <!-- Begin PyGTK -->
|
---|
1005 | <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
|
---|
1006 |
|
---|
1007 | <title>PyGTK-&pygtk-version;</title>
|
---|
1008 |
|
---|
1009 | <indexterm zone="pygtk">
|
---|
1010 | <primary sortas="a-PyGTK">PyGTK</primary>
|
---|
1011 | </indexterm>
|
---|
1012 |
|
---|
1013 | <sect3 role="package">
|
---|
1014 | <title>Introduction to PyGTK Module</title>
|
---|
1015 |
|
---|
1016 | <para>
|
---|
1017 | PyGTK lets you to easily create programs with a graphical user interface
|
---|
1018 | using the <application>Python</application> programming language.
|
---|
1019 | </para>
|
---|
1020 |
|
---|
1021 | &lfs73_checked;
|
---|
1022 |
|
---|
1023 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
1024 | <itemizedlist spacing="compact">
|
---|
1025 | <listitem>
|
---|
1026 | <para>
|
---|
1027 | Download (HTTP): <ulink url="&pygtk-download-http;"/>
|
---|
1028 | </para>
|
---|
1029 | </listitem>
|
---|
1030 | <listitem>
|
---|
1031 | <para>
|
---|
1032 | Download (FTP): <ulink url="&pygtk-download-ftp;"/>
|
---|
1033 | </para>
|
---|
1034 | </listitem>
|
---|
1035 | <listitem>
|
---|
1036 | <para>
|
---|
1037 | Download MD5 sum: &pygtk-md5sum;
|
---|
1038 | </para>
|
---|
1039 | </listitem>
|
---|
1040 | <listitem>
|
---|
1041 | <para>
|
---|
1042 | Download size: &pygtk-size;
|
---|
1043 | </para>
|
---|
1044 | </listitem>
|
---|
1045 | <listitem>
|
---|
1046 | <para>
|
---|
1047 | Estimated disk space required: &pygtk-buildsize;
|
---|
1048 | </para>
|
---|
1049 | </listitem>
|
---|
1050 | <listitem>
|
---|
1051 | <para>
|
---|
1052 | Estimated build time: &pygtk-time;
|
---|
1053 | </para>
|
---|
1054 | </listitem>
|
---|
1055 | </itemizedlist>
|
---|
1056 |
|
---|
1057 | <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
|
---|
1058 |
|
---|
1059 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
1060 | <para role="required">
|
---|
1061 | <xref linkend="pygobject2"/>
|
---|
1062 | </para>
|
---|
1063 |
|
---|
1064 | <bridgehead renderas="sect5">Required (atk module)</bridgehead>
|
---|
1065 | <para role="required">
|
---|
1066 | <xref linkend="atk"/>
|
---|
1067 | </para>
|
---|
1068 |
|
---|
1069 | <bridgehead renderas="sect5">Required (pango module)</bridgehead>
|
---|
1070 | <para role="required">
|
---|
1071 | <xref linkend="pango"/>
|
---|
1072 | </para>
|
---|
1073 |
|
---|
1074 | <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
|
---|
1075 | <para role="required">
|
---|
1076 | <xref linkend="py2cairo"/> and
|
---|
1077 | <xref linkend="pango"/>
|
---|
1078 | </para>
|
---|
1079 |
|
---|
1080 | <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
|
---|
1081 | <para role="required">
|
---|
1082 | <xref linkend="py2cairo"/> and
|
---|
1083 | <xref linkend="gtk2"/>.
|
---|
1084 | </para>
|
---|
1085 |
|
---|
1086 | <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead>
|
---|
1087 | <para role="required">
|
---|
1088 | <xref linkend="py2cairo"/> and
|
---|
1089 | <xref linkend="libglade"/>.
|
---|
1090 | </para>
|
---|
1091 |
|
---|
1092 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
1093 | <para role="optional">
|
---|
1094 | <ulink url="http://sourceforge.net/projects/numpy/">NumPy</ulink>
|
---|
1095 | </para>
|
---|
1096 |
|
---|
1097 | <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
|
---|
1098 | <para role="optional">
|
---|
1099 | <xref linkend="libxslt"/>
|
---|
1100 | </para>
|
---|
1101 |
|
---|
1102 | <para condition="html" role="usernotes">
|
---|
1103 | User Notes: <ulink url="&blfs-wiki;/pygtk"/>
|
---|
1104 | </para>
|
---|
1105 | </sect3>
|
---|
1106 |
|
---|
1107 | <sect3 role="installation">
|
---|
1108 | <title>Installation of PyGTK</title>
|
---|
1109 |
|
---|
1110 | <para>
|
---|
1111 | Install <application>PyGTK</application> by running the following
|
---|
1112 | commands:
|
---|
1113 | </para>
|
---|
1114 |
|
---|
1115 | <screen><userinput>./configure --prefix=/usr &&
|
---|
1116 | make</userinput></screen>
|
---|
1117 |
|
---|
1118 | <para>
|
---|
1119 | The tests must be run from an active X display. If this is so, issue:
|
---|
1120 | <command>make check</command>.
|
---|
1121 | </para>
|
---|
1122 |
|
---|
1123 | <para>
|
---|
1124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
1125 | </para>
|
---|
1126 |
|
---|
1127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
1128 | </sect3>
|
---|
1129 |
|
---|
1130 | <sect3 role="commands">
|
---|
1131 | <title>Command Explanations</title>
|
---|
1132 |
|
---|
1133 | <para>
|
---|
1134 | <parameter>--enable-docs</parameter>: This option enables rebuilding the
|
---|
1135 | html documentation if <xref linkend="libxslt"/> is installed.
|
---|
1136 | </para>
|
---|
1137 | </sect3>
|
---|
1138 |
|
---|
1139 | <sect3 role="content">
|
---|
1140 | <title>Contents</title>
|
---|
1141 |
|
---|
1142 | <segmentedlist>
|
---|
1143 | <segtitle>Installed Programs</segtitle>
|
---|
1144 | <segtitle>Installed Libraries</segtitle>
|
---|
1145 | <segtitle>Installed Directories</segtitle>
|
---|
1146 |
|
---|
1147 | <seglistitem>
|
---|
1148 | <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
|
---|
1149 | <seg>
|
---|
1150 | atk.so,
|
---|
1151 | _gtk.so,
|
---|
1152 | glade.so,
|
---|
1153 | gtkunixprint.so,
|
---|
1154 | pango.so and
|
---|
1155 | pangocairo.so.
|
---|
1156 | </seg>
|
---|
1157 | <seg>
|
---|
1158 | /usr/include/pygtk-2.0,
|
---|
1159 | /usr/lib/pygtk,
|
---|
1160 | /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
|
---|
1161 | /usr/share/gtk-doc/html/pygtk and
|
---|
1162 | /usr/share/pygtk.
|
---|
1163 | </seg>
|
---|
1164 | </seglistitem>
|
---|
1165 | </segmentedlist>
|
---|
1166 |
|
---|
1167 | <variablelist>
|
---|
1168 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
1169 | <?dbfo list-presentation="list"?>
|
---|
1170 | <?dbhtml list-presentation="table"?>
|
---|
1171 |
|
---|
1172 | <varlistentry id="pygtk-codegen-2.0">
|
---|
1173 | <term><command>pygtk-codegen-2.0</command></term>
|
---|
1174 | <listitem>
|
---|
1175 | <para>
|
---|
1176 | is a wrapper script to run the <application>PyGTK</application>
|
---|
1177 | codegen module.
|
---|
1178 | </para>
|
---|
1179 | <indexterm zone="pygtk pygtk-codegen-2.0">
|
---|
1180 | <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
|
---|
1181 | </indexterm>
|
---|
1182 | </listitem>
|
---|
1183 | </varlistentry>
|
---|
1184 |
|
---|
1185 | <varlistentry id="pygtk-demo">
|
---|
1186 | <term><command>pygtk-demo</command></term>
|
---|
1187 | <listitem>
|
---|
1188 | <para>
|
---|
1189 | is a Python wrapper to run the <application>PyGTK</application>
|
---|
1190 | demo program.
|
---|
1191 | </para>
|
---|
1192 | <indexterm zone="pygtk pygtk-demo">
|
---|
1193 | <primary sortas="b-pygtk-demo">pygtk-demo</primary>
|
---|
1194 | </indexterm>
|
---|
1195 | </listitem>
|
---|
1196 | </varlistentry>
|
---|
1197 | </variablelist>
|
---|
1198 | </sect3>
|
---|
1199 | </sect2>
|
---|
1200 | <!-- End PyGTK -->
|
---|
1201 |
|
---|
1202 | <!-- Begin pyatspi2 -->
|
---|
1203 | <sect2 id="pyatspi2" xreflabel="PyAtSpi2-&pyatspi2-version;">
|
---|
1204 |
|
---|
1205 | <title>PyAtSpi2-&pyatspi2-version;</title>
|
---|
1206 |
|
---|
1207 | <indexterm zone="pyatspi2">
|
---|
1208 | <primary sortas="a-PyAtSpi2">PyAtSpi2</primary>
|
---|
1209 | </indexterm>
|
---|
1210 |
|
---|
1211 | <sect3 role="package">
|
---|
1212 | <title>Introduction to PyAtSpi2</title>
|
---|
1213 |
|
---|
1214 | <para>
|
---|
1215 | The <application>PyAtSpi2</application> package contains Python2
|
---|
1216 | bindings for the core components of GNOME Accessibility.
|
---|
1217 | </para>
|
---|
1218 |
|
---|
1219 | &lfs72_checked;
|
---|
1220 |
|
---|
1221 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
1222 | <itemizedlist spacing="compact">
|
---|
1223 | <listitem>
|
---|
1224 | <para>
|
---|
1225 | Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
|
---|
1226 | </para>
|
---|
1227 | </listitem>
|
---|
1228 | <listitem>
|
---|
1229 | <para>
|
---|
1230 | Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
|
---|
1231 | </para>
|
---|
1232 | </listitem>
|
---|
1233 | <listitem>
|
---|
1234 | <para>
|
---|
1235 | Download MD5 sum: &pyatspi2-md5sum;
|
---|
1236 | </para>
|
---|
1237 | </listitem>
|
---|
1238 | <listitem>
|
---|
1239 | <para>
|
---|
1240 | Download size: &pyatspi2-size;
|
---|
1241 | </para>
|
---|
1242 | </listitem>
|
---|
1243 | <listitem>
|
---|
1244 | <para>
|
---|
1245 | Estimated disk space required: &pyatspi2-buildsize;
|
---|
1246 | </para>
|
---|
1247 | </listitem>
|
---|
1248 | <listitem>
|
---|
1249 | <para>
|
---|
1250 | Estimated build time: &pyatspi2-time;
|
---|
1251 | </para>
|
---|
1252 | </listitem>
|
---|
1253 | </itemizedlist>
|
---|
1254 |
|
---|
1255 | <bridgehead renderas="sect4">PyAtSpi2 Dependencies</bridgehead>
|
---|
1256 |
|
---|
1257 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
1258 | <para role="required">
|
---|
1259 | <xref linkend="pygobject3"/>
|
---|
1260 | </para>
|
---|
1261 |
|
---|
1262 | <bridgehead renderas="sect5">Recommended</bridgehead>
|
---|
1263 | <para role="recommended">
|
---|
1264 | <xref linkend="at-spi2-core"/>
|
---|
1265 | </para>
|
---|
1266 |
|
---|
1267 | <para condition="html" role="usernotes">
|
---|
1268 | User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
|
---|
1269 | </para>
|
---|
1270 |
|
---|
1271 | </sect3>
|
---|
1272 |
|
---|
1273 | <sect3 role="installation">
|
---|
1274 | <title>Installation of PyAtSpi2</title>
|
---|
1275 |
|
---|
1276 | <note>
|
---|
1277 | <para>
|
---|
1278 | Both <application>Python 2</application> and
|
---|
1279 | <application>Python 3</application> modules can
|
---|
1280 | be built and installed without any conflicts.
|
---|
1281 | </para>
|
---|
1282 | </note>
|
---|
1283 |
|
---|
1284 | <para>
|
---|
1285 | To build <application>PyAtSpi2</application> as the
|
---|
1286 | <application>Python 2</application> module, run the
|
---|
1287 | following commands:
|
---|
1288 | </para>
|
---|
1289 |
|
---|
1290 | <screen><userinput>mkdir python2 &&
|
---|
1291 | pushd python2 &&
|
---|
1292 | ../configure --prefix=/usr --with-python=/usr/bin/python &&
|
---|
1293 | make &&
|
---|
1294 | popd</userinput></screen>
|
---|
1295 |
|
---|
1296 | <para>
|
---|
1297 | To build <application>PyAtSpi2</application> as the
|
---|
1298 | <application>Python 3</application> module, run the
|
---|
1299 | following commands:
|
---|
1300 | </para>
|
---|
1301 |
|
---|
1302 | <screen><userinput>mkdir python3 &&
|
---|
1303 | pushd python3 &&
|
---|
1304 | ../configure --prefix=/usr --with-python=/usr/bin/python3 &&
|
---|
1305 | make &&
|
---|
1306 | popd</userinput></screen>
|
---|
1307 |
|
---|
1308 | <para>
|
---|
1309 | This package does not come with a testsuite.
|
---|
1310 | </para>
|
---|
1311 |
|
---|
1312 | <para>
|
---|
1313 | To install the <application>Python 2</application> module,
|
---|
1314 | run the following command as the
|
---|
1315 | <systemitem class="username">root</systemitem> user:
|
---|
1316 | </para>
|
---|
1317 |
|
---|
1318 | <screen role="root"><userinput>make -C python2 install</userinput></screen>
|
---|
1319 |
|
---|
1320 | <para>
|
---|
1321 | To install the <application>Python 3</application> module,
|
---|
1322 | run the following command as the
|
---|
1323 | <systemitem class="username">root</systemitem> user:
|
---|
1324 | </para>
|
---|
1325 |
|
---|
1326 | <screen role="root"><userinput>make -C python3 install</userinput></screen>
|
---|
1327 |
|
---|
1328 | </sect3>
|
---|
1329 |
|
---|
1330 | <sect3 role="content">
|
---|
1331 | <title>Contents</title>
|
---|
1332 |
|
---|
1333 | <segmentedlist>
|
---|
1334 | <segtitle>Installed Programs</segtitle>
|
---|
1335 | <segtitle>Installed Libraries</segtitle>
|
---|
1336 | <segtitle>Installed Directory</segtitle>
|
---|
1337 |
|
---|
1338 | <seglistitem>
|
---|
1339 | <seg>
|
---|
1340 | None
|
---|
1341 | </seg>
|
---|
1342 | <seg>
|
---|
1343 | None
|
---|
1344 | </seg>
|
---|
1345 | <seg>
|
---|
1346 | /usr/lib/python&python2-majorver;/site-packages/pyatspi and/or
|
---|
1347 | /usr/lib/python&python3-majorver;/site-packages/pyatspi
|
---|
1348 | </seg>
|
---|
1349 | </seglistitem>
|
---|
1350 | </segmentedlist>
|
---|
1351 |
|
---|
1352 | </sect3>
|
---|
1353 |
|
---|
1354 | </sect2>
|
---|
1355 | <!-- End pyatspi2 -->
|
---|
1356 |
|
---|
1357 | <!-- Begin Pyrex -->
|
---|
1358 | <sect2 id="pyrex" xreflabel="Pyrex-&pyrex-version;">
|
---|
1359 |
|
---|
1360 | <title>Pyrex-&pyrex-version;</title>
|
---|
1361 |
|
---|
1362 | <indexterm zone="pyrex">
|
---|
1363 | <primary sortas="a-Pyrex">pyrex</primary>
|
---|
1364 | </indexterm>
|
---|
1365 |
|
---|
1366 | <sect3 role="package">
|
---|
1367 | <title>Introduction to Pyrex Module</title>
|
---|
1368 |
|
---|
1369 | <para>
|
---|
1370 | <application>Pyrex</application> is language used for writing
|
---|
1371 | <application>Python</application> extension modules.
|
---|
1372 | </para>
|
---|
1373 |
|
---|
1374 | &lfs72_checked;
|
---|
1375 |
|
---|
1376 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
1377 | <itemizedlist spacing="compact">
|
---|
1378 | <listitem>
|
---|
1379 | <para>
|
---|
1380 | Download (HTTP): <ulink url="&pyrex-download-http;"/>
|
---|
1381 | </para>
|
---|
1382 | </listitem>
|
---|
1383 | <listitem>
|
---|
1384 | <para>
|
---|
1385 | Download (FTP): <ulink url="&pyrex-download-ftp;"/>
|
---|
1386 | </para>
|
---|
1387 | </listitem>
|
---|
1388 | <listitem>
|
---|
1389 | <para>
|
---|
1390 | Download MD5 sum: &pyrex-md5sum;
|
---|
1391 | </para>
|
---|
1392 | </listitem>
|
---|
1393 | <listitem>
|
---|
1394 | <para>
|
---|
1395 | Download size: &pyrex-size;
|
---|
1396 | </para>
|
---|
1397 | </listitem>
|
---|
1398 | <listitem>
|
---|
1399 | <para>
|
---|
1400 | Estimated disk space required: &pyrex-buildsize;
|
---|
1401 | </para>
|
---|
1402 | </listitem>
|
---|
1403 | <listitem>
|
---|
1404 | <para>
|
---|
1405 | Estimated build time: &pyrex-time;
|
---|
1406 | </para>
|
---|
1407 | </listitem>
|
---|
1408 | </itemizedlist>
|
---|
1409 |
|
---|
1410 | <bridgehead renderas="sect4">Pyrex Dependencies</bridgehead>
|
---|
1411 |
|
---|
1412 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
1413 | <para role="required">
|
---|
1414 | <xref linkend="python2"/>
|
---|
1415 | </para>
|
---|
1416 |
|
---|
1417 | <para condition="html" role="usernotes">
|
---|
1418 | User Notes: <ulink url="&blfs-wiki;/pyrex"/>
|
---|
1419 | </para>
|
---|
1420 | </sect3>
|
---|
1421 |
|
---|
1422 | <sect3 role="installation">
|
---|
1423 | <title>Installation of Pyrex</title>
|
---|
1424 |
|
---|
1425 | <para>
|
---|
1426 | Install <application>pyrex</application> by running the following
|
---|
1427 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
1428 | </para>
|
---|
1429 |
|
---|
1430 | <screen role="root"><userinput>python setup.py install</userinput></screen>
|
---|
1431 | </sect3>
|
---|
1432 |
|
---|
1433 | <sect3 role="commands">
|
---|
1434 | <title>Command Explanations</title>
|
---|
1435 |
|
---|
1436 | <para>
|
---|
1437 | <command>python setup.py install</command>: This command installs
|
---|
1438 | the package. There are other options available, see
|
---|
1439 | <command>python setup.py --help-commands</command> for details.
|
---|
1440 | </para>
|
---|
1441 |
|
---|
1442 | </sect3>
|
---|
1443 |
|
---|
1444 | <sect3 role="content">
|
---|
1445 | <title>Contents</title>
|
---|
1446 |
|
---|
1447 | <segmentedlist>
|
---|
1448 | <segtitle>Installed Program</segtitle>
|
---|
1449 | <segtitle>Installed Libraries</segtitle>
|
---|
1450 | <segtitle>Installed Directory</segtitle>
|
---|
1451 |
|
---|
1452 | <seglistitem>
|
---|
1453 | <seg>
|
---|
1454 | pyrexc
|
---|
1455 | </seg>
|
---|
1456 | <seg>
|
---|
1457 | None
|
---|
1458 | </seg>
|
---|
1459 | <seg>
|
---|
1460 | /usr/lib/python&python2-majorver;/site-packages/Pyrex
|
---|
1461 | </seg>
|
---|
1462 | </seglistitem>
|
---|
1463 | </segmentedlist>
|
---|
1464 |
|
---|
1465 | </sect3>
|
---|
1466 |
|
---|
1467 | </sect2>
|
---|
1468 | <!-- End Pyrex -->
|
---|
1469 |
|
---|
1470 | </sect1>
|
---|