source: general/prog/pygobject3.xml@ 7e8964e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.9 8.0 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 nosym 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 7e8964e was 27747668, checked in by Fernando de Oliveira <fernando@…>, 8 years ago
  • Update to mesa-11.0.4.
  • Update to xscreensaver-5.34.
  • Update to pygobject3-3.18.2.
  • Update to sysstat-11.1.8.
  • Update to gtksourceview-3.18.1.
  • Update to gvfs-1.26.1.1.
  • Update to gnome-keyring-3.18.2.
  • Update to gcr-3.18.0.
  • Update to gsettings-desktop-schemas-3.18.1.
  • libmpeg2-0.5.1: s/{so,a}/so/ in "Short Descriptions".

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

  • Property mode set to 100644
File size: 6.0 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/&gnome-minor-18;/pygobject-&pygobject3-version;.tar.xz">
9 <!ENTITY pygobject3-download-ftp
10 "&gnome-download-ftp;/pygobject/&gnome-minor-18;/pygobject-&pygobject3-version;.tar.xz">
11 <!ENTITY pygobject3-md5sum "0a956f3e785e23b0f136832f2e57a862">
12 <!ENTITY pygobject3-size "716 KB">
13 <!ENTITY pygobject3-buildsize "29 MB (both modules, with tests)">
14 <!ENTITY pygobject3-time "0.5 SBU (both modules, with tests)">
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 &lfs78_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 If you wish to run the test suite, optionally use the following
106 command to fix one test:
107 </para>
108
109<screen><userinput>sed -i '/d =.*MUSIC/d'
110tests/test_glib.py</userinput></screen>-->
111
112 <para>
113 To build <application>PyGObject3</application> as the
114 <application>Python 2</application> module, run the
115 following commands:
116 </para>
117
118<screen><userinput>mkdir python2 &amp;&amp;
119pushd python2 &amp;&amp;
120../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
121make &amp;&amp;
122popd</userinput></screen>
123
124 <para>
125 To test the results, issue: <command>make -C python2 check</command>.
126 An already active graphical session with bus address is necessary to
127 run the tests.
128 </para>
129
130 <para>
131 To build <application>PyGObject3</application> as the
132 <application>Python 3</application> module, run the
133 following commands:
134 </para>
135
136<screen><userinput>mkdir python3 &amp;&amp;
137pushd python3 &amp;&amp;
138../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
139make &amp;&amp;
140popd</userinput></screen>
141
142 <para>
143 To test the results, issue: <command>make -C python3 check</command>.
144 An already active graphical session with bus address is necessary to
145 run the tests.
146 </para>
147
148 <para>
149 To install the <application>Python 2</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 python2 install</userinput></screen>
155
156 <para>
157 To install the <application>Python 3</application> module,
158 run the following command as the
159 <systemitem class="username">root</systemitem> user:
160 </para>
161
162<screen role="root"><userinput>make -C python3 install</userinput></screen>
163
164 </sect3>
165
166 <sect3 role="content">
167 <title>Contents</title>
168
169 <segmentedlist>
170 <segtitle>Installed Programs</segtitle>
171 <segtitle>Installed Library</segtitle>
172 <segtitle>Installed Directories</segtitle>
173
174 <seglistitem>
175 <seg>
176 None
177 </seg>
178 <seg>
179 /usr/lib/python&python2-majorver;/site-packages/gi/_gi{,_cairo}.so
180 and/or
181 /usr/lib/python&python3-majorver;/site-packages/gi/_gi{,_cairo}.cpython-35m-&lt;arch&gt;-linux-gnu.so
182 </seg>
183 <seg>
184 /usr/include/pygobject-3.0, and
185 /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or
186 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 </sect3>
192
193 </sect2>
194 <!-- End PyGObject -->
Note: See TracBrowser for help on using the repository browser.