source: multimedia/libdriv/opal.xml@ 1de48c0f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1de48c0f was 1de48c0f, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Add patch to wireless tools.
Tags.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17726 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.6 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 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Opal-&opal-version;</title>
24
25 <indexterm zone="opal">
26 <primary sortas="a-Opal">Opal</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Opal</title>
31
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>
37
38 &lfs7a_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&opal-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&opal-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &opal-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &opal-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &opal-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &opal-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75 <itemizedlist spacing="compact">
76 <listitem>
77 <para>
78 Required patch:
79 <ulink url="&patch-root;/opal-&opal-version;-ffmpeg2-1.patch"/>
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Opal Dependencies</bridgehead>
85
86 <bridgehead renderas="sect4">Required</bridgehead>
87 <para role="required">
88 <xref linkend="ptlib"/>
89 </para>
90
91 <bridgehead renderas="sect4">Optional</bridgehead>
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"/>,
98 <xref linkend="openjdk"/>,
99 <xref linkend="ruby"/>,
100 <ulink url="www.soft-switch.org/">Spandsp</ulink>,
101 <xref linkend="speex"/>, and
102 <xref linkend="x264"/>
103 </para>
104
105 <para condition="html" role="usernotes">User Notes:
106 <ulink url="&blfs-wiki;/opal"/>
107 </para>
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of Opal</title>
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 &amp;&amp;
117
118sed -e 's/CODEC_ID/AV_&amp;/' \
119 -e 's/PIX_FMT_/AV_&amp;/' \
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 &amp;&amp;
124
125ed -e '/&lt;&lt; mime.PrintContents/ s/mime/(const std::string\&amp;)&amp;/' \
126 -i src/im/msrp.cxx &amp;&amp;
127
128./configure --prefix=/usr &amp;&amp;
129CXXFLAGS=-Wno-deprecated-declarations make</userinput></screen>
130
131 <para>
132 This package does not come with a test suite.
133 </para>
134
135 <para>
136 Now, as the <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>make install &amp;&amp;
140chmod -v 644 /usr/lib/libopal_s.a</userinput></screen>
141
142 </sect2>
143
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
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 None
171 </seg>
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>
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">
188 <term><filename class="libraryfile">libopal.so</filename></term>
189 <listitem>
190 <para>
191 contains the <application>Opal</application> API functions.
192 </para>
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>
Note: See TracBrowser for help on using the repository browser.