libxstream-java (1.3.1-6) debian-dir only changes

Summary

 debian/README.source                 |    4 +
 debian/changelog                     |   94 +++++++++++++++++++++++++++++++++++
 debian/compat                        |    1 
 debian/control                       |   48 +++++++++++++++++
 debian/copyright                     |   37 +++++++++++++
 debian/libxstream-java.poms          |    4 +
 debian/maven.rules                   |    1 
 debian/orig-tar.sh                   |   17 ++++++
 debian/patches/01_fix_classpath.diff |   28 ++++++++++
 debian/patches/series                |    1 
 debian/rules                         |   24 ++++++++
 debian/watch                         |    4 +
 12 files changed, 263 insertions(+)

    
download this patch

Patch contents

--- libxstream-java-1.3.1.orig/debian/libxstream-java.poms
+++ libxstream-java-1.3.1/debian/libxstream-java.poms
@@ -0,0 +1,4 @@
+pom.xml --no-parent
+xstream/pom.xml
+xstream-benchmark/pom.xml
+
--- libxstream-java-1.3.1.orig/debian/rules
+++ libxstream-java-1.3.1/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE              := $(DEB_SOURCE_PACKAGE)
+VERSION              := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME            := /usr/lib/jvm/default-java
+DEB_ANT_BUILDFILE    := xstream/build.xml
+DEB_ANT_BUILD_TARGET := benchmark:compile jar
+DEB_JARS             := ant-nodeps xom joda-time jettison cglib dom4j xpp3 jdom1
+ANT_OPTS	     := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
+
+binary-post-install/$(PACKAGE)::
+	mh_installpoms -p$(PACKAGE)
+	mh_installjar -p$(PACKAGE) -l xstream/pom.xml xstream/target/xstream-SNAPSHOT.jar
+	mh_installjar -p$(PACKAGE) -l xstream-benchmark/pom.xml xstream/target/xstream-benchmark-SNAPSHOT.jar
+
+clean::
+	-rm -rf debian/tmp
+
+get-orig-source:
+	uscan --force-download --rename	
--- libxstream-java-1.3.1.orig/debian/README.source
+++ libxstream-java-1.3.1/debian/README.source
@@ -0,0 +1,4 @@
+This package uses quilt in order to apply patches to the upstream source.  
+Patches are stored in debian/patches.
+
+For further details, check /usr/share/doc/quilt/README.source.
--- libxstream-java-1.3.1.orig/debian/orig-tar.sh
+++ libxstream-java-1.3.1/debian/orig-tar.sh
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+DIR=xstream-$2
+TAR=../libxstream-java_$2.orig.tar.gz
+
+# clean up the upstream tarball
+unzip $3
+GZIP=--best tar -c -z -f $TAR --exclude '*.jar' $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
--- libxstream-java-1.3.1.orig/debian/control
+++ libxstream-java-1.3.1/debian/control
@@ -0,0 +1,48 @@
+Source: libxstream-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner@debian.org>, Varun Hiremath <varun@debian.org>, Michael Koch <konqueror@gmx.de>
+Build-Depends: debhelper (>= 7), cdbs, quilt
+Build-Depends-Indep: ant, default-jdk, libxom-java, libjoda-time-java,
+ libjettison-java, libcglib-java, libdom4j-java, libxpp3-java,
+ libjdom1-java, maven-repo-helper
+Standards-Version: 3.8.3
+Homepage: http://xstream.codehaus.org
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libxstream-java
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libxstream-java
+
+Package: libxstream-java
+Architecture: all
+Depends: ${misc:Depends}, libxpp3-java
+Suggests: libdom4j-java, libjdom1-java, libjoda-time-java, libstax-java, 
+ libxom-java, libcglib2.1-java, libjettison-java
+Description: Java library to serialize objects to XML and back again
+ The features of the XStream library are:
+ .
+  - Ease of use. A high level facade is supplied that simplifies common
+    use cases.
+  - No mappings required. Most objects can be serialized without need
+    for specifying mappings.
+  - Performance. Speed and low memory footprint are a crucial part of
+    the design, making it suitable for large object graphs or systems
+    with high message throughput.
+  - Clean XML. No information is duplicated that can be obtained via
+    reflection. This results in XML that is easier to read for humans
+    and more compact than native Java serialization.
+  - Requires no modifications to objects. Serializes internal fields,
+    including private and final. Supports non-public and inner classes.
+    Classes are not required to have default constructor.
+  - Full object graph support. Duplicate references encountered in the
+    object-model will be maintained. Supports circular references.
+  - Integrates with other XML APIs. By implementing an interface,
+    XStream can serialize directly to/from any tree structure (not just
+    XML).
+  - Customizable conversion strategies. Strategies can be registered
+    allowing customization of how particular types are represented as
+    XML.
+  - Error messages. When an exception occurs due to malformed XML,
+    detailed diagnostics are provided to help isolate and fix the
+    problem.
+  - Alternative output format. The modular design allows other output
+    formats. XStream ships currently with JSON support and morphing.
--- libxstream-java-1.3.1.orig/debian/compat
+++ libxstream-java-1.3.1/debian/compat
@@ -0,0 +1 @@
+7
--- libxstream-java-1.3.1.orig/debian/changelog
+++ libxstream-java-1.3.1/debian/changelog
@@ -0,0 +1,94 @@
+libxstream-java (1.3.1-6) unstable; urgency=low
+
+  [ Onkar Shinde ]
+  * debian/control
+    - Add quilt build dependency.
+  * debian/rules
+    - Include patchsys-quilt.mk rule.
+  * debian/patches/01_fix_classpath.diff
+    - Add appropriate jar files in classpath using manifest attribute.
+      (LP: #457660)
+  * debian/patches/series
+    - Create new and include the new patch added.
+  * debian/README.source
+    - Add to comply with policy.
+
+  [ Michael Koch ]
+  * Added myself to Uploaders.
+
+ -- Michael Koch <konqueror@gmx.de>  Wed, 04 Nov 2009 21:10:05 +0100
+
+libxstream-java (1.3.1-5) unstable; urgency=low
+
+  * Switch to default-jdk
+  * Build-Depends: replace cglib2.1 with cglib (Closes: #550613)
+  * Bump Standards-Version to 3.8.3
+  * Bump dh compat to 7
+
+ -- Varun Hiremath <varun@debian.org>  Thu, 15 Oct 2009 14:35:55 -0400
+
+libxstream-java (1.3.1-4) unstable; urgency=low
+
+  * Add missing dependencies to Depends and Suggests
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Fri, 14 Aug 2009 23:30:34 +0100
+
+libxstream-java (1.3.1-3) unstable; urgency=low
+
+  * Upload to unstable.
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 09 Aug 2009 12:57:52 +0200
+
+libxstream-java (1.3.1-2) experimental; urgency=low
+
+  * Change section to java
+  * Bump up Standards-Version to 3.8.2
+  * Add ${misc:Depends} to Depends to clear Lintian warnings
+  * Remove Depends on Java runtimes as it is a library
+  * Add the Maven POM to the package
+  * Add a Build-Depends-Indep dependency on maven-repo-helper
+
+ -- Ludovic Claude <ludovic.claude@laposte.net>  Tue, 28 Jul 2009 20:51:09 +0100
+
+libxstream-java (1.3.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Minor cleanups
+
+ -- Torsten Werner <twerner@debian.org>  Thu, 01 Jan 2009 01:20:34 +0100
+
+libxstream-java (1.3-4) unstable; urgency=low
+
+  * Fix java bytecode / java runtime version mismatch by setting -source
+    and -target to 1.5 (Closes: #503789)
+
+ -- Varun Hiremath <varun@debian.org>  Sat, 01 Nov 2008 11:41:26 -0400
+
+libxstream-java (1.3-3) unstable; urgency=low
+
+  * Really move package to main.
+
+ -- Torsten Werner <twerner@debian.org>  Mon, 11 Aug 2008 18:13:41 +0200
+
+libxstream-java (1.3-2) unstable; urgency=low
+
+  * Build package with OpenJDK now.
+  * Move package to main.
+  * Bump Standards-Version: 3.8.0 (no changes needed).
+
+ -- Torsten Werner <twerner@debian.org>  Mon, 11 Aug 2008 17:50:31 +0200
+
+libxstream-java (1.3-1) unstable; urgency=low
+
+  * New upstream release
+  * Add myself to Uploaders
+  * Bump Standards-Version to 3.7.3
+  * Remove patches/encoding.diff - not required
+
+ -- Varun Hiremath <varun@debian.org>  Thu, 28 Feb 2008 15:30:34 +0530
+
+libxstream-java (1.2.2-1) unstable; urgency=low
+
+  * initial version (Closes: #453149)
+
+ -- Torsten Werner <twerner@debian.org>  Sat, 24 Nov 2007 00:01:40 +0100
--- libxstream-java-1.3.1.orig/debian/maven.rules
+++ libxstream-java-1.3.1/debian/maven.rules
@@ -0,0 +1 @@
+junit junit jar s/3\..*/3.x/
--- libxstream-java-1.3.1.orig/debian/watch
+++ libxstream-java-1.3.1/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s/-/~/ \
+  http://xstream.codehaus.org/download.html \
+  .*/xstream-distribution-(.*)-src.zip debian debian/orig-tar.sh
--- libxstream-java-1.3.1.orig/debian/copyright
+++ libxstream-java-1.3.1/debian/copyright
@@ -0,0 +1,37 @@
+This package was debianized by Torsten Werner <twerner@debian.org> on
+Sat, 24 Nov 2007 00:01:40 +0100.
+
+It was downloaded from http://xstream.codehaus.org
+
+Copyright (c) 2003-2006, Joe Walnes
+Copyright (c) 2006-2007, XStream Committers
+All rights reserved.
+
+License:
+
+    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 XStream 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.
--- libxstream-java-1.3.1.orig/debian/patches/01_fix_classpath.diff
+++ libxstream-java-1.3.1/debian/patches/01_fix_classpath.diff
@@ -0,0 +1,28 @@
+Index: libxstream-java-1.3.1/xstream/build.xml
+===================================================================
+--- libxstream-java-1.3.1.orig/xstream/build.xml	2009-11-04 21:39:34.000000000 +0530
++++ libxstream-java-1.3.1/xstream/build.xml	2009-11-04 21:41:56.000000000 +0530
+@@ -25,6 +25,7 @@
+     <property name="test.src.includes" value="**/*Test.java"/>
+     <property name="test.src.excludes" value="**/Abstract*"/>
+     <property name="junit.haltonfailure" value="false"/>
++    <property name="manifest.classpath" value="cglib.jar dom4j.jar jdom1.jar jettison.jar joda-time.jar xom.jar xpp3.jar xpp3-xpath.jar"/>
+ 
+     <available property="jdk1.4.available" classname="java.lang.StackTraceElement"/>
+     <available property="jdk1.5.available" classname="java.lang.Enum"/>
+@@ -144,9 +145,15 @@
+ 
+     <target name="jar" depends="compile">
+         <jar jarfile="${build.dir}/xstream-${version}.jar">
++            <manifest>
++                <attribute name="Class-Path" value="${manifest.classpath}"/>
++            </manifest>
+             <fileset dir="${java.build.dir}"/>
+         </jar>
+         <jar jarfile="${build.dir}/xstream-benchmark-${version}.jar">
++            <manifest>
++                <attribute name="Class-Path" value="${manifest.classpath}"/>
++            </manifest>
+             <fileset dir="${benchmark.build.dir}"/>
+         </jar>
+         <antcall target="jdk-check"/>
--- libxstream-java-1.3.1.orig/debian/patches/series
+++ libxstream-java-1.3.1/debian/patches/series
@@ -0,0 +1 @@
+01_fix_classpath.diff