source: general/prog/python-modules.xml@ c5d808b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 c5d808b was c5d808b, checked in by Igor Živković <igor@…>, 11 years ago

Disable introspection by default for PyGObject-2.

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

  • Property mode set to 100644
File size: 30.5 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 notify-python-download-http
8 "http://www.galago-project.org/files/releases/source/notify-python/notify-python-&notify-python-version;.tar.bz2">
9 <!ENTITY notify-python-download-ftp " ">
10 <!ENTITY notify-python-md5sum "d247cf79b46cef7495deb0a76334f81d">
11 <!ENTITY notify-python-size "212 KB">
12 <!ENTITY notify-python-buildsize "2.3 MB">
13 <!ENTITY notify-python-time "less than 0.1 SBU">
14
15 <!ENTITY py2cairo-download-http
16 "http://cairographics.org/releases/py2cairo-&py2cairo-version;.tar.bz2">
17 <!ENTITY py2cairo-download-ftp " ">
18 <!ENTITY py2cairo-md5sum "20337132c4ab06c1146ad384d55372c5">
19 <!ENTITY py2cairo-size "400 KB">
20 <!ENTITY py2cairo-buildsize "3.6 MB">
21 <!ENTITY py2cairo-time "less than 0.1 SBU">
22
23 <!ENTITY pygobject2-download-http
24 "&gnome-download-http;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
25 <!ENTITY pygobject2-download-ftp
26 "&gnome-download-ftp;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
27 <!ENTITY pygobject2-md5sum "9415cb7f2b3a847f2310ccea258b101e">
28 <!ENTITY pygobject2-size "730 KB">
29 <!ENTITY pygobject2-buildsize "25 MB">
30 <!ENTITY pygobject2-time "0.2 SBU">
31
32 <!ENTITY pygobject3-download-http
33 "&gnome-download-http;/pygobject/3.4/pygobject-&pygobject3-version;.tar.xz">
34 <!ENTITY pygobject3-download-ftp
35 "&gnome-download-ftp;/pygobject/3.4/pygobject-&pygobject3-version;.tar.xz">
36 <!ENTITY pygobject3-md5sum "a17b3897507f179d643e02f5abf111ac">
37 <!ENTITY pygobject3-size "604 KB">
38 <!ENTITY pygobject3-buildsize "16 MB">
39 <!ENTITY pygobject3-time "0.1 SBU">
40
41 <!ENTITY pygtk-download-http
42 "&gnome-download-http;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
43 <!ENTITY pygtk-download-ftp
44 "&gnome-download-ftp;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
45 <!ENTITY pygtk-md5sum "a1051d5794fd7696d3c1af6422d17a49">
46 <!ENTITY pygtk-size "2.2 MB">
47 <!ENTITY pygtk-buildsize "83 MB">
48 <!ENTITY pygtk-time "0.7 SBU">
49
50 <!ENTITY pyatspi2-download-http
51 "&gnome-download-http;/pyatspi/2.6/pyatspi-&pyatspi2-version;.tar.xz">
52 <!ENTITY pyatspi2-download-ftp
53 "&gnome-download-ftp;/pyatspi/2.6/pyatspi-&pyatspi2-version;.tar.xz">
54 <!ENTITY pyatspi2-md5sum "95c48cae83d1f6d6cd13615df14124e5">
55 <!ENTITY pyatspi2-size "284 KB">
56 <!ENTITY pyatspi2-buildsize "3.5 MB">
57 <!ENTITY pyatspi2-time "less than 0.1 SBU">
58
59 <!ENTITY pyrex-download-http
60 "http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-&pyrex-version;.tar.gz">
61 <!ENTITY pyrex-download-ftp " ">
62 <!ENTITY pyrex-md5sum "515dee67d15d4393841e2d60e8341947">
63 <!ENTITY pyrex-size "252 KB">
64 <!ENTITY pyrex-buildsize "4.0 MB">
65 <!ENTITY pyrex-time "less than 0.1 SBU">
66]>
67
68<sect1 id="python-modules" xreflabel="Python modules">
69 <?dbhtml filename="python-modules.html" ?>
70
71 <sect1info>
72 <othername>$LastChangedBy$</othername>
73 <date>$Date$</date>
74 </sect1info>
75
76 <title>Python Modules</title>
77
78 <indexterm zone="python-modules">
79 <primary sortas="a-Python-modules">Python modules</primary>
80 </indexterm>
81
82 <sect2 role="package">
83 <title>Introduction to Python Modules</title>
84
85 <para>
86 The <application>Python</application> module packages add useful objects
87 to the <application>Python</application> language. Modules utilized by
88 packages throughout BLFS are listed here, along with their dependencies.
89 Installation of the modules shown on this page is meant to follow from top
90 to bottom to handle optional dependencies in each module.
91 </para>
92
93 <itemizedlist spacing="compact">
94 <listitem>
95 <para>
96 <xref linkend="notify-python"/>
97 </para>
98 </listitem>
99 <listitem>
100 <para>
101 <xref linkend="py2cairo"/>
102 </para>
103 </listitem>
104 <listitem>
105 <para>
106 <xref linkend="pygobject2"/>
107 </para>
108 </listitem>
109 <listitem>
110 <para>
111 <xref linkend="pygobject3"/>
112 </para>
113 </listitem>
114 <listitem>
115 <para>
116 <xref linkend="pygtk"/>
117 </para>
118 </listitem>
119 <listitem>
120 <para>
121 <xref linkend="pyatspi2"/>
122 </para>
123 </listitem>
124 <listitem>
125 <para>
126 <xref linkend="pyrex"/>
127 </para>
128 </listitem>
129 </itemizedlist>
130 </sect2>
131
132 <!-- Begin Notify Python -->
133 <sect2 id="notify-python" xreflabel="Notify Python-&notify-python-version;">
134
135 <title>Notify Python-&notify-python-version;</title>
136
137 <indexterm zone="notify-python">
138 <primary sortas="a-notify-python">notify-python</primary>
139 </indexterm>
140
141 <sect3 role="package">
142 <title>Introduction to Notify Python Module</title>
143
144 <para>
145 Notify Python provides <application>Python 2</application>
146 bindings to the <application>libnotify</application>.
147 </para>
148
149 &lfs72_checked;
150
151 <bridgehead renderas="sect4">Package Information</bridgehead>
152 <itemizedlist spacing="compact">
153 <listitem>
154 <para>
155 Download (HTTP): <ulink url="&notify-python-download-http;"/>
156 </para>
157 </listitem>
158 <listitem>
159 <para>
160 Download (FTP): <ulink url="&notify-python-download-ftp;"/>
161 </para>
162 </listitem>
163 <listitem>
164 <para>
165 Download MD5 sum: &notify-python-md5sum;
166 </para>
167 </listitem>
168 <listitem>
169 <para>
170 Download size: &notify-python-size;
171 </para>
172 </listitem>
173 <listitem>
174 <para>
175 Estimated disk space required: &notify-python-buildsize;
176 </para>
177 </listitem>
178 <listitem>
179 <para>
180 Estimated build time: &notify-python-time;
181 </para>
182 </listitem>
183 </itemizedlist>
184
185 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
186 <itemizedlist spacing="compact">
187 <listitem>
188 <para>
189 Required patch:
190 <ulink url="&patch-root;/notify-python-&notify-python-version;-libnotify-0.7-1.patch"/>
191 </para>
192 </listitem>
193 </itemizedlist>
194
195 <bridgehead renderas="sect4">Notify Python Dependencies</bridgehead>
196
197 <bridgehead renderas="sect5">Required</bridgehead>
198 <para role="required">
199 <xref linkend="libnotify"/> and
200 <xref linkend="pygtk"/> (with <xref linkend="gtk2"/> support).
201 </para>
202
203 <para condition="html" role="usernotes">
204 User Notes: <ulink url="&blfs-wiki;/notify-python"/>
205 </para>
206 </sect3>
207
208 <sect3 role="installation">
209 <title>Installation of Notify Python</title>
210
211 <para>
212 Install <application>Notify Python</application> by running the following
213 commands:
214 </para>
215
216<screen><userinput>patch -Np1 -i ../notify-python-&notify-python-version;-libnotify-0.7-1.patch &amp;&amp;
217./configure --prefix=/usr &amp;&amp;
218make</userinput></screen>
219
220 <para>
221 This package does not come with a testsuite.
222 </para>
223
224 <para>
225 Now, as the <systemitem class="username">root</systemitem> user:
226 </para>
227
228<screen role="root"><userinput>make install</userinput></screen>
229 </sect3>
230
231 <sect3 role="content">
232 <title>Contents</title>
233
234 <segmentedlist>
235 <segtitle>Installed Programs</segtitle>
236 <segtitle>Installed Libraries</segtitle>
237 <segtitle>Installed Directory</segtitle>
238
239 <seglistitem>
240 <seg>
241 None
242 </seg>
243 <seg>
244 None
245 </seg>
246 <seg>
247 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/pynotify
248 </seg>
249 </seglistitem>
250 </segmentedlist>
251 </sect3>
252 </sect2>
253 <!-- End Notify Python -->
254
255 <!-- Begin Py2cairo -->
256 <sect2 id="py2cairo" xreflabel="Py2cairo-&py2cairo-version;">
257
258 <title>Py2cairo-&py2cairo-version;</title>
259
260 <indexterm zone="py2cairo">
261 <primary sortas="a-Py2cairo">Py2cairo</primary>
262 </indexterm>
263
264 <sect3 role="package">
265 <title>Introduction to Py2cairo Module</title>
266
267 <para>
268 Py2cairo provides <application>Python 2</application> bindings to
269 <application>Cairo</application>.
270 </para>
271
272 &lfs73_checked;
273
274 <bridgehead renderas="sect4">Package Information</bridgehead>
275 <itemizedlist spacing="compact">
276 <listitem>
277 <para>
278 Download (HTTP): <ulink url="&py2cairo-download-http;"/>
279 </para>
280 </listitem>
281 <listitem>
282 <para>
283 Download (FTP): <ulink url="&py2cairo-download-ftp;"/>
284 </para>
285 </listitem>
286 <listitem>
287 <para>
288 Download MD5 sum: &py2cairo-md5sum;
289 </para>
290 </listitem>
291 <listitem>
292 <para>
293 Download size: &py2cairo-size;
294 </para>
295 </listitem>
296 <listitem>
297 <para>
298 Estimated disk space required: &py2cairo-buildsize;
299 </para>
300 </listitem>
301 <listitem>
302 <para>
303 Estimated build time: &py2cairo-time;
304 </para>
305 </listitem>
306 </itemizedlist>
307
308 <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead>
309
310 <bridgehead renderas="sect5">Required</bridgehead>
311 <para role="required">
312 <xref linkend="python2"/> and
313 <xref linkend="cairo"/>
314 </para>
315
316 <bridgehead renderas="sect5">Optional</bridgehead>
317 <para role="optional">
318 <ulink url="http://pytest.org">pytest</ulink>
319 </para>
320
321 <para condition="html" role="usernotes">
322 User Notes: <ulink url="&blfs-wiki;/py2cairo"/>
323 </para>
324 </sect3>
325
326 <sect3 role="installation">
327 <title>Installation of Py2cairo</title>
328
329 <para>
330 Install <application>Py2cairo</application> by running the following
331 commands:
332 </para>
333
334<screen><userinput>./waf configure --prefix=/usr &amp;&amp;
335./waf build</userinput></screen>
336
337 <para>
338 The test suite must be run after the package is installed.
339 </para>
340
341 <para>
342 Now, as the <systemitem class="username">root</systemitem> user:
343 </para>
344
345<screen role="root"><userinput>./waf install</userinput></screen>
346
347 <para>
348 The test suite requires the optional <application>pytest</application>
349 package. If installed, it is run by changing to the
350 <filename class='directory'>test</filename> directory and running
351 <userinput>py.test</userinput> an an unprivileged user.
352 </para>
353 </sect3>
354
355 <sect3 role="content">
356 <title>Contents</title>
357
358 <segmentedlist>
359 <segtitle>Installed Programs</segtitle>
360 <segtitle>Installed Library</segtitle>
361 <segtitle>Installed Directory</segtitle>
362
363 <seglistitem>
364 <seg>
365 None
366 </seg>
367 <seg>
368 _cairo.so
369 </seg>
370 <seg>
371 /usr/include/pycairo and
372 /usr/lib/python&python2-majorver;/site-packages/cairo
373 </seg>
374 </seglistitem>
375 </segmentedlist>
376 </sect3>
377 </sect2>
378 <!-- End Py2cairo -->
379
380 <!-- Begin PyGObject2 -->
381 <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
382
383 <title>PyGObject-&pygobject2-version;</title>
384
385 <indexterm zone="pygobject2">
386 <primary sortas="a-PyGObject">PyGObject</primary>
387 </indexterm>
388
389 <sect3 role="package">
390 <title>Introduction to PyGObject Module</title>
391
392 <para>
393 PyGObject-&pygobject2-version; provides
394 <application>Python 2</application> bindings to the GObject class from
395 <application>GLib</application>.
396 </para>
397
398 &lfs73_checked;
399
400 <bridgehead renderas="sect4">Package Information</bridgehead>
401 <itemizedlist spacing="compact">
402 <listitem>
403 <para>
404 Download (HTTP): <ulink url="&pygobject2-download-http;"/>
405 </para>
406 </listitem>
407 <listitem>
408 <para>
409 Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
410 </para>
411 </listitem>
412 <listitem>
413 <para>
414 Download MD5 sum: &pygobject2-md5sum;
415 </para>
416 </listitem>
417 <listitem>
418 <para>
419 Download size: &pygobject2-size;
420 </para>
421 </listitem>
422 <listitem>
423 <para>
424 Estimated disk space required: &pygobject2-buildsize;
425 </para>
426 </listitem>
427 <listitem>
428 <para>
429 Estimated build time: &pygobject2-time;
430 </para>
431 </listitem>
432 </itemizedlist>
433
434 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
435 <itemizedlist spacing="compact">
436 <listitem>
437 <para>
438 Optional patch:
439 <ulink url="&patch-root;/pygobject-&pygobject2-version;-introspection-1.patch"/>
440 </para>
441 </listitem>
442 </itemizedlist>
443
444 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
445
446 <bridgehead renderas="sect5">Required</bridgehead>
447 <para role="required">
448 <xref linkend="glib2"/> and
449 <xref linkend="py2cairo"/>
450 </para>
451
452 <bridgehead renderas="sect5">Optional</bridgehead>
453 <para role="optional">
454 <xref linkend="gobject-introspection"/> and
455 <xref linkend="libxslt"/> (to Build Documentation)
456 </para>
457
458 <para condition="html" role="usernotes">
459 User Notes: <ulink url="&blfs-wiki;/pygobject2"/>
460 </para>
461 </sect3>
462
463 <sect3 role="installation">
464 <title>Installation of PyGObject</title>
465
466 <para>
467 If you have installed <xref linkend="gobject-introspection"/>, apply the
468 required patch by running the following commands:
469 </para>
470
471<screen><userinput>patch -p1 &lt; ../pygobject-&pygobject2-version;-introspection-1.patch</userinput></screen>
472
473 <para>
474 Install <application>PyGObject</application> by running the following
475 commands:
476 </para>
477
478<screen><userinput>./configure --prefix=/usr --disable-introspection &amp;&amp;
479make</userinput></screen>
480
481 <para>
482 This package does not have a working testsuite.
483 </para>
484
485 <para>
486 Now, as the <systemitem class="username">root</systemitem> user:
487 </para>
488
489<screen role="root"><userinput>make install</userinput></screen>
490 </sect3>
491
492 <sect3 role="commands">
493 <title>Command Explanations</title>
494
495 <para>
496 <option>--disable-introspection</option>: Omit this switch if you have
497 installed <xref linkend="gobject-introspection"/>.
498 </para>
499
500 <para>
501 <option>--disable-docs</option>: This option disables the rebuilding of
502 the html documentation if <xref linkend="libxslt"/> is installed.
503 </para>
504
505 </sect3>
506
507 <sect3 role="content">
508 <title>Contents</title>
509
510 <segmentedlist>
511 <segtitle>Installed Programs</segtitle>
512 <segtitle>Installed Libraries</segtitle>
513 <segtitle>Installed Directories</segtitle>
514
515 <seglistitem>
516 <seg>pygobject-codegen-2.0</seg>
517 <seg>
518 libpyglib-2.0-python.so,
519 _gio.so,
520 unix.so,
521 _glib.so and
522 _gobject.so.
523 </seg>
524 <seg>
525 /usr/include/pygtk-2.0,
526 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
527 /usr/share/gtk-doc/html/pygobject and
528 /usr/share/pygobject/2.0
529 </seg>
530 </seglistitem>
531 </segmentedlist>
532 </sect3>
533 </sect2>
534 <!-- End PyGObject2 -->
535
536 <!-- Begin PyGObject3 -->
537 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
538
539 <title>PyGObject-&pygobject3-version;</title>
540
541 <indexterm zone="pygobject3">
542 <primary sortas="a-PyGObject">PyGObject</primary>
543 </indexterm>
544
545 <sect3 role="package">
546 <title>Introduction to PyGObject Module</title>
547
548 <para>
549 PyGObject-&pygobject3-version; provides
550 <application>Python 2</application> bindings to the GObject
551 class from <application>GLib</application>.
552 </para>
553
554 &lfs72_checked;
555
556 <bridgehead renderas="sect4">Package Information</bridgehead>
557 <itemizedlist spacing="compact">
558 <listitem>
559 <para>
560 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
561 </para>
562 </listitem>
563 <listitem>
564 <para>
565 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
566 </para>
567 </listitem>
568 <listitem>
569 <para>
570 Download MD5 sum: &pygobject3-md5sum;
571 </para>
572 </listitem>
573 <listitem>
574 <para>
575 Download size: &pygobject3-size;
576 </para>
577 </listitem>
578 <listitem>
579 <para>
580 Estimated disk space required: &pygobject3-buildsize;
581 </para>
582 </listitem>
583 <listitem>
584 <para>
585 Estimated build time: &pygobject3-time;
586 </para>
587 </listitem>
588 </itemizedlist>
589
590 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
591
592 <bridgehead renderas="sect5">Required</bridgehead>
593 <para role="required">
594 <xref linkend="gobject-introspection"/> and
595 <xref linkend="py2cairo"/>
596 </para>
597
598 <bridgehead renderas="sect5">Optional</bridgehead>
599 <para role="optional">
600 <xref linkend="libxslt"/> (to Build Documentation)
601 </para>
602
603 <para condition="html" role="usernotes">
604 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
605 </para>
606 </sect3>
607
608 <sect3 role="installation">
609 <title>Installation of PyGObject</title>
610
611 <para>
612 Install <application>PyGObject</application> by running the following
613 commands:
614 </para>
615
616<screen><userinput>./configure --prefix=/usr &amp;&amp;
617make</userinput></screen>
618
619 <para>
620 To test the results, issue: <command>make check</command>.
621 </para>
622
623 <para>
624 Now, as the <systemitem class="username">root</systemitem> user:
625 </para>
626
627<screen role="root"><userinput>make install</userinput></screen>
628
629 </sect3>
630
631 <sect3 role="commands">
632 <title>Command Explanations</title>
633
634 <para>
635 <parameter>--disable-docs</parameter>: This option disables the
636 rebuilding of the html documentation if <xref linkend="libxslt"/> is
637 installed.
638 </para>
639
640 </sect3>
641
642 <sect3 role="content">
643 <title>Contents</title>
644
645 <segmentedlist>
646 <segtitle>Installed Programs</segtitle>
647 <segtitle>Installed Library</segtitle>
648 <segtitle>Installed Directories</segtitle>
649
650 <seglistitem>
651 <seg>
652 None
653 </seg>
654 <seg>
655 libpyglib-gi-2.0-python.so
656 </seg>
657 <seg>
658 /usr/include/pygobject-3.0 and
659 /usr/lib/python&python2-majorver;/site-packages/gi
660 </seg>
661 </seglistitem>
662 </segmentedlist>
663
664 </sect3>
665
666 </sect2>
667 <!-- End PyGObject -->
668
669 <!-- Begin PyGTK -->
670 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
671
672 <title>PyGTK-&pygtk-version;</title>
673
674 <indexterm zone="pygtk">
675 <primary sortas="a-PyGTK">PyGTK</primary>
676 </indexterm>
677
678 <sect3 role="package">
679 <title>Introduction to PyGTK Module</title>
680
681 <para>
682 PyGTK lets you to easily create programs with a graphical user interface
683 using the <application>Python</application> programming language.
684 </para>
685
686 &lfs73_checked;
687
688 <bridgehead renderas="sect4">Package Information</bridgehead>
689 <itemizedlist spacing="compact">
690 <listitem>
691 <para>
692 Download (HTTP): <ulink url="&pygtk-download-http;"/>
693 </para>
694 </listitem>
695 <listitem>
696 <para>
697 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
698 </para>
699 </listitem>
700 <listitem>
701 <para>
702 Download MD5 sum: &pygtk-md5sum;
703 </para>
704 </listitem>
705 <listitem>
706 <para>
707 Download size: &pygtk-size;
708 </para>
709 </listitem>
710 <listitem>
711 <para>
712 Estimated disk space required: &pygtk-buildsize;
713 </para>
714 </listitem>
715 <listitem>
716 <para>
717 Estimated build time: &pygtk-time;
718 </para>
719 </listitem>
720 </itemizedlist>
721
722 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
723
724 <bridgehead renderas="sect5">Required</bridgehead>
725 <para role="required">
726 <xref linkend="pygobject2"/>
727 </para>
728
729 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
730 <para role="required">
731 <xref linkend="atk"/>
732 </para>
733
734 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
735 <para role="required">
736 <xref linkend="pango"/>
737 </para>
738
739 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
740 <para role="required">
741 <xref linkend="py2cairo"/> and
742 <xref linkend="pango"/>
743 </para>
744
745 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
746 <para role="required">
747 <xref linkend="py2cairo"/> and
748 <xref linkend="gtk2"/>.
749 </para>
750
751 <bridgehead renderas="sect5">Required (gtk.libglade module)</bridgehead>
752 <para role="required">
753 <xref linkend="py2cairo"/> and
754 <xref linkend="libglade"/>.
755 </para>
756
757 <bridgehead renderas="sect5">Optional</bridgehead>
758 <para role="optional">
759 <ulink url="http://sourceforge.net/projects/numpy/">NumPy</ulink>
760 </para>
761
762 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
763 <para role="optional">
764 <xref linkend="libxslt"/>
765 </para>
766
767 <para condition="html" role="usernotes">
768 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
769 </para>
770 </sect3>
771
772 <sect3 role="installation">
773 <title>Installation of PyGTK</title>
774
775 <para>
776 Install <application>PyGTK</application> by running the following
777 commands:
778 </para>
779
780<screen><userinput>./configure --prefix=/usr &amp;&amp;
781make</userinput></screen>
782
783 <para>
784 The tests must be run from an active X display. If this is so, issue:
785 <command>make check</command>.
786 </para>
787
788 <para>
789 Now, as the <systemitem class="username">root</systemitem> user:
790 </para>
791
792<screen role="root"><userinput>make install</userinput></screen>
793 </sect3>
794
795 <sect3 role="commands">
796 <title>Command Explanations</title>
797
798 <para>
799 <parameter>--enable-docs</parameter>: This option enables rebuilding the
800 html documentation if <xref linkend="libxslt"/> is installed.
801 </para>
802 </sect3>
803
804 <sect3 role="content">
805 <title>Contents</title>
806
807 <segmentedlist>
808 <segtitle>Installed Programs</segtitle>
809 <segtitle>Installed Libraries</segtitle>
810 <segtitle>Installed Directories</segtitle>
811
812 <seglistitem>
813 <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
814 <seg>
815 atk.so,
816 _gtk.so,
817 glade.so,
818 gtkunixprint.so,
819 pango.so and
820 pangocairo.so.
821 </seg>
822 <seg>
823 /usr/include/pygtk-2.0,
824 /usr/lib/pygtk,
825 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
826 /usr/share/gtk-doc/html/pygtk and
827 /usr/share/pygtk.
828 </seg>
829 </seglistitem>
830 </segmentedlist>
831
832 <variablelist>
833 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
834 <?dbfo list-presentation="list"?>
835 <?dbhtml list-presentation="table"?>
836
837 <varlistentry id="pygtk-codegen-2.0">
838 <term><command>pygtk-codegen-2.0</command></term>
839 <listitem>
840 <para>
841 is a wrapper script to run the <application>PyGTK</application>
842 codegen module.
843 </para>
844 <indexterm zone="pygtk pygtk-codegen-2.0">
845 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
846 </indexterm>
847 </listitem>
848 </varlistentry>
849
850 <varlistentry id="pygtk-demo">
851 <term><command>pygtk-demo</command></term>
852 <listitem>
853 <para>
854 is a Python wrapper to run the <application>PyGTK</application>
855 demo program.
856 </para>
857 <indexterm zone="pygtk pygtk-demo">
858 <primary sortas="b-pygtk-demo">pygtk-demo</primary>
859 </indexterm>
860 </listitem>
861 </varlistentry>
862 </variablelist>
863 </sect3>
864 </sect2>
865 <!-- End PyGTK -->
866
867 <!-- Begin pyatspi2 -->
868 <sect2 id="pyatspi2" xreflabel="pyatspi2-&pyatspi2-version;">
869
870 <title>pyatspi2-&pyatspi2-version;</title>
871
872 <indexterm zone="pyatspi2">
873 <primary sortas="a-pyatspi2">pyatspi2</primary>
874 </indexterm>
875
876 <sect3 role="package">
877 <title>Introduction to pyatspi2</title>
878
879 <para>
880 The <application>pyatspi2</application> package contains Python2
881 bindings for the core components of GNOME Accessibility.
882 </para>
883
884 &lfs72_checked;
885
886 <bridgehead renderas="sect4">Package Information</bridgehead>
887 <itemizedlist spacing="compact">
888 <listitem>
889 <para>
890 Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
891 </para>
892 </listitem>
893 <listitem>
894 <para>
895 Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
896 </para>
897 </listitem>
898 <listitem>
899 <para>
900 Download MD5 sum: &pyatspi2-md5sum;
901 </para>
902 </listitem>
903 <listitem>
904 <para>
905 Download size: &pyatspi2-size;
906 </para>
907 </listitem>
908 <listitem>
909 <para>
910 Estimated disk space required: &pyatspi2-buildsize;
911 </para>
912 </listitem>
913 <listitem>
914 <para>
915 Estimated build time: &pyatspi2-time;
916 </para>
917 </listitem>
918 </itemizedlist>
919
920 <bridgehead renderas="sect4">pyatspi2 Dependencies</bridgehead>
921
922 <bridgehead renderas="sect5">Required</bridgehead>
923 <para role="required">
924 <xref linkend="pygobject3"/>
925 </para>
926
927 <bridgehead renderas="sect5">Recommended</bridgehead>
928 <para role="recommended">
929 <xref linkend="at-spi2-core"/>
930 </para>
931
932 <para condition="html" role="usernotes">
933 User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
934 </para>
935
936 </sect3>
937
938 <sect3 role="installation">
939 <title>Installation of pyatspi2</title>
940
941 <para>
942 Install <application>pyatspi2</application> by running the following
943 commands:
944 </para>
945
946<screen><userinput>./configure --prefix=/usr &amp;&amp;
947make</userinput></screen>
948
949 <para>
950 This package does not come with a testsuite.
951 </para>
952
953 <para>
954 Now, as the <systemitem class="username">root</systemitem> user:
955 </para>
956
957<screen role="root"><userinput>make install</userinput></screen>
958
959 </sect3>
960
961 <sect3 role="content">
962 <title>Contents</title>
963
964 <segmentedlist>
965 <segtitle>Installed Programs</segtitle>
966 <segtitle>Installed Libraries</segtitle>
967 <segtitle>Installed Directory</segtitle>
968
969 <seglistitem>
970 <seg>
971 None
972 </seg>
973 <seg>
974 None
975 </seg>
976 <seg>
977 /usr/lib/python&python2-majorver;/site-packages/pyatspi
978 </seg>
979 </seglistitem>
980 </segmentedlist>
981
982 </sect3>
983
984 </sect2>
985 <!-- End pyatspi2 -->
986
987 <!-- Begin Pyrex -->
988 <sect2 id="pyrex" xreflabel="Pyrex-&pyrex-version;">
989
990 <title>Pyrex-&pyrex-version;</title>
991
992 <indexterm zone="pyrex">
993 <primary sortas="a-Pyrex">pyrex</primary>
994 </indexterm>
995
996 <sect3 role="package">
997 <title>Introduction to Pyrex Module</title>
998
999 <para>
1000 <application>Pyrex</application> is language used for writing
1001 <application>Python</application> extension modules.
1002 </para>
1003
1004 &lfs72_checked;
1005
1006 <bridgehead renderas="sect4">Package Information</bridgehead>
1007 <itemizedlist spacing="compact">
1008 <listitem>
1009 <para>
1010 Download (HTTP): <ulink url="&pyrex-download-http;"/>
1011 </para>
1012 </listitem>
1013 <listitem>
1014 <para>
1015 Download (FTP): <ulink url="&pyrex-download-ftp;"/>
1016 </para>
1017 </listitem>
1018 <listitem>
1019 <para>
1020 Download MD5 sum: &pyrex-md5sum;
1021 </para>
1022 </listitem>
1023 <listitem>
1024 <para>
1025 Download size: &pyrex-size;
1026 </para>
1027 </listitem>
1028 <listitem>
1029 <para>
1030 Estimated disk space required: &pyrex-buildsize;
1031 </para>
1032 </listitem>
1033 <listitem>
1034 <para>
1035 Estimated build time: &pyrex-time;
1036 </para>
1037 </listitem>
1038 </itemizedlist>
1039
1040 <bridgehead renderas="sect4">Pyrex Dependencies</bridgehead>
1041
1042 <bridgehead renderas="sect5">Required</bridgehead>
1043 <para role="required">
1044 <xref linkend="python2"/>
1045 </para>
1046
1047 <para condition="html" role="usernotes">
1048 User Notes: <ulink url="&blfs-wiki;/pyrex"/>
1049 </para>
1050 </sect3>
1051
1052 <sect3 role="installation">
1053 <title>Installation of Pyrex</title>
1054
1055 <para>
1056 Install <application>pyrex</application> by running the following
1057 commands as the <systemitem class="username">root</systemitem> user:
1058 </para>
1059
1060<screen role="root"><userinput>python setup.py install</userinput></screen>
1061 </sect3>
1062
1063 <sect3 role="commands">
1064 <title>Command Explanations</title>
1065
1066 <para>
1067 <command>python setup.py install</command>: This command installs
1068 the package. There are other options available, see
1069 <command>python setup.py --help-commands</command> for details.
1070 </para>
1071
1072 </sect3>
1073
1074 <sect3 role="content">
1075 <title>Contents</title>
1076
1077 <segmentedlist>
1078 <segtitle>Installed Program</segtitle>
1079 <segtitle>Installed Libraries</segtitle>
1080 <segtitle>Installed Directory</segtitle>
1081
1082 <seglistitem>
1083 <seg>
1084 pyrexc
1085 </seg>
1086 <seg>
1087 None
1088 </seg>
1089 <seg>
1090 /usr/lib/python&python2-majorver;/site-packages/Pyrex
1091 </seg>
1092 </seglistitem>
1093 </segmentedlist>
1094
1095 </sect3>
1096
1097 </sect2>
1098 <!-- End Pyrex -->
1099
1100</sect1>
Note: See TracBrowser for help on using the repository browser.