[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY dbus-python-download-http "https://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
|
---|
[d2b1e2e] | 8 | <!ENTITY dbus-python-download-ftp " ">
|
---|
[5f3dfa8e] | 9 | <!ENTITY dbus-python-md5sum "33be8a4a766e1c7c9a377b8f934ce21a">
|
---|
| 10 | <!ENTITY dbus-python-size "592 KB">
|
---|
| 11 | <!ENTITY dbus-python-buildsize "4.7 MB (with tests)" >
|
---|
[587f998] | 12 | <!ENTITY dbus-python-time "less than 0.1 SBU (with tests)">
|
---|
[d2b1e2e] | 13 | ]>
|
---|
[d01c61f] | 14 |
|
---|
[d2b1e2e] | 15 | <!-- Begin D-Bus Python -->
|
---|
| 16 | <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
|
---|
[e3c0a2a] | 17 | <title>D-Bus Python-&dbus-python-version;</title>
|
---|
[d2b1e2e] | 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
|
---|
[a89a5a6] | 29 | <application>D-Bus</application> API interface.
|
---|
[d2b1e2e] | 30 | </para>
|
---|
| 31 |
|
---|
[0942224] | 32 | &lfs112_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">
|
---|
[d035e0e] | 72 | <xref linkend="dbus"/> and
|
---|
[8558044] | 73 | <xref linkend="glib2"/>
|
---|
[60ddbaf] | 74 | </para>
|
---|
[5f3dfa8e] | 75 |
|
---|
[60ddbaf] | 76 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
| 77 | <para role="optional">
|
---|
[452ecee] | 78 | <xref linkend="pygobject3"/> and
|
---|
| 79 | <ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
|
---|
| 80 | (required for some tests)
|
---|
[d2b1e2e] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect5">
|
---|
[d035e0e] | 84 | Optional (Required to build the API and HTML Documentation)</bridgehead>
|
---|
[d2b1e2e] | 85 | <para role="optional">
|
---|
[d3ea9e8] | 86 | <xref linkend="docutils"/> and
|
---|
[80106051] | 87 | <ulink url="https://www.sphinx-doc.org/en/master/">Sphinx</ulink> with
|
---|
[f0190231] | 88 | <ulink url="https://github.com/rtfd/sphinx_rtd_theme">sphinx_rtd_theme</ulink>
|
---|
[d2b1e2e] | 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/dbus-python"/>
|
---|
| 93 | </para>
|
---|
| 94 | </sect3>
|
---|
| 95 |
|
---|
| 96 | <sect3 role="installation">
|
---|
| 97 | <title>Installation of D-Bus Python</title>
|
---|
| 98 |
|
---|
[97a1efc] | 99 | <para>
|
---|
[5f3dfa8e] | 100 | Build the D-Bus Python module by running the following commands:
|
---|
[97a1efc] | 101 | </para>
|
---|
[d2b1e2e] | 102 |
|
---|
[71b1e2d2] | 103 | <screen><userinput>mkdir build &&
|
---|
| 104 | cd build &&
|
---|
| 105 |
|
---|
| 106 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[01bfbee6] | 107 | ninja</userinput></screen>
|
---|
[5f3dfa8e] | 108 |
|
---|
| 109 | <para>
|
---|
| 110 | To test the results, issue: <command>ninja test</command>.
|
---|
| 111 | </para>
|
---|
[d2b1e2e] | 112 |
|
---|
| 113 | <para>
|
---|
[5f3dfa8e] | 114 | Now install the module as the &root; user:
|
---|
[d2b1e2e] | 115 | </para>
|
---|
| 116 |
|
---|
[01bfbee6] | 117 | <screen role="root"><userinput>ninja install &&
|
---|
| 118 | cp -rv ../dbus_python.egg-info \
|
---|
| 119 | -T /usr/lib/python&python3-majorver;/site-packages/dbus_python-&dbus-python-version;.egg-info</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | </sect3>
|
---|
| 122 |
|
---|
| 123 | <sect3 role="commands">
|
---|
| 124 |
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | <command>cp -rv ... -T ...</command>: Install the metadata of this
|
---|
| 129 | Python module so <command>pip3</command> will be able to find this
|
---|
| 130 | module and use it as a dependency building and installing other
|
---|
| 131 | modules. <parameter>-T</parameter> is used to make this command
|
---|
| 132 | behave properly in case that this module is reinstalled.
|
---|
| 133 | </para>
|
---|
[d2b1e2e] | 134 |
|
---|
| 135 | </sect3>
|
---|
| 136 |
|
---|
| 137 | <sect3 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
| 141 | <segtitle>Installed Programs</segtitle>
|
---|
| 142 | <segtitle>Installed Libraries</segtitle>
|
---|
[97a1efc] | 143 | <segtitle>Installed Directory</segtitle>
|
---|
[d2b1e2e] | 144 |
|
---|
| 145 | <seglistitem>
|
---|
| 146 | <seg>
|
---|
| 147 | None
|
---|
| 148 | </seg>
|
---|
| 149 | <seg>
|
---|
| 150 | None
|
---|
| 151 | </seg>
|
---|
| 152 | <seg>
|
---|
| 153 | /usr/lib/python&python3-majorver;/site-packages/dbus
|
---|
| 154 | </seg>
|
---|
| 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | </sect3>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|