--- jlgui-3.0.orig/debian/README.source
+++ jlgui-3.0/debian/README.source
@@ -0,0 +1,25 @@
+jlgui
+=====
+
+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 <varunhiremath@gmail.com>  Mon, 27 Aug 2007 19:02:53 +0530
+
+Patches
+=======
+
+This package uses quilt to maintain patches.
+
+Please read the README.source provided with the documentation
+of the quilt package for information about how to add, remove,
+apply and unapply patched to/from the build.
+
+-- Niels Thykier <niels@thykier.net> Fri, 23 Oct 2009 17:11:53 +0200
+
--- jlgui-3.0.orig/debian/jlgui.pod
+++ jlgui-3.0/debian/jlgui.pod
@@ -0,0 +1,26 @@
+=head1 NAME
+
+jlgui - graphical music player
+
+=head1 SYNOPSIS
+
+B<jlgui>
+
+=head1 DESCRIPTION
+
+jlGui is a Music Player application for the Java Platform. It
+supports MP3, OGG Vorbis, FLAC, MONKEY's AUDIO, WAV, AIFF, AU and
+SPEEX audio formats. Front-end is WinAmp skins 2.0 compliant.
+
+=head1 SEE ALSO
+
+Debian specific information: F</usr/share/doc/jlgui/README.Debian>
+
+Homepage: L<http://www.javazoom.net/jlgui/jlgui.html>
+
+API documentation: L<file:///usr/share/doc/jlgui/index.html>
+
+=head1 AUTHOR
+
+Torsten Werner <twerner@debian.org>
+
--- jlgui-3.0.orig/debian/watch
+++ jlgui-3.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/jlgui/jlgui(.*)\.tar\.gz \
+   debian debian/orig-tar.sh
--- jlgui-3.0.orig/debian/changelog
+++ jlgui-3.0/debian/changelog
@@ -0,0 +1,105 @@
+jlgui (3.0-11) unstable; urgency=low
+
+  * QA upload.
+  * Orphaning package.
+
+ -- Torsten Werner <twerner@debian.org>  Sat, 06 Aug 2011 19:04:29 +0200
+
+jlgui (3.0-10) unstable; urgency=low
+
+  * Fixed misspelled dependency. (Closes: #551847)
+  * Corrected Homepage and Vcs-* fields.
+  * Renamed README.Debian-source to README.source and added information.
+    about the patch system in use.
+  * Bumped Standards-Version to 3.8.3 - no changes required.
+  * Updated watchfile to use sf.net.
+  * Created short descriptions for patches.
+  * Updated debian/copyright
+    - correct reference to LGPL-2
+    - corrected copyright symbol
+  * Removed suggest on java-virtual-machine.
+  * Removed a workaround for tritonus since it is no longer relevant.
+  * Added java6-runtime as an alternative for openjdk.
+  * Updated README.Debian.
+  * Added missing dependency to get support for ogg-files.
+
+ -- Niels Thykier <niels@thykier.net>  Mon, 02 Nov 2009 23:05:56 +0100
+
+jlgui (3.0-9) unstable; urgency=low
+
+  * Change Build-Depends: default-jdk.
+  * Change Depends: openjdk6-jre.
+
+ -- Torsten Werner <twerner@debian.org>  Fri, 11 Sep 2009 21:12:15 +0200
+
+jlgui (3.0-8) unstable; urgency=low
+
+  * Change Maintainer: Debian Java Maintainers.
+  * Update Standards-Version: 3.8.2 (no changes).
+
+ -- Torsten Werner <twerner@debian.org>  Sun, 28 Jun 2009 20:55:34 +0200
+
+jlgui (3.0-7) unstable; urgency=low
+
+  * Move jlgui script to debian dir
+  * debian/control:
+    + Add Homepage header
+    + Fix Vcs headers (Closes: #466726)
+    + Bump Standards-Version to 3.7.3
+  * debian/rules: fix installed jar and symlink's name
+  * Remove encoding field from desktop file
+
+ -- Varun Hiremath <varun@debian.org>  Thu, 21 Feb 2008 23:49:16 +0530
+
+jlgui (3.0-6) unstable; urgency=low
+
+  * Remove Depends: cortado, because we have libvorbisspi-java now (Closes: 451397).
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Sat, 17 Nov 2007 04:35:08 +0530
+
+jlgui (3.0-5) unstable; urgency=low
+
+  * debian/control: Fix Depends - replace libjmactritonus-java with libjmac-java
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Sat, 13 Oct 2007 14:24:37 +0530
+
+jlgui (3.0-4) unstable; urgency=low
+
+  [ Varun Hiremath ]
+  * debian/control:
+    + Build-Depend on libjmac-java
+    + Switch to java-gcj instead of kaffe
+    + Depend on kaffe temporarily for tritonus classes.
+  * debian/patches: Add create_confdir.diff patch to create all the config files
+    (jlgui.ini and default.m3u) in $HOME/.jlgui instead of current dir.
+  * Clean up the jlgui load script.
+  * debian/control: Add XS-Vcs-{Svn,Browser} headers.
+  * Add debian/README.Debian-source file.
+
+  [ Torsten Werner ]
+  * Add another patch build.diff that sets the option encoding="iso8859-1" to
+    javac.
+
+ -- Torsten Werner <twerner@debian.org>  Fri, 12 Oct 2007 09:42:18 +0200
+
+jlgui (3.0-3) unstable; urgency=low
+
+  * Add support for uscan and make sure no jar file becomes part of
+    *.orig.tar.gz.
+  * Fix (Build-)Depends, Recommends and Suggests.
+  * Add manpage and jlgui.desktop.
+
+ -- Torsten Werner <twerner@debian.org>  Tue, 15 May 2007 22:48:22 +0200
+
+jlgui (3.0-2) unstable; urgency=low
+
+  * Set Architecture: all.
+  * Add myself to Uploaders.
+
+ -- Torsten Werner <twerner@debian.org>  Wed, 21 Mar 2007 21:38:43 +0100
+
+jlgui (3.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #415610)
+
+ -- Varun Hiremath <varunhiremath@gmail.com>  Mon, 29 Jan 2007 00:45:34 +0530
--- jlgui-3.0.orig/debian/README.Debian
+++ jlgui-3.0/debian/README.Debian
@@ -0,0 +1,12 @@
+With minimal testing, gcj(4:4.4.1-1ubuntu2) does not work in all
+cases. While some of the functions do work but there were problems
+with basic features (such as opening a file browser), and therefore it
+is not recommended to use gcj.
+
+Due to a bug in openjdk jlgui will not always select the correct sound
+device. Instead, go into preferences and try out different sound
+devices. The correct sound device may be hardware specific, but there
+have been success with selecting "Intel [plughw 0,0]" on platforms
+where this device is present.
+
+ -- Niels Thykier <niels@thykier.net>  Mon, 2 Nov 2009 22:31:26 +0100
--- jlgui-3.0.orig/debian/install
+++ jlgui-3.0/debian/install
@@ -0,0 +1 @@
+debian/jlgui.desktop /usr/share/applications/
--- jlgui-3.0.orig/debian/control
+++ jlgui-3.0/debian/control
@@ -0,0 +1,38 @@
+Source: jlgui
+Section: sound
+Priority: optional
+Maintainer: Debian QA Group <packages@qa.debian.org>
+Build-Depends: ant,
+               cdbs,
+               debhelper (>= 7),
+               default-jdk,
+               libbasicplayer-java,
+               libcommons-logging-java,
+               libjlayer-java,
+               libjmac-java,
+               libkjdsp-java,
+               libtritonus-java,
+               quilt
+Standards-Version: 3.8.3
+Homepage: http://sourceforge.net/projects/jlgui
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/jlgui/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/jlgui
+
+Package: jlgui
+Architecture: all
+Depends: libbasicplayer-java,
+         libcommons-logging-java,
+         libjlayer-java,
+         libjmac-java,
+         libjorbis-java,
+         libkjdsp-java,
+         libmp3spi-java,
+         libtritonus-java,
+         libvorbisspi-java,
+         openjdk-6-jre | java6-runtime,
+         ${misc:Depends}
+Recommends: kdebase-data, libjflac-java, libjspeex-java
+Description: graphical music player
+ jlGui is a Music Player application for the Java Platform. It
+ supports MP3, OGG Vorbis, FLAC, MONKEY's AUDIO, WAV, AIFF, AU and
+ SPEEX audio formats. Front-end is WinAmp skins 2.0 compliant.
--- jlgui-3.0.orig/debian/docs
+++ jlgui-3.0/debian/docs
@@ -0,0 +1,2 @@
+docs/*
+README.txt
--- jlgui-3.0.orig/debian/copyright
+++ jlgui-3.0/debian/copyright
@@ -0,0 +1,32 @@
+This package was debianized by Varun Hiremath <varunhiremath@gmail.com> on
+Mon, 29 Jan 2007 00:45:34 +0530.
+
+It was downloaded from http://www.javazoom.net/jlgui/sources.html
+
+Upstream Author: 
+   Joseph Hines <jhines@psyberrealm.com>
+   Dong Yang <john_yang@263.net>
+   Scott Pennell <spennell6@comcast.net>
+   Dmitry Vaguine <davagin@udm.ru>
+
+Copyright: © 2007 Joseph Hines <jhines@psyberrealm.com>
+	   © 2007 Dong Yang <john_yang@263.net>
+	   © 2007 Scott Pennell <spennell6@comcast.net>
+	   © 2007 Dmitry Vaguine <davagin@udm.ru>
+
+License:
+    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'.
+
+The Debian packaging is © 2007, Varun Hiremath <varunhiremath@gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
--- jlgui-3.0.orig/debian/compat
+++ jlgui-3.0/debian/compat
@@ -0,0 +1 @@
+7
--- jlgui-3.0.orig/debian/manpages
+++ jlgui-3.0/debian/manpages
@@ -0,0 +1 @@
+debian/jlgui.1
--- jlgui-3.0.orig/debian/rules
+++ jlgui-3.0/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
+
+JAVA_HOME 		:= /usr/lib/jvm/default-java
+DEB_ANT_BUILD_TARGET	:= all
+DEB_JARS		:= basicplayer commons-logging jlayer kj_dsp tritonus_share
+
+build/jlgui:: $(EXTRATARGET)
+	pod2man -c 'jlgui for Debian GNU/Linux' \
+	  -r jlgui-$(DEB_UPSTREAM_VERSION) debian/jlgui.pod > debian/jlgui.1
+
+install/jlgui::
+	install -D -m644 jlgui*.jar $(DEB_DESTDIR)/usr/share/java/jlgui-$(DEB_UPSTREAM_VERSION).jar
+	dh_link /usr/share/java/jlgui-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jlgui.jar
+	install -D -m755 debian/jlgui.sh $(DEB_DESTDIR)/usr/bin/jlgui
+
+clean::
+	$(RM) debian/jlgui.1
+
+get-orig-source:
+	uscan --upstream-version 0 --rename
--- jlgui-3.0.orig/debian/jlgui.desktop
+++ jlgui-3.0/debian/jlgui.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Exec=jlgui
+Name=jlGui
+Comment=graphical music player
+Icon=multimedia
+Name[de]=jlGui
+StartupNotify=false
+Type=Application
+Categories=AudioVideo
--- jlgui-3.0.orig/debian/doc-base
+++ jlgui-3.0/debian/doc-base
@@ -0,0 +1,11 @@
+Document: jlgui
+Title: graphical music player
+Author: Joseph Hines, Dong Yang, Scott Pennell, Dmitry Vaguine
+Abstract: jlGui is a Music Player application for the Java Platform. It
+ supports MP3, OGG Vorbis, FLAC, MONKEY's AUDIO, WAV, AIFF, AU and
+ SPEEX audio formats. Front-end is WinAmp skins 2.0 compliant.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/jlgui/index.html
+Files: /usr/share/doc/jlgui/*.html
--- jlgui-3.0.orig/debian/orig-tar.sh
+++ jlgui-3.0/debian/orig-tar.sh
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+# called by uscan with '--upstream-version' <version> <file>
+
+DIR=jlgui-$2.orig
+
+# clean up the upstream tarball
+tar -x -z -f $3 
+mv jlgui$2 $DIR
+tar -c -z -f $3 --exclude '*.jar' $DIR
+rm -rf $DIR
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+  . .svn/deb-layout
+  mv $3 $origDir
+  echo "moved $3 to $origDir"
+fi
+
+exit 0
+
--- jlgui-3.0.orig/debian/jlgui.sh
+++ jlgui-3.0/debian/jlgui.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+JARS="jl mp3spi tritonus_share vorbisspi jspeex jflac basicplayer kj_dsp jlgui commons-logging-api jmactritonusspi jorbis jogg"
+
+for FILE in $JARS; do
+  CLASSPATH=$CLASSPATH:/usr/share/java/$FILE.jar
+done
+
+exec java -classpath $CLASSPATH javazoom.jlgui.player.amp.StandalonePlayer
+
--- jlgui-3.0.orig/debian/patches/series
+++ jlgui-3.0/debian/patches/series
@@ -0,0 +1,2 @@
+create_confdir.diff
+build.diff
--- jlgui-3.0.orig/debian/patches/create_confdir.diff
+++ jlgui-3.0/debian/patches/create_confdir.diff
@@ -0,0 +1,58 @@
+Description: Changes the location of the user configuration files from current dir to a subdir in the user's home dir.
+
+diff -urN jlgui3.0.orig/src/javazoom/jlgui/player/amp/PlayerUI.java jlgui3.0/src/javazoom/jlgui/player/amp/PlayerUI.java
+--- jlgui3.0.orig/src/javazoom/jlgui/player/amp/PlayerUI.java	2007-10-10 20:01:38.000000000 +0530
++++ jlgui3.0/src/javazoom/jlgui/player/amp/PlayerUI.java	2007-10-10 20:01:55.000000000 +0530
+@@ -1707,8 +1707,13 @@
+         }
+         if (playlist != null)
+         {
+-            playlist.save("default.m3u");
+-            config.setPlaylistFilename("default.m3u");
++	    String confdir = System.getProperty("user.home") + "/.jlgui/";
++	    File fconfdir = new File(confdir);
++	    if (!fconfdir.exists()) {
++		fconfdir.mkdirs(); // create the directory if it doesn't exist
++	    }
++            playlist.save(confdir+"default.m3u");
++            config.setPlaylistFilename(confdir+"default.m3u");
+         }
+         loader.close();
+     }
+diff -urN jlgui3.0.orig/src/javazoom/jlgui/player/amp/StandalonePlayer.java jlgui3.0/src/javazoom/jlgui/player/amp/StandalonePlayer.java
+--- jlgui3.0.orig/src/javazoom/jlgui/player/amp/StandalonePlayer.java	2007-10-10 20:01:38.000000000 +0530
++++ jlgui3.0/src/javazoom/jlgui/player/amp/StandalonePlayer.java	2007-10-10 20:01:55.000000000 +0530
+@@ -52,7 +52,8 @@
+ {
+     private static Log log = LogFactory.getLog(StandalonePlayer.class);
+     /*-- Run parameters --*/
+-    private String initConfig = "jlgui.ini";
++    private String confdir = System.getProperty("user.home") + "/.jlgui/";
++    private String initConfig = confdir + "jlgui.ini";
+     private String initSong = null;
+     private String showPlaylist = null;
+     private String showEqualizer = null;
+diff -urN jlgui3.0.orig/src/javazoom/jlgui/player/amp/util/Config.java jlgui3.0/src/javazoom/jlgui/player/amp/util/Config.java
+--- jlgui3.0.orig/src/javazoom/jlgui/player/amp/util/Config.java	2007-10-10 20:01:38.000000000 +0530
++++ jlgui3.0/src/javazoom/jlgui/player/amp/util/Config.java	2007-10-10 20:01:55.000000000 +0530
+@@ -37,7 +37,8 @@
+     public static String TAGINFO_POLICY_FILE = "file";
+     public static String TAGINFO_POLICY_ALL = "all";
+     public static String TAGINFO_POLICY_NONE = "none";
+-    private static String CONFIG_FILE_NAME = "jlgui.ini";
++    private String confdir = System.getProperty("user.home") + "/.jlgui/";
++    private String CONFIG_FILE_NAME = confdir + "jlgui.ini";
+     private Configuration _config = null;
+     // configuration keys
+     private static final String LAST_URL = "last_url",
+@@ -617,6 +618,10 @@
+      */
+     public void save()
+     {
++	File fconfdir = new File(confdir);
++	if (!fconfdir.exists()) {
++	    fconfdir.mkdirs(); // create the directory if it doesn't exist
++	}
+         if (_config != null)
+         {
+             _config.add(ORIGINE_X, _x);
--- jlgui-3.0.orig/debian/patches/build.diff
+++ jlgui-3.0/debian/patches/build.diff
@@ -0,0 +1,15 @@
+Description: Corrects encoding
+
+Index: jlgui-3.0/build.xml
+===================================================================
+--- jlgui-3.0.orig/build.xml	2007-10-12 09:39:38.000000000 +0200
++++ jlgui-3.0/build.xml	2007-10-12 09:39:59.000000000 +0200
+@@ -19,7 +19,7 @@
+   <!-- Build -->
+   <target name="build" depends="init">
+     <echo message="------ Compiling application"/>
+-    <javac srcdir="${sources}" destdir="${classes}" includes="**" source="${jdksource}" target="${jdktarget}">
++    <javac srcdir="${sources}" destdir="${classes}" includes="**" source="${jdksource}" target="${jdktarget}" encoding="iso8859-1">
+       <classpath>            
+         <pathelement location="${lib}/tritonus_share.jar"/>
+         <pathelement location="${lib}/basicplayer3.0.jar"/>
