Gentoo Archives: gentoo-commits

From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/xerces-c: ChangeLog xerces-c-2.8.0.ebuild
Date: Thu, 22 May 2008 13:50:13
Message-Id: E1JzBBK-0000Gz-GB@stork.gentoo.org
1 dev-zero 08/05/22 13:50:10
2
3 Modified: ChangeLog xerces-c-2.8.0.ebuild
4 Log:
5 Added xqilla USE-flag to apply patches and install additional header-files conditionally
6 (Portage version: 2.1.5_rc7)
7
8 Revision Changes Path
9 1.56 dev-libs/xerces-c/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.56&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.56&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?r1=1.55&r2=1.56
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v
18 retrieving revision 1.55
19 retrieving revision 1.56
20 diff -u -r1.55 -r1.56
21 --- ChangeLog 12 May 2008 01:35:18 -0000 1.55
22 +++ ChangeLog 22 May 2008 13:50:10 -0000 1.56
23 @@ -1,6 +1,12 @@
24 # ChangeLog for dev-libs/xerces-c
25 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.55 2008/05/12 01:35:18 halcy0n Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.56 2008/05/22 13:50:10 dev-zero Exp $
28 +
29 + 22 May 2008; Tiziano Müller <dev-zero@g.o>
30 + +files/xqilla-xercesc_content_type.patch,
31 + +files/xqilla-xercesc_regex.patch, xerces-c-2.8.0.ebuild:
32 + Added xqilla USE-flag to apply patches and install additional header-files
33 + conditionally
34
35 12 May 2008; Mark Loeser <halcy0n@g.o> xerces-c-2.7.0-r1.ebuild:
36 We only set DEPEND, so RDEPEND automatically inherited doxygen; fixes bug
37
38
39
40 1.4 dev-libs/xerces-c/xerces-c-2.8.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-2.8.0.ebuild?rev=1.4&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-2.8.0.ebuild?rev=1.4&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-2.8.0.ebuild?r1=1.3&r2=1.4
45
46 Index: xerces-c-2.8.0.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-2.8.0.ebuild,v
49 retrieving revision 1.3
50 retrieving revision 1.4
51 diff -u -r1.3 -r1.4
52 --- xerces-c-2.8.0.ebuild 4 Jan 2008 13:36:42 -0000 1.3
53 +++ xerces-c-2.8.0.ebuild 22 May 2008 13:50:10 -0000 1.4
54 @@ -1,6 +1,6 @@
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/xerces-c/xerces-c-2.8.0.ebuild,v 1.3 2008/01/04 13:36:42 jokey Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-2.8.0.ebuild,v 1.4 2008/05/22 13:50:10 dev-zero Exp $
59
60 EAPI="1"
61
62 @@ -16,7 +16,7 @@
63 LICENSE="Apache-2.0"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 -IUSE="debug doc iconv icu libwww +threads elibc_Darwin elibc_FreeBSD"
67 +IUSE="debug doc iconv icu libwww +threads elibc_Darwin elibc_FreeBSD xqilla"
68
69 RDEPEND="icu? ( <dev-libs/icu-3.8 )
70 libwww? ( net-libs/libwww )
71 @@ -61,6 +61,11 @@
72 epatch \
73 "${FILESDIR}/${P}-64bit_cast.patch" \
74 "${FILESDIR}/${P}-icu_ressource_fix.patch"
75 +
76 + use xqilla && epatch \
77 + "${FILESDIR}/xqilla-xercesc_content_type.patch" \
78 + "${FILESDIR}/xqilla-xercesc_regex.patch"
79 +
80 }
81
82 src_compile() {
83 @@ -122,10 +127,21 @@
84 cd src/xercesc
85 emake DESTDIR="${D}" MLIBDIR=$(get_libdir) install || die "emake failed"
86
87 + if use xqilla; then
88 + insinto /usr/include/xercesc/dom/impl
89 + cd dom/impl
90 + doins \
91 + DOMAttrImpl.hpp DOMAttrMapImpl.hpp DOMCasts.hpp DOMCharacterDataImpl.hpp \
92 + DOMChildNode.hpp DOMDeepNodeListPool.hpp DOMDocumentImpl.hpp \
93 + DOMDocumentTypeImpl.hpp DOMElementImpl.hpp DOMElementNSImpl.hpp \
94 + DOMNodeIDMap.hpp DOMNodeImpl.hpp DOMNodeListImpl.hpp DOMParentNode.hpp \
95 + DOMRangeImpl.hpp DOMTextImpl.hpp DOMTypeInfoImpl.hpp DOMWriterImpl.hpp
96 + fi
97 +
98 cd "${S}"
99 doenvd "${FILESDIR}/50xerces-c"
100
101 - # Upstream seems to have forgotten this
102 + # Upstream forgot this
103 if use icu ; then
104 dolib.so lib/libXercesMessages.so.28.0
105 dosym libXercesMessages.so.28.0 /usr/$(get_libdir)/libXercesMessages.so.28
106
107
108
109 --
110 gentoo-commits@l.g.o mailing list