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.14.07-r1.ebuild xmlrpc-c-1.14.07.ebuild
Date: Thu, 31 Jul 2008 17:38:40
Message-Id: E1KOc6l-0001Xf-LN@stork.gentoo.org
1 loki_val 08/07/31 17:38:35
2
3 Modified: ChangeLog
4 Added: xmlrpc-c-1.14.07-r1.ebuild
5 Removed: xmlrpc-c-1.14.07.ebuild
6 Log:
7 Reverse the damage I've done, multilib patch caused libs to be installed into /usr/usr/lib64 on amd64, see bug 233468. This is not strict-multilib, but we'll deal with that later.
8 (Portage version: 2.2_rc5/cvs/Linux 2.6.25.8 i686)
9
10 Revision Changes Path
11 1.67 dev-libs/xmlrpc-c/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 30 Jul 2008 08:41:19 -0000 1.66
24 +++ ChangeLog 31 Jul 2008 17:38:35 -0000 1.67
25 @@ -1,6 +1,15 @@
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.66 2008/07/30 08:41:19 loki_val Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/ChangeLog,v 1.67 2008/07/31 17:38:35 loki_val Exp $
30 +
31 +*xmlrpc-c-1.14.07-r1 (31 Jul 2008)
32 +
33 + 31 Jul 2008; Peter Alfredsen <loki_val@g.o>
34 + -files/xmlrpc-c-1.14.07-multilib.patch, -xmlrpc-c-1.14.07.ebuild,
35 + +xmlrpc-c-1.14.07-r1.ebuild:
36 + Reverse the damage I've done, multilib patch installed into /usr/usr/lib64
37 + on amd64, see bug 233468. This is not strict-multilib, but we'll deal with
38 + that later.
39
40 30 Jul 2008; Peter Alfredsen <loki_val@g.o>
41 +files/xmlrpc-c-1.14.07-multilib.patch, xmlrpc-c-1.14.07.ebuild:
42
43
44
45 1.1 dev-libs/xmlrpc-c/xmlrpc-c-1.14.07-r1.ebuild
46
47 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.14.07-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.14.07-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: xmlrpc-c-1.14.07-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2008 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlrpc-c/xmlrpc-c-1.14.07-r1.ebuild,v 1.1 2008/07/31 17:38:35 loki_val Exp $
55
56 EAPI=1
57
58 inherit eutils autotools base
59
60 DESCRIPTION="A lightweigt RPC library based on XML and HTTP"
61 SRC_URI="mirror://gentoo/${PN}/${P}.tar.bz2"
62 HOMEPAGE="http://xmlrpc-c.sourceforge.net/"
63
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
65 IUSE="+curl +cxx"
66 LICENSE="BSD"
67 SLOT="0"
68
69 DEPEND="dev-libs/libxml2
70 curl? ( net-misc/curl )"
71
72 pkg_setup() {
73 if ! use curl
74 then
75 ewarn "Curl support disabled: No client library will be be built"
76 fi
77 }
78
79 #Tests are faily.
80
81 RESTRICT="test"
82
83 PATCHES=( "${FILESDIR}/${P}-abyss-disable.patch" )
84
85 src_unpack() {
86 base_src_unpack
87 cd "${S}"
88
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}"/Makefile.common
94 eautoreconf
95 }
96
97 src_compile() {
98 #Bug 214137: We need to filter this.
99 unset SRCDIR
100
101 # Respect the user's LDFLAGS.
102 export LADD=${LDFLAGS}
103 econf --disable-wininet-client \
104 --enable-libxml2-backend \
105 --disable-libwww-client \
106 --disable-abyss-server \
107 --enable-cgi-server \
108 --disable-abyss-threads \
109 $(use_enable curl curl-client) \
110 $(use_enable cxx cplusplus ) || die "econf failed"
111 emake -j1 || die "emake failed"
112 }
113
114 src_test() {
115 unset LDFLAGS LADD SRCDIR
116 cd "${S}"/src/test/
117 einfo "Building general tests"
118 make || die "Make of general tests failed"
119 einfo "Running general tests"
120 ./test || die "General tests failed"
121 ewarn "The tests are made of fail. Skipping."
122 return 0
123 #C++ tests. They fail.
124 #cd "${S}"/src/cpp/test
125 #einfo "Building C++ tests"
126 #make || die "Make of C++ tests failed"
127 #einfo "Running C++ tests"
128 #./test || die "C++ tests failed"
129 }
130
131 src_install() {
132 unset SRCDIR
133 emake -j1 DESTDIR="${D}" install || die "installation failed"
134
135 dodoc README doc/CREDITS doc/DEVELOPING doc/HISTORY doc/SECURITY doc/TESTING \
136 doc/TODO || die "installing docs failed"
137 }