The Opal package contains a C++ class library for normalising the numerous telephony protocols into a single integrated call model.
This package is known to build and work properly using an LFS-8.1 platform.
Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/opal/3.10/opal-3.10.10.tar.xz
Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/opal/3.10/opal-3.10.10.tar.xz
Download MD5 sum: 6efa1b4c5e0ad6460019b4c6df0898d7
Download size: 5.7 MB
Estimated disk space required: 305 MB
Estimated build time: 2.0 SBU
Celt, FFmpeg-3.3.3, GSM, ISDN4Linux, libtheora-1.1.1, OpenJDK-1.8.0.141, Ruby-2.4.1, Spandsp, Speex-1.2.0, and x264-20170822-2245
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/opal
Fix a build issue with GCC-7.1:
sed -i 's| abs(| std::fabs(|g' plugins/video/common/mpi.cxx
Install Opal by running the following commands:
patch -Np1 -i ../opal-3.10.10-ffmpeg2-1.patch && sed -e 's/CODEC_ID/AV_&/' \ -e 's/PIX_FMT_/AV_&/' \ -i plugins/video/H.263-1998/h263-1998.cxx \ plugins/video/common/dyna.cxx \ plugins/video/H.264/h264-x264.cxx \ plugins/video/MPEG4-ffmpeg/mpeg4.cxx && sed -e '/<< mime.PrintContents/ s/mime/(const std::string\&)&/' \ -i src/im/msrp.cxx && sed -e '/abs(/s/MPI.*)/(int)(&)/' \ -i ./plugins/video/common/mpi.cxx && ./configure --prefix=/usr && CXXFLAGS=-Wno-deprecated-declarations make
This package does not come with a test suite.
Now, as the root
user:
make install && chmod -v 644 /usr/lib/libopal_s.a
sed ...: The first sed fixes several files to work properly with FFmpeg-3.3.3. The second and third fixes build issues with GCC-7.2.0.
CXXFLAGS=-Wno-deprecated-declarations
:
This parameter reduces a lot of warnings generated by GCC-7.2.0.
Last updated on 2017-08-30 19:55:44 -0700