CVS werken.xpath/debian

Arnaud Vandyck avdyk@haydn.debian.org
Fri Mar 25 10:38:04 2005


Update of /cvsroot/pkg-java/werken.xpath/debian
In directory haydn:/tmp/cvs-serv12927/debian

Modified Files:
	changelog control copyright rules 
Added Files:
	compat libwerken.xpath-java.docs 
Log Message:
build system to cdbs, move to main, split patches from diff.gz to single patch files, new standard version, avdyk and wolfgang uploaders

--- /cvsroot/pkg-java/werken.xpath/debian/changelog	2005/03/22 22:47:36	1.1.1.1
+++ /cvsroot/pkg-java/werken.xpath/debian/changelog	2005/03/25 10:37:55	1.2
@@ -1,3 +1,13 @@
+werken.xpath (0.9.4-5) unstable; urgency=low
+
+  * Changed build system to cdbs
+  * Move to main (Closes: #257839)
+  * Splitted patches from diff.gz into single patch files
+  * Standards-Version to 3.6.1 (no changes required)
+  * avdyk: added Wolfgang and myself to the uploaders
+  
+ -- Wolfgang Baer <WBaer@gmx.de>  Tue, 15 Mar 2005 20:06:29 +0100
+
 werken.xpath (0.9.4-4) unstable; urgency=low
 
   * fixed FTBFS (Closes: #297555)
@@ -5,9 +15,7 @@
   * changed maintainer to Debian Java Maintainers as
     requested by Takashi Okamoto for comaintaining
   * added java runtime dependency to depends  
-  * avdyk: added Wolfgang and me as uploaders
-  * avdyk: removed postinst
-  
+
  -- Wolfgang Baer <WBaer@gmx.de>  Mon, 14 Mar 2005 19:50:14 +0100
 
 werken.xpath (0.9.4-3) unstable; urgency=low
--- /cvsroot/pkg-java/werken.xpath/debian/control	2005/03/22 22:47:36	1.1.1.1
+++ /cvsroot/pkg-java/werken.xpath/debian/control	2005/03/25 10:37:56	1.2
@@ -1,17 +1,17 @@
 Source: werken.xpath
-Section: contrib/libs
+Section: libs
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
-Uploaders: Takashi Okamoto <tora@debian.org>, Arnaud Vandyck <avdyk@debian.org>, Wolfgang Baer <WBaer@gmx.de>
-Build-Depends-Indep: debhelper(>= 3.0), kaffe (>=2:1.1.4.PRECVS9-1), libxerces-java, antlr(>=2.7), libjdom0-java
-Standards-Version: 3.2.1
+Uploaders: Takashi Okamoto <tora@debian.org>, Wolfgang Baer <WBaer@gmx.de>, Arnaud Vandyck <avdyk@debian.org>
+Build-Depends-Indep: debhelper(>= 4.2.30), cdbs, libant1.6-java, kaffe (>=2:1.1.4.PRECVS9-1), libxerces-java, antlr(>=2.7), libjdom0-java
+Standards-Version: 3.6.1
 
 Package: libwerken.xpath-java
 Architecture: all
 Depends: kaffe | java1-runtime | java2-runtime, libxerces-java, antlr(>=2.7), libjdom0-java
 Description: JDOM XPath Engine 
  werken.xpath is the Werken JDOM XPath Engine (werken.xpath), created by
- the Werken & Sons Company. It's available at <http://code.werken.com/xpath>.
+ the Werken & Sons Company <www.werken.com>.
  .
  It's not overly useful by itself, but rather needs an (currently in
  development) implementation of XPointer, XSLT, or other XPath-based 
--- /cvsroot/pkg-java/werken.xpath/debian/copyright	2005/03/22 22:47:36	1.1.1.1
+++ /cvsroot/pkg-java/werken.xpath/debian/copyright	2005/03/25 10:37:56	1.2
@@ -1,7 +1,9 @@
 This package was debianized by Takashi Okamoto tora@debian.org on
 Sun, 29 Jul 2001 12:42:17 +0900.
 
-It was downloaded from http://code.werken.com/xpath.
+It was downloaded from <http://code.werken.com/xpath>. This download
+is no longer working. The company can be find under www.werken.com
+but there is no longer a download link to the old library.
 
 Copyright:
 
--- /cvsroot/pkg-java/werken.xpath/debian/rules	2005/03/22 22:47:36	1.1.1.1
+++ /cvsroot/pkg-java/werken.xpath/debian/rules	2005/03/25 10:37:56	1.2
@@ -1,86 +1,23 @@
 #!/usr/bin/make -f
-# Made with the aid of debmake, by Christoph Lameter,
-# based on the sample debian/rules file for GNU hello by Ian Jackson.
+# debian/rules file for werken.xpath (uses cdbs)
 
-# Uncomment the next line to build a Java 2 version
-#export JAVA_HOME=/usr/lib/j2sdk1.3
-#export JAVA_HOME=/usr/lib/jdk1.1
-#export JAVA=$(JAVA_HOME)/bin/java
-#export JAR=$(JAVA_HOME)/bin/jar
-#export CLASSPATH=$(JAVA_HOME)/lib/tools.jar:$(JAVA_HOME)/lib/classes.zip
-
-# Uncomment this section to build with kaffe
-export JAVA_HOME=/usr/lib/kaffe
-export JAVA=/usr/lib/kaffe/bin/java
-export JAVAC=/usr/lib/kaffe/bin/javac
-export JAR=/usr/lib/kaffe/bin/jar
-export CLASSPATH=/usr/share/java/jdom0.jar:/usr/share/java/xerces.jar:/usr/share/java/antlrall.jar:.
-
-
-package=libwerken.xpath-java
-
-
-build: build-stamp
-	$(checkdir)
-
-build-stamp: 
-	$(checkdir)
-
-	# for antlr
-	cd src && ${JAVA} -classpath ${CLASSPATH} antlr.Tool -o com/werken/xpath/parser com/werken/xpath/parser/xpath.g
-	cd src && ${JAVA} -classpath ${CLASSPATH} antlr.Tool -o com/werken/xpath/parser com/werken/xpath/parser/xpath_lexer.g
-
-	# copmile from source
-	cd src && ${JAVAC} -d ../classes -classpath ${CLASSPATH} `find . -name "*.java" `
-	cd classes && ${JAR} cvf ../werken.xpath.jar com
-	touch build-stamp
-
-clean:
-	$(checkdir)
-
-	-rm -f build-stamp
-	-rm -f `find . -name "*~"`
-	-rm -rf debian/tmp debian/files* core debian/substvars 
-	-rm -fr classes
-	-rm -f \
-		src/com/werken/xpath/parser/XPathLexerTokenTypes.txt\
-		rc/com/werken/xpath/parser/XPathTokenTypes.txt\
-		src/com/werken/xpath/parser/XPathLexer.java\
-		src/com/werken/xpath/parser/XPathLexerTokenTypes.java\
-		src/com/werken/xpath/parser/XPathRecognizer.java\
-		src/com/werken/xpath/parser/XPathTokenTypes.java
-	-rm -f werken.xpath.jar 
-	-rm -rf debian/tmp
-
-binary-indep: checkroot build-stamp
-	$(checkdir)
-	install -d debian/tmp
-	cd debian/tmp && install -d `cat ../dirs`
-	install -m 644 werken.xpath.jar debian/tmp/usr/share/java/werken.xpath-0.9.4.jar
-	dh_installchangelogs 
-	dh_installdocs apidocs README
-	dh_installexamples test
-	dh_compress
-	dh_link
-	dh_installdeb
-	dh_gencontrol
-	dpkg-gencontrol -isp
-	dh_md5sums
-	chown -R root.root debian/tmp
-	chmod -R go=rX debian/tmp
-	dpkg --build debian/tmp ..
-
-binary-arch: checkroot build
-	$(checkdir)
-
-define checkdir
-	test -f debian/rules
-endef
-
-binary: binary-indep binary-arch
-
-checkroot:
-	$(checkdir)
-	test root = "`whoami`"
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+include /usr/share/cdbs/1/class/ant.mk
 
-.PHONY: binary binary-arch binary-indep clean checkroot
+JAVA_HOME := /usr/lib/kaffe
+ANT_HOME := /usr/share/ant1.6
+
+# 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 := $(ANT_HOME)/lib/ant-launcher.jar jdom0 xerces antlrall
+
+# Build compiler
+DEB_ANT_COMPILER := jikes
+
+# Ant targets to call
+DEB_ANT_CLEAN_TARGET := clean
+DEB_ANT_BUILD_TARGET := package javadoc
+
+install/libwerken.xpath-java::
+	install -m 644 build/werken.xpath.jar debian/libwerken.xpath-java/usr/share/java/werken.xpath-0.9.4.jar