source: general/prog/pygobject2.xml@ 1ac8b4c6

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 1ac8b4c6 was 1ac8b4c6, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to wayland-protocols-1.7
Update to sawfish-1.12.0
Update to libevdev-1.5.4
Update to dbus-1.10.10
Fix a URL in the systemd page
Tags

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

  • Property mode set to 100644
File size: 5.1 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 pygobject2-download-http
8 "&gnome-download-http;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
9 <!ENTITY pygobject2-download-ftp
10 "&gnome-download-ftp;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
11 <!ENTITY pygobject2-md5sum "9415cb7f2b3a847f2310ccea258b101e">
12 <!ENTITY pygobject2-size "732 KB">
13 <!ENTITY pygobject2-buildsize "24 MB">
14 <!ENTITY pygobject2-time "0.2 SBU">
15]>
16
17 <!-- Begin PyGObject2 -->
18 <sect2 id="pygobject2" xreflabel="PyGObject-&pygobject2-version;">
19
20 <title>PyGObject-&pygobject2-version;</title>
21
22 <indexterm zone="pygobject2">
23 <primary sortas="a-PyGObject">PyGObject</primary>
24 </indexterm>
25
26 <sect3 role="package">
27 <title>Introduction to PyGObject Module</title>
28
29 <para>
30 PyGObject-&pygobject2-version; provides
31 <application>Python 2</application> bindings to the GObject class from
32 <application>GLib</application>.
33 </para>
34
35 &lfs7a_checked;
36
37 <bridgehead renderas="sect4">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&pygobject2-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&pygobject2-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &pygobject2-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &pygobject2-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &pygobject2-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &pygobject2-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect4">Additional Downloads</bridgehead>
72 <itemizedlist spacing="compact">
73 <listitem>
74 <para>
75 Required patch:
76 <ulink url="&patch-root;/pygobject-&pygobject2-version;-fixes-1.patch"/>
77 </para>
78 </listitem>
79 </itemizedlist>
80
81 <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
82
83 <bridgehead renderas="sect5">Required</bridgehead>
84 <para role="required">
85 <xref linkend="glib2"/> and
86 <xref linkend="py2cairo"/>
87 </para>
88
89 <bridgehead renderas="sect5">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="gobject-introspection"/> and
92 <xref linkend="libxslt"/> (to Build Documentation)
93 </para>
94
95 <para condition="html" role="usernotes">
96 User Notes: <ulink url="&blfs-wiki;/pygobject2"/>
97 </para>
98 </sect3>
99
100 <sect3 role="installation">
101 <title>Installation of PyGObject</title>
102
103 <para>
104 Install <application>PyGObject</application> by running the following
105 commands:
106 </para>
107
108<screen><userinput>patch -Np1 -i ../pygobject-&pygobject2-version;-fixes-1.patch &amp;&amp;
109sed -i "/seems to be moved/s/^/#/" ltmain.sh &amp;&amp;
110./configure --prefix=/usr --disable-introspection &amp;&amp;
111make</userinput></screen>
112
113 <para>
114 This package does not have a working testsuite.
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>make install</userinput></screen>
122 </sect3>
123
124 <sect3 role="commands">
125 <title>Command Explanations</title>
126
127 <para>
128 <command>sed -i ... ltmain.sh</command>: This sed silences several
129 useless and annoying warnings generated by libtool.
130 </para>
131
132 <para>
133 <option>--disable-introspection</option>: Omit this switch if you have
134 installed <xref linkend="gobject-introspection"/>. Note that it
135 conflicts with <xref linkend="pygobject3"/>.
136 </para>
137
138 <para>
139 <option>--disable-docs</option>: This option disables the rebuilding of
140 the html documentation if <xref linkend="libxslt"/> is installed.
141 </para>
142
143 </sect3>
144
145 <sect3 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>pygobject-codegen-2.0</seg>
155 <seg>
156 libpyglib-2.0-python.so,
157 _gio.so,
158 unix.so,
159 _glib.so and
160 _gobject.so.
161 </seg>
162 <seg>
163 /usr/include/pygtk-2.0,
164 /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
165 /usr/share/gtk-doc/html/pygobject and
166 /usr/share/pygobject/2.0
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170 </sect3>
171 </sect2>
172 <!-- End PyGObject2 -->
Note: See TracBrowser for help on using the repository browser.