1 |
caster 07/11/10 00:39:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fop-0.94.ebuild |
5 |
Removed: fop-0.20.5-r7.ebuild |
6 |
Log: |
7 |
Version bump, bug #194687. No more ecj forcing, javac seems fine even on amd64. Javadoc generation still masked on amd64 though. Also dropped od 0.20.5 version. |
8 |
(Portage version: 2.1.3.19) |
9 |
|
10 |
Revision Changes Path |
11 |
1.55 dev-java/fop/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fop/ChangeLog?rev=1.55&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fop/ChangeLog?rev=1.55&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fop/ChangeLog?r1=1.54&r2=1.55 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/fop/ChangeLog,v |
20 |
retrieving revision 1.54 |
21 |
retrieving revision 1.55 |
22 |
diff -u -r1.54 -r1.55 |
23 |
--- ChangeLog 18 Sep 2007 22:18:32 -0000 1.54 |
24 |
+++ ChangeLog 10 Nov 2007 00:39:01 -0000 1.55 |
25 |
@@ -1,6 +1,16 @@ |
26 |
# ChangeLog for dev-java/fop |
27 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/ChangeLog,v 1.54 2007/09/18 22:18:32 betelgeuse Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/ChangeLog,v 1.55 2007/11/10 00:39:01 caster Exp $ |
30 |
+ |
31 |
+*fop-0.94 (10 Nov 2007) |
32 |
+ |
33 |
+ 10 Nov 2007; Vlastimil Babka <caster@g.o> |
34 |
+ -files/0.20.5-buildxml.patch, -files/0.20.5-startscript.patch, |
35 |
+ -files/0.20.5-no-autodetection.patch, -fop-0.20.5-r7.ebuild, |
36 |
+ +fop-0.94.ebuild: |
37 |
+ Version bump, bug #194687. No more ecj forcing, javac seems fine even on |
38 |
+ amd64. Javadoc generation still masked on amd64 though. Also dropped od |
39 |
+ 0.20.5 version. |
40 |
|
41 |
18 Sep 2007; Petteri Räty <betelgeuse@g.o> fop-0.93-r1.ebuild: |
42 |
Add a built_with_use check for dev-java/xmlgraphics-commons and the jpeg use |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-java/fop/fop-0.94.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fop/fop-0.94.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/fop/fop-0.94.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: fop-0.94.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2007 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/fop/fop-0.94.ebuild,v 1.1 2007/11/10 00:39:01 caster Exp $ |
56 |
|
57 |
# TODO: if 'doc' use flag is used then should build also extra docs ('docs' ant target), currently it cannot |
58 |
# be built as it needs forrest which we do not have |
59 |
# TODO: package and use optional dependency jeuclid |
60 |
|
61 |
JAVA_PKG_IUSE="doc examples source" |
62 |
WANT_ANT_TASKS="ant-trax" |
63 |
inherit eutils java-pkg-2 java-ant-2 |
64 |
|
65 |
DESCRIPTION="Formatting Objects Processor is a print formatter driven by XSL" |
66 |
HOMEPAGE="http://xmlgraphics.apache.org/fop/" |
67 |
SRC_URI="mirror://apache/xmlgraphics/${PN}/${P}-src.tar.gz" |
68 |
LICENSE="Apache-2.0" |
69 |
SLOT="0" |
70 |
# doesn't work with java.awt.headless |
71 |
RESTRICT="test" |
72 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
73 |
IUSE="hyphenation jai jimi" |
74 |
|
75 |
COMMON_DEPEND=" |
76 |
>=dev-java/avalon-framework-4.2 |
77 |
>=dev-java/batik-1.6 |
78 |
dev-java/commons-io |
79 |
dev-java/commons-logging |
80 |
=dev-java/servletapi-2.2* |
81 |
>=dev-java/xmlgraphics-commons-1.1 |
82 |
dev-java/xalan |
83 |
jai? ( dev-java/sun-jai-bin ) |
84 |
jimi? ( dev-java/sun-jimi )" |
85 |
|
86 |
RDEPEND=">=virtual/jre-1.4 |
87 |
dev-java/ant-core |
88 |
${COMMON_DEPEND}" |
89 |
|
90 |
DEPEND=">=virtual/jdk-1.4 |
91 |
hyphenation? ( dev-java/offo-hyphenation ) |
92 |
${COMMON_DEPEND}" |
93 |
# test? ( |
94 |
# =dev-java/junit-3.8* |
95 |
# dev-java/xmlunit |
96 |
# )" |
97 |
|
98 |
pkg_setup() { |
99 |
if ! built_with_use dev-java/xmlgraphics-commons jpeg; then |
100 |
msg="${CATEGORY}/${P} needs dev-java/xmlgraphics-commons built with" |
101 |
msg="${msg} the jpeg use flag" |
102 |
eerror ${msg} |
103 |
die "Recompile dev-java/xmlgraphics-commons with the jpeg use flag" |
104 |
fi |
105 |
java-pkg-2_pkg_setup |
106 |
} |
107 |
|
108 |
src_unpack() { |
109 |
unpack "${A}" |
110 |
cd "${S}" |
111 |
|
112 |
# automagic is bad |
113 |
java-ant_ignore-system-classes || die |
114 |
|
115 |
cd "${S}/lib" |
116 |
rm -v *.jar || die |
117 |
|
118 |
java-pkg_jarfrom ant-core ant.jar |
119 |
java-pkg_jarfrom avalon-framework-4.2 avalon-framework.jar \ |
120 |
avalon-framework-4.2.0.jar |
121 |
java-pkg_jarfrom batik-1.6 batik-all.jar batik-all-1.6.jar |
122 |
java-pkg_jarfrom commons-io-1 commons-io.jar commons-io-1.3.1.jar |
123 |
java-pkg_jarfrom commons-logging commons-logging.jar \ |
124 |
commons-logging-1.0.4.jar |
125 |
java-pkg_jarfrom servletapi-2.2 servlet.jar servlet-2.2.jar |
126 |
java-pkg_jarfrom xmlgraphics-commons-1 xmlgraphics-commons.jar \ |
127 |
xmlgraphics-commons-1.2.jar |
128 |
java-pkg_jarfrom xalan xalan.jar xalan-2.7.0.jar |
129 |
|
130 |
use jai && java-pkg_jar-from sun-jai-bin |
131 |
use jimi && java-pkg_jar-from sun-jimi |
132 |
} |
133 |
|
134 |
src_compile() { |
135 |
# because I killed the automagic tests; all our JDK's have JCE |
136 |
local af="-Djdk14.present=true -Djce.present=true" |
137 |
use hyphenation && af="${af} -Duser.hyph.dir=/usr/share/offo-hyphenation/hyph/" |
138 |
use jai && af="${af} -Djai.present=true" |
139 |
use jimi && af="${af} -Djimi.present=true" |
140 |
|
141 |
export ANT_OPTS="-Xmx256m" |
142 |
eant ${af} -Djavahome.jdk14="${JAVA_HOME}" package $(use_doc javadocs) |
143 |
} |
144 |
|
145 |
src_test() { |
146 |
if use test ; then |
147 |
cd "${S}/lib" |
148 |
java-pkg_jar-from xmlunit-1 |
149 |
java-pkg_jar-from junit |
150 |
cd "${S}" |
151 |
fi |
152 |
|
153 |
ANT_OPTS="-Xmx1g -Djava.awt.headless=true" eant -Djunit.fork=off junit |
154 |
} |
155 |
|
156 |
src_install() { |
157 |
java-pkg_dojar build/fop.jar build/fop-sandbox.jar |
158 |
if use hyphenation; then |
159 |
java-pkg_dojar build/fop-hyph.jar |
160 |
insinto /usr/share/${PN}/ |
161 |
doins -r hyph || die |
162 |
fi |
163 |
|
164 |
# doesn't support everything upstream launcher does... |
165 |
java-pkg_dolauncher ${PN} --main org.apache.fop.cli.Main |
166 |
|
167 |
dodoc NOTICE README |
168 |
|
169 |
use doc && java-pkg_dojavadoc build/javadocs |
170 |
use examples && java-pkg_doexamples examples/* conf |
171 |
use source && java-pkg_dosrc src/java/org src/java-1.4/* src/sandbox/org |
172 |
} |
173 |
|
174 |
|
175 |
|
176 |
-- |
177 |
gentoo-commits@g.o mailing list |