[wsdl4j] 04/33: * New upstream release * debian/control: + Add Homepage, Vcs-{Svn, Browser} Headers. + Build-Depend on debhelper >=5 * debian/compat: switch to 5 * debian/rules: + Clean up old comments. + Add install target to install jars and create symbolic links * Remove debian/libwsdl4j-java.install and debian/libwsdl4j-java.links * Add debian/orig-tar.sh to repackage the source (zip) and create orig.tar.gz * Add build.diff patch to fix the broken build.xml file.

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Nov 4 23:23:33 UTC 2016


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

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

commit 6258925e030ec1b1371e8e868c93145cc04c0939
Author: Varun Hiremath <varun at debian.org>
Date:   Thu Nov 8 17:08:37 2007 +0000

    * New upstream release
    * debian/control:
      + Add Homepage, Vcs-{Svn, Browser} Headers.
      + Build-Depend on debhelper >=5
    * debian/compat: switch to 5
    * debian/rules:
      + Clean up old comments.
      + Add install target to install jars and create symbolic links
    * Remove debian/libwsdl4j-java.install and debian/libwsdl4j-java.links
    * Add debian/orig-tar.sh to repackage the source (zip) and create
      orig.tar.gz
    * Add build.diff patch to fix the broken build.xml file.
---
 debian/changelog               | 17 +++++++++++++++++
 debian/compat                  |  2 +-
 debian/control                 | 10 ++++------
 debian/doc-base                |  9 +++++++++
 debian/libwsdl4j-java-doc.docs |  2 +-
 debian/libwsdl4j-java.install  |  1 -
 debian/libwsdl4j-java.links    |  1 -
 debian/orig-tar.sh             | 18 ++++++++++++++++++
 debian/patches/build.diff      | 28 ++++++++++++++++++++++++++++
 debian/patches/series          |  1 +
 debian/rules                   | 21 ++++++++++-----------
 debian/watch                   |  4 +---
 12 files changed, 90 insertions(+), 24 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3b5ffe9..6e30bba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+wsdl4j (1.6.2-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/control:
+    + Add Homepage, Vcs-{Svn, Browser} Headers.
+    + Build-Depend on debhelper >=5
+  * debian/compat: switch to 5
+  * debian/rules:
+    + Clean up old comments.
+    + Add install target to install jars and create symbolic links
+  * Remove debian/libwsdl4j-java.install and debian/libwsdl4j-java.links
+  * Add debian/orig-tar.sh to repackage the source (zip) and create
+    orig.tar.gz
+  * Add build.diff patch to fix the broken build.xml file.
+
+ -- Varun Hiremath <varunhiremath at gmail.com>  Thu, 08 Nov 2007 22:49:36 +0530
+
 wsdl4j (1.5.2-4) unstable; urgency=low
 
   * Upload to unstable.
diff --git a/debian/compat b/debian/compat
index b8626c4..7ed6ff8 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-4
+5
diff --git a/debian/control b/debian/control
index 543f722..6ffcde8 100644
--- a/debian/control
+++ b/debian/control
@@ -3,9 +3,12 @@ Section: libs
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Steffen Moeller <steffen_moeller at gmx.de>, Michael Koch <konqueror at gmx.de>
-Build-Depends: debhelper (>= 4.1.0), cdbs
+Build-Depends: debhelper (>= 5), cdbs, quilt
 Build-Depends-Indep: ant, java-gcj-compat-dev
 Standards-Version: 3.7.2
+Homepage: wsdl4j.sourceforge.net
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/wsdl4j
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/wsdl4j
 
 Package: libwsdl4j-java
 Architecture: all
@@ -14,8 +17,6 @@ Description: Webservice description language for Java
  The Web Services Description Language for Java Toolkit (WSDL4J) allows
  the creation, representation, and manipulation of WSDL documents. Is
  the reference implementation for JSR110 'JWSDL' (jcp.org).
- .
- Homepage: wsdl4j.sourceforge.net
 
 Package: libwsdl4j-java-doc
 Architecture: all
@@ -27,6 +28,3 @@ Description: Documentation for Java Web Services Library
  the reference implementation for JSR110 'JWSDL' (jcp.org).
  .
  This package contains documentation.
- .
- Homepage: wsdl4j.sourceforge.net
-
diff --git a/debian/doc-base b/debian/doc-base
new file mode 100644
index 0000000..fb53077
--- /dev/null
+++ b/debian/doc-base
@@ -0,0 +1,9 @@
+Document: libwsdl4j-java-doc
+Title: API for wsdl4j
+Authors: IBM
+Abstract: Webservice description language for Java 
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libwsdl4j-java-doc/api/index.html
+Files: /usr/share/doc/libwsdl4j-java-doc/api/*.html
diff --git a/debian/libwsdl4j-java-doc.docs b/debian/libwsdl4j-java-doc.docs
index 81a398b..aaea8b8 100644
--- a/debian/libwsdl4j-java-doc.docs
+++ b/debian/libwsdl4j-java-doc.docs
@@ -1 +1 @@
-dist/docs/api
+dist/*/docs/api
diff --git a/debian/libwsdl4j-java.install b/debian/libwsdl4j-java.install
deleted file mode 100644
index 410060d..0000000
--- a/debian/libwsdl4j-java.install
+++ /dev/null
@@ -1 +0,0 @@
-dist/wsdl4j-1.5.2.jar usr/share/java
diff --git a/debian/libwsdl4j-java.links b/debian/libwsdl4j-java.links
deleted file mode 100644
index f6840d0..0000000
--- a/debian/libwsdl4j-java.links
+++ /dev/null
@@ -1 +0,0 @@
-usr/share/java/wsdl4j-1.5.2.jar usr/share/java/wsdl4j.jar
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..49efa7f
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+TAR=../wsdl4j_$2.orig.tar.gz
+DIR=wsdl4j-$2
+
+# clean up the upstream tarball
+unzip $3
+mv wsdl4j-* $DIR
+GZIP=--best tar -c -z -f $TAR $DIR
+rm -rf $DIR $3
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $TAR $origDir
+  echo "moved $TAR to $origDir"
+fi
diff --git a/debian/patches/build.diff b/debian/patches/build.diff
new file mode 100644
index 0000000..8e61541
--- /dev/null
+++ b/debian/patches/build.diff
@@ -0,0 +1,28 @@
+Index: wsdl4j-1.6.2/build.xml
+===================================================================
+--- wsdl4j-1.6.2.orig/build.xml	2007-11-08 22:44:48.000000000 +0530
++++ wsdl4j-1.6.2/build.xml	2007-11-08 22:46:23.000000000 +0530
+@@ -216,23 +216,7 @@
+       <fileset dir="${build.lib}"/>
+     </copy>
+ 
+-    <copy todir="${dist.dir}/docs">
+-      <fileset dir="${docs.dir}">
+-        <include name="*.html"/>
+-      </fileset>
+-      <filterset>
+-        <filter token="version" value="${wsdl4j.version.underscore}"/>
+-      </filterset>
+-    </copy>
+-
+-    <copy tofile="${dist.dir}/docs/spec/jsr110-1.2.pdf">
+-      <fileset dir="${docs.dir}">
+-        <include name="spec/maint_rel_1.2/jsr110-1.2.pdf"/>
+-      </fileset>
+-    </copy>
+-
+     <copy file="license.html" tofile="${dist.dir}/license.html"/>
+-    <copy file="readme.txt" tofile="${dist.dir}/readme.txt"/>
+ 
+     <!-- ================================================================= -->
+     <!-- Produces the zip file                                             -->
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c614a3c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+build.diff
diff --git a/debian/rules b/debian/rules
index 003b918..b435c3d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,19 +1,18 @@
 #!/usr/bin/make -f
 # debian/rules file for libwsdl4j-java (uses cdbs)
 
-export VERSION = $(shell head -1 debian/changelog | cut -f2 -d\( | cut -f1 -d\) | cut -f1 -d\-)
-
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
-
-JAVA_HOME := /usr/lib/jvm/java-gcj
-#JAVA_HOME := /usr/lib/kaffe
-#ANT_HOME := /usr/share/ant
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-#DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar
+JAVA_HOME 		:= /usr/lib/jvm/java-gcj
+DEB_ANT_INSTALL_TARGET	:= dist
 
-#DEB_ANT_BUILDFILE := build.xml
-#DEB_ANT_BUILD_TARGET := compile
-DEB_ANT_INSTALL_TARGET := dist
+install/libwsdl4j-java::
+	install -m 644 -D build/lib/wsdl4j.jar debian/libwsdl4j-java/usr/share/java/wsdl4j-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/wsdl4j-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/wsdl4j.jar
+	install -m 644 -D build/lib/qname.jar debian/libqname-java/usr/share/java/qname-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/qname-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/qname.jar
 
+get-orig-source:
+	-uscan --upstream-version 0
diff --git a/debian/watch b/debian/watch
index fb8967f..35b2802 100644
--- a/debian/watch
+++ b/debian/watch
@@ -7,6 +7,4 @@
 version=3
 
 # Uncomment to find new files on sourceforge, for debscripts >= 2.9
-http://sf.net/wsdl4j/wsdl4j-src-(.*)\.zip
-
-
+http://sf.net/wsdl4j/wsdl4j-src-(.*)\.zip debian debian/orig-tar.sh

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



More information about the pkg-java-commits mailing list