[DebianGIS-dev] r838 - in packages/drawmap/trunk/debian: . patches

frankie at alioth.debian.org frankie at alioth.debian.org
Fri May 18 13:14:36 UTC 2007


Author: frankie
Date: 2007-05-18 13:14:36 +0000 (Fri, 18 May 2007)
New Revision: 838

Added:
   packages/drawmap/trunk/debian/compat
   packages/drawmap/trunk/debian/patches/03_misc_warns.dpatch
Modified:
   packages/drawmap/trunk/debian/changelog
   packages/drawmap/trunk/debian/control
   packages/drawmap/trunk/debian/patches/00list
   packages/drawmap/trunk/debian/rules
Log:
Major fixes for an up-to-date package.


Modified: packages/drawmap/trunk/debian/changelog
===================================================================
--- packages/drawmap/trunk/debian/changelog	2007-05-18 12:29:17 UTC (rev 837)
+++ packages/drawmap/trunk/debian/changelog	2007-05-18 13:14:36 UTC (rev 838)
@@ -1,3 +1,16 @@
+drawmap (2.5-3) unstable; urgency=low
+
+  * New maintainership team. Set me as uploader.
+    (closes: #361015)
+  * Policy bumped to 3.7.2 (no changes)
+  * Debhelper level moved to 5
+  * Added home page in long description
+  * Added patch 03_misc_warns.dpatch to avoid silly warnings due to missing headers.
+  * Now using -02 optimization in debian/rules.
+  * Removed superfluous dh_ rules.
+
+ -- Francesco Paolo Lovergine <frankie at debian.org>  Fri, 18 May 2007 15:02:34 +0200
+
 drawmap (2.5-2) unstable; urgency=low
 
   * QA Upload

Added: packages/drawmap/trunk/debian/compat
===================================================================
--- packages/drawmap/trunk/debian/compat	                        (rev 0)
+++ packages/drawmap/trunk/debian/compat	2007-05-18 13:14:36 UTC (rev 838)
@@ -0,0 +1 @@
+5

Modified: packages/drawmap/trunk/debian/control
===================================================================
--- packages/drawmap/trunk/debian/control	2007-05-18 12:29:17 UTC (rev 837)
+++ packages/drawmap/trunk/debian/control	2007-05-18 13:14:36 UTC (rev 838)
@@ -1,9 +1,10 @@
 Source: drawmap
 Section: math
 Priority: optional
-Maintainer: Debian QA Group <packages at qa.debian.org>
-Build-Depends: debhelper (>> 4), groff, dpatch
-Standards-Version: 3.6.2
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Francesco Paolo Lovergine <frankie at debian.org>
+Build-Depends: debhelper (>>5), groff, dpatch
+Standards-Version: 3.7.2
 
 Package: drawmap
 Architecture: any
@@ -22,3 +23,5 @@
  .
  Outputs sun raster format, portable gray map, or pov format 
  files.
+ .
+  Home page: http://www.ttc-cmc.net/~fme/drawmap.html

Modified: packages/drawmap/trunk/debian/patches/00list
===================================================================
--- packages/drawmap/trunk/debian/patches/00list	2007-05-18 12:29:17 UTC (rev 837)
+++ packages/drawmap/trunk/debian/patches/00list	2007-05-18 13:14:36 UTC (rev 838)
@@ -1,2 +1,3 @@
-01_drawmap.h.dpatch
-02_dlg.c.dpatch
+01_drawmap.h
+02_dlg.c
+03_misc_warns

Added: packages/drawmap/trunk/debian/patches/03_misc_warns.dpatch
===================================================================
--- packages/drawmap/trunk/debian/patches/03_misc_warns.dpatch	                        (rev 0)
+++ packages/drawmap/trunk/debian/patches/03_misc_warns.dpatch	2007-05-18 13:14:36 UTC (rev 838)
@@ -0,0 +1,95 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 03_misc_warns.dpatch by Francesco Paolo Lovergine <frankie at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad drawmap~/big_buf_io.c drawmap/big_buf_io.c
+--- drawmap~/big_buf_io.c	2007-05-18 14:49:27.000000000 +0200
++++ drawmap/big_buf_io.c	2007-05-18 14:51:34.000000000 +0200
+@@ -48,6 +48,7 @@
+ 
+ #include <sys/types.h>
+ #include <fcntl.h>
++#include <string.h>
+ 
+ int buf_open(const char *, int, mode_t, ...);
+ int buf_close(int);
+diff -urNad drawmap~/big_buf_io_z.c drawmap/big_buf_io_z.c
+--- drawmap~/big_buf_io_z.c	2007-05-18 14:49:27.000000000 +0200
++++ drawmap/big_buf_io_z.c	2007-05-18 14:51:34.000000000 +0200
+@@ -45,6 +45,7 @@
+ 
+ #include <sys/types.h>
+ #include <fcntl.h>
++#include <string.h>
+ #include "gzip.h"
+ 
+ int buf_open_z(const char *, int, mode_t, ...);
+diff -urNad drawmap~/dem.c drawmap/dem.c
+--- drawmap~/dem.c	2001-08-02 08:27:39.000000000 +0200
++++ drawmap/dem.c	2007-05-18 14:53:14.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <math.h>
++#include <string.h>
+ #include "drawmap.h"
+ #include "dem.h"
+ 
+diff -urNad drawmap~/dlg.c drawmap/dlg.c
+--- drawmap~/dlg.c	2007-05-18 14:51:33.000000000 +0200
++++ drawmap/dlg.c	2007-05-18 14:54:31.000000000 +0200
+@@ -25,6 +25,7 @@
+ #include <unistd.h>
+ #include <stdio.h>
+ #include <errno.h>
++#include <string.h>
+ #include "drawmap.h"
+ #include "dlg.h"
+ 
+diff -urNad drawmap~/gzip.h drawmap/gzip.h
+--- drawmap~/gzip.h	1998-10-12 07:39:28.000000000 +0200
++++ drawmap/gzip.h	2007-05-18 14:56:00.000000000 +0200
+@@ -29,6 +29,7 @@
+  * too often
+  */
+ #include <stdio.h>
++#include <stdlib.h>
+ #if !defined(NO_STRING_H) || defined(STDC_HEADERS)
+ #  include <string.h>
+ #  if !defined(STDC_HEADERS) && !defined(NO_MEMORY_H) && !defined(__GNUC__)
+diff -urNad drawmap~/ll2utm.c drawmap/ll2utm.c
+--- drawmap~/ll2utm.c	2000-07-22 11:54:53.000000000 +0200
++++ drawmap/ll2utm.c	2007-05-18 14:57:03.000000000 +0200
+@@ -30,6 +30,7 @@
+ 
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <math.h>
+ #include <sys/types.h>
+ #include "drawmap.h"
+ 
+diff -urNad drawmap~/unblock_dem.c drawmap/unblock_dem.c
+--- drawmap~/unblock_dem.c	2007-05-18 14:49:27.000000000 +0200
++++ drawmap/unblock_dem.c	2007-05-18 14:51:34.000000000 +0200
+@@ -27,6 +27,7 @@
+  */
+ #include <stdio.h>
+ #include <sys/types.h>
++#include <stdlib.h>
+ #include "drawmap.h"
+ #include "dem.h"
+ 
+diff -urNad drawmap~/unblock_dlg.c drawmap/unblock_dlg.c
+--- drawmap~/unblock_dlg.c	2007-05-18 14:49:27.000000000 +0200
++++ drawmap/unblock_dlg.c	2007-05-18 14:51:34.000000000 +0200
+@@ -27,6 +27,7 @@
+  */
+ #include <stdio.h>
+ #include <sys/types.h>
++#include <stdlib.h>
+ #include "drawmap.h"
+ #include "dlg.h"
+ 


Property changes on: packages/drawmap/trunk/debian/patches/03_misc_warns.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Modified: packages/drawmap/trunk/debian/rules
===================================================================
--- packages/drawmap/trunk/debian/rules	2007-05-18 12:29:17 UTC (rev 837)
+++ packages/drawmap/trunk/debian/rules	2007-05-18 13:14:36 UTC (rev 838)
@@ -5,16 +5,13 @@
 # Uncomment this to turn on verbose mode.
 # export DH_VERBOSE=1
 
-# This is the debhelper compatability version to use.
-export DH_COMPAT=4
-
 include /usr/share/dpatch/dpatch.make
 
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
 
-	$(MAKE)
+	$(MAKE) CFLAGS=-O2
 
 	touch build-stamp
 
@@ -28,31 +25,17 @@
 
 	dh_clean
 
-install: build-stamp
-	dh_testdir
-	dh_testroot
-	dh_clean -k
-	dh_installdirs
-
 # Build architecture-independent files here.
-binary-indep: build install
+binary-indep: build 
 # We have nothing to do by default.
 
 # Build architecture-dependent files here.
-binary-arch: build install
+binary-arch: build 
 	dh_installdirs
-	dh_testdir
-	dh_testroot
-	dh_installdeb
 	dh_installdocs
-	dh_installexamples
 	dh_install
-	dh_installmenu
-	dh_installcron
 	dh_installman *.1n
-	dh_installinfo
 	dh_installchangelogs 
-	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms




More information about the Pkg-grass-devel mailing list