[pkg-java] r13449 - in trunk/stax-utils: . debian debian/patches debian/source

Andrew Ross rockclimb-guest at alioth.debian.org
Mon Mar 21 22:31:21 UTC 2011


Author: rockclimb-guest
Date: 2011-03-21 22:31:19 +0000 (Mon, 21 Mar 2011)
New Revision: 13449

Added:
   trunk/stax-utils/debian/
   trunk/stax-utils/debian/changelog
   trunk/stax-utils/debian/compat
   trunk/stax-utils/debian/control
   trunk/stax-utils/debian/copyright
   trunk/stax-utils/debian/libstaxutils-java-doc.javadoc
   trunk/stax-utils/debian/libstaxutils-java.jlibs
   trunk/stax-utils/debian/orig-tar.sh
   trunk/stax-utils/debian/patches/
   trunk/stax-utils/debian/patches/build-process.patch
   trunk/stax-utils/debian/patches/series
   trunk/stax-utils/debian/rules
   trunk/stax-utils/debian/source/
   trunk/stax-utils/debian/source/format
Log:
[svn-inject] Applying Debian modifications (20110309+svn238-1) to trunk


Property changes on: trunk/stax-utils/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: trunk/stax-utils/debian/changelog
===================================================================
--- trunk/stax-utils/debian/changelog	                        (rev 0)
+++ trunk/stax-utils/debian/changelog	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1,5 @@
+stax-utils (20110309+svn238-1) unstable; urgency=low
+
+  * Initial release. (Closes: #500072)
+
+ -- Andrew Ross <ubuntu at rossfamily.co.uk>  Sun, 20 Mar 2011 21:12:35 +0000

Added: trunk/stax-utils/debian/compat
===================================================================
--- trunk/stax-utils/debian/compat	                        (rev 0)
+++ trunk/stax-utils/debian/compat	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1 @@
+7

Added: trunk/stax-utils/debian/control
===================================================================
--- trunk/stax-utils/debian/control	                        (rev 0)
+++ trunk/stax-utils/debian/control	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1,34 @@
+Source: stax-utils
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Andrew Ross <ubuntu at rossfamily.co.uk>
+Build-Depends: debhelper (>= 7.0.50~), javahelper (>=0.32~), ant
+Build-Depends-Indep: default-jdk, default-jdk-doc
+Standards-Version: 3.9.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/stax-utils
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/stax-utils/
+Homepage: http://java.net/projects/stax-utils/
+
+Package: libstaxutils-java
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: A set of utility classes to integrate StAX into existing XML
+ The purpose of this project is to help facilitate the adoption of 
+ JSR-173: Streaming API for XML (StAX) by providing a set of 
+ utility classes that make it easy for developers to integrate 
+ StAX into their existing XML processing applications.
+
+Package: libstaxutils-java-doc
+Architecture: all
+Depends: ${java:Depends}, ${misc:Depends}
+Recommends: ${java:Recommends}
+Section: doc
+Description: a set of utility classes to integrate StAX into existing XML (documentation)
+ The purpose of this project is to help facilitate the adoption of 
+ JSR-173: Streaming API for XML (StAX) by providing a set of 
+ utility classes that make it easy for developers to integrate 
+ StAX into their existing XML processing applications.
+ .
+ This package provides the documentation.

Added: trunk/stax-utils/debian/copyright
===================================================================
--- trunk/stax-utils/debian/copyright	                        (rev 0)
+++ trunk/stax-utils/debian/copyright	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1,57 @@
+This work was packaged for Debian by:
+
+    Andrew Ross <ubuntu at rossfamily.co.uk> on Sun, 20 Mar 2011 21:12:35 +0000
+
+The Debian packaging is:
+
+    Copyright (C) 2011 Andrew Ross <ubuntu at rossfamily.co.uk>
+
+and is licensed under the GPL version 2,
+see `/usr/share/common-licenses/GPL-2'.
+
+
+It was downloaded from 
+http://java.net/projects/stax-utils/
+
+Upstream Author(s):
+    Ryan Shoemaker, John Kristian, Christian Niles, Paul Sandoz
+
+Copyright:
+    Copyright (c) 2004, Christian Niles, Unit12
+    Copyright (c) 2006, John Kristian
+    Copyright (c) 2006, Paul Sandoz
+    Copyright (c) 2004-2011, Sun Microsystems, Inc.
+    All rights reserved.
+
+License:
+
+Code is licensed under the BSD license (3 clause):
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+
+    * Neither the name of the listed copyright holders nor the names
+      of its contributors may be used to endorse or promote products
+      derived from this software without specific prior written
+      permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Added: trunk/stax-utils/debian/libstaxutils-java-doc.javadoc
===================================================================
--- trunk/stax-utils/debian/libstaxutils-java-doc.javadoc	                        (rev 0)
+++ trunk/stax-utils/debian/libstaxutils-java-doc.javadoc	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1 @@
+build/javadoc/ /usr/share/doc/libstaxutils-java/api

Added: trunk/stax-utils/debian/libstaxutils-java.jlibs
===================================================================
--- trunk/stax-utils/debian/libstaxutils-java.jlibs	                        (rev 0)
+++ trunk/stax-utils/debian/libstaxutils-java.jlibs	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1 @@
+build/stax-utils.jar

Added: trunk/stax-utils/debian/orig-tar.sh
===================================================================
--- trunk/stax-utils/debian/orig-tar.sh	                        (rev 0)
+++ trunk/stax-utils/debian/orig-tar.sh	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1,18 @@
+#!/bin/bash -e
+
+
+echo $*
+
+SVNVERSION=`svn info https://svn.java.net/svn/stax-utils~svn/trunk | awk -F": " '$1=="Revision" {print $2}'`
+SVNDATE=`svn info https://svn.java.net/svn/stax-utils~svn/trunk | awk -F": " '$1=="Last Changed Date" {print $2}'`
+SVNDATE=`echo $SVNDATE | sed -e 's/^\(\S*\) .*/\1/; s/-//g'`
+
+svn export https://svn.java.net/svn/stax-utils~svn/trunk
+ant -f trunk/build.xml jar
+
+jh_repack --upstream-version $SVNDATE+svn$SVNVERSION trunk/build/stax-utils-src.zip
+
+mv trunk/build/stax-utils-src.tar.gz stax-utils_$SVNDATE+svn$SVNVERSION.orig.tar.gz
+
+rm -rf trunk
+


Property changes on: trunk/stax-utils/debian/orig-tar.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/stax-utils/debian/patches/build-process.patch
===================================================================
--- trunk/stax-utils/debian/patches/build-process.patch	                        (rev 0)
+++ trunk/stax-utils/debian/patches/build-process.patch	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1,30 @@
+Build the jar and javadoc by default, and link the javadoc to the jdk javadoc.
+Index: stax-utils-20110309+svn238/build.xml
+===================================================================
+--- stax-utils-20110309+svn238.orig/build.xml	2011-03-21 22:02:42.458606181 +0000
++++ stax-utils-20110309+svn238/build.xml	2011-03-21 22:13:55.408606254 +0000
+@@ -121,12 +121,13 @@
+                 <pathelement location="build/classes" />
+                 <pathelement path="lib/jars/jsr173_1.0_api.jar"/>
+             </classpath>
+-            <link offline="true" 
++            <link href="/usr/share/doc/default-jdk-doc/api" />
++            <!--<link offline="true"
+                   href="https://stax-utils.dev.java.net/nonav/javadoc/api"
+                   packagelistloc="www/javadoc/api" />
+             <link offline="true" 
+                   href="http://www.saxproject.org/apidoc/" 
+-                  packagelistloc="docs/sax"/>
++                  packagelistloc="docs/sax"/> -->
+         </javadoc>
+     </target>
+ 
+@@ -177,7 +178,7 @@
+     </target>
+     
+     <target name="all"
+-            depends="init, clean, dist" />
++            depends="init, clean, jar, javadoc" />
+             
+     <!-- remove all intermediate files -->
+     <target name="clean"

Added: trunk/stax-utils/debian/patches/series
===================================================================
--- trunk/stax-utils/debian/patches/series	                        (rev 0)
+++ trunk/stax-utils/debian/patches/series	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1 @@
+build-process.patch

Added: trunk/stax-utils/debian/rules
===================================================================
--- trunk/stax-utils/debian/rules	                        (rev 0)
+++ trunk/stax-utils/debian/rules	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+
+JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+	dh $@ --with javahelper
+
+
+# Download and repack the upstream source
+get-orig-source:
+	./orig-tar.sh
+


Property changes on: trunk/stax-utils/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: trunk/stax-utils/debian/source/format
===================================================================
--- trunk/stax-utils/debian/source/format	                        (rev 0)
+++ trunk/stax-utils/debian/source/format	2011-03-21 22:31:19 UTC (rev 13449)
@@ -0,0 +1 @@
+3.0 (quilt)




More information about the pkg-java-commits mailing list