1 |
dev-zero 10/08/28 06:25:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xerces-c-3.1.1.ebuild |
5 |
Log: |
6 |
Version bump (bug #328643), readded dropped disable-thread-tests patchs (bug #307303). |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.88 dev-libs/xerces-c/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.88&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.88&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xerces-c/ChangeLog?r1=1.87&r2=1.88 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v |
19 |
retrieving revision 1.87 |
20 |
retrieving revision 1.88 |
21 |
diff -u -r1.87 -r1.88 |
22 |
--- ChangeLog 18 Jun 2010 18:54:58 -0000 1.87 |
23 |
+++ ChangeLog 28 Aug 2010 06:25:10 -0000 1.88 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-libs/xerces-c |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.87 2010/06/18 18:54:58 pacho Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.88 2010/08/28 06:25:10 dev-zero Exp $ |
29 |
+ |
30 |
+*xerces-c-3.1.1 (28 Aug 2010) |
31 |
+ |
32 |
+ 28 Aug 2010; Tiziano Müller <dev-zero@g.o> |
33 |
+ +files/3.1.1-disable-thread-tests.patch, +xerces-c-3.1.1.ebuild: |
34 |
+ Version bump (bug #328643), readded dropped disable-thread-tests patchs |
35 |
+ (bug #307303). |
36 |
|
37 |
18 Jun 2010; Pacho Ramos <pacho@g.o> xerces-c-3.0.1-r1.ebuild: |
38 |
stable amd64, security bug 280613 |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-libs/xerces-c/xerces-c-3.1.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xerces-c/xerces-c-3.1.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/xerces-c/xerces-c-3.1.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xerces-c-3.1.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/xerces-c-3.1.1.ebuild,v 1.1 2010/08/28 06:25:10 dev-zero Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="A validating XML parser written in a portable subset of C++." |
58 |
HOMEPAGE="http://xerces.apache.org/xerces-c/" |
59 |
SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz" |
60 |
LICENSE="Apache-2.0" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 |
IUSE="curl doc iconv icu libwww sse2 static-libs threads elibc_Darwin elibc_FreeBSD" |
64 |
|
65 |
RDEPEND="icu? ( >=dev-libs/icu-4.2 ) |
66 |
curl? ( net-misc/curl ) |
67 |
libwww? ( net-libs/libwww ) |
68 |
virtual/libiconv" |
69 |
DEPEND="${RDEPEND} |
70 |
doc? ( app-doc/doxygen )" |
71 |
|
72 |
pkg_setup() { |
73 |
export ICUROOT="/usr" |
74 |
|
75 |
if use iconv && use icu ; then |
76 |
ewarn "This package can use iconv or icu for loading messages" |
77 |
ewarn "and transcoding, but not both. ICU will precede." |
78 |
fi |
79 |
} |
80 |
|
81 |
src_prepare() { |
82 |
use threads || epatch "${FILESDIR}/${PV}-disable-thread-tests.patch" |
83 |
|
84 |
sed -i \ |
85 |
-e 's|$(prefix)/msg|$(DESTDIR)/$(prefix)/share/xerces-c/msg|' \ |
86 |
src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in || die "sed failed" |
87 |
} |
88 |
|
89 |
src_configure() { |
90 |
local mloader="inmemory" |
91 |
use iconv && mloader="iconv" |
92 |
use icu && mloader="icu" |
93 |
|
94 |
local transcoder="gnuiconv" |
95 |
use elibc_FreeBSD && transcoder="iconv" |
96 |
use elibc_Darwin && transcoder="macosunicodeconverter" |
97 |
use icu && transcoder="icu" |
98 |
# for interix maybe: transcoder="windows" |
99 |
|
100 |
# 'cfurl' is only available on OSX and 'socket' isn't supposed to work. |
101 |
# But the docs aren't clear about it, so we would need some testing... |
102 |
local netaccessor="socket" |
103 |
use elibc_Darwin && netaccessor="cfurl" |
104 |
use libwww && netaccessor="libwww" |
105 |
use curl && netaccessor="curl" |
106 |
|
107 |
econf \ |
108 |
--disable-pretty-make \ |
109 |
$(use_enable static-libs static) \ |
110 |
$(use_enable threads) \ |
111 |
--enable-msgloader-${mloader} \ |
112 |
--enable-netaccessor-${netaccessor} \ |
113 |
--enable-transcoder-${transcoder} \ |
114 |
$(use_enable sse2) |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
default |
119 |
|
120 |
if use doc ; then |
121 |
cd "${S}/doc" |
122 |
doxygen || die "making docs failed" |
123 |
fi |
124 |
} |
125 |
|
126 |
src_install () { |
127 |
emake DESTDIR="${D}" install || die "emake failed" |
128 |
|
129 |
use static-libs || rm "${D}"/lib*/*.la |
130 |
|
131 |
# To make sure an appropriate NLS msg file is around when using the iconv msgloader |
132 |
# ICU has the messages compiled in. |
133 |
if use iconv && ! use icu ; then |
134 |
doenvd "${FILESDIR}/50xerces-c" |
135 |
fi |
136 |
|
137 |
if use doc; then |
138 |
insinto /usr/share/doc/${PF} |
139 |
rm -rf samples/Makefile* samples/runConfigure samples/src/*/Makefile* samples/.libs |
140 |
doins -r samples |
141 |
dohtml -r doc/html/* |
142 |
fi |
143 |
|
144 |
dodoc CREDITS KEYS NOTICE README version.incl |
145 |
} |