source: archive/ptlib.xml@ f7038e3c

11.1 11.2 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f7038e3c was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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