[Pkg-cli-apps-commits] r4491 - in /packages/graphmonkey/trunk: Makefile debian/changelog debian/compat debian/control debian/linda.override debian/menu debian/patches/ debian/patches/correct-location debian/patches/series debian/rules graphmonkey

laney-guest at users.alioth.debian.org laney-guest at users.alioth.debian.org
Sat Jan 31 20:09:26 UTC 2009


Author: laney-guest
Date: Sat Jan 31 20:09:26 2009
New Revision: 4491

URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4491
Log:
* Adopt for pkg-cli-apps team (Closes: #513630)
* 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
* Update for Mono 2.0 transition, thanks to James Westby (Closes: #510044)
* Bump standards-version to 3.8.0, move Homepage field 

Added:
    packages/graphmonkey/trunk/debian/patches/
    packages/graphmonkey/trunk/debian/patches/correct-location
    packages/graphmonkey/trunk/debian/patches/series
Removed:
    packages/graphmonkey/trunk/Makefile
    packages/graphmonkey/trunk/debian/linda.override
    packages/graphmonkey/trunk/graphmonkey
Modified:
    packages/graphmonkey/trunk/debian/changelog
    packages/graphmonkey/trunk/debian/compat
    packages/graphmonkey/trunk/debian/control
    packages/graphmonkey/trunk/debian/menu
    packages/graphmonkey/trunk/debian/rules

Modified: packages/graphmonkey/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/debian/changelog?rev=4491&op=diff
==============================================================================
--- packages/graphmonkey/trunk/debian/changelog (original)
+++ packages/graphmonkey/trunk/debian/changelog Sat Jan 31 20:09:26 2009
@@ -1,3 +1,16 @@
+graphmonkey (1.6-2) UNRELEASED; urgency=low
+
+  * Adopt for pkg-cli-apps team (Closes: #513630)
+  * 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
+  * 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 at ubuntu.com>  Sat, 31 Jan 2009 20:09:37 +0000
+
 graphmonkey (1.6-1) unstable; urgency=low
 
   * New upstream release

Modified: packages/graphmonkey/trunk/debian/compat
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/debian/compat?rev=4491&op=diff
==============================================================================
--- packages/graphmonkey/trunk/debian/compat (original)
+++ packages/graphmonkey/trunk/debian/compat Sat Jan 31 20:09:26 2009
@@ -1,1 +1,1 @@
-4
+5

Modified: packages/graphmonkey/trunk/debian/control
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/debian/control?rev=4491&op=diff
==============================================================================
--- packages/graphmonkey/trunk/debian/control (original)
+++ packages/graphmonkey/trunk/debian/control Sat Jan 31 20:09:26 2009
@@ -1,10 +1,12 @@
 Source: graphmonkey
 Section: math
 Priority: optional
-Maintainer: Benjamin Seidenberg <benjamin at debian.org>
-Build-Depends: debhelper (>= 4.0.0)
-Build-Depends-Indep: cli-common-dev, mono-mcs, libglade2.0-cil, libgtk2.0-cil, pkg-config
-Standards-Version: 3.7.2
+Maintainer: Debian CLI Applications Team <pkg-cli-apps-team at lists.alioth.debian.org>
+Uploaders: Iain Lane <laney at ubuntu.com>
+Build-Depends: debhelper (>= 4.0.0), quilt
+Build-Depends-Indep: cli-common-dev (>= 0.4.4), mono-devel (>= 2.0), libglade2.0-cil, libgtk2.0-cil, pkg-config
+Standards-Version: 3.8.0
+Homepage: http://graphmonkey.sourceforge.net/
 
 Package: graphmonkey
 Architecture: all
@@ -12,6 +14,3 @@
 Description: a GTK#-based graphing calculator
  GraphMonkey is a GTK#-based graphic calculator. It uses a simple interface to
  draw curves.
- .
-  Homepage: http://graphmonkey.sourceforge.net/
-   

Modified: packages/graphmonkey/trunk/debian/menu
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/debian/menu?rev=4491&op=diff
==============================================================================
--- packages/graphmonkey/trunk/debian/menu (original)
+++ packages/graphmonkey/trunk/debian/menu Sat Jan 31 20:09:26 2009
@@ -1,2 +1,2 @@
-?package(graphmonkey):needs="X11" section="Apps/Math"\
+?package(graphmonkey):needs="X11" section="Applications/Science/Mathematics"\
   title="graphmonkey" command="/usr/bin/graphmonkey"

Added: packages/graphmonkey/trunk/debian/patches/correct-location
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/debian/patches/correct-location?rev=4491&op=file
==============================================================================
--- packages/graphmonkey/trunk/debian/patches/correct-location (added)
+++ packages/graphmonkey/trunk/debian/patches/correct-location Sat Jan 31 20:09:26 2009
@@ -1,0 +1,26 @@
+--- 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,6 @@
+ 	rm -rf $(EXEC)
+ 
+ install:
+-	mkdir -p $(SHARE)/graphmonkey
+-	cp -f $(EXEC) $(SHARE)/graphmonkey
+-	cp -f graphmonkey $(BIN)
++	mkdir $(DESTDIR)/usr/share/graphmonkey
++	cp $(EXEC) $(DESTDIR)/usr/share/graphmonkey/
++	cp graphmonkey $(DESTDIR)/usr/bin
+--- a/graphmonkey
++++ b/graphmonkey
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-mono /usr/local/share/graphmonkey/GraphMonkey.exe
++mono /usr/share/graphmonkey/GraphMonkey.exe

Added: packages/graphmonkey/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/debian/patches/series?rev=4491&op=file
==============================================================================
--- packages/graphmonkey/trunk/debian/patches/series (added)
+++ packages/graphmonkey/trunk/debian/patches/series Sat Jan 31 20:09:26 2009
@@ -1,0 +1,1 @@
+correct-location

Modified: packages/graphmonkey/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/graphmonkey/trunk/debian/rules?rev=4491&op=diff
==============================================================================
--- packages/graphmonkey/trunk/debian/rules (original)
+++ packages/graphmonkey/trunk/debian/rules Sat Jan 31 20:09:26 2009
@@ -8,6 +8,11 @@
 
 # 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
@@ -26,23 +31,24 @@
 	touch configure-stamp
 
 
-build: build-stamp
+build: build-stamp patch
 
 build-stamp: configure-stamp 
 	dh_testdir
 
 	# Add here commands to compile the package.
-	$(MAKE)
+	$(MAKE) CC=csc
 
 	touch build-stamp
 
-clean:
+clean: unpatch
 	dh_testdir
 	dh_testroot
 	rm -f build-stamp configure-stamp
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
+	$(MAKE) clean
+
 	rm -rf $((CURDIR)/.wapi/
 
 	dh_clean 
@@ -56,13 +62,6 @@
 	# 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
-	#Install linda override
-	mkdir -p $(CURDIR)/debian/graphmonkey/usr/share/linda/overrides
-	cp $(CURDIR)/debian/linda.override \
-		$(CURDIR)/debian/graphmonkey/usr/share/linda/overrides/graphmonkey
-
-#Do nothing (Arch: All)
-binary-arch:
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -84,5 +83,13 @@
 	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




More information about the Pkg-cli-apps-commits mailing list