source: general/genlib/ptlib.xml@ 07584d8

10.0 10.1 11.0 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 ken/refactor-virt krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 07584d8 was 07584d8, checked in by Krejzi <krejzi@…>, 8 years ago

added hardware accelerated video decoding chapter and other misc fixes

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

  • Property mode set to 100644
File size: 5.3 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 "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 &lfs73_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">Required</bridgehead>
88 <para role="required">
89 <xref linkend="pkgconfig"/>
90 </para>
91
92 <bridgehead renderas="sect4">Recommended</bridgehead>
93 <para role="recommended">
94 <xref linkend="alsa-lib"/>,
95 <xref linkend="expat"/> and
96 <xref linkend="openssl"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref linkend="cyrus-sasl"/>,
102 <ulink url="http://sourceforge.net/projects/libdc1394/">libdc1394</ulink>,
103 <ulink url="http://www.linux1394.org/">libraw1394</ulink>,
104 <xref linkend="lua"/>,
105 <xref linkend="openldap"/>,
106 <xref linkend="pulseaudio"/>,
107 <xref linkend="sdl"/>,
108 <xref linkend="unixodbc"/> and
109 <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>
110 </para>
111
112 <para condition="html" role="usernotes">User Notes:
113 <ulink url="&blfs-wiki;/ptlib"/>
114 </para>
115 </sect2>
116
117 <sect2 role="installation">
118 <title>Installation of Ptlib</title>
119
120 <para>
121 Install <application>Ptlib</application> by running the following
122 commands:
123 </para>
124
125<screen><userinput><!-- sed -i -e "/SDWORD/s:^://:" \
126 -e "/UDWORD/s:^://:" include/ptlib/unix/ptlib/contain.h &amp;&amp;
127
128What does this do anyways? Builds fine without it.
129
130-->patch -Np1 -i ../ptlib-&ptlib-version;-bison_fixes-1.patch &amp;&amp;
131./configure --prefix=/usr &amp;&amp;
132make</userinput></screen>
133
134 <para>
135 This package does not come with a test suite.
136 </para>
137
138 <para>
139 Now, as the <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>make install &amp;&amp;
143chmod -v 755 /usr/lib/libpt.so.&ptlib-version;</userinput></screen>
144
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Program</segtitle>
152 <segtitle>Installed Libraries</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg>
157 ptlib-config
158 </seg>
159 <seg>
160 libpt.so and libpt_s.a
161 </seg>
162 <seg>
163 /usr/include/ptclib,
164 /usr/include/ptlib,
165 /usr/lib/ptlib-&ptlib-version; and
166 /usr/share/ptlib
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="libpt">
177 <term><filename class="libraryfile">libpt.so</filename></term>
178 <listitem>
179 <para>
180 contains the <application>Ptlib</application> API functions.
181 </para>
182 <indexterm zone="ptlib libpt">
183 <primary sortas="c-libpt">libpt.so</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 </variablelist>
189
190 </sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.