source: general/prog/libxml2py2.xml@ 49ae403f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 49ae403f was 177d84bd, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to libxslt-1.1.33.
Update to libxml2-2.9.9.
Update to audacious{,-plugins}-3.10.1.

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

  • Property mode set to 100644
File size: 5.7 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 <!-- The download, md5sum, size entities need to match those used in libxml2.xml -->
8 <!ENTITY libxml2py2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
9 <!ENTITY libxml2py2-download-ftp "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
10 <!ENTITY libxml2py2-md5sum "c04a5a0a042eaa157e8e8c9eabe76bd6">
11 <!ENTITY libxml2py2-size "5.2 MB">
12 <!ENTITY libxml2py2-buildsize "54 MB (2.3 MB installed)">
13 <!ENTITY libxml2py2-time "less than 0.1 SBU">
14]>
15
16 <!-- Begin libxml2py2 -->
17 <sect2 id="libxml2py2" xreflabel="libxml2-&libxml2-version; (for Python2)">
18
19 <title>libxml2-&libxml2-version; (for its Python2 module)</title>
20
21 <indexterm zone="libxml2py2">
22 <primary sortas="a-libxml2py2">libxml2</primary>
23 </indexterm>
24
25 <sect3 role="package">
26 <title>Introduction to the libxml2 Python2 module</title>
27
28 <para>
29 These instructions provide the <application>Python2</application>
30 bindings for <application>libxml2</application>: the
31 <application>Python3</application> bindings are built as part of <xref
32 linkend="libxml2"/> and most packages in the book do not use these
33 bindings for the older <application>Python2</application>.
34 </para>
35
36 <para>
37 By building these bindings after <xref linkend="libxml2"/> has
38 been installed, there is no need to rebuild the time-consuming (if all
39 dependencies are used) main part of that package.
40 </para>
41
42 &lfs83_checked;
43
44 <bridgehead renderas="sect4">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&libxml2py2-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&libxml2py2-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &libxml2py2-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &libxml2py2-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &libxml2py2-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &libxml2py2-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect4">libxml2 (Python2) Dependencies</bridgehead>
79
80 <bridgehead renderas="sect5">Required</bridgehead>
81 <para role="required">
82 <xref linkend="libxml2"/> and
83 <xref linkend="python2"/>
84 </para>
85
86 <para condition="html" role="usernotes">
87 User Notes: <ulink url="&blfs-wiki;/libxml2"/>
88 </para>
89 </sect3>
90
91 <sect3 role="installation">
92 <title>Installation of libxml2 Python2 module</title>
93
94<!-- Editors note: Use \-\-root= instead of DESTDIR= when updating. -->
95
96 <para>
97 To build the <application>Python 2</application> module, run:
98 </para>
99
100<screen><userinput>cd python &amp;&amp;
101python setup.py build</userinput></screen>
102
103 <para>
104 To install the <application>Python 2</application> module,
105 as the
106 <systemitem class="username">root</systemitem> user run:
107 </para>
108
109<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
110
111 </sect3>
112
113 <sect3 role="content">
114 <title>Contents</title>
115
116 <segmentedlist>
117 <segtitle>Installed Programs</segtitle>
118 <segtitle>Installed Libraries</segtitle>
119 <segtitle>Installed Directories</segtitle>
120
121 <seglistitem>
122 <seg>
123 drv_libxml2.py, libxml2.py
124 </seg>
125 <seg>
126 libxml2mod.so
127 </seg>
128 <seg>
129 None
130 </seg>
131 </seglistitem>
132 </segmentedlist>
133
134 <variablelist>
135 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
136 <?dbfo list-presentation="list"?>
137 <?dbhtml list-presentation="table"?>
138
139 <varlistentry id="drv_libxml2.py2">
140 <term><command>drv_libxml2.py</command></term>
141 <listitem>
142 <para>
143 is a SAX <application>Python2</application> driver for libxml2.
144 </para>
145 <indexterm zone="libxml2py2 drv_libxml2.py2">
146 <primary sortas="b-drv_libxml2.py2">drv_libxml2.py for Python2</primary>
147 </indexterm>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry id="libxml2.py2">
152 <term><command>libxml2.py</command></term>
153 <listitem>
154 <para>
155 is the <application>Python2</application> binding for libxml2.
156 </para>
157 <indexterm zone="libxml2py2 libxml2.py2">
158 <primary sortas="b-libxml2.py2">libxml2.py for Python2</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="libxml2mod2">
164 <term><filename class="libraryfile">libxml2mod.so</filename></term>
165 <listitem>
166 <para>
167 is the interface for <application>Python2</application>
168 to use <filename class="libraryfile">libxml2.so</filename>.
169 </para>
170 <indexterm zone="libxml2py2 libxml2mod2">
171 <primary sortas="c-libxml2mod">libxml2mod.so</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 </variablelist>
177
178 </sect3>
179
180 </sect2>
181 <!--End lbxml2py2 -->
Note: See TracBrowser for help on using the repository browser.