source: general/genlib/ptlib.xml@ 94b42903

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 94b42903 was 94b42903, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Archive openssl-1.1.x. Moved to LFS.
Update to v4l-utils-1.14.2.
Update to vlc-3.0.0.

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

  • Property mode set to 100644
File size: 5.9 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 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Ptlib-&ptlib-version;</title>
24
25 <indexterm zone="ptlib">
26 <primary sortas="a-Ptlib">Ptlib</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Ptlib</title>
31
32 <para>
33 The <application>Ptlib</application> (Portable Tools Library) package
34 contains a class library that has its genesis many years ago as PWLib
35 (portable Windows Library), a method to produce applications to run on
36 various platforms.
37 </para>
38
39 &lfs81_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&ptlib-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&ptlib-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &ptlib-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &ptlib-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &ptlib-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &ptlib-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing="compact">
77 <listitem>
78 <para>
79 Required patch:
80 <ulink url="&patch-root;/ptlib-&ptlib-version;-bison_fixes-2.patch"/>
81 </para>
82 </listitem>
83 <listitem>
84 <para>
85 Required patch:
86 <ulink url="&patch-root;/ptlib-&ptlib-version;-openssl-1.1.0-1.patch"/>
87 </para>
88 </listitem>
89 </itemizedlist>
90
91 <bridgehead renderas="sect3">Ptlib Dependencies</bridgehead>
92
93 <bridgehead renderas="sect4">Recommended</bridgehead>
94 <para role="recommended">
95 <xref linkend="alsa-lib"/>
96 </para>
97
98 <bridgehead renderas="sect4">Optional</bridgehead>
99 <para role="optional">
100 <xref linkend="cyrus-sasl"/>,
101 <xref linkend="lua"/>,
102 <xref linkend="openldap"/>,
103 <xref linkend="pulseaudio"/>,
104 <xref linkend="sdl"/>,
105 <xref linkend="unixodbc"/>,
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:
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 Install <application>Ptlib</application> by running the following
130 commands:
131 </para>
132
133<screen><userinput>patch -Np1 -i ../ptlib-&ptlib-version;-openssl-1.1.0-1.patch &amp;&amp;
134patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-2.patch &amp;&amp;
135
136./configure --prefix=/usr &amp;&amp;
137make</userinput></screen>
138
139 <para>
140 This package does not come with a test suite.
141 </para>
142
143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
146
147<screen role="root"><userinput>make install &amp;&amp;
148chmod -v 755 /usr/lib/libpt.so.&ptlib-version;</userinput></screen>
149
150 </sect2>
151
152 <sect2 role="content">
153 <title>Contents</title>
154
155 <segmentedlist>
156 <segtitle>Installed Program</segtitle>
157 <segtitle>Installed Libraries</segtitle>
158 <segtitle>Installed Directories</segtitle>
159
160 <seglistitem>
161 <seg>
162 ptlib-config
163 </seg>
164 <seg>
165 libpt.so and libpt_s.a
166 </seg>
167 <seg>
168 /usr/include/ptclib,
169 /usr/include/ptlib,
170 /usr/lib/ptlib-&ptlib-version;, and
171 /usr/share/ptlib
172 </seg>
173 </seglistitem>
174 </segmentedlist>
175
176 <variablelist>
177 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
178 <?dbfo list-presentation="list"?>
179 <?dbhtml list-presentation="table"?>
180
181 <varlistentry id="ptlib-config">
182 <term><command>ptlib-config</command></term>
183 <listitem>
184 <para>
185 determines the compile and linker flags that should be used to
186 compile and link programs that use <filename class="libraryfile">libpt</filename>.
187 </para>
188 <indexterm zone="ptlib ptlib-config">
189 <primary sortas="b-ptlib-config">ptlib-config</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="libpt">
195 <term><filename class="libraryfile">libpt.so</filename></term>
196 <listitem>
197 <para>
198 contains the <application>Ptlib</application> API functions.
199 </para>
200 <indexterm zone="ptlib libpt">
201 <primary sortas="c-libpt">libpt.so</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 </variablelist>
207
208 </sect2>
209
210</sect1>
Note: See TracBrowser for help on using the repository browser.