[libxalan2-java] 22/71: * Merge from Ubuntu: - build libxalan2-java-gcj and libxsltc-java-gcj packages.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Oct 13 15:38:29 UTC 2017


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

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

commit 78564dcf5e7e3c032775bb18f8b4092e8fc2e1d0
Author: Matthias Klose <doko at debian.org>
Date:   Thu Jan 4 07:44:40 2007 +0000

      * Merge from Ubuntu:
        - build libxalan2-java-gcj and libxsltc-java-gcj packages.
---
 debian/changelog |  7 +++++++
 debian/control   | 32 +++++++++++++++++++++++++++++---
 debian/rules     | 12 ++++++++++++
 3 files changed, 48 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7e0a508..fdea21e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+libxalan2-java (2.7.0-3) unstable; urgency=low
+
+  * Merge from Ubuntu:
+    - build libxalan2-java-gcj and libxsltc-java-gcj packages.
+
+ -- Matthias Klose <doko at debian.org>  Thu,  4 Jan 2007 08:48:22 +0100
+
 libxalan2-java (2.7.0-2) UNRELEASED; urgency=low
 
   [ Arnaud Vandyck ]
diff --git a/debian/control b/debian/control
index fb25f92..2cb70fa 100644
--- a/debian/control
+++ b/debian/control
@@ -2,9 +2,8 @@ Source: libxalan2-java
 Section: libs
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Stefan Gybas <sgybas at debian.org>, Wolfgang Baer <WBaer at gmx.de>, Arnaud Vandyck <avdyk at debian.org>, Jeroen van Wolffelaar <jeroen at wolffelaar.nl>, Marcus Better <marcus at better.se>
-Build-Depends: debhelper (>= 5.0.0), cdbs (>= 0.4.8)
-Build-Depends-Indep: java-gcj-compat-dev, ant (>= 1.6.3-1), libxerces2-java (>= 2.8.0), libbsf-java, libregexp-java, libbcel-java (>= 5.0), jlex, cup, libjaxp1.3-java
+Uploaders: Stefan Gybas <sgybas at debian.org>, Wolfgang Baer <WBaer at gmx.de>, Arnaud Vandyck <avdyk at debian.org>, Jeroen van Wolffelaar <jeroen at wolffelaar.nl>, Marcus Better <marcus at better.se>, Matthias Klose <doko at ubuntu.com>
+Build-Depends: debhelper (>= 5.0.0), cdbs (>= 0.4.8), java-gcj-compat-dev (>= 1.0.65-6), ant (>= 1.6.3-1), libxerces2-java (>= 2.8.0), libbsf-java, libregexp-java, libbcel-java (>= 5.0), jlex, cup, libjaxp1.3-java
 Standards-Version: 3.7.2
 XS-Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/libxalan2-java
 XS-Vcs-Browse: http://svn.debian.org/wsvn/pkg-java/trunk/libxalan2-java/
@@ -13,6 +12,7 @@ Package: libxalan2-java
 Architecture: all
 Section: libs
 Depends: libjaxp1.3-java, libxerces2-java (>= 2.8.0)
+Recommends: libxalan2-java-gcj
 Suggests: libxalan2-java-doc, libbsf-java, libxsltc-java
 Description: XSL Transformations (XSLT) processor in Java
  Xalan-Java is an XSLT processor for transforming XML documents into HTML,
@@ -23,10 +23,24 @@ Description: XSL Transformations (XSLT) processor in Java
  .
   Homepage: http://xml.apache.org/xalan-j/
 
+Package: libxalan2-java-gcj
+Architecture: any
+Section: libs
+Depends: libxalan2-java (>= ${source:Version}), libjaxp1.2-java-gcj, libxerces2-java-gcj, ${misc:Depends}, ${shlibs:Depends}
+Description: XSL Transformations (XSLT) processor in Java (native code)
+ Xalan-Java is an XSLT processor for transforming XML documents into HTML,
+ text, or other XML document types. It implements the W3C Recommendations for
+ XSL Transformations (XSLT) and the XML Path Language (XPath). It can be used
+ from the command line, in an applet or a servlet, or as a module in other
+ programs.
+ .
+ This package contains the natively compiled code for use by gij.
+
 Package: libxsltc-java
 Architecture: all
 Section: libs
 Depends: libxalan2-java, libregexp-java, libbcel-java (>= 5.0), jlex, cup
+Recommends: libxsltc-java-gcj
 Description: XSL Transformations (XSLT) compiler from Xalan-Java
  XSLTC provides a compiler and a runtime processor. Use the compiler to
  compile an XSL stylesheet into a translet (i.e. a set of Java classes).
@@ -35,6 +49,18 @@ Description: XSL Transformations (XSLT) compiler from Xalan-Java
  .
   Homepage: http://xml.apache.org/xalan-j/
 
+Package: libxsltc-java-gcj
+Architecture: any
+Section: libs
+Depends: libxsltc-java (>= ${source:Version}), libxalan2-java-gcj, ${misc:Depends}, ${shlibs:Depends}
+Description: XSL Transformations (XSLT) compiler from Xalan-Java (native code)
+ XSLTC provides a compiler and a runtime processor. Use the compiler to
+ compile an XSL stylesheet into a translet (i.e. a set of Java classes).
+ Use the runtime processor to apply the translet to an XML document and
+ perform a transformation.
+ .
+ This package contains the natively compiled code for use by gij.
+
 Package: libxalan2-java-doc
 Architecture: all
 Section: doc
diff --git a/debian/rules b/debian/rules
index 9f157e0..1ae1b62 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,11 @@ include /usr/share/cdbs/1/class/ant.mk
 JAVA_HOME := /usr/lib/jvm/java-gcj
 ANT_HOME := /usr/share/ant
 
+include /usr/share/gcj/debian_defaults
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
+  with_gcj_native := yes
+endif
+
 ANT_OPTS := -Dgnu.java.awt.peer.gtk.Graphics=Graphics2D
 DEB_JARS := xmlParserAPIs xercesImpl bsf bcel cup regexp
 
@@ -31,3 +36,10 @@ install/libxalan2-java-doc::
 	# make lintian happy and remove zero-byte files
 	rm -Rf $(CURDIR)/samples/extensions/instantdb/tables
 
+ifeq ($(with_gcj_native),yes)
+install/libxalan2-java-gcj:: install/libxalan2-java
+	dh_nativejava -plibxalan2-java-gcj
+
+install/libxsltc-java-gcj:: install/libxsltc-java
+	dh_nativejava -plibxsltc-java-gcj
+endif

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



More information about the pkg-java-commits mailing list