source: general/prog/dbus-python.xml@ 484f776

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 484f776 was 484f776, checked in by Xi Ruoyao <xry111@…>, 20 months ago

dbus-python: mention egg-info directory in contents

  • Property mode set to 100644
File size: 4.8 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 <!ENTITY dbus-python-egg-info "&python3-site;/dbus_python-&dbus-python-version;.egg-info">
14]>
15
16 <!-- Begin D-Bus Python -->
17 <sect2 id="dbus-python" xreflabel="D-Bus Python-&dbus-python-version;">
18 <title>D-Bus Python-&dbus-python-version;</title>
19
20 <indexterm zone="dbus-python">
21 <primary sortas="a-dbus-python">dbus-python</primary>
22 </indexterm>
23
24 <sect3 role="package">
25 <title>Introduction to D-Bus Python Module</title>
26
27 <para>
28 <application>D-Bus Python</application> provides
29 <application>Python</application> bindings to the
30 <application>D-Bus</application> API interface.
31 </para>
32
33 &lfs112_checked;
34
35 <bridgehead renderas="sect4">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&dbus-python-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&dbus-python-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &dbus-python-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &dbus-python-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &dbus-python-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &dbus-python-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect4">D-Bus Python Dependencies</bridgehead>
70
71 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="dbus"/> and
74 <xref linkend="glib2"/>
75 </para>
76
77 <bridgehead renderas="sect5">Optional</bridgehead>
78 <para role="optional">
79 <xref linkend="pygobject3"/> and
80 <ulink url="https://pypi.python.org/pypi/tap.py/">tap.py</ulink>
81 (required for some tests)
82 </para>
83
84 <bridgehead renderas="sect5">
85 Optional (Required to build the API and HTML Documentation)</bridgehead>
86 <para role="optional">
87 <xref linkend="docutils"/> and
88 <ulink url="https://www.sphinx-doc.org/en/master/">Sphinx</ulink> with
89 <ulink url="https://github.com/rtfd/sphinx_rtd_theme">sphinx_rtd_theme</ulink>
90 </para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/dbus-python"/>
94 </para>
95 </sect3>
96
97 <sect3 role="installation">
98 <title>Installation of D-Bus Python</title>
99
100 <para>
101 Build the D-Bus Python module by running the following commands:
102 </para>
103
104<screen><userinput>mkdir build &amp;&amp;
105cd build &amp;&amp;
106
107meson --prefix=/usr --buildtype=release .. &amp;&amp;
108ninja</userinput></screen>
109
110 <para>
111 To test the results, issue: <command>ninja test</command>.
112 </para>
113
114 <para>
115 Now install the module as the &root; user:
116 </para>
117
118<screen role="root"><userinput>ninja install &amp;&amp;
119cp -rv ../dbus_python.egg-info \
120 -T &dbus-python-egg-info;</userinput></screen>
121
122 </sect3>
123
124 <sect3 role="commands">
125
126 <title>Command Explanations</title>
127
128 <para>
129 <command>cp -rv ... -T ...</command>: Install the metadata of this
130 Python module so <command>pip3</command> will be able to find this
131 module and use it as a dependency building and installing other
132 modules. <parameter>-T</parameter> is used to make this command
133 behave properly in case that this module is reinstalled.
134 </para>
135
136 </sect3>
137
138 <sect3 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Libraries</segtitle>
144 <segtitle>Installed Directories</segtitle>
145
146 <seglistitem>
147 <seg>
148 None
149 </seg>
150 <seg>
151 None
152 </seg>
153 <seg>
154 &python3-site;/dbus and &dbus-python-egg-info;
155 </seg>
156 </seglistitem>
157 </segmentedlist>
158
159 </sect3>
160
161 </sect2>
Note: See TracBrowser for help on using the repository browser.