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