source: general/prog/dbus-python.xml@ 71b1e2d2

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 71b1e2d2 was 71b1e2d2, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Fix build instructions for dbus-python

  • Property mode set to 100644
File size: 4.2 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 "33be8a4a766e1c7c9a377b8f934ce21a">
10 <!ENTITY dbus-python-size "592 KB">
11 <!ENTITY dbus-python-buildsize "4.7 MB (with tests)" >
12 <!ENTITY dbus-python-time "less than 0.1 SBU (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 &lfs112_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="pygobject3"/> and
79 <ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
80 (required for some 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="https://www.sphinx-doc.org/en/master/">Sphinx</ulink> with
88 <ulink url="https://github.com/rtfd/sphinx_rtd_theme">sphinx_rtd_theme</ulink>
89 </para>
90
91 <para condition="html" role="usernotes">User Notes:
92 <ulink url="&blfs-wiki;/dbus-python"/>
93 </para>
94 </sect3>
95
96 <sect3 role="installation">
97 <title>Installation of D-Bus Python</title>
98
99 <para>
100 Build the D-Bus Python module by running the following commands:
101 </para>
102
103<screen><userinput>mkdir build &amp;&amp;
104cd build &amp;&amp;
105
106meson --prefix=/usr --buildtype=release .. &amp;&amp;
107ninja </userinput></screen>
108
109 <para>
110 To test the results, issue: <command>ninja test</command>.
111 </para>
112
113 <para>
114 Now install the module as the &root; user:
115 </para>
116
117<screen role="root"><userinput>ninja install</userinput></screen>
118
119 </sect3>
120
121 <sect3 role="content">
122 <title>Contents</title>
123
124 <segmentedlist>
125 <segtitle>Installed Programs</segtitle>
126 <segtitle>Installed Libraries</segtitle>
127 <segtitle>Installed Directory</segtitle>
128
129 <seglistitem>
130 <seg>
131 None
132 </seg>
133 <seg>
134 None
135 </seg>
136 <seg>
137 /usr/lib/python&python3-majorver;/site-packages/dbus
138 </seg>
139 </seglistitem>
140 </segmentedlist>
141
142 </sect3>
143
144 </sect2>
Note: See TracBrowser for help on using the repository browser.