1 |
dev-zero 08/06/28 06:34:07 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xerces-c-3.0.0_beta1.ebuild |
5 |
Log: |
6 |
Added beta version for testing |
7 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.59 dev-libs/xerces-c/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.59&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?rev=1.59&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/ChangeLog?r1=1.58&r2=1.59 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v |
19 |
retrieving revision 1.58 |
20 |
retrieving revision 1.59 |
21 |
diff -u -r1.58 -r1.59 |
22 |
--- ChangeLog 7 Jun 2008 19:53:10 -0000 1.58 |
23 |
+++ ChangeLog 28 Jun 2008 06:34:06 -0000 1.59 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-libs/xerces-c |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.58 2008/06/07 19:53:10 dev-zero Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xerces-c/ChangeLog,v 1.59 2008/06/28 06:34:06 dev-zero Exp $ |
29 |
+ |
30 |
+*xerces-c-3.0.0_beta1 (28 Jun 2008) |
31 |
+ |
32 |
+ 28 Jun 2008; Tiziano Müller <dev-zero@g.o> |
33 |
+ +files/xerces-c-3.0.0_beta1-fix-tests-and-samples.patch, |
34 |
+ +xerces-c-3.0.0_beta1.ebuild: |
35 |
+ Added beta version for testing |
36 |
|
37 |
07 Jun 2008; Tiziano Müller <dev-zero@g.o> |
38 |
+files/xerces-c-2.8.0-IconvGNUTransService.cpp.patch, |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-libs/xerces-c/xerces-c-3.0.0_beta1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-3.0.0_beta1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/xerces-c/xerces-c-3.0.0_beta1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xerces-c-3.0.0_beta1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 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.0.0_beta1.ebuild,v 1.1 2008/06/28 06:34:06 dev-zero Exp $ |
52 |
|
53 |
EAPI="1" |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
MY_P=${PN}-${PV/_beta/.b} |
58 |
|
59 |
DESCRIPTION="A validating XML parser written in a portable subset of C++." |
60 |
HOMEPAGE="http://xerces.apache.org/xerces-c/" |
61 |
SRC_URI="http://people.apache.org/builds/xerces/c/${MY_P}.tar.gz" |
62 |
|
63 |
LICENSE="Apache-2.0" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 |
IUSE="curl debug doc iconv icu libwww +threads elibc_Darwin elibc_FreeBSD" |
67 |
|
68 |
RDEPEND="icu? ( <dev-libs/icu-3.8 ) |
69 |
curl? ( net-misc/curl ) |
70 |
libwww? ( net-libs/libwww ) |
71 |
virtual/libiconv" |
72 |
DEPEND="${RDEPEND} |
73 |
doc? ( app-doc/doxygen )" |
74 |
|
75 |
S=${WORKDIR}/${MY_P} |
76 |
|
77 |
pkg_setup() { |
78 |
export ICUROOT="/usr" |
79 |
|
80 |
if use iconv && use icu ; then |
81 |
ewarn "This package can use iconv or icu for loading messages" |
82 |
ewarn "and transcoding, but not both. ICU will precede." |
83 |
fi |
84 |
} |
85 |
|
86 |
src_unpack() { |
87 |
unpack ${A} |
88 |
cd "${S}" |
89 |
|
90 |
# disable building broken samples |
91 |
sed -i \ |
92 |
-e 's|src tests samples|src tests|' \ |
93 |
Makefile.in || die "sed failed" |
94 |
|
95 |
sed -i \ |
96 |
-e 's|$(prefix)/msg|$(DESTDIR)/$(prefix)/share/xerces-c/msg|' \ |
97 |
src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in || die "sed failed" |
98 |
|
99 |
epatch "${FILESDIR}/${P}-fix-tests-and-samples.patch" |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
local mloader="inmemory" |
104 |
use iconv && mloader="iconv" |
105 |
use icu && mloader="icu" |
106 |
|
107 |
local transcoder="gnuiconv" |
108 |
use elibc_FreeBSD && transcoder="iconv" |
109 |
use elibc_Darwin && transcoder="macosunicodeconverter" |
110 |
use icu && transcoder="icu" |
111 |
|
112 |
# 'cfurl' is only available on OSX and 'socket' isn't supposed to work. |
113 |
# But the docs aren't clear about it, so we would need some testing... |
114 |
local netaccessor="socket" |
115 |
use elibc_Darwin && netaccessor="cfurl" |
116 |
use libwww && netaccessor="libwww" |
117 |
use curl && netaccessor="curl" |
118 |
|
119 |
econf \ |
120 |
$(use_enable debug) \ |
121 |
$(use_enable threads) \ |
122 |
--enable-msgloader-${mloader} \ |
123 |
--enable-netaccessor-${netaccessor} \ |
124 |
--enable-transcoder-${transcoder} \ |
125 |
|| die "econf failed" |
126 |
|
127 |
emake || die "emake failed" |
128 |
|
129 |
if use doc ; then |
130 |
cd "${S}/doc" |
131 |
doxygen || die "making docs failed" |
132 |
fi |
133 |
} |
134 |
|
135 |
src_install () { |
136 |
emake DESTDIR="${D}" install || die "emake failed" |
137 |
|
138 |
cd "${S}" |
139 |
doenvd "${FILESDIR}/50xerces-c" |
140 |
|
141 |
if use doc; then |
142 |
insinto /usr/share/doc/${PF} |
143 |
rm -rf samples/config* samples/Makefile* samples/runConfigure samples/install-sh samples/*/Makefile* |
144 |
doins -r samples |
145 |
dohtml -r doc/html/* |
146 |
fi |
147 |
|
148 |
dodoc STATUS credits.txt version.incl |
149 |
dohtml Readme.html |
150 |
|
151 |
} |
152 |
|
153 |
|
154 |
|
155 |
-- |
156 |
gentoo-commits@l.g.o mailing list |