--- 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 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 + 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 . +.PP +.ad l +This manual page was written by Benjamin Seidenberg , +for the Debian project (but may be used by others). --- graphmonkey-1.7.orig/debian/watch +++ graphmonkey-1.7/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/graphmonkey/GraphMonkey-(.+)-src\.tar\.gz --- graphmonkey-1.7.orig/debian/compat +++ graphmonkey-1.7/debian/compat @@ -0,0 +1 @@ +4 --- 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 , Mon, 4 Jul 2005 17:01:40 -0400 --- graphmonkey-1.7.orig/debian/control +++ graphmonkey-1.7/debian/control @@ -0,0 +1,16 @@ +Source: graphmonkey +Section: math +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Benjamin Seidenberg +Build-Depends: debhelper (>= 4.0.0), dpatch +Build-Depends-Indep: cli-common-dev, mono-mcs, libglade2.0-cil, libgtk2.0-cil, pkg-config +Standards-Version: 3.8.0 +Homepage: http://graphmonkey.sourceforge.net/ + +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/copyright +++ graphmonkey-1.7/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 - 2006 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.7.orig/debian/dirs +++ graphmonkey-1.7/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/lib/ +usr/share/applications/ +usr/share/pixmaps/ --- graphmonkey-1.7.orig/debian/patches/00list +++ graphmonkey-1.7/debian/patches/00list @@ -0,0 +1 @@ +01-Change-install-dir.dpatch --- graphmonkey-1.7.orig/debian/patches/01-Change-install-dir.dpatch +++ graphmonkey-1.7/debian/patches/01-Change-install-dir.dpatch @@ -0,0 +1,27 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-Change-install-dir.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Changes the installation destination of the package + +@DPATCH@ +diff -urNad graphmonkey-1.7~/Makefile graphmonkey-1.7/Makefile +--- graphmonkey-1.7~/Makefile 2008-06-11 16:54:30.000000000 +0100 ++++ graphmonkey-1.7/Makefile 2008-06-11 17:04:47.000000000 +0100 +@@ -10,6 +10,6 @@ + rm -rf $(EXEC) + + install: +- mkdir -p $(SHARE)/graphmonkey +- cp -f $(EXEC) $(SHARE)/graphmonkey +- cp -f graphmonkey $(BIN) ++ mkdir $(DESTDIR)/usr/lib/graphmonkey ++ cp $(EXEC) $(DESTDIR)/usr/lib/graphmonkey/ ++ cp graphmonkey $(DESTDIR)/usr/bin +diff -urNad graphmonkey-1.7~/graphmonkey graphmonkey-1.7/graphmonkey +--- graphmonkey-1.7~/graphmonkey 2008-06-11 16:54:49.000000000 +0100 ++++ graphmonkey-1.7/graphmonkey 2008-06-11 17:04:57.000000000 +0100 +@@ -1,2 +1,2 @@ + #!/bin/sh +-mono /usr/local/share/graphmonkey/GraphMonkey.exe ++mono /usr/lib/graphmonkey/GraphMonkey.exe --- graphmonkey-1.7.orig/debian/changelog +++ graphmonkey-1.7/debian/changelog @@ -0,0 +1,115 @@ +graphmonkey (1.7-0ubuntu1) intrepid; urgency=low + + * New upstream release (LP: #195196) + * debian/control: + - Bump Debian standards version + - Add Homepage field + - Change Maintainer field to match DebianMaintainerField specification + - Remove homepage from description + - Add 'dpatch' to Build-Depends + - Bump Debian standards version to 3.8.0 + * Change installation directory for .exe files to /usr/lib/graphmonkey to + follow Debian cli-policy + * debian/rules: + - Fix Lintian debian-rules-ignores-make-clean-error + - Change graphmonkey.exe install directory to install into /usr/lib/ + - Add icon and .desktop file installation + * debian/dirs: + - Add /usr/lib/, /usr/share/applications and /usr/share/pixmaps + - Remove /usr/share/ as it isnt needed anymore + * debian/watch: Add watchfile + * debian/copyright: Update copyright years + * debian/linda.override, debian/rules: Remove Linda override + * debian/menu: Change section to "Applications/Science/Mathematics" + * debian/patches/*: Add dpatch patchsys + * debian/docs: Remove docs file as all information is provided in the man page + * debian/graphmonkey.1: Add new information (taken from HELP) + * description-pak: Remove unneeded file + * Makefile, graphmonkey: Move inline changes to 01-Change-install-dir.dpatch + * debian/graphmonkey.desktop: Add .desktop file + + -- David Futcher Mon, 25 Feb 2008 20:11:39 +0000 + +graphmonkey (1.6-1) unstable; urgency=low + + * New upstream release + * New maintainer address + + -- Benjamin Seidenberg 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 , Closes: #392121) + + -- Benjamin Seidenberg 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 ) + * 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 Wed, 31 May 2006 23:28:53 -0400 + +graphmonkey (1.5-4) unstable; urgency=low + + * Actually install menu entry (added dh_installmenu) + + -- Benjamin Seidenberg 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 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 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 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 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.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/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,96 @@ +#!/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 +INSTALL = /usr/bin/install + +#For get-orig-source +VERSION = 1.7 + +include /usr/share/dpatch/dpatch.make + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname ) + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp patch-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + 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) $(CURDIR)/debian/graphmonkey.desktop $(CURDIR)/debian/graphmonkey/usr/share/applications/graphmonkey.desktop + $(INSTALL) $(CURDIR)/pixmaps/gm.png $(CURDIR)/debian/graphmonkey/usr/share/pixmaps/graphmonkey.png + +#Do nothing (Arch: All) +binary-arch: + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installman + dh_installmenu + dh_desktop + 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 +.PHONY: build clean binary-indep binary-arch binary install configure