[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
|
---|
[f0190231] | 87 | <ulink url="http://www.sphinx-doc.org/en/master/">Sphinx</ulink> with
|
---|
| 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 |
|
---|
[5f3dfa8e] | 103 | <screen><userinput>meson --prefix=/usr --buildtype=release .. &&
|
---|
| 104 | ninja </userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | To test the results, issue: <command>ninja test</command>.
|
---|
| 108 | </para>
|
---|
[d2b1e2e] | 109 |
|
---|
| 110 | <para>
|
---|
[5f3dfa8e] | 111 | Now install the module as the &root; user:
|
---|
[d2b1e2e] | 112 | </para>
|
---|
| 113 |
|
---|
[5f3dfa8e] | 114 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[d2b1e2e] | 115 |
|
---|
| 116 | </sect3>
|
---|
| 117 |
|
---|
| 118 | <sect3 role="content">
|
---|
| 119 | <title>Contents</title>
|
---|
| 120 |
|
---|
| 121 | <segmentedlist>
|
---|
| 122 | <segtitle>Installed Programs</segtitle>
|
---|
| 123 | <segtitle>Installed Libraries</segtitle>
|
---|
[97a1efc] | 124 | <segtitle>Installed Directory</segtitle>
|
---|
[d2b1e2e] | 125 |
|
---|
| 126 | <seglistitem>
|
---|
| 127 | <seg>
|
---|
| 128 | None
|
---|
| 129 | </seg>
|
---|
| 130 | <seg>
|
---|
| 131 | None
|
---|
| 132 | </seg>
|
---|
| 133 | <seg>
|
---|
| 134 | /usr/lib/python&python3-majorver;/site-packages/dbus
|
---|
| 135 | </seg>
|
---|
| 136 | </seglistitem>
|
---|
| 137 | </segmentedlist>
|
---|
| 138 |
|
---|
| 139 | </sect3>
|
---|
| 140 |
|
---|
| 141 | </sect2>
|
---|