[916392a] | 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 |
|
---|
[6eede81] | 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">
|
---|
[ffd1fcc] | 9 | <!ENTITY ptlib-md5sum "1fd609e25f101393bb7e42fbf874c174">
|
---|
[0ea00d5] | 10 | <!ENTITY ptlib-size "2.5 MB">
|
---|
| 11 | <!ENTITY ptlib-buildsize "105 MB">
|
---|
[6eede81] | 12 | <!ENTITY ptlib-time "1.0 SBU">
|
---|
[916392a] | 13 | ]>
|
---|
| 14 |
|
---|
[880c568] | 15 | <sect1 id="ptlib" xreflabel="Ptlib-&ptlib-version;">
|
---|
[916392a] | 16 | <?dbhtml filename="ptlib.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[880c568] | 23 | <title>Ptlib-&ptlib-version;</title>
|
---|
[916392a] | 24 |
|
---|
| 25 | <indexterm zone="ptlib">
|
---|
[0ea00d5] | 26 | <primary sortas="a-Ptlib">Ptlib</primary>
|
---|
[916392a] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[0ea00d5] | 30 | <title>Introduction to Ptlib</title>
|
---|
[916392a] | 31 |
|
---|
[0ea00d5] | 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>
|
---|
[916392a] | 38 |
|
---|
[6de7590] | 39 | &lfs74_checked;
|
---|
[414392c2] | 40 |
|
---|
[916392a] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[0ea00d5] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&ptlib-download-http;"/>
|
---|
| 46 | </para>
|
---|
[916392a] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[0ea00d5] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&ptlib-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[916392a] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[0ea00d5] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &ptlib-md5sum;
|
---|
| 56 | </para>
|
---|
[916392a] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[0ea00d5] | 59 | <para>
|
---|
| 60 | Download size: &ptlib-size;
|
---|
| 61 | </para>
|
---|
[916392a] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[0ea00d5] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &ptlib-buildsize;
|
---|
| 66 | </para>
|
---|
[916392a] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[0ea00d5] | 69 | <para>
|
---|
| 70 | Estimated build time: &ptlib-time;
|
---|
| 71 | </para>
|
---|
[916392a] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[07584d8] | 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 |
|
---|
[0ea00d5] | 85 | <bridgehead renderas="sect3">Ptlib Dependencies</bridgehead>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 88 | <para role="recommended">
|
---|
| 89 | <xref linkend="alsa-lib"/>,
|
---|
[6de7590] | 90 | <xref linkend="expat"/>, and
|
---|
[0ea00d5] | 91 | <xref linkend="openssl"/>
|
---|
| 92 | </para>
|
---|
[916392a] | 93 |
|
---|
| 94 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[0ea00d5] | 95 | <para role="optional">
|
---|
| 96 | <xref linkend="cyrus-sasl"/>,
|
---|
| 97 | <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
|
---|
| 98 | <ulink url="http://www.linux1394.org/">libraw1394</ulink>,
|
---|
[c1a0390] | 99 | <xref linkend="lua"/>,
|
---|
[0ea00d5] | 100 | <xref linkend="openldap"/>,
|
---|
| 101 | <xref linkend="pulseaudio"/>,
|
---|
| 102 | <xref linkend="sdl"/>,
|
---|
[6de7590] | 103 | <xref linkend="unixodbc"/>, and
|
---|
[0ea00d5] | 104 | <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>
|
---|
| 105 | </para>
|
---|
[916392a] | 106 |
|
---|
| 107 | <para condition="html" role="usernotes">User Notes:
|
---|
[0ea00d5] | 108 | <ulink url="&blfs-wiki;/ptlib"/>
|
---|
| 109 | </para>
|
---|
[916392a] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="installation">
|
---|
[0ea00d5] | 113 | <title>Installation of Ptlib</title>
|
---|
[916392a] | 114 |
|
---|
[0ea00d5] | 115 | <para>
|
---|
| 116 | Install <application>Ptlib</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
[edddb653] | 119 |
|
---|
[6de7590] | 120 | <screen><userinput>patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-1.patch &&
|
---|
[f0c1bb8] | 121 |
|
---|
| 122 | ./configure --prefix=/usr &&
|
---|
[916392a] | 123 | make</userinput></screen>
|
---|
| 124 |
|
---|
[0ea00d5] | 125 | <para>
|
---|
| 126 | This package does not come with a test suite.
|
---|
| 127 | </para>
|
---|
[916392a] | 128 |
|
---|
[0ea00d5] | 129 | <para>
|
---|
| 130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
[916392a] | 132 |
|
---|
[ffd1fcc] | 133 | <screen role="root"><userinput>make install &&
|
---|
| 134 | chmod -v 755 /usr/lib/libpt.so.&ptlib-version;</userinput></screen>
|
---|
[916392a] | 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="content">
|
---|
| 139 | <title>Contents</title>
|
---|
| 140 |
|
---|
| 141 | <segmentedlist>
|
---|
[0ea00d5] | 142 | <segtitle>Installed Program</segtitle>
|
---|
| 143 | <segtitle>Installed Libraries</segtitle>
|
---|
[916392a] | 144 | <segtitle>Installed Directories</segtitle>
|
---|
| 145 |
|
---|
| 146 | <seglistitem>
|
---|
[0ea00d5] | 147 | <seg>
|
---|
| 148 | ptlib-config
|
---|
| 149 | </seg>
|
---|
| 150 | <seg>
|
---|
| 151 | libpt.so and libpt_s.a
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | /usr/include/ptclib,
|
---|
| 155 | /usr/include/ptlib,
|
---|
[6de7590] | 156 | /usr/lib/ptlib-&ptlib-version;, and
|
---|
[0ea00d5] | 157 | /usr/share/ptlib
|
---|
| 158 | </seg>
|
---|
[916392a] | 159 | </seglistitem>
|
---|
| 160 | </segmentedlist>
|
---|
| 161 |
|
---|
| 162 | <variablelist>
|
---|
| 163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 164 | <?dbfo list-presentation="list"?>
|
---|
| 165 | <?dbhtml list-presentation="table"?>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="libpt">
|
---|
[0ea00d5] | 168 | <term><filename class="libraryfile">libpt.so</filename></term>
|
---|
[916392a] | 169 | <listitem>
|
---|
[0ea00d5] | 170 | <para>
|
---|
| 171 | contains the <application>Ptlib</application> API functions.
|
---|
| 172 | </para>
|
---|
[916392a] | 173 | <indexterm zone="ptlib libpt">
|
---|
[0ea00d5] | 174 | <primary sortas="c-libpt">libpt.so</primary>
|
---|
[916392a] | 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 |
|
---|
| 179 | </variablelist>
|
---|
| 180 |
|
---|
| 181 | </sect2>
|
---|
| 182 |
|
---|
| 183 | </sect1>
|
---|