mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add java-xerces.
* gnu/packages/java.scm (java-xerces): New variable. * gnu/packages/patches/java-xerces-bootclasspath.patch: New file. * gnu/packages/patches/java-xerces-build_dont_unzip.patch: New file. * gnu/packages/patches/java-xerces-xjavac_taskdef.patch: New file. * gnu/local.mk (dist_patch_DATA): Add them.
This commit is contained in:
parent
9a86ee788d
commit
6d0368eb84
5 changed files with 217 additions and 10 deletions
44
gnu/packages/patches/java-xerces-build_dont_unzip.patch
Normal file
44
gnu/packages/patches/java-xerces-build_dont_unzip.patch
Normal file
|
@ -0,0 +1,44 @@
|
|||
Don't unzip the sources which were bundled originally. Guix strips them from
|
||||
the source and uses pre-build packages.
|
||||
|
||||
Taken from https://anonscm.debian.org/viewvc/pkg-java/trunk/libxerces2-java/debian/patches/02_build_dont_unzip.patch?revision=14507
|
||||
|
||||
Index: b/build.xml
|
||||
===================================================================
|
||||
--- a/build.xml
|
||||
+++ b/build.xml
|
||||
@@ -247,7 +247,7 @@
|
||||
<copy file="${src.dir}/org/apache/xerces/impl/xpath/regex/message.properties"
|
||||
tofile="${build.src}/org/apache/xerces/impl/xpath/regex/message_en.properties"/>
|
||||
|
||||
- <!-- now deal with API's: -->
|
||||
+ <!-- not needed for Debian
|
||||
<unzip src="${src.apis.zip}" dest="${build.src}">
|
||||
<patternset
|
||||
includes="org/xml/sax/**
|
||||
@@ -270,6 +270,7 @@
|
||||
org/w3c/dom/xpath/**"
|
||||
/>
|
||||
</unzip>
|
||||
+ -->
|
||||
|
||||
<!-- substitute tokens as needed -->
|
||||
<replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
|
||||
@@ -1232,7 +1233,7 @@
|
||||
<replace file="${build.dir}/src/org/apache/xerces/parsers/AbstractSAXParser.java"
|
||||
token="return (fConfiguration instanceof XML11Configurable);" value="return false;"/>
|
||||
|
||||
- <!-- now deal with API's: -->
|
||||
+ <!-- not needed for Debian
|
||||
<unzip src="${src.apis.zip}" dest="${build.src}">
|
||||
<patternset
|
||||
includes="org/xml/sax/**
|
||||
@@ -1255,7 +1256,7 @@
|
||||
org/w3c/dom/xpath/**"
|
||||
/>
|
||||
</unzip>
|
||||
-
|
||||
+ -->
|
||||
|
||||
<!-- substitute tokens as needed -->
|
||||
<replace file="${build.dir}/src/org/apache/xerces/impl/Version.java"
|
Loading…
Add table
Add a link
Reference in a new issue