[libxerces2-java] 40/61: * Add myself as Uploaders. * Add Depends on libxml-commons-external-java for jaxp-1.4.jar (Closes: #639333). * Drop Depends on libjaxp-1.3.jar.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Jun 18 22:23:42 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libxerces2-java.

commit 1019b509c3c484a69c84331651319f0f23f1c431
Author: Damien Raude-Morvan <drazzib at debian.org>
Date:   Fri Aug 26 22:06:12 2011 +0000

    * Add myself as Uploaders.
    * Add Depends on libxml-commons-external-java for jaxp-1.4.jar
      (Closes: #639333).
    * Drop Depends on libjaxp-1.3.jar.
---
 debian/changelog                           |  9 +++++++
 debian/control                             | 13 +++++-----
 debian/patches/01_xjavac_taskdef.patch     | 27 ++++++++++++++++++++
 debian/patches/02_build_dont_unzip.patch   | 20 ++++++++++++++-
 debian/patches/03_bootclasspath.patch      | 40 +++++++++++++++++-------------
 debian/patches/04_manifest_classpath.patch |  2 +-
 6 files changed, 86 insertions(+), 25 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 32641eb..8defc61 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+libxerces2-java (2.11.0-2) unstable; urgency=low
+
+  * Add myself as Uploaders.
+  * Add Depends on libxml-commons-external-java for jaxp-1.4.jar
+    (Closes: #639333).
+  * Drop Depends on libjaxp-1.3.jar. 
+
+ -- Damien Raude-Morvan <drazzib at debian.org>  Sat, 27 Aug 2011 00:05:03 +0200
+
 libxerces2-java (2.11.0-1) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/control b/debian/control
index 13c1abb..dd22b1c 100644
--- a/debian/control
+++ b/debian/control
@@ -2,10 +2,11 @@ Source: libxerces2-java
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Marcus Better <marcus at better.se>, Matthias Klose <doko at ubuntu.com>, Michael Koch <konqueror at gmx.de>
+Uploaders: Marcus Better <marcus at better.se>, Matthias Klose <doko at ubuntu.com>, Michael Koch <konqueror at gmx.de>,
+ Damien Raude-Morvan <drazzib at debian.org>
 Build-Depends: cdbs (>= 0.4.8), debhelper (>= 7), default-jdk, gcj-native-helper, ant,
- maven-repo-helper, libxml-commons-resolver1.1-java, libjaxp1.3-java, libstylebook-java,
- libxml-commons-external-java (>= 1.4.01)
+ maven-repo-helper, libxml-commons-resolver1.1-java, libstylebook-java,
+ libxml-commons-external-java (>= 1.4.01-2)
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libxerces2-java
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libxerces2-java
@@ -13,8 +14,8 @@ Homepage: http://xerces.apache.org/xerces2-j/
 
 Package: libxerces2-java
 Architecture: all
-Depends: ${misc:Depends}, libjaxp1.3-java
-Recommends: libxml-commons-resolver1.1-java, libxml-commons-external-java
+Depends: ${misc:Depends}, libxml-commons-resolver1.1-java,
+ libxml-commons-external-java (>= 1.4.01-2)
 Suggests: libxerces2-java-doc, libxerces2-java-gcj
 Description: Validating XML parser for Java with DOM level 3 support
  The Xerces2 Java parser is the reference implementation of XNI, the
@@ -43,7 +44,7 @@ Description: Validating XML parser for Java with DOM level 3 support
 Package: libxerces2-java-gcj
 Architecture: any
 Section: libs
-Depends: libxerces2-java (>= ${source:Version}), libjaxp1.3-java-gcj, ${misc:Depends}, ${shlibs:Depends}
+Depends: libxerces2-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends}
 Description: Validating XML parser for Java with DOM level 3 support (native code)
  The Xerces2 Java parser is the reference implementation of XNI, the
  Xerces Native Interface, and also a fully conforming XML Schema processor.
diff --git a/debian/patches/01_xjavac_taskdef.patch b/debian/patches/01_xjavac_taskdef.patch
index 413f2e1..e9a4326 100644
--- a/debian/patches/01_xjavac_taskdef.patch
+++ b/debian/patches/01_xjavac_taskdef.patch
@@ -11,3 +11,30 @@ Index: b/build.xml
      <classpath>
        <pathelement location="${tools.dir}/bin/xjavac.jar"/>
      </classpath>
+@@ -291,7 +291,7 @@
+            source="${javac.source}"
+            target="${javac.target}"
+            classpath="${build.dir}/classes:${tools.dir}/${jar.apis}:${tools.dir}/${jar.resolver}:${tools.dir}/${jar.serializer}"
+-           debug="${debug}"
++           debug="${debug}" nowarn="true"
+            debuglevel="${debuglevel}"
+            deprecation="${deprecation}"
+            optimize="${optimize}"
+@@ -359,7 +359,7 @@
+            source="${javac.source}"
+            target="${javac.target}"
+            classpath="${build.dir}/classes:${tools.dir}/${jar.apis}"
+-           debug="${debug}"
++           debug="${debug}" nowarn="true"
+            debuglevel="${debuglevel}"
+            includeAntRuntime="false"
+            includeJavaRuntime="true"/>
+@@ -379,7 +379,7 @@
+            source="${javac.source}"
+            target="${javac.target}"
+            classpath="${tools.dir}/${jar.apis}:${build.dir}/classes:./tools/junit.jar"
+-           debug="${debug}"
++           debug="${debug}" nowarn="true"
+            debuglevel="${debuglevel}"
+            includeAntRuntime="false"
+            includeJavaRuntime="true"/>
diff --git a/debian/patches/02_build_dont_unzip.patch b/debian/patches/02_build_dont_unzip.patch
index 462d2ba..d1bd7f3 100644
--- a/debian/patches/02_build_dont_unzip.patch
+++ b/debian/patches/02_build_dont_unzip.patch
@@ -7,7 +7,7 @@ Index: b/build.xml
        tofile="${build.src}/org/apache/xerces/impl/xpath/regex/message_en.properties"/>
  
 -    <!-- now deal with API's:  -->
-+    <!-- not neede for Debian, use the classes in /usr/share/java/jaxp-1.3.jar
++    <!-- not needed for Debian
      <unzip src="${src.apis.zip}" dest="${build.src}">
          <patternset
              includes="org/xml/sax/** 
@@ -19,3 +19,21 @@ Index: b/build.xml
      
      <!-- 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" 
diff --git a/debian/patches/03_bootclasspath.patch b/debian/patches/03_bootclasspath.patch
index 2d1ea46..49d97b4 100644
--- a/debian/patches/03_bootclasspath.patch
+++ b/debian/patches/03_bootclasspath.patch
@@ -2,24 +2,30 @@ Index: b/build.xml
 ===================================================================
 --- a/build.xml
 +++ b/build.xml
-@@ -297,7 +297,8 @@
+@@ -291,7 +291,7 @@
+            destdir="${build.dest}"
+            source="${javac.source}"
+            target="${javac.target}"
+-           classpath="${build.dir}/classes:${tools.dir}/${jar.apis}:${tools.dir}/${jar.resolver}:${tools.dir}/${jar.serializer}"
++           classpath="${build.dir}/classes:/usr/share/java/jaxp-1.4.jar:/usr/share/java/xml-apis-ext.jar:/usr/share/java/xml-resolver.jar"
+            debug="${debug}" nowarn="true"
+            debuglevel="${debuglevel}"
             deprecation="${deprecation}"
-            optimize="${optimize}"
+@@ -359,7 +359,7 @@
+            destdir="${build.dest}"
+            source="${javac.source}"
+            target="${javac.target}"
+-           classpath="${build.dir}/classes:${tools.dir}/${jar.apis}"
++           classpath="${build.dir}/classes:/usr/share/java/jaxp-1.4.jar:/usr/share/java/xml-apis-ext.jar:/usr/share/java/xml-resolver.jar"
+            debug="${debug}" nowarn="true"
+            debuglevel="${debuglevel}"
             includeAntRuntime="false"
--           includeJavaRuntime="false"
-+           includeJavaRuntime="true"
-+           bootclasspath="/usr/share/java/jaxp-1.3.jar:/usr/share/java/xml-apis-ext.jar:/usr/share/java/xml-resolver.jar"
-            excludes="org/xml/sax/** 
-                 javax/xml/**
-                 org/w3c/dom/*
-@@ -363,7 +364,9 @@
+@@ -1301,7 +1301,7 @@
+            destdir="${build.dest}"
+            source="${javac.source}"
+            target="${javac.target}"
+-           classpath="${build.dir}/classes:${tools.dir}/${jar.apis}"
++           classpath="${build.dir}/classes:/usr/share/java/jaxp-1.4.jar:/usr/share/java/xml-apis-ext.jar"
             debug="${debug}"
             debuglevel="${debuglevel}"
-            includeAntRuntime="false"
--           includeJavaRuntime="true"/>
-+           includeJavaRuntime="true"
-+           bootclasspath="/usr/share/java/jaxp-1.3.jar:/usr/share/java/xml-apis-ext.jar:/usr/share/java/xml-resolver.jar"
-+           />
-   </target>
- 
-   <!-- =================================================================== -->
+            deprecation="${deprecation}"
diff --git a/debian/patches/04_manifest_classpath.patch b/debian/patches/04_manifest_classpath.patch
index 64a108b..2deb7d1 100644
--- a/debian/patches/04_manifest_classpath.patch
+++ b/debian/patches/04_manifest_classpath.patch
@@ -5,7 +5,7 @@ Index: b/src/manifest.xerces
 @@ -1,5 +1,6 @@
  Manifest-Version: 1.0
  Created-By: @java.version@ (@java.vendor@)
-+Class-Path: xml-apis-ext.jar, xml-resolver.jar, jaxp-1.3.jar
++Class-Path: xml-apis-ext.jar, xml-resolver.jar, jaxp-1.4.jar
  
  Name: org/apache/xerces/impl/Version.class
  Comment: @impl.name@ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libxerces2-java.git



More information about the pkg-java-commits mailing list