Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/gnet: gnet-2.0.8-r2.ebuild ChangeLog
Date: Sat, 27 Sep 2014 16:06:36
Message-Id: 20140927160631.56D5D66D8@oystercatcher.gentoo.org
1 eva 14/09/27 16:06:31
2
3 Modified: ChangeLog
4 Added: gnet-2.0.8-r2.ebuild
5 Log:
6 Fix build with recent check version, bug #498046. Apply a fix to pkgconfig from Debian. Update to EAPI=5 and team guidelines.
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.82 net-libs/gnet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnet/ChangeLog?rev=1.82&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnet/ChangeLog?rev=1.82&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnet/ChangeLog?r1=1.81&r2=1.82
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/gnet/ChangeLog,v
20 retrieving revision 1.81
21 retrieving revision 1.82
22 diff -u -r1.81 -r1.82
23 --- ChangeLog 10 Aug 2014 20:48:33 -0000 1.81
24 +++ ChangeLog 27 Sep 2014 16:06:31 -0000 1.82
25 @@ -1,6 +1,16 @@
26 # ChangeLog for net-libs/gnet
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/ChangeLog,v 1.81 2014/08/10 20:48:33 slyfox Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/ChangeLog,v 1.82 2014/09/27 16:06:31 eva Exp $
30 +
31 +*gnet-2.0.8-r2 (27 Sep 2014)
32 +
33 + 27 Sep 2014; Gilles Dartiguelongue <eva@g.o> +gnet-2.0.8-r2.ebuild,
34 + +files/gnet-2.0.8-fix-pkgconfig-abuse.patch,
35 + +files/gnet-2.0.8-test-existing-domain.patch,
36 + +files/gnet-2.0.8-unittest-build.patch,
37 + +files/gnet-2.0.8-unittest-service.patch:
38 + Fix build with recent check version, bug #498046. Apply a fix to pkgconfig
39 + from Debian. Update to EAPI=5 and team guidelines.
40
41 10 Aug 2014; Sergei Trofimovich <slyfox@g.o> gnet-2.0.8-r1.ebuild:
42 QA: drop trailing '.' from DESCRIPTION
43
44
45
46 1.1 net-libs/gnet/gnet-2.0.8-r2.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnet/gnet-2.0.8-r2.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/gnet/gnet-2.0.8-r2.ebuild?rev=1.1&content-type=text/plain
50
51 Index: gnet-2.0.8-r2.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/net-libs/gnet/gnet-2.0.8-r2.ebuild,v 1.1 2014/09/27 16:06:31 eva Exp $
56
57 EAPI="5"
58 GCONF_DEBUG="yes"
59 GNOME_TARBALL_SUFFIX="bz2"
60
61 inherit autotools eutils gnome2
62
63 DESCRIPTION="A simple network library"
64 HOMEPAGE="http://live.gnome.org/GNetLibrary"
65
66 LICENSE="LGPL-2"
67 SLOT="2"
68 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
69 IUSE="test"
70
71 # FIXME: automagic use of valgrind
72 RDEPEND=">=dev-libs/glib-2.6:2"
73 DEPEND="${RDEPEND}
74 >=dev-libs/check-0.9.11
75 >=dev-util/gtk-doc-am-1.2
76 virtual/pkgconfig
77 "
78 # FIXME: check should only be needed with USE 'test', bug #349301
79 # test? ( >=dev-libs/check-0.9.7 )"
80
81 src_prepare() {
82 # Do not leak main context reference, from master
83 epatch "${FILESDIR}"/${PN}-2.0.8-context-leak.patch
84
85 # Fix usage of check framework, bug #296849, from master
86 epatch "${FILESDIR}"/${PN}-2.0.8-check-usage-update.patch
87
88 # ifdef around network tests code, refs. bug #320759
89 epatch "${FILESDIR}"/${PN}-2.0.8-network-tests.patch
90
91 # Do not hardcode glib patch in pkgconfig file, debian bug #652165
92 epatch "${FILESDIR}"/${PN}-2.0.8-fix-pkgconfig-abuse.patch
93
94 # Compatibility with recent check releases, bug #498046
95 epatch "${FILESDIR}"/${PN}-2.0.8-unittest-build.patch
96
97 # gnetlibrary.org has been adandoned, from master
98 epatch "${FILESDIR}"/${PN}-2.0.8-test-existing-domain.patch
99
100 # Do not depend on a running HTTP server on port 80 for unittest
101 epatch "${FILESDIR}"/${PN}-2.0.8-unittest-service.patch
102
103 # Do not pass silly cflags with USE=debug, bug #320759
104 sed -i \
105 -e 's:-Werror::' \
106 -e '/AM_PROG_CC_STDC/d' \
107 -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:g' \
108 configure.ac || die
109
110 eautoreconf
111 gnome2_src_prepare
112 }
113
114 src_configure() {
115 DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README* TODO"
116 # Do not enable network tests in an ebuild environment
117 gnome2_src_configure \
118 --disable-static \
119 --disable-network-tests
120 }