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

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 5292423 was 5fe68cc2, checked in by Krejzi <krejzi@…>, 11 years ago

bump pygobject3 to 3.8.3.

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

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