source: general/prog/pygtk.xml@ f6ee672

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f6ee672 was f6ee672, checked in by Pierre Labastie <pieere@…>, 5 years ago

Make coherent dependencies for Python Modules, see ticket #11425

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20966 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 <!-- Begin PyGTK -->
18 <sect2 id="pygtk" xreflabel="PyGTK-&pygtk-version;">
19
20 <title>PyGTK-&pygtk-version;</title>
21
22 <indexterm zone="pygtk">
23 <primary sortas="a-PyGTK">PyGTK</primary>
24 </indexterm>
25
26 <sect3 role="package">
27 <title>Introduction to PyGTK Module</title>
28
29 <para>
30 PyGTK lets you to easily create programs with a graphical user interface
31 using the <application>Python</application> programming language.
32 </para>
33
34 &lfs83_checked;
35
36 <bridgehead renderas="sect4">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&pygtk-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&pygtk-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &pygtk-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &pygtk-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &pygtk-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &pygtk-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect4">PyGTK Dependencies</bridgehead>
71
72 <bridgehead renderas="sect5">Required</bridgehead>
73 <para role="required">
74 <xref linkend="pygobject2"/> and
75 <xref linkend="python2"/>
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="pycairo"/> (Python 2) 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="pycairo"/> (Python 2) and
97 <xref linkend="gtk2"/>.
98 </para>
99
100 <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead>
101 <para role="required">
102 <xref linkend="pycairo"/> (Python 2) and
103 <xref linkend="libglade"/>.
104 </para>
105
106 <bridgehead renderas="sect5">Optional</bridgehead>
107 <para role="optional">
108 <ulink url="http://www.numpy.org/">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.