summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2015-08-27 23:51:36 +0100
committerJames Le Cuirot <chewi@gentoo.org>2015-08-27 23:52:25 +0100
commitf92754eb59a6455a640affcc7e946bba18c58051 (patch)
tree703fa44a4c90684a5e6b4d2b0bf89574a6cfd126 /dev-java/jdom/files
parentprofiles: Remove stale package mask entry for games-emulation/handy. (diff)
downloadgentoo-f92754eb59a6455a640affcc7e946bba18c58051.tar.gz
gentoo-f92754eb59a6455a640affcc7e946bba18c58051.tar.bz2
gentoo-f92754eb59a6455a640affcc7e946bba18c58051.zip
dev-java/jdom: Another rewrite of the v2 ebuild using Ant
Here comes a new challenger! I got sick of monsieurp and wltjr arguing about this package so I decided to outdo them both. :) It was awkward to build before because they had missed the build.xml file present on GitHub. * All tests now pass. * RDEPEND on junit removed. * Unnecessary xml-commons-external dependency removed. * License changed as "JDOM" is basically just Apache-1.1. Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-java/jdom/files')
-rw-r--r--dev-java/jdom/files/build-xml-2.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/jdom/files/build-xml-2.patch b/dev-java/jdom/files/build-xml-2.patch
new file mode 100644
index 000000000000..2e3cb94ef1d2
--- /dev/null
+++ b/dev-java/jdom/files/build-xml-2.patch
@@ -0,0 +1,36 @@
+--- build.xml.orig 2015-02-15 02:58:04.000000000 +0000
++++ build.xml 2015-08-27 23:11:09.807800249 +0100
+@@ -267,7 +267,7 @@
+ </javac>
+ </target>
+
+- <target name="compile" depends="compile.core, compile.junit, compile.contrib, compile.samples"
++ <target name="compile" depends="compile.core, compile.contrib, compile.samples"
+ description="Compiles all JDOM code (core, samples, junit, contrib)" />
+
+ <!-- =================================================================== -->
+@@ -296,7 +296,7 @@
+ <!-- =================================================================== -->
+ <!-- Creates the jars -->
+ <!-- =================================================================== -->
+- <target name="jars" depends="compile, javadoc"
++ <target name="jars" depends="compile"
+ description="Builds the Jars">
+ <fixcrlf srcdir="." includes="**/*.bat" excludes="build*.*" eol="crlf"/>
+ <fixcrlf srcdir="." includes="**/*.sh" excludes="build*.*" eol="lf"/>
+@@ -320,6 +320,7 @@
+ <fileset dir="${contrib.build}" includes="**/*" />
+ <fileset dir="${metainf.build}" excludes="**/MANIFEST.MF" />
+ </jar>
++<!--
+ <jar jarfile="${package}/${jarbase}-junit.jar" >
+ <fileset dir="${junit.build}" includes="**/*" />
+ <fileset dir="${metainf.build}" excludes="**/MANIFEST.MF" />
+@@ -332,6 +333,7 @@
+ <fileset dir="${contrib.src}" includes="**/*" />
+ </jar>
+
++-->
+ </target>
+
+ <target name="androidtests" depends="jars">