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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d035e0e was d035e0e, checked in by Bruce Dubbs <bdubbs@…>, 6 years ago

Update to librsvg-2.42.2.
Update to feh-2.23.1.
Update to xkeyboard-config-2.23.
Update to dbus-glib-0.110.
Update to dbus-python-1.2.6 (python module).
Update to pycairo-1.15.5 (python module).

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

  • Property mode set to 100644
File size: 5.6 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 "1ce1ddf2582060f8f971652ea54cc17e">
10 <!ENTITY dbus-python-size "764 KB">
11 <!ENTITY dbus-python-buildsize "11 MB (both versions)">
12 <!ENTITY dbus-python-time "0.2 SBU (both versions)">
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 &lfs81_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">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="python2"/> and
79 <ulink url="https://pypi.python.org/pypi/tap.py/">tap.pyi</ulink>
80 (required for tests)
81 </para>
82
83 <bridgehead renderas="sect5">
84 Optional (Required to build the API and HTML Documentation)</bridgehead>
85 <para role="optional">
86 <xref linkend="docutils"/> and
87 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink>
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 <note>
99 <para>
100 Both <application>Python 2</application> and
101 <application>Python 3</application> modules can
102 be built and installed without any conflicts.
103 </para>
104 </note>
105
106 <para>
107 To build <application>D-Bus Python</application> as the
108 <application>Python 2</application> module, run the
109 following commands:
110 </para>
111
112<screen><userinput>mkdir python2 &amp;&amp;
113pushd python2 &amp;&amp;
114PYTHON=/usr/bin/python \
115../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
116make &amp;&amp;
117popd</userinput></screen>
118
119 <para>
120 To test the results, issue: <command>make -C python2 check</command>.
121 One test reports error due to dbus issues.
122 </para>
123
124 <para>
125 To build <application>D-Bus Python</application> as the
126 <application>Python 3</application> module, run the
127 following commands:
128 </para>
129
130<screen><userinput>mkdir python3 &amp;&amp;
131pushd python3 &amp;&amp;
132PYTHON=/usr/bin/python3 \
133../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
134make &amp;&amp;
135popd</userinput></screen>
136
137 <para>
138 To test the results, issue: <command>make -C python3 check</command>.
139 </para>
140
141 <para>
142 To install the <application>Python 2</application> module,
143 run the following command as the
144 <systemitem class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"><userinput>make -C python2 install</userinput></screen>
148
149 <para>
150 To install the <application>Python 3</application> module,
151 run the following command as the
152 <systemitem class="username">root</systemitem> user:
153 </para>
154
155<screen role="root"><userinput>make -C python3 install</userinput></screen>
156
157 </sect3>
158
159 <sect3 role="content">
160 <title>Contents</title>
161
162 <segmentedlist>
163 <segtitle>Installed Programs</segtitle>
164 <segtitle>Installed Libraries</segtitle>
165 <segtitle>Installed Directories</segtitle>
166
167 <seglistitem>
168 <seg>
169 None
170 </seg>
171 <seg>
172 None
173 </seg>
174 <seg>
175 /usr/share/doc/dbus-python-&dbus-python-version; and
176 /usr/lib/python&python2-majorver;/site-packages/dbus and/or
177 /usr/lib/python&python3-majorver;/site-packages/dbus
178 </seg>
179 </seglistitem>
180 </segmentedlist>
181
182 </sect3>
183
184 </sect2>
185 <!-- End D-Bus Python -->
Note: See TracBrowser for help on using the repository browser.