summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2007-11-17 17:23:46 +0000
committerPeter Volkov <pva@gentoo.org>2007-11-17 17:23:46 +0000
commita21453865c4eff02421131d931060b16bf427c48 (patch)
treeef2597f44ceb647409dff1ef0d2fadd097909591 /net-im
parentStable on ppc wrt bug 199454 (diff)
downloadgentoo-2-a21453865c4eff02421131d931060b16bf427c48.tar.gz
gentoo-2-a21453865c4eff02421131d931060b16bf427c48.tar.bz2
gentoo-2-a21453865c4eff02421131d931060b16bf427c48.zip
Fixed duplicate jabber messages, bug #199434, reported by Sebastian Lechte <seb AT stian.lechte.net>. Some other upsteam fixes.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/sim/ChangeLog9
-rw-r--r--net-im/sim/files/digest-sim-0.9.4.3-r16
-rw-r--r--net-im/sim/files/sim-0.9.4.3-double-message-fix.patch24
-rw-r--r--net-im/sim/sim-0.9.4.3-r1.ebuild100
-rw-r--r--net-im/sim/sim-0.9.4.3.ebuild4
5 files changed, 140 insertions, 3 deletions
diff --git a/net-im/sim/ChangeLog b/net-im/sim/ChangeLog
index 3c43b99b08f8..9030cfb01dd0 100644
--- a/net-im/sim/ChangeLog
+++ b/net-im/sim/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-im/sim
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.79 2007/07/22 06:19:57 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.80 2007/11/17 17:23:45 pva Exp $
+
+*sim-0.9.4.3-r1 (17 Nov 2007)
+
+ 17 Nov 2007; <pva@gentoo.org> +files/sim-0.9.4.3-double-message-fix.patch,
+ sim-0.9.4.3.ebuild, +sim-0.9.4.3-r1.ebuild:
+ Fixed duplicate jabber messages, bug #199434, reported by Sebastian Lechte
+ <seb AT stian.lechte.net>. Some other upsteam fixes.
22 Jul 2007; <pva@gentoo.org> sim-0.9.4.3.ebuild:
Removed virtual/x11 dependency.
diff --git a/net-im/sim/files/digest-sim-0.9.4.3-r1 b/net-im/sim/files/digest-sim-0.9.4.3-r1
new file mode 100644
index 000000000000..2bb858af2716
--- /dev/null
+++ b/net-im/sim/files/digest-sim-0.9.4.3-r1
@@ -0,0 +1,6 @@
+MD5 f941238d01e81705dfc42c7f3a626479 sim-0.9.4.3-r1919_1924.patch.bz2 53044
+RMD160 9982bc984fb8befe0680cae7115fdad575936458 sim-0.9.4.3-r1919_1924.patch.bz2 53044
+SHA256 80717eac7096c6a4b72edcf88c90926e0cd1e8760dd101f5a3986e6d3f16e17f sim-0.9.4.3-r1919_1924.patch.bz2 53044
+MD5 4bc30577e619e05252d394d51dc20747 sim-0.9.4.3.tar.bz2 3251965
+RMD160 2a1ced43d1e25e7b4fc95a88b7356c9991252d3c sim-0.9.4.3.tar.bz2 3251965
+SHA256 305ee38897f11b2e68471d0f771f5487ac08e77f5ca2d47e2c350894ffc1a1b9 sim-0.9.4.3.tar.bz2 3251965
diff --git a/net-im/sim/files/sim-0.9.4.3-double-message-fix.patch b/net-im/sim/files/sim-0.9.4.3-double-message-fix.patch
new file mode 100644
index 000000000000..1f0cb2bb1ff5
--- /dev/null
+++ b/net-im/sim/files/sim-0.9.4.3-double-message-fix.patch
@@ -0,0 +1,24 @@
+Patch fixes the issue of double message text display when receiving Jabber
+messages from some clients like Pidgin.
+
+Issue was reported as BerliOS.de bug #9681 (http://tinyurl.com/3bnss4)
+
+Patch extracted from http://tinyurl.com/yob7wm
+
+Prepared by Kir Kolyshkin <kir@openvz.org>, thanks to shaplov@
+
+--- sim-0.9.4.3/plugins/jabber/jabber_rosters.cpp.double-msg 2007-01-19 20:00:41.000000000 +0300
++++ sim-0.9.4.3/plugins/jabber/jabber_rosters.cpp 2007-10-10 01:43:44.000000000 +0400
+@@ -1413,9 +1413,10 @@
+ }
+ if (m_bEvent){
+ // Parsing <x xmlns='jabber:x:event'> tag, which contains JEP-0022 event info
+- if (!strcmp(el, "composing"))
++ if (!strcmp(el, "composing")){
+ m_bCompose = true;
+- return;
++ return;
++ }
+ }
+ if (!strcmp(el, "url-data")){
+ m_target = JabberClient::get_attr("target", attr);
diff --git a/net-im/sim/sim-0.9.4.3-r1.ebuild b/net-im/sim/sim-0.9.4.3-r1.ebuild
new file mode 100644
index 000000000000..cca148e403dc
--- /dev/null
+++ b/net-im/sim/sim-0.9.4.3-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.9.4.3-r1.ebuild,v 1.1 2007/11/17 17:23:45 pva Exp $
+
+inherit kde-functions eutils flag-o-matic
+
+DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo."
+HOMEPAGE="http://sim-im.org/"
+SRC_URI="http://download.berlios.de/sim-im/${P}.tar.bz2
+ mirror://gentoo/${P}-r1919_1924.patch.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug kde spell ssl"
+
+RESTRICT="fetch"
+
+# kdebase-data provides the icon "licq.png"
+RDEPEND="kde? ( kde-base/kdelibs
+ || ( kde-base/kdebase-data kde-base/kdebase ) )
+ !kde? ( $(qt_min_version 3)
+ spell? ( app-text/aspell ) )
+ ssl? ( dev-libs/openssl )
+ dev-libs/libxml2
+ dev-libs/libxslt
+ sys-libs/zlib
+ x11-libs/libXScrnSaver"
+
+DEPEND="${RDEPEND}
+ sys-devel/flex
+ app-arch/zip
+ x11-proto/scrnsaverproto"
+
+pkg_nofetch() {
+ einfo "${CATEGORY}/${P} contains icons and sounds with unclear licensing and thus"
+ einfo "you have to download and it put into ${DISTDIR} by yourself."
+ einfo "Download location:"
+ echo
+ einfo "${SRC_URI}"
+ echo
+ einfo "See http://archives.gentoo.org/gentoo-dev/msg_144003.xml for further"
+ einfo "information."
+}
+
+pkg_setup() {
+ if use kde ; then
+ if use spell; then
+ if ! built_with_use kde-base/kdelibs spell ; then
+ ewarn "kde-base/kdelibs were merged without spell in USE."
+ ewarn "Thus spelling will not work in sim. Please, either"
+ ewarn "reemerge kde-base/kdelibs with spell in USE or emerge"
+ ewarn 'sim with USE="-spell" to avoid this message.'
+ ebeep
+ fi
+ else
+ if built_with_use kde-base/kdelibs spell ; then
+ ewarn 'kde-base/kdelibs were merged with spell in USE.'
+ ewarn 'Thus spelling will work in sim. Please, either'
+ ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge'
+ ewarn 'sim with USE="spell" to avoid this message.'
+ ebeep
+ fi
+ fi
+ if ! built_with_use kde-base/kdelibs arts ; then
+ myconf="--without-arts"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${P}-double-message-fix.patch
+ epatch ../${P}-r1919_1924.patch
+ if use kde ; then
+ set-kdedir 3
+ fi
+}
+
+src_compile() {
+ filter-flags -fstack-protector -fstack-protector-all
+
+ # Workaround for bug #119906
+ append-flags -fno-stack-protector
+
+ use kde || use spell || export DO_NOT_COMPILE="$DO_NOT_COMPILE plugins/spell"
+
+ econf ${myconf} `use_enable kde` \
+ `use_with ssl` \
+ `use_enable debug` || die "econf failed"
+
+ emake -j1 || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed."
+ dodoc TODO README AUTHORS.sim jisp-resources.txt ChangeLog
+}
diff --git a/net-im/sim/sim-0.9.4.3.ebuild b/net-im/sim/sim-0.9.4.3.ebuild
index 56147d19cbd1..288f4d5c1b41 100644
--- a/net-im/sim/sim-0.9.4.3.ebuild
+++ b/net-im/sim/sim-0.9.4.3.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/net-im/sim/sim-0.9.4.3.ebuild,v 1.6 2007/07/22 06:19:57 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-0.9.4.3.ebuild,v 1.7 2007/11/17 17:23:45 pva Exp $
inherit kde-functions eutils flag-o-matic
@@ -69,7 +69,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
if use kde ; then
set-kdedir 3