1 |
sera 12/01/29 09:57:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xom-1.2.6-r1.ebuild |
5 |
Log: |
6 |
Revbump, strip out fallback parser to allow building wiht other JVMs than |
7 |
SUN/Oracles. #399119 |
8 |
Use java-virtuals/servlet-api instead of dev-java/servletapi. #398689 |
9 |
|
10 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.60 dev-java/xom/ChangeLog |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xom/ChangeLog?rev=1.60&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xom/ChangeLog?rev=1.60&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xom/ChangeLog?r1=1.59&r2=1.60 |
18 |
|
19 |
Index: ChangeLog |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/xom/ChangeLog,v |
22 |
retrieving revision 1.59 |
23 |
retrieving revision 1.60 |
24 |
diff -u -r1.59 -r1.60 |
25 |
--- ChangeLog 1 Jan 2012 14:51:59 -0000 1.59 |
26 |
+++ ChangeLog 29 Jan 2012 09:57:39 -0000 1.60 |
27 |
@@ -1,6 +1,14 @@ |
28 |
# ChangeLog for dev-java/xom |
29 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/ChangeLog,v 1.59 2012/01/01 14:51:59 sera Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/ChangeLog,v 1.60 2012/01/29 09:57:39 sera Exp $ |
32 |
+ |
33 |
+*xom-1.2.6-r1 (29 Jan 2012) |
34 |
+ |
35 |
+ 29 Jan 2012; Ralph Sennhauser <sera@g.o> +xom-1.2.6-r1.ebuild, |
36 |
+ +files/xom-strip-fallback-parser.patch: |
37 |
+ Revbump, strip out fallback parser to allow building wiht other JVMs than |
38 |
+ SUN/Oracles. #399119 |
39 |
+ Use java-virtuals/servlet-api instead of dev-java/servletapi. #398689 |
40 |
|
41 |
01 Jan 2012; Ralph Sennhauser <sera@g.o> xom-1.0-r6.ebuild, |
42 |
xom-1.0-r7.ebuild, xom-1.2.6.ebuild: |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-java/xom/xom-1.2.6-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xom/xom-1.2.6-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xom/xom-1.2.6-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: xom-1.2.6-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/xom/xom-1.2.6-r1.ebuild,v 1.1 2012/01/29 09:57:39 sera Exp $ |
56 |
|
57 |
EAPI="4" |
58 |
|
59 |
JAVA_PKG_IUSE="doc examples source" |
60 |
|
61 |
inherit java-pkg-2 java-ant-2 |
62 |
|
63 |
JAXEN_V="1.1.3" |
64 |
JAXEN_P="jaxen-${JAXEN_V}" |
65 |
|
66 |
DESCRIPTION="A new XML object model." |
67 |
HOMEPAGE="http://cafeconleche.org/XOM/index.html" |
68 |
SRC_URI="http://cafeconleche.org/XOM/${P}.tar.gz |
69 |
http://dist.codehaus.org/jaxen/distributions/${JAXEN_P}-src.tar.gz" |
70 |
# Bundled jaxen as its moved under XOM's namespace |
71 |
|
72 |
LICENSE="LGPL-2" |
73 |
SLOT="0" |
74 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
75 |
IUSE="" |
76 |
|
77 |
COMMON_DEPEND="dev-java/xerces:2 |
78 |
dev-java/xml-commons-external:1.3 |
79 |
examples? ( java-virtuals/servlet-api:2.4 )" |
80 |
RDEPEND=">=virtual/jre-1.4 |
81 |
${COMMON_DEPEND}" |
82 |
DEPEND=">=virtual/jdk-1.4 |
83 |
dev-java/jarjar:1 |
84 |
${COMMON_DEPEND}" |
85 |
|
86 |
S="${WORKDIR}/XOM" |
87 |
|
88 |
# Test require network access to pass |
89 |
# They need a redirected http document on public web |
90 |
RESTRICT="test" |
91 |
|
92 |
java_prepare() { |
93 |
epatch "${FILESDIR}/${P}.patch" |
94 |
epatch "${FILESDIR}/${PN}-strip-fallback-parser.patch" #399119 |
95 |
|
96 |
# Delete test files as they aren't installed |
97 |
rm -vr src/nu/xom/tests || die |
98 |
|
99 |
# Delete bundled jars |
100 |
rm -v *.jar lib/*.jar || die |
101 |
|
102 |
# Delete bundled classes |
103 |
find . -name "*.class" -delete -print || die |
104 |
|
105 |
# Move bundled jaxen to where the build.xml expects it |
106 |
mv "${WORKDIR}"/${JAXEN_P}/ lib/ || die |
107 |
|
108 |
java-pkg_jar-from --into lib/ xml-commons-external-1.3 |
109 |
java-pkg_jar-from --into lib/ xerces-2 |
110 |
java-pkg_jar-from --build-only --into lib/ jarjar-1 |
111 |
# tagsoup is only needed to run betterdoc but we use the pregenerated ones |
112 |
} |
113 |
|
114 |
src_compile() { |
115 |
local ant_flags="-Ddebug=off" |
116 |
use examples && ant_flags="${ant_flags} -Dservlet.jar=$(java-pkg_getjar servlet-api-2.4 servlet-api.jar)" |
117 |
|
118 |
ANT_TASKS="jarjar-1" eant jar ${ant_flags}\ |
119 |
$(use examples && echo samples) |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
java-pkg_newjar build/${P}.jar ${PN}.jar |
124 |
use examples && java-pkg_dojar build/xom-samples.jar |
125 |
dodoc Todo.txt |
126 |
|
127 |
use doc && java-pkg_dojavadoc apidocs/ |
128 |
use source && java-pkg_dosrc src/* |
129 |
use examples && java-pkg_doexamples --subdir nu/xom/samples src/nu/xom/samples |
130 |
} |