--- libswingx-java-1.6.orig/debian/orig-tar.exclude
+++ libswingx-java-1.6/debian/orig-tar.exclude
@@ -0,0 +1,2 @@
+*.jar
+lib/*
--- libswingx-java-1.6.orig/debian/rules
+++ libswingx-java-1.6/debian/rules
@@ -0,0 +1,26 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+PACKAGE := swingx
+VERSION := $(DEB_UPSTREAM_VERSION)
+
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_JARS := ant-nodeps
+DEB_ANT_BUILD_TARGET := package javadoc
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_ANT_ARGS := -Dpackage=$(PACKAGE) -Dversion=$(VERSION)
+
+
+binary-post-install/lib$(PACKAGE)-java::
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l -nswingx swingx-core/pom.xml swingx-core/build/swingx-core-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l swingx-beaninfo/pom.xml swingx-beaninfo/build/swingx-beaninfo-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
+
+get-orig-source:
+ uscan --upstream-version 0
--- libswingx-java-1.6.orig/debian/libswingx-java.poms
+++ libswingx-java-1.6/debian/libswingx-java.poms
@@ -0,0 +1,3 @@
+pom.xml --no-parent
+swingx-core/pom.xml --no-parent
+swingx-beaninfo/pom.xml --no-parent
--- libswingx-java-1.6.orig/debian/watch
+++ libswingx-java-1.6/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://swinglabs.org/downloads.jsp .*/swingx-([\d.]+)-src.zip \
+ debian debian/orig-tar.sh
--- libswingx-java-1.6.orig/debian/build.xml
+++ libswingx-java-1.6/debian/build.xml
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--- libswingx-java-1.6.orig/debian/changelog
+++ libswingx-java-1.6/debian/changelog
@@ -0,0 +1,102 @@
+libswingx-java (1:1.6-1) unstable; urgency=low
+
+ * New upstream release.
+ - remove debian/patches/swingworker.diff (merged upstream)
+ - update debian/patches/pom.diff
+ * Depends on java6-runtime-headless as we build java6 bytecode
+
+ -- Damien Raude-Morvan Wed, 30 Dec 2009 21:58:46 +0100
+
+libswingx-java (1:1.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * New "libswingx-java-doc" package:
+ - contains API javadoc documentation
+ * Bump Standards-Version to 3.8.3
+ - Change section to "java"
+ - Rename debian/README.Debian-source to debian/README.source
+ - Describe quilt patch system in debian/README.source
+ * Bump debhelper version to >= 7
+ * Remove unused Depends on ${shlibs:Depends}
+ * Default JRE:
+ - Build-Depends on default-jdk
+ - Use /usr/lib/jvm/default-java as JAVA_HOME
+ * Add myself to Uploaders
+ * Use DEP5 format for debian/copyright
+ * Maven POMs:
+ - Add a Build-Depends-Indep dependency on maven-repo-helper
+ - Use mh_installpoms and mh_installjar to install the POM and the jar to the
+ Maven repository
+ - Remove unneeded dependencies in pom.diff patch
+ * Maven ant helper (build system):
+ - Add a Build-Depends dependency on maven-ant-helper
+ - Update debian/build.xml to use /usr/share/maven-ant-helper/maven-build.xml
+ - Build classpath is now defined in debian/build.properties
+
+ -- Damien Raude-Morvan Mon, 02 Nov 2009 00:17:00 +0100
+
+libswingx-java (1:0.9.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Torsten Werner Tue, 17 Feb 2009 21:22:38 +0100
+
+libswingx-java (1:0.9.4-1) experimental; urgency=low
+
+ * New upstream release
+ * Move package to main because batik is in main now.
+ * Build with source=target=1.5 and change Depends accordingly.
+
+ -- Torsten Werner Sun, 09 Nov 2008 19:51:21 +0100
+
+libswingx-java (1:0.9.3-2) unstable; urgency=low
+
+ * Switch to OpenJDK for building the package.
+
+ -- Torsten Werner Mon, 11 Aug 2008 21:03:43 +0200
+
+libswingx-java (1:0.9.3-1) unstable; urgency=low
+
+ * New upstream release
+ * Bump Standards-Version to 3.8.0
+
+ -- Varun Hiremath Tue, 08 Jul 2008 19:32:43 +0530
+
+libswingx-java (1:0.9.2-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Torsten Werner Sat, 08 Mar 2008 16:18:24 +0100
+
+libswingx-java (1:0.9.1-1) unstable; urgency=low
+
+ [ Torsten Werner ]
+ * New upstream release
+ * Change Standards-Version: 3.7.3.
+
+ [ Varun Hiremath ]
+ * debian/rules: install versioned jar and create symlink
+
+ -- Varun Hiremath Mon, 17 Dec 2007 03:12:34 +0530
+
+libswingx-java (20070722-2) unstable; urgency=low
+
+ * Include the *.properties files and images in the jars.
+ * debian/control: Add XS-Vcs-{Svn,Browser} headers.
+ * Add debian/README.Debian-source file.
+
+ -- Varun Hiremath Wed, 08 Aug 2007 00:20:45 +0530
+
+libswingx-java (20070722-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: Add myself to Uploaders
+ * Update patches/swingworker.diff patch file.
+
+ -- Varun Hiremath Sat, 04 Aug 2007 00:54:49 +0530
+
+libswingx-java (20070513-1) unstable; urgency=low
+
+ * Initial release (Closes: #420344)
+
+ -- Torsten Werner Sat, 21 Apr 2007 14:39:02 +0200
--- libswingx-java-1.6.orig/debian/libswingx-java-doc.doc-base
+++ libswingx-java-1.6/debian/libswingx-java-doc.doc-base
@@ -0,0 +1,9 @@
+Document: libswingx-java-doc
+Title: API Javadoc for SwingX
+Author: SwingX developers
+Abstract: This is the API Javadoc provided by the SwingX library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libswingx-java/api/index.html
+Files: /usr/share/doc/libswingx-java/api/*
--- libswingx-java-1.6.orig/debian/compat
+++ libswingx-java-1.6/debian/compat
@@ -0,0 +1 @@
+7
--- libswingx-java-1.6.orig/debian/README.source
+++ libswingx-java-1.6/debian/README.source
@@ -0,0 +1,23 @@
+Patch system
+============
+
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+
+
+Orig tarball repack
+===================
+
+The upstream supplied source package contains binary jar files.
+Currently no clean source distribution exists. Therefore, the upstream
+sources were modified to comply with the Debian Free Software
+Guidelines.
+
+Use the rules/get-orig-source target to create the orig.tar.gz.
+For more details on repackaging of upstream sources please see the
+debian/orig-tar.sh file.
+
+-- Varun Hiremath Mon, 27 Aug 2007 19:02:53 +0530
--- libswingx-java-1.6.orig/debian/build.properties
+++ libswingx-java-1.6/debian/build.properties
@@ -0,0 +1,6 @@
+javadoc.dir=build/api
+maven.test.skip=true
+build.javaVersion=1.5
+classpath.compile = \
+ /usr/share/java/batik-all.jar:\
+ ${basedir}/swingx-core/build/swingx-core-${version}.jar
--- libswingx-java-1.6.orig/debian/maven.rules
+++ libswingx-java-1.6/debian/maven.rules
@@ -0,0 +1,4 @@
+commons-collections commons-collections jar s/3\..*/3.x/
+junit junit jar s/3\..*/3.x/
+jmock jmock jar s/.*/1.x/
+
--- libswingx-java-1.6.orig/debian/orig-tar.sh
+++ libswingx-java-1.6/debian/orig-tar.sh
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version'
+
+TAR=../libswingx-java_$2.orig.tar.gz
+DIR=swingx-$2-src
+
+# clean up and repackage the upstream zip file
+unzip $3
+tar -c -z -f $TAR -X debian/orig-tar.exclude $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
+
+exit 0
--- libswingx-java-1.6.orig/debian/libswingx-java-doc.install
+++ libswingx-java-1.6/debian/libswingx-java-doc.install
@@ -0,0 +1 @@
+build/api /usr/share/doc/libswingx-java/
--- libswingx-java-1.6.orig/debian/control
+++ libswingx-java-1.6/debian/control
@@ -0,0 +1,57 @@
+Source: libswingx-java
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers
+Uploaders: Varun Hiremath , Torsten Werner ,
+ Damien Raude-Morvan
+Build-Depends: cdbs, debhelper (>= 7), quilt, default-jdk, ant, maven-ant-helper
+Build-Depends-Indep: libbatik-java, maven-repo-helper
+Standards-Version: 3.8.3
+Homepage: https://swingx.dev.java.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libswingx-java/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libswingx-java/
+
+Package: libswingx-java
+Architecture: all
+Depends: ${misc:Depends}, default-jre | java6-runtime
+Description: extensions to the Swing GUI toolkit
+ This package contains extensions to the Swing GUI toolkit, including new and
+ enhanced components that provide functionality commonly required by rich
+ client applications. Highlights include:
+ - Sorting, filtering, highlighting for tables, trees, and lists
+ - Find/search
+ - Auto-completion
+ - Login/authentication framework
+ - TreeTable component
+ - Collapsible panel component
+ - Date picker component
+ - Tip-of-the-Day component
+ .
+ Many of these features will eventually be incorporated into the Swing toolkit,
+ although API compatibility will not be guaranteed. The SwingX project focuses
+ exclusively on the raw components themselves.
+
+Package: libswingx-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libswingx-java
+Description: extensions to the Swing GUI toolkit - documentation
+ This package contains extensions to the Swing GUI toolkit, including new and
+ enhanced components that provide functionality commonly required by rich
+ client applications. Highlights include:
+ - Sorting, filtering, highlighting for tables, trees, and lists
+ - Find/search
+ - Auto-completion
+ - Login/authentication framework
+ - TreeTable component
+ - Collapsible panel component
+ - Date picker component
+ - Tip-of-the-Day component
+ .
+ Many of these features will eventually be incorporated into the Swing toolkit,
+ although API compatibility will not be guaranteed. The SwingX project focuses
+ exclusively on the raw components themselves.
+ .
+ This package contains API documentation (Javadoc) of SwingX GUI Toolkit.
+
--- libswingx-java-1.6.orig/debian/copyright
+++ libswingx-java-1.6/debian/copyright
@@ -0,0 +1,73 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: SwingX
+Maintainer: SwingLabs SwingX Project
+Source: http://swinglabs.org/downloads.jsp
+
+Files: *
+Copyright: Copyright (c) 2005-2006 Sun Microsystems, Inc.
+License: LGPL-2.1+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ On Debian systems, the complete text of the GNU Lesser General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2'.
+
+Files: src/test/org/jdesktop/swingx/JXTipOfTheDayTest.java
+Copyright: Copyright (c) 2007 L2FProd.com and
+License: 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
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+Files: src/java/org/jdesktop/swingx/image/*,
+ src/java/org/jdesktop/swingx/graphics/*,
+ src/java/org/jdesktop/swingx/geom/Star2D.java
+Copyright: Copyright 2005 Sun Microsystems, Inc.
+Copyright: Copyright (c) 2006 Romain Guy
+License: LPGL-2.1, BSD
+ Dual-licensed under LGPL (Sun and Romain Guy) and BSD (Romain Guy).
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
+
+Files: debian/*
+Copyright: Copyright 2007, Torsten Werner
+Copyright: Copyright 2009, Damien Raude-Morvan
+Licence: GPL-2+
+ Debian packaging is licensed under the GPL version 2 (or later),
+ see `/usr/share/common-licenses/GPL-2'.
+
--- libswingx-java-1.6.orig/debian/patches/pom.diff
+++ libswingx-java-1.6/debian/patches/pom.diff
@@ -0,0 +1,50 @@
+--- a/swingx-beaninfo/pom.xml
++++ b/swingx-beaninfo/pom.xml
+@@ -20,14 +20,6 @@
+ com.jhlabs
+ filters
+
+-
+- org.swinglabs
+- swing-worker
+-
+-
+- org.swinglabs
+- multiplegradientpaint
+-
+
+