source: general/prog/python-modules.xml@ 15c26c7

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 15c26c7 was 15c26c7, checked in by Igor Živković <igor@…>, 11 years ago

gtk.glade python module name fix

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

  • Property mode set to 100644
File size: 30.6 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"/>. Note that it
498 conflicts with <xref linkend="pygobject3"/>.
499 </para>
500
501 <para>
502 <option>--disable-docs</option>: This option disables the rebuilding of
503 the html documentation if <xref linkend="libxslt"/> is installed.
504 </para>
505
506 </sect3>
507
508 <sect3 role="content">
509 <title>Contents</title>
510
511 <segmentedlist>
512 <segtitle>Installed Programs</segtitle>
513 <segtitle>Installed Libraries</segtitle>
514 <segtitle>Installed Directories</segtitle>
515
516 <seglistitem>
517 <seg>pygobject-codegen-2.0</seg>
518 <seg>
519 libpyglib-2.0-python.so,
520 _gio.so,
521 unix.so,
522 _glib.so and
523 _gobject.so.
524 </seg>
525 <seg>
526 /usr/include/pygtk-2.0,
527 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
528 /usr/share/gtk-doc/html/pygobject and
529 /usr/share/pygobject/2.0
530 </seg>
531 </seglistitem>
532 </segmentedlist>
533 </sect3>
534 </sect2>
535 <!-- End PyGObject2 -->
536
537 <!-- Begin PyGObject3 -->
538 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
539
540 <title>PyGObject-&pygobject3-version;</title>
541
542 <indexterm zone="pygobject3">
543 <primary sortas="a-PyGObject">PyGObject</primary>
544 </indexterm>
545
546 <sect3 role="package">
547 <title>Introduction to PyGObject Module</title>
548
549 <para>
550 PyGObject-&pygobject3-version; provides
551 <application>Python 2</application> bindings to the GObject
552 class from <application>GLib</application>.
553 </para>
554
555 &lfs72_checked;
556
557 <bridgehead renderas="sect4">Package Information</bridgehead>
558 <itemizedlist spacing="compact">
559 <listitem>
560 <para>
561 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
562 </para>
563 </listitem>
564 <listitem>
565 <para>
566 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
567 </para>
568 </listitem>
569 <listitem>
570 <para>
571 Download MD5 sum: &pygobject3-md5sum;
572 </para>
573 </listitem>
574 <listitem>
575 <para>
576 Download size: &pygobject3-size;
577 </para>
578 </listitem>
579 <listitem>
580 <para>
581 Estimated disk space required: &pygobject3-buildsize;
582 </para>
583 </listitem>
584 <listitem>
585 <para>
586 Estimated build time: &pygobject3-time;
587 </para>
588 </listitem>
589 </itemizedlist>
590
591 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
592
593 <bridgehead renderas="sect5">Required</bridgehead>
594 <para role="required">
595 <xref linkend="gobject-introspection"/> and
596 <xref linkend="py2cairo"/>
597 </para>
598
599 <bridgehead renderas="sect5">Optional</bridgehead>
600 <para role="optional">
601 <xref linkend="libxslt"/> (to Build Documentation)
602 </para>
603
604 <para condition="html" role="usernotes">
605 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
606 </para>
607 </sect3>
608
609 <sect3 role="installation">
610 <title>Installation of PyGObject</title>
611
612 <para>
613 Install <application>PyGObject</application> by running the following
614 commands:
615 </para>
616
617<screen><userinput>./configure --prefix=/usr &amp;&amp;
618make</userinput></screen>
619
620 <para>
621 To test the results, issue: <command>make check</command>.
622 </para>
623
624 <para>
625 Now, as the <systemitem class="username">root</systemitem> user:
626 </para>
627
628<screen role="root"><userinput>make install</userinput></screen>
629
630 </sect3>
631
632 <sect3 role="commands">
633 <title>Command Explanations</title>
634
635 <para>
636 <parameter>--disable-docs</parameter>: This option disables the
637 rebuilding of the html documentation if <xref linkend="libxslt"/> is
638 installed.
639 </para>
640
641 </sect3>
642
643 <sect3 role="content">
644 <title>Contents</title>
645
646 <segmentedlist>
647 <segtitle>Installed Programs</segtitle>
648 <segtitle>Installed Library</segtitle>
649 <segtitle>Installed Directories</segtitle>
650
651 <seglistitem>
652 <seg>
653 None
654 </seg>
655 <seg>
656 libpyglib-gi-2.0-python.so
657 </seg>
658 <seg>
659 /usr/include/pygobject-3.0 and
660 /usr/lib/python&python2-majorver;/site-packages/gi
661 </seg>
662 </seglistitem>
663 </segmentedlist>
664
665 </sect3>
666
667 </sect2>
668 <!-- End PyGObject -->
669
670 <!-- Begin PyGTK -->
671 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
672
673 <title>PyGTK-&pygtk-version;</title>
674
675 <indexterm zone="pygtk">
676 <primary sortas="a-PyGTK">PyGTK</primary>
677 </indexterm>
678
679 <sect3 role="package">
680 <title>Introduction to PyGTK Module</title>
681
682 <para>
683 PyGTK lets you to easily create programs with a graphical user interface
684 using the <application>Python</application> programming language.
685 </para>
686
687 &lfs73_checked;
688
689 <bridgehead renderas="sect4">Package Information</bridgehead>
690 <itemizedlist spacing="compact">
691 <listitem>
692 <para>
693 Download (HTTP): <ulink url="&pygtk-download-http;"/>
694 </para>
695 </listitem>
696 <listitem>
697 <para>
698 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
699 </para>
700 </listitem>
701 <listitem>
702 <para>
703 Download MD5 sum: &pygtk-md5sum;
704 </para>
705 </listitem>
706 <listitem>
707 <para>
708 Download size: &pygtk-size;
709 </para>
710 </listitem>
711 <listitem>
712 <para>
713 Estimated disk space required: &pygtk-buildsize;
714 </para>
715 </listitem>
716 <listitem>
717 <para>
718 Estimated build time: &pygtk-time;
719 </para>
720 </listitem>
721 </itemizedlist>
722
723 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
724
725 <bridgehead renderas="sect5">Required</bridgehead>
726 <para role="required">
727 <xref linkend="pygobject2"/>
728 </para>
729
730 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
731 <para role="required">
732 <xref linkend="atk"/>
733 </para>
734
735 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
736 <para role="required">
737 <xref linkend="pango"/>
738 </para>
739
740 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
741 <para role="required">
742 <xref linkend="py2cairo"/> and
743 <xref linkend="pango"/>
744 </para>
745
746 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
747 <para role="required">
748 <xref linkend="py2cairo"/> and
749 <xref linkend="gtk2"/>.
750 </para>
751
752 <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead>
753 <para role="required">
754 <xref linkend="py2cairo"/> and
755 <xref linkend="libglade"/>.
756 </para>
757
758 <bridgehead renderas="sect5">Optional</bridgehead>
759 <para role="optional">
760 <ulink url="http://sourceforge.net/projects/numpy/">NumPy</ulink>
761 </para>
762
763 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
764 <para role="optional">
765 <xref linkend="libxslt"/>
766 </para>
767
768 <para condition="html" role="usernotes">
769 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
770 </para>
771 </sect3>
772
773 <sect3 role="installation">
774 <title>Installation of PyGTK</title>
775
776 <para>
777 Install <application>PyGTK</application> by running the following
778 commands:
779 </para>
780
781<screen><userinput>./configure --prefix=/usr &amp;&amp;
782make</userinput></screen>
783
784 <para>
785 The tests must be run from an active X display. If this is so, issue:
786 <command>make check</command>.
787 </para>
788
789 <para>
790 Now, as the <systemitem class="username">root</systemitem> user:
791 </para>
792
793<screen role="root"><userinput>make install</userinput></screen>
794 </sect3>
795
796 <sect3 role="commands">
797 <title>Command Explanations</title>
798
799 <para>
800 <parameter>--enable-docs</parameter>: This option enables rebuilding the
801 html documentation if <xref linkend="libxslt"/> is installed.
802 </para>
803 </sect3>
804
805 <sect3 role="content">
806 <title>Contents</title>
807
808 <segmentedlist>
809 <segtitle>Installed Programs</segtitle>
810 <segtitle>Installed Libraries</segtitle>
811 <segtitle>Installed Directories</segtitle>
812
813 <seglistitem>
814 <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
815 <seg>
816 atk.so,
817 _gtk.so,
818 glade.so,
819 gtkunixprint.so,
820 pango.so and
821 pangocairo.so.
822 </seg>
823 <seg>
824 /usr/include/pygtk-2.0,
825 /usr/lib/pygtk,
826 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
827 /usr/share/gtk-doc/html/pygtk and
828 /usr/share/pygtk.
829 </seg>
830 </seglistitem>
831 </segmentedlist>
832
833 <variablelist>
834 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
835 <?dbfo list-presentation="list"?>
836 <?dbhtml list-presentation="table"?>
837
838 <varlistentry id="pygtk-codegen-2.0">
839 <term><command>pygtk-codegen-2.0</command></term>
840 <listitem>
841 <para>
842 is a wrapper script to run the <application>PyGTK</application>
843 codegen module.
844 </para>
845 <indexterm zone="pygtk pygtk-codegen-2.0">
846 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
847 </indexterm>
848 </listitem>
849 </varlistentry>
850
851 <varlistentry id="pygtk-demo">
852 <term><command>pygtk-demo</command></term>
853 <listitem>
854 <para>
855 is a Python wrapper to run the <application>PyGTK</application>
856 demo program.
857 </para>
858 <indexterm zone="pygtk pygtk-demo">
859 <primary sortas="b-pygtk-demo">pygtk-demo</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863 </variablelist>
864 </sect3>
865 </sect2>
866 <!-- End PyGTK -->
867
868 <!-- Begin pyatspi2 -->
869 <sect2 id="pyatspi2" xreflabel="pyatspi2-&pyatspi2-version;">
870
871 <title>pyatspi2-&pyatspi2-version;</title>
872
873 <indexterm zone="pyatspi2">
874 <primary sortas="a-pyatspi2">pyatspi2</primary>
875 </indexterm>
876
877 <sect3 role="package">
878 <title>Introduction to pyatspi2</title>
879
880 <para>
881 The <application>pyatspi2</application> package contains Python2
882 bindings for the core components of GNOME Accessibility.
883 </para>
884
885 &lfs72_checked;
886
887 <bridgehead renderas="sect4">Package Information</bridgehead>
888 <itemizedlist spacing="compact">
889 <listitem>
890 <para>
891 Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
892 </para>
893 </listitem>
894 <listitem>
895 <para>
896 Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
897 </para>
898 </listitem>
899 <listitem>
900 <para>
901 Download MD5 sum: &pyatspi2-md5sum;
902 </para>
903 </listitem>
904 <listitem>
905 <para>
906 Download size: &pyatspi2-size;
907 </para>
908 </listitem>
909 <listitem>
910 <para>
911 Estimated disk space required: &pyatspi2-buildsize;
912 </para>
913 </listitem>
914 <listitem>
915 <para>
916 Estimated build time: &pyatspi2-time;
917 </para>
918 </listitem>
919 </itemizedlist>
920
921 <bridgehead renderas="sect4">pyatspi2 Dependencies</bridgehead>
922
923 <bridgehead renderas="sect5">Required</bridgehead>
924 <para role="required">
925 <xref linkend="pygobject3"/>
926 </para>
927
928 <bridgehead renderas="sect5">Recommended</bridgehead>
929 <para role="recommended">
930 <xref linkend="at-spi2-core"/>
931 </para>
932
933 <para condition="html" role="usernotes">
934 User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
935 </para>
936
937 </sect3>
938
939 <sect3 role="installation">
940 <title>Installation of pyatspi2</title>
941
942 <para>
943 Install <application>pyatspi2</application> by running the following
944 commands:
945 </para>
946
947<screen><userinput>./configure --prefix=/usr &amp;&amp;
948make</userinput></screen>
949
950 <para>
951 This package does not come with a testsuite.
952 </para>
953
954 <para>
955 Now, as the <systemitem class="username">root</systemitem> user:
956 </para>
957
958<screen role="root"><userinput>make install</userinput></screen>
959
960 </sect3>
961
962 <sect3 role="content">
963 <title>Contents</title>
964
965 <segmentedlist>
966 <segtitle>Installed Programs</segtitle>
967 <segtitle>Installed Libraries</segtitle>
968 <segtitle>Installed Directory</segtitle>
969
970 <seglistitem>
971 <seg>
972 None
973 </seg>
974 <seg>
975 None
976 </seg>
977 <seg>
978 /usr/lib/python&python2-majorver;/site-packages/pyatspi
979 </seg>
980 </seglistitem>
981 </segmentedlist>
982
983 </sect3>
984
985 </sect2>
986 <!-- End pyatspi2 -->
987
988 <!-- Begin Pyrex -->
989 <sect2 id="pyrex" xreflabel="Pyrex-&pyrex-version;">
990
991 <title>Pyrex-&pyrex-version;</title>
992
993 <indexterm zone="pyrex">
994 <primary sortas="a-Pyrex">pyrex</primary>
995 </indexterm>
996
997 <sect3 role="package">
998 <title>Introduction to Pyrex Module</title>
999
1000 <para>
1001 <application>Pyrex</application> is language used for writing
1002 <application>Python</application> extension modules.
1003 </para>
1004
1005 &lfs72_checked;
1006
1007 <bridgehead renderas="sect4">Package Information</bridgehead>
1008 <itemizedlist spacing="compact">
1009 <listitem>
1010 <para>
1011 Download (HTTP): <ulink url="&pyrex-download-http;"/>
1012 </para>
1013 </listitem>
1014 <listitem>
1015 <para>
1016 Download (FTP): <ulink url="&pyrex-download-ftp;"/>
1017 </para>
1018 </listitem>
1019 <listitem>
1020 <para>
1021 Download MD5 sum: &pyrex-md5sum;
1022 </para>
1023 </listitem>
1024 <listitem>
1025 <para>
1026 Download size: &pyrex-size;
1027 </para>
1028 </listitem>
1029 <listitem>
1030 <para>
1031 Estimated disk space required: &pyrex-buildsize;
1032 </para>
1033 </listitem>
1034 <listitem>
1035 <para>
1036 Estimated build time: &pyrex-time;
1037 </para>
1038 </listitem>
1039 </itemizedlist>
1040
1041 <bridgehead renderas="sect4">Pyrex Dependencies</bridgehead>
1042
1043 <bridgehead renderas="sect5">Required</bridgehead>
1044 <para role="required">
1045 <xref linkend="python2"/>
1046 </para>
1047
1048 <para condition="html" role="usernotes">
1049 User Notes: <ulink url="&blfs-wiki;/pyrex"/>
1050 </para>
1051 </sect3>
1052
1053 <sect3 role="installation">
1054 <title>Installation of Pyrex</title>
1055
1056 <para>
1057 Install <application>pyrex</application> by running the following
1058 commands as the <systemitem class="username">root</systemitem> user:
1059 </para>
1060
1061<screen role="root"><userinput>python setup.py install</userinput></screen>
1062 </sect3>
1063
1064 <sect3 role="commands">
1065 <title>Command Explanations</title>
1066
1067 <para>
1068 <command>python setup.py install</command>: This command installs
1069 the package. There are other options available, see
1070 <command>python setup.py --help-commands</command> for details.
1071 </para>
1072
1073 </sect3>
1074
1075 <sect3 role="content">
1076 <title>Contents</title>
1077
1078 <segmentedlist>
1079 <segtitle>Installed Program</segtitle>
1080 <segtitle>Installed Libraries</segtitle>
1081 <segtitle>Installed Directory</segtitle>
1082
1083 <seglistitem>
1084 <seg>
1085 pyrexc
1086 </seg>
1087 <seg>
1088 None
1089 </seg>
1090 <seg>
1091 /usr/lib/python&python2-majorver;/site-packages/Pyrex
1092 </seg>
1093 </seglistitem>
1094 </segmentedlist>
1095
1096 </sect3>
1097
1098 </sect2>
1099 <!-- End Pyrex -->
1100
1101</sect1>
Note: See TracBrowser for help on using the repository browser.