Portage is a package management system used by Gentoo Linux
# ChangeLog for net-im/sim
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.90 2008/07/03 07:25:58 pva Exp $
*sim-0.9.4.3-r3 (03 Jul 2008)
03 Jul 2008; Peter Volkov
+files/sim-0.9.4.3-old-protocol.patch, +sim-0.9.4.3-r3.ebuild:
Fixed "ICQ client outdated" problem.
*sim-0.9.4.3-r2 (30 May 2008)
30 May 2008; Peter Volkov
+files/sim-0.9.4.3-sslv23.patch, sim-0.9.4.3-r1.ebuild,
+sim-0.9.4.3-r2.ebuild:
Fix for ssl connection problems with newer openssl versions, bug #224095
thank Anton Bolshakov for report!
11 May 2008; Peter Volkov
Fixed dependencies, e.g. flex should not be in RDEPEND, bug #221339 thank
Diego Pettenò for report.
04 May 2008; Peter Volkov
Use berlios mirror://, bug #218657, thank Gilles Dartiguelongue for
report.
22 Jan 2008;
sim-9999.ebuild:
Fixed depends for kde-4, bug 206732, thank Ingmar Vanhassel for the fix.
Updated sim live svn ebuild to use cmake based build, bug 200684, thank you
Bernd Steinhauser
old ebuild.
14 Jan 2008; Christoph Mende
Stable on amd64 wrt bug #202113
14 Dec 2007; nixnut
Stable on ppc wrt bug 202113
*sim-9999 (14 Dec 2007)
14 Dec 2007;
Added live svn ebuild, suggested by Bernd Steinhauser
13 Dec 2007; Markus Meier
x86 stable, bug #202113
18 Nov 2007;
Fixed fetch location. Thank Jakub
*sim-0.9.4.3-r1 (17 Nov 2007)
17 Nov 2007;
sim-0.9.4.3.ebuild, +sim-0.9.4.3-r1.ebuild:
Fixed duplicate jabber messages, bug #199434, reported by Sebastian Lechte
22 Jul 2007;
Removed virtual/x11 dependency.
17 Apr 2007;
Cleaning partially broken (ICQ changes) version.
16 Apr 2007; Christian Faulhammer
stable amd64, bug 172446
07 Apr 2007; Tobias Scherbaum
ppc stable, bug #172446
28 Mar 2007; Andrej Kacian
Stable on x86, bug #172446.
27 Mar 2007;
Fetch restriction due to uncertainty in icons and sounds licensing.
*sim-0.9.4.3 (11 Mar 2007)
11 Mar 2007;
Version bump.
06 Feb 2007;
Cleaning broken version (bug #162898).
06 Feb 2007; Simon Stelling
stable on amd64; bug 162898
23 Jan 2007; nixnut
Stable on ppc wrt bug 162898
21 Jan 2007; Andrej Kacian
Stable on x86, bug #162898.
*sim-0.9.4.2 (20 Jan 2007)
20 Jan 2007;
Version bump. Fixed major bug resulted in inability to receive messages from
other programs. See bug #162898 for details. Thank Ikar
and Vadim Kalinnikov
09 Jan 2007; Andrej Kacian
Stable on x86, bug #160034.
07 Jan 2007; Tobias Scherbaum
ppc stable, bug #160034
05 Jan 2007; Diego Pettenò
sim-0.9.4.1.ebuild:
Remove debug.eclass usage.
04 Jan 2007; Peter Weller (welp)
Stable on amd64 wrt bug #160034
*sim-0.9.4.1 (24 Oct 2006)
24 Oct 2006; Peter Volkov
Version bump.
25 Sep 2006;
stable on amd64
23 Sep 2006; Peter Volkov
need-auto* functions removed. See bug #148719.
29 Aug 2006; Tobias Scherbaum
ppc stable, bug #145333
29 Aug 2006; Joshua Jackson
Stable x86; bug #145333
28 Aug 2006; Peter Volkov
-sim-0.9.4_pre060131-r1.ebuild, -sim-0.9.4_pre060504.ebuild:
Cleaning out old versions.
*sim-0.9.4 (06 Jul 2006)
06 Jul 2006; Peter Volkov
Version bump. New release after 2.5 years. Thank all who worked on bug 138963.
*sim-0.9.4_pre060504 (05 May 2006)
05 May 2006; Peter Volkov
+sim-0.9.4_pre060504.ebuild:
Version bump. Cleaning out broken ebuild.
30 Mar 2006; Peter Volkov
Fix for missed xscreensaver dependency in autoaway plugin.
31 Jan 2006; Stephanie Lockwood-Childs
sim-0.9.4_pre060114.ebuild, sim-0.9.4_pre060131-r1.ebuild,
sim-0.9.4_pre060131.ebuild:
mark pre060114 -ppc, pre060131 and pre060131-r1 ~ppc (Bug #119379)
*sim-0.9.4_pre060131-r1 (31 Jan 2006)
31 Jan 2006; Peter Volkov
Fixed problem reported in bug #83071. Parallel build broken bug #121089,
workaround added.
*sim-0.9.4_pre060131 (31 Jan 2006)
31 Jan 2006; Peter Volkov
Version bump. Fixed bug #119683, and may be bug reported in #119379 comment 1.
31 Jan 2006; Peter Volkov
-files/sim-0.9.1-configure.in.patch, -files/sim-0.9.1-head.patch,
-files/sim-0.9.2-configure.in.patch, -files/sim-0.9.2-head.patch,
-files/sim-0.9.3-alt-histpreview-apply-fix.diff,
-files/sim-0.9.3-gcc34.diff, -sim-0.8.3.ebuild, -sim-0.9.2.ebuild,
-sim-0.9.3-r1.ebuild, -sim-0.9.3-r2.ebuild, -sim-0.9.3-r3.ebuild:
Sim was long time in package mask. Thus I'm cleaning out previous versions not
to allow people to fall back on them.
16 Jan 2006; Peter Volkov
Backticks are not necessary in "if" statements... removed. Thanks Thomas
Fischer for pointing my attention on this abc-fact.
*sim-0.9.4_pre060114 (15 Jan 2006)
15 Jan 2006; Peter Volkov
+sim-0.9.4_pre060114.ebuild:
Svn snapshot (exported on 060114) bump. Added maintainer and longdescription
into metadata.xml.
16 Sep 2005; Ciaran McCreesh
Converted to UTF-8, fixed encoding screwups
28 Jul 2005; Caleb Tennis
fix qt per bug #100235
12 May 2005; Gregorio Guidi
Correct dependencies (#89307).
29 Jan 2005; Gregorio Guidi
sim-0.9.3-r3.ebuild:
Proper usage of kde eclasses, to make sure KDEDIR is defined (#33079).
15 Jan 2005; Dan Armak
sim-0.9.3-r3.ebuild:
Changed dep on a kde-base monolithic package to accept the equivalent split
or -meta package. KDE 3.4 has 'split' packages as well as monolithic, and
either alternative may provide the same files. This dep may have to be
narrowed down in the future to the precise split packages required.
*sim-0.9.3-r3 (19 Oct 2004)
19 Oct 2004; Dylan Carlson
+files/sim-0.9.3-alt-histpreview-apply-fix.diff,
+files/sim-0.9.3-gcc34.diff, sim-0.9.3-r2.ebuild, +sim-0.9.3-r3.ebuild:
Revision to close bug 66835. Made some gcc34 fixes and a patch for history
bug. This package is stinky and unstable and needs help upstream.
28 Jun 2004; Aron Griffis
sim-0.9.2.ebuild, sim-0.9.3-r1.ebuild:
fix use invocation, add sed-4 dep
27 Apr 2004; Aron Griffis
Add inherit eutils
26 Apr 2004; Aron Griffis
Add die following econf for bug 48950
25 Apr 2004; Daniel Ahlberg
Updated dependencies for kde, autoconf and automake.
18 Apr 2004; Daniel Ahlberg
Added workaround for QT sandbox and use debug flag.
13 Apr 2004; Michael Sterrett
don't use deprecated ? : use syntax
*sim-0.9.3-r2 (13 Apr 2004)
13 Apr 2004; Daniel Ahlberg
* Rewrote some parts of the ebuild, treat it as a non-kde ebuild, closing #43129.
* Added libxslt to DEPEND, closing #46928.
13 Apr 2004; Daniel Ahlberg
sim-0.9.2.ebuild:
Updated SRC_URI.
*sim-0.9.3-r1 (02 Apr 2004)
02 Apr 2004; Daniel Ahlberg
Bugfix: when receiving messages and open container minimized the messages
wasn't marked as read.
*sim-0.9.3 (01 Apr 2004)
01 Apr 2004; Daniel Ahlberg
Version bump, found by Serge Matveev
27 Feb 2004; Daniel Ahlberg
x86 unmask.
21 Jan 2004; Daniel Ahlberg
Clean before compiling. Closing #38240.
19 Jan 2004; Daniel Ahlberg
Use admin dir from CVS. Export WANT_AUTOMAKE and WANT_AUTOCONF versions instead of just setting them.
15 Jan 2004; Sergey Kuleshov
Added sablotron to dependencies as it is required since version 0.9.2.
14 Jan 2004; Martin Holzer
fixing digest. Closes 38212
14 Jan 2004; Daniel Ahlberg
Make it work regardless of automake version installed. Also unmask.
*sim-0.9.2 (14 Jan 2004)
14 Jan 2004; Daniel Ahlberg
Version bump. Closing #36787.
14 Jan 2004; Daniel Ahlberg
Mask 0.9.1 becuse of masked dependencies and unmask 0.9, closing #38145.
26 Nov 2003; Daniel Ahlberg
Added dependecy to automake-1.7.8. Closing #34352.
*sim-0.9.1 (09 Nov 2003)
09 Nov 2003; Daniel Ahlberg
Version bump.
05 Nov 2003; Sergey Kuleshov
files/icqlogon-gentoo.patch:
Add patch to fix ICQ login. Closing bug #32800. Thanks to Robert Führicht
*sim-0.9 (04 Nov 2003)
04 Nov 2003; Daniel Ahlberg
Version bump. Not tested by me since it segfaults on amd64. Closing #32599.
27 Oct 2003; Daniel Ahlberg
Various cleanups and fixes. Closing #30637. Cleanded out old ebuilds.
17 Sep 2003; Daniel Ahlberg
Fixed dependencies and made econf a little pretties. Closing #23797.
*sim-0.8.3 (12 Aug 2003)
12 Aug 2003; Daniel Ahlberg
Version bump. Found by Serge Matveev
*sim-0.8.2-r2 (30 Jun 2003)
30 Jun 2003; Daniel Ahlberg
Removed sim-patches from SRC_URI since it's changing and causes digest mismatchs. Instead I've
put all patches in files/. Closing #23098.
*sim-0.8.2-r1 (17 Jun 2003)
17 Jun 2003; Daniel Ahlberg
Added all outstanding patches compiled by Marcel Meckel
from http://sourceforge.net/mailarchive/forum.php?thread_id=2559093&forum_id=10461.
Thanks to Mårten Woxberg
*sim-0.8.2 (20 May 2003)
20 May 2003; Daniel Ahlberg
Version bump.
*sim-0.8.1 (19 Dec 2002)
06 Apr 2003; Dan Armak
Mark as x86 stable.
05 Mar 2003; Bartosch Pixa
set ~ppc in keywords
19 Dec 2002; Daniel Ahlberg
Version bump. Cleaned up ebuild.
05 Dec 2002; Dan Armak
Add patch to fix compilation problems. Hopefully close bugs #9385 and #9567.
*sim-0.8 (25 Oct 2002)
25 Oct 2002; Dan Armak
New upstream release.
*sim-0.7 (12 Sep 2002)
12 Sep 2002; Dan Armak
New upstream version. Also readded support for turning kde support off,
thus closing bug #6003. Also added the proper USE ssl -controlled deps
and configure options for openssl support.
*sim-0.6 (28 Jul 2002)
28 Jul 2002; Dan Armak
Initial ebuild. Closes submission #4915 by Julian Scheel.
Although sim is capable of running without kde (qt only), I had problems
with that and at least for now (and likely until someone asks me to try
again) the ebuild always enables KDE support.
AUX sim-0.9.4.3-double-message-fix.patch 882 RMD160 adf7304d31d6cb90b4c64098b5ec993355d050fc SHA1 43d1dc1d32cc8a229b1ff6759f1e5bc6f6bdc627 SHA256 997d40dd9a23b55e02c8dc0a5c9bcf81de93b0dd0c2bea673961e1e31d76cc41
AUX sim-0.9.4.3-old-protocol.patch 1731 RMD160 b4d1edd03bb5e0bc4c09f086aeebfcb191961a63 SHA1 4212939e384c412a62ddeec97f3f8c56b1d4bca7 SHA256 b22dc52ce2b03ae421cbf737f3898367c69e678ddffd274002cdf3557dd2346b
AUX sim-0.9.4.3-sslv23.patch 336 RMD160 21dd720d0fb3594b452c931143fd9f206ed70a5a SHA1 1581ff9f660bd9ec5f56f97f7edeeec000a717a6 SHA256 c79e982824a1b8cd7da1dc06a180cfb8a51a4a5a863dcaa4deb749c1390848f3
DIST sim-0.9.4.3-r1919_1924.patch.bz2 53044 RMD160 9982bc984fb8befe0680cae7115fdad575936458 SHA1 e8e7cc8da756f5e7686e416afe79a42cb76442d9 SHA256 80717eac7096c6a4b72edcf88c90926e0cd1e8760dd101f5a3986e6d3f16e17f
DIST sim-0.9.4.3.tar.bz2 3251965 RMD160 2a1ced43d1e25e7b4fc95a88b7356c9991252d3c SHA1 6d181b4cb6b8470dd874a409578c02504f157b3e SHA256 305ee38897f11b2e68471d0f771f5487ac08e77f5ca2d47e2c350894ffc1a1b9
EBUILD sim-0.9.4.3-r1.ebuild 2771 RMD160 35bfac8eb62057c7f2dc06080107ce843e4d2fe5 SHA1 0a4ebc264e4435bd095ddf840daee31691842978 SHA256 84ff1d146b83f5dec9573abe54cf0685cc9fd53868b4451fdd72a3740b85cced
EBUILD sim-0.9.4.3-r2.ebuild 2814 RMD160 8ce2edb9fcf05bc52477a12df7cb744587cff55b SHA1 cf9fc11a3c653f02f2f0ddb11f4dcb8ae0d72b35 SHA256 245d85a9171890e255c8cad996ed92c26cdbe1621578cee2b30cdafbe1d9dced
EBUILD sim-0.9.4.3-r3.ebuild 2860 RMD160 b11b6171f1e95dc0cfa1cb9c73e5167359278913 SHA1 e7d34050f400aecb912b7520f11866ebedc4ade6 SHA256 9ec14e5ca1aee8860f034d5ab6a640b3bab2b7f7b46cdff25b1d3dd79400e591
EBUILD sim-9999.ebuild 3119 RMD160 b3d2f3eb4762c90f35d9ac023ec8d9ac00b26588 SHA1 01fc65e74a9abb12730cc9dbe017bb42bac97bcc SHA256 007eb4e96904f72bd8d8f022ff3ebea9d970494e9fa14ac4de9b1795127d37da
MISC ChangeLog 13419 RMD160 29ea602bb4a7061b36029e4db6577aac19c9a8fb SHA1 d803e72668800f5d255ad6f06434342157187267 SHA256 2ea0af9334879caf6b0a32742afe435e28df489986ba3f5a8365ff9138c68b53
MISC metadata.xml 507 RMD160 7ff8ac8164276338a780a1e8441ca14b7f41a7e4 SHA1 b1b15267602a354ad1124c9eccf281b5b5960d2f SHA256 260177f2cc2f6010a6d29dccb4190b8d7480f5af803fb73bdf0ac151a685b92f
SIM-IM (SIM Instant Messenger) is plugins-based instant messenger with support
for various protocols: Oscar (ICQ and AIM support), Jabber, LiveJournal, MSN,
Yahoo. Based on the Qt library and has optional with KDE support.
# Copyright 1999-2008 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.9 2008/05/30 07:33:53 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="mirror://berlios/sim-im/${P}.tar.bz2
http://dev.gentoo.org/~pva/${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-3.5*
|| ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* ) )
!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-3.5*" 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-3.5*" 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-3.5*" 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
}
# Copyright 1999-2008 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-r2.ebuild,v 1.1 2008/05/30 07:33:53 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="mirror://berlios/sim-im/${P}.tar.bz2
http://dev.gentoo.org/~pva/${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-3.5*
|| ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* ) )
!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-3.5*" 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-3.5*" 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-3.5*" arts; then
myconf="--without-arts"
fi
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-double-message-fix.patch
epatch "${FILESDIR}"/${P}-sslv23.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
}
# Copyright 1999-2008 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-r3.ebuild,v 1.1 2008/07/03 07:25:58 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="mirror://berlios/sim-im/${P}.tar.bz2
http://dev.gentoo.org/~pva/${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-3.5*
|| ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* ) )
!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-3.5*" 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-3.5*" 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-3.5*" arts; then
myconf="--without-arts"
fi
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-double-message-fix.patch
epatch "${FILESDIR}"/${P}-sslv23.patch
epatch ../${P}-r1919_1924.patch
epatch "${FILESDIR}"/${P}-old-protocol.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
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-im/sim/sim-9999.ebuild,v 1.3 2008/05/11 13:24:42 pva Exp $
EAPI="1"
inherit cmake-utils kde-functions eutils flag-o-matic subversion
ESVN_REPO_URI="svn://svn.berlios.de/sim-im/trunk"
ESVN_PROJECT="sim-im"
DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo."
HOMEPAGE="http://sim-im.org/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug gpg +jabber kde msn +oscar sms spell ssl weather yahoo livejournal"
# It's possible to disable/enable pluging defining SIMCMAKEOPTS. E.g. put
# SIMCMAKEOPTS="-DENABLE_PLUGIN_TRANSPARENT:BOOL=Off"
# inside /etc/portage/env/net-im/sim to disable transparent plugin.
# kdebase-data provides the icon "licq.png"
RDEPEND="kde? ( kde-base/kdelibs:3.5
|| ( kde-base/kdebase-data:3.5 kde-base/kdebase:3.5 ) )
!kde? ( spell? ( app-text/aspell ) )
x11-libs/qt:3
ssl? ( dev-libs/openssl )
gpg? ( app-crypt/gnupg )
dev-libs/libxml2
dev-libs/libxslt
sys-libs/zlib
media-libs/fontconfig
x11-libs/libXScrnSaver"
DEPEND="${RDEPEND}
sys-devel/flex
app-arch/zip
x11-proto/scrnsaverproto"
pkg_setup() {
if use kde; then
if use spell; then
if ! built_with_use "kde-base/kdelibs:3.5" 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:3.5" 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
fi
if ! use jabber && ! use livejournal && ! use msn && ! use oscar && ! use yahoo; then
eerror "Sim requires at least one instant messaging protocol to be"
eerror "activated. The available protocols are:"
eerror "\"jabber livejournal msn oscar yahoo\"."
die "No instant messaging protocol activated."
fi
}
src_compile() {
if use kde; then
set-kdedir 3
fi
mycmakeargs="${mycmakeargs}
$(cmake-utils_use_enable debug PLUGIN_LOGGER)
$(cmake-utils_use_enable gpg PLUGIN_GPG)
$(cmake-utils_use_enable jabber PLUGIN_JABBER)
$(cmake-utils_use_enable livejournal PLUGIN_LIVEJOURNAL)
$(cmake-utils_use_enable kde KDE3)
$(cmake-utils_use_enable msn PLUGIN_MSN)
$(cmake-utils_use_enable oscar PLUGIN_ICQ)
$(cmake-utils_use_enable sms PLUGIN_SMS)
$(cmake-utils_use_enable spell PLUGIN_SPELL)
$(cmake-utils_use_enable ssl OPENSSL)
$(cmake-utils_use_enable weather PLUGIN_WEATHER)
$(cmake-utils_use_enable yahoo PLUGIN_YAHOO)
-DENABLE_PLUGIN_UPDATE:BOOL=Off
${SIMCMAKEOPTS}"
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
dodoc TODO TODO.CMake README AUTHORS.sim jisp-resources.txt ChangeLog
}