[axis] 16/60: * Add symlinks for old JAR names to fix some FTBFS (Closes: #575041): - saaj.jar -> axis-saaj.jar - jaxrpc.jar -> axis-jaxrpc.jar * Javadoc: - Install Javadoc to /usr/share/doc/libaxis-java/api/ - Register Javadoc with doc-base - d/patches/javadoc.diff and d/rules: Fix javadoc call to only use javadoc and no gjdoc (which fail with UnmappableCharacterException) and force 1.3 source format. * Fix short description of libaxis-java-doc to contains "documentation" * Rework d/copyright to use DEP5 format

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jan 12 17:30:42 UTC 2017


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

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

commit 4fc3fcfae8cd04b449070c7e63b20dd4101915b9
Author: Damien Raude-Morvan <drazzib at debian.org>
Date:   Thu Mar 25 22:51:21 2010 +0000

    * Add symlinks for old JAR names to fix some FTBFS
      (Closes: #575041):
      - saaj.jar -> axis-saaj.jar
      - jaxrpc.jar -> axis-jaxrpc.jar
    * Javadoc:
      - Install Javadoc to /usr/share/doc/libaxis-java/api/
      - Register Javadoc with doc-base
      - d/patches/javadoc.diff and d/rules: Fix javadoc call
        to only use javadoc and no gjdoc (which fail with
        UnmappableCharacterException) and force 1.3 source format.
    * Fix short description of libaxis-java-doc to contains "documentation"
    * Rework d/copyright to use DEP5 format
---
 debian/changelog                 | 17 +++++++++++++++++
 debian/control                   |  2 +-
 debian/copyright                 | 26 +++++++++++++++-----------
 debian/libaxis-java-doc.doc-base | 10 ++++++++++
 debian/libaxis-java-doc.docs     |  1 -
 debian/libaxis-java.links        |  2 ++
 debian/patches/javadoc.diff      | 14 ++++++++++++++
 debian/patches/series            |  1 +
 debian/rules                     |  7 ++++++-
 9 files changed, 66 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3c85ce0..ae9bd0f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,20 @@
+axis (1.4-10) unstable; urgency=low
+
+  * Add symlinks for old JAR names to fix some FTBFS
+    (Closes: #575041):
+    - saaj.jar -> axis-saaj.jar
+    - jaxrpc.jar -> axis-jaxrpc.jar
+  * Javadoc:
+    - Install Javadoc to /usr/share/doc/libaxis-java/api/
+    - Register Javadoc with doc-base
+    - d/patches/javadoc.diff and d/rules: Fix javadoc call
+      to only use javadoc and no gjdoc (which fail with
+      UnmappableCharacterException) and force 1.3 source format.
+  * Fix short description of libaxis-java-doc to contains "documentation"
+  * Rework d/copyright to use DEP5 format
+
+ -- Damien Raude-Morvan <drazzib at debian.org>  Thu, 25 Mar 2010 23:45:41 +0100
+
 axis (1.4-9) unstable; urgency=low
 
   * debian/rules: Fix FTBFS when doing arch build:
diff --git a/debian/control b/debian/control
index 1dbc6a0..5a67afe 100644
--- a/debian/control
+++ b/debian/control
@@ -45,7 +45,7 @@ Architecture: all
 Section: doc
 Depends: ${misc:Depends}
 Suggests: libaxis-java
-Description: A SOAP implementation in Java
+Description: A SOAP implementation in Java (documentation)
  Apache AXIS is an implementation of the SOAP ("Simple Object Access Protocol")
  submission to W3C.
  .
diff --git a/debian/copyright b/debian/copyright
index 9e48189..1785edd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,14 +1,21 @@
-This package was debianized by Vladimír Lapáček <vladimir.lapacek at gmail.com> on
-Wed,  6 Sep 2006 22:31:39 +0200.
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Apache Axis
+Maintainer: <http://ws.apache.org/axis/>
+Source: http://www.apache.org/dist/ws/axis/1_4/
 
-It was downloaded from http://ws.apache.org/axis/
-
-Upstream Author: Apache Foundation
 
+Files: *
 Copyright: (c) 2006-2008 Apache Foundation
+Licence: Apache-2.0
+
+Files: debian/*
+Copyright: 2006, Vladimír Lapáček <vladimir.lapacek at gmail.com>
+Copyright: 2006-2010, various Debian Contributors
+Copyright: 2010 Damien Raude-Morvan <drazzib at debian.org>
+Licence: Apache-2.0
 
-License:
 
+Licence: Apache-2.0
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
@@ -21,9 +28,6 @@ License:
    See the License for the specific language governing permissions and
    limitations under the License.
 
-The full text of the license can be found in
-`/usr/share/common-licenses/Apache-2.0'.
-
+ The full text of the license can be found in
+ `/usr/share/common-licenses/Apache-2.0'.
 
-The Debian packaging is (C) 2006, Vladimír Lapáček <vladimir.lapacek at gmail.com> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/libaxis-java-doc.doc-base b/debian/libaxis-java-doc.doc-base
new file mode 100644
index 0000000..28bf4b5
--- /dev/null
+++ b/debian/libaxis-java-doc.doc-base
@@ -0,0 +1,10 @@
+Document: libaxis-java-doc
+Title: API Javadoc for Axis
+Author: Apache Axis
+Abstract: This is the API Javadoc provided by the Apache Axis library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libaxis-java/api/index.html
+Files: /usr/share/doc/libaxis-java/api/*
+
diff --git a/debian/libaxis-java-doc.docs b/debian/libaxis-java-doc.docs
deleted file mode 100644
index fd75e9d..0000000
--- a/debian/libaxis-java-doc.docs
+++ /dev/null
@@ -1 +0,0 @@
-build/javadocs
diff --git a/debian/libaxis-java.links b/debian/libaxis-java.links
index 4be1a3a..a72eed7 100644
--- a/debian/libaxis-java.links
+++ b/debian/libaxis-java.links
@@ -1 +1,3 @@
 /usr/share/java/axis-ant.jar /usr/share/ant/lib/axis-ant.jar
+/usr/share/java/axis-jaxrpc.jar /usr/share/java/jaxrpc.jar
+/usr/share/java/axis-saaj.jar /usr/share/java/saaj.jar
diff --git a/debian/patches/javadoc.diff b/debian/patches/javadoc.diff
new file mode 100644
index 0000000..86c6064
--- /dev/null
+++ b/debian/patches/javadoc.diff
@@ -0,0 +1,14 @@
+Description: Ensure Javadoc call get correct source version (1.3)
+Author: Damien Raude-Morvan <drazzib at debian.org>
+Last-Update: 2010-03-25
+Forwarded: no
+--- a/build.xml
++++ b/build.xml
+@@ -369,6 +369,7 @@
+              use="true"
+              windowtitle="${Name} API"
+              doctitle="${Name}"
++             source="${source}"
+              bottom="Copyright © ${year} Apache Web Services Project. All Rights Reserved."
+     />
+   </target>
diff --git a/debian/patches/series b/debian/patches/series
index bb7cf8d..325d67e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01-libaxis-java-build.patch
 02-gcj-4.4.patch
 axis-bz152255.patch
+javadoc.diff
diff --git a/debian/rules b/debian/rules
index 7629333..1ecff88 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,7 @@ ifneq (,$(filter $(DEB_HOST_ARCH), $(gcj_native_archs)))
   with_gcj_native := yes
 endif
 
-JAVA_HOME := /usr/lib/jvm/java-gcj
+JAVA_HOME := /usr/lib/jvm/default-java
 ANT_HOME := /usr/share/ant
 DEB_JARS := $(ANT_HOME)/lib/ant-nodeps.jar wsdl4j commons-logging commons-discovery activation gnumail servlet-api xmlParserAPIs xercesImpl
 
@@ -22,6 +22,10 @@ install/libaxis-java::
 	mh_installjar -plibaxis-java -l debian/poms/jaxrpc.xml build/lib/jaxrpc.jar
 	mh_installjar -plibaxis-java -l debian/poms/ant.xml build/lib/axis-ant.jar
 
+install/libaxis-java-doc::
+	mv build/javadocs build/api
+	dh_install -plibaxis-java-doc build/api/ /usr/share/doc/libaxis-java/
+
 ifeq ($(with_gcj_native),yes)
 install/libaxis-java-gcj:: install/libaxis-java
 	dh_nativejava -plibaxis-java-gcj
@@ -29,6 +33,7 @@ endif
 
 clean::
 	-rm -rf debian/tmp
+	-rm -rf build/api
 
 get-orig-source::
 	uscan --force-download --rename

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



More information about the pkg-java-commits mailing list