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

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 ef47d83f 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
RevLine 
[ce892ab3]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
[661879b]7 <!ENTITY notify-python-download-http
[9697f0f]8 "http://www.galago-project.org/files/releases/source/notify-python/notify-python-&notify-python-version;.tar.bz2">
[661879b]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
[66b546a]15 <!ENTITY py2cairo-download-http
[9697f0f]16 "http://cairographics.org/releases/py2cairo-&py2cairo-version;.tar.bz2">
[3338ba43]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
[66b546a]23 <!ENTITY pygobject2-download-http
[9697f0f]24 "&gnome-download-http;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
[66b546a]25 <!ENTITY pygobject2-download-ftp
[9697f0f]26 "&gnome-download-ftp;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
[f4472d1]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
[66b546a]32 <!ENTITY pygobject3-download-http
[816595b]33 "&gnome-download-http;/pygobject/3.4/pygobject-&pygobject3-version;.tar.xz">
[66b546a]34 <!ENTITY pygobject3-download-ftp
[816595b]35 "&gnome-download-ftp;/pygobject/3.4/pygobject-&pygobject3-version;.tar.xz">
[a2bf8b17]36 <!ENTITY pygobject3-md5sum "a17b3897507f179d643e02f5abf111ac">
37 <!ENTITY pygobject3-size "604 KB">
[816595b]38 <!ENTITY pygobject3-buildsize "16 MB">
39 <!ENTITY pygobject3-time "0.1 SBU">
[d1daeac]40
[66b546a]41 <!ENTITY pygtk-download-http
[9697f0f]42 "&gnome-download-http;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
[66b546a]43 <!ENTITY pygtk-download-ftp
[9697f0f]44 "&gnome-download-ftp;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
[cafe973]45 <!ENTITY pygtk-md5sum "a1051d5794fd7696d3c1af6422d17a49">
[780294af]46 <!ENTITY pygtk-size "2.2 MB">
[cafe973]47 <!ENTITY pygtk-buildsize "83 MB">
[ce892ab3]48 <!ENTITY pygtk-time "0.7 SBU">
49
[66b546a]50 <!ENTITY pyatspi2-download-http
[816595b]51 "&gnome-download-http;/pyatspi/2.6/pyatspi-&pyatspi2-version;.tar.xz">
[66b546a]52 <!ENTITY pyatspi2-download-ftp
[816595b]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">
[b2df8a4]57 <!ENTITY pyatspi2-time "less than 0.1 SBU">
58
[e6fe729d]59 <!ENTITY pyrex-download-http
[9697f0f]60 "http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/Pyrex-&pyrex-version;.tar.gz">
[e6fe729d]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">
[ce892ab3]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
[66b546a]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>
[ce892ab3]92
93 <itemizedlist spacing="compact">
[661879b]94 <listitem>
95 <para>
96 <xref linkend="notify-python"/>
97 </para>
98 </listitem>
[ce892ab3]99 <listitem>
[66b546a]100 <para>
101 <xref linkend="py2cairo"/>
102 </para>
[ce892ab3]103 </listitem>
[f4472d1]104 <listitem>
[66b546a]105 <para>
106 <xref linkend="pygobject2"/>
107 </para>
[ce892ab3]108 </listitem>
109 <listitem>
[66b546a]110 <para>
111 <xref linkend="pygobject3"/>
112 </para>
[ce892ab3]113 </listitem>
[968dece]114 <listitem>
[66b546a]115 <para>
116 <xref linkend="pygtk"/>
117 </para>
[968dece]118 </listitem>
[f0088d1]119 <listitem>
[66b546a]120 <para>
121 <xref linkend="pyatspi2"/>
122 </para>
[f0088d1]123 </listitem>
[e6fe729d]124 <listitem>
125 <para>
126 <xref linkend="pyrex"/>
127 </para>
128 </listitem>
[ce892ab3]129 </itemizedlist>
130 </sect2>
131
[661879b]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
[9697f0f]149 &lfs72_checked;
[661879b]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>
[c3c56b2]235 <segtitle>Installed Programs</segtitle>
236 <segtitle>Installed Libraries</segtitle>
[661879b]237 <segtitle>Installed Directory</segtitle>
238
239 <seglistitem>
[c3c56b2]240 <seg>
241 None
242 </seg>
243 <seg>
244 None
245 </seg>
[661879b]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
[3338ba43]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
[66b546a]267 <para>
268 Py2cairo provides <application>Python 2</application> bindings to
269 <application>Cairo</application>.
270 </para>
[3338ba43]271
[0b33a30]272 &lfs73_checked;
[3338ba43]273
274 <bridgehead renderas="sect4">Package Information</bridgehead>
275 <itemizedlist spacing="compact">
276 <listitem>
[66b546a]277 <para>
278 Download (HTTP): <ulink url="&py2cairo-download-http;"/>
279 </para>
[3338ba43]280 </listitem>
281 <listitem>
[66b546a]282 <para>
283 Download (FTP): <ulink url="&py2cairo-download-ftp;"/>
284 </para>
[3338ba43]285 </listitem>
286 <listitem>
[66b546a]287 <para>
288 Download MD5 sum: &py2cairo-md5sum;
289 </para>
[3338ba43]290 </listitem>
291 <listitem>
[66b546a]292 <para>
293 Download size: &py2cairo-size;
294 </para>
[3338ba43]295 </listitem>
296 <listitem>
[66b546a]297 <para>
298 Estimated disk space required: &py2cairo-buildsize;
299 </para>
[3338ba43]300 </listitem>
301 <listitem>
[66b546a]302 <para>
303 Estimated build time: &py2cairo-time;
304 </para>
[3338ba43]305 </listitem>
306 </itemizedlist>
307
308 <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead>
309
310 <bridgehead renderas="sect5">Required</bridgehead>
311 <para role="required">
[4716d52]312 <xref linkend="python2"/> and
[3338ba43]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
[66b546a]321 <para condition="html" role="usernotes">
[31b1acd]322 User Notes: <ulink url="&blfs-wiki;/py2cairo"/>
[66b546a]323 </para>
[3338ba43]324 </sect3>
325
326 <sect3 role="installation">
327 <title>Installation of Py2cairo</title>
328
[66b546a]329 <para>
330 Install <application>Py2cairo</application> by running the following
331 commands:
332 </para>
[3338ba43]333
[fa4ff29]334<screen><userinput>./waf configure --prefix=/usr &amp;&amp;
335./waf build</userinput></screen>
[3338ba43]336
[66b546a]337 <para>
[2c8f113]338 The test suite must be run after the package is installed.
[66b546a]339 </para>
[3338ba43]340
[66b546a]341 <para>
342 Now, as the <systemitem class="username">root</systemitem> user:
343 </para>
[3338ba43]344
[fa4ff29]345<screen role="root"><userinput>./waf install</userinput></screen>
[2c8f113]346
347 <para>
348 The test suite requires the optional <application>pytest</application>
[0d7900a]349 package. If installed, it is run by changing to the
350 <filename class='directory'>test</filename> directory and running
[2c8f113]351 <userinput>py.test</userinput> an an unprivileged user.
352 </para>
[3e2c430]353 </sect3>
354
[3338ba43]355 <sect3 role="content">
356 <title>Contents</title>
357
358 <segmentedlist>
[c3c56b2]359 <segtitle>Installed Programs</segtitle>
360 <segtitle>Installed Library</segtitle>
[3338ba43]361 <segtitle>Installed Directory</segtitle>
362
363 <seglistitem>
[c3c56b2]364 <seg>
365 None
366 </seg>
367 <seg>
368 _cairo.so
369 </seg>
[66b546a]370 <seg>
371 /usr/include/pycairo and
[01996ebb]372 /usr/lib/python&python2-majorver;/site-packages/cairo
[66b546a]373 </seg>
[3338ba43]374 </seglistitem>
375 </segmentedlist>
376 </sect3>
377 </sect2>
378 <!-- End Py2cairo -->
[31b1acd]379
[f4472d1]380 <!-- Begin PyGObject2 -->
381 <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
[ce892ab3]382
[f4472d1]383 <title>PyGObject-&pygobject2-version;</title>
[ce892ab3]384
[f4472d1]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
[66b546a]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
[0b33a30]398 &lfs73_checked;
[f4472d1]399
400 <bridgehead renderas="sect4">Package Information</bridgehead>
401 <itemizedlist spacing="compact">
402 <listitem>
[66b546a]403 <para>
404 Download (HTTP): <ulink url="&pygobject2-download-http;"/>
405 </para>
[f4472d1]406 </listitem>
407 <listitem>
[66b546a]408 <para>
409 Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
410 </para>
[f4472d1]411 </listitem>
412 <listitem>
[66b546a]413 <para>
414 Download MD5 sum: &pygobject2-md5sum;
415 </para>
[f4472d1]416 </listitem>
417 <listitem>
[66b546a]418 <para>
419 Download size: &pygobject2-size;
420 </para>
[f4472d1]421 </listitem>
422 <listitem>
[66b546a]423 <para>
424 Estimated disk space required: &pygobject2-buildsize;
425 </para>
[f4472d1]426 </listitem>
427 <listitem>
[66b546a]428 <para>
429 Estimated build time: &pygobject2-time;
430 </para>
[f4472d1]431 </listitem>
432 </itemizedlist>
433
[1eb8b493]434 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
435 <itemizedlist spacing="compact">
436 <listitem>
437 <para>
[c5d808b]438 Optional patch:
[f79998c0]439 <ulink url="&patch-root;/pygobject-&pygobject2-version;-introspection-1.patch"/>
[1eb8b493]440 </para>
441 </listitem>
442 </itemizedlist>
443
[f4472d1]444 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
445
446 <bridgehead renderas="sect5">Required</bridgehead>
[66b546a]447 <para role="required">
[476618b]448 <xref linkend="glib2"/> and
449 <xref linkend="py2cairo"/>
[66b546a]450 </para>
[f4472d1]451
452 <bridgehead renderas="sect5">Optional</bridgehead>
[66b546a]453 <para role="optional">
[c5d808b]454 <xref linkend="gobject-introspection"/> and
[66b546a]455 <xref linkend="libxslt"/> (to Build Documentation)
456 </para>
[f4472d1]457
[66b546a]458 <para condition="html" role="usernotes">
[c2065a2]459 User Notes: <ulink url="&blfs-wiki;/pygobject2"/>
[66b546a]460 </para>
[f4472d1]461 </sect3>
462
463 <sect3 role="installation">
464 <title>Installation of PyGObject</title>
465
[c5d808b]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
[66b546a]473 <para>
474 Install <application>PyGObject</application> by running the following
475 commands:
476 </para>
[f4472d1]477
[c5d808b]478<screen><userinput>./configure --prefix=/usr --disable-introspection &amp;&amp;
[f4472d1]479make</userinput></screen>
480
[66b546a]481 <para>
482 This package does not have a working testsuite.
483 </para>
[f4472d1]484
[66b546a]485 <para>
486 Now, as the <systemitem class="username">root</systemitem> user:
487 </para>
[f4472d1]488
489<screen role="root"><userinput>make install</userinput></screen>
490 </sect3>
491
492 <sect3 role="commands">
493 <title>Command Explanations</title>
494
[c5d808b]495 <para>
496 <option>--disable-introspection</option>: Omit this switch if you have
[0e63b4d]497 installed <xref linkend="gobject-introspection"/>. Note that it
498 conflicts with <xref linkend="pygobject3"/>.
[c5d808b]499 </para>
500
[66b546a]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>
[9697f0f]505
[f4472d1]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>
[66b546a]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>
[f4472d1]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">
[ce892ab3]543 <primary sortas="a-PyGObject">PyGObject</primary>
544 </indexterm>
545
[d1daeac]546 <sect3 role="package">
547 <title>Introduction to PyGObject Module</title>
[ce892ab3]548
[66b546a]549 <para>
550 PyGObject-&pygobject3-version; provides
[816595b]551 <application>Python 2</application> bindings to the GObject
552 class from <application>GLib</application>.
[66b546a]553 </para>
[d1daeac]554
[816595b]555 &lfs72_checked;
[3338ba43]556
[d1daeac]557 <bridgehead renderas="sect4">Package Information</bridgehead>
558 <itemizedlist spacing="compact">
559 <listitem>
[66b546a]560 <para>
561 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
562 </para>
[d1daeac]563 </listitem>
564 <listitem>
[66b546a]565 <para>
566 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
567 </para>
[d1daeac]568 </listitem>
569 <listitem>
[66b546a]570 <para>
571 Download MD5 sum: &pygobject3-md5sum;
572 </para>
[d1daeac]573 </listitem>
574 <listitem>
[66b546a]575 <para>
576 Download size: &pygobject3-size;
577 </para>
[d1daeac]578 </listitem>
579 <listitem>
[66b546a]580 <para>
581 Estimated disk space required: &pygobject3-buildsize;
582 </para>
[d1daeac]583 </listitem>
584 <listitem>
[66b546a]585 <para>
586 Estimated build time: &pygobject3-time;
587 </para>
[d1daeac]588 </listitem>
589 </itemizedlist>
[ce892ab3]590
[d1daeac]591 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
[ce892ab3]592
[d1daeac]593 <bridgehead renderas="sect5">Required</bridgehead>
[3338ba43]594 <para role="required">
[816595b]595 <xref linkend="gobject-introspection"/> and
596 <xref linkend="py2cairo"/>
[3338ba43]597 </para>
[ce892ab3]598
[968dece]599 <bridgehead renderas="sect5">Optional</bridgehead>
[3338ba43]600 <para role="optional">
601 <xref linkend="libxslt"/> (to Build Documentation)
602 </para>
[ce892ab3]603
[66b546a]604 <para condition="html" role="usernotes">
[c2065a2]605 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
[66b546a]606 </para>
[d1daeac]607 </sect3>
[ce892ab3]608
[d1daeac]609 <sect3 role="installation">
610 <title>Installation of PyGObject</title>
[ce892ab3]611
[66b546a]612 <para>
613 Install <application>PyGObject</application> by running the following
614 commands:
615 </para>
[ce892ab3]616
617<screen><userinput>./configure --prefix=/usr &amp;&amp;
618make</userinput></screen>
619
[66b546a]620 <para>
621 To test the results, issue: <command>make check</command>.
622 </para>
[ce892ab3]623
[66b546a]624 <para>
625 Now, as the <systemitem class="username">root</systemitem> user:
626 </para>
[ce892ab3]627
628<screen role="root"><userinput>make install</userinput></screen>
[c2065a2]629
[d1daeac]630 </sect3>
[ce892ab3]631
[d1daeac]632 <sect3 role="commands">
633 <title>Command Explanations</title>
[ce892ab3]634
[66b546a]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>
[c2065a2]640
[d1daeac]641 </sect3>
642
643 <sect3 role="content">
644 <title>Contents</title>
[ce892ab3]645
[d1daeac]646 <segmentedlist>
[c3c56b2]647 <segtitle>Installed Programs</segtitle>
[c2065a2]648 <segtitle>Installed Library</segtitle>
[816595b]649 <segtitle>Installed Directories</segtitle>
[ce892ab3]650
[d1daeac]651 <seglistitem>
[c3c56b2]652 <seg>
653 None
654 </seg>
[c2065a2]655 <seg>
656 libpyglib-gi-2.0-python.so
[66b546a]657 </seg>
658 <seg>
[816595b]659 /usr/include/pygobject-3.0 and
660 /usr/lib/python&python2-majorver;/site-packages/gi
[3338ba43]661 </seg>
[d1daeac]662 </seglistitem>
663 </segmentedlist>
[c2065a2]664
[d1daeac]665 </sect3>
[c2065a2]666
[ce892ab3]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
[d1daeac]679 <sect3 role="package">
680 <title>Introduction to PyGTK Module</title>
[ce892ab3]681
[66b546a]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
[0b33a30]687 &lfs73_checked;
[ce892ab3]688
[d1daeac]689 <bridgehead renderas="sect4">Package Information</bridgehead>
690 <itemizedlist spacing="compact">
691 <listitem>
[66b546a]692 <para>
693 Download (HTTP): <ulink url="&pygtk-download-http;"/>
694 </para>
[d1daeac]695 </listitem>
696 <listitem>
[66b546a]697 <para>
698 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
699 </para>
[d1daeac]700 </listitem>
701 <listitem>
[66b546a]702 <para>
703 Download MD5 sum: &pygtk-md5sum;
704 </para>
[d1daeac]705 </listitem>
706 <listitem>
[66b546a]707 <para>
708 Download size: &pygtk-size;
709 </para>
[d1daeac]710 </listitem>
711 <listitem>
[66b546a]712 <para>
713 Estimated disk space required: &pygtk-buildsize;
714 </para>
[d1daeac]715 </listitem>
716 <listitem>
[66b546a]717 <para>
718 Estimated build time: &pygtk-time;
719 </para>
[d1daeac]720 </listitem>
721 </itemizedlist>
[ce892ab3]722
[d1daeac]723 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
[ce892ab3]724
[d1daeac]725 <bridgehead renderas="sect5">Required</bridgehead>
[66b546a]726 <para role="required">
727 <xref linkend="pygobject2"/>
728 </para>
[ce892ab3]729
[d1daeac]730 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
[66b546a]731 <para role="required">
732 <xref linkend="atk"/>
733 </para>
[ce892ab3]734
[d1daeac]735 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
[66b546a]736 <para role="required">
737 <xref linkend="pango"/>
738 </para>
[ce892ab3]739
[d1daeac]740 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
[66b546a]741 <para role="required">
[31b1acd]742 <xref linkend="py2cairo"/> and
[66b546a]743 <xref linkend="pango"/>
744 </para>
[ce892ab3]745
[66b546a]746 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
747 <para role="required">
[31b1acd]748 <xref linkend="py2cairo"/> and
[66b546a]749 <xref linkend="gtk2"/>.
750 </para>
[ce892ab3]751
[15c26c7]752 <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead>
[66b546a]753 <para role="required">
[31b1acd]754 <xref linkend="py2cairo"/> and
[66b546a]755 <xref linkend="libglade"/>.
756 </para>
[ce892ab3]757
[d1daeac]758 <bridgehead renderas="sect5">Optional</bridgehead>
[66b546a]759 <para role="optional">
[2c8f113]760 <ulink url="http://sourceforge.net/projects/numpy/">NumPy</ulink>
[66b546a]761 </para>
[ce892ab3]762
[d1daeac]763 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
[66b546a]764 <para role="optional">
765 <xref linkend="libxslt"/>
766 </para>
[d1daeac]767
[66b546a]768 <para condition="html" role="usernotes">
769 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
770 </para>
[d1daeac]771 </sect3>
[ce892ab3]772
[d1daeac]773 <sect3 role="installation">
774 <title>Installation of PyGTK</title>
[ce892ab3]775
[66b546a]776 <para>
777 Install <application>PyGTK</application> by running the following
778 commands:
779 </para>
[ce892ab3]780
781<screen><userinput>./configure --prefix=/usr &amp;&amp;
782make</userinput></screen>
783
[66b546a]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>
[ce892ab3]788
[66b546a]789 <para>
790 Now, as the <systemitem class="username">root</systemitem> user:
791 </para>
[ce892ab3]792
793<screen role="root"><userinput>make install</userinput></screen>
[d1daeac]794 </sect3>
795
796 <sect3 role="commands">
797 <title>Command Explanations</title>
798
[66b546a]799 <para>
800 <parameter>--enable-docs</parameter>: This option enables rebuilding the
801 html documentation if <xref linkend="libxslt"/> is installed.
802 </para>
[d1daeac]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>
[cafe973]814 <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
[66b546a]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>
[d1daeac]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>
[66b546a]841 <para>
842 is a wrapper script to run the <application>PyGTK</application>
843 codegen module.
844 </para>
[d1daeac]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>
[66b546a]854 <para>
855 is a Python wrapper to run the <application>PyGTK</application>
856 demo program.
857 </para>
[d1daeac]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>
[ce892ab3]865 </sect2>
866 <!-- End PyGTK -->
867
[9697f0f]868 <!-- Begin pyatspi2 -->
869 <sect2 id="pyatspi2" xreflabel="pyatspi2-&pyatspi2-version;">
[968dece]870
[9697f0f]871 <title>pyatspi2-&pyatspi2-version;</title>
[968dece]872
[9697f0f]873 <indexterm zone="pyatspi2">
874 <primary sortas="a-pyatspi2">pyatspi2</primary>
[968dece]875 </indexterm>
876
877 <sect3 role="package">
[9697f0f]878 <title>Introduction to pyatspi2</title>
[968dece]879
[66b546a]880 <para>
[9697f0f]881 The <application>pyatspi2</application> package contains Python2
882 bindings for the core components of GNOME Accessibility.
[66b546a]883 </para>
[968dece]884
[9697f0f]885 &lfs72_checked;
886
[968dece]887 <bridgehead renderas="sect4">Package Information</bridgehead>
888 <itemizedlist spacing="compact">
889 <listitem>
[66b546a]890 <para>
[9697f0f]891 Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
[66b546a]892 </para>
[968dece]893 </listitem>
894 <listitem>
[66b546a]895 <para>
[9697f0f]896 Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
[66b546a]897 </para>
[968dece]898 </listitem>
899 <listitem>
[66b546a]900 <para>
[9697f0f]901 Download MD5 sum: &pyatspi2-md5sum;
[66b546a]902 </para>
[968dece]903 </listitem>
904 <listitem>
[66b546a]905 <para>
[9697f0f]906 Download size: &pyatspi2-size;
[66b546a]907 </para>
[968dece]908 </listitem>
909 <listitem>
[66b546a]910 <para>
[9697f0f]911 Estimated disk space required: &pyatspi2-buildsize;
[66b546a]912 </para>
[968dece]913 </listitem>
914 <listitem>
[66b546a]915 <para>
[9697f0f]916 Estimated build time: &pyatspi2-time;
[66b546a]917 </para>
[968dece]918 </listitem>
919 </itemizedlist>
920
[9697f0f]921 <bridgehead renderas="sect4">pyatspi2 Dependencies</bridgehead>
[968dece]922
923 <bridgehead renderas="sect5">Required</bridgehead>
[66b546a]924 <para role="required">
[9697f0f]925 <xref linkend="pygobject3"/>
[66b546a]926 </para>
[968dece]927
928 <bridgehead renderas="sect5">Recommended</bridgehead>
[66b546a]929 <para role="recommended">
[9697f0f]930 <xref linkend="at-spi2-core"/>
[66b546a]931 </para>
[968dece]932
[66b546a]933 <para condition="html" role="usernotes">
[9697f0f]934 User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
[66b546a]935 </para>
[9697f0f]936
[968dece]937 </sect3>
938
939 <sect3 role="installation">
[9697f0f]940 <title>Installation of pyatspi2</title>
[968dece]941
[66b546a]942 <para>
[9697f0f]943 Install <application>pyatspi2</application> by running the following
944 commands:
[66b546a]945 </para>
[968dece]946
947<screen><userinput>./configure --prefix=/usr &amp;&amp;
948make</userinput></screen>
949
[9697f0f]950 <para>
951 This package does not come with a testsuite.
952 </para>
[b2df8a4]953
[66b546a]954 <para>
955 Now, as the <systemitem class="username">root</systemitem> user:
956 </para>
[b2df8a4]957
958<screen role="root"><userinput>make install</userinput></screen>
[c2065a2]959
[b2df8a4]960 </sect3>
961
962 <sect3 role="content">
963 <title>Contents</title>
964
965 <segmentedlist>
[c3c56b2]966 <segtitle>Installed Programs</segtitle>
967 <segtitle>Installed Libraries</segtitle>
[b2df8a4]968 <segtitle>Installed Directory</segtitle>
969
970 <seglistitem>
[c3c56b2]971 <seg>
972 None
973 </seg>
974 <seg>
975 None
976 </seg>
[66b546a]977 <seg>
[01996ebb]978 /usr/lib/python&python2-majorver;/site-packages/pyatspi
[66b546a]979 </seg>
[b2df8a4]980 </seglistitem>
981 </segmentedlist>
982
983 </sect3>
[c2065a2]984
[b2df8a4]985 </sect2>
986 <!-- End pyatspi2 -->
987
[e6fe729d]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
[9697f0f]1005 &lfs72_checked;
1006
[e6fe729d]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>
[c3c56b2]1079 <segtitle>Installed Program</segtitle>
1080 <segtitle>Installed Libraries</segtitle>
1081 <segtitle>Installed Directory</segtitle>
[e6fe729d]1082
1083 <seglistitem>
1084 <seg>
1085 pyrexc
1086 </seg>
[c3c56b2]1087 <seg>
1088 None
1089 </seg>
[e6fe729d]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
[ce892ab3]1101</sect1>
Note: See TracBrowser for help on using the repository browser.