source: general/prog/pygobject3.xml@ ac38e9dc

systemd-13485
Last change on this file since ac38e9dc was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.8 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 pygobject3-download-http
8 "&gnome-download-http;/pygobject/3.16/pygobject-&pygobject3-version;.tar.xz">
9 <!ENTITY pygobject3-download-ftp
10 "&gnome-download-ftp;/pygobject/3.16/pygobject-&pygobject3-version;.tar.xz">
11 <!ENTITY pygobject3-md5sum "8a3720efa69dd2d520e0b21b5d9e7c19">
12 <!ENTITY pygobject3-size "712 KB">
13 <!ENTITY pygobject3-buildsize "30 MB">
14 <!ENTITY pygobject3-time "0.4 SBU">
15]>
16
17 <!-- Begin PyGObject3 -->
18 <sect2 id="pygobject3" xreflabel="PyGObject-&pygobject3-version;">
19
20 <title>PyGObject-&pygobject3-version;</title>
21
22 <indexterm zone="pygobject3">
23 <primary sortas="a-PyGObject3">PyGObject3</primary>
24 </indexterm>
25
26 <sect3 role="package">
27 <title>Introduction to PyGObject3 Module</title>
28
29 <para>
30 <application>PyGObject3</application> provides
31 <application>Python</application> bindings to the GObject
32 class from <application>GLib</application>.
33 </para>
34
35 &lfs77_checked;
36
37 <bridgehead renderas="sect4">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&pygobject3-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&pygobject3-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &pygobject3-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &pygobject3-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &pygobject3-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &pygobject3-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect4">PyGObject3 Dependencies</bridgehead>
72
73 <bridgehead renderas="sect5">Required</bridgehead>
74 <para role="required">
75 <xref linkend="gobject-introspection"/> and
76 <xref linkend="py2cairo"/>
77 (for <application>Python 2</application> bindings) and/or
78 <xref linkend="pycairo"/>
79 (for <application>Python 3</application> bindings)
80 </para>
81
82 <bridgehead renderas="sect5">Optional (for the tests)</bridgehead>
83 <para role="optional">
84 <ulink url="https://pypi.python.org/pypi/pep8">pep8</ulink> and
85 <ulink url="https://pypi.python.org/pypi/pyflakes">pyflakes</ulink>
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
90 </para>
91 </sect3>
92
93 <sect3 role="installation">
94 <title>Installation of PyGObject3</title>
95
96 <note>
97 <para>
98 Both <application>Python 2</application> and
99 <application>Python 3</application> modules can
100 be built and installed without any conflicts.
101 </para>
102 </note>
103
104 <para>
105 To build <application>PyGObject3</application> as the
106 <application>Python 2</application> module, run the
107 following commands:
108 </para>
109
110<screen><userinput>mkdir python2 &amp;&amp;
111pushd python2 &amp;&amp;
112../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
113make &amp;&amp;
114popd</userinput></screen>
115
116 <para>
117 To test the results, issue: <command>make -C python2 check</command>.
118 An already active graphical session with bus address is necessary to
119 run the tests.
120 </para>
121
122 <para>
123 To build <application>PyGObject3</application> as the
124 <application>Python 3</application> module, run the
125 following commands:
126 </para>
127
128<screen><userinput>mkdir python3 &amp;&amp;
129pushd python3 &amp;&amp;
130../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
131make &amp;&amp;
132popd</userinput></screen>
133
134 <para>
135 To test the results, issue: <command>make -C python3 -k check</command>.
136 An already active graphical session with bus address is necessary to
137 run the tests. Some tests fail for unknown reasons.
138 </para>
139
140 <para>
141 To install the <application>Python 2</application> module,
142 run the following command as the
143 <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>make -C python2 install</userinput></screen>
147
148 <para>
149 To install the <application>Python 3</application> module,
150 run the following command as the
151 <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>make -C python3 install</userinput></screen>
155
156 </sect3>
157
158 <sect3 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Programs</segtitle>
163 <segtitle>Installed Library</segtitle>
164 <segtitle>Installed Directories</segtitle>
165
166 <seglistitem>
167 <seg>
168 None
169 </seg>
170 <seg>
171 /usr/lib/python&python2-majorver;/site-packages/gi/{_gi.so,_gi_cairo.so}
172 and/or
173 /usr/lib/python&python3-majorver;/site-packages/gi/{_gi_cairo.cpython-34m.so,_gi.cpython-34m.so}
174 </seg>
175 <seg>
176 /usr/include/pygobject-3.0 and
177 /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or
178 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
179 </seg>
180 </seglistitem>
181 </segmentedlist>
182
183 </sect3>
184
185 </sect2>
186 <!-- End PyGObject -->
Note: See TracBrowser for help on using the repository browser.