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 "1fd609e25f101393bb7e42fbf874c174">
|
---|
10 | <!ENTITY ptlib-size "2.5 MB">
|
---|
11 | <!ENTITY ptlib-buildsize "105 MB">
|
---|
12 | <!ENTITY ptlib-time "1.0 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 | &lfs77_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-1.patch"/>
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 |
|
---|
85 | <bridgehead renderas="sect3">Ptlib Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
88 | <para role="recommended">
|
---|
89 | <xref linkend="alsa-lib"/> and
|
---|
90 | <xref linkend="openssl"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
94 | <para role="optional">
|
---|
95 | <xref linkend="cyrus-sasl"/>,
|
---|
96 | <xref linkend="lua"/>,
|
---|
97 | <xref linkend="openldap"/>,
|
---|
98 | <xref linkend="pulseaudio"/>,
|
---|
99 | <xref linkend="sdl"/>,
|
---|
100 | <xref linkend="unixodbc"/>,
|
---|
101 | <xref linkend="v4l-utils"/>,
|
---|
102 | <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>, and
|
---|
103 | <ulink url="http://www.linux1394.org/">libraw1394</ulink>,
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <para condition="html" role="usernotes">User Notes:
|
---|
107 | <ulink url="&blfs-wiki;/ptlib"/>
|
---|
108 | </para>
|
---|
109 | </sect2>
|
---|
110 |
|
---|
111 | <sect2 role="installation">
|
---|
112 | <title>Installation of Ptlib</title>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | Install <application>Ptlib</application> by running the following
|
---|
116 | commands:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen><userinput>patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-1.patch &&
|
---|
120 |
|
---|
121 | ./configure --prefix=/usr &&
|
---|
122 | make</userinput></screen>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | This package does not come with a test suite.
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen role="root"><userinput>make install &&
|
---|
133 | chmod -v 755 /usr/lib/libpt.so.&ptlib-version;</userinput></screen>
|
---|
134 |
|
---|
135 | </sect2>
|
---|
136 |
|
---|
137 | <sect2 role="content">
|
---|
138 | <title>Contents</title>
|
---|
139 |
|
---|
140 | <segmentedlist>
|
---|
141 | <segtitle>Installed Program</segtitle>
|
---|
142 | <segtitle>Installed Libraries</segtitle>
|
---|
143 | <segtitle>Installed Directories</segtitle>
|
---|
144 |
|
---|
145 | <seglistitem>
|
---|
146 | <seg>
|
---|
147 | ptlib-config
|
---|
148 | </seg>
|
---|
149 | <seg>
|
---|
150 | libpt.so and libpt_s.a
|
---|
151 | </seg>
|
---|
152 | <seg>
|
---|
153 | /usr/include/ptclib,
|
---|
154 | /usr/include/ptlib,
|
---|
155 | /usr/lib/ptlib-&ptlib-version;, and
|
---|
156 | /usr/share/ptlib
|
---|
157 | </seg>
|
---|
158 | </seglistitem>
|
---|
159 | </segmentedlist>
|
---|
160 |
|
---|
161 | <variablelist>
|
---|
162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
163 | <?dbfo list-presentation="list"?>
|
---|
164 | <?dbhtml list-presentation="table"?>
|
---|
165 |
|
---|
166 | <varlistentry id="ptlib-config">
|
---|
167 | <term><command>ptlib-config</command></term>
|
---|
168 | <listitem>
|
---|
169 | <para>
|
---|
170 | determines the compile and linker flags that should be used to
|
---|
171 | compile and link programs that use <filename class="libraryfile">libpt</filename>.
|
---|
172 | </para>
|
---|
173 | <indexterm zone="ptlib ptlib-config">
|
---|
174 | <primary sortas="b-ptlib-config">ptlib-config</primary>
|
---|
175 | </indexterm>
|
---|
176 | </listitem>
|
---|
177 | </varlistentry>
|
---|
178 |
|
---|
179 | <varlistentry id="libpt">
|
---|
180 | <term><filename class="libraryfile">libpt.so</filename></term>
|
---|
181 | <listitem>
|
---|
182 | <para>
|
---|
183 | contains the <application>Ptlib</application> API functions.
|
---|
184 | </para>
|
---|
185 | <indexterm zone="ptlib libpt">
|
---|
186 | <primary sortas="c-libpt">libpt.so</primary>
|
---|
187 | </indexterm>
|
---|
188 | </listitem>
|
---|
189 | </varlistentry>
|
---|
190 |
|
---|
191 | </variablelist>
|
---|
192 |
|
---|
193 | </sect2>
|
---|
194 |
|
---|
195 | </sect1>
|
---|