Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/wvstreams: metadata.xml wvstreams-4.6.1-r3.ebuild wvstreams-4.6.1-r2.ebuild ChangeLog wvstreams-4.6.1-r1.ebuild
Date: Tue, 05 Mar 2013 13:34:39
Message-Id: 20130305133434.BFC9D2171D@flycatcher.gentoo.org
1 flameeyes 13/03/05 13:34:34
2
3 Modified: metadata.xml wvstreams-4.6.1-r2.ebuild ChangeLog
4 Added: wvstreams-4.6.1-r3.ebuild
5 Removed: wvstreams-4.6.1-r1.ebuild
6 Log:
7 Introduce a new version that handles boost dependency properly; replace dependency on virtual with its own dependency (and as a build-time dependency only). Move maintainership to net-dialup since this is only used by net-dialup/wvdial.
8
9 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 1CD13C8AD4301342)
10
11 Revision Changes Path
12 1.7 net-libs/wvstreams/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/metadata.xml?rev=1.7&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/metadata.xml?rev=1.7&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/metadata.xml?r1=1.6&r2=1.7
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-libs/wvstreams/metadata.xml,v
21 retrieving revision 1.6
22 retrieving revision 1.7
23 diff -u -r1.6 -r1.7
24 --- metadata.xml 31 Mar 2012 17:03:05 -0000 1.6
25 +++ metadata.xml 5 Mar 2013 13:34:34 -0000 1.7
26 @@ -1,9 +1,16 @@
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 - <herd>cpp</herd>
31 - <longdescription>A network programming library in C++</longdescription>
32 - <upstream>
33 - <remote-id type="google-code">wvstreams</remote-id>
34 - </upstream>
35 + <herd>net-dialup</herd>
36 + <upstream>
37 + <remote-id type="google-code">wvstreams</remote-id>
38 + </upstream>
39 + <use>
40 + <flag name="boost">
41 + Use <pkg>dev-libs/boost</pkg> to provide TR1-compatible
42 + functional interface. This USE flag is only needed with GCC
43 + earlier than version 4.1, or with other compilares not providing
44 + said interface.
45 + </flag>
46 + </use>
47 </pkgmetadata>
48
49
50
51 1.9 net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild
52
53 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild?rev=1.9&view=markup
54 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild?rev=1.9&content-type=text/plain
55 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild?r1=1.8&r2=1.9
56
57 Index: wvstreams-4.6.1-r2.ebuild
58 ===================================================================
59 RCS file: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild,v
60 retrieving revision 1.8
61 retrieving revision 1.9
62 diff -u -r1.8 -r1.9
63 --- wvstreams-4.6.1-r2.ebuild 8 Aug 2012 19:41:04 -0000 1.8
64 +++ wvstreams-4.6.1-r2.ebuild 5 Mar 2013 13:34:34 -0000 1.9
65 @@ -1,6 +1,6 @@
66 -# Copyright 1999-2012 Gentoo Foundation
67 +# Copyright 1999-2013 Gentoo Foundation
68 # Distributed under the terms of the GNU General Public License v2
69 -# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild,v 1.8 2012/08/08 19:41:04 ranger Exp $
70 +# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r2.ebuild,v 1.9 2013/03/05 13:34:34 flameeyes Exp $
71
72 EAPI=4
73 inherit autotools eutils flag-o-matic toolchain-funcs versionator
74 @@ -25,9 +25,9 @@
75 sys-libs/zlib
76 dbus? ( >=sys-apps/dbus-1.4.20 )
77 dev-libs/openssl:0
78 - pam? ( sys-libs/pam )
79 - virtual/c++-tr1-functional"
80 + pam? ( sys-libs/pam )"
81 DEPEND="${RDEPEND}
82 + || ( >=sys-devel/gcc-4.1 >=dev-libs/boost-1.34.0 )
83 virtual/pkgconfig
84 doc? ( app-doc/doxygen )"
85
86
87
88
89 1.151 net-libs/wvstreams/ChangeLog
90
91 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/ChangeLog?rev=1.151&view=markup
92 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/ChangeLog?rev=1.151&content-type=text/plain
93 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/ChangeLog?r1=1.150&r2=1.151
94
95 Index: ChangeLog
96 ===================================================================
97 RCS file: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v
98 retrieving revision 1.150
99 retrieving revision 1.151
100 diff -u -r1.150 -r1.151
101 --- ChangeLog 8 Aug 2012 19:41:04 -0000 1.150
102 +++ ChangeLog 5 Mar 2013 13:34:34 -0000 1.151
103 @@ -1,6 +1,16 @@
104 # ChangeLog for net-libs/wvstreams
105 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
106 -# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.150 2012/08/08 19:41:04 ranger Exp $
107 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
108 +# $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/ChangeLog,v 1.151 2013/03/05 13:34:34 flameeyes Exp $
109 +
110 +*wvstreams-4.6.1-r3 (05 Mar 2013)
111 +
112 + 05 Mar 2013; Diego E. Pettenò <flameeyes@g.o>
113 + +wvstreams-4.6.1-r3.ebuild, -wvstreams-4.6.1-r1.ebuild, metadata.xml,
114 + wvstreams-4.6.1-r2.ebuild:
115 + Introduce a new version that handles boost dependency properly; replace
116 + dependency on virtual with its own dependency (and as a build-time dependency
117 + only). Move maintainership to net-dialup since this is only used by net-
118 + dialup/wvdial.
119
120 08 Aug 2012; Brent Baude <ranger@g.o> wvstreams-4.6.1-r2.ebuild:
121 Marking wvstreams-4.6.1-r2 ppc for bug 421983
122
123
124
125 1.1 net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild
126
127 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild?rev=1.1&view=markup
128 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild?rev=1.1&content-type=text/plain
129
130 Index: wvstreams-4.6.1-r3.ebuild
131 ===================================================================
132 # Copyright 1999-2013 Gentoo Foundation
133 # Distributed under the terms of the GNU General Public License v2
134 # $Header: /var/cvsroot/gentoo-x86/net-libs/wvstreams/wvstreams-4.6.1-r3.ebuild,v 1.1 2013/03/05 13:34:34 flameeyes Exp $
135
136 EAPI=5
137 inherit autotools eutils flag-o-matic toolchain-funcs versionator
138
139 DESCRIPTION="A network programming library in C++"
140 HOMEPAGE="http://alumnit.ca/wiki/?WvStreams"
141 SRC_URI="http://wvstreams.googlecode.com/files/${P}.tar.gz"
142
143 LICENSE="GPL-2"
144 SLOT="0"
145 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
146 IUSE="pam doc +ssl +dbus debug boost"
147
148 #Tests fail if openssl is not compiled with -DPURIFY. Gentoo's isn't. FAIL!
149 RESTRICT="test"
150
151 #QA Fail: xplc is compiled as a part of wvstreams.
152 #It'll take a larger patching effort to get it extracted, since upstream integrated it
153 #more tightly this time. Probably for the better since upstream xplc seems dead.
154
155 RDEPEND="sys-libs/readline
156 sys-libs/zlib
157 dbus? ( >=sys-apps/dbus-1.4.20 )
158 dev-libs/openssl:0
159 pam? ( virtual/pam )"
160 DEPEND="${RDEPEND}
161 virtual/pkgconfig
162 doc? ( app-doc/doxygen )
163 boost? ( >=dev-libs/boost-1.34.1:= )"
164
165 DOCS="ChangeLog README*"
166
167 pkg_pretend() {
168 [[ ${MERGE_TYPE} == "binary" ]] && return
169
170 if ! use boost && ! version_is_at_least 4.1 "$(gcc-fullversion)"; then
171 eerror "This package requires the active gcc to be at least version 4.1"
172 eerror "or USE=boost must be installed."
173 die "Please activate >=sys-devel/gcc-4.1 with gcc-config."
174 fi
175 }
176
177 src_prepare() {
178 epatch \
179 "${FILESDIR}"/${P}-parallel-make.patch \
180 "${FILESDIR}"/${P}-openssl-1.0.0.patch \
181 "${FILESDIR}"/${P}-glibc212.patch \
182 "${FILESDIR}"/${P}-gcc47.patch
183
184 eautoreconf
185 pushd argp >/dev/null
186 eautoreconf
187 popd >/dev/null
188 }
189
190 src_configure() {
191 append-flags -fno-strict-aliasing
192 append-flags -fno-tree-dce -fno-optimize-sibling-calls #421375
193
194 tc-export CXX
195
196 use boost && export ac_cv_header_tr1_functional=no
197
198 econf \
199 --localstatedir=/var \
200 $(use_enable debug) \
201 --disable-optimization \
202 $(use_with dbus) \
203 --with-openssl \
204 $(use_with pam) \
205 --without-tcl \
206 --without-qt \
207 --with-zlib \
208 --without-valgrind
209 }
210
211 src_compile() {
212 default
213
214 if use doc; then
215 doxygen || die
216 fi
217 }
218
219 src_test() {
220 emake test
221 }
222
223 src_install() {
224 default
225
226 if use doc; then
227 #the list of files is too big for dohtml -r Docs/doxy-html/*
228 cd Docs/doxy-html
229 dohtml -r *
230 fi
231 }