source: archive/opal.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 5.9 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 opal-download-http "&gnome-download-http;/opal/3.10/opal-&opal-version;.tar.xz">
8 <!ENTITY opal-download-ftp "&gnome-download-ftp;/opal/3.10/opal-&opal-version;.tar.xz">
9 <!ENTITY opal-md5sum "6efa1b4c5e0ad6460019b4c6df0898d7">
10 <!ENTITY opal-size "5.7 MB">
11 <!ENTITY opal-buildsize "305 MB">
12 <!ENTITY opal-time "2.0 SBU">
13]>
14
15<sect1 id="opal" xreflabel="Opal-&opal-version;">
16 <?dbhtml filename="opal.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Opal-&opal-version;</title>
23
24 <indexterm zone="opal">
25 <primary sortas="a-Opal">Opal</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Opal</title>
30
31 <para>
32 The <application>Opal</application> package contains a C++ class library for
33 normalising the numerous telephony protocols into a single integrated call
34 model.
35 </para>
36
37 &lfs82_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&opal-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&opal-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &opal-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &opal-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &opal-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &opal-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>
77 Required patch:
78 <ulink url="&patch-root;/opal-&opal-version;-ffmpeg2-1.patch"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">Opal Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="ptlib"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <ulink url="http://www.celt-codec.org/">Celt</ulink>,
93 <xref linkend="ffmpeg"/>,
94 <ulink url="http://www.quut.com/gsm/">GSM</ulink>,
95 <ulink url="http://www.isdn4linux.de/">ISDN4Linux</ulink>,
96 <xref linkend="libtheora"/>,
97 <xref linkend="openjdk"/>,
98 <xref linkend="ruby"/>,
99 <ulink url="http://www.soft-switch.org/">Spandsp</ulink>,
100 <xref linkend="speex"/>, and
101 <xref linkend="x264"/>
102 </para>
103
104 <para condition="html" role="usernotes">User Notes:
105 <ulink url="&blfs-wiki;/opal"/>
106 </para>
107 </sect2>
108
109 <sect2 role="installation">
110 <title>Installation of Opal</title>
111
112 <para>Fix a build issue with <application>GCC-7.1</application>:</para>
113
114<screen><userinput>sed -i 's| abs(| std::fabs(|g' plugins/video/common/mpi.cxx</userinput></screen>
115
116 <para>Install <application>Opal</application> by running the following
117 commands:</para>
118
119<screen><userinput>patch -Np1 -i ../opal-&opal-version;-ffmpeg2-1.patch &amp;&amp;
120
121sed -e 's/CODEC_ID/AV_&amp;/' \
122 -e 's/PIX_FMT_/AV_&amp;/' \
123 -i plugins/video/H.263-1998/h263-1998.cxx \
124 plugins/video/common/dyna.cxx \
125 plugins/video/H.264/h264-x264.cxx \
126 plugins/video/MPEG4-ffmpeg/mpeg4.cxx &amp;&amp;
127
128sed -e '/&lt;&lt; mime.PrintContents/ s/mime/(const std::string\&amp;)&amp;/' \
129 -i src/im/msrp.cxx &amp;&amp;
130
131sed -e '/abs(/s/MPI.*)/(int)(&amp;)/' \
132 -i ./plugins/video/common/mpi.cxx &amp;&amp;
133
134
135./configure --prefix=/usr &amp;&amp;
136CXXFLAGS=-Wno-deprecated-declarations make</userinput></screen>
137
138 <para>
139 This package does not come with a test suite.
140 </para>
141
142 <para>
143 Now, as the <systemitem class="username">root</systemitem> user:
144 </para>
145
146<screen role="root"><userinput>make install &amp;&amp;
147chmod -v 644 /usr/lib/libopal_s.a</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para>
155 <command>sed ...</command>: The first sed fixes several files
156 to work properly with <xref linkend='ffmpeg'/>. The second and
157 third fixes build issues with <xref linkend='gcc'/>.
158 </para>
159
160 <para>
161 <envar>CXXFLAGS=-Wno-deprecated-declarations</envar>: This parameter
162 reduces a lot of warnings generated by <xref linkend='gcc'/>.
163 </para>
164
165 </sect2>
166
167 <sect2 role="content">
168 <title>Contents</title>
169
170 <segmentedlist>
171 <segtitle>Installed Programs</segtitle>
172 <segtitle>Installed Libraries</segtitle>
173 <segtitle>Installed Directories</segtitle>
174
175 <seglistitem>
176 <seg>
177 None
178 </seg>
179 <seg>
180 libopal.so and libopal_s.a
181 </seg>
182 <seg>
183 /usr/include/opal and
184 /usr/lib/opal-&opal-version;
185 </seg>
186 </seglistitem>
187 </segmentedlist>
188
189 <variablelist>
190 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
191 <?dbfo list-presentation="list"?>
192 <?dbhtml list-presentation="table"?>
193
194 <varlistentry id="libopal">
195 <term><filename class="libraryfile">libopal.so</filename></term>
196 <listitem>
197 <para>
198 contains the <application>Opal</application> API functions.
199 </para>
200 <indexterm zone="opal libopal">
201 <primary sortas="c-libopal">libopal.so</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 </variablelist>
207
208 </sect2>
209
210</sect1>
Note: See TracBrowser for help on using the repository browser.