diff options
author | Wulf Krueger <philantrop@gentoo.org> | 2007-07-07 23:52:59 +0000 |
---|---|---|
committer | Wulf Krueger <philantrop@gentoo.org> | 2007-07-07 23:52:59 +0000 |
commit | ca61202191fefcc9310766e3e7bba0522c2c5ca2 (patch) | |
tree | b9829f65d7e9fa2851b49d631f36efe5ccacfc8a /kde-base/kopete | |
parent | New release, fixes daemon issues. (diff) | |
download | gentoo-2-ca61202191fefcc9310766e3e7bba0522c2c5ca2.tar.gz gentoo-2-ca61202191fefcc9310766e3e7bba0522c2c5ca2.tar.bz2 gentoo-2-ca61202191fefcc9310766e3e7bba0522c2c5ca2.zip |
Added the patches from bugs 151089 and 154421 which fix compile failures with the kdeenablefinal and sametime USE flags respectively. Minor whitespace fixes.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'kde-base/kopete')
-rw-r--r-- | kde-base/kopete/ChangeLog | 10 | ||||
-rw-r--r-- | kde-base/kopete/files/kopete-3.5.5-enable-final-redefines.patch | 107 | ||||
-rw-r--r-- | kde-base/kopete/files/kopete-3.5.5-status-visibility.patch | 19 | ||||
-rw-r--r-- | kde-base/kopete/kopete-3.5.5-r2.ebuild | 14 | ||||
-rw-r--r-- | kde-base/kopete/kopete-3.5.6.ebuild | 8 |
5 files changed, 149 insertions, 9 deletions
diff --git a/kde-base/kopete/ChangeLog b/kde-base/kopete/ChangeLog index 004e28eb4a1e..41d2445d6c93 100644 --- a/kde-base/kopete/ChangeLog +++ b/kde-base/kopete/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for kde-base/kopete # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/ChangeLog,v 1.114 2007/05/23 12:15:00 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/ChangeLog,v 1.115 2007/07/07 23:52:59 philantrop Exp $ + + 07 Jul 2007; Wulf C. Krueger <philantrop@gentoo.org> + +files/kopete-3.5.5-enable-final-redefines.patch, + +files/kopete-3.5.5-status-visibility.patch, kopete-3.5.5-r2.ebuild, + kopete-3.5.6.ebuild: + Added the patches from bugs 151089 and 154421 which fix compile failures + with the kdeenablefinal and sametime USE flags respectively. Minor + whitespace fixes. 23 May 2007; Carsten Lohrke <carlo@gentoo.org> kopete-3.5.7.ebuild: Remove unnecessary patch. diff --git a/kde-base/kopete/files/kopete-3.5.5-enable-final-redefines.patch b/kde-base/kopete/files/kopete-3.5.5-enable-final-redefines.patch new file mode 100644 index 000000000000..0bac4228e9ca --- /dev/null +++ b/kde-base/kopete/files/kopete-3.5.5-enable-final-redefines.patch @@ -0,0 +1,107 @@ +--- kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/base/asynctcpsocket.cc.orig 2006-12-22 21:43:20.000000000 -0800 ++++ kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/base/asynctcpsocket.cc 2006-12-22 21:46:00.000000000 -0800 +@@ -52,9 +52,9 @@ + typedef uint16 PacketLength; + const size_t PKT_LEN_SIZE = sizeof(PacketLength); + +-const size_t BUF_SIZE = MAX_PACKET_SIZE + PKT_LEN_SIZE; ++const size_t TCP_BUF_SIZE = MAX_PACKET_SIZE + PKT_LEN_SIZE; + +-AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket) : AsyncPacketSocket(socket), insize_(BUF_SIZE), inpos_(0), outsize_(BUF_SIZE), outpos_(0) { ++AsyncTCPSocket::AsyncTCPSocket(AsyncSocket* socket) : AsyncPacketSocket(socket), insize_(TCP_BUF_SIZE), inpos_(0), outsize_(TCP_BUF_SIZE), outpos_(0) { + inbuf_ = new char[insize_]; + outbuf_ = new char[outsize_]; + +--- kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/base/asyncudpsocket.cc.orig 2006-10-01 10:26:45.000000000 -0700 ++++ kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/base/asyncudpsocket.cc 2006-12-22 21:44:03.000000000 -0800 +@@ -48,10 +48,10 @@ + + namespace cricket { + +-const int BUF_SIZE = 64 * 1024; ++const int UDP_BUF_SIZE = 64 * 1024; + + AsyncUDPSocket::AsyncUDPSocket(AsyncSocket* socket) : AsyncPacketSocket(socket) { +- size_ = BUF_SIZE; ++ size_ = UDP_BUF_SIZE; + buf_ = new char[size_]; + + assert(socket_); +--- kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/base/stl_decl.h.orig 2006-10-01 10:26:45.000000000 -0700 ++++ kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/base/stl_decl.h 2006-12-22 21:49:33.000000000 -0800 +@@ -45,7 +45,7 @@ + template <class T, class Alloc> class vector; + template <class T, class Alloc> class list; + template <class T, class Alloc> class slist; +- template <class T, class Alloc, size_t BufSiz> class deque; ++ template <class T, class Alloc> class deque; + template <class T, class Sequence> class stack; + template <class T, class Sequence> class queue; + template <class T, class Sequence, class Compare> class priority_queue; +--- kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/port.h.orig 2006-10-01 10:26:44.000000000 -0700 ++++ kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/port.h 2006-12-22 23:12:59.000000000 -0800 +@@ -46,6 +46,9 @@ + class Connection; + class AsyncPacketSocket; + ++extern const int RETRY_DELAY; ++extern const uint32 RETRY_TIMEOUT; ++ + enum ProtocolType { PROTO_UDP, PROTO_TCP, PROTO_SSLTCP, PROTO_LAST = PROTO_SSLTCP }; + const char * ProtoToString(ProtocolType proto); + bool StringToProto(const char * value, ProtocolType& proto); +--- kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/relayport.cc.orig 2006-10-01 10:26:44.000000000 -0700 ++++ kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/relayport.cc 2006-12-22 23:14:51.000000000 -0800 +@@ -52,9 +52,7 @@ + + namespace cricket { + +-const int KEEPALIVE_DELAY = 10 * 60 * 1000; +-const int RETRY_DELAY = 50; // 50ms, from ICE spec +-const uint32 RETRY_TIMEOUT = 50 * 1000; // ICE says 50 secs ++const int RELAY_KEEPALIVE_DELAY = 10 * 60 * 1000; + + const uint32 MSG_DISPOSE_SOCKET = 100; // needs to be more than ID used by Port + typedef TypedMessageData<AsyncPacketSocket *> DisposeSocketData; +@@ -460,7 +458,7 @@ + } + + void RelayEntry::ScheduleKeepAlive() { +- requests_.SendDelayed(new AllocateRequest(this), KEEPALIVE_DELAY); ++ requests_.SendDelayed(new AllocateRequest(this), RELAY_KEEPALIVE_DELAY); + } + + void RelayEntry::HandleConnectFailure() { +--- kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/stunport.cc.orig 2006-10-01 10:26:44.000000000 -0700 ++++ kopete-3.5.5/kopete/protocols/jabber/jingle/libjingle/talk/p2p/base/stunport.cc 2006-12-22 23:11:48.000000000 -0800 +@@ -48,10 +48,11 @@ + + namespace cricket { + +-const int KEEPALIVE_DELAY = 10 * 1000; // 10 seconds - sort timeouts + const int RETRY_DELAY = 50; // 50ms, from ICE spec + const uint32 RETRY_TIMEOUT = 50 * 1000; // ICE says 50 secs + ++const int STUN_KEEPALIVE_DELAY = 10 * 1000; // 10 seconds - sort timeouts ++ + // Handles a binding request sent to the STUN server. + class StunPortBindingRequest : public StunRequest { + public: +@@ -81,7 +82,7 @@ + + // We will do a keep-alive regardless of whether this request suceeds. + // This should have almost no impact on network usage. +- port_->requests_.SendDelayed(new StunPortBindingRequest(port_), KEEPALIVE_DELAY); ++ port_->requests_.SendDelayed(new StunPortBindingRequest(port_), STUN_KEEPALIVE_DELAY); + } + + virtual void OnErrorResponse(StunMessage* response) { +@@ -96,7 +97,7 @@ + } + + if (GetMillisecondCount() - start_time_ <= RETRY_TIMEOUT) +- port_->requests_.SendDelayed(new StunPortBindingRequest(port_), KEEPALIVE_DELAY); ++ port_->requests_.SendDelayed(new StunPortBindingRequest(port_), STUN_KEEPALIVE_DELAY); + } + + virtual void OnTimeout() { diff --git a/kde-base/kopete/files/kopete-3.5.5-status-visibility.patch b/kde-base/kopete/files/kopete-3.5.5-status-visibility.patch new file mode 100644 index 000000000000..e3c09008a8bd --- /dev/null +++ b/kde-base/kopete/files/kopete-3.5.5-status-visibility.patch @@ -0,0 +1,19 @@ +--- kopete-3.5.5/kopete/libkopete/kopeteonlinestatusmanager.h.orig 2006-12-15 23:33:46.000000000 -0800 ++++ kopete-3.5.5/kopete/libkopete/kopeteonlinestatusmanager.h 2006-12-15 23:34:33.000000000 -0800 +@@ -21,6 +21,7 @@ + #include <qobject.h> + #include "kopeteonlinestatus.h" + #include "kaction.h" ++#include "kopete_export.h" + + class QString; + class QPixmap; +@@ -38,7 +39,7 @@ + * + * @author Olivier Goffart + */ +-class OnlineStatusManager : public QObject ++class KOPETE_EXPORT OnlineStatusManager : public QObject + { + Q_OBJECT + public: diff --git a/kde-base/kopete/kopete-3.5.5-r2.ebuild b/kde-base/kopete/kopete-3.5.5-r2.ebuild index f28878ac56ad..0ce08940abd9 100644 --- a/kde-base/kopete/kopete-3.5.5-r2.ebuild +++ b/kde-base/kopete/kopete-3.5.5-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/kopete-3.5.5-r2.ebuild,v 1.14 2007/05/12 22:17:52 cryos Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/kopete-3.5.5-r2.ebuild,v 1.15 2007/07/07 23:52:59 philantrop Exp $ KMNAME=kdenetwork MAXKDEVER=$PV @@ -15,9 +15,9 @@ HOMEPAGE="http://kopete.kde.org/" KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" IUSE="jingle sametime ssl xscreensaver slp kernel_linux latex crypt - winpopup sms irc yahoo gadu groupwise netmeeting statistics autoreplace - connectionstatus contactnotes translator webpresence texteffect highlight - alias autoreplace history nowlistening addbookmarks kdehiddenvisibility" + winpopup sms irc yahoo gadu groupwise netmeeting statistics autoreplace + connectionstatus contactnotes translator webpresence texteffect highlight + alias autoreplace history nowlistening addbookmarks kdehiddenvisibility" # The kernel_linux? ( ) conditional dependencies are for webcams, not supported # on other kernels AFAIK @@ -81,6 +81,12 @@ src_unpack() { epatch "${FILESDIR}/${P}-icqfix.patch" + # Fixes bug 154421 + epatch "${FILESDIR}/${P}-status-visibility.patch" + + # Fixes bug 151089 + epatch "${FILESDIR}/${P}-enable-final-redefines.patch" + epatch "${FILESDIR}/kdenetwork-3.5.5-linux-headers-2.6.18.patch" use latex || kopete_disable plugin latex diff --git a/kde-base/kopete/kopete-3.5.6.ebuild b/kde-base/kopete/kopete-3.5.6.ebuild index efb8607d5ad6..dc1eb034e289 100644 --- a/kde-base/kopete/kopete-3.5.6.ebuild +++ b/kde-base/kopete/kopete-3.5.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/kopete-3.5.6.ebuild,v 1.4 2007/05/12 22:17:52 cryos Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kopete/kopete-3.5.6.ebuild,v 1.5 2007/07/07 23:52:59 philantrop Exp $ KMNAME=kdenetwork MAXKDEVER=$PV @@ -15,9 +15,9 @@ HOMEPAGE="http://kopete.kde.org/" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="jingle sametime ssl xscreensaver slp kernel_linux latex crypt - winpopup sms irc yahoo gadu groupwise netmeeting statistics autoreplace - connectionstatus contactnotes translator webpresence texteffect highlight - alias autoreplace history nowlistening addbookmarks kdehiddenvisibility" + winpopup sms irc yahoo gadu groupwise netmeeting statistics autoreplace + connectionstatus contactnotes translator webpresence texteffect highlight + alias autoreplace history nowlistening addbookmarks kdehiddenvisibility" # The kernel_linux? ( ) conditional dependencies are for webcams, not supported # on other kernels AFAIK |