--- 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/rules +++ libxstream-java-1.3.1/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/class/ant.mk +include /usr/share/cdbs/1/rules/debhelper.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/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/copyright +++ libxstream-java-1.3.1/debian/copyright @@ -0,0 +1,37 @@ +This package was debianized by Torsten Werner 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/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' +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/changelog +++ libxstream-java-1.3.1/debian/changelog @@ -0,0 +1,74 @@ +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 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 Fri, 14 Aug 2009 23:30:34 +0100 + +libxstream-java (1.3.1-3) unstable; urgency=low + + * Upload to unstable. + + -- Torsten Werner 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 Tue, 28 Jul 2009 20:51:09 +0100 + +libxstream-java (1.3.1-1) unstable; urgency=low + + * New upstream release + * Minor cleanups + + -- Torsten Werner 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 Sat, 01 Nov 2008 11:41:26 -0400 + +libxstream-java (1.3-3) unstable; urgency=low + + * Really move package to main. + + -- Torsten Werner 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 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 Thu, 28 Feb 2008 15:30:34 +0530 + +libxstream-java (1.2.2-1) unstable; urgency=low + + * initial version (Closes: #453149) + + -- Torsten Werner Sat, 24 Nov 2007 00:01:40 +0100 --- 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/control +++ libxstream-java-1.3.1/debian/control @@ -0,0 +1,48 @@ +Source: libxstream-java +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Torsten Werner , Varun Hiremath +Build-Depends: debhelper (>= 7), cdbs +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