[libjingle/f16] 0.6.10
Tom Callaway
spot at fedoraproject.org
Wed Mar 21 13:29:29 UTC 2012
commit a0b93dd3927e9928c210a4637463361699d3b043
Author: Tom Callaway <spot at fedoraproject.org>
Date: Wed Mar 21 09:29:26 2012 -0400
0.6.10
libjingle-0.6.10-build-sanity.patch | 825 +++++++++++++++++++++++++++++++++++
libjingle-0.6.10-fdwalk.patch | 113 +++++
libjingle-0.6.10-gcc47.patch | 11 +
libjingle-0.6.10-nextfix.patch | 68 +++
libjingle.spec | 37 ++-
sources | 2 +-
6 files changed, 1044 insertions(+), 12 deletions(-)
---
diff --git a/libjingle-0.6.10-build-sanity.patch b/libjingle-0.6.10-build-sanity.patch
new file mode 100644
index 0000000..17c0cfc
--- /dev/null
+++ b/libjingle-0.6.10-build-sanity.patch
@@ -0,0 +1,825 @@
+diff -up libjingle-0.6.10/configure.ac.SANITY libjingle-0.6.10/configure.ac
+--- libjingle-0.6.10/configure.ac.SANITY 2012-02-13 22:26:51.884198702 -0500
++++ libjingle-0.6.10/configure.ac 2012-02-13 22:27:13.077985984 -0500
+@@ -0,0 +1,96 @@
++AC_INIT([libjingle], [0.6.0], [google-talk-open at googlegroups.com])
++AC_CANONICAL_SYSTEM
++AM_CONFIG_HEADER(config.h)
++AM_INIT_AUTOMAKE([dist-zip])
++AC_PROG_CC
++AC_PROG_CXX
++AM_PROG_LIBTOOL
++LIBTOOL="$LIBTOOL --silent"
++AC_PROG_INSTALL
++AC_DEFINE(PRODUCTION_BUILD, 1, [Build as a production build])
++AC_DEFINE(PRODUCTION, 1, [Build as a production build])
++AC_DEFINE(POSIX, 1, [If we're using configure, we're on POSIX])
++AC_DEFINE(FEATURE_ENABLE_VOICEMAIL, 1, [voice mail])
++AC_DEFINE(LOGGING, 1, [Logging])
++
++LIBJINGLE_MAJORMINOR=0.6
++AC_SUBST(LIBJINGLE_MAJORMINOR)
++
++LIBJINGLE_LIBRARY_VERSION=1:0:0
++AC_SUBST(LIBJINGLE_LIBRARY_VERSION)
++
++HAVE_EXPAT=no
++AC_CHECK_LIB(expat, XML_ParserCreate, HAVE_EXPAT="yes")
++if test "x$HAVE_EXPAT" = xyes ; then
++ EXPAT_LIBS="-lexpat"
++ AC_SUBST(EXPAT_LIBS)
++else
++ AC_ERROR([Expat is required to build libjingle. You can get it from http://expat.sourceforge.net/])
++fi
++
++if test `uname -s` = Linux ; then
++ AC_DEFINE(LINUX, 1, [Building on Linux])
++ HAVE_ALSA=no
++ AC_CHECK_LIB(asound, snd_pcm_open, HAVE_ALSA="yes")
++ if test "x$HAVE_ALSA" = xyes ; then
++ ALSA_LIBS="-lasound"
++ AC_SUBST(ALSA_LIBS)
++ AC_DEFINE(HAVE_ALSA, 1, [Using ALSA])
++ else
++ AC_ERROR([libasound is required to build libjingle. You can get it from http://www.alsa-project.org/])
++ fi
++
++ AC_CHECK_HEADER(openssl/ssl.h, HAVE_OPENSSL_SSL_H=yes, HAVE_OPENSSL_SSL_H=no)
++ if test x$HAVE_OPENSSL_SSL_H = xyes; then
++ AC_DEFINE(HAVE_OPENSSL_SSL_H, 1, [Found openssl/ssl.h])
++ PKG_CHECK_MODULES(OPENSSL, openssl >= 0.9.7g, HAVE_OPENSSL=yes, HAVE_OPENSSL=no)
++ AC_SUBST(OPENSSL_CFLAGS)
++ AC_SUBST(OPENSSL_LIBS)
++ AC_DEFINE(SSL_USE_OPENSSL, 1, [Using OpenSSL])
++ AC_DEFINE(FEATURE_ENABLE_SSL, 1, [SSL Enabled])
++ CPPFLAGS+="$OPENSSL_CFLAGS"
++ LDFLAGS+=" $OPENSSL_LIBS"
++ else
++ AC_DEFINE(HAVE_OPENSSL_SSL_H, 0, [Did not find openssl/ssl.h])
++ fi
++
++ PKG_CHECK_MODULES(GTK2, gtk+-2.0, enable_gtk=yes, enable_gtk=no)
++ if test x$enable_gtk = xno ; then
++ AC_ERROR([GTK2 is required to build libjingle.])
++ else
++ AC_SUBST(GTK2_CFLAGS)
++ AC_SUBST(GTK2_LIBS)
++ AC_DEFINE(HAVE_GTK2, 1, [GTK2 present])
++ fi
++fi
++
++PKG_CHECK_MODULES(LIBSRTP, libsrtp >= 1.4.4, enable_srtp=yes, enable_srtp=no)
++if test x$enable_srtp = xno ; then
++ HAVE_SRTP=no
++else
++ AC_SUBST(LIBSRTP_CFLAGS)
++ AC_SUBST(LIBSRTP_LIBS)
++ AC_DEFINE(HAVE_SRTP, 1, [libSRTP provides SRTP supprt])
++fi
++
++AC_OUTPUT([Makefile
++ talk/Makefile
++ talk/base/Makefile
++ talk/examples/Makefile
++ talk/examples/login/Makefile
++ talk/examples/call/Makefile
++ talk/p2p/Makefile
++ talk/p2p/base/Makefile
++ talk/p2p/client/Makefile
++ talk/session/Makefile
++ talk/session/tunnel/Makefile
++ talk/session/phone/Makefile
++ talk/sound/Makefile
++ talk/xmllite/Makefile
++ talk/xmpp/Makefile
++ pkgconfig/Makefile
++ pkgconfig/jinglebase.pc
++ pkgconfig/jinglep2p.pc
++ pkgconfig/jinglesessiontunnel.pc
++ pkgconfig/jinglesessionphone.pc
++ ])
+diff -up libjingle-0.6.10/Makefile.am.SANITY libjingle-0.6.10/Makefile.am
+--- libjingle-0.6.10/Makefile.am.SANITY 2012-02-13 22:26:51.884198702 -0500
++++ libjingle-0.6.10/Makefile.am 2012-02-13 22:26:51.884198702 -0500
+@@ -0,0 +1,4 @@
++SUBDIRS=talk pkgconfig
++
++configdir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk
++config_HEADERS = config.h
+diff -up libjingle-0.6.10/pkgconfig/jinglebase.pc.in.SANITY libjingle-0.6.10/pkgconfig/jinglebase.pc.in
+--- libjingle-0.6.10/pkgconfig/jinglebase.pc.in.SANITY 2012-02-13 22:26:51.885198691 -0500
++++ libjingle-0.6.10/pkgconfig/jinglebase.pc.in 2012-02-13 22:26:51.885198691 -0500
+@@ -0,0 +1,12 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: jinglebase
++Description: Jingle Base Library
++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -lpthread -ljinglebase
++Cflags: -I${includedir}/libjingle- at LIBJINGLE_MAJORMINOR@ -DPOSIX
++
+diff -up libjingle-0.6.10/pkgconfig/jinglep2p.pc.in.SANITY libjingle-0.6.10/pkgconfig/jinglep2p.pc.in
+--- libjingle-0.6.10/pkgconfig/jinglep2p.pc.in.SANITY 2012-02-13 22:26:51.885198691 -0500
++++ libjingle-0.6.10/pkgconfig/jinglep2p.pc.in 2012-02-13 22:26:51.885198691 -0500
+@@ -0,0 +1,12 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: jinglep2p
++Description: Jingle P2P Library
++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -ljinglep2pbase -ljinglep2pclient -ljinglexmllite -ljinglexmpp -lexpat
++Cflags: -I${includedir}/libjingle- at LIBJINGLE_MAJORMINOR@ -DPOSIX
++
+diff -up libjingle-0.6.10/pkgconfig/jinglesessionphone.pc.in.SANITY libjingle-0.6.10/pkgconfig/jinglesessionphone.pc.in
+--- libjingle-0.6.10/pkgconfig/jinglesessionphone.pc.in.SANITY 2012-02-13 22:26:51.886198681 -0500
++++ libjingle-0.6.10/pkgconfig/jinglesessionphone.pc.in 2012-02-13 22:26:51.886198681 -0500
+@@ -0,0 +1,12 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: jinglesessionphone
++Description: Jingle Session Phone Library
++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -lpthread -ljinglesessionphone -lsrtp
++Cflags: -I${includedir}/libjingle- at LIBJINGLE_MAJORMINOR@ -DPOSIX
++
+diff -up libjingle-0.6.10/pkgconfig/jinglesessiontunnel.pc.in.SANITY libjingle-0.6.10/pkgconfig/jinglesessiontunnel.pc.in
+--- libjingle-0.6.10/pkgconfig/jinglesessiontunnel.pc.in.SANITY 2012-02-13 22:26:51.886198681 -0500
++++ libjingle-0.6.10/pkgconfig/jinglesessiontunnel.pc.in 2012-02-13 22:26:51.886198681 -0500
+@@ -0,0 +1,12 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: jinglesessiontunnel
++Description: Jingle Session Tunnel Library
++Requires:
++Version: @VERSION@
++Libs: -L${libdir} -lpthread -ljinglesessiontunnel
++Cflags: -I${includedir}/libjingle- at LIBJINGLE_MAJORMINOR@ -DPOSIX
++
+diff -up libjingle-0.6.10/pkgconfig/Makefile.am.SANITY libjingle-0.6.10/pkgconfig/Makefile.am
+--- libjingle-0.6.10/pkgconfig/Makefile.am.SANITY 2012-02-13 22:26:51.887198671 -0500
++++ libjingle-0.6.10/pkgconfig/Makefile.am 2012-02-13 22:26:51.887198671 -0500
+@@ -0,0 +1,20 @@
++### all of the standard pc files we need to generate
++pcfiles = jinglebase- at LIBJINGLE_MAJORMINOR@.pc jinglep2p- at LIBJINGLE_MAJORMINOR@.pc jinglesessiontunnel- at LIBJINGLE_MAJORMINOR@.pc jinglesessionphone- at LIBJINGLE_MAJORMINOR@.pc
++
++all-local: $(pcfiles)
++
++### how to generate pc files
++%- at LIBJINGLE_MAJORMINOR@.pc: %.pc
++ cp $< $@
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = $(pcfiles)
++
++EXTRA_DIST = \
++ jinglebase.pc.in \
++ jinglep2p.pc.in \
++ jinglesessionphone.pc.in \
++ jinglesessiontunnel.pc.in
++
++CLEANFILES = $(pcfiles)
++
+diff -up libjingle-0.6.10/talk/base/Makefile.am.SANITY libjingle-0.6.10/talk/base/Makefile.am
+--- libjingle-0.6.10/talk/base/Makefile.am.SANITY 2012-02-13 22:26:51.888198661 -0500
++++ libjingle-0.6.10/talk/base/Makefile.am 2012-02-13 22:26:51.888198661 -0500
+@@ -0,0 +1,205 @@
++lib_LTLIBRARIES = libjinglebase.la
++
++libjinglebase_la_SOURCES = asyncfile.cc \
++ asynchttprequest.cc \
++ asyncsocket.cc \
++ asynctcpsocket.cc \
++ asyncudpsocket.cc \
++ autodetectproxy.cc \
++ bandwidthsmoother.cc \
++ base64.cc \
++ basicpacketsocketfactory.cc \
++ bytebuffer.cc \
++ checks.cc \
++ common.cc \
++ cpuid.cc \
++ cpumonitor.cc \
++ dbus.cc \
++ diskcache.cc \
++ event.cc \
++ filelock.cc \
++ fileutils.cc \
++ firewallsocketserver.cc \
++ flags.cc \
++ helpers.cc \
++ host.cc \
++ httpbase.cc \
++ httpclient.cc \
++ httpcommon.cc \
++ httprequest.cc \
++ httpserver.cc \
++ ipaddress.cc \
++ latebindingsymboltable.cc \
++ libdbusglibsymboltable.cc \
++ linux.cc \
++ logging.cc \
++ md5c.c \
++ messagehandler.cc \
++ messagequeue.cc \
++ multipart.cc \
++ natserver.cc \
++ natsocketfactory.cc \
++ nattypes.cc \
++ nethelpers.cc \
++ network.cc \
++ openssladapter.cc \
++ opensslidentity.cc \
++ opensslstreamadapter.cc \
++ optionsfile.cc \
++ pathutils.cc \
++ physicalsocketserver.cc \
++ posix.cc \
++ proxydetect.cc \
++ proxyinfo.cc \
++ proxyserver.cc \
++ ratetracker.cc \
++ sharedexclusivelock.cc \
++ signalthread.cc \
++ socketadapters.cc \
++ socketaddress.cc \
++ socketaddresspair.cc \
++ socketpool.cc \
++ socketstream.cc \
++ ssladapter.cc \
++ sslidentity.cc \
++ sslsocketfactory.cc \
++ sslstreamadapter.cc \
++ stream.cc \
++ stringdigest.cc \
++ stringencode.cc \
++ stringutils.cc \
++ systeminfo.cc \
++ task.cc \
++ taskparent.cc \
++ taskrunner.cc \
++ thread.cc \
++ timeutils.cc \
++ timing.cc \
++ transformadapter.cc \
++ unixfilesystem.cc \
++ urlencode.cc \
++ versionparsing.cc \
++ virtualsocketserver.cc \
++ worker.cc
++
++libjinglebase_la_LIBADD = -lrt
++
++libjinglebase_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION)
++
++libjinglebase_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/base
++
++libjinglebase_include_HEADERS = asyncfile.h \
++ asynchttprequest.h \
++ asyncpacketsocket.h \
++ asyncsocket.h \
++ asynctcpsocket.h \
++ asyncudpsocket.h \
++ atomicops.h \
++ autodetectproxy.h \
++ bandwidthsmoother.h \
++ base64.h \
++ basicdefs.h \
++ basicpacketsocketfactory.h \
++ basictypes.h \
++ buffer.h \
++ bytebuffer.h \
++ byteorder.h \
++ checks.h \
++ common.h \
++ constructormagic.h \
++ cpuid.h \
++ cpumonitor.h \
++ criticalsection.h \
++ cryptstring.h \
++ dbus.h \
++ diskcache.h \
++ event.h \
++ fakenetwork.h \
++ faketaskrunner.h \
++ filelock.h \
++ fileutils.h \
++ fileutils_mock.h \
++ firewallsocketserver.h \
++ flags.h \
++ gunit.h \
++ helpers.h \
++ host.h \
++ httpbase.h \
++ httpclient.h \
++ httpcommon-inl.h \
++ httpcommon.h \
++ httprequest.h \
++ httpserver.h \
++ ipaddress.h \
++ latebindingsymboltable.h \
++ libdbusglibsymboltable.h \
++ linked_ptr.h \
++ linux.h \
++ linuxfdwalk.h \
++ logging.h \
++ mathutils.h \
++ md5.h \
++ messagehandler.h \
++ messagequeue.h \
++ multipart.h \
++ natserver.h \
++ natsocketfactory.h \
++ nattypes.h \
++ nethelpers.h \
++ network.h \
++ openssladapter.h \
++ opensslidentity.h \
++ opensslstreamadapter.h \
++ packetsocketfactory.h \
++ pathutils.h \
++ physicalsocketserver.h \
++ posix.h \
++ proxydetect.h \
++ proxyinfo.h \
++ proxyserver.h \
++ ratetracker.h \
++ refcount.h \
++ referencecountedsingletonfactory.h \
++ rollingaccumulator.h \
++ scoped_autorelease_pool.h \
++ scoped_ptr.h \
++ scoped_ref_ptr.h \
++ sec_buffer.h \
++ sharedexclusivelock.h \
++ signalthread.h \
++ sigslot.h \
++ sigslotrepeater.h \
++ socket.h \
++ socketadapters.h \
++ socketaddress.h \
++ socketaddresspair.h \
++ socketfactory.h \
++ socketpool.h \
++ socketserver.h \
++ socketstream.h \
++ ssladapter.h \
++ sslidentity.h \
++ sslroots.h \
++ sslsocketfactory.h \
++ sslstreamadapter.h \
++ stream.h \
++ stringdigest.h \
++ stringencode.h \
++ stringutils.h \
++ systeminfo.h \
++ task.h \
++ taskparent.h \
++ taskrunner.h \
++ thread.h \
++ timeutils.h \
++ timing.h \
++ transformadapter.h \
++ unixfilesystem.h \
++ urlencode.h \
++ versionparsing.h \
++ virtualsocketserver.h \
++ window.h \
++ windowpicker.h \
++ worker.h
++
++AM_CXXFLAGS = -DPOSIX -DLINUX
+diff -up libjingle-0.6.10/talk/examples/call/Makefile.am.SANITY libjingle-0.6.10/talk/examples/call/Makefile.am
+--- libjingle-0.6.10/talk/examples/call/Makefile.am.SANITY 2012-02-13 22:26:51.888198661 -0500
++++ libjingle-0.6.10/talk/examples/call/Makefile.am 2012-02-13 22:26:51.888198661 -0500
+@@ -0,0 +1,23 @@
++bin_PROGRAMS = call
++call_CXXFLAGS = $(AM_CXXFLAGS)
++call_SOURCES = call_main.cc \
++ callclient.cc \
++ console.cc \
++ discoitemsquerytask.cc \
++ friendinvitesendtask.cc \
++ mucinviterecvtask.cc \
++ mucinvitesendtask.cc \
++ presenceouttask.cc \
++ presencepushtask.cc \
++ voicemailjidrequester.cc
++noinst_HEADERS = callclient.h console.h
++call_LDADD = $(top_srcdir)/talk/examples/login/libxmpphelp.la \
++ $(top_srcdir)/talk/session/phone/libjinglesessionphone.la \
++ $(top_srcdir)/talk/p2p/client/libjinglep2pclient.la \
++ $(top_srcdir)/talk/p2p/base/libjinglep2pbase.la \
++ $(top_srcdir)/talk/xmpp/libjinglexmpp.la \
++ $(top_srcdir)/talk/xmllite/libjinglexmllite.la \
++ $(top_srcdir)/talk/base/libjinglebase.la \
++ $(EXPAT_LIBS) $(OPENSSL_LIBS) $(ALSA_LIBS) $(LIBSRTP_LIBS) -lpthread
++AM_CPPFLAGS = -DPOSIX
++
+diff -up libjingle-0.6.10/talk/examples/login/Makefile.am.SANITY libjingle-0.6.10/talk/examples/login/Makefile.am
+--- libjingle-0.6.10/talk/examples/login/Makefile.am.SANITY 2012-02-13 22:26:51.889198651 -0500
++++ libjingle-0.6.10/talk/examples/login/Makefile.am 2012-02-13 22:26:51.889198651 -0500
+@@ -0,0 +1,24 @@
++noinst_LTLIBRARIES= libxmpphelp.la
++libxmpphelp_la_SOURCES = xmppsocket.cc \
++ xmppauth.cc \
++ xmpppump.cc
++
++noinst_HEADERS = xmppauth.h \
++ xmpppump.h \
++ xmppsocket.h \
++ xmppthread.h \
++ jingleinfotask.h \
++ presenceouttask.h \
++ presencepushtask.h \
++ status.h
++
++bin_PROGRAMS = login
++login_CXXFLAGS = $(AM_CXXFLAGS)
++login_SOURCES = login_main.cc xmppthread.cc
++login_LDADD = $(top_srcdir)/talk/xmpp/libjinglexmpp.la \
++ $(top_srcdir)/talk/xmllite/libjinglexmllite.la \
++ $(top_srcdir)/talk/base/libjinglebase.la \
++ $(top_srcdir)/talk/examples/login/libxmpphelp.la \
++ $(EXPAT_LIBS) $(OPENSSL_LIBS) -lpthread
++AM_CPPFLAGS = -DPOSIX
++
+diff -up libjingle-0.6.10/talk/examples/Makefile.am.SANITY libjingle-0.6.10/talk/examples/Makefile.am
+--- libjingle-0.6.10/talk/examples/Makefile.am.SANITY 2012-02-13 22:26:51.889198651 -0500
++++ libjingle-0.6.10/talk/examples/Makefile.am 2012-02-13 22:26:51.889198651 -0500
+@@ -0,0 +1 @@
++SUBDIRS=login call
+diff -up libjingle-0.6.10/talk/Makefile.am.SANITY libjingle-0.6.10/talk/Makefile.am
+--- libjingle-0.6.10/talk/Makefile.am.SANITY 2012-02-13 22:26:51.890198641 -0500
++++ libjingle-0.6.10/talk/Makefile.am 2012-02-13 22:26:51.890198641 -0500
+@@ -0,0 +1 @@
++SUBDIRS=base xmllite xmpp p2p session sound
+diff -up libjingle-0.6.10/talk/p2p/base/Makefile.am.SANITY libjingle-0.6.10/talk/p2p/base/Makefile.am
+--- libjingle-0.6.10/talk/p2p/base/Makefile.am.SANITY 2012-02-13 22:26:51.891198631 -0500
++++ libjingle-0.6.10/talk/p2p/base/Makefile.am 2012-02-13 22:26:51.890198641 -0500
+@@ -0,0 +1,74 @@
++lib_LTLIBRARIES = libjinglep2pbase.la
++
++libjinglep2pbase_la_SOURCES = stun.cc \
++ port.cc \
++ udpport.cc \
++ tcpport.cc \
++ stunport.cc \
++ relayport.cc \
++ relayserver.cc \
++ stunrequest.cc \
++ stunserver.cc \
++ sessionmanager.cc \
++ sessionmessages.cc \
++ session.cc \
++ sessiondescription.cc \
++ transport.cc \
++ transportchannel.cc \
++ transportchannelproxy.cc \
++ p2ptransport.cc \
++ p2ptransportchannel.cc \
++ rawtransport.cc \
++ rawtransportchannel.cc \
++ constants.cc \
++ pseudotcp.cc \
++ parsing.cc
++
++libjinglep2pbase_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/p2p/base
++libjinglep2pbase_include_HEADERS = candidate.h \
++ portallocator.h \
++ relayport.h \
++ session.h \
++ stunport.h \
++ tcpport.h \
++ port.h \
++ sessionid.h \
++ stunrequest.h \
++ udpport.h \
++ pseudotcp.h \
++ sessiondescription.h \
++ sessionmanager.h \
++ stun.h \
++ relayserver.h \
++ stunserver.h \
++ sessionclient.h \
++ transport.h \
++ transportchannel.h \
++ transportchannelproxy.h \
++ transportchannelimpl.h \
++ p2ptransport.h \
++ p2ptransportchannel.h \
++ rawtransport.h \
++ rawtransportchannel.h \
++ constants.h \
++ common.h \
++ parsing.h \
++ sessionmessages.h
++
++libjinglep2pbase_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION)
++libjinglep2pbase_la_LIBADD = $(top_srcdir)/talk/xmllite/libjinglexmllite.la \
++ $(top_srcdir)/talk/xmpp/libjinglexmpp.la
++
++AM_CPPFLAGS = -DPOSIX -DENABLE_DEBUG -D_DEBUG -g
++
++P2PLIBS = libjinglep2pbase.la ../../base/libjinglebase.la -lpthread
++XMLLIBS = ../../xmllite/libjinglexmllite.la ../../xmpp/libjinglexmpp.la $(EXPAT_LIBS)
++
++bin_PROGRAMS = relayserver stunserver
++relayserver_SOURCES = relayserver.cc relayserver_main.cc
++relayserver_LDADD = $(P2PLIBS)
++relayserver_CPPFLAGS = $(AM_CPPFLAGS)
++
++stunserver_SOURCES = stunserver.cc stunserver_main.cc
++stunserver_LDADD = $(P2PLIBS)
++stunserver_CPPFLAGS = $(AM_CPPFLAGS)
+diff -up libjingle-0.6.10/talk/p2p/client/Makefile.am.SANITY libjingle-0.6.10/talk/p2p/client/Makefile.am
+--- libjingle-0.6.10/talk/p2p/client/Makefile.am.SANITY 2012-02-13 22:26:51.891198631 -0500
++++ libjingle-0.6.10/talk/p2p/client/Makefile.am 2012-02-13 22:26:51.891198631 -0500
+@@ -0,0 +1,20 @@
++lib_LTLIBRARIES = libjinglep2pclient.la
++
++libjinglep2pclient_la_SOURCES = basicportallocator.cc \
++ connectivitychecker.cc \
++ httpportallocator.cc \
++ socketmonitor.cc
++
++libjinglep2pclient_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/p2p/client
++
++libjinglep2pclient_include_HEADERS = basicportallocator.h \
++ connectivitychecker.h \
++ socketmonitor.h \
++ sessionmanagertask.h \
++ sessionsendtask.h \
++ httpportallocator.h
++
++libjinglep2pclient_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION)
++
++AM_CPPFLAGS = -I../../.. -DLINUX -DPOSIX -DINTERNAL_BUILD
++
+diff -up libjingle-0.6.10/talk/p2p/Makefile.am.SANITY libjingle-0.6.10/talk/p2p/Makefile.am
+--- libjingle-0.6.10/talk/p2p/Makefile.am.SANITY 2012-02-13 22:26:51.892198620 -0500
++++ libjingle-0.6.10/talk/p2p/Makefile.am 2012-02-13 22:26:51.892198620 -0500
+@@ -0,0 +1 @@
++SUBDIRS=base client
+diff -up libjingle-0.6.10/talk/session/Makefile.am.SANITY libjingle-0.6.10/talk/session/Makefile.am
+--- libjingle-0.6.10/talk/session/Makefile.am.SANITY 2012-02-13 22:26:51.893198609 -0500
++++ libjingle-0.6.10/talk/session/Makefile.am 2012-02-13 22:26:51.892198620 -0500
+@@ -0,0 +1 @@
++SUBDIRS = tunnel phone
+diff -up libjingle-0.6.10/talk/session/phone/Makefile.am.SANITY libjingle-0.6.10/talk/session/phone/Makefile.am
+--- libjingle-0.6.10/talk/session/phone/Makefile.am.SANITY 2012-02-13 22:26:51.893198609 -0500
++++ libjingle-0.6.10/talk/session/phone/Makefile.am 2012-02-13 22:26:51.893198609 -0500
+@@ -0,0 +1,93 @@
++lib_LTLIBRARIES = libjinglesessionphone.la
++
++libjinglesessionphone_la_SOURCES = audiomonitor.cc \
++ call.cc \
++ channel.cc \
++ channelmanager.cc \
++ codec.cc \
++ currentspeakermonitor.cc \
++ devicemanager.cc \
++ filemediaengine.cc \
++ filevideocapturer.cc \
++ gtkvideorenderer.cc \
++ libudevsymboltable.cc \
++ linuxdevicemanager.cc \
++ mediaengine.cc \
++ mediamessages.cc \
++ mediamonitor.cc \
++ mediarecorder.cc \
++ mediasession.cc \
++ mediasessionclient.cc \
++ rtcpmuxfilter.cc \
++ rtpdump.cc \
++ rtputils.cc \
++ soundclip.cc \
++ srtpfilter.cc \
++ ssrcmuxfilter.cc \
++ v4llookup.cc \
++ videoadapter.cc \
++ videocapturer.cc \
++ videocommon.cc \
++ videoframe.cc
++
++libjinglesessionphone_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/session/phone
++libjinglesessionphone_include_HEADERS = audioframe.h \
++ audiomonitor.h \
++ call.h \
++ channel.h \
++ channelmanager.h \
++ codec.h \
++ cryptoparams.h \
++ currentspeakermonitor.h \
++ devicemanager.h \
++ fakedevicemanager.h \
++ fakemediaengine.h \
++ fakemediaprocessor.h \
++ fakenetworkinterface.h \
++ fakertp.h \
++ fakevideocapturer.h \
++ fakevideorenderer.h \
++ fakewebrtccommon.h \
++ fakewebrtcdeviceinfo.h \
++ fakewebrtcvcmfactory.h \
++ fakewebrtcvideocapturemodule.h \
++ fakewebrtcvideoengine.h \
++ fakewebrtcvoiceengine.h \
++ filemediaengine.h \
++ gtkvideorenderer.h \
++ libudevsymboltable.h \
++ linuxdevicemanager.h \
++ mediachannel.h \
++ mediacommon.h \
++ mediaengine.h \
++ mediamessages.h \
++ mediamonitor.h \
++ mediarecorder.h \
++ mediasessionclient.h \
++ mediasession.h \
++ mediasink.h \
++ nullvideorenderer.h \
++ rtcpmuxfilter.h \
++ rtpdump.h \
++ rtputils.h \
++ screencastid.h \
++ soundclip.h \
++ srtpfilter.h \
++ ssrcmuxfilter.h \
++ streamparams.h \
++ v4llookup.h \
++ videoadapter.h \
++ videocapturer.h \
++ videocommon.h \
++ videoframe.h \
++ videoprocessor.h \
++ videorenderer.h \
++ videorendererfactory.h \
++ voicechannel.h \
++ voiceprocessor.h
++
++libjinglesessionphone_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION)
++
++libjinglesessionphone_la_LIBADD = $(LIBSRTP_LIBS) $(GTK2_LIBS)
++
++AM_CPPFLAGS := -DPOSIX $(LIBSRTP_CFLAGS) $(GTK2_CFLAGS)
+diff -up libjingle-0.6.10/talk/session/tunnel/Makefile.am.SANITY libjingle-0.6.10/talk/session/tunnel/Makefile.am
+--- libjingle-0.6.10/talk/session/tunnel/Makefile.am.SANITY 2012-02-13 22:26:51.894198599 -0500
++++ libjingle-0.6.10/talk/session/tunnel/Makefile.am 2012-02-13 22:26:51.894198599 -0500
+@@ -0,0 +1,16 @@
++lib_LTLIBRARIES = libjinglesessiontunnel.la
++
++libjinglesessiontunnel_la_SOURCES = tunnelsessionclient.cc \
++ securetunnelsessionclient.cc \
++ pseudotcpchannel.cc
++
++libjinglesessiontunnel_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/session/tunnel
++
++libjinglesessiontunnel_include_HEADERS = tunnelsessionclient.h \
++ pseudotcpchannel.h \
++ securetunnelsessionclient.h
++
++libjinglesessiontunnel_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION)
++
++AM_CXXFLAGS = -DPOSIX
++
+diff -up libjingle-0.6.10/talk/sound/Makefile.am.SANITY libjingle-0.6.10/talk/sound/Makefile.am
+--- libjingle-0.6.10/talk/sound/Makefile.am.SANITY 2012-02-13 22:26:51.894198599 -0500
++++ libjingle-0.6.10/talk/sound/Makefile.am 2012-02-13 22:26:51.894198599 -0500
+@@ -0,0 +1,36 @@
++lib_LTLIBRARIES = libjinglesound.la
++
++libjinglesound_la_SOURCES = alsasoundsystem.cc \
++ alsasymboltable.cc \
++ linuxsoundsystem.cc \
++ nullsoundsystem.cc \
++ platformsoundsystem.cc \
++ platformsoundsystemfactory.cc \
++ pulseaudiosoundsystem.cc \
++ pulseaudiosymboltable.cc \
++ soundsysteminterface.cc \
++ soundsystemproxy.cc
++
++libjinglesound_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/sound
++
++libjinglesound_include_HEADERS = alsasoundsystem.h \
++ alsasymboltable.h \
++ automaticallychosensoundsystem.h \
++ linuxsoundsystem.h \
++ nullsoundsystem.h \
++ nullsoundsystemfactory.h \
++ platformsoundsystem.h \
++ platformsoundsystemfactory.h \
++ pulseaudiosoundsystem.h \
++ pulseaudiosymboltable.h \
++ sounddevicelocator.h \
++ soundinputstreaminterface.h \
++ soundoutputstreaminterface.h \
++ soundsystemfactory.h \
++ soundsysteminterface.h \
++ soundsystemproxy.h
++
++libjinglesound_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION)
++
++AM_CXXFLAGS = -DPOSIX
++
+diff -up libjingle-0.6.10/talk/xmllite/Makefile.am.SANITY libjingle-0.6.10/talk/xmllite/Makefile.am
+--- libjingle-0.6.10/talk/xmllite/Makefile.am.SANITY 2012-02-13 22:26:51.895198590 -0500
++++ libjingle-0.6.10/talk/xmllite/Makefile.am 2012-02-13 22:26:51.895198590 -0500
+@@ -0,0 +1,21 @@
++lib_LTLIBRARIES = libjinglexmllite.la
++
++libjinglexmllite_la_SOURCES = qname.cc \
++ xmlbuilder.cc \
++ xmlconstants.cc \
++ xmlelement.cc \
++ xmlnsstack.cc \
++ xmlparser.cc \
++ xmlprinter.cc
++
++libjinglexmllite_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/xmllite
++libjinglexmllite_include_HEADERS = qname.h \
++ xmlbuilder.h \
++ xmlconstants.h \
++ xmlelement.h \
++ xmlnsstack.h \
++ xmlparser.h \
++ xmlprinter.h
++AM_CPPFLAGS = -DPOSIX
++
++libjinglexmllite_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION) $(EXPAT_LIBS)
+diff -up libjingle-0.6.10/talk/xmpp/Makefile.am.SANITY libjingle-0.6.10/talk/xmpp/Makefile.am
+--- libjingle-0.6.10/talk/xmpp/Makefile.am.SANITY 2012-02-13 22:26:51.896198581 -0500
++++ libjingle-0.6.10/talk/xmpp/Makefile.am 2012-02-13 22:26:51.895198590 -0500
+@@ -0,0 +1,57 @@
++lib_LTLIBRARIES = libjinglexmpp.la
++
++libjinglexmpp_la_SOURCES = constants.cc \
++ hangoutpubsubclient.cc \
++ iqtask.cc \
++ jid.cc \
++ moduleimpl.cc \
++ mucroomconfigtask.cc \
++ mucroomhistorytask.cc \
++ mucroomlookuptask.cc \
++ pubsubclient.cc \
++ pubsub_task.cc \
++ pubsubtasks.cc \
++ receivetask.cc \
++ saslmechanism.cc \
++ xmppclient.cc \
++ xmppengineimpl.cc \
++ xmppengineimpl_iq.cc \
++ xmpplogintask.cc \
++ xmppstanzaparser.cc \
++ xmpptask.cc
++
++libjinglexmpp_includedir = $(includedir)/libjingle- at LIBJINGLE_MAJORMINOR@/talk/xmpp
++libjinglexmpp_include_HEADERS = asyncsocket.h \
++ chatroommodule.h \
++ constants.h \
++ fakexmppclient.h \
++ hangoutpubsubclient.h \
++ iqtask.h \
++ jid.h \
++ module.h \
++ moduleimpl.h \
++ mucroomconfigtask.h \
++ mucroomhistorytask.h \
++ mucroomlookuptask.h \
++ plainsaslhandler.h \
++ prexmppauth.h \
++ pubsubclient.h \
++ pubsub_task.h \
++ pubsubtasks.h \
++ receivetask.h \
++ rostermodule.h \
++ saslcookiemechanism.h \
++ saslhandler.h \
++ saslmechanism.h \
++ saslplainmechanism.h \
++ xmppclient.h \
++ xmppclientsettings.h \
++ xmppengine.h \
++ xmppengineimpl.h \
++ xmpplogintask.h \
++ xmppstanzaparser.h \
++ xmpptask.h
++
++libjinglexmpp_la_LDFLAGS = -version-info $(LIBJINGLE_LIBRARY_VERSION)
++
++AM_CPPFLAGS = -DPOSIX
diff --git a/libjingle-0.6.10-fdwalk.patch b/libjingle-0.6.10-fdwalk.patch
new file mode 100644
index 0000000..8ffc3e3
--- /dev/null
+++ b/libjingle-0.6.10-fdwalk.patch
@@ -0,0 +1,113 @@
+diff -up libjingle-0.6.10/talk/base/linuxfdwalk.c.fdwalk libjingle-0.6.10/talk/base/linuxfdwalk.c
+--- libjingle-0.6.10/talk/base/linuxfdwalk.c.fdwalk 2012-02-13 22:27:40.573710020 -0500
++++ libjingle-0.6.10/talk/base/linuxfdwalk.c 2012-02-13 22:27:40.573710020 -0500
+@@ -0,0 +1,98 @@
++/*
++ * libjingle
++ * Copyright 2004--2009, Google Inc.
++ *
++ * Redistribution and use in source and binary forms, with or without
++ * modification, are permitted provided that the following conditions are met:
++ *
++ * 1. Redistributions of source code must retain the above copyright notice,
++ * this list of conditions and the following disclaimer.
++ * 2. Redistributions in binary form must reproduce the above copyright notice,
++ * this list of conditions and the following disclaimer in the documentation
++ * and/or other materials provided with the distribution.
++ * 3. The name of the author may not be used to endorse or promote products
++ * derived from this software without specific prior written permission.
++ *
++ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
++ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
++ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
++ * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
++ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
++ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
++ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
++ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
++ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++ */
++
++#include <sys/types.h>
++#include <dirent.h>
++#include <errno.h>
++#include <stdlib.h>
++#include <string.h>
++
++#include "talk/base/linuxfdwalk.h"
++
++// Parses a file descriptor number in base 10, requiring the strict format used
++// in /proc/*/fd. Returns the value, or -1 if not a valid string.
++static int parse_fd(const char *s) {
++ if (!*s) {
++ // Empty string is invalid.
++ return -1;
++ }
++ int val = 0;
++ do {
++ if (*s < '0' || *s > '9') {
++ // Non-numeric characters anywhere are invalid.
++ return -1;
++ }
++ int digit = *s++ - '0';
++ val = val * 10 + digit;
++ } while (*s);
++ return val;
++}
++
++int fdwalk(void (*func)(void *, int), void *opaque) {
++ DIR *dir = opendir("/proc/self/fd");
++ if (!dir) {
++ return -1;
++ }
++ int opendirfd = dirfd(dir);
++ int parse_errors = 0;
++ struct dirent *ent;
++ // Have to clear errno to distinguish readdir() completion from failure.
++ while (errno = 0, (ent = readdir(dir)) != NULL) {
++ if (strcmp(ent->d_name, ".") == 0 ||
++ strcmp(ent->d_name, "..") == 0) {
++ continue;
++ }
++ // We avoid atoi or strtol because those are part of libc and they involve
++ // locale stuff, which is probably not safe from a post-fork context in a
++ // multi-threaded app.
++ int fd = parse_fd(ent->d_name);
++ if (fd < 0) {
++ parse_errors = 1;
++ continue;
++ }
++ if (fd != opendirfd) {
++ (*func)(opaque, fd);
++ }
++ }
++ int saved_errno = errno;
++ if (closedir(dir) < 0) {
++ if (!saved_errno) {
++ // Return the closedir error.
++ return -1;
++ }
++ // Else ignore it because we have a more relevant error to return.
++ }
++ if (saved_errno) {
++ errno = saved_errno;
++ return -1;
++ } else if (parse_errors) {
++ errno = EBADF;
++ return -1;
++ } else {
++ return 0;
++ }
++}
+diff -up libjingle-0.6.10/talk/base/Makefile.am.fdwalk libjingle-0.6.10/talk/base/Makefile.am
+--- libjingle-0.6.10/talk/base/Makefile.am.fdwalk 2012-02-13 22:28:41.816095350 -0500
++++ libjingle-0.6.10/talk/base/Makefile.am 2012-02-13 22:29:00.871904092 -0500
+@@ -32,6 +32,7 @@ libjinglebase_la_SOURCES = asyncfile.cc
+ latebindingsymboltable.cc \
+ libdbusglibsymboltable.cc \
+ linux.cc \
++ linuxfdwalk.c \
+ logging.cc \
+ md5c.c \
+ messagehandler.cc \
diff --git a/libjingle-0.6.10-gcc47.patch b/libjingle-0.6.10-gcc47.patch
new file mode 100644
index 0000000..d0eea2d
--- /dev/null
+++ b/libjingle-0.6.10-gcc47.patch
@@ -0,0 +1,11 @@
+diff -up libjingle-0.6.10/talk/base/rollingaccumulator.h.gcc47 libjingle-0.6.10/talk/base/rollingaccumulator.h
+--- libjingle-0.6.10/talk/base/rollingaccumulator.h.gcc47 2012-03-20 14:26:40.942543661 -0400
++++ libjingle-0.6.10/talk/base/rollingaccumulator.h 2012-03-20 14:26:49.219519117 -0400
+@@ -29,6 +29,7 @@
+ #define TALK_BASE_ROLLINGACCUMULATOR_H_
+
+ #include <vector>
++#include <unistd.h>
+
+ #include "talk/base/common.h"
+
diff --git a/libjingle-0.6.10-nextfix.patch b/libjingle-0.6.10-nextfix.patch
new file mode 100644
index 0000000..2182884
--- /dev/null
+++ b/libjingle-0.6.10-nextfix.patch
@@ -0,0 +1,68 @@
+diff -up libjingle-0.6.10/talk/base/messagequeue.h.nextfix libjingle-0.6.10/talk/base/messagequeue.h
+--- libjingle-0.6.10/talk/base/messagequeue.h.nextfix 2012-01-12 17:59:48.000000000 -0500
++++ libjingle-0.6.10/talk/base/messagequeue.h 2012-02-13 20:59:48.528641310 -0500
+@@ -42,7 +42,7 @@
+ #include "talk/base/scoped_ref_ptr.h"
+ #include "talk/base/sigslot.h"
+ #include "talk/base/socketserver.h"
+-#include "talk/base/timeutils.h"
++#include "talk/base/time.h"
+
+ namespace talk_base {
+
+diff -up libjingle-0.6.10/talk/base/timeutils.h.nextfix libjingle-0.6.10/talk/base/timeutils.h
+--- libjingle-0.6.10/talk/base/timeutils.h.nextfix 2012-01-12 17:59:48.000000000 -0500
++++ libjingle-0.6.10/talk/base/timeutils.h 2012-02-13 20:59:48.529641300 -0500
+@@ -30,8 +30,7 @@
+
+ #ifndef WIN32
+ #include <time.h>
+-#endif
+-
++#else
+ #include "talk/base/basictypes.h"
+
+ namespace talk_base {
+@@ -86,5 +85,6 @@ inline int32 TimeUntil(uint32 later) {
+ }
+
+ } // namespace talk_base
++#endif // WIN32
+
+ #endif // TALK_BASE_TIMEUTILS_H_
+diff -up libjingle-0.6.10/talk/p2p/base/pseudotcp.cc.nextfix libjingle-0.6.10/talk/p2p/base/pseudotcp.cc
+--- libjingle-0.6.10/talk/p2p/base/pseudotcp.cc.nextfix 2012-01-12 17:59:48.000000000 -0500
++++ libjingle-0.6.10/talk/p2p/base/pseudotcp.cc 2012-02-13 20:59:48.531641280 -0500
+@@ -38,7 +38,7 @@
+ #include "talk/base/logging.h"
+ #include "talk/base/socket.h"
+ #include "talk/base/stringutils.h"
+-#include "talk/base/timeutils.h"
++#include "talk/base/time.h"
+
+ // The following logging is for detailed (packet-level) analysis only.
+ #define _DBG_NONE 0
+diff -up libjingle-0.6.10/talk/session/phone/rtpdump.cc.nextfix libjingle-0.6.10/talk/session/phone/rtpdump.cc
+--- libjingle-0.6.10/talk/session/phone/rtpdump.cc.nextfix 2012-01-12 17:59:48.000000000 -0500
++++ libjingle-0.6.10/talk/session/phone/rtpdump.cc 2012-02-13 20:59:48.532641270 -0500
+@@ -33,7 +33,7 @@
+
+ #include "talk/base/byteorder.h"
+ #include "talk/base/logging.h"
+-#include "talk/base/timeutils.h"
++#include "talk/base/time.h"
+ #include "talk/session/phone/rtputils.h"
+
+ namespace cricket {
+diff -up libjingle-0.6.10/talk/session/phone/videocommon.h.nextfix libjingle-0.6.10/talk/session/phone/videocommon.h
+--- libjingle-0.6.10/talk/session/phone/videocommon.h.nextfix 2012-01-12 17:59:48.000000000 -0500
++++ libjingle-0.6.10/talk/session/phone/videocommon.h 2012-02-13 20:59:48.533641259 -0500
+@@ -31,7 +31,7 @@
+ #include <string>
+
+ #include "talk/base/basictypes.h"
+-#include "talk/base/timeutils.h"
++#include "talk/base/time.h"
+
+ namespace cricket {
+
diff --git a/libjingle.spec b/libjingle.spec
index 98cbf90..32da8e3 100644
--- a/libjingle.spec
+++ b/libjingle.spec
@@ -1,12 +1,12 @@
Name: libjingle
-Version: 0.6.0
-Release: 2%{?dist}
+Version: 0.6.10
+Release: 1%{?dist}
Summary: GoogleTalk implementation of Jingle
Group: System Environment/Libraries
License: BSD
URL: http://code.google.com/apis/talk/libjingle/
Source0: http://libjingle.googlecode.com/files/%{name}-%{version}.zip
-Patch0: libjingle-0.6.0-build-sanity.patch
+Patch0: libjingle-0.6.10-build-sanity.patch
# talk/base/basictypes.h and talk/base/logging.h must be included
# before any header with __BEGIN_DECLS, notably, sys/types.h
Patch1: libjingle-0.5.1-C-linkage-fix.patch
@@ -34,23 +34,29 @@ Patch6: libjingle-0.5.1-unixfilesystemfix.patch
Patch7: libjingle-0.5.8-system-expat.patch
Patch8: libjingle-0.5.8-system-srtp.patch
# Fix devicemanager.cc to compile
-Patch9: libjingle-0.6.0-devicemanager-fix.patch
+Patch9: libjingle-0.6.6-devicemanager-fix.patch
# Fix v4llookup.cc to compile
Patch10: libjingle-0.5.8-v4llookup-fix.patch
# Fix type and definition conflicts with Chromium
-Patch11: libjingle-0.5.1-fixconflict.patch
-# Fix 64bit typedefs to not conflict with Chromium, nspr
-Patch12: libjingle-0.5.1-64bittypes.patch
+Patch11: libjingle-0.6.6-fixconflict.patch
# From Chromium, make qname threadsafe
-Patch13: libjingle-0.6.0-qname-threadsafe.patch
+# Patch13: libjingle-0.6.0-qname-threadsafe.patch
# Make sure linux.h/linux.cc pulls in config.h for LINUX define
Patch14: libjingle-0.5.8-config-linux.patch
# Fix 0.5.2 compilation
-Patch16: libjingle-0.5.2-compilefix.patch
+Patch16: libjingle-0.6.6-compilefix.patch
# Fix missing cstdlib for size_t
Patch17: libjingle-0.6.0-size_t.patch
# Fix obsolete macro usage
Patch18: libjingle-0.5.8-fixmacro.patch
+# Work around their stupidity re time.h and timeutils.h
+Patch19: libjingle-0.6.10-nextfix.patch
+# Gcc 4.7.0 no longer includes unistd.h by default
+Patch20: libjingle-0.6.6-unistd.patch
+# Add missing fdwalk bits from svn
+Patch21: libjingle-0.6.10-fdwalk.patch
+# Fix gcc compile issues
+Patch22: libjingle-0.6.10-gcc47.patch
BuildRequires: libtool, autoconf, automake
BuildRequires: openssl-devel
@@ -100,12 +106,15 @@ developing applications that use %{name}.
%patch9 -p1 -b .alsa
%patch10 -p1 -b .v4lfix
%patch11 -p1 -b .fixconflict
-%patch12 -p1 -b .64bit
-%patch13 -p1 -b .threadsafe
+# %patch13 -p1 -b .threadsafe
%patch14 -p1 -b .config
%patch16 -p1 -b .compilefix
%patch17 -p1 -b .size_t
%patch18 -p1 -b .fixmacro
+# %patch19 -p1 -b .nextfix
+%patch20 -p1 -b .unistd
+%patch21 -p1 -b .fdwalk
+%patch22 -p1 -b .gcc47
touch NEWS ChangeLog
autoreconf -i
@@ -150,6 +159,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon Feb 13 2012 Tom Callaway <spot at fedoraproject.org> - 0.6.10-1
+- update to 0.6.10
+
+* Thu Jan 5 2012 Tom Callaway <spot at fedoraproject.org> - 0.6.6-1
+- update to 0.6.6
+
* Tue Sep 27 2011 Tom Callaway <spot at fedoraproject.org> - 0.6.0-2
- fix phone bits up
- properly bump to 0.6
diff --git a/sources b/sources
index f7f0eec..9f56c35 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3d453c38a5345532aad230dbd9ac3bde libjingle-0.6.0.zip
+605b84f45d314f4fba0ba9f9ab679f83 libjingle-0.6.10.zip
More information about the scm-commits
mailing list