1 |
commit: f7d25cbc71ea6986bc7d439975637e00705b75b7 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 9 07:27:19 2018 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 9 07:28:02 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7d25cbc |
7 |
|
8 |
net-im/centerim: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
net-im/centerim/Manifest | 1 - |
13 |
net-im/centerim/centerim-4.22.10-r1.ebuild | 130 --------------------- |
14 |
net-im/centerim/centerim-4.22.10.ebuild | 112 ------------------ |
15 |
net-im/centerim/files/centerim-4.22.10-gcc46.patch | 12 -- |
16 |
.../files/centerim-4.22.10-system-expat.patch | 51 -------- |
17 |
net-im/centerim/metadata.xml | 6 - |
18 |
6 files changed, 312 deletions(-) |
19 |
|
20 |
diff --git a/net-im/centerim/Manifest b/net-im/centerim/Manifest |
21 |
index 07c3cf4f8be..7f2a5778c34 100644 |
22 |
--- a/net-im/centerim/Manifest |
23 |
+++ b/net-im/centerim/Manifest |
24 |
@@ -1,2 +1 @@ |
25 |
-DIST centerim-4.22.10.tar.gz 2287832 BLAKE2B 4490284713c18df5a4200c8291f51828d734e7cd9684f42f3c619cf4aff1e2aec18238a34a9bcc53c8620560650e856180e773bb4e51db97f436a8c2b293111a SHA512 1cabb6d455e2c1d2bb70a4330f78a34b54dabbc9a7d77d93ef7a08cfae73958670e86dee06b1fb7cb393c248d9682a491edb19a81cb43e7b0f44513c24759116 |
26 |
DIST centerim5-5.0.1.tar.gz 764152 BLAKE2B 658db040b539a93d4d45e6e05ae57d209c26008ff2061fa3cae0aa4dfd87ca2f4ee78ca0004cd42e14c9f57b124c885f685028332dcb5b2f4e3bf52cab99f796 SHA512 8d9e7cbb1abc3ed8cd91761ebe9a2355c2e39b59cab23de0ad4bfbbf35f4bce062fee5d01b8239d839fc5cef0c74b31187ab1a85a39c46ef679bfc86e628281f |
27 |
|
28 |
diff --git a/net-im/centerim/centerim-4.22.10-r1.ebuild b/net-im/centerim/centerim-4.22.10-r1.ebuild |
29 |
deleted file mode 100644 |
30 |
index 41ca9434836..00000000000 |
31 |
--- a/net-im/centerim/centerim-4.22.10-r1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,130 +0,0 @@ |
34 |
-# Copyright 1999-2015 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI="2" |
38 |
- |
39 |
-inherit eutils autotools |
40 |
- |
41 |
-PROTOCOL_IUSE="+aim gadu +icq +irc +xmpp lj +msn rss +yahoo" |
42 |
-IUSE="${PROTOCOL_IUSE} bidi nls ssl crypt jpeg otr" |
43 |
- |
44 |
-DESCRIPTION="ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber/GaduGadu/RSS/LiveJournal Client" |
45 |
-if [[ ${PV} = *_p* ]] # is this a snaphot? |
46 |
-then |
47 |
- SRC_URI="http://www.centerim.org/download/snapshots/${PN}-${PV/*_p/}.tar.gz" |
48 |
-elif [[ ${PV} = *.*.*.* ]] # is this a mobshot? |
49 |
-then |
50 |
- SRC_URI="http://www.centerim.org/download/mobshots/${P}.tar.gz" |
51 |
-else |
52 |
- SRC_URI="http://www.centerim.org/download/releases/${P}.tar.gz" |
53 |
-fi |
54 |
-HOMEPAGE="http://www.centerim.org/" |
55 |
-SLOT="0" |
56 |
-LICENSE="GPL-2" |
57 |
-KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
58 |
- |
59 |
-DEPEND=">=sys-libs/ncurses-5.2 |
60 |
- dev-libs/expat |
61 |
- bidi? ( dev-libs/fribidi ) |
62 |
- ssl? ( >=dev-libs/openssl-0.9.6g ) |
63 |
- jpeg? ( virtual/jpeg ) |
64 |
- xmpp? ( |
65 |
- otr? ( <net-libs/libotr-4 ) |
66 |
- crypt? ( >=app-crypt/gpgme-1.0.2 ) |
67 |
- ) |
68 |
- msn? ( >=net-misc/curl-7.25.0-r1[ssl] ) |
69 |
- yahoo? ( >=net-misc/curl-7.25.0-r1[ssl] )" |
70 |
- |
71 |
-RDEPEND="${DEPEND} |
72 |
- nls? ( sys-devel/gettext )" |
73 |
- |
74 |
-S="${WORKDIR}"/${P/_p*} |
75 |
- |
76 |
-check_protocol_iuse() { |
77 |
- local flag |
78 |
- |
79 |
- for flag in ${PROTOCOL_IUSE} |
80 |
- do |
81 |
- use ${flag#+} && return 0 |
82 |
- done |
83 |
- |
84 |
- return 1 |
85 |
-} |
86 |
- |
87 |
-pkg_setup() { |
88 |
- if ! check_protocol_iuse |
89 |
- then |
90 |
- eerror |
91 |
- eerror "Please activate at least one of the following protocol USE flags:" |
92 |
- eerror "${PROTOCOL_IUSE//+}" |
93 |
- eerror |
94 |
- die "Please activate at least one protocol USE flag!" |
95 |
- fi |
96 |
- |
97 |
- if use otr && ! use xmpp |
98 |
- then |
99 |
- ewarn |
100 |
- ewarn "Support for OTR is only supported with Jabber!" |
101 |
- ewarn |
102 |
- fi |
103 |
- |
104 |
- if use gadu && ! use jpeg |
105 |
- then |
106 |
- ewarn |
107 |
- ewarn "You need jpeg support to be able to register Gadu-Gadu accounts!" |
108 |
- ewarn |
109 |
- fi |
110 |
-} |
111 |
- |
112 |
-src_prepare() { |
113 |
- epatch "${FILESDIR}"/${P}-gcc46.patch |
114 |
- ( |
115 |
- cd libjabber/ || exit 1 |
116 |
- rm \ |
117 |
- asciitab.h \ |
118 |
- hashtable.[ch] \ |
119 |
- iasciitab.h \ |
120 |
- latin1tab.h \ |
121 |
- utf8tab.h \ |
122 |
- xmldef.h \ |
123 |
- xmlparse.[ch] \ |
124 |
- xmlrole.[ch] \ |
125 |
- xmltok.[ch] \ |
126 |
- xmltok_impl_c.h \ |
127 |
- xmltok_impl.h \ |
128 |
- ) || die |
129 |
- epatch "${FILESDIR}"/${P}-system-expat.patch |
130 |
- eautoreconf |
131 |
- |
132 |
- # Don't execute git commands, bug #228151 |
133 |
- cat >"${S}"/misc/git-version-gen <<-EOF |
134 |
- #!/bin/sh |
135 |
- echo -n "${PVR}" |
136 |
- EOF |
137 |
-} |
138 |
- |
139 |
-src_configure() { |
140 |
- econf \ |
141 |
- $(use_with ssl) \ |
142 |
- $(use_enable aim) \ |
143 |
- $(use_with bidi fribidi) \ |
144 |
- $(use_with jpeg libjpeg) \ |
145 |
- $(use_with otr libotr) \ |
146 |
- $(use_enable gadu gg) \ |
147 |
- $(use_enable icq) \ |
148 |
- $(use_enable irc) \ |
149 |
- $(use_enable xmpp jabber) \ |
150 |
- $(use_enable lj) \ |
151 |
- $(use_enable msn) \ |
152 |
- $(use_enable nls locales-fix) \ |
153 |
- $(use_enable nls) \ |
154 |
- $(use_enable rss) \ |
155 |
- $(use_enable yahoo) \ |
156 |
- || die "econf failed" |
157 |
-} |
158 |
- |
159 |
-src_install () { |
160 |
- emake DESTDIR="${D}" install || die "emake install failed" |
161 |
- |
162 |
- dodoc AUTHORS ChangeLog FAQ README THANKS TODO |
163 |
-} |
164 |
|
165 |
diff --git a/net-im/centerim/centerim-4.22.10.ebuild b/net-im/centerim/centerim-4.22.10.ebuild |
166 |
deleted file mode 100644 |
167 |
index 210b148c598..00000000000 |
168 |
--- a/net-im/centerim/centerim-4.22.10.ebuild |
169 |
+++ /dev/null |
170 |
@@ -1,112 +0,0 @@ |
171 |
-# Copyright 1999-2015 Gentoo Foundation |
172 |
-# Distributed under the terms of the GNU General Public License v2 |
173 |
- |
174 |
-EAPI="2" |
175 |
- |
176 |
-inherit eutils |
177 |
- |
178 |
-PROTOCOL_IUSE="+aim gadu +icq +irc +xmpp lj +msn rss +yahoo" |
179 |
-IUSE="${PROTOCOL_IUSE} bidi nls ssl crypt jpeg otr" |
180 |
- |
181 |
-DESCRIPTION="CenterIM is a ncurses ICQ/Yahoo!/AIM/IRC/MSN/Jabber/GaduGadu/RSS/LiveJournal Client" |
182 |
-if [[ ${PV} = *_p* ]] # is this a snaphot? |
183 |
-then |
184 |
- SRC_URI="http://www.centerim.org/download/snapshots/${PN}-${PV/*_p/}.tar.gz" |
185 |
-elif [[ ${PV} = *.*.*.* ]] # is this a mobshot? |
186 |
-then |
187 |
- SRC_URI="http://www.centerim.org/download/mobshots/${P}.tar.gz" |
188 |
-else |
189 |
- SRC_URI="http://www.centerim.org/download/releases/${P}.tar.gz" |
190 |
-fi |
191 |
-HOMEPAGE="http://www.centerim.org/" |
192 |
-SLOT="0" |
193 |
-LICENSE="GPL-2" |
194 |
-KEYWORDS="amd64 x86 ~x86-fbsd" |
195 |
- |
196 |
-DEPEND=">=sys-libs/ncurses-5.2 |
197 |
- bidi? ( dev-libs/fribidi ) |
198 |
- ssl? ( >=dev-libs/openssl-0.9.6g ) |
199 |
- jpeg? ( virtual/jpeg ) |
200 |
- xmpp? ( |
201 |
- otr? ( <net-libs/libotr-4 ) |
202 |
- crypt? ( >=app-crypt/gpgme-1.0.2 ) |
203 |
- ) |
204 |
- msn? ( >=net-misc/curl-7.25.0-r1[ssl] ) |
205 |
- yahoo? ( >=net-misc/curl-7.25.0-r1[ssl] )" |
206 |
- |
207 |
-RDEPEND="${DEPEND} |
208 |
- nls? ( sys-devel/gettext )" |
209 |
- |
210 |
-S="${WORKDIR}"/${P/_p*} |
211 |
- |
212 |
-check_protocol_iuse() { |
213 |
- local flag |
214 |
- |
215 |
- for flag in ${PROTOCOL_IUSE} |
216 |
- do |
217 |
- use ${flag#+} && return 0 |
218 |
- done |
219 |
- |
220 |
- return 1 |
221 |
-} |
222 |
- |
223 |
-pkg_setup() { |
224 |
- if ! check_protocol_iuse |
225 |
- then |
226 |
- eerror |
227 |
- eerror "Please activate at least one of the following protocol USE flags:" |
228 |
- eerror "${PROTOCOL_IUSE//+}" |
229 |
- eerror |
230 |
- die "Please activate at least one protocol USE flag!" |
231 |
- fi |
232 |
- |
233 |
- if use otr && ! use xmpp |
234 |
- then |
235 |
- ewarn |
236 |
- ewarn "Support for OTR is only supported with Jabber!" |
237 |
- ewarn |
238 |
- fi |
239 |
- |
240 |
- if use gadu && ! use jpeg |
241 |
- then |
242 |
- ewarn |
243 |
- ewarn "You need jpeg support to be able to register Gadu-Gadu accounts!" |
244 |
- ewarn |
245 |
- fi |
246 |
-} |
247 |
- |
248 |
-src_prepare() { |
249 |
- epatch "${FILESDIR}"/${P}-gcc46.patch |
250 |
- |
251 |
- # Don't execute git commands, bug #228151 |
252 |
- cat >"${S}"/misc/git-version-gen <<-EOF |
253 |
- #!/bin/sh |
254 |
- echo -n "${PVR}" |
255 |
- EOF |
256 |
-} |
257 |
- |
258 |
-src_configure() { |
259 |
- econf \ |
260 |
- $(use_with ssl) \ |
261 |
- $(use_enable aim) \ |
262 |
- $(use_with bidi fribidi) \ |
263 |
- $(use_with jpeg libjpeg) \ |
264 |
- $(use_with otr libotr) \ |
265 |
- $(use_enable gadu gg) \ |
266 |
- $(use_enable icq) \ |
267 |
- $(use_enable irc) \ |
268 |
- $(use_enable xmpp jabber) \ |
269 |
- $(use_enable lj) \ |
270 |
- $(use_enable msn) \ |
271 |
- $(use_enable nls locales-fix) \ |
272 |
- $(use_enable nls) \ |
273 |
- $(use_enable rss) \ |
274 |
- $(use_enable yahoo) \ |
275 |
- || die "econf failed" |
276 |
-} |
277 |
- |
278 |
-src_install () { |
279 |
- emake DESTDIR="${D}" install || die "emake install failed" |
280 |
- |
281 |
- dodoc AUTHORS ChangeLog FAQ README THANKS TODO |
282 |
-} |
283 |
|
284 |
diff --git a/net-im/centerim/files/centerim-4.22.10-gcc46.patch b/net-im/centerim/files/centerim-4.22.10-gcc46.patch |
285 |
deleted file mode 100644 |
286 |
index a03e9eabd13..00000000000 |
287 |
--- a/net-im/centerim/files/centerim-4.22.10-gcc46.patch |
288 |
+++ /dev/null |
289 |
@@ -1,12 +0,0 @@ |
290 |
-https://bugs.gentoo.org/show_bug.cgi?id=363017 |
291 |
- |
292 |
---- a/libicq2000/libicq2000/sigslot.h |
293 |
-+++ b/libicq2000/libicq2000/sigslot.h |
294 |
-@@ -82,6 +82,7 @@ |
295 |
- #ifndef SIGSLOT_H__ |
296 |
- #define SIGSLOT_H__ |
297 |
- |
298 |
-+#include <cstddef> |
299 |
- #include <set> |
300 |
- #include <list> |
301 |
- |
302 |
|
303 |
diff --git a/net-im/centerim/files/centerim-4.22.10-system-expat.patch b/net-im/centerim/files/centerim-4.22.10-system-expat.patch |
304 |
deleted file mode 100644 |
305 |
index ef3d52c28c3..00000000000 |
306 |
--- a/net-im/centerim/files/centerim-4.22.10-system-expat.patch |
307 |
+++ /dev/null |
308 |
@@ -1,51 +0,0 @@ |
309 |
-From 539f0dd1b9b81c4b0aece3ab076b1c75073c8062 Mon Sep 17 00:00:00 2001 |
310 |
-From: Sebastian Pipping <sebastian@×××××××.org> |
311 |
-Date: Fri, 6 May 2016 02:33:51 +0200 |
312 |
-Subject: [PATCH] Build against system Expat |
313 |
- |
314 |
---- |
315 |
- libjabber/Makefile.am | 4 ++-- |
316 |
- libjabber/libxode.h | 2 +- |
317 |
- src/Makefile.am | 2 +- |
318 |
- 3 files changed, 4 insertions(+), 4 deletions(-) |
319 |
- |
320 |
-diff --git a/libjabber/Makefile.am b/libjabber/Makefile.am |
321 |
-index f91ad8f..7b20f6b 100644 |
322 |
---- a/libjabber/Makefile.am |
323 |
-+++ b/libjabber/Makefile.am |
324 |
-@@ -1,4 +1,4 @@ |
325 |
- AM_CPPFLAGS = -I$(top_srcdir)/connwrap |
326 |
- noinst_LIBRARIES = liblibjabber.a |
327 |
--noinst_HEADERS = xmltok_impl_c.h latin1tab.h log.h asciitab.h libxode.h jabber.h hashtable.h xmlparse.h iasciitab.h xmldef.h xmltok.h utf8tab.h xmltok_impl.h xmlrole.h nametab.h xmltok_ns_c.h |
328 |
--liblibjabber_a_SOURCES = jid.c log.c jutil.c str.c expat.c hashtable.c genhash.c pproxy.c pool.c rate.c xmlparse.c xstream.c xmltok.c xmlnode.c jconn.c xmlrole.c jpacket.c snprintf.c socket.c sha.c |
329 |
-+noinst_HEADERS = log.h libxode.h jabber.h nametab.h |
330 |
-+liblibjabber_a_SOURCES = jid.c log.c jutil.c str.c expat.c genhash.c pproxy.c pool.c rate.c xstream.c xmlnode.c jconn.c jpacket.c snprintf.c socket.c sha.c |
331 |
-diff --git a/libjabber/libxode.h b/libjabber/libxode.h |
332 |
-index d6c92a6..8752b0c 100644 |
333 |
---- a/libjabber/libxode.h |
334 |
-+++ b/libjabber/libxode.h |
335 |
-@@ -16,7 +16,7 @@ |
336 |
- #include <arpa/inet.h> |
337 |
- #include <sys/time.h> |
338 |
- |
339 |
--#include "xmlparse.h" |
340 |
-+#include <expat.h> |
341 |
- #ifdef HAVE_CONFIG_H |
342 |
- #include <config.h> |
343 |
- #endif /* HAVE_CONFIG_H */ |
344 |
-diff --git a/src/Makefile.am b/src/Makefile.am |
345 |
-index 3a0feaf..b8cf2ff 100644 |
346 |
---- a/src/Makefile.am |
347 |
-+++ b/src/Makefile.am |
348 |
-@@ -22,7 +22,7 @@ centerim_LDADD += -llibgadu |
349 |
- endif |
350 |
- if BUILD_JABBER |
351 |
- centerim_LDFLAGS += -L$(top_builddir)/libjabber |
352 |
--centerim_LDADD += -llibjabber |
353 |
-+centerim_LDADD += -llibjabber -lexpat |
354 |
- endif |
355 |
- if BUILD_MSN |
356 |
- centerim_LDFLAGS += -L$(top_builddir)/libmsn |
357 |
--- |
358 |
-2.8.1 |
359 |
- |
360 |
|
361 |
diff --git a/net-im/centerim/metadata.xml b/net-im/centerim/metadata.xml |
362 |
index 81747681819..92fe867e708 100644 |
363 |
--- a/net-im/centerim/metadata.xml |
364 |
+++ b/net-im/centerim/metadata.xml |
365 |
@@ -5,10 +5,4 @@ |
366 |
<email>swegener@g.o</email> |
367 |
<description>Primary Maintainer</description> |
368 |
</maintainer> |
369 |
-<use> |
370 |
- <flag name="gadu">Enable support for the Gadu-Gadu protocol</flag> |
371 |
- <flag name="irc">Enable support for the IRC protocol</flag> |
372 |
- <flag name="lj">Enable support for the LiveJournal weblog system</flag> |
373 |
- <flag name="otr">Enable encrypted conversations</flag> |
374 |
-</use> |
375 |
</pkgmetadata> |