[libxerces2-java] 26/61: * Merge from Ubuntu: - Build architecture dependent -gcj package. - Move build-indep dependencies to build dependencies. - Add gij as alternative runtime dependency.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Sun Jun 18 22:23:40 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 5cd113a739f0726c7951103042f0cd6e1011c9f7
Author: Matthias Klose <doko at debian.org>
Date:   Wed Jan 3 10:59:03 2007 +0000

      * Merge from Ubuntu:
        - Build architecture dependent -gcj package.
        - Move build-indep dependencies to build dependencies.
        - Add gij as alternative runtime dependency.
---
 debian/changelog |  6 ++++++
 debian/control   | 16 +++++++++++++---
 debian/rules     |  6 ++++++
 3 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2d12519..395bf69 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,12 @@ libxerces2-java (2.8.1-2) UNRELEASED; urgency=low
   [Arnaud Vandyck]
   * debian/watch: added
 
+  [Matthias Klose]
+  * Merge from Ubuntu:
+    - Build architecture dependent -gcj package.
+    - Move build-indep dependencies to build dependencies.
+    - Add gij as alternative runtime dependency.
+
  -- Arnaud Vandyck <avdyk at debian.org>  Mon,  6 Nov 2006 10:47:57 +0100
 
 libxerces2-java (2.8.1-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 09c8222..68bff64 100644
--- a/debian/control
+++ b/debian/control
@@ -3,14 +3,14 @@ Section: libs
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Stefan Gybas <sgybas at debian.org>, Arnaud Vandyck <avdyk at debian.org>, Wolfgang Baer <WBaer at gmx.de>, Marcus Better <marcus at better.se>
-Build-Depends: cdbs (>= 0.4.8), debhelper (>= 4.2.0)
-Build-Depends-Indep: java-gcj-compat-dev, ant, libxml-commons-resolver1.1-java, libjaxp1.3-java
+Build-Depends: cdbs (>= 0.4.8), debhelper (>= 4.2.0), java-gcj-compat-dev, ant, libxml-commons-resolver1.1-java, libjaxp1.3-java
 Standards-Version: 3.7.2
 
 Package: libxerces2-java
 Architecture: all
 Section: libs
-Depends: classpath-common | java1-runtime | java2-runtime, libjaxp1.3-java
+Depends: gij | java-gcj-compat | java1-runtime | java2-runtime, libjaxp1.3-java
+Recommends: libxerces2-java-gcj
 Suggests: libxerces2-java-doc
 Description: Validating XML parser for Java with DOM level 3 support
  The Xerces2 Java parser is the reference implementation of XNI, the
@@ -37,3 +37,13 @@ Description: Validating XML parser for Java with DOM level 3 support
  the DOM level 3 load/save API's are in use.
  .
   Homepage: http://xerces.apache.org/xerces2-j/
+
+Package: libxerces2-java-gcj
+Architecture: any
+Section: libs
+Depends: libxerces2-java (>= ${source:Version}), libjaxp1.2-java-gcj, ${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.
+ .
+ This package contains the natively compiled code for use by gij.
diff --git a/debian/rules b/debian/rules
index 0047913..78085ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,12 @@ DEB_JARS := xml-commons-resolver-1.1 jaxp-1.3.jar
 DEB_ANT_CLEAN_TARGET := clean
 DEB_ANT_BUILD_TARGET := jar
 
+install/libxerces2-java::
+	mkdir -p debian/libxerces2-java/usr/share/java
+	install -m 644 build/xercesImpl.jar debian/libxerces2-java/usr/share/java/
+
+install/libxerces2-java-gcj:: install/libxerces2-java
+	dh_nativejava -plibxerces2-java-gcj
 
 clean::
 	rm -rf build

-- 
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