--- grun-0.9.3.orig/debian/dirs
+++ grun-0.9.3/debian/dirs
@@ -0,0 +1,4 @@
+usr/bin
+usr/share/doc/grun
+usr/share/man/man1
+usr/share/locale
--- grun-0.9.3.orig/debian/docs
+++ grun-0.9.3/debian/docs
@@ -0,0 +1,4 @@
+BUGS
+NEWS
+README
+TODO
--- grun-0.9.3.orig/debian/menu
+++ grun-0.9.3/debian/menu
@@ -0,0 +1,3 @@
+?package(grun):needs="X11" section="Applications/File Management"\
+  title="grun" icon="/usr/share/pixmaps/grun.xpm"\
+  command="/usr/bin/grun"
--- grun-0.9.3.orig/debian/control
+++ grun-0.9.3/debian/control
@@ -0,0 +1,32 @@
+Source: grun
+Section: x11
+Priority: optional
+Maintainer: Luis Rodrigo Gallardo Cruz <rodrigo@debian.org>
+Build-Depends: debhelper (>> 5.0.0), autotools-dev, libgtk2.0-dev, gettext
+Build-Conflicts: libgtk1.2-dev
+Standards-Version: 3.7.3
+Homepage: http://grun.googlecode.com/
+
+Package: grun
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: xterm | x-terminal-emulator
+Description: GTK based Run dialog
+ gRun is a GTK based Run dialog that closely resembles
+ the Windows Run dialog, just like xexec. It has a
+ intelligent history mechanism and a dual level fork()
+ mechanism for launching the application in its own
+ process. gRun also has support for launching console
+ mode application in an XTerm as well as associations
+ for file types.
+ .
+ gRun is much more powerful than xexec, looks a lot
+ better, and has the big advantage that you can start
+ typing a command without having to mouse-click into
+ the text field.
+ .
+ gRun is especially useful if you do not use the
+ GNOME desktop which has a built-in run command, and
+ if you use a window-manager (e.g. IceWM) where you can
+ define a  keyboard shortcut (e.g. Alt-F2) for staring
+ gRun.
--- grun-0.9.3.orig/debian/rules
+++ grun-0.9.3/debian/rules
@@ -0,0 +1,91 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+    SYSTEM = --build $(DEB_HOST_GNU_TYPE)
+else
+    SYSTEM = --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+endif
+
+
+CFLAGS 		     = -Wall -g
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+  CFLAGS += -O0
+else
+  CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+
+	cp -f /usr/share/misc/config.sub config.sub
+	cp -f /usr/share/misc/config.guess config.guess
+
+	CFLAGS="$(CFLAGS)" ./configure $(SYSTEM) \
+		    --prefix=/usr --mandir=\$${prefix}/share/man \
+		    --infodir=\$${prefix}/share/info\
+	            --sysconfdir=/etc/grun --disable-maintainer-mode\
+	            --with-default-xterm=x-terminal-emulator --enable-testfile\
+		    --enable-associations
+
+	touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+
+	dh_clean config.sub config.guess
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/grun
+
+	install -d $(CURDIR)/debian/grun/usr/share/pixmaps
+	cp debian/grun.xpm $(CURDIR)/debian/grun/usr/share/pixmaps
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installmenu
+	dh_installchangelogs ChangeLog
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--- grun-0.9.3.orig/debian/changelog
+++ grun-0.9.3/debian/changelog
@@ -0,0 +1,200 @@
+grun (0.9.3-1) unstable; urgency=low
+
+  * New maintainer. Many thanks to oohara for all his previous work.
+  * New upstream Release (Closes: #461171).
+   - Most Debian patches have been integrated upstream, so our diff is 
+    now contained within /debian.
+   - gassoc and consfile are now shipped in sysconfdir upstream, so
+    there's no longer a need to move them. Removed postinst and prerm 
+    snippets to symlink /usr/share/grun.
+   - Uses dynamic layout for widgets (Closes: #445466).
+  * Remove autoconf and automake1.7 from Build-depends, we don't need to
+    regenerate the build system anymore.
+  * Remove pkg-config from Build-depends, it's required by libgtk2.0-dev
+  anyways.
+  * Remove Conflicts: gnome-utils (<= 1.0.50-5). Even oldstable has 2.8.1-1.
+  * Remove tricks from debian/rules to regenerate *gmo files, and clean up
+   useless commented out commands.
+  * Move the menu entry to Applications/File Management, to comply with the new
+   menu policy.
+  * Update to debhelper compat mode 5, and upgrade the build-dependency
+   accordingly.
+  * Tweak debian/rules to use --host, --build, CFLAGS and LDFLAGS.
+  * Update to Standards-Version 3.7.3. No further changes needed.
+  
+ -- Luis Rodrigo Gallardo Cruz <rodrigo@debian.org>  Sun, 27 Jan 2008 00:19:36 -0600
+
+grun (0.9.2-14.1) unstable; urgency=low
+
+  * NMU.
+  * grun.c: Call bind_textdomain_codeset() to have gettext recode strings
+    to UTF-8. (Closes: #438704).
+  * po/*.po: Set ISO-8859-1 encoding headers.
+  * debian/rules: Remove po/*gmo files on configure, to force regenerating
+    with correct encoding headers.
+  
+ -- Luis Rodrigo Gallardo Cruz <rodrigo@nul-unu.com>  Mon, 24 Sep 2007 14:26:41 -0500
+
+grun (0.9.2-14) unstable; urgency=low
+
+  * grun.c: yet another fix of auto-completion (closes: #281334)
+    + removed the region selection in auto-completion; gtk assumes that
+      the cursor is always at the last of the selection if there is
+      any selection
+    + if the entire command is selected, if the cursor is at the last
+      of the selection and if the user types a new character, then
+      replace the entire command with that character, don't append it
+    + when searching for a directory, ignore "." and ".."
+    + the program respects the slash at the beginning of the command
+      when the user deletes a character as well as when he/she adds one
+  * debian/README.Debian: noted the assumptions of auto-completion
+  * grun.c: move the cursor first, then select the region
+
+ -- Oohara Yuuma <oohara@debian.org>  Tue,  7 Dec 2004 20:35:04 +0900
+
+grun (0.9.2-13) unstable; urgency=low
+
+  * grun.c: hope to fix the auto-completion
+    + now the completion is based on the position of the cursor,
+      not on the number of key-typing
+    + If the first character of the command is not a slash, the program
+      searches the history, then searches the PATH.  This may be a problem
+      if a command in the history has command line options, but I can't
+      help it because the program should not assume that the command itself
+      has no space character in its name.  Note that an explicit completion
+      by the TAB key is an exception and it does not search the history.
+    + if the user added a new character to the command and if it is the first
+      character that does not match any executable, then discard the result
+      of the previous auto-completion
+  * debian/menu: quoted strings
+  * grun.1x: escaped hyphens
+  * debian/control: added xterm to Suggests: as an example of
+    x-terminal-emulator
+
+ -- Oohara Yuuma <oohara@debian.org>  Mon,  6 Dec 2004 00:13:34 +0900
+
+grun (0.9.2-12) unstable; urgency=low
+
+  * grun.c: disabled the window icon to avoid the segfault problem
+    (closes: #252186)
+  * grun.c: added the declaration of functions
+
+ -- Oohara Yuuma <oohara@debian.org>  Thu,  3 Jun 2004 09:51:46 +0900
+
+grun (0.9.2-11) unstable; urgency=low
+
+  * grun.c: changed the behavior of ESC; now it is "cancel" instead of
+    auto-complete (thanks to Tollef Fog Heen <tfheen@raw.no> for the
+    reverse patch) (closes: #200131)
+  * debian/README.Debian: new file, documented the ESC change
+  * debian/rules: dropped DEB_BUILD_OPTIONS debug and added noopt
+  * debian/control: set Standards-Version: to 3.5.10
+  * debian/control: added upstream webpage URL, which is completely useless
+    because it is dead but anyway
+
+ -- Oohara Yuuma <oohara@debian.org>  Mon,  7 Jul 2003 23:09:04 +0900
+
+grun (0.9.2-10) unstable; urgency=low
+
+  * rebuild for gtk 2.0 (thanks to Tollef Fog Heen <tfheen@raw.no>
+    and Josip Rodin <joy@srce.hr> for help) (closes: #190097)
+  * debian/control: Build-Depends: libgtk2.0-dev and automake1.7
+  * debian/control: Build-Conflicts: libgtk1.2-dev because dpkg happily
+    installs both libgtk1.2-dev and libgtk2.0-dev at the same time
+  * debian/conffiles: removed because all the conffiles are in /etc,
+    which is handled by debhelper
+  * debian/control: Build-Depends: debhelper (>> 4.0.0) for automatic
+    conffile marking
+  * configure.in: uses AM_PATH_GTK_2_0 instead of AM_PATH_GTK
+  * debian/rules: updates config.{guess,sub} on clean
+  * debian/control: Build-Depends: pkg-config because ./configure calls it
+  * aclocal.m4, configure: regenerated
+  * configure.in: no longer overwrites po/Makefile with ./configure
+    default commands
+  * debian/copyright: there is only one upstream author
+  * debian/rules: removes config.log on clean
+  * debian/grun.xpm: regenerated with the following imagemagick command:
+    mogrify -format xpm -geometry 32x32 -map \
+      /usr/X11R6/include/X11/pixmaps/cmap.xpm grun2.xpm
+
+ -- Oohara Yuuma <oohara@debian.org>  Mon, 23 Jun 2003 21:38:22 +0900
+
+grun (0.9.2-9) unstable; urgency=low
+
+  * new maintainer
+  * adopting an orphaned package (closes: #131205)
+  * grun.c: added cast to strsep(), declared the return value of main()
+    as int and added dummy return to main() to avoid gcc warnings
+  * grun.c: added #include <locale.h> so that it can build without gcc
+    -O2 flag (LC_ALL must be defined)
+  * Makefile.am: added CFLAGS to build without gcc -g flag by default
+  * Makefile.am, debian/rules: added DEB_BUILD_OPTIONS "debug" and
+    "nostrip" support
+  * grun.c: added #include <string.h> and removed cnt from main() to
+    avoid gcc -Wall warnings
+  * debian/control: added gettext to Build-Depends:
+  * consfile: added many commands
+  * gassoc: removed comments because they are not allowed
+  * grun.c: fixed search path for the global configuration files
+  * gassoc: s/gnome-gv/gv/, s/gedit/sensible-editor/
+
+ -- Oohara Yuuma <oohara@debian.org>  Sat, 23 Feb 2002 02:57:47 +0900
+
+grun (0.9.2-8) unstable; urgency=low
+
+  * Setting maintainer to Debian QA, orphaning the package
+
+ -- Gustavo Noronha Silva <kov@debian.org>  Sun, 27 Jan 2002 23:38:55 -0200
+
+grun (0.9.2-7) unstable; urgency=low
+
+  * debian/control: Minor corrections to the packages description
+    thanks to Matt Zimmerman.
+  
+ -- Gustavo Noronha Silva <kov@debian.org>  Fri, 23 Nov 2001 12:15:24 -0200
+
+grun (0.9.2-6) unstable; urgency=low
+
+  * copyright: debianized by me =)
+  * rules: changed to DH_COMPAT 3
+
+ -- Gustavo Noronha Silva <kov@debian.org>  Sun,  1 Jul 2001 11:53:04 -0300
+
+grun (0.9.2-5) unstable; urgency=low
+
+  * Rebuild with dpkg-dev version 1.9.14.1 (hope this helps as I couldn't
+  find 1.9.10 on the archive)
+
+ -- Gustavo Noronha Silva <kov@debian.org>  Sat, 30 Jun 2001 03:45:33 -0300
+
+grun (0.9.2-4) unstable; urgency=low
+
+  * menu: Added icon to menu
+  * debian/grun.xpm: the icon =) it is installed in /usr/share/pixmaps
+
+ -- Gustavo Noronha Silva <kov@debian.org>  Mon, 25 Jun 2001 23:02:32 -0300
+
+grun (0.9.2-3) unstable; urgency=low
+
+  * New Maintainer
+
+ -- Gustavo Noronha Silva <kov@debian.org>  Sat,  9 Jun 2001 14:42:38 -0300
+
+grun (0.9.2-2) unstable; urgency=low
+
+  * Added a conflicts entry in control to fix a package overlap with the
+    gnome-utils package in Debian testing; closes: #90319 
+  * Moved section from misc to x11 to fix override disparity.
+  * Corrected a typo in copyright file.
+  * Removed call of deprecated dh_testversion in rules.
+
+ -- Dr. Guenter Bechly <gbechly@debian.org>  Mon, 26 Mar 2001 17:50:26 +0200
+
+grun (0.9.2-1) unstable; urgency=low
+
+  * Initial Release; closes: #88330.
+  * Modified the files gassoc and consfile.
+
+ -- Dr. Guenter Bechly <gbechly@debian.org>  Sat,  3 Mar 2001 11:19:48 +0100
+
+
--- grun-0.9.3.orig/debian/grun.xpm
+++ grun-0.9.3/debian/grun.xpm
@@ -0,0 +1,61 @@
+/* XPM */
+static char *grun[] = {
+/* columns rows colors chars-per-pixel */
+"32 32 23 1",
+"  c black",
+". c #191919",
+"X c gray20",
+"o c #00007f",
+"O c #007f00",
+"+ c #007f7f",
+"@ c #7f0000",
+"# c #7f007f",
+"$ c #7f7f00",
+"% c #4c4c4c",
+"& c #666667",
+"* c gray50",
+"= c blue",
+"- c green",
+"; c cyan",
+": c red",
+"> c magenta",
+", c yellow",
+"< c gray60",
+"1 c #b2b2b2",
+"2 c gray80",
+"3 c gray90",
+"4 c white",
+/* pixels */
+"X%O&&$&OX%O*-*&O&X%$$$@$&:$:**::",
+"%%&+&+..O%&O%--%O%X%&@*:#$:*$:#<",
+"O&%&X .XOXO+&$+O%O%*$*:*$:$#*:<:",
+"+%OX.XXOO*221-O&OX$1*&**#*<::<#<",
+"+&X.XX.O142,$+$+%O<3*&###*:<<:1#",
+"%O..O.X131&++&+O%X11*&***#<##<:<",
+"O..XXO+41+&+&+*X+%31+*+<#<<*:*>*",
+"X.O.XO13*++*-*+&X<3<&&<=#<#*<*>*",
+"..OX+*31-+*+&+*++<1==#=*<<1<***#",
+".OXXO23*+*+*+XXX%X+*<<1<><=<<><1",
+"XO.O+31***<+....o.o*<<=1<;#<;<<=",
+"O&O+-2<<++*+Xo%+#++1=<<1<<11<<11",
+"XOX+13<-<<++o&%#=131=21;1<<<<<=1",
+"O&X-11<;<;<*.&o+<3211111;<<<<<;1",
+"%-X*-1<1<<;&.o%&131<=21<11<;121<",
+"O*%O11+11<1%o%X=132=<;1<1;<1;=<;",
+"O*&O-<**111X%#%=21<=<<<;1<1;<1;<",
+"O-<O<<<++Xo.+%o<21<2<1<<;<1==11=",
+"*$*<*+*<&X%##oo242<<=2<1<=1<1==1",
+"-<O&1<***&&&=<143=1=<1;1<<1;;<1=",
+"1-<%&1<<<=111124<=&<=<*<<****<*=",
+",<&.%1111<<112>=X.....o.o oX#==<",
+",<X.&&<<**<<<=<ooXo=+o*&&%%o=*<+",
+"$<O%*X*<%#2=%&=<*o&<<#o<<o%&21=+",
+"<<%X*%<22<><o#=>#.<<<&o**<o*3*+o",
+"$<%X&@132***o<<<Xo>=<%%<<*.*3*%&",
+"<$X@%@331#%#%<>#o&**#o$1<&o<2+%o",
+"$&.%X*31<X%%#1<##*><*%*<<oX31%%%",
+"&%.#@131*@#%#2><#<>*%%<<*.&<*%XO",
+"#..X%32<*.&@<:<#&<<<.&<*$X%*%XXX",
+"&@X%<3<>#X*@><1<#:1*$<3<%X&1&XXX",
+"#%@#131:<#:<>1>22111<22&&$12OXO."
+};
--- grun-0.9.3.orig/debian/compat
+++ grun-0.9.3/debian/compat
@@ -0,0 +1 @@
+5
\ No newline at end of file
--- grun-0.9.3.orig/debian/README.Debian
+++ grun-0.9.3/debian/README.Debian
@@ -0,0 +1,20 @@
+grun for Debian
+---------------
+
+The auto-completion of grun assumes that:
+  * The entire input is the name of a command; the auto-completion of grun
+    can't handle the arguments of a command correctly.  Note that executing
+    a command with arguments works as long as the arguments are separated
+    by a space and the name of the command does not contain any space
+    (which is another wrong assumption).
+  * Every character of the input is 1-byte character.  I don't know how to
+    fix this; multibyte-character handling is too much for me and all
+    commands that are currently known use only 1-byte characters in
+    their name anyway.
+
+ -- Oohara Yuuma <oohara@debian.org>  Tue,  7 Dec 2004 07:25:04 +0900
+
+The behavior of ESC is changed for consistency; it is "cancel",
+not auto-complete.
+
+ -- Oohara Yuuma <oohara@debian.org>  Mon,  7 Jul 2003 22:49:43 +0900
--- grun-0.9.3.orig/debian/copyright
+++ grun-0.9.3/debian/copyright
@@ -0,0 +1,15 @@
+This package was debianized by Gustavo Noronha Silva <kov@debian.org> on
+Sat,  1 Jul 2001 11:19:48 -0300.
+
+It was downloaded from http://www.geocities.com/ResearchTriangle/Facility/1468/sg/grun-0.9.2.tar.gz
+
+Upstream Author: Bruce Smith <tangomanrulz@geocities.com>
+
+Copyright: GPL
+
+This software is copyright (c) by Bruce Smith
+
+You are free to distribute this software under the terms of
+the GNU General Public Licence.
+On Debian systems, the complete text of the GNU General Public
+Licence can be found in /usr/share/common-licenses/GPL file.
