[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 |
|
---|
[0ea00d5] | 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 |
|
---|
[0ea00d5] | 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 |
|
---|
[edddb653] | 39 | &lfs72_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 |
|
---|
[0ea00d5] | 75 | <bridgehead renderas="sect3">Ptlib Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
| 79 | <xref linkend="alsa-lib"/>,
|
---|
| 80 | <xref linkend="expat"/> and
|
---|
| 81 | <xref linkend="openssl"/>
|
---|
| 82 | </para>
|
---|
[916392a] | 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[0ea00d5] | 85 | <para role="optional">
|
---|
| 86 | <xref linkend="cyrus-sasl"/>,
|
---|
| 87 | <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
|
---|
| 88 | <ulink url="http://www.linux1394.org/">libraw1394</ulink>,
|
---|
| 89 | <ulink url="http://www.lua.org/">Lua</ulink>,
|
---|
| 90 | <xref linkend="openldap"/>,
|
---|
| 91 | <xref linkend="pulseaudio"/>,
|
---|
| 92 | <xref linkend="sdl"/>,
|
---|
| 93 | <xref linkend="unixodbc"/> and
|
---|
| 94 | <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>
|
---|
| 95 | </para>
|
---|
[916392a] | 96 |
|
---|
| 97 | <para condition="html" role="usernotes">User Notes:
|
---|
[0ea00d5] | 98 | <ulink url="&blfs-wiki;/ptlib"/>
|
---|
| 99 | </para>
|
---|
[916392a] | 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="installation">
|
---|
[0ea00d5] | 103 | <title>Installation of Ptlib</title>
|
---|
[916392a] | 104 |
|
---|
[0ea00d5] | 105 | <para>
|
---|
| 106 | Install <application>Ptlib</application> by running the following
|
---|
| 107 | commands:
|
---|
| 108 | </para>
|
---|
[edddb653] | 109 |
|
---|
[0ea00d5] | 110 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[916392a] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
[0ea00d5] | 113 | <para>
|
---|
| 114 | This package does not come with a test suite.
|
---|
| 115 | </para>
|
---|
[916392a] | 116 |
|
---|
[0ea00d5] | 117 | <para>
|
---|
| 118 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
[916392a] | 120 |
|
---|
[ffd1fcc] | 121 | <screen role="root"><userinput>make install &&
|
---|
| 122 | chmod -v 755 /usr/lib/libpt.so.&ptlib-version;</userinput></screen>
|
---|
[916392a] | 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
[0ea00d5] | 130 | <segtitle>Installed Program</segtitle>
|
---|
| 131 | <segtitle>Installed Libraries</segtitle>
|
---|
[916392a] | 132 | <segtitle>Installed Directories</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
[0ea00d5] | 135 | <seg>
|
---|
| 136 | ptlib-config
|
---|
| 137 | </seg>
|
---|
| 138 | <seg>
|
---|
| 139 | libpt.so and libpt_s.a
|
---|
| 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | /usr/include/ptclib,
|
---|
| 143 | /usr/include/ptlib,
|
---|
| 144 | /usr/lib/ptlib-&ptlib-version; and
|
---|
| 145 | /usr/share/ptlib
|
---|
| 146 | </seg>
|
---|
[916392a] | 147 | </seglistitem>
|
---|
| 148 | </segmentedlist>
|
---|
| 149 |
|
---|
| 150 | <variablelist>
|
---|
| 151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 152 | <?dbfo list-presentation="list"?>
|
---|
| 153 | <?dbhtml list-presentation="table"?>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="libpt">
|
---|
[0ea00d5] | 156 | <term><filename class="libraryfile">libpt.so</filename></term>
|
---|
[916392a] | 157 | <listitem>
|
---|
[0ea00d5] | 158 | <para>
|
---|
| 159 | contains the <application>Ptlib</application> API functions.
|
---|
| 160 | </para>
|
---|
[916392a] | 161 | <indexterm zone="ptlib libpt">
|
---|
[0ea00d5] | 162 | <primary sortas="c-libpt">libpt.so</primary>
|
---|
[916392a] | 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | </variablelist>
|
---|
| 168 |
|
---|
| 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | </sect1>
|
---|