Bug#458247: Please provide a package with native code for GCJ/GIJ
Daniel Leidert
daniel.leidert at wgdd.de
Sat Dec 29 20:44:05 UTC 2007
Package: libsaxon-java
Version: 1:6.5.5-1.1
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I would like to ask you, if you could/would be so kind to provide a
package with native code for GCJ/GIJ. This would help me a lot to speed
up the building of the docbook-defguide package.
http://www.wgdd.de/?p=32
http://www.wgdd.de/?p=31
I prepared such packages locally, so the debdiff is attached. However,
I prepared the package just as a proof-of-concept, so I might have
missed necessary changes.
Regards, Daniel
- -- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (850, 'unstable'), (700, 'testing'), (550, 'stable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-k7 (SMP w/1 CPU core)
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages libsaxon-java depends on:
ii gij [java2-runtime] 4:4.2.2-1 The GNU Java bytecode interpreter
ii gij-4.2 [java1-runtime] 4.2.2-3 The GNU Java bytecode interpreter
ii kaffe 2:1.1.8-3 A JVM to run Java bytecode
ii kaffe-pthreads [kaffe] 2:1.1.8-3 A POSIX threads enabled version of
ii sablevm [java1-runtime] 1.13-1.1 Free implementation of Java Virtua
ii sun-java5-jre [java1-runtime] 1.5.0-13-1 Sun Java(TM) Runtime Environment (
libsaxon-java recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFHdrGUm0bx+wiPa4wRAtYtAJ9qXl2EvXkDldYI2hGR2RKVi5htswCdH6gG
TgZavib9YMKB98VFwn6zeuk=
=4e/s
-----END PGP SIGNATURE-----
-------------- next part --------------
diff -u libsaxon-java-6.5.5/debian/changelog libsaxon-java-6.5.5/debian/changelog
--- libsaxon-java-6.5.5/debian/changelog
+++ libsaxon-java-6.5.5/debian/changelog
@@ -1,3 +1,10 @@
+libsaxon-java (1:6.5.5-1.1) unstable; urgency=low
+
+ * NMU
+ * Rebuild with native code.
+
+ -- Daniel Leidert (dale) <daniel.leidert at wgdd.de> Sat, 22 Dec 2007 02:11:41 +0100
+
libsaxon-java (1:6.5.5-1) unstable; urgency=low
* New upstream release
diff -u libsaxon-java-6.5.5/debian/control libsaxon-java-6.5.5/debian/control
--- libsaxon-java-6.5.5/debian/control
+++ libsaxon-java-6.5.5/debian/control
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Arnaud Vandyck <avdyk at debian.org>, Wolfgang Baer <WBaer at gmx.de>
-Build-Depends-Indep: debhelper (>= 4.2.30), kaffe (>= 2:1.1.5-3), libjdom1-java
+Build-Depends-Indep: debhelper (>= 4.2.30), java-gcj-compat-dev, libjdom1-java
Standards-Version: 3.6.2
Package: libsaxon-java
@@ -20,6 +20,19 @@
.
Homepage: <http://saxon.sourceforge.net/>
+Package: libsaxon-java-gcj
+Architecture: any
+Depends: libsaxon-java (>= ${source:Version}), ${misc:Depends}, ${shlibs:Depends}
+Description: The Saxon XSLT Processor (native code)
+ The saxon package is a collection of tools for processing XML documents and
+ implements the XSLT 1.0 recommendation, including XPath 1.0, in its entirety.
+ .
+ Saxon is known to work well for processing DocBook XML documents
+ with the DocBook XSL Stylesheets. Related packages make the process
+ straightforward.
+ .
+ Homepage: <http://saxon.sourceforge.net/>
+
Package: libsaxon-java-doc
Section: doc
Architecture: all
diff -u libsaxon-java-6.5.5/debian/rules libsaxon-java-6.5.5/debian/rules
--- libsaxon-java-6.5.5/debian/rules
+++ libsaxon-java-6.5.5/debian/rules
@@ -6,7 +6,7 @@
#export DH_VERBOSE=1
PACKAGE=libsaxon-java
-JAVA_HOME=/usr/lib/kaffe
+JAVA_HOME=/usr/lib/jvm/java-gcj
BASE=debian/$(PACKAGE)
JAVASHARE=usr/share/java
SOURCES=src
@@ -16,11 +16,10 @@
UPSTREAM_VERSION = 6.5.5
CLASSPATH = /usr/share/java/jdom1.jar
-configure: configure-stamp
configure-stamp:
dh_testdir
- if [ ! -d $(BUILD) ]; then mkdir $(BUILD); mkdir $(APIDOC); fi
- touch configure-stamp
+ if [ ! -d $(BUILD) ]; then mkdir $(BUILD); mkdir $(APIDOC); fi
+ touch $@
build: build-stamp
@@ -33,7 +32,7 @@
(cd $(BUILD); $(JAVA_HOME)/bin/jar -cfM ../saxon.jar META-INF `find . -name \*.class | egrep -v $(JDOM)`; \
$(JAVA_HOME)/bin/jar -cfM ../saxon-jdom.jar $(JDOM)/*.class )
(cd $(APIDOC) ; gjdoc -sourcepath ../../$(SOURCES) @../../debian/libsaxon-java-doc.javadoc)
- touch build-stamp
+ touch $@
clean:
dh_testdir
@@ -59,24 +58,36 @@
# Build architecture-independent files here.
binary-indep: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
+ dh_testdir -i
+ dh_testroot -i
+ dh_installchangelogs -i
+ dh_installdocs -i
dh_installexamples -plibsaxon-java-doc samples/*
dh_link -plibsaxon-java $(JAVASHARE)/saxon-$(UPSTREAM_VERSION).jar $(JAVASHARE)/saxon.jar \
$(JAVASHARE)/saxon-jdom-$(UPSTREAM_VERSION).jar $(JAVASHARE)/saxon-jdom.jar
- dh_compress
- dh_fixperms
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
+ dh_compress -i
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_shlibdeps -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
# Build architecture-dependent files here.
binary-arch: build install
-# We have nothing to do by default.
+ dh_testdir -a
+ dh_testroot -a
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_nativejava -a
+ dh_strip -a
+ dh_compress -a
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
More information about the pkg-java-maintainers
mailing list