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