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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 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 d2b1e2e was d2b1e2e, checked in by Krejzi <krejzi@…>, 11 years ago

split python modules into seperate xml files

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11599 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 <!-- Begin D-Bus Python -->
15 <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
16 <title>D-Bus Python</title>
17
18 <indexterm zone="dbus-python">
19 <primary sortas="a-dbus-python">dbus-python</primary>
20 </indexterm>
21
22 <sect3 role="package">
23 <title>Introduction to D-Bus Python Module</title>
24
25 <para>
26 <application>D-Bus Python</application> provides
27 <application>Python</application> bindings to the
28 <application>D-Bus</application>.
29 </para>
30
31 &lfs73_checked;
32
33 <bridgehead renderas="sect4">Package Information</bridgehead>
34 <itemizedlist spacing="compact">
35 <listitem>
36 <para>
37 Download (HTTP): <ulink url="&dbus-python-download-http;"/>
38 </para>
39 </listitem>
40 <listitem>
41 <para>
42 Download (FTP): <ulink url="&dbus-python-download-ftp;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download MD5 sum: &dbus-python-md5sum;
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download size: &dbus-python-size;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Estimated disk space required: &dbus-python-buildsize;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated build time: &dbus-python-time;
63 </para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
68
69 <bridgehead renderas="sect5">Required</bridgehead>
70 <para role="required">
71 <xref linkend="dbus-glib"/> and
72 <xref linkend="python2"/> and/or
73 <xref linkend="python3"/>
74 </para>
75
76 <bridgehead renderas="sect5">
77 Optional (Required to build the API and HTML Documentation)
78 </bridgehead>
79 <para role="optional">
80 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
81 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
82 </para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/dbus-python"/>
86 </para>
87 </sect3>
88
89 <sect3 role="installation">
90 <title>Installation of D-Bus Python</title>
91
92 <note>
93 <para>
94 Both <application>Python 2</application> and
95 <application>Python 3</application> modules can
96 be built and installed without any conflicts.
97 </para>
98 </note>
99
100 <para>
101 To build <application>D-Bus Python</application> as the
102 <application>Python 2</application> module, run the
103 following commands:
104 </para>
105
106<screen><userinput>mkdir python2 &amp;&amp;
107pushd python2 &amp;&amp;
108PYTHON=/usr/bin/python \
109../configure --prefix=/usr \
110 --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 \
128 --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
129make &amp;&amp;
130popd</userinput></screen>
131
132 <para>
133 To test the results, issue: <command>make -C python3 check</command>.
134 </para>
135
136 <para>
137 To install the <application>Python 2</application> module,
138 run the following command as the
139 <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>make -C python2 install</userinput></screen>
143
144 <para>
145 To install the <application>Python 3</application> module,
146 run the following command as the
147 <systemitem class="username">root</systemitem> user:
148 </para>
149
150<screen role="root"><userinput>make -C python3 install</userinput></screen>
151
152 </sect3>
153
154 <sect3 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Libraries</segtitle>
160 <segtitle>Installed Directories</segtitle>
161
162 <seglistitem>
163 <seg>
164 None
165 </seg>
166 <seg>
167 None
168 </seg>
169 <seg>
170 /usr/share/doc/dbus-python-&dbus-python-version; and
171 /usr/lib/python&python2-majorver;/site-packages/dbus and/or
172 /usr/lib/python&python3-majorver;/site-packages/dbus
173 </seg>
174 </seglistitem>
175 </segmentedlist>
176
177 </sect3>
178
179 </sect2>
180 <!-- End D-Bus Python -->
Note: See TracBrowser for help on using the repository browser.