source: general/prog/dbus-python.xml@ 7cadfea

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7cadfea was 7cadfea, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Fixes and tags. Thanks Armin K.

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

  • Property mode set to 100644
File size: 5.3 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 "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 "b09cd2d1a057cc432ce944de3fc06bf7">
10 <!ENTITY dbus-python-size "592 KB">
11 <!ENTITY dbus-python-buildsize "11 MB">
12 <!ENTITY dbus-python-time "0.3 SBU">
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 &lfs75_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 &amp;&amp;
108pushd python2 &amp;&amp;
109PYTHON=/usr/bin/python \
110../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
111make &amp;&amp;
112popd</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 &amp;&amp;
125pushd python3 &amp;&amp;
126PYTHON=/usr/bin/python3 \
127../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
128make &amp;&amp;
129popd</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 -->
Note: See TracBrowser for help on using the repository browser.