source: general/prog/dbus-python.xml@ 60ddbaf

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 60ddbaf was 60ddbaf, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Remove ninja, libffi, and python3 as dependencies
for many packages as they are now a part of LFS.

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

  • Property mode set to 100644
File size: 5.4 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 "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 &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-glib"/>
73 </para>
74
75 <bridgehead renderas="sect5">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="python2"/>
78 </para>
79
80 <bridgehead renderas="sect5">
81 Optional (Required to build the API and HTML Documentation)
82 </bridgehead>
83 <para role="optional">
84 <ulink url="http://epydoc.sourceforge.net/">Epydoc</ulink> and
85 <ulink url="http://docutils.sourceforge.net/">Docutils</ulink>
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/dbus-python"/>
90 </para>
91 </sect3>
92
93 <sect3 role="installation">
94 <title>Installation of D-Bus Python</title>
95
96 <note>
97 <para>
98 Both <application>Python 2</application> and
99 <application>Python 3</application> modules can
100 be built and installed without any conflicts.
101 </para>
102 </note>
103
104 <para>
105 To build <application>D-Bus Python</application> as the
106 <application>Python 2</application> module, run the
107 following commands:
108 </para>
109
110<screen><userinput>mkdir python2 &amp;&amp;
111pushd python2 &amp;&amp;
112PYTHON=/usr/bin/python \
113../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
114make &amp;&amp;
115popd</userinput></screen>
116
117 <para>
118 To test the results, issue: <command>make -C python2 check</command>.
119 </para>
120
121 <para>
122 To build <application>D-Bus Python</application> as the
123 <application>Python 3</application> module, run the
124 following commands:
125 </para>
126
127<screen><userinput>mkdir python3 &amp;&amp;
128pushd python3 &amp;&amp;
129PYTHON=/usr/bin/python3 \
130../configure --prefix=/usr --docdir=/usr/share/doc/dbus-python-&dbus-python-version; &amp;&amp;
131make &amp;&amp;
132popd</userinput></screen>
133
134 <para>
135 To test the results, issue: <command>make -C python3 check</command>.
136 </para>
137
138 <para>
139 To install the <application>Python 2</application> module,
140 run the following command as the
141 <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>make -C python2 install</userinput></screen>
145
146 <para>
147 To install the <application>Python 3</application> module,
148 run the following command as the
149 <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make -C python3 install</userinput></screen>
153
154 </sect3>
155
156 <sect3 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Libraries</segtitle>
162 <segtitle>Installed Directories</segtitle>
163
164 <seglistitem>
165 <seg>
166 None
167 </seg>
168 <seg>
169 None
170 </seg>
171 <seg>
172 /usr/share/doc/dbus-python-&dbus-python-version; and
173 /usr/lib/python&python2-majorver;/site-packages/dbus and/or
174 /usr/lib/python&python3-majorver;/site-packages/dbus
175 </seg>
176 </seglistitem>
177 </segmentedlist>
178
179 </sect3>
180
181 </sect2>
182 <!-- End D-Bus Python -->
Note: See TracBrowser for help on using the repository browser.