Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xmlrpc-c: ChangeLog xmlrpc-c-1.16.06.ebuild xmlrpc-c-1.16.04.ebuild
Date: Wed, 03 Dec 2008 00:41:50
Message-Id: E1L7foJ-0000P2-BX@stork.gentoo.org
1 loki_val 08/12/03 00:41:47
2
3 Modified: ChangeLog
4 Added: xmlrpc-c-1.16.06.ebuild
5 Removed: xmlrpc-c-1.16.04.ebuild
6 Log:
7 Add new version. Upstream accepted our fixes from .04. New fixes included fixing bug 246749.
8 (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc4 x86_64)
9
10 Revision Changes Path
11 1.74 dev-libs/xmlrpc-c/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 29 Nov 2008 17:18:22 -0000 1.73
24 +++ ChangeLog 3 Dec 2008 00:41:47 -0000 1.74
25 @@ -1,6 +1,18 @@
26 # ChangeLog for dev-libs/xmlrpc-c
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.73 2008/11/29 17:18:22 loki_val Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.74 2008/12/03 00:41:47 loki_val Exp $
30 +
31 +*xmlrpc-c-1.16.06 (03 Dec 2008)
32 +
33 + 03 Dec 2008; Peter Alfredsen <loki_val@g.o>
34 + -files/xmlrpc-c-1.16.04-abyss-disable.patch,
35 + -files/xmlrpc-c-1.16.04-compile.patch,
36 + -files/xmlrpc-c-1.16.04-cpplinking.patch,
37 + -files/xmlrpc-c-1.16.04-linking-order.patch,
38 + +files/xmlrpc-c-1.16.06-no-undefined.patch, -xmlrpc-c-1.16.04.ebuild,
39 + +xmlrpc-c-1.16.06.ebuild:
40 + Add new version. Upstream accepted our fixes from .04. New fixes included
41 + fixing bug 246749.
42
43 *xmlrpc-c-1.16.04 (29 Nov 2008)
44
45
46
47
48 1.1 dev-libs/xmlrpc-c/xmlrpc-c-1.16.06.ebuild
49
50 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.16.06.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.16.06.ebuild?rev=1.1&content-type=text/plain
52
53 Index: xmlrpc-c-1.16.06.ebuild
54 ===================================================================
55 # Copyright 1999-2008 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.16.06.ebuild,v 1.1 2008/12/03 00:41:47 loki_val Exp $
58
59 EAPI=1
60
61 inherit eutils multilib base
62
63 DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
64 SRC_URI="mirror://gentoo/${PN}/${P}.tar.bz2"
65 HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
66
67 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
68 IUSE="+curl +cxx"
69 LICENSE="BSD"
70 SLOT="0"
71
72 DEPEND="dev-libs/libxml2
73 curl? ( net-misc/curl )"
74
75 pkg_setup() {
76 if ! use curl
77 then
78 ewarn "Curl support disabled: No client library will be be built"
79 fi
80 }
81
82 #FAIL
83 RESTRICT="test"
84
85 PATCHES=( "${FILESDIR}/${P}-no-undefined.patch" )
86
87 src_unpack() {
88 base_src_unpack
89 cd "${S}"
90 # Respect the user's CFLAGS/CXXFLAGS.
91 sed -i \
92 -e "/CFLAGS_COMMON/s:-g -O3$:${CFLAGS}:" \
93 -e "/CXXFLAGS_COMMON/s:-g$:${CXXFLAGS}:" \
94 "${S}"/common.mk || die "404. File not found while sedding"
95
96 sed -i \
97 -e "/^LIBINST_DIR = / s:\$(PREFIX)/lib:\$(PREFIX)/$(get_libdir):" \
98 config.mk.in
99 }
100
101 src_compile() {
102 #Bug 214137: We need to filter this.
103 unset SRCDIR
104
105 # Respect the user's LDFLAGS.
106 export LADD=${LDFLAGS}
107 econf --disable-wininet-client \
108 --enable-libxml2-backend \
109 --disable-libwww-client \
110 --disable-abyss-server \
111 --enable-cgi-server \
112 --disable-abyss-threads \
113 $(use_enable cxx cplusplus) \
114 $(use_enable curl curl-client) \
115 || die "econf failed"
116 emake -j1 || die "emake failed"
117 }
118
119 src_test() {
120 unset LDFLAGS LADD SRCDIR
121 cd "${S}"/src/test/
122 einfo "Building general tests"
123 make || die "Make of general tests failed"
124 einfo "Running general tests"
125 ./test || die "General tests failed"
126
127 cd "${S}"/src/cpp/test
128 einfo "Building C++ tests"
129 make || die "Make of C++ tests failed"
130 einfo "Running C++ tests"
131 ./test || die "C++ tests failed"
132 }
133
134 src_install() {
135 unset SRCDIR
136 emake -j1 DESTDIR="${D}" install || die "installation failed"
137
138 dodoc README doc/CREDITS doc/DEVELOPING doc/HISTORY doc/SECURITY doc/TESTING \
139 doc/TODO || die "installing docs failed"
140 }