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 "7372a588c83a7232b4e08159bfd48fe5">
|
---|
10 | <!ENTITY dbus-python-size "600 KB">
|
---|
11 | <!ENTITY dbus-python-buildsize "9.3 MB (both versions with tests)">
|
---|
12 | <!ENTITY dbus-python-time "0.4 SBU (both versions with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
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 |
|
---|
32 | &lfs78_checked;
|
---|
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 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
111 | make &&
|
---|
112 | popd</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | To test the results, issue: <command>make -C python2 check</command>.
|
---|
116 | </para>
|
---|
117 |
|
---|
118 | <para>
|
---|
119 | To build <application>D-Bus Python</application> as the
|
---|
120 | <application>Python 3</application> module, run the
|
---|
121 | following commands:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen><userinput>mkdir python3 &&
|
---|
125 | pushd python3 &&
|
---|
126 | PYTHON=/usr/bin/python3 \
|
---|
127 | ../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &&
|
---|
128 | make &&
|
---|
129 | popd</userinput></screen>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | To test the results, issue: <command>make -C python3 check</command>.
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <para>
|
---|
136 | To install the <application>Python 2</application> module,
|
---|
137 | run the following command as the
|
---|
138 | <systemitem class="username">root</systemitem> user:
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>make -C python2 install</userinput></screen>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | To install the <application>Python 3</application> module,
|
---|
145 | run the following command as the
|
---|
146 | <systemitem class="username">root</systemitem> user:
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | <screen role="root"><userinput>make -C python3 install</userinput></screen>
|
---|
150 |
|
---|
151 | </sect3>
|
---|
152 |
|
---|
153 | <sect3 role="content">
|
---|
154 | <title>Contents</title>
|
---|
155 |
|
---|
156 | <segmentedlist>
|
---|
157 | <segtitle>Installed Programs</segtitle>
|
---|
158 | <segtitle>Installed Libraries</segtitle>
|
---|
159 | <segtitle>Installed Directories</segtitle>
|
---|
160 |
|
---|
161 | <seglistitem>
|
---|
162 | <seg>
|
---|
163 | None
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | None
|
---|
167 | </seg>
|
---|
168 | <seg>
|
---|
169 | /usr/share/doc/dbus-python-&dbus-python-version; and
|
---|
170 | /usr/lib/python&python2-majorver;/site-packages/dbus and/or
|
---|
171 | /usr/lib/python&python3-majorver;/site-packages/dbus
|
---|
172 | </seg>
|
---|
173 | </seglistitem>
|
---|
174 | </segmentedlist>
|
---|
175 |
|
---|
176 | </sect3>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 | <!-- End D-Bus Python -->
|
---|