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-¬ify-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 "949cffe0ae8e13ac84794b04e2b58aeb">
|
---|
37 | <!ENTITY pygobject3-size "600 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-¬ify-python-version;">
|
---|
134 |
|
---|
135 | <title>Notify Python-¬ify-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="¬ify-python-download-http;"/>
|
---|
156 | </para>
|
---|
157 | </listitem>
|
---|
158 | <listitem>
|
---|
159 | <para>
|
---|
160 | Download (FTP): <ulink url="¬ify-python-download-ftp;"/>
|
---|
161 | </para>
|
---|
162 | </listitem>
|
---|
163 | <listitem>
|
---|
164 | <para>
|
---|
165 | Download MD5 sum: ¬ify-python-md5sum;
|
---|
166 | </para>
|
---|
167 | </listitem>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | Download size: ¬ify-python-size;
|
---|
171 | </para>
|
---|
172 | </listitem>
|
---|
173 | <listitem>
|
---|
174 | <para>
|
---|
175 | Estimated disk space required: ¬ify-python-buildsize;
|
---|
176 | </para>
|
---|
177 | </listitem>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | Estimated build time: ¬ify-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-¬ify-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-¬ify-python-version;-libnotify-0.7-1.patch &&
|
---|
217 | ./configure --prefix=/usr &&
|
---|
218 | make</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 Directory</segtitle>
|
---|
236 |
|
---|
237 | <seglistitem>
|
---|
238 | <seg>
|
---|
239 | /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/pynotify
|
---|
240 | </seg>
|
---|
241 | </seglistitem>
|
---|
242 | </segmentedlist>
|
---|
243 | </sect3>
|
---|
244 | </sect2>
|
---|
245 | <!-- End Notify Python -->
|
---|
246 |
|
---|
247 | <!-- Begin Py2cairo -->
|
---|
248 | <sect2 id="py2cairo" xreflabel="Py2cairo-&py2cairo-version;">
|
---|
249 |
|
---|
250 | <title>Py2cairo-&py2cairo-version;</title>
|
---|
251 |
|
---|
252 | <indexterm zone="py2cairo">
|
---|
253 | <primary sortas="a-Py2cairo">Py2cairo</primary>
|
---|
254 | </indexterm>
|
---|
255 |
|
---|
256 | <sect3 role="package">
|
---|
257 | <title>Introduction to Py2cairo Module</title>
|
---|
258 |
|
---|
259 | <para>
|
---|
260 | Py2cairo provides <application>Python 2</application> bindings to
|
---|
261 | <application>Cairo</application>.
|
---|
262 | </para>
|
---|
263 |
|
---|
264 | &lfs72_checked;
|
---|
265 |
|
---|
266 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
267 | <itemizedlist spacing="compact">
|
---|
268 | <listitem>
|
---|
269 | <para>
|
---|
270 | Download (HTTP): <ulink url="&py2cairo-download-http;"/>
|
---|
271 | </para>
|
---|
272 | </listitem>
|
---|
273 | <listitem>
|
---|
274 | <para>
|
---|
275 | Download (FTP): <ulink url="&py2cairo-download-ftp;"/>
|
---|
276 | </para>
|
---|
277 | </listitem>
|
---|
278 | <listitem>
|
---|
279 | <para>
|
---|
280 | Download MD5 sum: &py2cairo-md5sum;
|
---|
281 | </para>
|
---|
282 | </listitem>
|
---|
283 | <listitem>
|
---|
284 | <para>
|
---|
285 | Download size: &py2cairo-size;
|
---|
286 | </para>
|
---|
287 | </listitem>
|
---|
288 | <listitem>
|
---|
289 | <para>
|
---|
290 | Estimated disk space required: &py2cairo-buildsize;
|
---|
291 | </para>
|
---|
292 | </listitem>
|
---|
293 | <listitem>
|
---|
294 | <para>
|
---|
295 | Estimated build time: &py2cairo-time;
|
---|
296 | </para>
|
---|
297 | </listitem>
|
---|
298 | </itemizedlist>
|
---|
299 |
|
---|
300 | <bridgehead renderas="sect4">Py2cairo Dependencies</bridgehead>
|
---|
301 |
|
---|
302 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
303 | <para role="required">
|
---|
304 | <xref linkend="python2"/> and
|
---|
305 | <xref linkend="cairo"/>
|
---|
306 | </para>
|
---|
307 |
|
---|
308 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
309 | <para role="optional">
|
---|
310 | <ulink url="http://pytest.org">pytest</ulink>
|
---|
311 | </para>
|
---|
312 |
|
---|
313 | <para condition="html" role="usernotes">
|
---|
314 | User Notes: <ulink url="&blfs-wiki;/py2cairo"/>
|
---|
315 | </para>
|
---|
316 | </sect3>
|
---|
317 |
|
---|
318 | <sect3 role="installation">
|
---|
319 | <title>Installation of Py2cairo</title>
|
---|
320 |
|
---|
321 | <para>
|
---|
322 | Install <application>Py2cairo</application> by running the following
|
---|
323 | commands:
|
---|
324 | </para>
|
---|
325 |
|
---|
326 | <screen><userinput>./waf configure --prefix=/usr &&
|
---|
327 | ./waf build</userinput></screen>
|
---|
328 |
|
---|
329 | <para>
|
---|
330 | The test suite requires the optional <application>pytest</application>
|
---|
331 | package. If installed, it is run by changing to the
|
---|
332 | <filename class='directory'>test</filename> directory and running
|
---|
333 | <userinput>py.test</userinput>.
|
---|
334 | </para>
|
---|
335 |
|
---|
336 | <para>
|
---|
337 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
338 | </para>
|
---|
339 |
|
---|
340 | <screen role="root"><userinput>./waf install</userinput></screen>
|
---|
341 | </sect3>
|
---|
342 |
|
---|
343 | <sect3 role="content">
|
---|
344 | <title>Contents</title>
|
---|
345 |
|
---|
346 | <segmentedlist>
|
---|
347 | <segtitle>Installed Libraries</segtitle>
|
---|
348 | <segtitle>Installed Directory</segtitle>
|
---|
349 |
|
---|
350 | <seglistitem>
|
---|
351 | <seg>_cairo.so</seg>
|
---|
352 | <seg>
|
---|
353 | /usr/include/pycairo and
|
---|
354 | /usr/lib/python&python2-majorver;/site-packages/cairo
|
---|
355 | </seg>
|
---|
356 | </seglistitem>
|
---|
357 | </segmentedlist>
|
---|
358 | </sect3>
|
---|
359 | </sect2>
|
---|
360 | <!-- End Py2cairo -->
|
---|
361 |
|
---|
362 | <!-- Begin PyGObject2 -->
|
---|
363 | <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
|
---|
364 |
|
---|
365 | <title>PyGObject-&pygobject2-version;</title>
|
---|
366 |
|
---|
367 | <indexterm zone="pygobject2">
|
---|
368 | <primary sortas="a-PyGObject">PyGObject</primary>
|
---|
369 | </indexterm>
|
---|
370 |
|
---|
371 | <sect3 role="package">
|
---|
372 | <title>Introduction to PyGObject Module</title>
|
---|
373 |
|
---|
374 | <para>
|
---|
375 | PyGObject-&pygobject2-version; provides
|
---|
376 | <application>Python 2</application> bindings to the GObject class from
|
---|
377 | <application>GLib</application>.
|
---|
378 | </para>
|
---|
379 |
|
---|
380 | &lfs72_checked;
|
---|
381 |
|
---|
382 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
383 | <itemizedlist spacing="compact">
|
---|
384 | <listitem>
|
---|
385 | <para>
|
---|
386 | Download (HTTP): <ulink url="&pygobject2-download-http;"/>
|
---|
387 | </para>
|
---|
388 | </listitem>
|
---|
389 | <listitem>
|
---|
390 | <para>
|
---|
391 | Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
|
---|
392 | </para>
|
---|
393 | </listitem>
|
---|
394 | <listitem>
|
---|
395 | <para>
|
---|
396 | Download MD5 sum: &pygobject2-md5sum;
|
---|
397 | </para>
|
---|
398 | </listitem>
|
---|
399 | <listitem>
|
---|
400 | <para>
|
---|
401 | Download size: &pygobject2-size;
|
---|
402 | </para>
|
---|
403 | </listitem>
|
---|
404 | <listitem>
|
---|
405 | <para>
|
---|
406 | Estimated disk space required: &pygobject2-buildsize;
|
---|
407 | </para>
|
---|
408 | </listitem>
|
---|
409 | <listitem>
|
---|
410 | <para>
|
---|
411 | Estimated build time: &pygobject2-time;
|
---|
412 | </para>
|
---|
413 | </listitem>
|
---|
414 | </itemizedlist>
|
---|
415 |
|
---|
416 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
417 | <itemizedlist spacing="compact">
|
---|
418 | <listitem>
|
---|
419 | <para>
|
---|
420 | Required patch (if you have installed
|
---|
421 | <xref linkend="gobject-introspection"/>):
|
---|
422 | <ulink url="&patch-root;/pygobject-&pygobject2-version;-introspection-1.patch"/>
|
---|
423 | </para>
|
---|
424 | </listitem>
|
---|
425 | </itemizedlist>
|
---|
426 |
|
---|
427 | <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
|
---|
428 |
|
---|
429 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
430 | <para role="required">
|
---|
431 | <xref linkend="glib2"/> and
|
---|
432 | <xref linkend="py2cairo"/>
|
---|
433 | </para>
|
---|
434 |
|
---|
435 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
436 | <para role="optional">
|
---|
437 | <xref linkend="libxslt"/> (to Build Documentation)
|
---|
438 | </para>
|
---|
439 |
|
---|
440 | <para condition="html" role="usernotes">
|
---|
441 | User Notes: <ulink url="&blfs-wiki;/pygobject2"/>
|
---|
442 | </para>
|
---|
443 | </sect3>
|
---|
444 |
|
---|
445 | <sect3 role="installation">
|
---|
446 | <title>Installation of PyGObject</title>
|
---|
447 |
|
---|
448 | <para>
|
---|
449 | Install <application>PyGObject</application> by running the following
|
---|
450 | commands:
|
---|
451 | </para>
|
---|
452 |
|
---|
453 | <screen><userinput>patch -p1 < ../pygobject-&pygobject2-version;-introspection-1.patch &&
|
---|
454 | ./configure --prefix=/usr &&
|
---|
455 | make</userinput></screen>
|
---|
456 |
|
---|
457 | <para>
|
---|
458 | This package does not have a working testsuite.
|
---|
459 | </para>
|
---|
460 |
|
---|
461 | <para>
|
---|
462 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
463 | </para>
|
---|
464 |
|
---|
465 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
466 | </sect3>
|
---|
467 |
|
---|
468 | <sect3 role="commands">
|
---|
469 | <title>Command Explanations</title>
|
---|
470 |
|
---|
471 | <para>
|
---|
472 | <option>--disable-docs</option>: This option disables the rebuilding of
|
---|
473 | the html documentation if <xref linkend="libxslt"/> is installed.
|
---|
474 | </para>
|
---|
475 |
|
---|
476 | </sect3>
|
---|
477 |
|
---|
478 | <sect3 role="content">
|
---|
479 | <title>Contents</title>
|
---|
480 |
|
---|
481 | <segmentedlist>
|
---|
482 | <segtitle>Installed Programs</segtitle>
|
---|
483 | <segtitle>Installed Libraries</segtitle>
|
---|
484 | <segtitle>Installed Directories</segtitle>
|
---|
485 |
|
---|
486 | <seglistitem>
|
---|
487 | <seg>pygobject-codegen-2.0</seg>
|
---|
488 | <seg>
|
---|
489 | libpyglib-2.0-python.so,
|
---|
490 | _gio.so,
|
---|
491 | unix.so,
|
---|
492 | _glib.so and
|
---|
493 | _gobject.so.
|
---|
494 | </seg>
|
---|
495 | <seg>
|
---|
496 | /usr/include/pygtk-2.0,
|
---|
497 | /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
|
---|
498 | /usr/share/gtk-doc/html/pygobject and
|
---|
499 | /usr/share/pygobject/2.0
|
---|
500 | </seg>
|
---|
501 | </seglistitem>
|
---|
502 | </segmentedlist>
|
---|
503 | </sect3>
|
---|
504 | </sect2>
|
---|
505 | <!-- End PyGObject2 -->
|
---|
506 |
|
---|
507 | <!-- Begin PyGObject3 -->
|
---|
508 | <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
|
---|
509 |
|
---|
510 | <title>PyGObject-&pygobject3-version;</title>
|
---|
511 |
|
---|
512 | <indexterm zone="pygobject3">
|
---|
513 | <primary sortas="a-PyGObject">PyGObject</primary>
|
---|
514 | </indexterm>
|
---|
515 |
|
---|
516 | <sect3 role="package">
|
---|
517 | <title>Introduction to PyGObject Module</title>
|
---|
518 |
|
---|
519 | <para>
|
---|
520 | PyGObject-&pygobject3-version; provides
|
---|
521 | <application>Python 2</application> bindings to the GObject
|
---|
522 | class from <application>GLib</application>.
|
---|
523 | </para>
|
---|
524 |
|
---|
525 | &lfs72_checked;
|
---|
526 |
|
---|
527 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
528 | <itemizedlist spacing="compact">
|
---|
529 | <listitem>
|
---|
530 | <para>
|
---|
531 | Download (HTTP): <ulink url="&pygobject3-download-http;"/>
|
---|
532 | </para>
|
---|
533 | </listitem>
|
---|
534 | <listitem>
|
---|
535 | <para>
|
---|
536 | Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
|
---|
537 | </para>
|
---|
538 | </listitem>
|
---|
539 | <listitem>
|
---|
540 | <para>
|
---|
541 | Download MD5 sum: &pygobject3-md5sum;
|
---|
542 | </para>
|
---|
543 | </listitem>
|
---|
544 | <listitem>
|
---|
545 | <para>
|
---|
546 | Download size: &pygobject3-size;
|
---|
547 | </para>
|
---|
548 | </listitem>
|
---|
549 | <listitem>
|
---|
550 | <para>
|
---|
551 | Estimated disk space required: &pygobject3-buildsize;
|
---|
552 | </para>
|
---|
553 | </listitem>
|
---|
554 | <listitem>
|
---|
555 | <para>
|
---|
556 | Estimated build time: &pygobject3-time;
|
---|
557 | </para>
|
---|
558 | </listitem>
|
---|
559 | </itemizedlist>
|
---|
560 |
|
---|
561 | <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
|
---|
562 |
|
---|
563 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
564 | <para role="required">
|
---|
565 | <xref linkend="gobject-introspection"/> and
|
---|
566 | <xref linkend="py2cairo"/>
|
---|
567 | </para>
|
---|
568 |
|
---|
569 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
570 | <para role="optional">
|
---|
571 | <xref linkend="libxslt"/> (to Build Documentation)
|
---|
572 | </para>
|
---|
573 |
|
---|
574 | <para condition="html" role="usernotes">
|
---|
575 | User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
|
---|
576 | </para>
|
---|
577 | </sect3>
|
---|
578 |
|
---|
579 | <sect3 role="installation">
|
---|
580 | <title>Installation of PyGObject</title>
|
---|
581 |
|
---|
582 | <para>
|
---|
583 | Install <application>PyGObject</application> by running the following
|
---|
584 | commands:
|
---|
585 | </para>
|
---|
586 |
|
---|
587 | <screen><userinput>./configure --prefix=/usr &&
|
---|
588 | make</userinput></screen>
|
---|
589 |
|
---|
590 | <para>
|
---|
591 | To test the results, issue: <command>make check</command>.
|
---|
592 | </para>
|
---|
593 |
|
---|
594 | <para>
|
---|
595 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
596 | </para>
|
---|
597 |
|
---|
598 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
599 |
|
---|
600 | </sect3>
|
---|
601 |
|
---|
602 | <sect3 role="commands">
|
---|
603 | <title>Command Explanations</title>
|
---|
604 |
|
---|
605 | <para>
|
---|
606 | <parameter>--disable-docs</parameter>: This option disables the
|
---|
607 | rebuilding of the html documentation if <xref linkend="libxslt"/> is
|
---|
608 | installed.
|
---|
609 | </para>
|
---|
610 |
|
---|
611 | </sect3>
|
---|
612 |
|
---|
613 | <sect3 role="content">
|
---|
614 | <title>Contents</title>
|
---|
615 |
|
---|
616 | <segmentedlist>
|
---|
617 | <segtitle>Installed Library</segtitle>
|
---|
618 | <segtitle>Installed Directories</segtitle>
|
---|
619 |
|
---|
620 | <seglistitem>
|
---|
621 | <seg>
|
---|
622 | libpyglib-gi-2.0-python.so
|
---|
623 | </seg>
|
---|
624 | <seg>
|
---|
625 | /usr/include/pygobject-3.0 and
|
---|
626 | /usr/lib/python&python2-majorver;/site-packages/gi
|
---|
627 | </seg>
|
---|
628 | </seglistitem>
|
---|
629 | </segmentedlist>
|
---|
630 |
|
---|
631 | </sect3>
|
---|
632 |
|
---|
633 | </sect2>
|
---|
634 | <!-- End PyGObject -->
|
---|
635 |
|
---|
636 | <!-- Begin PyGTK -->
|
---|
637 | <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
|
---|
638 |
|
---|
639 | <title>PyGTK-&pygtk-version;</title>
|
---|
640 |
|
---|
641 | <indexterm zone="pygtk">
|
---|
642 | <primary sortas="a-PyGTK">PyGTK</primary>
|
---|
643 | </indexterm>
|
---|
644 |
|
---|
645 | <sect3 role="package">
|
---|
646 | <title>Introduction to PyGTK Module</title>
|
---|
647 |
|
---|
648 | <para>
|
---|
649 | PyGTK lets you to easily create programs with a graphical user interface
|
---|
650 | using the <application>Python</application> programming language.
|
---|
651 | </para>
|
---|
652 |
|
---|
653 | &lfs72_checked;
|
---|
654 |
|
---|
655 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
656 | <itemizedlist spacing="compact">
|
---|
657 | <listitem>
|
---|
658 | <para>
|
---|
659 | Download (HTTP): <ulink url="&pygtk-download-http;"/>
|
---|
660 | </para>
|
---|
661 | </listitem>
|
---|
662 | <listitem>
|
---|
663 | <para>
|
---|
664 | Download (FTP): <ulink url="&pygtk-download-ftp;"/>
|
---|
665 | </para>
|
---|
666 | </listitem>
|
---|
667 | <listitem>
|
---|
668 | <para>
|
---|
669 | Download MD5 sum: &pygtk-md5sum;
|
---|
670 | </para>
|
---|
671 | </listitem>
|
---|
672 | <listitem>
|
---|
673 | <para>
|
---|
674 | Download size: &pygtk-size;
|
---|
675 | </para>
|
---|
676 | </listitem>
|
---|
677 | <listitem>
|
---|
678 | <para>
|
---|
679 | Estimated disk space required: &pygtk-buildsize;
|
---|
680 | </para>
|
---|
681 | </listitem>
|
---|
682 | <listitem>
|
---|
683 | <para>
|
---|
684 | Estimated build time: &pygtk-time;
|
---|
685 | </para>
|
---|
686 | </listitem>
|
---|
687 | </itemizedlist>
|
---|
688 |
|
---|
689 | <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
|
---|
690 |
|
---|
691 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
692 | <para role="required">
|
---|
693 | <xref linkend="pygobject2"/>
|
---|
694 | </para>
|
---|
695 |
|
---|
696 | <bridgehead renderas="sect5">Required (atk module)</bridgehead>
|
---|
697 | <para role="required">
|
---|
698 | <xref linkend="atk"/>
|
---|
699 | </para>
|
---|
700 |
|
---|
701 | <bridgehead renderas="sect5">Required (pango module)</bridgehead>
|
---|
702 | <para role="required">
|
---|
703 | <xref linkend="pango"/>
|
---|
704 | </para>
|
---|
705 |
|
---|
706 | <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
|
---|
707 | <para role="required">
|
---|
708 | <xref linkend="py2cairo"/> and
|
---|
709 | <xref linkend="pango"/>
|
---|
710 | </para>
|
---|
711 |
|
---|
712 | <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
|
---|
713 | <para role="required">
|
---|
714 | <xref linkend="py2cairo"/> and
|
---|
715 | <xref linkend="gtk2"/>.
|
---|
716 | </para>
|
---|
717 |
|
---|
718 | <bridgehead renderas="sect5">Required (gtk.libglade module)</bridgehead>
|
---|
719 | <para role="required">
|
---|
720 | <xref linkend="py2cairo"/> and
|
---|
721 | <xref linkend="libglade"/>.
|
---|
722 | </para>
|
---|
723 |
|
---|
724 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
725 | <para role="optional">
|
---|
726 | <ulink url="http://numpy.scipy.org/">NumPy</ulink>
|
---|
727 | </para>
|
---|
728 |
|
---|
729 | <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
|
---|
730 | <para role="optional">
|
---|
731 | <xref linkend="libxslt"/>
|
---|
732 | </para>
|
---|
733 |
|
---|
734 | <para condition="html" role="usernotes">
|
---|
735 | User Notes: <ulink url="&blfs-wiki;/pygtk"/>
|
---|
736 | </para>
|
---|
737 | </sect3>
|
---|
738 |
|
---|
739 | <sect3 role="installation">
|
---|
740 | <title>Installation of PyGTK</title>
|
---|
741 |
|
---|
742 | <para>
|
---|
743 | Install <application>PyGTK</application> by running the following
|
---|
744 | commands:
|
---|
745 | </para>
|
---|
746 |
|
---|
747 | <screen><userinput>./configure --prefix=/usr &&
|
---|
748 | make</userinput></screen>
|
---|
749 |
|
---|
750 | <para>
|
---|
751 | The tests must be run from an active X display. If this is so, issue:
|
---|
752 | <command>make check</command>.
|
---|
753 | </para>
|
---|
754 |
|
---|
755 | <para>
|
---|
756 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
757 | </para>
|
---|
758 |
|
---|
759 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
760 | </sect3>
|
---|
761 |
|
---|
762 | <sect3 role="commands">
|
---|
763 | <title>Command Explanations</title>
|
---|
764 |
|
---|
765 | <para>
|
---|
766 | <parameter>--enable-docs</parameter>: This option enables rebuilding the
|
---|
767 | html documentation if <xref linkend="libxslt"/> is installed.
|
---|
768 | </para>
|
---|
769 | </sect3>
|
---|
770 |
|
---|
771 | <sect3 role="content">
|
---|
772 | <title>Contents</title>
|
---|
773 |
|
---|
774 | <segmentedlist>
|
---|
775 | <segtitle>Installed Programs</segtitle>
|
---|
776 | <segtitle>Installed Libraries</segtitle>
|
---|
777 | <segtitle>Installed Directories</segtitle>
|
---|
778 |
|
---|
779 | <seglistitem>
|
---|
780 | <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
|
---|
781 | <seg>
|
---|
782 | atk.so,
|
---|
783 | _gtk.so,
|
---|
784 | glade.so,
|
---|
785 | gtkunixprint.so,
|
---|
786 | pango.so and
|
---|
787 | pangocairo.so.
|
---|
788 | </seg>
|
---|
789 | <seg>
|
---|
790 | /usr/include/pygtk-2.0,
|
---|
791 | /usr/lib/pygtk,
|
---|
792 | /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
|
---|
793 | /usr/share/gtk-doc/html/pygtk and
|
---|
794 | /usr/share/pygtk.
|
---|
795 | </seg>
|
---|
796 | </seglistitem>
|
---|
797 | </segmentedlist>
|
---|
798 |
|
---|
799 | <variablelist>
|
---|
800 | <bridgehead renderas="sect4">Short Descriptions</bridgehead>
|
---|
801 | <?dbfo list-presentation="list"?>
|
---|
802 | <?dbhtml list-presentation="table"?>
|
---|
803 |
|
---|
804 | <varlistentry id="pygtk-codegen-2.0">
|
---|
805 | <term><command>pygtk-codegen-2.0</command></term>
|
---|
806 | <listitem>
|
---|
807 | <para>
|
---|
808 | is a wrapper script to run the <application>PyGTK</application>
|
---|
809 | codegen module.
|
---|
810 | </para>
|
---|
811 | <indexterm zone="pygtk pygtk-codegen-2.0">
|
---|
812 | <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
|
---|
813 | </indexterm>
|
---|
814 | </listitem>
|
---|
815 | </varlistentry>
|
---|
816 |
|
---|
817 | <varlistentry id="pygtk-demo">
|
---|
818 | <term><command>pygtk-demo</command></term>
|
---|
819 | <listitem>
|
---|
820 | <para>
|
---|
821 | is a Python wrapper to run the <application>PyGTK</application>
|
---|
822 | demo program.
|
---|
823 | </para>
|
---|
824 | <indexterm zone="pygtk pygtk-demo">
|
---|
825 | <primary sortas="b-pygtk-demo">pygtk-demo</primary>
|
---|
826 | </indexterm>
|
---|
827 | </listitem>
|
---|
828 | </varlistentry>
|
---|
829 | </variablelist>
|
---|
830 | </sect3>
|
---|
831 | </sect2>
|
---|
832 | <!-- End PyGTK -->
|
---|
833 |
|
---|
834 | <!-- Begin pyatspi2 -->
|
---|
835 | <sect2 id="pyatspi2" xreflabel="pyatspi2-&pyatspi2-version;">
|
---|
836 |
|
---|
837 | <title>pyatspi2-&pyatspi2-version;</title>
|
---|
838 |
|
---|
839 | <indexterm zone="pyatspi2">
|
---|
840 | <primary sortas="a-pyatspi2">pyatspi2</primary>
|
---|
841 | </indexterm>
|
---|
842 |
|
---|
843 | <sect3 role="package">
|
---|
844 | <title>Introduction to pyatspi2</title>
|
---|
845 |
|
---|
846 | <para>
|
---|
847 | The <application>pyatspi2</application> package contains Python2
|
---|
848 | bindings for the core components of GNOME Accessibility.
|
---|
849 | </para>
|
---|
850 |
|
---|
851 | &lfs72_checked;
|
---|
852 |
|
---|
853 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
854 | <itemizedlist spacing="compact">
|
---|
855 | <listitem>
|
---|
856 | <para>
|
---|
857 | Download (HTTP): <ulink url="&pyatspi2-download-http;"/>
|
---|
858 | </para>
|
---|
859 | </listitem>
|
---|
860 | <listitem>
|
---|
861 | <para>
|
---|
862 | Download (FTP): <ulink url="&pyatspi2-download-ftp;"/>
|
---|
863 | </para>
|
---|
864 | </listitem>
|
---|
865 | <listitem>
|
---|
866 | <para>
|
---|
867 | Download MD5 sum: &pyatspi2-md5sum;
|
---|
868 | </para>
|
---|
869 | </listitem>
|
---|
870 | <listitem>
|
---|
871 | <para>
|
---|
872 | Download size: &pyatspi2-size;
|
---|
873 | </para>
|
---|
874 | </listitem>
|
---|
875 | <listitem>
|
---|
876 | <para>
|
---|
877 | Estimated disk space required: &pyatspi2-buildsize;
|
---|
878 | </para>
|
---|
879 | </listitem>
|
---|
880 | <listitem>
|
---|
881 | <para>
|
---|
882 | Estimated build time: &pyatspi2-time;
|
---|
883 | </para>
|
---|
884 | </listitem>
|
---|
885 | </itemizedlist>
|
---|
886 |
|
---|
887 | <bridgehead renderas="sect4">pyatspi2 Dependencies</bridgehead>
|
---|
888 |
|
---|
889 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
890 | <para role="required">
|
---|
891 | <xref linkend="pygobject3"/>
|
---|
892 | </para>
|
---|
893 |
|
---|
894 | <bridgehead renderas="sect5">Recommended</bridgehead>
|
---|
895 | <para role="recommended">
|
---|
896 | <xref linkend="at-spi2-core"/>
|
---|
897 | </para>
|
---|
898 |
|
---|
899 | <para condition="html" role="usernotes">
|
---|
900 | User Notes: <ulink url="&blfs-wiki;/pyatspi2"/>
|
---|
901 | </para>
|
---|
902 |
|
---|
903 | </sect3>
|
---|
904 |
|
---|
905 | <sect3 role="installation">
|
---|
906 | <title>Installation of pyatspi2</title>
|
---|
907 |
|
---|
908 | <para>
|
---|
909 | Install <application>pyatspi2</application> by running the following
|
---|
910 | commands:
|
---|
911 | </para>
|
---|
912 |
|
---|
913 | <screen><userinput>./configure --prefix=/usr &&
|
---|
914 | make</userinput></screen>
|
---|
915 |
|
---|
916 | <para>
|
---|
917 | This package does not come with a testsuite.
|
---|
918 | </para>
|
---|
919 |
|
---|
920 | <para>
|
---|
921 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
922 | </para>
|
---|
923 |
|
---|
924 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
925 |
|
---|
926 | </sect3>
|
---|
927 |
|
---|
928 | <sect3 role="content">
|
---|
929 | <title>Contents</title>
|
---|
930 |
|
---|
931 | <segmentedlist>
|
---|
932 | <segtitle>Installed Directory</segtitle>
|
---|
933 |
|
---|
934 | <seglistitem>
|
---|
935 | <seg>
|
---|
936 | /usr/lib/python&python2-majorver;/site-packages/pyatspi
|
---|
937 | </seg>
|
---|
938 | </seglistitem>
|
---|
939 | </segmentedlist>
|
---|
940 |
|
---|
941 | </sect3>
|
---|
942 |
|
---|
943 | </sect2>
|
---|
944 | <!-- End pyatspi2 -->
|
---|
945 |
|
---|
946 | <!-- Begin Pyrex -->
|
---|
947 | <sect2 id="pyrex" xreflabel="Pyrex-&pyrex-version;">
|
---|
948 |
|
---|
949 | <title>Pyrex-&pyrex-version;</title>
|
---|
950 |
|
---|
951 | <indexterm zone="pyrex">
|
---|
952 | <primary sortas="a-Pyrex">pyrex</primary>
|
---|
953 | </indexterm>
|
---|
954 |
|
---|
955 | <sect3 role="package">
|
---|
956 | <title>Introduction to Pyrex Module</title>
|
---|
957 |
|
---|
958 | <para>
|
---|
959 | <application>Pyrex</application> is language used for writing
|
---|
960 | <application>Python</application> extension modules.
|
---|
961 | </para>
|
---|
962 |
|
---|
963 | &lfs72_checked;
|
---|
964 |
|
---|
965 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
966 | <itemizedlist spacing="compact">
|
---|
967 | <listitem>
|
---|
968 | <para>
|
---|
969 | Download (HTTP): <ulink url="&pyrex-download-http;"/>
|
---|
970 | </para>
|
---|
971 | </listitem>
|
---|
972 | <listitem>
|
---|
973 | <para>
|
---|
974 | Download (FTP): <ulink url="&pyrex-download-ftp;"/>
|
---|
975 | </para>
|
---|
976 | </listitem>
|
---|
977 | <listitem>
|
---|
978 | <para>
|
---|
979 | Download MD5 sum: &pyrex-md5sum;
|
---|
980 | </para>
|
---|
981 | </listitem>
|
---|
982 | <listitem>
|
---|
983 | <para>
|
---|
984 | Download size: &pyrex-size;
|
---|
985 | </para>
|
---|
986 | </listitem>
|
---|
987 | <listitem>
|
---|
988 | <para>
|
---|
989 | Estimated disk space required: &pyrex-buildsize;
|
---|
990 | </para>
|
---|
991 | </listitem>
|
---|
992 | <listitem>
|
---|
993 | <para>
|
---|
994 | Estimated build time: &pyrex-time;
|
---|
995 | </para>
|
---|
996 | </listitem>
|
---|
997 | </itemizedlist>
|
---|
998 |
|
---|
999 | <bridgehead renderas="sect4">Pyrex Dependencies</bridgehead>
|
---|
1000 |
|
---|
1001 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
1002 | <para role="required">
|
---|
1003 | <xref linkend="python2"/>
|
---|
1004 | </para>
|
---|
1005 |
|
---|
1006 | <para condition="html" role="usernotes">
|
---|
1007 | User Notes: <ulink url="&blfs-wiki;/pyrex"/>
|
---|
1008 | </para>
|
---|
1009 | </sect3>
|
---|
1010 |
|
---|
1011 | <sect3 role="installation">
|
---|
1012 | <title>Installation of Pyrex</title>
|
---|
1013 |
|
---|
1014 | <para>
|
---|
1015 | Install <application>pyrex</application> by running the following
|
---|
1016 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
1017 | </para>
|
---|
1018 |
|
---|
1019 | <screen role="root"><userinput>python setup.py install</userinput></screen>
|
---|
1020 | </sect3>
|
---|
1021 |
|
---|
1022 | <sect3 role="commands">
|
---|
1023 | <title>Command Explanations</title>
|
---|
1024 |
|
---|
1025 | <para>
|
---|
1026 | <command>python setup.py install</command>: This command installs
|
---|
1027 | the package. There are other options available, see
|
---|
1028 | <command>python setup.py --help-commands</command> for details.
|
---|
1029 | </para>
|
---|
1030 |
|
---|
1031 | </sect3>
|
---|
1032 |
|
---|
1033 | <sect3 role="content">
|
---|
1034 | <title>Contents</title>
|
---|
1035 |
|
---|
1036 | <segmentedlist>
|
---|
1037 | <segtitle>Installed Programs</segtitle>
|
---|
1038 | <segtitle>Installed Directories</segtitle>
|
---|
1039 |
|
---|
1040 | <seglistitem>
|
---|
1041 | <seg>
|
---|
1042 | pyrexc
|
---|
1043 | </seg>
|
---|
1044 | <seg>
|
---|
1045 | /usr/lib/python&python2-majorver;/site-packages/Pyrex
|
---|
1046 | </seg>
|
---|
1047 | </seglistitem>
|
---|
1048 | </segmentedlist>
|
---|
1049 |
|
---|
1050 | </sect3>
|
---|
1051 |
|
---|
1052 | </sect2>
|
---|
1053 | <!-- End Pyrex -->
|
---|
1054 |
|
---|
1055 | </sect1>
|
---|