Gentoo Archives: gentoo-commits

From: "Ralph Sennhauser (sera)" <sera@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/xmlc: xmlc-2.3.1-r1.ebuild ChangeLog
Date: Sun, 01 Jul 2012 08:17:22
Message-Id: 20120701081712.E7D2C2004B@flycatcher.gentoo.org
1 sera 12/07/01 08:17:12
2
3 Modified: ChangeLog
4 Added: xmlc-2.3.1-r1.ebuild
5 Log:
6 Add missing dep on xml-commons-external. #424293
7 Bump servlet-api dep to 2.5.
8
9 (Portage version: 2.1.10.65/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.19 dev-java/xmlc/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlc/ChangeLog?rev=1.19&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlc/ChangeLog?rev=1.19&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlc/ChangeLog?r1=1.18&r2=1.19
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-java/xmlc/ChangeLog,v
21 retrieving revision 1.18
22 retrieving revision 1.19
23 diff -u -r1.18 -r1.19
24 --- ChangeLog 24 May 2010 15:04:53 -0000 1.18
25 +++ ChangeLog 1 Jul 2012 08:17:12 -0000 1.19
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-java/xmlc
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlc/ChangeLog,v 1.18 2010/05/24 15:04:53 caster Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlc/ChangeLog,v 1.19 2012/07/01 08:17:12 sera Exp $
32 +
33 +*xmlc-2.3.1-r1 (01 Jul 2012)
34 +
35 + 01 Jul 2012; Ralph Sennhauser <sera@g.o> +xmlc-2.3.1-r1.ebuild:
36 + Add missing dep on xml-commons-external. #424293
37 + Bump servlet-api dep to 2.5.
38
39 24 May 2010; Vlastimil Babka <caster@g.o> -xmlc-2.3.ebuild,
40 -files/xmlc-2.3-build.xml.patch:
41
42
43
44 1.1 dev-java/xmlc/xmlc-2.3.1-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlc/xmlc-2.3.1-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/xmlc/xmlc-2.3.1-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: xmlc-2.3.1-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-java/xmlc/xmlc-2.3.1-r1.ebuild,v 1.1 2012/07/01 08:17:12 sera Exp $
54
55 EAPI="4"
56
57 JAVA_PKG_IUSE="doc"
58
59 inherit java-pkg-2 java-ant-2
60
61 MY_P="${PN}-src-${PV}"
62 DESCRIPTION="Open Source Java/XML Presentation Compiler"
63 HOMEPAGE="http://xmlc.objectweb.org/"
64 SRC_URI="http://download.forge.objectweb.org/${PN}/${MY_P}.zip
65 http://download.us.forge.objectweb.org/${PN}/${MY_P}.zip"
66
67 LICENSE="LGPL-2.1"
68 SLOT="0"
69 KEYWORDS="~amd64 ~ppc ~x86"
70 IUSE=""
71
72 COMMON_DEP="
73 dev-java/ant-core:0
74 dev-java/asm:3
75 dev-java/gnu-regexp:1
76 dev-java/log4j:0
77 dev-java/nekohtml:0
78 dev-java/xerces:2
79 dev-java/xml-commons-external:1.4
80 dev-java/xml-commons-resolver:0
81 java-virtuals/servlet-api:2.5"
82 RDEPEND=">=virtual/jre-1.4
83 ${COMMON_DEP}"
84 DEPEND=">=virtual/jdk-1.4
85 app-arch/unzip
86 ${COMMON_DEP}"
87
88 S="${WORKDIR}/${MY_P}/"
89
90 java_prepare() {
91 find -name '*.jar' -exec rm -v {} + || die
92
93 # get rid of jarjar, and add ant.jar to the taskdef module's classpath
94 epatch "${FILESDIR}/${P}-build.xml.patch"
95 }
96
97 JAVA_ANT_REWRITE_CLASSPATH="yes"
98
99 EANT_BUILD_TARGET="all-libs"
100 EANT_GENTOO_CLASSPATH="xerces-2,gnu-regexp-1,log4j,nekohtml,asm-3,xml-commons-external-1.4,xml-commons-resolver,servlet-api-2.5,ant-core"
101
102 src_install() {
103 # the rest of jars are included in all-runtime
104 java-pkg_dojar release/lib/{xmlc-all-runtime,xmlc-taskdef}.jar
105 java-pkg_register-ant-task
106
107 newdoc xmlc/modules/xmlc/README.XMLC README || die
108 dodoc xmlc/modules/xmlc/ChangeLog || die
109 dohtml release/release-notes/xmlc-${PV//./-}-release-note.html \
110 xmlc/bugs/bugs.html || die
111
112 # move the generated documentation around
113 if use doc; then
114 mv ${PN}/modules/taskdef/doc ${PN}/modules/${PN}/doc/taskdef || die
115 mv ${PN}/modules/wireless/doc ${PN}/modules/${PN}/doc/wireless || die
116 mv ${PN}/modules/xhtml/doc ${PN}/modules/${PN}/doc/xhtml || die
117 java-pkg_dohtml -r ${PN}/modules/xmlc/doc/* || die "Failed to install documentation"
118 fi
119 }