[d2b1e2e] | 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">
|
---|
[b13548d] | 11 | <!ENTITY pygobject2-md5sum "ae48b60c690c4aa894e69e0c97802745">
|
---|
| 12 | <!ENTITY pygobject2-size "728 KB">
|
---|
| 13 | <!ENTITY pygobject2-buildsize "17 MB">
|
---|
| 14 | <!ENTITY pygobject2-time "0.1 SBU">
|
---|
[d2b1e2e] | 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 |
|
---|
[519aed4] | 35 | &lfs111_checked;
|
---|
[d2b1e2e] | 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>
|
---|
[b13548d] | 70 | <!--
|
---|
[c77f4066] | 71 | <bridgehead renderas="sect4">Additional Downloads</bridgehead>
|
---|
[d2b1e2e] | 72 | <itemizedlist spacing="compact">
|
---|
| 73 | <listitem>
|
---|
| 74 | <para>
|
---|
[3196180f] | 75 | Required patch:
|
---|
| 76 | <ulink url="&patch-root;/pygobject-&pygobject2-version;-fixes-1.patch"/>
|
---|
[d2b1e2e] | 77 | </para>
|
---|
| 78 | </listitem>
|
---|
| 79 | </itemizedlist>
|
---|
[b13548d] | 80 | -->
|
---|
[d2b1e2e] | 81 | <bridgehead renderas="sect4">PyGObject Dependencies</bridgehead>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 84 | <para role="required">
|
---|
[f6ee672] | 85 | <xref linkend="glib2"/>,
|
---|
[0c2e5325] | 86 | <xref linkend="pycairo2"/> and
|
---|
[f6ee672] | 87 | <xref linkend="python2"/>
|
---|
[d2b1e2e] | 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 91 | <para role="optional">
|
---|
| 92 | <xref linkend="gobject-introspection"/> and
|
---|
| 93 | <xref linkend="libxslt"/> (to Build Documentation)
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <para condition="html" role="usernotes">
|
---|
| 97 | User Notes: <ulink url="&blfs-wiki;/pygobject2"/>
|
---|
| 98 | </para>
|
---|
| 99 | </sect3>
|
---|
| 100 |
|
---|
| 101 | <sect3 role="installation">
|
---|
| 102 | <title>Installation of PyGObject</title>
|
---|
| 103 |
|
---|
| 104 | <para>
|
---|
| 105 | Install <application>PyGObject</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
[b13548d] | 109 | <screen><userinput>./configure --prefix=/usr --disable-introspection &&
|
---|
[d2b1e2e] | 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | This package does not have a working testsuite.
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 | </sect3>
|
---|
| 122 |
|
---|
| 123 | <sect3 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | <option>--disable-introspection</option>: Omit this switch if you have
|
---|
| 128 | installed <xref linkend="gobject-introspection"/>. Note that it
|
---|
| 129 | conflicts with <xref linkend="pygobject3"/>.
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <para>
|
---|
| 133 | <option>--disable-docs</option>: This option disables the rebuilding of
|
---|
| 134 | the html documentation if <xref linkend="libxslt"/> is installed.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | </sect3>
|
---|
| 138 |
|
---|
| 139 | <sect3 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>pygobject-codegen-2.0</seg>
|
---|
| 149 | <seg>
|
---|
| 150 | libpyglib-2.0-python.so,
|
---|
| 151 | _gio.so,
|
---|
| 152 | unix.so,
|
---|
| 153 | _glib.so and
|
---|
| 154 | _gobject.so.
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | /usr/include/pygtk-2.0,
|
---|
| 158 | /usr/lib/python&python2-majorver;/site-packages/gtk-2.0/{gio,glib,gobject},
|
---|
| 159 | /usr/share/gtk-doc/html/pygobject and
|
---|
| 160 | /usr/share/pygobject/2.0
|
---|
| 161 | </seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 | </sect3>
|
---|
[4c24eb0a] | 165 |
|
---|
[d2b1e2e] | 166 | </sect2>
|
---|