--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.sharedmimeinfo
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.sharedmimeinfo
@@ -0,0 +1,30 @@
+
+
+
+ FreeMind Mapa
+ FreeMind Map
+ FreeMind Map
+ FreeMind Map
+ FreeMind Mapa
+ FreeMind Carte Mentale
+ FreeMind Térkép
+ FreeMind Mappa
+ FreeMind マップ
+ FreeMind 맵
+ FreeMind Žemėlapis
+ FreeMind Map
+ FreeMind Map
+ FreeMind Mapa
+ FreeMind Mapa
+ FreeMind Mapa
+ FreeMind Ассоциативная арта
+ FreeMind Miselni vzorec
+ FreeMind 思维导图
+ FreeMind 心智圖
+
+
+
+
+
+
+
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-collab-jabber.install
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-collab-jabber.install
@@ -0,0 +1,2 @@
+bin/dist/plugins/collaboration/jabber usr/share/freemind/plugins/collaboration
+bin/dist/plugins/CollaborationJabber.xml usr/share/freemind/plugins
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-script.install
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-script.install
@@ -0,0 +1,2 @@
+bin/dist/plugins/script usr/share/freemind/plugins
+bin/dist/plugins/ScriptingEngine.xml usr/share/freemind/plugins
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.install
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.install
@@ -0,0 +1,7 @@
+bin/dist/freemind.sh usr/share/freemind
+bin/dist/lib/freemind.jar usr/share/freemind/lib
+bin/dist/lib/bindings.jar usr/share/freemind/lib
+bin/dist/patterns.xml etc/freemind
+freemind/images/FreeMindWindowIcon.xpm usr/share/pixmaps
+bin/dist/accessories/* usr/share/freemind/accessories
+debian/freemind.desktop usr/share/applications
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.mime
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.mime
@@ -0,0 +1 @@
+application/x-freemind; /usr/bin/freemind '%s'; test=test -n "$DISPLAY"; description="FreeMind MindMap file"; textualnewlines; nametemplate=%s.mm
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-doc.README.Debian
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-doc.README.Debian
@@ -0,0 +1,7 @@
+freemind for Debian
+-------------------
+
+freemind.mm is the FreeMind help file, itself in FreeMind format.
+To read it, start FreeMind and call the menu point 'Help -> Documentation'.
+
+-- Eric Lavarde , Sun, 05 Dec 2004 21:14:14 +0100
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.dirs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.dirs
@@ -0,0 +1,6 @@
+usr/bin
+usr/share/freemind/lib
+usr/share/freemind/plugins
+usr/share/doc/freemind
+usr/share/pixmaps
+etc/freemind
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-browser.dirs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-browser.dirs
@@ -0,0 +1 @@
+usr/share/doc/freemind-browser/browser
--- freemind-0.9.0~rc6+dfsg.orig/debian/watch
+++ freemind-0.9.0~rc6+dfsg/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=dversionmangle=s/\+dfsg.*//,uversionmangle=s/(?i)_RC_?(\d+)$/~rc$1/;s/_Beta_?(\d+)$/~beta$1/;s/_/./g, \
+ http://sf.net/freemind/freemind-src-([\d_.]+(?:_(?:(?i)rc|beta)_?\d+)?)\.(?:zip|tar\.gz)
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.links
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.links
@@ -0,0 +1,4 @@
+usr/share/freemind/freemind.sh usr/bin/freemind
+usr/share/freemind/lib/freemind.jar usr/share/java/freemind-0.9.0.jar
+usr/share/doc/freemind-doc/ usr/share/freemind/doc
+usr/share/doc/freemind-browser/browser/ usr/share/freemind/browser
--- freemind-0.9.0~rc6+dfsg.orig/debian/rules
+++ freemind-0.9.0~rc6+dfsg/debian/rules
@@ -0,0 +1,36 @@
+#!/usr/bin/make -f
+# debian/rules for Commons Fileupload (uses CDBS)
+
+clean:: buildxml-clean
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+JAVA_HOME_DIRS := /usr/lib/jvm/java-6-openjdk
+
+ANT_HOME := /usr/share/ant
+DEB_JARS := ant-antlr ant-apache-bcel ant-apache-bsf ant-apache-log4j ant-apache-oro ant-apache-regexp ant-commons-logging ant-javamail ant-jdepend ant-nodeps ant-swing ant-jmf ant-apache-resolver ant-commons-net ant-jsch ant-junit ant-trax
+DEB_ANT_BUILD_TARGET := dist doc browser
+DEB_BUILDDIR := freemind
+DEB_COMPRESS_EXCLUDE := .mm .pdf
+DEB_INSTALL_DOCS_ALL = -Xlicense
+DEB_DH_INSTALL_ARGS := -XLICENSE.MIT
+
+build:
+ /usr/bin/docbook-to-man debian/freemind.sgml > freemind.1
+ # chmod +x bin/dist/freemind.sh # seems to be unnecessary
+ convert freemind/images/FreeMindWindowIcon.png freemind/images/FreeMindWindowIcon.xpm
+
+clean::
+ -rm -f freemind/images/FreeMindWindowIcon.xpm
+ -rm -f freemind.1
+ -rmdir bin
+
+buildxml-clean::
+ -$(DEB_ANT_INVOKE) $(DEB_ANT_CLEAN_TARGET)
+
+# Get original sources directly from CVS or uscan
+get-orig-source:
+ #debian/export-freemind-cvs.sh 0.9.0~rc6 fm_0_9_0_rc6
+ debian/export-freemind-cvs.sh uscan
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-collab-jabber.dirs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-collab-jabber.dirs
@@ -0,0 +1,2 @@
+usr/share/freemind/plugins/collaboration/jabber
+usr/share/doc/freemind-plugins-collab-jabber
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-help.README.Debian
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-help.README.Debian
@@ -0,0 +1,8 @@
+freemind-plugins-help for Debian
+--------------------------------
+
+This plugin will only work if you download JavaHelp (non free) from
+http://java.sun.com/products/javahelp/ and copy jhall.jar to
+/usr/local/share/java.
+
+-- Eric Lavarde , Tue, 15 Mar 2005 20:30:14 +0100
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-svg.install
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-svg.install
@@ -0,0 +1,2 @@
+bin/dist/plugins/svg usr/share/freemind/plugins
+bin/dist/plugins/ExportSvg.xml usr/share/freemind/plugins
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-collab-jabber.docs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-collab-jabber.docs
@@ -0,0 +1 @@
+freemind/plugins/collaboration/jabber/readme.txt
--- freemind-0.9.0~rc6+dfsg.orig/debian/compat
+++ freemind-0.9.0~rc6+dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- freemind-0.9.0~rc6+dfsg.orig/debian/README.source
+++ freemind-0.9.0~rc6+dfsg/debian/README.source
@@ -0,0 +1,5 @@
+Use the target get-orig-source from debian/rules to create the source file
+within the current directory. The sources will be downloaded from the CVS
+repository of FreeMind, so be prepared.
+
+-- Eric Lavarde , Sat, 28 Feb 2009 20:37:14 +0100
--- freemind-0.9.0~rc6+dfsg.orig/debian/control
+++ freemind-0.9.0~rc6+dfsg/debian/control
@@ -0,0 +1,80 @@
+Source: freemind
+Section: editors
+Priority: optional
+Maintainer: Ubuntu Developers
+XSBC-Original-Maintainer: Debian Java Maintainers
+Uploaders: Eric Lavarde
+Build-Depends-Indep: docbook-to-man, ant, ant-optional, openjdk-6-jdk, imagemagick, libcommons-lang-java, libbatik-java (>= 1.6), rhino, libjgoodies-forms-java, groovy, libjibx-java, simplyhtml (> 0.13), javahelp2, fop
+Build-Depends: debhelper (>= 5.0), cdbs (>= 0.4.8)
+Homepage: http://freemind.sourceforge.net/
+Standards-Version: 3.8.3.0
+
+Package: freemind
+Architecture: all
+Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, libcommons-lang-java, libjgoodies-forms-java, libjibx-java, simplyhtml (> 0.13), ${misc:Depends}
+Recommends: freemind-doc, xdg-utils
+Suggests: freemind-plugins-help, freemind-plugins-svg, freemind-plugins-script, freemind-browser
+Conflicts: freemind-plugins-time (<< ${binary:Version})
+Replaces: freemind-plugins-time
+Description: Java Program for creating and viewing Mindmaps
+ Taking the Concept-Mapping approach to Human-Computer Interface design.
+ A mind mapper, and at the same time an easy-to-operate hierarchical editor
+ with strong emphasis on folding. These two are not really two different
+ things, just two different descriptions of a single application. Often used
+ for knowledge and content management.
+ .
+ FreeMind doesn't work with classpath based Java implementations. Use OpenJDK
+ (or Sun's Java), and check freemind(1) for more information.
+
+Package: freemind-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: evince | openoffice.org-writer | abiword | kword | pdf-viewer
+Suggests: freemind
+Description: Documentation for FreeMind
+ This package contains on one hand the FreeMind Documentation Mindmap as
+ accessed through the menu 'Help -> Documentation', on the other hand the
+ FreeMind Key Mapping reference, either in PDF (accessible through the menu
+ 'Help -> Key Documentation PDF') or in OpenDocument format (editable).
+
+Package: freemind-browser
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: thttpd | httpd
+Suggests: freemind
+Description: Java Applet for publishing Mindmaps produced with FreeMind
+ This package contains a java applet as well as an example of an HTML file to
+ publish FreeMind maps using a standard web server.
+
+Package: freemind-plugins-svg
+Architecture: all
+Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), libbatik-java (>= 1.6), rhino, ${misc:Depends}
+Recommends: fop
+Description: Java Plugin for FreeMind to export Mindmaps to SVG and PDF
+ This plugin will add two menu points 'File -> Export -> SVG-Export' and
+ 'File -> Export -> PDF-Export'.
+ The PDF export won't work without the recommended fop being installed.
+
+Package: freemind-plugins-help
+Architecture: all
+Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), ${misc:Depends}, javahelp2
+Description: Java Plugin for FreeMind to show an extended online help
+ This plugin will add a menu point 'Help -> Online Help'.
+
+Package: freemind-plugins-script
+Architecture: all
+Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), groovy, ${misc:Depends}
+Description: Java Plugin for FreeMind to add scripting capabilities
+ This plugin will add the menu points 'Tools -> Evaluate' and
+ 'Tools -> Script Editor...'.
+
+#Package: freemind-plugins-collab-jabber
+#Architecture: all
+#Depends: openjdk-6-jre | sun-java5-jre | sun-java6-jre | java2-runtime, freemind (= ${binary:Version}), libcommons-logging-java, libcrimson-java, liboro-java, libgnujaxp-java, libjdom0-java, liblog4j1.2-java, ${misc:Depends}
+#Description: Java Plugin for FreeMind to collaborate over Jabber.
+# This plugin will add a menu point 'Tools -> Start Collaboration Mode'.
+# .
+# Attention, this feature is still alpha-code and not guaranteed to work,
+# it might munge your data, eat your dog and quick your baby (or the other way
+# around).
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-svg.dirs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-svg.dirs
@@ -0,0 +1,2 @@
+usr/share/freemind/plugins/svg
+usr/share/doc/freemind-plugins-svg
--- freemind-0.9.0~rc6+dfsg.orig/debian/copyright
+++ freemind-0.9.0~rc6+dfsg/debian/copyright
@@ -0,0 +1,274 @@
+This package was debianized by Eric Lavarde on
+Mon, 9 Feb 2004 06:14:41 +0100. The packaging itself is placed under
+dual license GPLv2+ and BSD (take what fits your needs).
+
+
+It was downloaded from http://freemind.sourceforge.net/
+
+Upstream Author: Joerg Mueller
+
+FreeMind - A Program for creating and viewing Mindmaps
+Copyright: 2000-2009 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program 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 General Public License for more details.
+
+A copy of the GNU General Public License is available as
+/usr/share/common-licenses/GPL in the Debian GNU/Linux
+distribution or on the World Wide Web at
+.
+You can also obtain it by writing to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+A copy of the GNU General Public License is available as
+/usr/share/common-licenses/GPL-2 in the Debian GNU/Linux
+distribution.
+
+
+Files: ./freemind/preferences/layout/*Key*.java
+Copyright: 2000, 2004 Slava Pestov
+License: GPLv2+ (see above)
+
+
+Files: ./freemind/controller/printpreview/*.java:
+Copyright: 2003 Jens Kaiser
+License: LGPLv2+ (see above)
+
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public License
+ * as published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ * This program 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 Library General Public License for more details.
+
+A copy of the GNU Library General Public License is available as
+/usr/share/common-licenses/LGPL in the Debian GNU/Linux
+distribution or on the World Wide Web at
+.
+You can also obtain it by writing to the Free Software Foundation, Inc.,
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
+Files: ./freemind/main/FreeMindSplash*.java
+Copyright: 2002 by Thomas Alexandre
+License: GPLv2+ (see above)
+
+
+Files: ./freemind/main/XML*.java
+Copyright: 2000-2002 Marc De Scheemaecker
+License: zlib/libpng
+ * This file is part of NanoXML 2 Lite.
+ * Copyright (C) 2000-2002 Marc De Scheemaecker, All Rights Reserved.
+ *
+ * This software is provided 'as-is', without any express or implied warranty.
+ * In no event will the authors be held liable for any damages arising from the
+ * use of this software.
+ *
+ * Permission is granted to anyone to use this software for any purpose,
+ * including commercial applications, and to alter it and redistribute it
+ * freely, subject to the following restrictions:
+ *
+ * 1. The origin of this software must not be misrepresented; you must not
+ * claim that you wrote the original software. If you use this software in
+ * a product, an acknowledgment in the product documentation would be
+ * appreciated but is not required.
+ *
+ * 2. Altered source versions must be plainly marked as such, and must not be
+ * misrepresented as being the original software.
+ *
+ * 3. This notice may not be removed or altered from any source distribution.
+
+
+Files: ./freemind/main/*HTML*.java
+Copyright: 2004 Richard "Shred" Koerber
+License: ?
+ * This is free software. You can modify and use it at will.
+
+
+Files: ./freemind/main/Base64Coding.java
+Copyright: (C) 2001, 2003, 2004, 2006 Free Software Foundation, Inc.
+License: GPLv2+ (see above; with GNU classpath exception, see below)
+
+Linking this library statically or dynamically with other modules is
+making a combined work based on this library. Thus, the terms and
+conditions of the GNU General Public License cover the whole
+combination.
+
+As a special exception, the copyright holders of this library give you
+permission to link this library with independent modules to produce an
+executable, regardless of the license terms of these independent
+modules, and to copy and distribute the resulting executable under
+terms of your choice, provided that you also meet, for each linked
+independent module, the terms and conditions of the license of that
+module. An independent module is a module which is not derived from
+or based on this library. If you modify this library, you may extend
+this exception to your version of the library, but you are not
+obligated to do so. If you do not wish to do so, delete this
+exception statement from your version.
+
+
+Files: ./freemind/main/ExampleFileFilter.java
+Copyright: (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
+License: BSD like?
+ *
+ * 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.
+ *
+ * -Redistribution in binary form must reproduct 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 Sun Microsystems, Inc. or the names of contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * This software is provided "AS IS," without a warranty of any kind. ALL
+ * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ * ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
+ * OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT
+ * BE LIABLE FOR ANY DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT
+ * OF OR RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR ITS
+ * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST
+ * REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL,
+ * INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY
+ * OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN
+ * IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+ *
+ * You acknowledge that Software is not designed, licensed or intended for
+ * use in the design, construction, operation or maintenance of any nuclear
+ * facility.
+
+
+Files: ./freemind/extensions/ImportWizard.java
+Copyright: 1999 Len Trigg (trigg@cs.waikato.ac.nz)
+License: GPLv2+ (see above)
+
+
+Files: ./accessories/plugins/time/J*.java (except JTripleCalendar.java)
+Copyright: 2004 Kai Toedter
+License: LGPLv2+ (see above)
+
+
+The following files have no copyright/license but are assumed to be under the same
+conditions than the rest of the majority of the source code (GPLv2+):
+
+./freemind/main/LoggingOutputStream.java: *No copyright* UNKNOWN
+./freemind/extensions/StatefulMindMapNodeHookAdapter.java: *No copyright* UNKNOWN
+./freemind/extensions/StatefulNodeHook.java: *No copyright* UNKNOWN
+./freemind/modes/IconInformation.java: *No copyright* UNKNOWN
+./windows-launcher/Freemind.c: *No copyright* UNKNOWN
+./mkdmg.sh: *No copyright* UNKNOWN
+./tests/freemind/SignedScriptTests.java: *No copyright* UNKNOWN
+./plugins/latex/JZoomedHotEqn.java: *No copyright* UNKNOWN
+./plugins/svg/startSquiggle.sh: *No copyright* UNKNOWN
+./plugins/script/ScriptingRegistration.java: *No copyright* UNKNOWN
+./freemind.sh: *No copyright* UNKNOWN
+./accessories/mm2opml.xsl
+./accessories/mm2tji*.xsl
+./accessories/opml2mm.xsl
+
+
+The following license files can be ignored as they refer to Jar files/libraries
+that have been removed from the source code:
+
+./freemind/plugins/latex/Readme.txt
+./freemind/plugins/script/groovy-all-1.5.6-LICENSE.txt
+
+
+File: ./accessories/freemind2html.xsl
+Author: Markus Brueckner
+License: BSD license without advertising clause. (see
+http://www.opensource.org/licenses/bsd-license.php for further details)
+
+A copy of the BSD License is available as /usr/share/common-licenses/BSD
+in the Debian GNU/Linux distribution.
+
+
+Files: ./accessories/mm2html.xsl ./accessories/mm2latex*.xsl ./accessories/mm2text.xsl
+Author: joerg feuerhake joerg.feuerhake@free-penguin.org
+License: GPL (see above)
+
+
+Files: ./accessories/mm2*_utf8*
+Copyright: Naoki Nose, 2006, and Eric Lavarde, 2008
+License: GPLv2+ (see above)
+
+
+Files: ./accessories/mm2twiki.xsl
+Copyright: Stephen Fitch, 2005
+License: GPL (see above)
+
+
+Files: ./accessories/mm2xbel.xsl ./accessories/xbel2mm.xsl
+Copyright: William McVey , 2003
+License: GPL (see above)
+
+
+Files: ./accessories/to{x,}html.xsl ./accessories/marktree.js
+Copyright: Miika Nurminen (minurmin@cc.jyu.fi) 2003, 2004
+License: MIT
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
+FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
+
+
+Files: freemind/freemind/main/ExampleFileFilter.java
+Copyright: (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
+License: other
+ * 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.
+ *
+ * -Redistribution in binary form must reproduct 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 Sun Microsystems, Inc. or the names of contributors
+ * may be used to endorse or promote products derived from this software
+ * without specific prior written permission.
+ *
+ * This software is provided "AS IS," without a warranty of any kind. ALL
+ * EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
+ * ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
+ * OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN AND ITS LICENSORS SHALL NOT
+ * BE LIABLE FOR ANY DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT
+ * OF OR RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THE SOFTWARE OR ITS
+ * DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST
+ * REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL,
+ * INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY
+ * OF LIABILITY, ARISING OUT OF THE USE OF OR INABILITY TO USE SOFTWARE, EVEN
+ * IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+ *
+ * You acknowledge that Software is not designed, licensed or intended for
+ * use in the design, construction, operation or maintenance of any nuclear
+ * facility.
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-script.README.Debian
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-script.README.Debian
@@ -0,0 +1,2 @@
+Check for some information the following Wiki page:
+http://freemind.sf.net/wiki/index.php/FreeMind_0.9.0:_The_New_Features#Scripting_via_Groovy
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.sgml
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.sgml
@@ -0,0 +1,223 @@
+ manpage.1'. You may view
+ the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+ less'. A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+ docbook-to-man $< > $@
+
+
+ The docbook-to-man binary is found in the docbook-to-man package.
+ Please remember that if you create the nroff version in one of the
+ debian/rules file targets (such as build), you will need to include
+ docbook-to-man in your Build-Depends control field.
+
+ -->
+
+
+ Eric">
+ Lavarde">
+
+ 2005-03-16">
+
+ 1">
+ deb@zorglub.s.bawue.de">
+
+ FREEMIND">
+
+
+ Debian">
+ GNU">
+ GPL">
+]>
+
+
+
+
+ &dhemail;
+
+
+ &dhfirstname;
+ &dhsurname;
+
+
+ 2003
+ &dhusername;
+
+ &dhdate;
+
+
+ &dhucpackage;
+
+ &dhsection;
+
+
+ &dhpackage;
+
+ A Java program for creating and viewing mindmaps.
+
+
+
+ &dhpackage;
+
+ no_options
+
+
+
+
+ DESCRIPTION
+
+ This manual page documents briefly the
+ &dhpackage; command.
+
+ This manual page was written for the &debian; distribution
+ because the original program does not have a manual page.
+ Instead, it has documentation as a mindmap (see Help menu in
+ FreeMind).
+
+ &dhpackage; is a program that allows to create
+ and view so-called mindmaps, as well as export them to HTML or different
+ image formats.
+ It also has a plugin concept to extend its functionality.
+
+
+
+ OPTIONS
+
+ This program does not have any option. Just start it!
+
+
+
+ ENVIRONMENT VARIABLES
+
+
+
+
+
+ If this environment variable is set, freemind gives more
+ information on how it finds its different elements, as well as some
+ other information.
+
+
+
+
+
+
+ Default value for the java virtual machine (the java command).
+
+
+
+
+
+
+ If $JAVACMD is not set, the java virtual machine is searched
+ under $JAVA_BINDIR/java.
+
+
+
+
+
+
+ If $JAVACMD and $JAVA_BINDIR are not set, the java virtual
+ machine is searched under $JAVA_HOME/bin/java.
+
+
+
+
+
+
+ If all $JAVA... environment variables fail, the java virtual
+ machine command (java) is searched in the $PATH (with which).
+
+
+
+
+
+
+
+ The $CLASSPATH variable also lets one specify additional jars,
+ which is good, if you want to add a new Look&Feel jar (the motif
+ one is so ugly...). Alternatively, the content of $ADD_JARS will
+ be prepended to $CLASSPATH.
+
+
+
+
+
+
+ Directory where FreeMind searches for its plugins and
+ libraries
+
+
+
+
+
+ FILES
+
+
+
+
+
+
+ freemind tries to read its environment variables from
+ /etc/freemind/freemindrc and ~/.freemind/freemindrc,
+ so that specific settings are possible at machine and user level.
+
+
+
+
+
+
+
+ If all searches through environment variables fail, the
+ java virtual machine is expected to be /usr/bin/java; if not,
+ freemind exits with an error.
+
+
+
+
+
+
+ SEE ALSO
+ The online documentation under http://freemind.sf.net/,
+ especially the Linux related one under the Wiki page link
+ http://freemind.sourceforge.net/wiki/index.php/FreeMind_on_Linux.
+
+
+ AUTHOR
+
+ This manual page was written by &dhusername; &dhemail; for
+ the &debian; system (but may be used by others). Permission is
+ granted to copy, distribute and/or modify this document under
+ the terms of the &gnu; General Public License, Version 2 any
+ later version published by the Free Software Foundation.
+
+
+ On Debian systems, the complete text of the GNU General Public
+ License can be found in /usr/share/common-licenses/GPL.
+
+
+
+
+
+
+
+
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-doc.docs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-doc.docs
@@ -0,0 +1,3 @@
+bin/dist/doc/*.mm
+bin/dist/doc/*.pdf
+bin/dist/doc/*.odt
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.menu
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.menu
@@ -0,0 +1,3 @@
+?package(freemind):needs="X11" section="Applications/Office"\
+ icon="/usr/share/pixmaps/FreeMindWindowIcon.xpm"\
+ title="FreeMind" command="/usr/bin/freemind"
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.manpages
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.manpages
@@ -0,0 +1 @@
+freemind.1
--- freemind-0.9.0~rc6+dfsg.orig/debian/changelog
+++ freemind-0.9.0~rc6+dfsg/debian/changelog
@@ -0,0 +1,355 @@
+freemind (0.9.0~rc6+dfsg-1ubuntu1) lucid; urgency=low
+
+ * Merge from Debian unstable (LP: #182927), remaining changes:
+ - debian/copyright: add license/copyright for
+ freemind/freemind/main/ExampleFileFilter.java
+
+ -- Benjamin Drung Sun, 03 Jan 2010 14:19:19 +0100
+
+freemind (0.9.0~rc6+dfsg-1) unstable; urgency=low
+
+ * New upstream version.
+ * Suppress build dependency on xsd2jibx, thanks to Upstream change.
+ * Bumped policy version to 3.8.3.0 without changes. I left 'editors' as
+ section because I understand that 'java' would be for programming
+ related packages, whereas FreeMind is for end-users.
+ * Remove call to obsoleted dh_desktop from debian/rules.
+
+ -- Eric Lavarde Sat, 07 Nov 2009 11:02:07 +0100
+
+freemind (0.9.0~rc4-1) unstable; urgency=low
+
+ * New upstream version.
+ * Add Mozilla 1.1 version file (ftpmaster request).
+ * Bump policy version from 3.8.0 to 3.8.1 (no changes)
+
+ -- Eric Lavarde Sun, 24 May 2009 08:33:51 +0200
+
+freemind (0.9.0~rc1-3) unstable; urgency=low
+
+ * Add Classpath exception statement and hint about orphan license files
+ to copyright file (ftpmaster request).
+
+ -- Eric Lavarde Sun, 05 Apr 2009 16:22:30 +0200
+
+freemind (0.9.0~rc1-2) unstable; urgency=low
+
+ * Add XSL files from accessories to copyright file (ftpmaster request).
+
+ -- Eric Lavarde Sun, 08 Mar 2009 12:40:49 +0100
+
+freemind (0.9.0~rc1-1) unstable; urgency=low
+
+ * New upstream version.
+ * Move FreeMind to "Applications/Office" section in the menu.
+ * Bump policy version to 3.8.0 (Homepage field, README.source)
+ * Remove urlsee (replaced simply by xdg-open).
+ * Move all documentation (.mm, .pdf, .odt) to new freemind-doc package.
+ * Bug fixes:
+ + Desktop integration (Closes: #296258).
+ + Latest version packaged (Closes: #485629).
+ + Using OpenJDK and moving to main (Closes: #490623, #466303, #515107).
+ * Add javahelp2 dependencies and patches, now that it's in Debian.
+ * Replace libforms-java through libjgoodies-forms-java in dependencies.
+ * Remove unneeded patch to FreeMind resource file.
+ * The responsibilities between batik and fop regarding PDF transcoding
+ seem to have changed, adding fop as recommended dependency.
+
+ -- Eric Lavarde Sun, 01 Mar 2009 00:49:27 +0100
+
+freemind (0.9.0~beta9-2) experimental; urgency=low
+
+ * Added SimplyHTML and gnuregexp to FreeMind's classpath.
+ * Added forgotten dependency to SimplyHTML.
+ * Use ${binary:Version} for plugin dependencies on freemind.
+
+ -- Eric Lavarde Fri, 23 Mar 2007 18:04:36 +0100
+
+freemind (0.9.0~beta9-1) experimental; urgency=low
+
+ * Continuing tests.
+ * Bumped policy version to 3.7.2.2 (no changes required).
+
+ -- Eric Lavarde Sat, 10 Mar 2007 16:04:24 +0100
+
+freemind (0.8.0+01-4) unstable; urgency=low
+
+ * Corrected polish translation (thanks to hekto5 on sf.net).
+ * Add debug dpkg/rpm information and check for Sun/Blackdown VM in
+ freemind.sh.
+
+ -- Eric Lavarde Wed, 9 Nov 2005 17:07:52 +0000
+
+freemind (0.8.0+01-3) unstable; urgency=low
+
+ * Introduce usage of commons-codec to replace sun.misc.Base64Encoder/Decoder.
+ * Set java source and target version to 1.3 in order to avoid warnings from
+ jikes.
+ * Suppress useless import of sun.java2d.loops.FontInfo from
+ FontSizeAction.java.
+
+ -- Eric Lavarde Sun, 6 Nov 2005 16:02:33 +0000
+
+freemind (0.8.0+01-2) unstable; urgency=low
+
+ * Made the freemind.sharedmimeinfo file multi-lingual.
+ * Improved French traduction.
+ * corrected urlsee to send output to /tmp/urlsee.log when DEBUG is
+ defined because FreeMind discards all output.
+ * corrected urlsee to transform %20 into when using 'see' or
+ other local command.
+ * Corrected the polish translation (it's neither complete nor
+ guaranteed correct but at least it loads).
+
+ -- Eric Lavarde Sun, 6 Nov 2005 15:20:01 +0000
+
+freemind (0.8.0+01-1) unstable; urgency=low
+
+ * Adding avalon-framework, commons-io, commons-logging to svg plugin
+ classpath for fop-transcoder to work.
+ * removing pdf-transcoder.jar from source package.
+
+ -- Eric Lavarde Sat, 22 Oct 2005 15:11:13 +0000
+
+freemind (0.8.0-2) unstable; urgency=low
+
+ * replaced gnujaxp through xmlParserAPIs in rules file (thanks to WBaer).
+ * included use of fop-transcoder from libbatik-java >= 1.6.
+
+ -- Eric Lavarde Fri, 21 Oct 2005 07:47:07 +0000
+
+freemind (0.8.0-1) unstable; urgency=low
+
+ * Finalized upstream version.
+
+ -- Eric Lavarde Wed, 7 Sep 2005 18:49:37 +0200
+
+freemind (0.7.9.rc5-4) unstable; urgency=low
+
+ * Bug fixing: link to freemind.jar had old version and forgot to fully
+ remove forms.jar from package.
+
+ -- Eric Lavarde Sat, 27 Aug 2005 12:23:35 +0200
+
+freemind (0.7.9.rc5-3) unstable; urgency=low
+
+ * Moved to policy 3.6.2.0 (no change required).
+ * Introduced dependency to libforms-java.
+
+ -- Eric Lavarde Thu, 18 Aug 2005 17:04:18 +0200
+
+freemind (0.7.9.rc5-2) unstable; urgency=low
+
+ * Migrating to cdbs system.
+
+ -- Eric Lavarde Thu, 18 Aug 2005 16:24:16 +0200
+
+freemind (0.7.9.rc5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Eric Lavarde Tue, 19 Jul 2005 14:11:14 +0200
+
+freemind (0.7.9.rc4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Eric Lavarde Tue, 5 Jul 2005 11:27:24 +0200
+
+freemind (0.7.9.rc3-2) unstable; urgency=low
+
+ * Fixed some warnings from docbook-to-man concerning freemind.sgml.
+ * Simplified all debian/freemind-plugins-*.install files.
+ * Added new package freemind-plugins-collab-jabber for collaboration
+ through jabber.
+ * Removed need for replacement variables in freemind.properties and
+ user.properties as it becomes more complicated than it brings anything.
+
+ -- Eric Lavarde Tue, 24 May 2005 19:50:42 +0200
+
+freemind (0.7.9.rc3-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Eric Lavarde Sun, 22 May 2005 17:08:09 +0200
+
+freemind (0.7.9.rc2-4) unstable; urgency=low
+
+ * Got the hint that I was compiling against the wrong libraries (thanks
+ to Wolfgang).
+ * Fixed small dependencies and recommends glitches.
+ * Remove jhall (non free) from source and binary packages.
+ * Added urlsee as 'default_browser_command_other_os' default (i.e. the
+ command used by FreeMind to display links and files). Manpage included.
+ * Source for freemind.1 is now SGML based.
+
+ -- Eric Lavarde Wed, 16 Mar 2005 20:37:40 +0100
+
+freemind (0.7.9.rc2-3) unstable; urgency=low
+
+ * Added alternative dependencies for Java 1.5.
+ * Replaced some more jars through dependencies on librelaxng-datatype-
+ java, libjaxp1.2-java, libcommons-lang-java.
+
+ -- Eric Lavarde Fri, 4 Mar 2005 20:31:28 +0100
+
+freemind (0.7.9.rc2-2) unstable; urgency=low
+
+ * Replaced jar files from svg plugin through standard jars from
+ libxerces2-java, libbatik-java and rhino
+
+ -- Eric Lavarde Tue, 1 Mar 2005 20:20:25 +0100
+
+freemind (0.7.9.rc2-1) unstable; urgency=low
+
+ * New upstream release
+ * Added package freemind-plugins-time
+ * Added freedesktop support (closes: #296258)
+
+ -- Eric Lavarde Mon, 28 Feb 2005 20:38:33 +0100
+
+freemind (0.7.9.rc1-3) unstable; urgency=low
+
+ * Modified dependencies to non-free Java implementations, Sun and Blackdown
+ packaged with java-package (Closes: #291946, #292182).
+
+ -- Eric Lavarde Sat, 5 Feb 2005 12:11:32 +0100
+
+freemind (0.7.9.rc1-2) unstable; urgency=low
+
+ * Move 'accessories' to usr/share/freemind for exports.
+ * Add -Dfreemind.base.dir to freemind.sh for FreeMind to find plugins and
+ accessories.
+
+ -- Eric Lavarde Fri, 14 Jan 2005 20:32:39 +0100
+
+freemind (0.7.9.rc1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Eric Lavarde Tue, 11 Jan 2005 20:12:57 +0100
+
+freemind (0.7.9.beta4-1) unstable; urgency=low
+
+ * New upstream release
+ * Added packages freemind-browser, freemind-plugins-help and freemind-
+ plugins-svg.
+
+ -- Eric Lavarde Sat, 8 Jan 2005 20:00:00 +0100
+
+freemind (0.7.1-6ubuntu4) jaunty; urgency=low
+
+ * debian/freemind.desktop
+ - Add a .desktop file.
+ * debian/freemind.install
+ - Install the .desktop file at appropriate location.
+ (LP: #244140)
+
+ -- Andreas Olsson Sat, 07 Feb 2009 17:45:43 +0100
+
+freemind (0.7.1-6ubuntu3) hardy; urgency=low
+
+ * debian/control:
+ - Replace icedtea-java7 dependencies with openjdk-6 (LP: #203636)
+
+ -- David Futcher Tue, 18 Mar 2008 19:35:02 +0000
+
+freemind (0.7.1-6ubuntu2) hardy; urgency=low
+
+ * debian/control:
+ - Depend on icedtea-java7-jre|sun-java6-jre|java2-runtime (LP: #164535)
+ - Standards-Version 3.7.3
+ - Moved Homepage from description to control field
+ - Move debhelper from Build-Depends-Indep to B-D (lintian)
+ * debian/copyright: add license/copyright for
+ freemind/freemind/main/ExampleFileFilter.java
+
+ -- Daniel Hahler Fri, 22 Feb 2008 01:00:10 +0100
+
+freemind (0.7.1-6ubuntu1) hardy; urgency=low
+
+ * debian/control: (Build-)Depend on icedtea to avoid Sun Java's EULA.
+ (LP: #126537)
+ * freemind/freemind.sh: Prefer to run with $FREEMIND_JAVA or icedtea.
+
+ -- William Grant Tue, 06 Nov 2007 14:16:43 +1100
+
+freemind (0.7.1-6) unstable; urgency=low
+
+ * Added "gtk" as LookAndFeel possibility, as well as the possibility to
+ enter directly the Look&Feel class name (Closes: #288512).
+ * Renamed 'enum' to 'enumerator' in XMLElement.java; this is _not_ a promise
+ to support Java 1.5, Java 1.5 support will come only officially with
+ version >= 0.8.0 (Closes: #288506).
+ * Removed JAVA_HOME from debian/rules (Closes: #288505).
+ * Removed bashisms from freemind.sh, making it POSIX conform (Closes:
+ #289067).
+
+ -- Eric Lavarde Sat, 8 Jan 2005 19:37:05 +0100
+
+freemind (0.7.1-5) unstable; urgency=low
+
+ * minor changes towards Debian conformity, no end-user change.
+
+ -- Eric Lavarde Sat, 20 Nov 2004 22:10:14 +0100
+
+freemind (0.7.1-4) unstable; urgency=low
+
+ * Prepare for upload.
+ * Upgrade to policy standard 3.6.1.0.
+ * Enhanced description.
+ * Dependencies and jar location conform to Java Policy.
+ * use xpm instead of png icon to be policy conform.
+ * moved mm2xbel.xsl and xbel2mm.xsl to doc directory with README.Debian.
+
+ -- Eric Lavarde Mon, 15 Nov 2004 20:55:47 +0100
+
+freemind (0.7.1-3) unstable; urgency=low
+
+ * Upgrade freemind.sh to better find the java binary (Thanks to Jan Schulz
+ again) and copy patterns.xml to user directory.
+ * Updated man page to document all environment variables and files
+ used by freemind start script.
+ * Remove user.properties because freemind does create it itself now
+ (removes need for /etc/skel files and README.Debian).
+ * Changed subsection from 'editor' to 'text' to be consistent with
+ menu.
+
+ -- Eric Lavarde Sat, 19 Jun 2004 22:41:56 +0200
+
+freemind (0.7.1-2) unstable; urgency=low
+
+ * Adding icon to menu entry.
+ * Small fixes of the manpage.
+ * Changed to patches as sent to upstream team.
+ * Added mime-type application/x-freemind.
+ * Some changes thanks to Jan Schulz:
+ - Set mozilla | www-browser as Recommend field.
+ - JAVA_HOME can now be overwritten (change to rules).
+ - Added new property 'browser_other' for mozilla vs. sensible-browser
+
+ -- Eric Lavarde Sat, 1 May 2004 12:40:50 +0200
+
+freemind (0.7.1-1) unstable; urgency=low
+
+ * New upstream release
+ * Changed 'src' to 'freemind' in source tree.
+ * Slight change to man page.
+ * Lookandfeel now remains to default (not windows or metal anymore).
+
+ -- Eric Lavarde Mon, 1 Mar 2004 06:48:06 +0100
+
+freemind (0.6.7-1) unstable; urgency=low
+
+ * Initial Release.
+ * This is my first Debian package (following maint-guide's
+ recommendation ;-)
+ * removed *.bak files
+ * modified freemind.properties and user.properties:
+ - properties_folder from freemind to .freemind
+ - modified lookandfeel from windows to metal
+ - adapted docmapurl and browsemode_initial_map to Debian dir structure
+ * made freemin.sh able to start from everywhere
+
+ -- Eric Lavarde Tue, 17 Feb 2004 23:24:49 +0100
+
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind.desktop
+++ freemind-0.9.0~rc6+dfsg/debian/freemind.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeMind
+Exec=/usr/bin/freemind
+Terminal=false
+Icon=/usr/share/pixmaps/FreeMindWindowIcon.xpm
+Type=Application
+MimeType=application/x-freemind
+Categories=Application;Office;
+GenericName=FreeMind
+Comment=A free mind mapping tool
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-browser.README.Debian
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-browser.README.Debian
@@ -0,0 +1,21 @@
+freemind-browser for Debian
+---------------------------
+
+freemind-browser is a java applet to present FreeMind Mindmaps on the web
+(read-only).
+
+freemindbrowser.jar and freemindbrowser.html are examples of files to be used
+for this purpose. Place those two files in your web arborescence, make sure that
+freemindbrowser.html (or whatever name you gave to it) points properly to
+freemindbrowser.jar in the "archive" attribute of the "applet" tag (the example
+file assumes that both are in the same directory).
+
+Then copy a mind-map as well to the same web arborescence, and adapt the
+following lines to your need:
+
+
+NOTE: the URL to the map file must be absolute, but can only be on the same
+ server as the jar file (for security reasons).
+
+-- Eric Lavarde , Sun, 05 Dec 2004 21:01:14 +0100
--- freemind-0.9.0~rc6+dfsg.orig/debian/export-freemind-cvs.sh
+++ freemind-0.9.0~rc6+dfsg/debian/export-freemind-cvs.sh
@@ -0,0 +1,75 @@
+#!/bin/bash -x
+# This small script can be used to export the FreeMind source tree from CVS
+# or get the sources from uscan and clean them up.
+if [ $# -lt 1 ]
+then
+ echo "Usage: $0 [ [keep]]" >&2
+ echo "Usage: $0 uscan [keep]" >&2
+ echo "Example: $0 0.9.0~rc4 fm_0_9_0_rc4" >&2
+ echo "Example: $0 0.9.0~rc6 uscan" >&2
+ echo "Example: $0 0.8.0+01 FM-0-8-0 keep" >&2
+ echo "Use the 'uscan' parameter to use uscan to download sources." >&2
+ echo "Use the 'keep' parameter to keep a complete copy." >&2
+ exit 1
+fi
+
+# if we are in a svn-buildpackage structure, we use it
+CURDIR="$(pwd)"
+DESTDIR="${CURDIR}"
+if [ -d "../tarballs" ]
+then
+ DESTDIR="${CURDIR}/../tarballs"
+fi
+
+if [ $1 = "uscan" ]
+then
+ if [ -f ${CURDIR}/debian/changelog ]
+ then
+ ver=$(uscan --destdir "${DESTDIR}" --repack --rename --force-download --dehs | awk -F'[<>]' '$2 == "upstream-version" {print $3}')
+ else
+ echo "ERROR: uscan can't be called without changelog." >&2
+ exit 1
+ fi
+else
+ ver=$1
+fi
+
+freemind_dir="freemind-$ver"
+freemind_orig_tar="freemind_${ver}.orig.tar.gz"
+freemind_dfsg_tar="freemind_${ver}+dfsg.orig.tar.gz"
+
+if [ $1 = "uscan" ] || [ $# -ge 2 ]
+then
+ mkdir "${DESTDIR}/${freemind_dir}" || exit 1 # we don't want to overwrite anything...
+ cd "${DESTDIR}/${freemind_dir}" || exit 1
+ if [ $1 = "uscan" ]
+ then
+ tar xzf "../${freemind_orig_tar}" || exit 1
+ else
+ cvs -z3 -d:pserver:anonymous@freemind.cvs.sourceforge.net:/cvsroot/freemind export -r "$2" freemind || exit 1
+ fi
+fi
+cd "${DESTDIR}"
+
+### SAVE FIRST THE WHOLE FREEMIND TREE ###
+if [ -n "$3" ]
+then
+ mv ${freemind_dir} ${freemind_dir}.complete
+ tar cvzf ${freemind_dfsg_tar}.complete.tar.gz \
+ ${freemind_dir}.complete/freemind
+ mv ${freemind_dir}.complete ${freemind_dir}
+fi
+
+### THEN CLEANUP THE SOURCE TREE ###
+find ${freemind_dir} -name \*.jar -o -name \*.zip | xargs rm -vf
+rm -vfr ${freemind_dir}/freemind/windows-launcher
+
+### CREATE ORIG.TAR.GZ ###
+if [ -f "${freemind_dfsg_tar}" ]
+then
+ mv -f "${freemind_dfsg_tar}" "${freemind_dfsg_tar}.BAK" \
+ || exit 1
+fi
+tar czf "${freemind_dfsg_tar}" "${freemind_dir}" || exit 1
+rm -fr "${freemind_dir}"
+cd "${CURDIR}"
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-help.install
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-help.install
@@ -0,0 +1,2 @@
+bin/dist/plugins/help usr/share/freemind/plugins
+bin/dist/plugins/FreemindHelp.xml usr/share/freemind/plugins
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-script.dirs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-script.dirs
@@ -0,0 +1,2 @@
+usr/share/freemind/plugins/script
+usr/share/doc/freemind-plugins-script
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-plugins-help.dirs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-plugins-help.dirs
@@ -0,0 +1,2 @@
+usr/share/freemind/plugins/help
+usr/share/doc/freemind-plugins-help
--- freemind-0.9.0~rc6+dfsg.orig/debian/freemind-browser.docs
+++ freemind-0.9.0~rc6+dfsg/debian/freemind-browser.docs
@@ -0,0 +1 @@
+bin/dist/browser
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/32_plug_help_manifest.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/32_plug_help_manifest.patch
@@ -0,0 +1,8 @@
+--- freemind/plugins/help/doc/manifest.mf
++++ freemind/plugins/help/doc/manifest.mf
+@@ -1,4 +1,4 @@
+ Main-Class: sunw.demo.jhdemo.Runner
+ Run-Class: sunw.demo.jhdemo.JHLauncher
+-Class-Path: hsviewer.jar jhall.jar doc
++Class-Path: hsviewer.jar /usr/share/java/jhall.jar doc
+ Arguments: -helpset .doc/freemind.hs
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/21_plug_svg_build.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/21_plug_svg_build.patch
@@ -0,0 +1,15 @@
+--- freemind-0.8.0/freemind/plugins/build_svg.xml 2005-10-22 14:04:46.000000000 +0000
++++ build_svg.xml 2005-10-22 14:03:17.000000000 +0000
+@@ -6,9 +6,9 @@
+
+
+-
++
+
+
+
+
+-
+\ No newline at end of file
++
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/10_plug_collab_jabber.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/10_plug_collab_jabber.patch
@@ -0,0 +1,20 @@
+--- freemind/plugins/CollaborationJabber.xml
++++ freemind/plugins/CollaborationJabber.xml
+@@ -1,11 +1,11 @@
+
+
+-
+-
+-
+-
+-
+-
++
++
++
++
++
++
+
+
+
+
+
+-
++
+
+
+
+
+-
+\ No newline at end of file
++
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/50_plug_latex_off.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/50_plug_latex_off.patch
@@ -0,0 +1,18 @@
+diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc4/freemind/plugins/build.xml freemind-0.9.0~rc4.new/freemind/plugins/build.xml
+--- freemind-0.9.0~rc4/freemind/plugins/build.xml 2009-02-16 22:27:17.000000000 +0100
++++ freemind-0.9.0~rc4.new/freemind/plugins/build.xml 2009-05-24 09:22:11.000000000 +0200
+@@ -12,6 +12,7 @@
+
+
+
++
+
+
+
+@@ -29,4 +30,4 @@
+
+
+
+-
+\ No newline at end of file
++
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/31_plug_help_build.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/31_plug_help_build.patch
@@ -0,0 +1,18 @@
+diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc1/freemind/plugins/build_help.xml freemind-0.9.0~rc1.new/freemind/plugins/build_help.xml
+--- freemind-0.9.0~rc1/freemind/plugins/build_help.xml 2004-11-16 17:42:37.000000000 +0100
++++ freemind-0.9.0~rc1.new/freemind/plugins/build_help.xml 2009-03-04 21:16:03.000000000 +0100
+@@ -4,10 +4,10 @@
+
+
+
+-
+-
++
++
+
+
+
+
+-
+\ No newline at end of file
++
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/02_manifest.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/02_manifest.patch
@@ -0,0 +1,17 @@
+diff -Nur freemind-0.9.0~beta9/freemind/MANIFEST.MF freemind-0.9.0~beta9.new/freemind/MANIFEST.MF
+--- freemind-0.9.0~beta9/freemind/MANIFEST.MF 2007-01-04 01:13:26.000000000 +0100
++++ freemind-0.9.0~beta9.new/freemind/MANIFEST.MF 2007-03-10 16:32:02.000000000 +0100
+@@ -1,13 +1,3 @@
+ Manifest-Version: 1.0
+ Main-Class: freemind.main.FreeMindStarter
+-Class-Path: freemind.jar
+- ../
+- commons-lang-2.0.jar
+- forms-1.0.5.jar
+- jibx/jibx-run.jar
+- jibx/xpp3.jar
+- bindings.jar
+- SimplyHTML/gnu-regexp-1.1.4.jar
+- SimplyHTML/SimplyHTML.jar
+ Created-By: Joerg Mueller
+-
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/11_plug_collab_jabber_build.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/11_plug_collab_jabber_build.patch
@@ -0,0 +1,16 @@
+--- freemind/plugins/build_jabber.xml
++++ freemind/plugins/build_jabber.xml
+@@ -4,10 +4,10 @@
+
+
+
+-
++
+
+
+
+
+
+-
+\ No newline at end of file
++
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/01_build_xml.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/01_build_xml.patch
@@ -0,0 +1,85 @@
+diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc5+cvs20090906/freemind/build.xml freemind-0.9.0~rc5+cvs20090906.new/freemind/build.xml
+--- freemind-0.9.0~rc5+cvs20090906/freemind/build.xml 2009-07-17 21:17:41.000000000 +0200
++++ freemind-0.9.0~rc5+cvs20090906.new/freemind/build.xml 2009-09-06 19:08:14.000000000 +0200
+@@ -33,15 +33,10 @@
+
+
+
+-
+-
+-
+-
+-
+-
+-
++
++
++
++
+
+
+
+@@ -49,7 +44,7 @@
+
+
+
+-
++
+
+
+
+
+
+-
+-
+-
+-
+-
+
+
+
+@@ -194,15 +184,7 @@
+
+
+
+-
+-
+
+-
+-
+-
+-
+-
+-
+
+
+
+@@ -212,15 +194,9 @@
+
+
+
+-
+
+
+
+-
+-
+-
+-
+
+
+
+@@ -497,7 +473,7 @@
+
+
++ classpath="${java.dir}/xercesImpl.jar">
+
+
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/40_plug_script.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/40_plug_script.patch
@@ -0,0 +1,19 @@
+diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc1/freemind/plugins/ScriptingEngine.xml freemind-0.9.0~rc1.new/freemind/plugins/ScriptingEngine.xml
+--- freemind-0.9.0~rc1/freemind/plugins/ScriptingEngine.xml 2008-07-18 21:02:52.000000000 +0200
++++ freemind-0.9.0~rc1.new/freemind/plugins/ScriptingEngine.xml 2009-02-22 20:07:36.000000000 +0100
+@@ -1,7 +1,7 @@
+
+
+
+-
++
+
+
+
+@@ -37,4 +37,4 @@
+
+
+ -->
+-
+\ No newline at end of file
++
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/03_freemind_sh.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/03_freemind_sh.patch
@@ -0,0 +1,31 @@
+diff -Nur -x '*.orig' -x '*~' freemind-0.9.0~rc4/freemind/freemind.sh freemind-0.9.0~rc4.new/freemind/freemind.sh
+--- freemind-0.9.0~rc4/freemind/freemind.sh 2008-12-25 22:34:05.000000000 +0100
++++ freemind-0.9.0~rc4.new/freemind/freemind.sh 2009-05-24 09:18:13.000000000 +0200
+@@ -94,7 +94,8 @@
+ return 0
+ else
+ _error "Couldn't find a java virtual machine," \
+- "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH."
++ "define JAVACMD, JAVA_BINDIR, JAVA_HOME or PATH." \
++ "See the manpage of freemind(1) for details."
+ return 1
+ fi
+ }
+@@ -196,11 +197,13 @@
+ # you want to add a new Look&Feel jar (the motif one is so ugly...).
+ #
+ CLASSPATH="${ADD_JARS}:${CLASSPATH}:${freedir}/lib/freemind.jar:\
+-${freedir}/lib/jibx/jibx-run.jar:\
+-${freedir}/lib/jibx/xpp3.jar:\
++/usr/share/java/SimplyHTML.jar:\
++/usr/share/java/gnu-regexp.jar:\
++/usr/share/java/jibx-run.jar:\
++/usr/share/java/xpp3.jar:\
+ ${freedir}/lib/bindings.jar:\
+-${freedir}/lib/commons-lang-2.0.jar:\
+-${freedir}/lib/forms-1.0.5.jar:\
++/usr/share/java/commons-lang.jar:\
++/usr/share/java/forms.jar:\
+ ${freedir}"
+ if [ "${JAVA_TYPE}" = "sun" ]
+ then
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/30_plug_help.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/30_plug_help.patch
@@ -0,0 +1,17 @@
+--- freemind/plugins/FreemindHelp.xml
++++ freemind/plugins/FreemindHelp.xml
+@@ -1,6 +1,6 @@
+
+
+-
++
+
+
+
+
+-
+\ No newline at end of file
++
--- freemind-0.9.0~rc6+dfsg.orig/debian/patches/20_plug_svg.patch
+++ freemind-0.9.0~rc6+dfsg/debian/patches/20_plug_svg.patch
@@ -0,0 +1,47 @@
+--- freemind-0.8.0/freemind/plugins/ExportSvg.xml 2005-10-22 15:07:23.000000000 +0000
++++ ExportSvg.xml 2005-10-22 15:07:04.000000000 +0000
+@@ -1,27 +1,16 @@
+
+
+
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
+-
++
++
++
++
++
++
++
++
++
++
+
+
+
+-
+\ No newline at end of file
++