1 |
betelgeuse 07/09/18 22:17:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xmlgraphics-commons-1.2.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.1.3.7) |
8 |
|
9 |
Revision Changes Path |
10 |
1.8 dev-java/xmlgraphics-commons/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog?rev=1.8&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog?rev=1.8&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog?r1=1.7&r2=1.8 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v |
19 |
retrieving revision 1.7 |
20 |
retrieving revision 1.8 |
21 |
diff -u -r1.7 -r1.8 |
22 |
--- ChangeLog 21 Aug 2007 05:08:26 -0000 1.7 |
23 |
+++ ChangeLog 18 Sep 2007 22:17:53 -0000 1.8 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-java/xmlgraphics-commons |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.7 2007/08/21 05:08:26 wltjr Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.8 2007/09/18 22:17:53 betelgeuse Exp $ |
29 |
+ |
30 |
+*xmlgraphics-commons-1.2 (18 Sep 2007) |
31 |
+ |
32 |
+ 18 Sep 2007; Petteri Räty <betelgeuse@g.o> |
33 |
+ +xmlgraphics-commons-1.2.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
21 Aug 2007; William L. Thomson Jr. <wltjr@g.o> |
37 |
xmlgraphics-commons-1.1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: xmlgraphics-commons-1.2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2.ebuild,v 1.1 2007/09/18 22:17:53 betelgeuse Exp $ |
51 |
|
52 |
JAVA_PKG_IUSE="doc examples source test" |
53 |
|
54 |
inherit java-pkg-2 java-ant-2 |
55 |
|
56 |
DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP." |
57 |
HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html" |
58 |
SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz" |
59 |
|
60 |
LICENSE="Apache-2.0" |
61 |
SLOT="1" |
62 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
63 |
IUSE="jpeg" |
64 |
|
65 |
# fails connect to X even tho it sets java.awt.headless |
66 |
RESTRICT="test" |
67 |
CDEPEND=">=dev-java/commons-io-1" |
68 |
DEPEND=">=virtual/jdk-1.4 |
69 |
jpeg? ( |
70 |
|| ( |
71 |
>=dev-java/sun-jdk-1.4 |
72 |
>=dev-java/blackdown-jdk-1.4 |
73 |
>=dev-java/ibm-jdk-bin-1.4 |
74 |
>=dev-java/jrockit-jdk-bin-1.4 |
75 |
) |
76 |
) |
77 |
test? ( |
78 |
dev-java/ant-junit |
79 |
) |
80 |
${CDEPEND}" |
81 |
RDEPEND=">=virtual/jre-1.4 |
82 |
${CDEPEND}" |
83 |
|
84 |
# TODO investigate producing .net libraries |
85 |
# stratigies for non sun jdk's/jre's |
86 |
|
87 |
pkg_setup() { |
88 |
java-pkg-2_pkg_setup |
89 |
|
90 |
if use jpeg && java-pkg_current-vm-matches kaffe; then |
91 |
eerror "Sun-private JPEG support cannot be built with kaffe." |
92 |
eerror "Please set your build VM to Sun, Blackdown, IBM or JRockit JDK." |
93 |
eerror "See http://www.gentoo.org/doc/en/java.xml for details." |
94 |
eerror "Alternatively, install this package with USE=-jpeg" |
95 |
die "Cannot build with USE=jpeg and kaffe." |
96 |
fi |
97 |
} |
98 |
|
99 |
src_unpack() { |
100 |
unpack ${A} |
101 |
cd "${S}" |
102 |
|
103 |
# automagic bad |
104 |
java-ant_ignore-system-classes || die |
105 |
|
106 |
cd ${S}/lib || die |
107 |
rm -v *.jar || die |
108 |
|
109 |
java-pkg_jarfrom commons-io-1 |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
local af="-Djdk14.present=true" |
114 |
use jpeg && af="${af} -Dsun.jpeg.present=true" |
115 |
eant ${af} jar-main $(use_doc javadocs) |
116 |
} |
117 |
|
118 |
src_test() { |
119 |
java-pkg_jarfrom --into lib junit |
120 |
# probably needs ${af} from src_compile, doesn't work anyway |
121 |
ANT_TASKS="ant-junit" eant -Djunit.present=true junit |
122 |
} |
123 |
|
124 |
src_install(){ |
125 |
java-pkg_newjar build/${P}.jar |
126 |
use source && java-pkg_dosrc src/java/org src/java-1.4/org |
127 |
use doc && java-pkg_dojavadoc build/javadocs |
128 |
} |
129 |
|
130 |
|
131 |
|
132 |
-- |
133 |
gentoo-commits@g.o mailing list |