[pkg-java] r5318 - trunk/libxml-commons-resolver1.1-java/debian

mkoch at alioth.debian.org mkoch at alioth.debian.org
Sat Jan 5 22:08:39 UTC 2008


Author: mkoch
Date: 2008-01-05 22:08:39 +0000 (Sat, 05 Jan 2008)
New Revision: 5318

Modified:
   trunk/libxml-commons-resolver1.1-java/debian/changelog
   trunk/libxml-commons-resolver1.1-java/debian/control
   trunk/libxml-commons-resolver1.1-java/debian/rules
Log:
libxml-commons-resolver1.1-java (1.2-1) unstable; urgency=low

  * New upstream release. Closes: #453777
  * Add libxml-commons-resolver1.1-java-gcj package for GCJ.
    Closes: #458248
  * Cleaned up debian/rules.
  * Added watch file.
  * Updated Standards-Version to 3.7.3.
  * Added Homepage, Vcs-Svn and Vcs-Browser fields.

 -- Michael Koch <konqueror at gmx.de>  Sat, 05 Jan 2008 22:57:45 +0100



Modified: trunk/libxml-commons-resolver1.1-java/debian/changelog
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/changelog	2008-01-05 19:28:39 UTC (rev 5317)
+++ trunk/libxml-commons-resolver1.1-java/debian/changelog	2008-01-05 22:08:39 UTC (rev 5318)
@@ -1,3 +1,15 @@
+libxml-commons-resolver1.1-java (1.2-1) unstable; urgency=low
+
+  * New upstream release. Closes: #453777
+  * Add libxml-commons-resolver1.1-java-gcj package for GCJ.
+    Closes: #458248
+  * Cleaned up debian/rules.
+  * Added watch file.
+  * Updated Standards-Version to 3.7.3.
+  * Added Homepage, Vcs-Svn and Vcs-Browser fields.
+
+ -- Michael Koch <konqueror at gmx.de>  Sat, 05 Jan 2008 22:57:45 +0100
+
 libxml-commons-resolver1.1-java (1.1-8) unstable; urgency=low
 
   * Removed unneeded Build-Depends on libxerces-java.

Modified: trunk/libxml-commons-resolver1.1-java/debian/control
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/control	2008-01-05 19:28:39 UTC (rev 5317)
+++ trunk/libxml-commons-resolver1.1-java/debian/control	2008-01-05 22:08:39 UTC (rev 5318)
@@ -3,9 +3,11 @@
 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>, Michael Koch <konqueror at gmx.de>
-Build-Depends: debhelper (>= 4.2.0), cdbs (>= 0.4.8)
-Build-Depends-Indep: java-gcj-compat-dev, ant, libjaxp1.3-java
-Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 4.2.0), cdbs (>= 0.4.8), java-gcj-compat-dev, ant, libjaxp1.3-java
+Standards-Version: 3.7.3
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libxml-commons-resolver1.1-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libxml-commons-resolver1.1-java
+Homepage: http://xml.apache.org/commons/
 
 Package: libxml-commons-resolver1.1-java
 Architecture: all
@@ -16,8 +18,6 @@
  Apache XML Commons Resolver simplifies the task of using XML catalog files to
  perform entity resolution. They are used by other Apache XML projects like
  Xerces-J and Xalan-J.
- .
-  Homepage: http://xml.apache.org/commons/
 
 Package: libxml-commons-resolver1.1-java-doc
 Architecture: all
@@ -25,7 +25,18 @@
 Suggests: libxml-commons-resolver1.1-java
 Description: XML entity and URI resolver library -- documentation
  Apache XML Commons Resolver simplifies the task of using XML catalog files to
- perform entity resolution. This package includes the HTML and Javadoc API
- documentation.
+ perform entity resolution. They are used by other Apache XML projects like
+ Xerces-J and Xalan-J.
  .
-  Homepage: http://xml.apache.org/commons/
+ This package includes the HTML and Javadoc API documentation.
+
+Package: libxml-commons-resolver1.1-java-gcj
+Architecture: any
+Section: libs
+Depends: libxml-commons-resolver1.1-java (= ${source:Version}), ${shlibs:Depends}
+Description: XML entity and URI resolver library -- native library
+ Apache XML Commons Resolver simplifies the task of using XML catalog files to
+ perform entity resolution. They are used by other Apache XML projects like
+ Xerces-J and Xalan-J.
+ .
+ This package contains the natively compiled code for use by gij.

Modified: trunk/libxml-commons-resolver1.1-java/debian/rules
===================================================================
--- trunk/libxml-commons-resolver1.1-java/debian/rules	2008-01-05 19:28:39 UTC (rev 5317)
+++ trunk/libxml-commons-resolver1.1-java/debian/rules	2008-01-05 22:08:39 UTC (rev 5318)
@@ -4,25 +4,22 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-API_VERSION := 1.1
+include /usr/share/gcj/debian_defaults                                                                                                                                               
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))                                                                                                                             
+  with_gcj_native := yes
+endif
 
-# These two must be specified
-JAVA_HOME  := /usr/lib/jvm/java-gcj
+JAVA_HOME := /usr/lib/jvm/java-gcj
 
-# Additional JARs to add to the class path, either full path or just the
-# basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted
 DEB_JARS := xerces jaxp-1.3
-
-# Defaults to debian/ant.properties
-#DEB_ANT_PROPERTYFILE := build.properties
-
-# Defaults to build.xml (Ant default) in $(DEB_BUILDDIR)
 DEB_ANT_BUILDFILE := resolver.xml
-
 DEB_ANT_BUILD_TARGET := jar
 
+install/libxml-commons-resolver1.1-java:: build
+	mkdir -p debian/libxml-commons-resolver1.1-java/usr/share/java
+	install -m 644 build/resolver.jar debian/libxml-commons-resolver1.1-java/usr/share/java/xml-commons-resolver-1.1.jar
 
-install/libxml-commons-resolver${API_VERSION}-java::
-	mkdir -p debian/libxml-commons-resolver${API_VERSION}-java/usr/share/java
-	install -m 644 build/resolver.jar debian/libxml-commons-resolver${API_VERSION}-java/usr/share/java/xml-commons-resolver-${API_VERSION}.jar
-
+ifeq ($(with_gcj_native),yes)
+install/libxml-commons-resolver1.1-java-gcj:: install/libxml-commons-resolver1.1-java
+	dh_nativejava -plibxml-commons-resolver1.1-java-gcj
+endif




More information about the pkg-java-commits mailing list