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 "https://dbus.freedesktop.org/releases/dbus-python/dbus-python-&dbus-python-version;.tar.gz">
|
---|
8 | <!ENTITY dbus-python-download-ftp " ">
|
---|
9 | <!ENTITY dbus-python-md5sum "33be8a4a766e1c7c9a377b8f934ce21a">
|
---|
10 | <!ENTITY dbus-python-size "592 KB">
|
---|
11 | <!ENTITY dbus-python-buildsize "4.7 MB (with tests)" >
|
---|
12 | <!ENTITY dbus-python-time "less than 0.1 SBU (with tests)">
|
---|
13 | <!ENTITY dbus-python-egg-info "&python3-site;/dbus_python-&dbus-python-version;.egg-info">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <!-- Begin D-Bus Python -->
|
---|
17 | <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
|
---|
18 | <title>D-Bus Python-&dbus-python-version;</title>
|
---|
19 |
|
---|
20 | <indexterm zone="dbus-python">
|
---|
21 | <primary sortas="a-dbus-python">dbus-python</primary>
|
---|
22 | </indexterm>
|
---|
23 |
|
---|
24 | <sect3 role="package">
|
---|
25 | <title>Introduction to D-Bus Python Module</title>
|
---|
26 |
|
---|
27 | <para>
|
---|
28 | <application>D-Bus Python</application> provides
|
---|
29 | <application>Python</application> bindings to the
|
---|
30 | <application>D-Bus</application> API interface.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs112_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&dbus-python-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (FTP): <ulink url="&dbus-python-download-ftp;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download MD5 sum: &dbus-python-md5sum;
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download size: &dbus-python-size;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Estimated disk space required: &dbus-python-buildsize;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated build time: &dbus-python-time;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | </itemizedlist>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
72 | <para role="required">
|
---|
73 | <xref linkend="dbus"/> and
|
---|
74 | <xref linkend="glib2"/>
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect5">Optional</bridgehead>
|
---|
78 | <para role="optional">
|
---|
79 | <xref linkend="pygobject3"/> and
|
---|
80 | <ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
|
---|
81 | (required for some tests)
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect5">
|
---|
85 | Optional (Required to build the API and HTML Documentation)</bridgehead>
|
---|
86 | <para role="optional">
|
---|
87 | <xref linkend="sphinx_rtd_theme"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | <para condition="html" role="usernotes">User Notes:
|
---|
91 | <ulink url="&blfs-wiki;/dbus-python"/>
|
---|
92 | </para>
|
---|
93 | </sect3>
|
---|
94 |
|
---|
95 | <sect3 role="installation">
|
---|
96 | <title>Installation of D-Bus Python</title>
|
---|
97 |
|
---|
98 | <para>
|
---|
99 | Build the D-Bus Python module by running the following commands:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen><userinput>mkdir build &&
|
---|
103 | cd build &&
|
---|
104 |
|
---|
105 | meson --prefix=/usr --buildtype=release .. &&
|
---|
106 | ninja</userinput></screen>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | To test the results, issue: <command>ninja test</command>.
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | Now install the module as the &root; user:
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <screen role="root"><userinput>ninja install &&
|
---|
117 | cp -rv ../dbus_python.egg-info \
|
---|
118 | -T &dbus-python-egg-info;</userinput></screen>
|
---|
119 |
|
---|
120 | </sect3>
|
---|
121 |
|
---|
122 | <sect3 role="commands">
|
---|
123 |
|
---|
124 | <title>Command Explanations</title>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | <command>cp -rv ... -T ...</command>: Install the metadata of this
|
---|
128 | Python module so <command>pip3</command> will be able to find this
|
---|
129 | module and use it as a dependency building and installing other
|
---|
130 | modules. <parameter>-T</parameter> is used to make this command
|
---|
131 | behave properly in case that this module is reinstalled.
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | </sect3>
|
---|
135 |
|
---|
136 | <sect3 role="content">
|
---|
137 | <title>Contents</title>
|
---|
138 |
|
---|
139 | <segmentedlist>
|
---|
140 | <segtitle>Installed Programs</segtitle>
|
---|
141 | <segtitle>Installed Libraries</segtitle>
|
---|
142 | <segtitle>Installed Directories</segtitle>
|
---|
143 |
|
---|
144 | <seglistitem>
|
---|
145 | <seg>
|
---|
146 | None
|
---|
147 | </seg>
|
---|
148 | <seg>
|
---|
149 | None
|
---|
150 | </seg>
|
---|
151 | <seg>
|
---|
152 | &python3-site;/dbus and &dbus-python-egg-info;
|
---|
153 | </seg>
|
---|
154 | </seglistitem>
|
---|
155 | </segmentedlist>
|
---|
156 |
|
---|
157 | </sect3>
|
---|
158 |
|
---|
159 | </sect2>
|
---|