[xml/sgml-commit] r957 - in /packages/docbook-xsl-saxon/trunk/debian: changelog control copyright rules

dleidert-guest at users.alioth.debian.org dleidert-guest at users.alioth.debian.org
Fri Jan 4 14:38:02 UTC 2008


Author: dleidert-guest
Date: Fri Jan  4 14:38:01 2008
New Revision: 957

URL: http://svn.debian.org/wsvn/debian-xml-sgml/?sc=1&rev=957
Log:
* debian/control: Added a new package docbook-xsl-saxon-gcj to provide
  native code for GCJ/GIJ.
* debian/copyright: Fixed typo reported by lintian.
* debian/rules: Added necessary targets to get native code for
  docbook-xsl-saxon-gcj.


Modified:
    packages/docbook-xsl-saxon/trunk/debian/changelog
    packages/docbook-xsl-saxon/trunk/debian/control
    packages/docbook-xsl-saxon/trunk/debian/copyright
    packages/docbook-xsl-saxon/trunk/debian/rules

Modified: packages/docbook-xsl-saxon/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/debian/changelog?rev=957&op=diff
==============================================================================
--- packages/docbook-xsl-saxon/trunk/debian/changelog (original)
+++ packages/docbook-xsl-saxon/trunk/debian/changelog Fri Jan  4 14:38:01 2008
@@ -1,9 +1,13 @@
 docbook-xsl-saxon (1.00.dfsg.1-2) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
-  * debian/control (Standards-Version): Updated to 3.7.3 (no other changes).
+  * debian/control: Added a new package docbook-xsl-saxon-gcj to provide
+    native code for GCJ/GIJ.
+    (Standards-Version): Updated to 3.7.3 (no other changes).
+  * debian/copyright: Fixed typo reported by lintian.
   * debian/rules: Use variables provided by CDBS for debhelper script
-    arguments. Make sure, we don't compress any example file.
+    arguments. Make sure, we don't compress any example file. Added necessary
+    targets to get native code for docbook-xsl-saxon-gcj.
   * debian/examples/Makefile (%.png): Fixed target creation location.
 
  -- Daniel Leidert (dale) <daniel.leidert at wgdd.de>  Tue, 16 Oct 2007 01:37:02 +0200

Modified: packages/docbook-xsl-saxon/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/debian/control?rev=957&op=diff
==============================================================================
--- packages/docbook-xsl-saxon/trunk/debian/control (original)
+++ packages/docbook-xsl-saxon/trunk/debian/control Fri Jan  4 14:38:01 2008
@@ -22,3 +22,13 @@
  .
  In the past these extensions were shipped with the docbook-xsl tarball
  distribution directly.
+
+Package: docbook-xsl-saxon-gcj
+Architecture: any
+Depends: docbook-xsl-saxon (>= ${source:Version}), libsaxon-java-gcj (>> 1:6.5), ${misc:Depends}, ${shlibs:Depends}
+Description: Java extensions for use with DocBook XML stylesheets (native code)
+ These are Java extensions for use with the DocBook XML stylesheets
+ and the Saxon XSLT engine. You need these extensions to enable e.g.
+ the callouts and linenumbering extensions of the docbook-xsl suite.
+ .
+ This package contains the natively compiled code for use by gij.

Modified: packages/docbook-xsl-saxon/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/debian/copyright?rev=957&op=diff
==============================================================================
--- packages/docbook-xsl-saxon/trunk/debian/copyright (original)
+++ packages/docbook-xsl-saxon/trunk/debian/copyright Fri Jan  4 14:38:01 2008
@@ -35,7 +35,7 @@
     dealings in this Software without prior written authorization
     from the individuals in question.
 
-    Any stylesheet derived from this Software that is publically
+    Any stylesheet derived from this Software that is publicly
     distributed will be identified with a different name and the
     version strings in any derived Software will be changed so that
     no possibility of confusion between the derived package and this

Modified: packages/docbook-xsl-saxon/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-xml-sgml/packages/docbook-xsl-saxon/trunk/debian/rules?rev=957&op=diff
==============================================================================
--- packages/docbook-xsl-saxon/trunk/debian/rules (original)
+++ packages/docbook-xsl-saxon/trunk/debian/rules Fri Jan  4 14:38:01 2008
@@ -2,6 +2,11 @@
   
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
+
+include /usr/share/gcj/debian_defaults
+ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
+with_gcj_native := yes
+endif
 
 JAVA_HOME := /usr/lib/jvm/java-gcj
 PACKAGE := docbook-xsl-saxon
@@ -16,14 +21,20 @@
             -Ddist.jar=$(PACKAGE)_$(uversion).jar
 
 DEB_DH_COMPRESS_ARGS = -Xusr/share/doc/docbook-xsl-saxon/examples
-DEB_DH_INSTALL_ARGS  = $(PACKAGE)_$(uversion).jar usr/share/java
-DEB_DH_LINK_ARGS     = usr/share/java/$(PACKAGE)_$(uversion).jar usr/share/java/$(PACKAGE).jar
 
 clean::
 	# workaround a bug, see sf.net #1792043
 	rm -rf $(PACKAGE)_$(uversion).jar api/
 	$(MAKE) -C debian/examples/ clean
 
+install/docbook-xsl-saxon::
+	dh_install -pdocbook-xsl-saxon $(PACKAGE)_$(uversion).jar usr/share/java
+	dh_link -pdocbook-xsl-saxon usr/share/java/$(PACKAGE)_$(uversion).jar usr/share/java/$(PACKAGE).jar
+
+ifeq ($(with_gcj_native),yes)
+install/docbook-xsl-saxon-gcj:: install/docbook-xsl-saxon
+	dh_nativejava -pdocbook-xsl-saxon-gcj
+endif
 
 # The following code is used to create the .orig.tar.gz tarball.
 # Use it to prepare a .orig tarball for a release.




More information about the debian-xml-sgml-commit mailing list