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