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