Version bump. Fixed major bug resulted in inability to receive messages from other...
authorPeter Volkov <pva@gentoo.org>
Sat, 20 Jan 2007 20:49:34 +0000 (20:49 +0000)
committerPeter Volkov <pva@gentoo.org>
Sat, 20 Jan 2007 20:49:34 +0000 (20:49 +0000)
Package-Manager: portage-2.1.1-r2

net-im/sim/ChangeLog
net-im/sim/files/digest-sim-0.9.4.2 [new file with mode: 0644]
net-im/sim/sim-0.9.4.2.ebuild [new file with mode: 0644]

index 6e2c8c7b0ea54d303d57cb352a8c95809693905c..d63cf90f2f7b2f41d2af22c56d14b1f25943afcc 100644 (file)
@@ -1,6 +1,12 @@
 # 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.66 2007/01/09 01:59:27 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.67 2007/01/20 20:49:34 pva Exp $
+
+*sim-0.9.4.2 (20 Jan 2007)
+
+  20 Jan 2007; <pva@gentoo.org> -sim-0.9.4.ebuild, +sim-0.9.4.2.ebuild:
+  Version bump. Fixed major bug resulted in inability to receive messages from
+  other programs. See bug #162898 for details.
 
   09 Jan 2007; Andrej Kacian <ticho@gentoo.org> sim-0.9.4.1.ebuild:
   Stable on x86, bug #160034.
diff --git a/net-im/sim/files/digest-sim-0.9.4.2 b/net-im/sim/files/digest-sim-0.9.4.2
new file mode 100644 (file)
index 0000000..7d398aa
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 80e56dbf394ee8fdcb9dae13647cd6ee sim-0.9.4.2.tar.bz2 3152089
+RMD160 9a10f53821524854057557185cac02181657cb25 sim-0.9.4.2.tar.bz2 3152089
+SHA256 bc6042d6bab8c5b60c836a079bd4c3fcdbb80669080100e5b1f31a5b5552b52d sim-0.9.4.2.tar.bz2 3152089
diff --git a/net-im/sim/sim-0.9.4.2.ebuild b/net-im/sim/sim-0.9.4.2.ebuild
new file mode 100644 (file)
index 0000000..188f03a
--- /dev/null
@@ -0,0 +1,85 @@
+# 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.2.ebuild,v 1.1 2007/01/20 20:49:34 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"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug kde spell ssl"
+
+# 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 virtual/x11 )"
+
+DEPEND="${RDEPEND}
+       sys-devel/flex
+       app-arch/zip
+       || ( x11-proto/scrnsaverproto virtual/x11 )
+       >=sys-devel/libtool-1.5.22"
+
+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}
+
+       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
+}