1 |
caster 08/02/02 11:53:04 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xmlc-2.3.ebuild |
5 |
Log: |
6 |
Version bump and migration to gen-2 eclasses, bug #168655. Dropped ppc due to nekohtml dep. |
7 |
(Portage version: 2.1.4.1) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 dev-java/xmlc/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlc/ChangeLog?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlc/ChangeLog?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlc/ChangeLog?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/xmlc/ChangeLog,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- ChangeLog 21 Feb 2007 23:47:28 -0000 1.5 |
23 |
+++ ChangeLog 2 Feb 2008 11:53:03 -0000 1.6 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-java/xmlc |
26 |
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlc/ChangeLog,v 1.5 2007/02/21 23:47:28 peper Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlc/ChangeLog,v 1.6 2008/02/02 11:53:03 caster Exp $ |
30 |
+ |
31 |
+*xmlc-2.3 (02 Feb 2008) |
32 |
+ |
33 |
+ 02 Feb 2008; Vlastimil Babka <caster@g.o> |
34 |
+ +files/xmlc-2.3-build.xml.patch, +xmlc-2.3.ebuild: |
35 |
+ Version bump and migration to gen-2 eclasses, bug #168655. Dropped ppc due |
36 |
+ to nekohtml dep. |
37 |
|
38 |
21 Feb 2007; Piotr JaroszyĆski <peper@g.o> ChangeLog: |
39 |
Transition to Manifest2. |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-java/xmlc/xmlc-2.3.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlc/xmlc-2.3.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlc/xmlc-2.3.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: xmlc-2.3.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2008 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlc/xmlc-2.3.ebuild,v 1.1 2008/02/02 11:53:03 caster Exp $ |
53 |
|
54 |
EAPI="1" |
55 |
JAVA_PKG_IUSE="doc" |
56 |
|
57 |
inherit java-pkg-2 java-ant-2 |
58 |
|
59 |
MY_P="${PN}-src-${PV}" |
60 |
DESCRIPTION="Open Source Java/XML Presentation Compiler" |
61 |
HOMEPAGE="http://xmlc.objectweb.org/" |
62 |
SRC_URI="http://download.forge.objectweb.org/${PN}/${MY_P}.zip |
63 |
http://download.us.forge.objectweb.org/${PN}/${MY_P}.zip" |
64 |
|
65 |
COMMON_DEP="dev-java/xerces:2 |
66 |
dev-java/gnu-regexp:1 |
67 |
java-virtuals/servlet-api:2.3 |
68 |
dev-java/log4j:0 |
69 |
dev-java/xml-commons-resolver:0 |
70 |
dev-java/nekohtml:0 |
71 |
dev-java/asm:3" |
72 |
RDEPEND=">=virtual/jre-1.4 |
73 |
${COMMON_DEP}" |
74 |
DEPEND=">=virtual/jdk-1.4 |
75 |
app-arch/unzip |
76 |
${COMMON_DEP}" |
77 |
LICENSE="LGPL-2.1" |
78 |
SLOT="0" |
79 |
KEYWORDS="~amd64 ~x86" |
80 |
IUSE="" |
81 |
|
82 |
S="${WORKDIR}/${MY_P}/" |
83 |
|
84 |
src_unpack() { |
85 |
unpack ${A} |
86 |
cd "${S}" |
87 |
|
88 |
# get rid of jarjar, and add ant.jar to the taskdef module's classpath |
89 |
epatch "${FILESDIR}/${P}-build.xml.patch" |
90 |
|
91 |
cd "${S}"/release/build-lib/ || die |
92 |
rm -v *.jar || die |
93 |
|
94 |
java-pkg_jar-from xerces-2,gnu-regexp-1,log4j,nekohtml,asm-3 |
95 |
java-pkg_jar-from xml-commons-resolver xml-commons-resolver.jar resolver.jar |
96 |
java-pkg_jar-from --virtual servlet-api-2.3 servlet.jar |
97 |
java-pkg_jar-from --build-only ant-core ant.jar |
98 |
} |
99 |
|
100 |
EANT_BUILD_TARGET="all-libs" |
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 |
} |
120 |
|
121 |
|
122 |
|
123 |
-- |
124 |
gentoo-commits@l.g.o mailing list |