[6ae25f1] | 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 |
|
---|
[8e36a8f8] | 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">
|
---|
[ffd1fcc] | 9 | <!ENTITY opal-md5sum "6efa1b4c5e0ad6460019b4c6df0898d7">
|
---|
[0ea00d5] | 10 | <!ENTITY opal-size "5.7 MB">
|
---|
| 11 | <!ENTITY opal-buildsize "305 MB">
|
---|
| 12 | <!ENTITY opal-time "2.0 SBU">
|
---|
[6ae25f1] | 13 | ]>
|
---|
| 14 |
|
---|
[0ea00d5] | 15 | <sect1 id="opal" xreflabel="Opal-&opal-version;">
|
---|
[6ae25f1] | 16 | <?dbhtml filename="opal.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[0ea00d5] | 22 | <title>Opal-&opal-version;</title>
|
---|
[6ae25f1] | 23 |
|
---|
| 24 | <indexterm zone="opal">
|
---|
[0ea00d5] | 25 | <primary sortas="a-Opal">Opal</primary>
|
---|
[6ae25f1] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[0ea00d5] | 29 | <title>Introduction to Opal</title>
|
---|
[6ae25f1] | 30 |
|
---|
[0ea00d5] | 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>
|
---|
[6ae25f1] | 36 |
|
---|
[cf8bec7] | 37 | &lfs82_checked;
|
---|
[02e2df0] | 38 |
|
---|
[6ae25f1] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[0ea00d5] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&opal-download-http;"/>
|
---|
| 44 | </para>
|
---|
[6ae25f1] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[0ea00d5] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&opal-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[6ae25f1] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[0ea00d5] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &opal-md5sum;
|
---|
| 54 | </para>
|
---|
[6ae25f1] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[0ea00d5] | 57 | <para>
|
---|
| 58 | Download size: &opal-size;
|
---|
| 59 | </para>
|
---|
[6ae25f1] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[0ea00d5] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &opal-buildsize;
|
---|
| 64 | </para>
|
---|
[6ae25f1] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[0ea00d5] | 67 | <para>
|
---|
| 68 | Estimated build time: &opal-time;
|
---|
| 69 | </para>
|
---|
[6ae25f1] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[0ea00d5] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
[8e36a8f8] | 75 | <listitem>
|
---|
[0ea00d5] | 76 | <para>
|
---|
[54f740f] | 77 | Required patch:
|
---|
[89d37eb8] | 78 | <ulink url="&patch-root;/opal-&opal-version;-ffmpeg2-1.patch"/>
|
---|
[0ea00d5] | 79 | </para>
|
---|
[8e36a8f8] | 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
| 82 |
|
---|
[0ea00d5] | 83 | <bridgehead renderas="sect3">Opal Dependencies</bridgehead>
|
---|
[6ae25f1] | 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[0ea00d5] | 86 | <para role="required">
|
---|
| 87 | <xref linkend="ptlib"/>
|
---|
| 88 | </para>
|
---|
[6ae25f1] | 89 |
|
---|
| 90 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[0ea00d5] | 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"/>,
|
---|
[ffd1fcc] | 97 | <xref linkend="openjdk"/>,
|
---|
| 98 | <xref linkend="ruby"/>,
|
---|
[aaf45d3] | 99 | <ulink url="http://www.soft-switch.org/">Spandsp</ulink>,
|
---|
[6de7590] | 100 | <xref linkend="speex"/>, and
|
---|
[7f2dfa0] | 101 | <xref linkend="x264"/>
|
---|
[0ea00d5] | 102 | </para>
|
---|
[6ae25f1] | 103 |
|
---|
| 104 | <para condition="html" role="usernotes">User Notes:
|
---|
[0ea00d5] | 105 | <ulink url="&blfs-wiki;/opal"/>
|
---|
| 106 | </para>
|
---|
[6ae25f1] | 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="installation">
|
---|
[0ea00d5] | 110 | <title>Installation of Opal</title>
|
---|
[6ae25f1] | 111 |
|
---|
[de4bbfb6] | 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 |
|
---|
[0ea00d5] | 116 | <para>Install <application>Opal</application> by running the following
|
---|
[6ae25f1] | 117 | commands:</para>
|
---|
| 118 |
|
---|
[89d37eb8] | 119 | <screen><userinput>patch -Np1 -i ../opal-&opal-version;-ffmpeg2-1.patch &&
|
---|
[6de7590] | 120 |
|
---|
[ba1ccf6] | 121 | sed -e 's/CODEC_ID/AV_&/' \
|
---|
| 122 | -e 's/PIX_FMT_/AV_&/' \
|
---|
| 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 &&
|
---|
| 127 |
|
---|
[fd42347a] | 128 | sed -e '/<< mime.PrintContents/ s/mime/(const std::string\&)&/' \
|
---|
| 129 | -i src/im/msrp.cxx &&
|
---|
[ba1ccf6] | 130 |
|
---|
[6ded4ec] | 131 | sed -e '/abs(/s/MPI.*)/(int)(&)/' \
|
---|
[aaf45d3] | 132 | -i ./plugins/video/common/mpi.cxx &&
|
---|
[6ded4ec] | 133 |
|
---|
| 134 |
|
---|
[8e36a8f8] | 135 | ./configure --prefix=/usr &&
|
---|
[ba1ccf6] | 136 | CXXFLAGS=-Wno-deprecated-declarations make</userinput></screen>
|
---|
[6ae25f1] | 137 |
|
---|
[0ea00d5] | 138 | <para>
|
---|
| 139 | This package does not come with a test suite.
|
---|
| 140 | </para>
|
---|
[6ae25f1] | 141 |
|
---|
[0ea00d5] | 142 | <para>
|
---|
| 143 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 144 | </para>
|
---|
[6ae25f1] | 145 |
|
---|
[ffd1fcc] | 146 | <screen role="root"><userinput>make install &&
|
---|
| 147 | chmod -v 644 /usr/lib/libopal_s.a</userinput></screen>
|
---|
[6ae25f1] | 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
[ba1ccf6] | 151 | <sect2 role="commands">
|
---|
| 152 | <title>Command Explanations</title>
|
---|
| 153 |
|
---|
| 154 | <para>
|
---|
| 155 | <command>sed ...</command>: The first sed fixes several files
|
---|
[6ded4ec] | 156 | to work properly with <xref linkend='ffmpeg'/>. The second and
|
---|
| 157 | third fixes build issues with <xref linkend='gcc'/>.
|
---|
[ba1ccf6] | 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 |
|
---|
[6ae25f1] | 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
[c3c56b2] | 171 | <segtitle>Installed Programs</segtitle>
|
---|
| 172 | <segtitle>Installed Libraries</segtitle>
|
---|
[6ae25f1] | 173 | <segtitle>Installed Directories</segtitle>
|
---|
| 174 |
|
---|
| 175 | <seglistitem>
|
---|
[c3c56b2] | 176 | <seg>
|
---|
| 177 | None
|
---|
| 178 | </seg>
|
---|
[0ea00d5] | 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>
|
---|
[6ae25f1] | 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">
|
---|
[0ea00d5] | 195 | <term><filename class="libraryfile">libopal.so</filename></term>
|
---|
[6ae25f1] | 196 | <listitem>
|
---|
[0ea00d5] | 197 | <para>
|
---|
| 198 | contains the <application>Opal</application> API functions.
|
---|
| 199 | </para>
|
---|
[6ae25f1] | 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>
|
---|