--- filelight-1.0.orig/misc/filelight.desktop
+++ filelight-1.0/misc/filelight.desktop
@@ -3,7 +3,7 @@
 Encoding=UTF-8
 Name=Filelight
 Name[xx]=xxFilelightxx
-Generic Name=Disk Usage Statistics
+GenericName=Disk Usage Statistics
 Type=Application
 Exec=filelight %f
 Icon=filelight.png
--- filelight-1.0.orig/debian/conffiles
+++ filelight-1.0/debian/conffiles
@@ -0,0 +1 @@
+/etc/kde3/filelightrc
--- filelight-1.0.orig/debian/rules
+++ filelight-1.0/debian/rules
@@ -0,0 +1,79 @@
+#!/usr/bin/make -f
+# debian/rules file - for filelight (1.0-beta6)
+# Based on sample debian/rules file - for GNU Hello (1.3).
+# Copyright 1994,1995 by Ian Jackson.
+# Copyright 2004 James Troup
+# I hereby give you perpetual unlimited permission to copy,
+# modify and relicense this file, provided that you do not remove
+# my name from the file itself.  (I assert my moral right of
+# paternity under the Copyright, Designs and Patents Act 1988.)
+# This file may have to be extensively modified
+
+install_dir=install -d -m 755
+install_file=install -m 644
+install_script=install -m 755
+install_binary=install -m 755 -s
+STRIP=strip --remove-section=.comment --remove-section=.note
+
+build:
+	$(checkdir)
+	./configure --prefix=/usr --disable-debug
+	$(MAKE)
+	touch build
+
+clean:
+	$(checkdir)
+	-rm -f build
+	-$(MAKE) -i distclean || $(MAKE) -f Makefile.in distclean
+	-rm -rf debian/tmp debian/*~ debian/files* debian/substvars
+	-rm -fr autom4te.cache config.log po/*.gmo
+
+binary-indep:
+
+binary-arch:	checkroot build
+	$(checkdir)
+	-rm -rf debian/tmp
+	$(install_dir) debian/tmp/DEBIAN/
+	$(install_file) debian/conffiles debian/tmp/DEBIAN/
+	$(install_script) debian/postinst debian/postrm debian/tmp/DEBIAN/
+
+	make prefix=`pwd`/debian/tmp/usr configdir=`pwd`/debian/tmp/etc/kde3 kde_htmldir=`pwd`/debian/tmp/usr/share/doc/kde/HTML install
+	$(STRIP) debian/tmp/usr/bin/filelight
+	chrpath -d debian/tmp/usr/bin/filelight
+
+	$(STRIP) --strip-unneeded debian/tmp/usr/lib/kde3/libfilelight.so
+	chmod -x debian/tmp/usr/lib/kde3/libfilelight.so debian/tmp/usr/lib/kde3/libfilelight.la
+	chrpath -d debian/tmp/usr/lib/kde3/libfilelight.so
+
+#	rm debian/tmp/usr/share/doc/kde/HTML/en/filelight/common
+#	ln -s ../common debian/tmp/usr/share/doc/kde/HTML/en/filelight/common
+
+	$(install_dir) debian/tmp/usr/share/menu/
+	$(install_file) debian/menu debian/tmp/usr/share/menu/filelight
+
+	$(install_dir) debian/tmp/usr/share/doc/filelight/
+	$(install_file) debian/changelog debian/tmp/usr/share/doc/filelight/changelog.Debian
+	$(install_file) AUTHORS README TODO debian/tmp/usr/share/doc/filelight/
+	install -m 644 ChangeLog debian/tmp/usr/share/doc/filelight/changelog
+	gzip -9v debian/tmp/usr/share/doc/filelight/*
+	install -m 644 debian/copyright debian/tmp/usr/share/doc/filelight/
+
+	dpkg-shlibdeps debian/tmp/usr/bin/filelight
+	dpkg-gencontrol -isp
+	chown -R root.root debian/tmp
+	chmod -R go=rX debian/tmp
+	dpkg --build debian/tmp ..
+
+define checkdir
+	test -f src/app/mainWindow.cpp -a -f debian/rules
+endef
+
+# Below here is fairly generic really
+
+binary: 	binary-indep binary-arch
+
+checkroot:
+	$(checkdir)
+	test root = "`whoami`"
+
+.PHONY: binary binary-arch binary-indep clean checkroot
--- filelight-1.0.orig/debian/copyright
+++ filelight-1.0/debian/copyright
@@ -0,0 +1,26 @@
+This is Debian GNU's prepackaged version of filelight, a program to
+show you where your diskspace is being used.
+
+It was downloaded from:
+
+   http://www.methylblue.com/filelight/#packages
+
+Upstream Author: Max Howell <max.howell@methylblue.com>
+
+Copyright:
+
+   This package 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; version 2 dated June, 1991.
+
+   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 General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- filelight-1.0.orig/debian/control
+++ filelight-1.0/debian/control
@@ -0,0 +1,14 @@
+Source: filelight
+Section: kde
+Priority: optional
+Maintainer: James Troup <james@nocrew.org>
+Standards-Version: 3.6.2.1
+Build-Depends: kdelibs4-dev, xutils, chrpath, autoconf, gettext
+
+Package: filelight
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: show where your diskspace is being used
+ Filelight allows you to understand exactly where your diskspace is
+ being used by graphically representing your filesystem as a set of
+ concentric segmented-rings.
--- filelight-1.0.orig/debian/menu
+++ filelight-1.0/debian/menu
@@ -0,0 +1,6 @@
+?package(filelight):needs="X11" \
+        section="Apps/System" \
+        hints="KDE, Monitoring, Files" \
+        command="/usr/bin/filelight" \
+        title="Filelight" \
+        longtitle="Filelight: disk usage as concentric rings"
--- filelight-1.0.orig/debian/postinst
+++ filelight-1.0/debian/postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+if [ -x /usr/bin/update-menus ]; then
+    update-menus
+fi
--- filelight-1.0.orig/debian/changelog
+++ filelight-1.0/debian/changelog
@@ -0,0 +1,65 @@
+filelight (1.0-1) unstable; urgency=low
+
+  * New upstream version. Closes: #393827, #354706, #404460, 
+    #255896, #256423, #341680, #343903, #356626
+
+  * Configure with --disable-debug. Closes: #307717, #343905, #408554
+
+  * Updated description. Closes: #363410
+
+ -- Pär Andersson <paran@lysator.liu.se>  Thu, 17 May 2007 02:46:34 +0200
+
+filelight (0.99beta6-1) unstable; urgency=low
+
+  * New upstream (beta) release. Closes: #304497
+   * Can delete files with spaces in the filename.  Closes: #265384
+
+  * Rebuilt for C++ transition.  Closes: #327002, #327231
+
+  * debian/rules (checkdir): update for source reorganization.
+  * debian/rules (binary-arch): deal with the new libfilelight.so.
+
+  * debian/menu: quote all strings (via lintian).
+  * debian/rules (binary-arch): install menu file to /usr/share/menu
+    rather than /usr/lib/menu (via lintian).
+  
+  * debian/control (Standards-Version): updated to 3.6.2.1.
+  * debian/copyright: update download location to be non-version specific.
+    Update FSF address (via lintian).
+
+  * debian/control (Build-Depends): add autoconf and gettext.
+
+  * src/part/radial/Makefile.am: add -fPIC to CFLAGS.
+  * src/part/radial/Makefile.in: add -fPIC to INCLUDES.  Copied from
+    Michael Vogt's Ubuntu change.  Not a good/proper long term solution,
+    but it'll compile at least.
+
+  * debian/rules (clean): also remove po/*.gmo, autom4te.cache and
+    config.log to keep diff.gz clean.
+
+ -- James Troup <james@nocrew.org>  Mon, 19 Sep 2005 01:43:42 +0100
+
+filelight (0.6.4.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+  * debian/menu: new file, provided by Justin B Rye <jbr@edlug.org.uk>.
+    Closes: #234301
+  * debian/postinst: call update-menus.
+  * debian/postrm: likewise.
+  * debian/rules: install menu file and postinst and postrm.
+  
+  * src/filelight.desktop: Patch from Christoffer Sawicki <qerub@home.se>
+    to fix typo (Generic Name -> GenericName).  Closes: #230670
+  
+  * debian/control: reword extended description to include 'disk usage' to
+    aid in searching with apt-cache as suggested by Remi Vanicat
+    <vanicat@debian.org>. Closes: #231060
+
+ -- James Troup <james@nocrew.org>  Mon, 23 Feb 2004 14:55:16 +0000
+
+filelight (0.6.3.1-1) unstable; urgency=low
+
+  * Initial Release.  Closes: #228812
+
+ -- James Troup <james@nocrew.org>  Wed, 21 Jan 2004 03:11:00 +0100
--- filelight-1.0.orig/debian/postrm
+++ filelight-1.0/debian/postrm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+if [ -x /usr/bin/update-menus ]; then
+    update-menus
+fi
