[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 |
|
---|
[059a1a5c] | 39 | &lfs77_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">
|
---|
[56605b9] | 89 | <xref linkend="alsa-lib"/> and
|
---|
[0ea00d5] | 90 | <xref linkend="openssl"/>
|
---|
| 91 | </para>
|
---|
[916392a] | 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[0ea00d5] | 94 | <para role="optional">
|
---|
| 95 | <xref linkend="cyrus-sasl"/>,
|
---|
[c1a0390] | 96 | <xref linkend="lua"/>,
|
---|
[0ea00d5] | 97 | <xref linkend="openldap"/>,
|
---|
| 98 | <xref linkend="pulseaudio"/>,
|
---|
| 99 | <xref linkend="sdl"/>,
|
---|
[80dbc4c8] | 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>,
|
---|
[0ea00d5] | 104 | </para>
|
---|
[916392a] | 105 |
|
---|
| 106 | <para condition="html" role="usernotes">User Notes:
|
---|
[0ea00d5] | 107 | <ulink url="&blfs-wiki;/ptlib"/>
|
---|
| 108 | </para>
|
---|
[916392a] | 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
[0ea00d5] | 112 | <title>Installation of Ptlib</title>
|
---|
[916392a] | 113 |
|
---|
[0ea00d5] | 114 | <para>
|
---|
| 115 | Install <application>Ptlib</application> by running the following
|
---|
| 116 | commands:
|
---|
| 117 | </para>
|
---|
[edddb653] | 118 |
|
---|
[6de7590] | 119 | <screen><userinput>patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-1.patch &&
|
---|
[f0c1bb8] | 120 |
|
---|
| 121 | ./configure --prefix=/usr &&
|
---|
[916392a] | 122 | make</userinput></screen>
|
---|
| 123 |
|
---|
[0ea00d5] | 124 | <para>
|
---|
| 125 | This package does not come with a test suite.
|
---|
| 126 | </para>
|
---|
[916392a] | 127 |
|
---|
[0ea00d5] | 128 | <para>
|
---|
| 129 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 130 | </para>
|
---|
[916392a] | 131 |
|
---|
[ffd1fcc] | 132 | <screen role="root"><userinput>make install &&
|
---|
| 133 | chmod -v 755 /usr/lib/libpt.so.&ptlib-version;</userinput></screen>
|
---|
[916392a] | 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2 role="content">
|
---|
| 138 | <title>Contents</title>
|
---|
| 139 |
|
---|
| 140 | <segmentedlist>
|
---|
[0ea00d5] | 141 | <segtitle>Installed Program</segtitle>
|
---|
| 142 | <segtitle>Installed Libraries</segtitle>
|
---|
[916392a] | 143 | <segtitle>Installed Directories</segtitle>
|
---|
| 144 |
|
---|
| 145 | <seglistitem>
|
---|
[0ea00d5] | 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,
|
---|
[6de7590] | 155 | /usr/lib/ptlib-&ptlib-version;, and
|
---|
[0ea00d5] | 156 | /usr/share/ptlib
|
---|
| 157 | </seg>
|
---|
[916392a] | 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 |
|
---|
[e23d8fcb] | 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 |
|
---|
[916392a] | 179 | <varlistentry id="libpt">
|
---|
[0ea00d5] | 180 | <term><filename class="libraryfile">libpt.so</filename></term>
|
---|
[916392a] | 181 | <listitem>
|
---|
[0ea00d5] | 182 | <para>
|
---|
| 183 | contains the <application>Ptlib</application> API functions.
|
---|
| 184 | </para>
|
---|
[916392a] | 185 | <indexterm zone="ptlib libpt">
|
---|
[0ea00d5] | 186 | <primary sortas="c-libpt">libpt.so</primary>
|
---|
[916392a] | 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
| 191 | </variablelist>
|
---|
| 192 |
|
---|
| 193 | </sect2>
|
---|
| 194 |
|
---|
| 195 | </sect1>
|
---|