--- graphmonkey-1.3.orig/graphmonkey +++ graphmonkey-1.3/graphmonkey @@ -1,2 +1,2 @@ #!/bin/bash -mono /usr/local/bin/GraphMonkey.exe +mono /usr/share/graphmonkey/GraphMonkey.exe --- graphmonkey-1.3.orig/debian/README.Debian +++ graphmonkey-1.3/debian/README.Debian @@ -0,0 +1,6 @@ +graphmonkey for Debian +---------------------- + +Package requires mono and gtk-sharp. The install directories have been changed from the upstream version. + + -- Benjamin Seidenberg , Mon, 4 Jul 2005 17:01:40 -0400 --- graphmonkey-1.3.orig/debian/rules +++ graphmonkey-1.3/debian/rules @@ -0,0 +1,85 @@ +#!/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 + +export MONO_SHARED_DIR=$(CURDIR) +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #docbook-to-man debian/graphmonkey.sgml > graphmonkey.1 + + touch build-stamp + +clean: + 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/share/graphmonkey/GraphMonkey.exe + +# 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_installchangelogs + dh_installdocs + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeclilibs + dh_installdeb + dh_shlibdeps + dh_clideps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- graphmonkey-1.3.orig/debian/copyright +++ graphmonkey-1.3/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Benjamin Seidenberg on +Mon, 4 Jul 2005 17:01:40 -0400. + +It was downloaded from http://sourceforge.net/projects/graphmonkey/ + +Copyright (C) 2004 Bellabes Lounis + +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.3.orig/debian/compat +++ graphmonkey-1.3/debian/compat @@ -0,0 +1 @@ +4 --- graphmonkey-1.3.orig/debian/menu +++ graphmonkey-1.3/debian/menu @@ -0,0 +1,2 @@ +?package(graphmonkey):needs="X11" section="Apps/Math"\ + title="graphmonkey" command="/usr/bin/graphmonkey" --- graphmonkey-1.3.orig/debian/dirs +++ graphmonkey-1.3/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/ --- graphmonkey-1.3.orig/debian/manpages +++ graphmonkey-1.3/debian/manpages @@ -0,0 +1 @@ +debian/graphmonkey.1 --- graphmonkey-1.3.orig/debian/graphmonkey.1 +++ graphmonkey-1.3/debian/graphmonkey.1 @@ -0,0 +1,75 @@ +.\" 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 "July 4, 2005" +.\" 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 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\fP and +.\" \fI\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 + logarithm : log() +.br + exponential : exp() +.sp 2 +It is also possible to modify the range. + + + +.SH AUTHOR +graphmonkey was written by Bellabes Lounis . +.PP +.ad l +This manual page was written by Benjamin Seidenberg , +for the Debian project (but may be used by others). --- graphmonkey-1.3.orig/debian/docs +++ graphmonkey-1.3/debian/docs @@ -0,0 +1 @@ +HELP --- graphmonkey-1.3.orig/debian/control +++ graphmonkey-1.3/debian/control @@ -0,0 +1,22 @@ +Source: graphmonkey +Section: math +Priority: optional +Maintainer: Benjamin Seidenberg +Build-Depends: debhelper (>= 4.0.0), cli-common (>= 0.2.0), mono-mcs, libglade2.0-cil, libgtk2.0-cil, pkg-config +Standards-Version: 3.6.2 + +Package: graphmonkey +Architecture: all +Depends: ${shlibs: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. + . + This software is written in C# with GTK#.The goal is to obtain a very simple + and fast graphic calculator for mono. It's cross-platform: it works on + GNU/Linux and Windows. + . + The software is under the GPL license. + . + Homepage http://graphmonkey.sourceforge.net/ + --- graphmonkey-1.3.orig/debian/changelog +++ graphmonkey-1.3/debian/changelog @@ -0,0 +1,37 @@ +graphmonkey (1.3-3ubuntu2) dapper; urgency=low + + * Make it Architecture all... there's no reason to use any + + -- Sebastian Dröge Tue, 14 Mar 2006 17:44:43 +0100 + +graphmonkey (1.3-3ubuntu1) dapper; urgency=low + + * Use gtk#2 instead of gtk#1 + + -- Sebastian Dröge Tue, 14 Mar 2006 16:43:17 +0100 + +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 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 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 Mon, 4 Jul 2005 17:01:40 -0400 + --- graphmonkey-1.3.orig/Makefile +++ graphmonkey-1.3/Makefile @@ -2,11 +2,12 @@ EXEC=GraphMonkey.exe all: - $(CC) -o -target:exe -out:"$(EXEC)" -pkg:gtk-sharp -pkg:glade-sharp ./Main.cs ./MyWindow.cs ./AssemblyInfo.cs ./Ecran_Form.cs ./operation.cs ./About_Form.cs + $(CC) -o -target:exe -out:"$(EXEC)" -pkg:gtk-sharp-2.0 -pkg:glade-sharp-2.0 ./Main.cs ./MyWindow.cs ./AssemblyInfo.cs ./Ecran_Form.cs ./operation.cs ./About_Form.cs clean: rm -rf $(EXEC) install: - cp $(EXEC) /usr/local/bin - cp graphmonkey /usr/local/bin + mkdir $(DESTDIR)/usr/share/graphmonkey + cp $(EXEC) $(DESTDIR)/usr/share/graphmonkey/ + cp graphmonkey $(DESTDIR)/usr/bin --- graphmonkey-1.3.orig/Makefile.GraphMonkey +++ graphmonkey-1.3/Makefile.GraphMonkey @@ -10,8 +10,8 @@ ./About_Form.cs PKG_REFERENCES = \ -gtk-sharp \ -glade-sharp +gtk-sharp-2.0 \ +glade-sharp-2.0 PKG_REFERENCES_BUILD = $(addprefix -pkg:, $(PKG_REFERENCES))