--- libjgraph-java-5.12.2.1.dfsg.orig/debian/control
+++ libjgraph-java-5.12.2.1.dfsg/debian/control
@@ -0,0 +1,47 @@
+Source: libjgraph-java
+Section: libs
+Priority: extra
+Maintainer: gregor herrmann
+Uploaders: tony mancill
+Build-Depends: debhelper (>= 6), ant, quilt (>= 0.40)
+Build-Depends-Indep: default-jdk-builddep
+Standards-Version: 3.8.0
+Homepage: http://www.jgraph.com/
+Vcs-Svn: http://svn.toastfreeware.priv.at/debian/libjgraph-java/trunk/
+Vcs-Browser: http://svn.toastfreeware.priv.at/wsvn/ToastfreewareDebian/libjgraph-java/trunk/
+
+Package: libjgraph-java
+Architecture: all
+Depends: default-jre-headless | java-runtime-headless
+Description: JFC/Swing graph component for Java
+ JGraph is an easy-to-use, feature-rich and standards-compliant open source
+ graph component available for Java. Application areas include:
+ .
+ * Process diagrams, workflow and BPM visualization, flowcharts, even
+ traffic or water flow.
+ * Database and WWW visualization, networks and telecoms displays, mapping
+ applications and GIS.
+ * UML diagrams, electronic circuits, VLSI, CAD, financial and social
+ networks and data mining.
+ * Biochemistry, ecological cycles, entity and cause-effect relationships
+ and organisational charts.
+ .
+ This package contains the library.
+
+Package: libjgraph-java-doc
+Section: doc
+Architecture: all
+Description: JFC/Swing graph component for Java (documentation)
+ JGraph is an easy-to-use, feature-rich and standards-compliant open source
+ graph component available for Java.
+ .
+ * Process diagrams, workflow and BPM visualization, flowcharts, even
+ traffic or water flow.
+ * Database and WWW visualization, networks and telecoms displays, mapping
+ applications and GIS.
+ * UML diagrams, electronic circuits, VLSI, CAD, financial and social
+ networks and data mining.
+ * Biochemistry, ecological cycles, entity and cause-effect relationships
+ and organisational charts.
+ .
+ This package contains the documentation and the examples.
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/libjgraph-java.docs
+++ libjgraph-java-5.12.2.1.dfsg/debian/libjgraph-java.docs
@@ -0,0 +1,2 @@
+README
+WHATSNEW
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/libjgraph-java-doc.docs
+++ libjgraph-java-5.12.2.1.dfsg/debian/libjgraph-java-doc.docs
@@ -0,0 +1,3 @@
+README
+WHATSNEW
+build/doc/api
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/copyright
+++ libjgraph-java-5.12.2.1.dfsg/debian/copyright
@@ -0,0 +1,136 @@
+Upstream source location: http://sourceforge.net/projects/jgraph/
+
+The file ./examples/org/jgraph/example/JGraphAbstractIconAnimator.java was
+removed from the upstream tarball because it has a non-free license.
+
+Files: *
+Copyright:
+ © 2001-2008 Gaudenz Alder
+ All source and binaries in this package remain copyrighted to Gaudenz Alder
+ unless otherwise specified.
+License: LGPL-2+
+ 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.
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+Files: debian/*
+Copyright:
+ © 2006-2008, gregor herrmann
+ © 2006-2008, tony mancill
+License: GPL
+
+Files: examples/com/jgraph/example/portlabels/PortLabelCell.java,
+ examples/com/jgraph/example/portlabels/PortLabelVertexView.java,
+ examples/com/jgraph/example/fastgraph/FastGraphFactory.java
+Copyright: © 2005-2006, David Benson
+License: LGPL-2+
+
+Files: examples/com/jgraph/example/portlabels/PortLabelGraph.java
+Copyright:
+ © 2005, Gaudenz Alder
+ © 2005-2006, David Benson
+License: LGPL-2+
+
+Files: src/org/jgraph/util/Spline2D.java
+Copyright:
+ © 2003 Martin Krueger
+ © 2005 David Benson
+License: LGPL-2+
+
+Files: src/org/jgraph/util/Spline.java
+Copyright: "@author krueger" (ostensibly Martin Kruger)
+License: PD
+
+Files: examples/org/jgraph/example/JGraphIconView.java,
+ ./examples/org/jgraph/example/IconExample.java
+Copyright: © 2001-2004, Dean Mao All rights reserved.
+License: BSD-3
+ 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 JGraph 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.
+
+Files: examples/com/jgraph/example/panelexample/PortLabelGraph.java
+Copyright:
+ © 2005, Gaudenz Alder
+ ©2005, David Benson
+License: LGPL-2+
+
+Files: examples/com/jgraph/example/GraphEdX.java,
+ examples/com/jgraph/example/JGraphGraphFactory.java
+Copyright:
+ © 2001-2006, Gaudenz Alder
+ © 2005-2006, David Benson
+License: LGPL-2+
+
+Files: examples/org/jgraph/example/JGParallelEdgeRouter.java,
+ examples/com/jgraph/example/adapter/JGraphParallelRouter.java,
+ examples/org/jgraph/example/JGraphParallelRouter.java
+Copyright:
+ © 2004-2005 France Telecom
+ © 2004 Gaudenz Alder
+ © 2005 David Benson
+ All rights reserved.
+License: BSD-3
+ 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 JGraph 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.
+
+Files: src/org/jgraph/util/Bezier.java,
+ examples/com/jgraph/example/panelexample/PortLabelCell.java,
+ examples/com/jgraph/example/fastgraph/FastCircleCell.java,
+ examples/com/jgraph/example/fastgraph/FastCellViewFactory.java,
+ examples/com/jgraph/example/fastgraph/FastEdge.java,
+ examples/com/jgraph/example/fastgraph/FastVertexView.java,
+ examples/com/jgraph/example/fastgraph/FastEdgeView.java,
+ examples/com/jgraph/example/fastgraph/FastGraphUI.java,
+ examples/com/jgraph/example/fastgraph/FastPortView.java
+Copyright: © 2005, David Benson
+License: LGPL-2+
+
+Files: examples/com/jgraph/example/fastgraph/FastGraph.java,
+ examples/com/jgraph/example/fastgraph/FastGraphModel.java
+Copyright:
+ © 2001-2005, Gaudenz Alder
+ © 2005, David Benson
+License: LGPL-2+
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/dh_wraporig.local
+++ libjgraph-java-5.12.2.1.dfsg/debian/dh_wraporig.local
@@ -0,0 +1,24 @@
+# later on should be changed to svn-upgrade
+# but now that would just annoy
+post_command=
+
+# files/directories to delete. bash patterns
+delete_files='./examples/org/jgraph/example/JGraphAbstractIconAnimator.java'
+
+# suffix to attach
+suffix_out=.dfsg
+suffix_version_out=.dfsg
+
+# for now we better simply create a symlink
+# do_orig_symlink=" pleasedo ;-) "
+
+# do we need original tarball? I guess so for now,
+# if not - uncomment
+# do_delete_originals=" kill the beast "
+
+# Create README.Debian-source
+do_create_readme=" of course "
+
+# where to put the new tarball
+dest_dir=".."
+
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/libjgraph-java-doc.examples
+++ libjgraph-java-5.12.2.1.dfsg/debian/libjgraph-java-doc.examples
@@ -0,0 +1 @@
+examples/*
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/watch
+++ libjgraph-java-5.12.2.1.dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\.dfsg$// \
+ http://sf.net/jgraph/jgraph-([\d\.]+)-lgpl-src\.jar debian dh_wraporig
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/compat
+++ libjgraph-java-5.12.2.1.dfsg/debian/compat
@@ -0,0 +1 @@
+6
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/README.source
+++ libjgraph-java-5.12.2.1.dfsg/debian/README.source
@@ -0,0 +1,26 @@
+README on source packaging of libjgraph-java:
+--------------------------------------------------------------
+
+The source tarball of the package was generated by
+dh_wraporig v.0.1.363.gh script which
+can be obtained from alioth's exppsy project repository:
+http://svn.debian.org/wsvn/pkg-exppsy/tools/dh_wraporig
+
+For this package dh_wraporig performed following actions:
+* Extracted files from
+ md5:203672599f11e9f3d1d6db1a7d27ea8f ../jgraph-5.12.2.1-lgpl-src.jar
+* Removed following files/directories:
+ ./examples/org/jgraph/example/JGraphAbstractIconAnimator.java
+* Additional parameters for tar on tarball creation were:
+ --exclude *~
+
+
+Additional information:
+
+* The package uses quilt to manage patches.
+ Refer to /usr/share/doc/quilt/README.source for further information.
+
+* Following patches were present to be applied to the original source
+ at build time
+01_buildxml.patch
+
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/changelog
+++ libjgraph-java-5.12.2.1.dfsg/debian/changelog
@@ -0,0 +1,135 @@
+libjgraph-java (5.12.2.1.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Set Standards-Version to 3.8.0; rename debian/README.Debian-source to
+ debian/README.source and add pointer to quilt howto.
+ * Refresh patch 01_buildxml.patch.
+ * Change runtime dependency to "default-jre-headless |
+ java-runtime-headless".
+ * Move examples from the library packages to the doc package.
+
+ -- gregor herrmann Sat, 15 Nov 2008 15:09:26 +0100
+
+libjgraph-java (5.12.1.0.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Switch from dpatch to quilt.
+ * Change my email address in several files under debian/.
+ * debian/copyright: update and compact.
+ * debian/control: build depend on default-jdk-builddep, depend on
+ default-jre instead of specifying a specific JDK/JRE; change JAVA_HOME
+ in debian/rules accordingly.
+ * Install API documentation to /usr/share/doc/libjgraph-java-doc/api/
+ instead of directly under libjgraph-java-doc/
+
+ -- gregor herrmann Fri, 09 May 2008 18:29:56 +0200
+
+libjgraph-java (5.12.0.4.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Remove debian/dirs and create /usr/share/java directly from
+ debian/rules.
+
+ -- gregor herrmann Mon, 17 Mar 2008 20:28:08 +0100
+
+libjgraph-java (5.12.0.1.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Add build.xml to files with copyright "-2008" in debian/copyright.
+
+ -- gregor herrmann Sun, 24 Feb 2008 20:40:50 +0100
+
+libjgraph-java (5.12.0.0.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/copyright:
+ - add stanza for file with copyright -2008
+ - replace LGPL2+ with LGPL-2+
+ - add missing space
+ * debian/rules:
+ - remove some spurious whitespace
+ - remove configure{,-stamp} targets
+
+ -- gregor herrmann Tue, 19 Feb 2008 18:38:24 +0100
+
+libjgraph-java (5.11.0.1.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann Thu, 31 Jan 2008 17:39:58 +0100
+
+libjgraph-java (5.10.2.0.dfsg-2) unstable; urgency=low
+
+ [ gregor herrmann ]
+ * debian/rules: explicitly set JAVA_HOME.
+ * Change debian/copyright to the new machine-readable format.
+ * Set debhelper compatibility level to 6.
+
+ -- gregor herrmann Thu, 10 Jan 2008 19:57:39 +0100
+
+libjgraph-java (5.10.2.0.dfsg-1) unstable; urgency=low
+
+ [ gregor herrmann ]
+ * New upstream release.
+ * Move upstream URL from the description to the new Homepage field.
+ * Change XS-Vcs-* fields to Vcs-*.
+ * debian/rules: let all targets depend on *-stamp targets.
+
+ [ tony mancill ]
+ * debian/control: remove trailing spaces from Homepage field.
+ * Set Standards Version to 3.7.3.
+
+ -- tony mancill Thu, 13 Dec 2007 20:01:54 -0800
+
+libjgraph-java (5.10.1.5.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Clean up debian/rules.
+
+ -- gregor herrmann Mon, 17 Sep 2007 18:45:29 +0200
+
+libjgraph-java (5.10.1.4.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann Fri, 03 Aug 2007 15:08:06 +0200
+
+libjgraph-java (5.10.1.3.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Improve long and short descriptions of binary packages.
+ * Update years of copyright in debian/copyright.
+
+ -- gregor herrmann Fri, 27 Jul 2007 13:03:58 +0200
+
+libjgraph-java (5.10.1.2.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Patch build.xml to stop it from fetching external stuff over the net
+ when building the docs.
+
+ -- gregor herrmann Sat, 09 Jun 2007 17:17:02 +0200
+
+libjgraph-java (5.10.1.0.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+ * Improve debian/watch and debian/rules.
+ * Use dh_wraporig to create .dfsg tarball:
+ - Add debian/dh_wraporig.local.
+ - Include created debian/README.Debian-source.
+ - Adapt debian/watch to call dh_wraporig.
+ - Change get-orig-source target in debian/rules to use uscan/dh_wraporig.
+
+ -- gregor herrmann Sun, 13 May 2007 02:12:09 +0200
+
+libjgraph-java (5.10.0.1.dfsg-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- gregor herrmann Mon, 26 Feb 2007 17:25:47 +0100
+
+libjgraph-java (5.9.2.1.dfsg-1) unstable; urgency=low
+
+ * Initial release (closes: #404515).
+
+ -- gregor herrmann Sun, 14 Jan 2007 21:35:23 +0100
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/install
+++ libjgraph-java-5.12.2.1.dfsg/debian/install
@@ -0,0 +1 @@
+build/lib/jgraph.jar usr/share/java
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/rules
+++ libjgraph-java-5.12.2.1.dfsg/debian/rules
@@ -0,0 +1,58 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+get-orig-source:
+ uscan --force-download
+
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
+ dh_testdir
+ JAVA_HOME=/usr/lib/jvm/default-java ant jar doc
+ touch $@
+
+clean: unpatch
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp install-stamp
+ ant clean
+ dh_clean
+
+install: install-stamp
+install-stamp: build-stamp
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs usr/share/java
+ touch $@
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs ChangeLog
+ dh_installdocs
+ dh_installexamples
+ dh_install
+ dh_compress
+ dh_fixperms
+ dh_installdeb
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+# Build architecture-dependent files here.
+# We have nothing to do by default.
+binary-arch: build install
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/patches/01_buildxml.patch
+++ libjgraph-java-5.12.2.1.dfsg/debian/patches/01_buildxml.patch
@@ -0,0 +1,13 @@
+Author:
+Description: Don't fetch external stuff when building the docs.
+--- a/build.xml
++++ b/build.xml
+@@ -104,7 +104,7 @@
+ ${app.name}
v${app.version}
]]>
+ Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.]]>
+-
++
+
+
+
--- libjgraph-java-5.12.2.1.dfsg.orig/debian/patches/series
+++ libjgraph-java-5.12.2.1.dfsg/debian/patches/series
@@ -0,0 +1 @@
+01_buildxml.patch