--- ewipe-1.2.0.orig/ewipe
+++ ewipe-1.2.0/ewipe
@@ -27,7 +27,7 @@
 #     set PATH /usr/local/lib/ewipe               #
 #                                                 #
 
-set PATH .
+set PATH /usr/lib/ewipe
 
 ###################################################
 
@@ -45,6 +45,12 @@
     exit
 }
 
+# enabling kanji handling (Tcl 8.3 or later)
+if {[info tclversion] > 8.2} {
+     proc kanji {args} {}
+     tk useinputmethods 1
+}
+
 # check arguments for ewipe
 
 proc argvcheck {} {
--- ewipe-1.2.0.orig/debian/docs
+++ ewipe-1.2.0/debian/docs
@@ -0,0 +1,4 @@
+README
+README.jp
+sample
+dot.ewipe
--- ewipe-1.2.0.orig/debian/compat
+++ ewipe-1.2.0/debian/compat
@@ -0,0 +1 @@
+4
--- ewipe-1.2.0.orig/debian/dirs
+++ ewipe-1.2.0/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib/ewipe
--- ewipe-1.2.0.orig/debian/menu
+++ ewipe-1.2.0/debian/menu
@@ -0,0 +1,2 @@
+?package(ewipe):needs="X11" section="Applications/Graphics"\
+  title="EWIPE" command="/usr/bin/ewipe"
--- ewipe-1.2.0.orig/debian/copyright
+++ ewipe-1.2.0/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Masayuki Hatta <mhatta@debian.or.jp> on
+Wed, 15 Dec 1999 21:58:23 +0900.
+
+It was downloaded from http://www.jnet-jp.to/~sekisita/ewipe/
+
+Upstream Author: Hiromasa Sekishita <sekisita@jnet-jp.to>
+
+Copyright: Copyright (c) 1997- Hiromasa Sekishita, All Rights
+Reserved. 
+
+   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 St, 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'.
--- ewipe-1.2.0.orig/debian/changelog
+++ ewipe-1.2.0/debian/changelog
@@ -0,0 +1,98 @@
+ewipe (1.2.0-8.4.201403221447) ucs4-0-0-0; urgency=low
+
+  * UCS auto build. No patches were applied to the original source package
+
+ -- Univention builddaemon <buildd@univention.de>  Sat, 22 Mar 2014 14:47:36 +0100
+
+ewipe (1.2.0-8) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.8.0.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat, 19 Jul 2008 15:07:37 +0900
+
+ewipe (1.2.0-7) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.7.3.
+  * Fixed various lintian warnings.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Fri, 07 Dec 2007 05:00:27 +0900
+
+ewipe (1.2.0-6) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.7.2.
+  * Updated FSF's address.
+  * Quoted items in menu.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat, 14 Oct 2006 12:31:04 +0900
+
+ewipe (1.2.0-5) unstable; urgency=low
+
+  * [control] changed Maintainer field.
+  * Bumped to Standards-Version: 3.6.1.
+  * Removed watch.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Sat, 14 Feb 2004 17:34:16 +0900
+
+ewipe (1.2.0-4) unstable; urgency=low
+
+  * Updated to Standards-Version: 3.5.2.
+  * Added Build-Depends: debhelper.
+  * Added Depends: tk8.3.
+  * Added kanji handling code for Tcl 8.3 or later.
+
+ -- Masayuki Hatta <mhatta@debian.org>  Sun, 10 Jun 2001 13:03:21 +0900
+
+ewipe (1.2.0-3) unstable; urgency=low
+
+  * New Debian Maintainer Upload.  I'd like to thank my sponsor and AM 
+    Fumitoshi UKAI <ukai@debian.org>.
+  * Revised Description.
+
+ -- Masayuki Hatta <mhatta@debian.org>  Mon,  9 Oct 2000 10:52:50 +0900
+
+ewipe (1.2.0-2) unstable; urgency=low
+
+  * Modified ewipe (set PATH /usr/lib/ewipe).
+
+ -- Masayuki Hatta <mhatta@debian.or.jp>  Sun,  9 Apr 2000 11:27:08 +0900
+
+ewipe (1.2.0-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Masayuki Hatta <mhatta@debian.or.jp>  Tue, 28 Mar 2000 23:42:41 +0900
+
+ewipe (1.1.4-1) unstable; urgency=low
+
+  * Initial Release for Debian Project.
+
+ -- Masayuki Hatta <mhatta@debian.or.jp>  Fri, 11 Feb 2000 21:36:50 +0900
+
+ewipe (1.1.4-0.2) unstable; urgency=low
+
+  * Added ewp2mgp.tcl.
+
+ -- Masayuki Hatta <mhatta@debian.or.jp>  Sun, 30 Jan 2000 09:09:00 +0900
+
+ewipe (1.1.4-0.1) unstable; urgency=low
+
+  * New upstream release
+  * Added tutorial.en.ewp
+  
+ -- Masayuki Hatta <mhatta@debian.or.jp>  Mon,  3 Jan 2000 19:27:42 +0900
+
+ewipe (1.1.3-0.2) unstable; urgency=low
+
+  * Deleted README.Debian.
+
+ -- Masayuki Hatta <mhatta@debian.or.jp>  Thu, 16 Dec 1999 00:30:23 +0900
+
+ewipe (1.1.3-0.1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Masayuki Hatta <mhatta@debian.or.jp>  Wed, 15 Dec 1999 21:58:23 +0900
+
+Local variables:
+mode: debian-changelog
+End:
--- ewipe-1.2.0.orig/debian/control
+++ ewipe-1.2.0/debian/control
@@ -0,0 +1,15 @@
+Source: ewipe
+Section: x11
+Priority: optional
+Maintainer: Masayuki Hatta (mhatta) <mhatta@debian.org>
+Standards-Version: 3.8.0
+Build-Depends: debhelper (>> 4.0.0)
+
+Package: ewipe
+Architecture: any
+Depends: tk8.5 | wish
+Description: Yet another presentation tool based on Tcl/Tk
+ Extended WIPE is a presentation tool written in Tcl/Tk.
+ Unlike MagicPoint, the de facto standard in this realm,
+ you can create resumes for presentation with user-friendly GUI, 
+ then save manuscripts in HTML and mgp(Magic Point file format).
--- ewipe-1.2.0.orig/debian/rules
+++ ewipe-1.2.0/debian/rules
@@ -0,0 +1,75 @@
+#!/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
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	#$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	[ ! -f Makefile ] || $(MAKE) clean
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/ewipe.
+	#$(MAKE) install DESTDIR=`pwd`/debian/ewipe
+	install -m 755 ewipe `pwd`/debian/ewipe/usr/bin
+	install -m 644 definefont.tcl `pwd`/debian/ewipe/usr/lib/ewipe
+	install -m 644 edittable.tcl `pwd`/debian/ewipe/usr/lib/ewipe
+	install -m 644 setpointer.tcl `pwd`/debian/ewipe/usr/lib/ewipe
+	install -m 644 viewer.tcl `pwd`/debian/ewipe/usr/lib/ewipe
+	install -m 644 tclIndex `pwd`/debian/ewipe/usr/lib/ewipe
+
+# 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_testversion
+	dh_testdir
+	dh_testroot
+#	dh_installdebconf	
+	dh_installdocs
+	dh_installexamples dot.ewipe
+	dh_installmenu
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installinit
+	dh_installcron
+	dh_installmanpages
+	dh_installinfo
+	dh_installchangelogs Changes.jp
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_makeshlibs
+	dh_installdeb
+#	dh_perl
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
