diff options
author | Johannes Huber <johu@gentoo.org> | 2012-08-28 12:27:50 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2012-08-28 12:27:50 +0000 |
commit | 54a0131c015b5421d8a523a980e2dd0e1a8d422b (patch) | |
tree | 429561a4e387a1e116ee868c7a5b93e138963e03 /net-im/ktp-text-ui | |
parent | Add csync package required for miral owncloud service. (diff) | |
download | gentoo-2-54a0131c015b5421d8a523a980e2dd0e1a8d422b.tar.gz gentoo-2-54a0131c015b5421d8a523a980e2dd0e1a8d422b.tar.bz2 gentoo-2-54a0131c015b5421d8a523a980e2dd0e1a8d422b.zip |
Remove KDE Telepathy 0.4.0.
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'net-im/ktp-text-ui')
-rw-r--r-- | net-im/ktp-text-ui/ChangeLog | 7 | ||||
-rw-r--r-- | net-im/ktp-text-ui/files/ktp-text-ui-0.4.0-reduce-libpurple-delay.patch | 43 | ||||
-rw-r--r-- | net-im/ktp-text-ui/ktp-text-ui-0.4.0-r1.ebuild | 41 | ||||
-rw-r--r-- | net-im/ktp-text-ui/ktp-text-ui-0.4.0.ebuild | 39 |
4 files changed, 6 insertions, 124 deletions
diff --git a/net-im/ktp-text-ui/ChangeLog b/net-im/ktp-text-ui/ChangeLog index 7534daab19bd..327daf00bbeb 100644 --- a/net-im/ktp-text-ui/ChangeLog +++ b/net-im/ktp-text-ui/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-im/ktp-text-ui # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-text-ui/ChangeLog,v 1.8 2012/08/28 12:06:03 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-text-ui/ChangeLog,v 1.9 2012/08/28 12:27:49 johu Exp $ + + 28 Aug 2012; Johannes Huber <johu@gentoo.org> -ktp-text-ui-0.4.0.ebuild, + -ktp-text-ui-0.4.0-r1.ebuild, + -files/ktp-text-ui-0.4.0-reduce-libpurple-delay.patch: + Remove KDE Telepathy 0.4.0. *ktp-text-ui-0.5.0 (28 Aug 2012) diff --git a/net-im/ktp-text-ui/files/ktp-text-ui-0.4.0-reduce-libpurple-delay.patch b/net-im/ktp-text-ui/files/ktp-text-ui-0.4.0-reduce-libpurple-delay.patch deleted file mode 100644 index bc1ad87b2fc5..000000000000 --- a/net-im/ktp-text-ui/files/ktp-text-ui-0.4.0-reduce-libpurple-delay.patch +++ /dev/null @@ -1,43 +0,0 @@ -commit 04a419887ba7102726ae4168294da613ea58a6e2 -Author: Martin Klapetek <martin.klapetek@gmail.com> -Date: Wed Jul 18 14:58:33 2012 +0200 - - Don't spam the channel with Composing state if the state actually hasn't changed - - This fixes delays in messages with some accounts like ICQ/AIM, however if user sends quickly too many messages, - they will still be delayed (by libpurple), just considerably less. Now we're on par with Empathy and Kopete, - that's all we can do about it. - - Reviewed-by: George Kiagiadakis - BUG: 300655 - FIXED-IN: 0.4.1 - -diff --git a/lib/chat-widget.cpp b/lib/chat-widget.cpp -index e3439d8..e30d7b5 100644 ---- a/lib/chat-widget.cpp -+++ b/lib/chat-widget.cpp -@@ -862,13 +862,21 @@ void ChatWidget::onChannelInvalidated() - void ChatWidget::onInputBoxChanged() - { - //if the box is empty -- bool textBoxEmpty = !d->ui.sendMessageBox->toPlainText().isEmpty(); -+ bool textBoxEmpty = d->ui.sendMessageBox->toPlainText().isEmpty(); - -- //FIXME buffer what we've sent to telepathy, make this more efficient. -- if(textBoxEmpty) { -+ //if the timer is active, it means the user is continuously typing -+ if (d->pausedStateTimer->isActive()) { -+ //just restart the timer and don't spam with chat state changes -+ d->pausedStateTimer->start(5000); -+ return; -+ } -+ -+ if(!textBoxEmpty) { -+ //if the user has typed some text, set state to Composing and start the timer - d->channel->requestChatState(Tp::ChannelChatStateComposing); - d->pausedStateTimer->start(5000); - } else { -+ //if the user typed no text/cleared the input field, set Active and stop the timer - d->channel->requestChatState(Tp::ChannelChatStateActive); - d->pausedStateTimer->stop(); - } diff --git a/net-im/ktp-text-ui/ktp-text-ui-0.4.0-r1.ebuild b/net-im/ktp-text-ui/ktp-text-ui-0.4.0-r1.ebuild deleted file mode 100644 index 7d659be36dc0..000000000000 --- a/net-im/ktp-text-ui/ktp-text-ui-0.4.0-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-text-ui/ktp-text-ui-0.4.0-r1.ebuild,v 1.1 2012/07/19 00:43:40 johu Exp $ - -EAPI=4 - -KDE_LINGUAS="ca cs da de el es et fi fr ga gl hu it ja km lt nb nds nl pl pt -pt_BR sk sr sr@ijekavian sr@ijekavianlatin sr@latin sv ug uk zh_CN zh_TW" -KDE_SCM="git" -inherit kde4-base - -DESCRIPTION="KDE Telepathy text chat window" -HOMEPAGE="http://community.kde.org/Real-Time_Communication_and_Collaboration" -if [[ ${PV} != *9999* ]]; then - SRC_URI="mirror://kde/unstable/kde-telepathy/${PV}/src/${P}.tar.bz2" - KEYWORDS="~amd64 ~x86" -else - KEYWORDS="" -fi - -LICENSE="GPL-2" -SLOT="4" -IUSE="debug +history" - -DEPEND=" - >=net-libs/telepathy-qt-0.9.1 - history? ( net-libs/telepathy-logger-qt ) -" -RDEPEND="${DEPEND} - >=net-im/ktp-contact-list-${PV} -" - -PATCHES=( "${FILESDIR}/${P}-reduce-libpurple-delay.patch" ) - -src_configure() { - mycmakeargs=( - $(cmake-utils_use_with history TelepathyLoggerQt4) - ) - - cmake-utils_src_configure -} diff --git a/net-im/ktp-text-ui/ktp-text-ui-0.4.0.ebuild b/net-im/ktp-text-ui/ktp-text-ui-0.4.0.ebuild deleted file mode 100644 index 518a4f58b566..000000000000 --- a/net-im/ktp-text-ui/ktp-text-ui-0.4.0.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-im/ktp-text-ui/ktp-text-ui-0.4.0.ebuild,v 1.1 2012/07/13 14:30:32 johu Exp $ - -EAPI=4 - -KDE_LINGUAS="ca cs da de el es et fi fr ga gl hu it ja km lt nb nds nl pl pt -pt_BR sk sr sr@ijekavian sr@ijekavianlatin sr@latin sv ug uk zh_CN zh_TW" -KDE_SCM="git" -inherit kde4-base - -DESCRIPTION="KDE Telepathy text chat window" -HOMEPAGE="http://community.kde.org/Real-Time_Communication_and_Collaboration" -if [[ ${PV} != *9999* ]]; then - SRC_URI="mirror://kde/unstable/kde-telepathy/${PV}/src/${P}.tar.bz2" - KEYWORDS="~amd64 ~x86" -else - KEYWORDS="" -fi - -LICENSE="GPL-2" -SLOT="4" -IUSE="debug +history" - -DEPEND=" - >=net-libs/telepathy-qt-0.9.1 - history? ( net-libs/telepathy-logger-qt ) -" -RDEPEND="${DEPEND} - >=net-im/ktp-contact-list-${PV} -" - -src_configure() { - mycmakeargs=( - $(cmake-utils_use_with history TelepathyLoggerQt4) - ) - - cmake-utils_src_configure -} |