source: general/prog/python-modules/pygobject2.xml@ 85b49c6

lazarus trunk
Last change on this file since 85b49c6 was c0bc0a9, checked in by Xi Ruoyao <xry111@…>, 3 months ago

Update to glib-2.80.0 and gobject-introspection-1.80.0

Merge gobject-introspection into glib page to better handle a circular
dependency between these two packages.

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