source: general/prog/pygobject3.xml@ 066dad5a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 066dad5a was 066dad5a, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Most of the tags for Part III. General Libraries and Utilities
Some changes for man and info directories.

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

  • Property mode set to 100644
File size: 5.4 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.10/pygobject-&pygobject3-version;.tar.xz">
9 <!ENTITY pygobject3-download-ftp
10 "&gnome-download-ftp;/pygobject/3.10/pygobject-&pygobject3-version;.tar.xz">
11 <!ENTITY pygobject3-md5sum "f311155be8510df6ad8e4edf1cb463d4">
12 <!ENTITY pygobject3-size "660 KB">
13 <!ENTITY pygobject3-buildsize "27 MB">
14 <!ENTITY pygobject3-time "0.5 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 &lfs75_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 <para condition="html" role="usernotes">
83 User Notes: <ulink url="&blfs-wiki;/pygobject3"/>
84 </para>
85 </sect3>
86
87 <sect3 role="installation">
88 <title>Installation of PyGObject3</title>
89
90 <note>
91 <para>
92 Both <application>Python 2</application> and
93 <application>Python 3</application> modules can
94 be built and installed without any conflicts.
95 </para>
96 </note>
97
98 <para>
99 To build <application>PyGObject3</application> as the
100 <application>Python 2</application> module, run the
101 following commands:
102 </para>
103
104<screen><userinput>mkdir python2 &amp;&amp;
105pushd python2 &amp;&amp;
106../configure --prefix=/usr --with-python=/usr/bin/python &amp;&amp;
107make &amp;&amp;
108popd</userinput></screen>
109
110 <para>
111 To test the results, issue: <command>make -C python2 -k check</command>.
112 An already active graphical session with bus address is necessary to
113 run the tests.
114 </para>
115
116 <para>
117 To build <application>PyGObject3</application> as the
118 <application>Python 3</application> module, run the
119 following commands:
120 </para>
121
122<screen><userinput>mkdir python3 &amp;&amp;
123pushd python3 &amp;&amp;
124../configure --prefix=/usr --with-python=/usr/bin/python3 &amp;&amp;
125make &amp;&amp;
126popd</userinput></screen>
127
128 <para>
129 To test the results, issue: <command>make -C python3 -k check</command>.
130 An already active graphical session with bus address is necessary to
131 run the tests.
132 </para>
133
134 <para>
135 To install the <application>Python 2</application> module,
136 run the following command as the
137 <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role="root"><userinput>make -C python2 install</userinput></screen>
141
142 <para>
143 To install the <application>Python 3</application> module,
144 run the following command as the
145 <systemitem class="username">root</systemitem> user:
146 </para>
147
148<screen role="root"><userinput>make -C python3 install</userinput></screen>
149
150 </sect3>
151
152 <sect3 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Programs</segtitle>
157 <segtitle>Installed Library</segtitle>
158 <segtitle>Installed Directories</segtitle>
159
160 <seglistitem>
161 <seg>
162 None
163 </seg>
164 <seg>
165 libpyglib-gi-2.0-python.so and/or
166 libpyglib-gi-2.0-python3.so
167 </seg>
168 <seg>
169 /usr/include/pygobject-3.0 and
170 /usr/lib/python&python2-majorver;/site-packages/{gi,pygtkcompat} and/or
171 /usr/lib/python&python3-majorver;/site-packages/{gi,pygtkcompat}
172 </seg>
173 </seglistitem>
174 </segmentedlist>
175
176 </sect3>
177
178 </sect2>
179 <!-- End PyGObject -->
Note: See TracBrowser for help on using the repository browser.