summaryrefslogtreecommitdiff
path: root/libre/jedit/jedit-fix_build.patch
blob: 123bb219d46d1b6e87ee54dea15b965ccc25f3c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- jEdit.orig/build.xml	2015-10-20 12:56:08.000000000 -0500
+++ jEdit/build.xml	2016-07-02 10:14:37.488512109 -0500
@@ -119,7 +119,7 @@
 
 	<target name="retrieve"
 		description="retrieve the dependencies"
-		depends="init,init-ivy"
+		depends="init"
 		unless="ivy.done">
 		<ivy:retrieve sync="true"/>
 		<ivy:retrieve pattern="${lib.dir}/ivy/[artifact]-[revision].[ext]"
@@ -629,8 +629,6 @@
 
 	<target name="unpack-docbook-xsl"
 		depends="init,retrieve">
-		<unzip src="${lib.dir}/docbook/docbook-xsl-resources.zip"
-		       dest="${build.dir}/docbook-xsl/"/>
 	</target>
 
 	<presetdef name="dependset.build">
@@ -645,7 +643,6 @@
 
 	<presetdef name="dependset.html">
 		<dependset.build>
-			<srcfileset dir="${lib.dir}/docbook"/>
 			<srcfilelist files="doc/jedithtml.xsl"/>
 		</dependset.build>
 	</presetdef>
@@ -660,9 +657,9 @@
 			<factory name="com.icl.saxon.TransformerFactoryImpl"/>
 			<xmlcatalog>
 				<entity publicid="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-					location="${build.dir}/docbook-xsl/docbook/html/chunk.xsl"/>
+					location="/usr/share/xml/docbook/xsl-stylesheets-1.79.1/html/chunk.xsl"/>
 				<entity publicid="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
-					location="${build.dir}/docbook-xsl/docbook/fo/docbook.xsl"/>
+					location="/usr/share/xml/docbook/xsl-stylesheets-1.79.1/fo/docbook.xsl"/>
 			</xmlcatalog>
 			<sysproperty key="javax.xml.parsers.DocumentBuilderFactory"
 				     value="org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"/>