Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xmlrpc-c: metadata.xml ChangeLog xmlrpc-c-1.28.00.ebuild
Date: Sat, 01 Oct 2011 21:44:17
Message-Id: 20111001214407.9A40F2004B@flycatcher.gentoo.org
1 pva 11/10/01 21:44:07
2
3 Modified: metadata.xml ChangeLog
4 Added: xmlrpc-c-1.28.00.ebuild
5 Log:
6 Version bump, bug #299011 wrt Arfrever Frehtes Taifersar Arahesis. Fixes parallel build issue, bug 291881 wrt simon. Fixes build on BSD, bug #283751 wrt Henning Schild. Fixes installation of shared libraries, bug #274536 wrt Ambroz Bizjak. Fixes build failure with specific USE flags combination, bug 301076 wrt Marco Clocchiatti. And thank Andreis_Vinogradovs (slepnoga) for making me work on this version bump.
7
8 (Portage version: 2.1.10.19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.11 dev-libs/xmlrpc-c/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/metadata.xml?rev=1.11&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/metadata.xml?rev=1.11&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/metadata.xml?r1=1.10&r2=1.11
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/metadata.xml,v
20 retrieving revision 1.10
21 retrieving revision 1.11
22 diff -u -r1.10 -r1.11
23 --- metadata.xml 23 Sep 2011 22:41:19 -0000 1.10
24 +++ metadata.xml 1 Oct 2011 21:44:07 -0000 1.11
25 @@ -2,12 +2,21 @@
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 <maintainer>
29 + <email>spamslepnoga@×××××.ru</email>
30 + <name>Andreis Vinogradovs</name>
31 + </maintainer>
32 + <maintainer>
33 + <email>pva@g.o</email>
34 + <name>Peter Volkov</name>
35 + </maintainer>
36 + <maintainer>
37 <email>loki_val@g.o</email>
38 <name>Peter Alfredsen</name>
39 </maintainer>
40 <use>
41 - <flag name='tools'>Build the xmlrpc* tools.</flag>
42 <flag name='abyss'>Build the Abyss mini web-server.</flag>
43 + <flag name='libxml2'>Use dev-libs/libxml2 to parse XML instead of the internal expat library.</flag>
44 <flag name='threads'>Controls whether to build the Abyss web-server with pthreads or fork 'threading'.</flag>
45 + <flag name='tools'>Build the xmlrpc* tools.</flag>
46 </use>
47 </pkgmetadata>
48
49
50
51 1.97 dev-libs/xmlrpc-c/ChangeLog
52
53 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.97&view=markup
54 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.97&content-type=text/plain
55 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?r1=1.96&r2=1.97
56
57 Index: ChangeLog
58 ===================================================================
59 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v
60 retrieving revision 1.96
61 retrieving revision 1.97
62 diff -u -r1.96 -r1.97
63 --- ChangeLog 25 Jul 2011 10:21:06 -0000 1.96
64 +++ ChangeLog 1 Oct 2011 21:44:07 -0000 1.97
65 @@ -1,6 +1,17 @@
66 # ChangeLog for dev-libs/xmlrpc-c
67 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
68 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.96 2011/07/25 10:21:06 angelos Exp $
69 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.97 2011/10/01 21:44:07 pva Exp $
70 +
71 +*xmlrpc-c-1.28.00 (01 Oct 2011)
72 +
73 + 01 Oct 2011; Peter Volkov <pva@g.o> +xmlrpc-c-1.28.00.ebuild,
74 + +files/xmlrpc-c-1.28.00-advanced-test.patch, metadata.xml:
75 + Version bump, bug #299011 wrt Arfrever Frehtes Taifersar Arahesis. Fixes
76 + parallel build issue, bug 291881 wrt simon. Fixes build on BSD, bug #283751
77 + wrt Henning Schild. Fixes installation of shared libraries, bug #274536 wrt
78 + Ambroz Bizjak. Fixes build failure with specific USE flags combination, bug
79 + 301076 wrt Marco Clocchiatti. And thank Andreis_Vinogradovs (slepnoga) for
80 + making me work on this version bump.
81
82 25 Jul 2011; Christoph Mende <angelos@g.o> xmlrpc-c-1.06.27.ebuild,
83 +files/xmlrpc-c-1.06.27-curl-headers.patch, xmlrpc-c-1.18.02.ebuild,
84
85
86
87 1.1 dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild?rev=1.1&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild?rev=1.1&content-type=text/plain
91
92 Index: xmlrpc-c-1.28.00.ebuild
93 ===================================================================
94 # Copyright 1999-2011 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.28.00.ebuild,v 1.1 2011/10/01 21:44:07 pva Exp $
97
98 EAPI="4"
99
100 inherit eutils multilib
101
102 # Maintainer notes: Take a look at http://xmlrpc-c.sourceforge.net/release.html
103 # We use "advanced" branch, so for the current release revision take look here:
104 # http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/version.mk?view=log
105 # e.g. for 1.27.05 corresponds following revision 2182 and thus following URL:
106 # http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz?view=tar&pathrev=2182
107 # Note: autogenerated tarball checksum will change everytime, thus download it
108 # manually and distribute on mirrors.
109 # It's possible to build net-libs/libwww without ssl support, but taking into
110 # account that libwww is not really well maintained and upstream is dead we
111 # better use it only in case ssl is required.
112
113 DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
114 HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
115 SRC_URI="mirror://gentoo/${P}.tar.gz"
116
117 LICENSE="BSD"
118 SLOT="0"
119 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
120 IUSE="abyss +cgi +curl +cxx +libxml2 libwww static-libs threads tools"
121
122 REQUIRED_USE="test? ( static-libs abyss curl cxx )"
123
124 DEPEND="
125 tools? ( dev-perl/frontier-rpc )
126 curl? ( net-misc/curl )
127 libwww? ( net-libs/libwww[ssl] )
128 libxml2? ( dev-libs/libxml2 )"
129 RDEPEND="${DEPEND}"
130
131 S="${WORKDIR}/advanced"
132
133 pkg_setup() {
134 use curl || use libwww || \
135 ewarn "Curl support disabled: No client library will be be built"
136 }
137
138 #Bug 214137: We need to filter this.
139 unset SRCDIR
140
141 # Bug 255440
142 export LC_ALL=C
143 export LANG=C
144
145 src_prepare() {
146 epatch "${FILESDIR}/xmlrpc-c-1.28.00-advanced-test.patch"
147 sed -i \
148 -e "/CFLAGS_COMMON/s|-g -O3$||" \
149 -e "/CXXFLAGS_COMMON/s|-g$||" \
150 "${S}"/common.mk || die
151
152 export LADD=${LDFLAGS} # Respect the user's LDFLAGS.
153
154 use static-libs || { sed \
155 -e '/\(^TARGET_STATIC_LIBRARIES =\)/{s:\(^TARGET_STATIC_LIBRARIES =\).*:\1:;P;N;d;}' \
156 -i common.mk || die; }
157 }
158
159 src_configure() {
160 econf --disable-wininet-client \
161 $(use_enable libxml2 libxml2-backend) \
162 $(use_enable libwww libwww-client) \
163 $(use_enable libwww libwww-ssl) \
164 $(use_enable tools) \
165 $(use_enable threads abyss-threads) \
166 $(use_enable cgi cgi-server) \
167 $(use_enable abyss abyss-server) \
168 $(use_enable cxx cplusplus) \
169 $(use_enable curl curl-client)
170 }
171
172 src_compile() {
173 emake -r
174 }
175
176 src_test() {
177 unset LDFLAGS LADD SRCDIR
178 cd "${S}"/test/
179 einfo "Building general tests"
180 make || die "Make of general tests failed"
181 einfo "Running general tests"
182 ./test || die "General tests failed"
183 cd "${S}"/test/cpp/
184 einfo "Running C++ tests"
185 ./test || die "C++ tests failed"
186 }