jedit: update from 5.1.0 to 5.2.0

This commit is contained in:
Vincent Laporte 2015-03-08 15:07:29 +01:00
parent 9be119bb0e
commit 48c6daf491
2 changed files with 30 additions and 25 deletions

View File

@ -1,6 +1,6 @@
--- a/build.xml 2013-07-28 18:03:55.000000000 +0100 --- a/build.xml 2015-02-04 08:47:37.000000000 +0100
+++ b/build.xml 2014-11-12 21:54:48.443482074 +0000 +++ b/build.xml 2015-02-17 14:06:42.455283148 +0100
@@ -42,16 +42,6 @@ @@ -43,16 +43,6 @@
<property name="textAreaPackage" <property name="textAreaPackage"
location="../textarea"/> location="../textarea"/>
@ -17,7 +17,7 @@
<!-- Miscellaneous --> <!-- Miscellaneous -->
<property name="jar.filename" <property name="jar.filename"
value="${ant.project.name}.jar"/> value="${ant.project.name}.jar"/>
@@ -89,51 +79,8 @@ @@ -90,51 +80,8 @@
value="true"/> value="true"/>
</target> </target>
@ -39,7 +39,7 @@
- -
- <target name="init-ivy" - <target name="init-ivy"
- depends="init,download-ivy" - depends="init,download-ivy"
- unless="${ivy.done}"> - unless="ivy.done">
- <property name="ivy.retrieve.pattern" - <property name="ivy.retrieve.pattern"
- value="${lib.dir}/[conf]/[artifact](-[classifier]).[ext]"/> - value="${lib.dir}/[conf]/[artifact](-[classifier]).[ext]"/>
- <taskdef resource="org/apache/ivy/ant/antlib.xml" - <taskdef resource="org/apache/ivy/ant/antlib.xml"
@ -52,7 +52,7 @@
- <target name="retrieve" - <target name="retrieve"
- description="retrieve the dependencies" - description="retrieve the dependencies"
- depends="init,init-ivy" - depends="init,init-ivy"
- unless="${ivy.done}"> - unless="ivy.done">
- <ivy:retrieve sync="true"/> - <ivy:retrieve sync="true"/>
- <ivy:retrieve pattern="${lib.dir}/ivy/[artifact]-[revision].[ext]" - <ivy:retrieve pattern="${lib.dir}/ivy/[artifact]-[revision].[ext]"
- organisation="org.apache.ivy" - organisation="org.apache.ivy"
@ -70,7 +70,7 @@
<taskdef resource="net/sf/antcontrib/antlib.xml" <taskdef resource="net/sf/antcontrib/antlib.xml"
uri="antlib:net.sf.antcontrib"> uri="antlib:net.sf.antcontrib">
<classpath> <classpath>
@@ -238,37 +185,6 @@ @@ -239,37 +186,6 @@
</javac> </javac>
</target> </target>
@ -108,13 +108,14 @@
<target name="prepare-textArea" <target name="prepare-textArea"
depends="init"> depends="init">
<delete includeemptydirs="true" <delete includeemptydirs="true"
@@ -425,32 +341,8 @@ @@ -423,33 +339,8 @@
</javac> </javac>
</target> </target>
- <target name="test" - <target name="test"
- depends="init,retrieve,compile,compile-test" - depends="init,retrieve,compile,compile-test"
- description="run unit tests"> - description="run unit tests"
- unless="skip.tests">
- <delete dir="${build.dir}/test/raw-reports"/> - <delete dir="${build.dir}/test/raw-reports"/>
- <mkdir dir="${build.dir}/test/raw-reports"/> - <mkdir dir="${build.dir}/test/raw-reports"/>
- <junit printsummary="true" - <junit printsummary="true"
@ -142,7 +143,11 @@
description="build the jEdit JAR-file with full debug-information"> description="build the jEdit JAR-file with full debug-information">
<mkdir dir="${jar.location}"/> <mkdir dir="${jar.location}"/>
<jar destfile="${jar.location}/${jar.filename}" <jar destfile="${jar.location}/${jar.filename}"
@@ -508,7 +400,7 @@ @@ -504,11 +395,10 @@
</copy>
</contrib:then>
</contrib:if>
- <antcall target="test" />
</target> </target>
<target name="build-exe-launcher" <target name="build-exe-launcher"
@ -151,7 +156,7 @@
description="build the EXE launcher"> description="build the EXE launcher">
<contrib:if> <contrib:if>
<os family="windows"/> <os family="windows"/>
@@ -611,7 +503,7 @@ @@ -622,7 +512,7 @@
</target> </target>
<target name="unpack-docbook-xsl" <target name="unpack-docbook-xsl"
@ -160,7 +165,7 @@
<unzip src="${lib.dir}/docbook/docbook-xsl-resources.zip" <unzip src="${lib.dir}/docbook/docbook-xsl-resources.zip"
dest="${build.dir}/docbook-xsl/"/> dest="${build.dir}/docbook-xsl/"/>
</target> </target>
@@ -655,7 +547,7 @@ @@ -668,7 +558,7 @@
</presetdef> </presetdef>
<target name="generate-doc-faq" <target name="generate-doc-faq"
@ -169,7 +174,7 @@
<dependset.html> <dependset.html>
<srcfileset dir="doc/FAQ"/> <srcfileset dir="doc/FAQ"/>
<targetfileset dir="${jar.location}/doc/FAQ"/> <targetfileset dir="${jar.location}/doc/FAQ"/>
@@ -679,7 +571,7 @@ @@ -692,7 +582,7 @@
</target> </target>
<target name="generate-doc-news" <target name="generate-doc-news"
@ -178,7 +183,7 @@
<dependset.html> <dependset.html>
<srcfileset dir="doc/whatsnew"/> <srcfileset dir="doc/whatsnew"/>
<targetfileset dir="${jar.location}/doc/whatsnew"/> <targetfileset dir="${jar.location}/doc/whatsnew"/>
@@ -703,7 +595,7 @@ @@ -716,7 +606,7 @@
</target> </target>
<target name="generate-doc-users-guide" <target name="generate-doc-users-guide"
@ -187,7 +192,7 @@
<dependset.html> <dependset.html>
<srcfileset dir="doc/users-guide"/> <srcfileset dir="doc/users-guide"/>
<targetfileset dir="${jar.location}/doc/users-guide"/> <targetfileset dir="${jar.location}/doc/users-guide"/>
@@ -838,7 +730,7 @@ @@ -851,7 +741,7 @@
</target> </target>
<target name="generate-pdf-users-guide" <target name="generate-pdf-users-guide"
@ -196,7 +201,7 @@
<fail message="Please set the property &quot;paper.type&quot;" <fail message="Please set the property &quot;paper.type&quot;"
unless="paper.type"/> unless="paper.type"/>
<contrib:switch value="${paper.type}"> <contrib:switch value="${paper.type}">
@@ -1143,7 +1035,7 @@ @@ -1154,7 +1044,7 @@
</target> </target>
<target name="compile-jarbundler" <target name="compile-jarbundler"
@ -205,7 +210,7 @@
<mkdir dir="${classes.dir}/jarbundler"/> <mkdir dir="${classes.dir}/jarbundler"/>
<depend srcDir="${basedir}" <depend srcDir="${basedir}"
destDir="${classes.dir}/jarbundler" destDir="${classes.dir}/jarbundler"
@@ -1173,7 +1065,7 @@ @@ -1180,7 +1070,7 @@
</target> </target>
<target name="dist-mac-finish" <target name="dist-mac-finish"
@ -214,7 +219,7 @@
description="finish building the Mac OS X disk image (DMG-file) on Mac OS X"> description="finish building the Mac OS X disk image (DMG-file) on Mac OS X">
<fail message="The disk image (DMG-file) for easy distribution on Mac OS X can only be built on Mac OS X currently"> <fail message="The disk image (DMG-file) for easy distribution on Mac OS X can only be built on Mac OS X currently">
<condition> <condition>
@@ -1271,7 +1163,7 @@ @@ -1295,7 +1185,7 @@
</target> </target>
<target name="dist-mac" <target name="dist-mac"
@ -223,7 +228,7 @@
description="build the Mac OS X disk image (DMG-file)"> description="build the Mac OS X disk image (DMG-file)">
<antcall target="compile-jarbundler"> <antcall target="compile-jarbundler">
<param name="config.build.debuglevel" <param name="config.build.debuglevel"
@@ -1386,7 +1278,7 @@ @@ -1411,7 +1301,7 @@
</target> </target>
<target name="prepare-dist-files" <target name="prepare-dist-files"
@ -232,7 +237,7 @@
<antcall target="build"> <antcall target="build">
<param name="config.build.debuglevel" <param name="config.build.debuglevel"
value="lines,source"/> value="lines,source"/>
@@ -1567,7 +1459,7 @@ @@ -1592,7 +1482,7 @@
</target> </target>
<target name="dist-deb" <target name="dist-deb"
@ -241,7 +246,7 @@
description="build the DEB Package"> description="build the DEB Package">
<antcall target="compile-ar"> <antcall target="compile-ar">
<param name="config.build.debuglevel" <param name="config.build.debuglevel"
@@ -1813,7 +1705,7 @@ @@ -1838,7 +1728,7 @@
</target> </target>
<target name="dist-sign-deb-Release" <target name="dist-sign-deb-Release"

View File

@ -1,7 +1,7 @@
{stdenv, fetchurl, ant, jdk, commonsBsf, commonsLogging}: { stdenv, fetchurl, ant, jdk, commonsBsf, commonsLogging }:
let let
version = "5.1.0"; version = "5.2.0";
bsh = fetchurl { bsh = fetchurl {
url = http://www.beanshell.org/bsh-2.0b4.jar; url = http://www.beanshell.org/bsh-2.0b4.jar;
sha256 = "1di7hj2yms1m3wa8k70jpw0wzfnrgibpqnvdk33ahfaqi03mqfci"; sha256 = "1di7hj2yms1m3wa8k70jpw0wzfnrgibpqnvdk33ahfaqi03mqfci";
@ -20,7 +20,7 @@ stdenv.mkDerivation {
name = "jedit-${version}"; name = "jedit-${version}";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/jedit/jedit${version}source.tar.bz2"; url = "mirror://sourceforge/jedit/jedit${version}source.tar.bz2";
sha256 = "015rn4339mp4wrd901x56nr42wfcy429pg54n835c6n34b2jjdc6"; sha256 = "03wmbh90rl5lsc35d7jwcp9j5qyyzq1nccxf4fal8bmnx8n4si0x";
}; };
buildInputs = [ ant jdk commonsBsf commonsLogging ]; buildInputs = [ ant jdk commonsBsf commonsLogging ];
@ -63,7 +63,7 @@ stdenv.mkDerivation {
description = "Mature programmer's text editor (Java based)"; description = "Mature programmer's text editor (Java based)";
homepage = http://www.jedit.org; homepage = http://www.jedit.org;
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.unix;
maintainers = [ maintainers.vbgl ]; maintainers = [ maintainers.vbgl ];
}; };
} }