[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[d2b1e2e] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[5fe69261] | 4 | <!ENTITY % general-entities SYSTEM "../../../general.ent">
|
---|
[d2b1e2e] | 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY pygobject2-download-http
|
---|
| 8 | "&gnome-download-http;/pygobject/2.28/pygobject-&pygobject2-version;.tar.xz">
|
---|
[f4ac7141] | 9 | <!ENTITY pygobject2-download-ftp " ">
|
---|
[b13548d] | 10 | <!ENTITY pygobject2-md5sum "ae48b60c690c4aa894e69e0c97802745">
|
---|
| 11 | <!ENTITY pygobject2-size "728 KB">
|
---|
| 12 | <!ENTITY pygobject2-buildsize "17 MB">
|
---|
| 13 | <!ENTITY pygobject2-time "0.1 SBU">
|
---|
[d2b1e2e] | 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 |
|
---|
[f822342] | 34 | &lfs122_checked;
|
---|
[d2b1e2e] | 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>
|
---|
[b13548d] | 69 | <!--
|
---|
[c77f4066] | 70 | <bridgehead renderas="sect4">Additional Downloads</bridgehead>
|
---|
[d2b1e2e] | 71 | <itemizedlist spacing="compact">
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>
|
---|
[3196180f] | 74 | Required patch:
|
---|
| 75 | <ulink url="&patch-root;/pygobject-&pygobject2-version;-fixes-1.patch"/>
|
---|
[d2b1e2e] | 76 | </para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
[b13548d] | 79 | -->
|
---|
[d2b1e2e] | 80 | <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 83 | <para role="required">
|
---|
[f6ee672] | 84 | <xref linkend="glib2"/>,
|
---|
[0c2e5325] | 85 | <xref linkend="pycairo2"/> and
|
---|
[f6ee672] | 86 | <xref linkend="python2"/>
|
---|
[d2b1e2e] | 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 |
|
---|
[c0bc0a9] | 104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[d2b1e2e] | 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
[48771ae] | 108 | This package does not have a working test suite.
|
---|
[d2b1e2e] | 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>
|
---|
[c0bc0a9] | 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"/>.
|
---|
[d2b1e2e] | 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>
|
---|
[4c24eb0a] | 160 |
|
---|
[d2b1e2e] | 161 | </sect2>
|
---|