source: archive/ptlib.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 6.5 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 ptlib-download-http "&gnome-download-http;/ptlib/2.10/ptlib-&ptlib-version;.tar.xz">
8 <!ENTITY ptlib-download-ftp "&gnome-download-ftp;/ptlib/2.10/ptlib-&ptlib-version;.tar.xz">
9 <!ENTITY ptlib-md5sum "3ffdf89170dbfa6d29a015ef8741a4e4">
10 <!ENTITY ptlib-size "2.4 MB">
11 <!ENTITY ptlib-buildsize "81 MB">
12 <!ENTITY ptlib-time "0.9 SBU">
13]>
14
15<sect1 id="ptlib" xreflabel="Ptlib-&ptlib-version;">
16 <?dbhtml filename="ptlib.html"?>
17
18
19 <title>Ptlib-&ptlib-version;</title>
20
21 <indexterm zone="ptlib">
22 <primary sortas="a-Ptlib">Ptlib</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Ptlib</title>
27
28 <para>
29 The <application>Ptlib</application> (Portable Tools Library) package
30 contains a class library that has its genesis many years ago as PWLib
31 (portable Windows Library), a method to produce applications to run on
32 various platforms.
33 </para>
34
35 &lfs91_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&ptlib-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&ptlib-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &ptlib-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &ptlib-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &ptlib-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &ptlib-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
72 <itemizedlist spacing="compact">
73 <listitem>
74 <para>
75 Required patch:
76 <ulink url="&patch-root;/ptlib-&ptlib-version;-bison_fixes-2.patch"/>
77 </para>
78 </listitem>
79 <listitem>
80 <para>
81 Required patch:
82 <ulink url="&patch-root;/ptlib-&ptlib-version;-openssl-1.1.0-1.patch"/>
83 </para>
84 </listitem>
85 </itemizedlist>
86
87 <bridgehead renderas="sect3">Ptlib Dependencies</bridgehead>
88
89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref linkend="alsa-lib"/>
92 </para>
93
94 <bridgehead renderas="sect4">Optional</bridgehead>
95 <para role="optional">
96 <xref linkend="cyrus-sasl"/>,
97 <xref linkend="lua"/>,
98 <xref linkend="openldap"/>,
99 <xref linkend="pulseaudio"/>,
100 <xref linkend="sdl"/>,
101 <xref linkend="unixodbc"/> (currently broken, see <emphasis>Command
102 Explanations</emphasis> below),
103 <xref linkend="v4l-utils"/>,
104 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>, and
105 <ulink url="http://www.linux1394.org/">libraw1394</ulink>,
106 </para>
107
108 <para condition="html" role="usernotes">User Notes:
109 <ulink url="&blfs-wiki;/ptlib"/>
110 </para>
111 </sect2>
112
113 <sect2 role="installation">
114 <title>Installation of Ptlib</title>
115
116 <para>
117 Fix a build issue with gcc-7.1.0 and later:
118 </para>
119
120<screen><userinput>sed -i "s/sbin\.Right(1) == '\\\\0')/strlen(sbin\.Right(1)) == 0)/" \
121 src/ptclib/podbc.cxx &amp;&amp;
122
123sed -i '/\/ioctl.h/a#include &lt;sys/uio.h&gt;' src/ptlib/unix/channel.cxx</userinput></screen>
124
125 <para>
126 Fix an issue with make-4.3 and later (breaks the build with previous
127 versions of make):
128 </para>
129
130<screen><userinput>sed 's/\\#/#/' -i make/common.mak</userinput></screen>
131
132 <para>
133 Install <application>Ptlib</application> by running the following
134 commands:
135 </para>
136
137<screen><userinput>patch -Np1 -i ../ptlib-&ptlib-version;-openssl-1.1.0-1.patch &amp;&amp;
138patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-2.patch &amp;&amp;
139
140./configure --prefix=/usr \
141 --disable-odbc &amp;&amp;
142make</userinput></screen>
143
144 <para>
145 This package does not come with a test suite.
146 </para>
147
148 <para>
149 Now, as the <systemitem class="username">root</systemitem> user:
150 </para>
151
152<screen role="root"><userinput>make install &amp;&amp;
153chmod -v 755 /usr/lib/libpt.so.&ptlib-version;</userinput></screen>
154
155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
160 <para>
161 <parameter>--disable-odbc</parameter>: This parameter prevents the use
162 of <xref linkend="unixodbc"/>, whose libraries conflict with
163 <application>ptlib</application>. It is not needed if
164 <xref linkend="unixodbc"/> is not installed.
165 </para>
166
167 </sect2>
168
169 <sect2 role="content">
170 <title>Contents</title>
171
172 <segmentedlist>
173 <segtitle>Installed Program</segtitle>
174 <segtitle>Installed Libraries</segtitle>
175 <segtitle>Installed Directories</segtitle>
176
177 <seglistitem>
178 <seg>
179 ptlib-config
180 </seg>
181 <seg>
182 libpt.so and libpt_s.a
183 </seg>
184 <seg>
185 /usr/include/ptclib,
186 /usr/include/ptlib,
187 /usr/lib/ptlib-&ptlib-version;, and
188 /usr/share/ptlib
189 </seg>
190 </seglistitem>
191 </segmentedlist>
192
193 <variablelist>
194 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
195 <?dbfo list-presentation="list"?>
196 <?dbhtml list-presentation="table"?>
197
198 <varlistentry id="ptlib-config">
199 <term><command>ptlib-config</command></term>
200 <listitem>
201 <para>
202 determines the compile and linker flags that should be used to
203 compile and link programs that use <filename class="libraryfile">libpt</filename>.
204 </para>
205 <indexterm zone="ptlib ptlib-config">
206 <primary sortas="b-ptlib-config">ptlib-config</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libpt">
212 <term><filename class="libraryfile">libpt.so</filename></term>
213 <listitem>
214 <para>
215 contains the <application>Ptlib</application> API functions.
216 </para>
217 <indexterm zone="ptlib libpt">
218 <primary sortas="c-libpt">libpt.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 </variablelist>
224
225 </sect2>
226
227</sect1>
Note: See TracBrowser for help on using the repository browser.