source: general/prog/pygtk.xml@ 35e9ca45

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 35e9ca45 was 35e9ca45, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to mariadb-10.2.8.
Update to pycairo-1.15.1 (python module).
Tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19066 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 &lfs81_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"/>
75 </para>
76
77 <bridgehead renderas="sect5">Required (atk module)</bridgehead>
78 <para role="required">
79 <xref linkend="atk"/>
80 </para>
81
82 <bridgehead renderas="sect5">Required (pango module)</bridgehead>
83 <para role="required">
84 <xref linkend="pango"/>
85 </para>
86
87 <bridgehead renderas="sect5">Required (pangocairo module)</bridgehead>
88 <para role="required">
89 <xref linkend="pycairo"/> (Python 2) and
90 <xref linkend="pango"/>
91 </para>
92
93 <bridgehead renderas="sect5">Required (gtk and gtk.unixprint modules)</bridgehead>
94 <para role="required">
95 <xref linkend="pycairo"/> (Python 2) and
96 <xref linkend="gtk2"/>.
97 </para>
98
99 <bridgehead renderas="sect5">Required (gtk.glade module)</bridgehead>
100 <para role="required">
101 <xref linkend="pycairo"/> (Python 2) and
102 <xref linkend="libglade"/>.
103 </para>
104
105 <bridgehead renderas="sect5">Optional</bridgehead>
106 <para role="optional">
107 <ulink url="http://www.numpy.org/">NumPy</ulink>
108 </para>
109
110 <bridgehead renderas="sect5">Optional (to Build Documentation)</bridgehead>
111 <para role="optional">
112 <xref linkend="libxslt"/>
113 </para>
114
115 <para condition="html" role="usernotes">
116 User Notes: <ulink url="&blfs-wiki;/pygtk"/>
117 </para>
118 </sect3>
119
120 <sect3 role="installation">
121 <title>Installation of PyGTK</title>
122
123 <para>
124 Install <application>PyGTK</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>./configure --prefix=/usr &amp;&amp;
129make</userinput></screen>
130
131 <para>
132 The tests must be run from an active X display. If this is so, issue:
133 <command>make check</command>.
134 </para>
135
136 <para>
137 Now, as the <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role="root"><userinput>make install</userinput></screen>
141 </sect3>
142
143 <sect3 role="commands">
144 <title>Command Explanations</title>
145
146 <para>
147 <parameter>--enable-docs</parameter>: This option enables rebuilding the
148 html documentation if <xref linkend="libxslt"/> is installed.
149 </para>
150 </sect3>
151
152 <sect3 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Programs</segtitle>
157 <segtitle>Installed Libraries</segtitle>
158 <segtitle>Installed Directories</segtitle>
159
160 <seglistitem>
161 <seg>pygtk-codegen-2.0 and pygtk-demo.</seg>
162 <seg>
163 atk.so,
164 _gtk.so,
165 glade.so,
166 gtkunixprint.so,
167 pango.so and
168 pangocairo.so.
169 </seg>
170 <seg>
171 /usr/include/pygtk-2.0,
172 /usr/lib/pygtk,
173 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0,
174 /usr/share/gtk-doc/html/pygtk and
175 /usr/share/pygtk.
176 </seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect4">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="pygtk-codegen-2.0">
186 <term><command>pygtk-codegen-2.0</command></term>
187 <listitem>
188 <para>
189 is a wrapper script to run the <application>PyGTK</application>
190 codegen module.
191 </para>
192 <indexterm zone="pygtk pygtk-codegen-2.0">
193 <primary sortas="b-pygtk-codegen-2.0">pygtk-codegen-2.0</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="pygtk-demo">
199 <term><command>pygtk-demo</command></term>
200 <listitem>
201 <para>
202 is a Python wrapper to run the <application>PyGTK</application>
203 demo program.
204 </para>
205 <indexterm zone="pygtk pygtk-demo">
206 <primary sortas="b-pygtk-demo">pygtk-demo</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210 </variablelist>
211 </sect3>
212 </sect2>
213 <!-- End PyGTK -->
Note: See TracBrowser for help on using the repository browser.