source: general/prog/dbus-python.xml@ aecbae4a

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since aecbae4a was aecbae4a, checked in by Bruce Dubbs <bdubbs@…>, 2 years ago

Update to ModemManager-1.10.6.
Update to dbus-python-1.2.12 (Python module).
Update to libsoup-2.68.1.
Update to shared-mime-info-1.13.1.
Update to enchant-2.2.7.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22138 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.9 KB
Line 
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 "428b7a9e7e2d154a7ceb3e13536283e4">
10 <!ENTITY dbus-python-size "564 KB">
11 <!ENTITY dbus-python-buildsize "11 MB (both versions, with tests)">
12 <!ENTITY dbus-python-time "0.2 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-&dbus-python-version;</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> API interface.
30 </para>
31
32 &lfs90_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"/> and
73 <xref linkend="glib2"/>
74 </para>
75
76 <bridgehead renderas="sect5">Recommended</bridgehead>
77 <para role="recommended">
78 <xref linkend="python2"/> (some applications in the book require
79 the Python 2 module)
80 </para>
81
82 <bridgehead renderas="sect5">Optional</bridgehead>
83 <para role="optional">
84 <ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
85 (required for tests)
86 </para>
87
88 <bridgehead renderas="sect5">
89 Optional (Required to build the API and HTML Documentation)</bridgehead>
90 <para role="optional">
91 <xref linkend="docutils"/> and
92 <ulink url="http://www.sphinx-doc.org/en/master/">Sphinx</ulink> with
93 <ulink url="https://github.com/rtfd/sphinx_rtd_theme">sphinx_rtd_theme</ulink>
94 </para>
95
96 <para condition="html" role="usernotes">User Notes:
97 <ulink url="&blfs-wiki;/dbus-python"/>
98 </para>
99 </sect3>
100
101 <sect3 role="installation">
102 <title>Installation of D-Bus Python</title>
103
104 <note>
105 <para>
106 Both <application>Python 2</application> and
107 <application>Python 3</application> modules can
108 be built and installed without any conflicts.
109 </para>
110 </note>
111
112 <para>
113 To build <application>D-Bus Python</application> as the
114 <application>Python 2</application> module, run the
115 following commands:
116 </para>
117
118<screen><userinput>mkdir python2 &amp;&amp;
119pushd python2 &amp;&amp;
120PYTHON=/usr/bin/python2 \
121../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
122make &amp;&amp;
123popd</userinput></screen>
124
125 <para>
126 To test the results, issue: <command>make -C python2 check</command>.
127 One test reports error due to dbus issues.
128 </para>
129
130 <para>
131 To build <application>D-Bus Python</application> as the
132 <application>Python 3</application> module, run the
133 following commands:
134 </para>
135
136<screen><userinput>mkdir python3 &amp;&amp;
137pushd python3 &amp;&amp;
138PYTHON=/usr/bin/python3 \
139../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
140make &amp;&amp;
141popd</userinput></screen>
142
143 <para>
144 To test the results, issue: <command>make -C python3 check</command>.
145 </para>
146
147 <para>
148 To install the <application>Python 2</application> module,
149 run the following command as the
150 <systemitem class="username">root</systemitem> user:
151 </para>
152
153<screen role="root"><userinput>make -C python2 install</userinput></screen>
154
155 <para>
156 To install the <application>Python 3</application> module,
157 run the following command as the
158 <systemitem class="username">root</systemitem> user:
159 </para>
160
161<screen role="root"><userinput>make -C python3 install</userinput></screen>
162
163 </sect3>
164
165 <sect3 role="content">
166 <title>Contents</title>
167
168 <segmentedlist>
169 <segtitle>Installed Programs</segtitle>
170 <segtitle>Installed Libraries</segtitle>
171 <segtitle>Installed Directories</segtitle>
172
173 <seglistitem>
174 <seg>
175 None
176 </seg>
177 <seg>
178 None
179 </seg>
180 <seg>
181 /usr/share/doc/dbus-python-&dbus-python-version; and
182 /usr/lib/python&python2-majorver;/site-packages/dbus and/or
183 /usr/lib/python&python3-majorver;/site-packages/dbus
184 </seg>
185 </seglistitem>
186 </segmentedlist>
187
188 </sect3>
189
190 </sect2>
191 <!-- End D-Bus Python -->
Note: See TracBrowser for help on using the repository browser.