--- graphmonkey-1.7.orig/debian/menu
+++ graphmonkey-1.7/debian/menu
@@ -0,0 +1,2 @@
+?package(graphmonkey):needs="X11" section="Applications/Science/Mathematics"\
+  title="graphmonkey" command="/usr/bin/graphmonkey"
--- graphmonkey-1.7.orig/debian/control
+++ graphmonkey-1.7/debian/control
@@ -0,0 +1,24 @@
+Source: graphmonkey
+Section: math
+Priority: optional
+Maintainer: Debian CLI Applications Team <pkg-cli-apps-team@lists.alioth.debian.org>
+Uploaders: Iain Lane <laney@ubuntu.com>
+Build-Depends: debhelper (>= 4.0.0),
+               quilt
+Build-Depends-Indep: cli-common-dev (>= 0.4.4),
+                     mono-devel (>= 2.4.3), 
+                     libglade2.0-cil-dev,
+                     libglib2.0-cil-dev,
+                     libgtk2.0-cil-dev,
+                     pkg-config
+Standards-Version: 3.8.3
+Homepage: http://graphmonkey.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-cli-apps/packages/graphmonkey/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/
+
+Package: graphmonkey
+Architecture: all
+Depends: ${misc:Depends}, ${cli:Depends}
+Description: a GTK#-based graphing calculator
+ GraphMonkey is a GTK#-based graphic calculator. It uses a simple interface to
+ draw curves.
--- graphmonkey-1.7.orig/debian/README.Debian
+++ graphmonkey-1.7/debian/README.Debian
@@ -0,0 +1,6 @@
+graphmonkey for Debian
+----------------------
+
+The install directories have been changed from the upstream version.
+
+ -- Benjamin Seidenberg <astronut@gmail.com>, Mon,  4 Jul 2005 17:01:40 -0400
--- graphmonkey-1.7.orig/debian/compat
+++ graphmonkey-1.7/debian/compat
@@ -0,0 +1 @@
+5
--- graphmonkey-1.7.orig/debian/manpages
+++ graphmonkey-1.7/debian/manpages
@@ -0,0 +1 @@
+debian/graphmonkey.1
--- graphmonkey-1.7.orig/debian/rules
+++ graphmonkey-1.7/debian/rules
@@ -0,0 +1,99 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/quilt/quilt.make
+
+VERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2)
+UPVERSION = $(shell echo $(VERSION) | sed 's,-.*,,' | sed 's,+dfsg.*,,') 
+
+export MONO_SHARED_DIR=$(CURDIR)
+CFLAGS = -Wall -g
+INSTALL = /usr/bin/install
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+configure: configure-stamp
+configure-stamp: $(QUILT_STAMPFN)
+	dh_testdir
+
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp patch
+build-stamp: configure-stamp 
+	dh_testdir
+
+	# Add here commands to compile the package.
+	$(MAKE) CC=mono-csc
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	$(MAKE) clean
+
+	rm -rf $((CURDIR)/.wapi/
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	# Add here commands to install the package into debian/graphmonkey.
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/graphmonkey
+	chmod 755 $(CURDIR)/debian/graphmonkey/usr/lib/graphmonkey/GraphMonkey.exe
+
+	$(INSTALL) -D $(CURDIR)/debian/graphmonkey.desktop $(CURDIR)/debian/graphmonkey/usr/share/applications/graphmonkey.desktop
+	$(INSTALL) -D $(CURDIR)/pixmaps/gm.png $(CURDIR)/debian/graphmonkey/usr/share/pixmaps/graphmonkey.png
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installman
+	dh_installmenu
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_makeclilibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_clideps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+get-orig-source:
+	[ -d ../tarballs ] || mkdir ../tarballs
+	uscan \
+		--force-download \
+		--download-version $(UPVERSION) \
+		--rename \
+		--destdir ../tarballs
+
+binary: binary-indep
+.PHONY: build clean binary-indep binary-arch binary install configure
--- graphmonkey-1.7.orig/debian/graphmonkey.desktop
+++ graphmonkey-1.7/debian/graphmonkey.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Graphmonkey
+Comment=Draw mathematical graphs/curves
+Exec=graphmonkey
+Icon=graphmonkey
+Terminal=false
+Type=Application
+Categories=Education;
+StartupNotify=true
+
--- graphmonkey-1.7.orig/debian/graphmonkey.1
+++ graphmonkey-1.7/debian/graphmonkey.1
@@ -0,0 +1,90 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH GRAPHMONKEY 1 "June  13, 2008"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+graphmonkey \- Mono based graph drawing application
+.SH SYNOPSIS
+.B graphmonkey
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B graphmonkey
+command.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBgraphmonkey\fP is a Mono based graph drawing application.
+.br
+
+The following symbols are available:
+.br	
+	+ , -, *, /
+.br
+	square roots : sqrt()
+.br
+	powers square : ^
+.br
+	brackets
+.br	
+	sine : sin()
+.br
+	cosine : cos()
+.br
+	tangent : tan()
+.br
+	arcsine : asin()
+.br
+	arccosine : acos()
+.br
+	arctangent : atan()
+.br
+	hyperbolic sine : sinh()
+.br
+	hyperbolic cosine : cosh()
+.br
+	hyperbolic tangent : tan()
+.br
+	natural logarithm : ln()
+.br
+	base 10 logarithm : log()
+.br
+	exponential : exp()
+.br
+	absolute value : abs()
+.br
+	greatest integer : int()
+.sp 2
+It is also possible to modify the range.
+
+.br
+For example, you can try: 
+.br
+sin(x)*x
+.br
+(sqrt(x)+5)*3
+.br
+2.3233^5*(x/cos(x))
+.br
+NOTE: replace "."  by "," if you use "," for decimal values in your country
+
+.SH AUTHOR
+graphmonkey was written by Bellabes Lounis <nolius@users.sourceforge.net>.
+.PP
+.ad l
+This manual page was written by Benjamin Seidenberg <astronut@gmail.com>,
+for the Debian project (but may be used by others).
--- graphmonkey-1.7.orig/debian/watch
+++ graphmonkey-1.7/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://sf.net/graphmonkey/GraphMonkey-(.*)-src\.tar\.gz
+
--- graphmonkey-1.7.orig/debian/changelog
+++ graphmonkey-1.7/debian/changelog
@@ -0,0 +1,126 @@
+graphmonkey (1.7-2) unstable; urgency=low
+
+  * debian/control,
+    debian/rules:
+    + Use mono-csc from mono-devel 2.4.3 (Closes: #562330)
+  * debian/control:
+    + No-change bump to Standards 3.8.3
+    + Use GTK#-s -cil-dev packages
+  * debian/rules,
+    debian/graphmonkey.desktop:
+    + Include a .desktop entry with an icon - thanks to David Futcher 
+      (Closes: #561030)
+  * debian/graphmonkey.1:
+    + Update manpage - thanks to David Futcher (Closes: #561032)
+  * debian/copyright:
+    + Fix dates in copyright - thanks to David Futcher (Closes: #561031)
+
+ -- Jo Shields <directhex@apebox.org>  Wed, 06 Jan 2010 15:40:45 +0000
+
+graphmonkey (1.7-1) unstable; urgency=low
+
+  * New upstream release (Closes: #467492)
+  * debian/control:
+    + Bump standards to 3.8.1 (no changes)
+  * debian/watch:
+    + Create watch file
+
+ -- Jo Shields <directhex@apebox.org>  Fri, 01 May 2009 15:04:49 +0100
+
+graphmonkey (1.6-2) unstable; urgency=low
+
+  * Adopt for pkg-cli-apps team (Closes: #513630), add VCS info to control
+  * debian/watch: Add
+  * debian/rules:
+    + Add get-orig source target
+    + Fix make-clean-error lintian warning
+  * Use quilt for patching instead of directly in diff. Modify patch to
+    install in /usr/lib/graphmonkey per CLI policy.
+  * Update for Mono 2.0 transition, thanks to James Westby (Closes: #510044)
+  * Bump standards-version to 3.8.0, move Homepage field  
+
+ -- Iain Lane <laney@ubuntu.com>  Sun, 01 Feb 2009 14:34:37 +0000
+
+graphmonkey (1.6-1) unstable; urgency=low
+
+  * New upstream release
+  * New maintainer address
+
+ -- Benjamin Seidenberg <benjamin@debian.org>  Wed, 18 Oct 2006 22:21:27 -0400
+
+graphmonkey (1.5-6) unstable; urgency=low
+
+  * Change build depend from cli-common to cli-common-dev due to package
+    rename. (Thanks to Andreas Jochens <aj@andaco.de>, Closes: #392121) 
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Tue, 10 Oct 2006 23:49:29 -0400
+
+graphmonkey (1.5-5) unstable; urgency=low
+
+  * Use gtk#2 instead of gtk#1 (Thanks to Sebastian Dröge <slomo@ubuntu.com>)
+  * Bump Standards-Version to 3.7.2 (No changes needed)
+  * Add binary-arch target (does nothing) to debian/rules to comply with
+    policy
+  * Debhelper should be a Build-Depends not Build-Depends-Indep to comply w/
+    policy.
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Wed, 31 May 2006 23:28:53 -0400
+
+graphmonkey (1.5-4) unstable; urgency=low
+
+  * Actually install menu entry (added dh_installmenu) 
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Tue, 18 Apr 2006 14:18:52 -0400
+
+graphmonkey (1.5-3) unstable; urgency=low
+
+  * Change from Arch: any to Arch: all since we have no native code (Closes:
+    #356903)
+  * Make package description more concise
+  * Add linda override for GraphMonkey.exe being 755.
+  * Remove ${shlibs:Depends} since we don't have any ELF output
+  * Updated README.Debian
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Sun, 19 Mar 2006 15:52:19 -0500
+
+graphmonkey (1.5-2) unstable; urgency=low
+
+  * Fix critical problem, somehow /usr/bin/graphmonkey got reverted to
+    upstream's copy, breaking execution via path environment.
+    Put patched copy back. 
+  * Fixed Homepage: field in debian/control
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Fri, 24 Feb 2006 16:34:52 -0500
+
+graphmonkey (1.5-1) unstable; urgency=low
+
+  * New Upstream release
+  * Much saner .orig.tar.gz, redid some packaging to match
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Sat, 18 Feb 2006 22:05:45 -0500
+
+graphmonkey (1.3-3) unstable; urgency=low
+
+  * Fixed several things for CLI Policy compliance
+  * debian/control: Fixed Build-Deps, used dh_clideps
+  * debian/rules: Added dh_clideps magic, fixed perms on .exe
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Mon, 26 Sep 2005 16:23:24 -0400
+
+graphmonkey (1.3-2) unstable; urgency=low
+
+  * Added MONO_SHARED_DIR to debian/rules to prevent file creation out of tree
+    Closes: #324394
+  * Fixed debian/copyright by adding date
+  * New email address
+
+ -- Benjamin Seidenberg <astronut@dlgeek.net>  Sun, 21 Aug 2005 20:34:27 -0400
+
+graphmonkey (1.3-1) unstable; urgency=low
+
+  * Initial release Closes: #311951
+  * Adjusted makefile and launch script to move program out of /usr/local
+  * Changed permissions of win32 binary to meet debian policy
+
+ -- Benjamin Seidenberg <astronut@gmail.com>  Mon,  4 Jul 2005 17:01:40 -0400
+
--- graphmonkey-1.7.orig/debian/docs
+++ graphmonkey-1.7/debian/docs
@@ -0,0 +1 @@
+HELP
--- graphmonkey-1.7.orig/debian/copyright
+++ graphmonkey-1.7/debian/copyright
@@ -0,0 +1,27 @@
+This package was debianized by Benjamin Seidenberg <astronut@gmail.com> on
+Mon,  4 Jul 2005 17:01:40 -0400.
+
+It was downloaded from http://sourceforge.net/projects/graphmonkey/
+
+Copyright (C) 2004-2006 Bellabes Lounis <nolius@users.sourceforge.net>
+
+License:
+
+   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; 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 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'.
+
--- graphmonkey-1.7.orig/debian/patches/series
+++ graphmonkey-1.7/debian/patches/series
@@ -0,0 +1 @@
+correct-location
--- graphmonkey-1.7.orig/debian/patches/correct-location
+++ graphmonkey-1.7/debian/patches/correct-location
@@ -0,0 +1,27 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,5 @@
+ CC=mcs
+ EXEC=GraphMonkey.exe
+-SHARE=/usr/local/share
+-BIN=/usr/local/bin
+ 
+ all: 
+ 	$(CC) -target:exe -out:"$(EXEC)" -pkg:gtk-sharp-2.0  ./Main.cs ./MyWindow.cs ./Ecran_Form.cs ./operation.cs ./About_Form.cs
+@@ -10,6 +8,7 @@
+ 	rm -rf $(EXEC)
+ 
+ install:
+-	mkdir -p $(SHARE)/graphmonkey
+-	cp -f $(EXEC) $(SHARE)/graphmonkey
+-	cp -f graphmonkey $(BIN)
++	mkdir -p $(DESTDIR)/usr/lib/graphmonkey
++	cp $(EXEC) $(DESTDIR)/usr/lib/graphmonkey/
++	mkdir -p $(DESTDIR)/usr/bin
++	cp graphmonkey $(DESTDIR)/usr/bin/
+--- a/graphmonkey
++++ b/graphmonkey
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-mono /usr/local/share/graphmonkey/GraphMonkey.exe
++mono /usr/lib/graphmonkey/GraphMonkey.exe
