Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/sim: ChangeLog sim-0.9.4.3-r3.ebuild
Date: Thu, 03 Jul 2008 07:26:05
Message-Id: E1KEJCZ-0003Fg-2A@stork.gentoo.org
1 pva 08/07/03 07:25:59
2
3 Modified: ChangeLog
4 Added: sim-0.9.4.3-r3.ebuild
5 Log:
6 Fixed "ICQ client outdated" problem.
7 (Portage version: 2.2_rc1/cvs/Linux 2.6.22-ovz005 i686)
8
9 Revision Changes Path
10 1.90 net-im/sim/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/sim/ChangeLog?rev=1.90&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/sim/ChangeLog?rev=1.90&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/sim/ChangeLog?r1=1.89&r2=1.90
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v
19 retrieving revision 1.89
20 retrieving revision 1.90
21 diff -u -r1.89 -r1.90
22 --- ChangeLog 30 May 2008 07:33:53 -0000 1.89
23 +++ ChangeLog 3 Jul 2008 07:25:58 -0000 1.90
24 @@ -1,6 +1,12 @@
25 # ChangeLog for net-im/sim
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.89 2008/05/30 07:33:53 pva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/sim/ChangeLog,v 1.90 2008/07/03 07:25:58 pva Exp $
29 +
30 +*sim-0.9.4.3-r3 (03 Jul 2008)
31 +
32 + 03 Jul 2008; Peter Volkov <pva@g.o>
33 + +files/sim-0.9.4.3-old-protocol.patch, +sim-0.9.4.3-r3.ebuild:
34 + Fixed "ICQ client outdated" problem.
35
36 *sim-0.9.4.3-r2 (30 May 2008)
37
38
39
40
41 1.1 net-im/sim/sim-0.9.4.3-r3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/sim/sim-0.9.4.3-r3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/sim/sim-0.9.4.3-r3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: sim-0.9.4.3-r3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $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 $
51
52 inherit kde-functions eutils flag-o-matic
53
54 DESCRIPTION="Simple Instant Messenger (with KDE support). ICQ/AIM/Jabber/MSN/Yahoo."
55 HOMEPAGE="http://sim-im.org/"
56 SRC_URI="mirror://berlios/sim-im/${P}.tar.bz2
57 http://dev.gentoo.org/~pva/${P}-r1919_1924.patch.bz2"
58 LICENSE="GPL-2"
59
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE="debug kde spell ssl"
63
64 RESTRICT="fetch"
65
66 # kdebase-data provides the icon "licq.png"
67 RDEPEND="kde? ( =kde-base/kdelibs-3.5*
68 || ( =kde-base/kdebase-data-3.5* =kde-base/kdebase-3.5* ) )
69 !kde? ( $(qt_min_version 3)
70 spell? ( app-text/aspell ) )
71 ssl? ( dev-libs/openssl )
72 dev-libs/libxml2
73 dev-libs/libxslt
74 sys-libs/zlib
75 x11-libs/libXScrnSaver"
76
77 DEPEND="${RDEPEND}
78 sys-devel/flex
79 app-arch/zip
80 x11-proto/scrnsaverproto"
81
82 pkg_nofetch() {
83 einfo "${CATEGORY}/${P} contains icons and sounds with unclear licensing and thus"
84 einfo "you have to download and it put into '${DISTDIR}' by yourself."
85 einfo "Download location:"
86 echo
87 einfo "${SRC_URI}"
88 echo
89 einfo "See http://archives.gentoo.org/gentoo-dev/msg_144003.xml for further"
90 einfo "information."
91 }
92
93 pkg_setup() {
94 if use kde; then
95 if use spell; then
96 if ! built_with_use "=kde-base/kdelibs-3.5*" spell; then
97 ewarn "kde-base/kdelibs were merged without spell in USE."
98 ewarn "Thus spelling will not work in sim. Please, either"
99 ewarn "reemerge kde-base/kdelibs with spell in USE or emerge"
100 ewarn 'sim with USE="-spell" to avoid this message.'
101 ebeep
102 fi
103 else
104 if built_with_use "=kde-base/kdelibs-3.5*" spell; then
105 ewarn 'kde-base/kdelibs were merged with spell in USE.'
106 ewarn 'Thus spelling will work in sim. Please, either'
107 ewarn 'reemerge kde-base/kdelibs without spell in USE or emerge'
108 ewarn 'sim with USE="spell" to avoid this message.'
109 ebeep
110 fi
111 fi
112 if ! built_with_use "=kde-base/kdelibs-3.5*" arts; then
113 myconf="--without-arts"
114 fi
115 fi
116 }
117
118 src_unpack() {
119 unpack ${A}
120 cd "${S}"
121
122 epatch "${FILESDIR}"/${P}-double-message-fix.patch
123 epatch "${FILESDIR}"/${P}-sslv23.patch
124 epatch ../${P}-r1919_1924.patch
125 epatch "${FILESDIR}"/${P}-old-protocol.patch
126 if use kde; then
127 set-kdedir 3
128 fi
129 }
130
131 src_compile() {
132 filter-flags -fstack-protector -fstack-protector-all
133
134 # Workaround for bug #119906
135 append-flags -fno-stack-protector
136
137 use kde || use spell || export DO_NOT_COMPILE="$DO_NOT_COMPILE plugins/spell"
138
139 econf ${myconf} $(use_enable kde) \
140 $(use_with ssl) \
141 $(use_enable debug) || die "econf failed"
142
143 emake -j1 || die "make failed"
144 }
145
146 src_install() {
147 make DESTDIR="${D}" install || die "make install failed."
148 dodoc TODO README AUTHORS.sim jisp-resources.txt ChangeLog
149 }
150
151
152
153 --
154 gentoo-commits@l.g.o mailing list