[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 dbus-python-download-http "http://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
|
---|
| 8 | <!ENTITY dbus-python-download-ftp " ">
|
---|
| 9 | <!ENTITY dbus-python-md5sum "b09cd2d1a057cc432ce944de3fc06bf7">
|
---|
| 10 | <!ENTITY dbus-python-size "592 KB">
|
---|
| 11 | <!ENTITY dbus-python-buildsize "11 MB">
|
---|
| 12 | <!ENTITY dbus-python-time "0.3 SBU">
|
---|
| 13 | ]>
|
---|
[d01c61f] | 14 |
|
---|
[d2b1e2e] | 15 | <!-- Begin D-Bus Python -->
|
---|
| 16 | <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
|
---|
| 17 | <title>D-Bus Python</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="dbus-python">
|
---|
| 20 | <primary sortas="a-dbus-python">dbus-python</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect3 role="package">
|
---|
| 24 | <title>Introduction to D-Bus Python Module</title>
|
---|
| 25 |
|
---|
| 26 | <para>
|
---|
| 27 | <application>D-Bus Python</application> provides
|
---|
| 28 | <application>Python</application> bindings to the
|
---|
| 29 | <application>D-Bus</application>.
|
---|
| 30 | </para>
|
---|
| 31 |
|
---|
[ee835cc] | 32 | &lfs74_checked;
|
---|
[d2b1e2e] | 33 |
|
---|
| 34 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&dbus-python-download-http;"/>
|
---|
| 39 | </para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&dbus-python-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download MD5 sum: &dbus-python-md5sum;
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download size: &dbus-python-size;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Estimated disk space required: &dbus-python-buildsize;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated build time: &dbus-python-time;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 71 | <para role="required">
|
---|
| 72 | <xref linkend="dbus-glib"/> and
|
---|
| 73 | <xref linkend="python2"/> and/or
|
---|
| 74 | <xref linkend="python3"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect5">
|
---|
| 78 | Optional (Required to build the API and HTML Documentation)
|
---|
| 79 | </bridgehead>
|
---|
| 80 | <para role="optional">
|
---|
| 81 | <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
|
---|
| 82 | <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/dbus-python"/>
|
---|
| 87 | </para>
|
---|
| 88 | </sect3>
|
---|
| 89 |
|
---|
| 90 | <sect3 role="installation">
|
---|
| 91 | <title>Installation of D-Bus Python</title>
|
---|
| 92 |
|
---|
| 93 | <note>
|
---|
| 94 | <para>
|
---|
| 95 | Both <application>Python 2</application> and
|
---|
| 96 | <application>Python 3</application> modules can
|
---|
| 97 | be built and installed without any conflicts.
|
---|
| 98 | </para>
|
---|
| 99 | </note>
|
---|
| 100 |
|
---|
| 101 | <para>
|
---|
| 102 | To build <application>D-Bus Python</application> as the
|
---|
| 103 | <application>Python 2</application> module, run the
|
---|
| 104 | following commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput>mkdir python2 &&
|
---|
| 108 | pushd python2 &&
|
---|
| 109 | PYTHON=/usr/bin/python \
|
---|
| 110 | ../configure --prefix=/usr \
|
---|
| 111 | --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
| 112 | make &&
|
---|
| 113 | popd</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | To test the results, issue: <command>make -C python2 check</command>.
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | To build <application>D-Bus Python</application> as the
|
---|
| 121 | <application>Python 3</application> module, run the
|
---|
| 122 | following commands:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <screen><userinput>mkdir python3 &&
|
---|
| 126 | pushd python3 &&
|
---|
| 127 | PYTHON=/usr/bin/python3 \
|
---|
| 128 | ../configure --prefix=/usr \
|
---|
| 129 | --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
| 130 | make &&
|
---|
| 131 | popd</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | To test the results, issue: <command>make -C python3 check</command>.
|
---|
| 135 | </para>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | To install the <application>Python 2</application> module,
|
---|
| 139 | run the following command as the
|
---|
| 140 | <systemitem class="username">root</systemitem> user:
|
---|
| 141 | </para>
|
---|
| 142 |
|
---|
| 143 | <screen role="root"><userinput>make -C python2 install</userinput></screen>
|
---|
| 144 |
|
---|
| 145 | <para>
|
---|
| 146 | To install the <application>Python 3</application> module,
|
---|
| 147 | run the following command as the
|
---|
| 148 | <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
| 150 |
|
---|
| 151 | <screen role="root"><userinput>make -C python3 install</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | </sect3>
|
---|
| 154 |
|
---|
| 155 | <sect3 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
| 157 |
|
---|
| 158 | <segmentedlist>
|
---|
| 159 | <segtitle>Installed Programs</segtitle>
|
---|
| 160 | <segtitle>Installed Libraries</segtitle>
|
---|
| 161 | <segtitle>Installed Directories</segtitle>
|
---|
| 162 |
|
---|
| 163 | <seglistitem>
|
---|
| 164 | <seg>
|
---|
| 165 | None
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
| 168 | None
|
---|
| 169 | </seg>
|
---|
| 170 | <seg>
|
---|
| 171 | /usr/share/doc/dbus-python-&dbus-python-version; and
|
---|
| 172 | /usr/lib/python&python2-majorver;/site-packages/dbus and/or
|
---|
| 173 | /usr/lib/python&python3-majorver;/site-packages/dbus
|
---|
| 174 | </seg>
|
---|
| 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 |
|
---|
| 178 | </sect3>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
[d01c61f] | 181 | <!-- End D-Bus Python -->
|
---|