Gentoo Archives: gentoo-commits

From: "Alexander Vershilov (qnikst)" <qnikst@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xmlrpc-c: xmlrpc-c-1.32.05-r1.ebuild ChangeLog
Date: Mon, 27 May 2013 11:18:18
Message-Id: 20130527111810.82FA82171D@flycatcher.gentoo.org
1 qnikst 13/05/27 11:18:10
2
3 Modified: ChangeLog
4 Added: xmlrpc-c-1.32.05-r1.ebuild
5 Log:
6 allow tools to be used in xmlrpc-c-1.32.05 (bug #460730)
7
8 (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0xEAD50D64D8D3571A!)
9
10 Revision Changes Path
11 1.138 dev-libs/xmlrpc-c/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.138&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.138&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?r1=1.137&r2=1.138
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v
20 retrieving revision 1.137
21 retrieving revision 1.138
22 diff -u -r1.137 -r1.138
23 --- ChangeLog 14 Mar 2013 16:14:16 -0000 1.137
24 +++ ChangeLog 27 May 2013 11:18:10 -0000 1.138
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/xmlrpc-c
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.137 2013/03/14 16:14:16 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.138 2013/05/27 11:18:10 qnikst Exp $
30 +
31 +*xmlrpc-c-1.32.05-r1 (27 May 2013)
32 +
33 + 27 May 2013; <qnikst@g.o> +xmlrpc-c-1.32.05-r1.ebuild:
34 + allow tools to be used in xmlrpc-c-1.32.05 (bug #460730)
35
36 14 Mar 2013; Jeroen Roovers <jer@g.o> xmlrpc-c-1.32.05.ebuild:
37 Stable for HPPA (bug #457298).
38
39
40
41 1.1 dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xmlrpc-c-1.32.05-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.32.05-r1.ebuild,v 1.1 2013/05/27 11:18:10 qnikst Exp $
51
52 EAPI="4"
53
54 inherit eutils multilib
55
56 # Maintainer notes: Take a look at http://xmlrpc-c.sourceforge.net/release.html
57 # We use "advanced" branch, so for the current release revision take look here:
58 # http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced/version.mk?view=log
59 # e.g. for 1.27.05 corresponds following revision 2182 and thus following URL:
60 # http://xmlrpc-c.svn.sourceforge.net/viewvc/xmlrpc-c/advanced.tar.gz?view=tar&pathrev=2182
61 # Note: autogenerated tarball checksum changes every download, thus download it
62 # manually and distribute on mirrors.
63 # It's possible to build net-libs/libwww without ssl support, but taking into
64 # account that libwww is not really well maintained and upstream is dead we
65 # better use it only in case ssl is required.
66
67 DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
68 HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
69 SRC_URI="http://dev.gentoo.org/~maksbotan/${P}.tar.gz"
70
71 LICENSE="BSD"
72 SLOT="0"
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
74 IUSE="abyss +cgi +curl +cxx +libxml2 static-libs threads tools"
75
76 REQUIRED_USE="test? ( static-libs abyss curl cxx ) tools? ( curl )"
77
78 DEPEND="
79 sys-libs/ncurses
80 sys-libs/readline
81 curl? ( net-misc/curl )
82 libxml2? ( dev-libs/libxml2 )"
83
84 RDEPEND="${DEPEND}"
85
86 S="${WORKDIR}/advanced"
87
88 pkg_setup() {
89 use curl || ewarn "Curl support disabled: No client library will be built"
90 }
91
92 #Bug 214137: We need to filter this.
93 unset SRCDIR
94
95 # Bug 255440
96 export LC_ALL=C
97 export LANG=C
98
99 src_prepare() {
100 epatch "${FILESDIR}"/${PN}-1.32.05-Wimplicit.patch
101 sed -i \
102 -e "/CFLAGS_COMMON/s|-g -O3$||" \
103 -e "/CXXFLAGS_COMMON/s|-g$||" \
104 "${S}"/common.mk || die
105
106 export LADD=${LDFLAGS} # Respect the user's LDFLAGS.
107
108 use static-libs || { sed \
109 -e '/\(^TARGET_STATIC_LIBRARIES =\)/{s:\(^TARGET_STATIC_LIBRARIES =\).*:\1:;P;N;d;}' \
110 -i common.mk || die; }
111 }
112
113 src_configure() {
114 #Disable libwww support due GBZ #409549 and #320253
115
116 econf --disable-wininet-client \
117 $(use_enable libxml2 libxml2-backend) \
118 --disable-libwww-client \
119 --without-libwww-ssl \
120 $(use_enable threads abyss-threads) \
121 $(use_enable cgi cgi-server) \
122 $(use_enable abyss abyss-server) \
123 $(use_enable cxx cplusplus) \
124 $(use_enable curl curl-client)
125 }
126
127 src_compile() {
128 emake -r
129 use tools && emake -rC "${S}"/tools
130 }
131
132 src_install() {
133 default_src_install
134 use tools && emake DESTDIR="${D}" -rC "${S}"/tools install
135 }
136
137 src_test() {
138 unset LDFLAGS LADD SRCDIR
139 cd "${S}"/test/
140 einfo "Building general tests"
141 make || die "Make of general tests failed"
142 einfo "Running general tests"
143 ./test || die "General tests failed"
144 cd "${S}"/test/cpp/
145 einfo "Running C++ tests"
146 ./test || die "C++ tests failed"
147 }