Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/xerces: ChangeLog xerces-2.9.1.ebuild
Date: Sun, 18 Nov 2007 12:12:39
Message-Id: E1Itj0n-00082l-A6@stork.gentoo.org
1 caster 07/11/18 12:12:29
2
3 Modified: ChangeLog
4 Added: xerces-2.9.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.98 dev-java/xerces/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xerces/ChangeLog?rev=1.98&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xerces/ChangeLog?rev=1.98&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xerces/ChangeLog?r1=1.97&r2=1.98
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v
19 retrieving revision 1.97
20 retrieving revision 1.98
21 diff -u -r1.97 -r1.98
22 --- ChangeLog 15 Nov 2007 01:13:51 -0000 1.97
23 +++ ChangeLog 18 Nov 2007 12:12:28 -0000 1.98
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-java/xerces
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.97 2007/11/15 01:13:51 betelgeuse Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/ChangeLog,v 1.98 2007/11/18 12:12:28 caster Exp $
29 +
30 +*xerces-2.9.1 (18 Nov 2007)
31 +
32 + 18 Nov 2007; Vlastimil Babka <caster@g.o>
33 + +files/xerces-2.9.1-gentoo.patch, +files/xerces-2.9.1-no_dom3.patch,
34 + +xerces-2.9.1.ebuild:
35 + Version bump.
36
37 15 Nov 2007; Petteri Räty <betelgeuse@g.o>
38 -xerces-2.3.0-r1.ebuild:
39
40
41
42 1.1 dev-java/xerces/xerces-2.9.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xerces/xerces-2.9.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xerces/xerces-2.9.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xerces-2.9.1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-java/xerces/xerces-2.9.1.ebuild,v 1.1 2007/11/18 12:12:28 caster Exp $
52
53 # needed for the ANT_TASKS="xjavac-1" later so we don't need to use deprecated eant -lib
54 # (because xjavac won't install jar in /usr/share/ant-core/lib anymore)
55 WANT_SPLIT_ANT=true
56 JAVA_PKG_IUSE="doc examples source"
57
58 inherit eutils versionator java-pkg-2 java-ant-2
59
60 DIST_PN="Xerces-J"
61 SRC_PV="$(replace_all_version_separators _ )"
62 DESCRIPTION="The next generation of high performance, fully compliant XML parsers in the Apache Xerces family"
63 HOMEPAGE="http://xml.apache.org/xerces2-j/index.html"
64 SRC_URI="mirror://apache/${PN}/j/${DIST_PN}-src.${PV}.tar.gz"
65
66 LICENSE="Apache-2.0"
67 SLOT="2"
68 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
69 IUSE=""
70
71 # ships with external-1.3.04, need slot dep with lower limit
72 COMMON_DEP="=dev-java/xml-commons-external-1.3*
73 >=dev-java/xml-commons-resolver-1.2
74 dev-java/xalan-serializer"
75 RDEPEND=">=virtual/jre-1.4
76 ${COMMON_DEP}"
77 DEPEND=">=virtual/jdk-1.4
78 >=dev-java/xjavac-20041208-r4
79 ${COMMON_DEP}"
80
81 S="${WORKDIR}/${PN}-${SRC_PV}"
82
83 src_unpack() {
84 unpack ${A}
85
86 cd "${S}"
87 epatch ${FILESDIR}/${P}-gentoo.patch
88 epatch ${FILESDIR}/${P}-no_dom3.patch
89 java-ant_rewrite-classpath
90 }
91
92 src_compile() {
93 # known small bug - javadocs use custom taglets, which come as bundled jar in xerces-J-tools.2.8.0.tar.gz
94 # ommiting them causes non-fatal errors in javadocs generation
95 # need to either find the taglets source, use the bundled jars as it's only compile-time or remove the taglet defs from build.xml
96 ANT_TASKS="xjavac-1" eant -Dgentoo.classpath=$(java-pkg_getjars xml-commons-resolver,xml-commons-external-1.3,xalan-serializer) \
97 jar $(use_doc javadocs)
98 }
99
100 src_install() {
101 java-pkg_dojar build/xercesImpl.jar
102
103 dodoc README NOTICE || die
104 dohtml Readme.html || die
105
106 use doc && java-pkg_dojavadoc build/docs/javadocs/xerces2
107 use examples java-pkg_doexamples samples
108 use source && java-pkg_dosrc "${S}/src/org"
109 }
110
111
112
113 --
114 gentoo-commits@g.o mailing list