source: general/prog/pygtk.xml@ d2b1e2e

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

split python modules into seperate xml files

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

  • Property mode set to 100644
File size: 6.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY pygtk-download-http
8 "&gnome-download-http;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
9 <!ENTITY pygtk-download-ftp
10 "&gnome-download-ftp;/pygtk/2.24/pygtk-&pygtk-version;.tar.bz2">
11 <!ENTITY pygtk-md5sum "a1051d5794fd7696d3c1af6422d17a49">
12 <!ENTITY pygtk-size "2.2 MB">
13 <!ENTITY pygtk-buildsize "83 MB">
14 <!ENTITY pygtk-time "0.7 SBU">
15]>
16
17
18 <!-- Begin PyGTK -->
19 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
20
21 <title>PyGTK-&pygtk-version;</title>
22
23 <indexterm zone="pygtk">
24 <primary sortas="a-PyGTK">PyGTK</primary>
25 </indexterm>
26
27 <sect3 role="package">
28 <title>Introduction to PyGTK Module</title>
29
30 <para>
31 PyGTK lets you to easily create programs with a graphical user interface
32 using the <application>Python</application> programming language.
33 </para>
34
35 &lfs73_checked;
36
37 <bridgehead renderas="sect4">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&pygtk-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &pygtk-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &pygtk-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &pygtk-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &pygtk-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
72
73 <bridgehead renderas="sect5">Required</bridgehead>
74 <para role="required">
75 <xref linkend="pygobject2"/>
76 </para>
77
78 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
79 <para role="required">
80 <xref linkend="atk"/>
81 </para>
82
83 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
84 <para role="required">
85 <xref linkend="pango"/>
86 </para>
87
88 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
89 <para role="required">
90 <xref linkend="py2cairo"/> and
91 <xref linkend="pango"/>
92 </para>
93
94 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
95 <para role="required">
96 <xref linkend="py2cairo"/> and
97 <xref linkend="gtk2"/>.
98 </para>
99
100 <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead>
101 <para role="required">
102 <xref linkend="py2cairo"/> and
103 <xref linkend="libglade"/>.
104 </para>
105
106 <bridgehead renderas="sect5">Optional</bridgehead>
107 <para role="optional">
108 <ulink url="http://sourceforge.net/projects/numpy/">NumPy</ulink>
109 </para>
110
111 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
112 <para role="optional">
113 <xref linkend="libxslt"/>
114 </para>
115
116 <para condition="html" role="usernotes">
117 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
118 </para>
119 </sect3>
120
121 <sect3 role="installation">
122 <title>Installation of PyGTK</title>
123
124 <para>
125 Install <application>PyGTK</application> by running the following
126 commands:
127 </para>
128
129<screen><userinput>./configure --prefix=/usr &amp;&amp;
130make</userinput></screen>
131
132 <para>
133 The tests must be run from an active X display. If this is so, issue:
134 <command>make check</command>.
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>make install</userinput></screen>
142 </sect3>
143
144 <sect3 role="commands">
145 <title>Command Explanations</title>
146
147 <para>
148 <parameter>--enable-docs</parameter>: This option enables rebuilding the
149 html documentation if <xref linkend="libxslt"/> is installed.
150 </para>
151 </sect3>
152
153 <sect3 role="content">
154 <title>Contents</title>
155
156 <segmentedlist>
157 <segtitle>Installed Programs</segtitle>
158 <segtitle>Installed Libraries</segtitle>
159 <segtitle>Installed Directories</segtitle>
160
161 <seglistitem>
162 <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
163 <seg>
164 atk.so,
165 _gtk.so,
166 glade.so,
167 gtkunixprint.so,
168 pango.so and
169 pangocairo.so.
170 </seg>
171 <seg>
172 /usr/include/pygtk-2.0,
173 /usr/lib/pygtk,
174 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
175 /usr/share/gtk-doc/html/pygtk and
176 /usr/share/pygtk.
177 </seg>
178 </seglistitem>
179 </segmentedlist>
180
181 <variablelist>
182 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
185
186 <varlistentry id="pygtk-codegen-2.0">
187 <term><command>pygtk-codegen-2.0</command></term>
188 <listitem>
189 <para>
190 is a wrapper script to run the <application>PyGTK</application>
191 codegen module.
192 </para>
193 <indexterm zone="pygtk pygtk-codegen-2.0">
194 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 <varlistentry id="pygtk-demo">
200 <term><command>pygtk-demo</command></term>
201 <listitem>
202 <para>
203 is a Python wrapper to run the <application>PyGTK</application>
204 demo program.
205 </para>
206 <indexterm zone="pygtk pygtk-demo">
207 <primary sortas="b-pygtk-demo">pygtk-demo</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211 </variablelist>
212 </sect3>
213 </sect2>
214 <!-- End PyGTK -->
Note: See TracBrowser for help on using the repository browser.