Hello community,
here is the log from the commit of package opal for openSUSE:Factory
checked in at Mon May 4 18:31:33 CEST 2009.
--------
--- opal/opal.changes 2008-11-06 22:16:15.000000000 +0100
+++ /mounts/work_src_done/STABLE/opal/opal.changes 2009-04-30 18:27:28.000000000 +0200
@@ -1,0 +2,35 @@
+Wed Apr 29 22:14:39 CEST 2009 - vuntz@novell.com
+
+- Update to version 3.6.1:
+ + This is a major update of ptlib/opal with the following main
+ features:
+ - Instant Messaging. Using several different “standards”:
+ RFC4975, MSRP, T.140, SIP-IM etc etc.
+ - Much improved support for SIP event handling
+ (SUBSCRIBE/NOTIFY/PUBLISH) using factories so more event
+ packages can be added easily.
+ - Support for SIP “dialog” event package.
+ - Support for Shared Line Appearance (aka Multiple Line
+ Appearance, Bridged Line Appearance or Busy Lamp Field)
+ - Significant improvements in IPv6 support
+ - Major enhancements to the video rate controller.
+ - Removal of the old H.263 ffmpeg plug in and enhancement of
+ the H.263-1998 plug it to take its place.
+ - H.224 support (H.323 only).
+ - SBC audio codec plug in.
+ - G.722 audio codec plug in.
+ - CELT audio codec plug in.
+ - SWIG support for use in other languages, Java first.
+ - Much improved multi-platform sample GUI client, OpenPhone.
+ Now standard test environment replacing simpleOPAL.
+- Update opal-3.4.2.diff: most of it was fixed upstream, a simple
+ memset() is left.
+- Add opal-system-libgsm.patch to fix detection of system libgsm.
+- Add opal-fix-ambiguous.patch to fix some ambiguous code.
+- Add capi4linux-devel, libgsm-devel, libsamplerate-devel,
+ libtheora-devel, swig BuildRequires.
+- Pass --enable-zrtp, --enable-sbc, --enable-ixj, --enable-capi to
+ configure.
+- Use makeinstall.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
opal-3.4.2.tar.bz2
New:
----
opal-3.6.1.tar.bz2
opal-fix-ambiguous.patch
opal-system-libgsm.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opal.spec ++++++
--- /var/tmp/diff_new_pack.c10717/_old 2009-05-04 18:31:14.000000000 +0200
+++ /var/tmp/diff_new_pack.c10717/_new 2009-05-04 18:31:14.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package opal (Version 3.4.2)
+# spec file for package opal (Version 3.6.1)
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,17 +19,31 @@
Name: opal
-BuildRequires: gcc-c++ libpt2-devel libstdc++-devel speex-devel
+BuildRequires: capi4linux-devel
+BuildRequires: gcc-c++
+BuildRequires: libgsm-devel
+BuildRequires: libpt2-devel
+BuildRequires: libsamplerate-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libtheora-devel
+BuildRequires: speex-devel
+BuildRequires: swig
+# FIXME: we're missing zrtp, ffmpeg, x264, CELT support (no packages for this).
+# FIXME: the spandsp library we have is too recent for opal, with not the
+# expected API.
+#BuildRequires: spandsp-devel
Summary: Open Phone Abstraction Library
Url: http://openh323.sourceforge.net/
License: MOZILLA PUBLIC LICENSE (MPL/NPL)
Group: System/Libraries
-Version: 3.4.2
-Release: 2
+Version: 3.6.1
+Release: 1
Source0: %{name}-%{version}.tar.bz2
-Patch0: %{name}-%{version}.diff
-#Patch1: opal-C-fix.diff
-#Patch2: opal-make.diff
+Patch0: %{name}-3.4.2.diff
+# PATCH-FIX-UPSTREAM opal-system-libgsm.patch vuntz@novell.com -- Fix detection of system libgsm
+Patch1: opal-system-libgsm.patch
+# PATCH-FIX-UPSTREAM opal-fix-ambiguous.patch vuntz@novell.com -- Fix ambiguous code
+Patch2: opal-fix-ambiguous.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
@@ -54,8 +68,8 @@
%prep
%setup -q
%patch -p1
-#%patch1 -p1
-#%patch2 -p1
+%patch1 -p1
+%patch2 -p1
# this subdir contains GPL - to avoid license issues delete it before build
rm -rf plugins/LID/VPB
@@ -70,14 +84,15 @@
# PWlib versioncheck does not work properly
# Can support Voicetronix vpb
OPTCCFLAGS="$RPM_OPT_FLAGS"
-./configure \
- --prefix=/usr\
- --libdir=%{_libdir}\
- --mandir=%{_mandir}
+%configure \
+ --enable-zrtp \
+ --enable-sbc \
+ --enable-ixj \
+ --enable-capi
make %{?jobs:-j%jobs}
%install
-make install DESTDIR=$RPM_BUILD_ROOT
+%makeinstall
%post -n opal -p /sbin/ldconfig
@@ -94,7 +109,7 @@
%dir %{_libdir}/%{name}-%{version}/codecs
%{_libdir}/%{name}-%{version}/codecs/audio
%{_libdir}/%{name}-%{version}/codecs/video
-#%{_libdir}/%{name}-%{version}/lid
+%{_libdir}/%{name}-%{version}/lid
%files devel
%defattr(-,root,root)
@@ -104,6 +119,38 @@
%{_libdir}/pkgconfig/opal.pc
%changelog
+* Wed Apr 29 2009 vuntz@novell.com
+- Update to version 3.6.1:
+ + This is a major update of ptlib/opal with the following main
+ features:
+ - Instant Messaging. Using several different “standards”:
+ RFC4975, MSRP, T.140, SIP-IM etc etc.
+ - Much improved support for SIP event handling
+ (SUBSCRIBE/NOTIFY/PUBLISH) using factories so more event
+ packages can be added easily.
+ - Support for SIP “dialog” event package.
+ - Support for Shared Line Appearance (aka Multiple Line
+ Appearance, Bridged Line Appearance or Busy Lamp Field)
+ - Significant improvements in IPv6 support
+ - Major enhancements to the video rate controller.
+ - Removal of the old H.263 ffmpeg plug in and enhancement of
+ the H.263-1998 plug it to take its place.
+ - H.224 support (H.323 only).
+ - SBC audio codec plug in.
+ - G.722 audio codec plug in.
+ - CELT audio codec plug in.
+ - SWIG support for use in other languages, Java first.
+ - Much improved multi-platform sample GUI client, OpenPhone.
+ Now standard test environment replacing simpleOPAL.
+- Update opal-3.4.2.diff: most of it was fixed upstream, a simple
+ memset() is left.
+- Add opal-system-libgsm.patch to fix detection of system libgsm.
+- Add opal-fix-ambiguous.patch to fix some ambiguous code.
+- Add capi4linux-devel, libgsm-devel, libsamplerate-devel,
+ libtheora-devel, swig BuildRequires.
+- Pass --enable-zrtp, --enable-sbc, --enable-ixj, --enable-capi to
+ configure.
+- Use makeinstall.
* Thu Nov 06 2008 kkeil@suse.de
- do not create include/opal/buildopts.h.in from scratch
This caused configuration errors in ekiga (bnc#440869)
@@ -170,7 +217,7 @@
* Tue Apr 24 2007 maw@suse.de
- Update to version 2.2.8
- bugfix release
-* Wed Feb 14 2007 kkeil@suse.de
+* Thu Feb 15 2007 kkeil@suse.de
- downgrade to stable 2.2.5 version
* Mon Oct 23 2006 kkeil@suse.de
- clean up undefined C code (#213075)
++++++ opal-3.4.2.diff ++++++
--- /var/tmp/diff_new_pack.c10717/_old 2009-05-04 18:31:14.000000000 +0200
+++ /var/tmp/diff_new_pack.c10717/_new 2009-05-04 18:31:14.000000000 +0200
@@ -10,48 +10,3 @@
a.sin_addr = (in_addr)dataValue;
a.sin_port = (unsigned short)portNumber;
-Index: opal-3.4.2/configure.ac
-===================================================================
---- opal-3.4.2.orig/configure.ac
-+++ opal-3.4.2/configure.ac
-@@ -109,10 +109,10 @@ BUILD_NUMBER=`cat ${OPALDIR}/version.h |
- OPAL_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${BUILD_NUMBER}"
- BUILD_TYPE=`cat ${OPALDIR}/version.h | grep BUILD_TYPE | cut -f 3 -d ' ' | sed 's/BetaCode/-beta/' | sed 's/AlphaCode/-alpha/' | sed 's/ReleaseCode/\./'`
-
--AC_DEFINE_UNQUOTED(OPAL_MAJOR, ${MAJOR_VERSION})
--AC_DEFINE_UNQUOTED(OPAL_MINOR, ${MINOR_VERSION})
--AC_DEFINE_UNQUOTED(OPAL_BUILD, ${BUILD_NUMBER})
--AC_DEFINE_UNQUOTED(OPAL_VERSION, "$OPAL_VERSION")
-+AC_DEFINE_UNQUOTED(OPAL_MAJOR, ${MAJOR_VERSION}, [opal major version])
-+AC_DEFINE_UNQUOTED(OPAL_MINOR, ${MINOR_VERSION}, [opal minor version])
-+AC_DEFINE_UNQUOTED(OPAL_BUILD, ${BUILD_NUMBER}, [opal build number])
-+AC_DEFINE_UNQUOTED(OPAL_VERSION, "$OPAL_VERSION", [opal version])
-
- AC_MSG_NOTICE(Opal version is ${OPAL_VERSION});
-
-Index: opal-3.4.2/include/h323/h323pdu.h
-===================================================================
---- opal-3.4.2.orig/include/h323/h323pdu.h
-+++ opal-3.4.2/include/h323/h323pdu.h
-@@ -251,7 +251,7 @@ class H323SignalPDU : public H225_H323_U
- int screening = -1
- );
-
--#ifdef H323_H460
-+#ifdef OPAL_H460
- /** When sending the H460 message in the Setup PDU you have to ensure
- the ARQ is received first then add the Fields to the Setup PDU
- so we require a call back
-Index: opal-3.4.2/opal.m4
-===================================================================
---- opal-3.4.2.orig/opal.m4
-+++ opal-3.4.2/opal.m4
-@@ -712,7 +712,7 @@ AC_DEFUN([OPAL_DETERMINE_SPEEXDSP],
- if test "x$SPEEXDSP_SYSTEM" = "xyes" ; then
- old_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $SPEEXDSP_CFLAGS"
-- AC_CHECK_HEADERS([speex/speex.h], [AC_DEFINE(OPAL_HAVE_SPEEX_SPEEX_H)])
-+ AC_CHECK_HEADERS([speex/speex.h], [AC_DEFINE(OPAL_HAVE_SPEEX_SPEEX_H, 1, [opal have speex])])
- CFLAGS="$old_CFLAGS"
- fi
- fi
++++++ opal-3.4.2.tar.bz2 -> opal-3.6.1.tar.bz2 ++++++
opal/opal-3.4.2.tar.bz2 /mounts/work_src_done/STABLE/opal/opal-3.6.1.tar.bz2 differ: byte 11, line 1
++++++ opal-fix-ambiguous.patch ++++++
Index: opal-3.6.1/plugins/audio/SBC/sbccodec.cxx
===================================================================
--- opal-3.6.1.orig/plugins/audio/SBC/sbccodec.cxx
+++ opal-3.6.1/plugins/audio/SBC/sbccodec.cxx
@@ -168,7 +168,8 @@ static int changerate(struct PluginSbcCo
p2=context->data2;
if(mono) {
for(int i=0;i<*out_len;i+=2) {
- int d=int(*p2++ + *p2++)/2;
+ int d=int(*p2 + *p2)/2;
+ *p2+=2;
if(d>32767)
d=32767;
if(d<-32768)
Index: opal-3.6.1/plugins/audio/iLBC/iLBC/iCBSearch.c
===================================================================
--- opal-3.6.1.orig/plugins/audio/iLBC/iLBC/iCBSearch.c
+++ opal-3.6.1/plugins/audio/iLBC/iLBC/iCBSearch.c
@@ -121,7 +121,8 @@
*ppe=0.0;
pp=buf+LPC_FILTERORDER+lMem-lTarget;
for (j=0; j