[DebianGIS-dev] r2402 - in packages/mbsystem: . patches

hamish-guest at alioth.debian.org hamish-guest at alioth.debian.org
Sat Aug 29 15:25:56 UTC 2009


Author: hamish-guest
Date: 2009-08-29 15:25:56 +0000 (Sat, 29 Aug 2009)
New Revision: 2402

Added:
   packages/mbsystem/changelog
   packages/mbsystem/copyright
   packages/mbsystem/patches/
   packages/mbsystem/patches/00list
   packages/mbsystem/patches/install_makefiles.dpatch
   packages/mbsystem/patches/mbps_c_gmt431.dpatch
   packages/mbsystem/watch
Log:
a few more initial files

Added: packages/mbsystem/changelog
===================================================================
--- packages/mbsystem/changelog	                        (rev 0)
+++ packages/mbsystem/changelog	2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,5 @@
+mbsystem (5.1.2beta11-0) UNRELEASED; urgency=low
+
+  * Initial packaging
+
+ -- Hamish Bowman <hamish_b yahoo com>  Sat, 29 Aug 2009 14:24:12 +1200

Added: packages/mbsystem/copyright
===================================================================
--- packages/mbsystem/copyright	                        (rev 0)
+++ packages/mbsystem/copyright	2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,4 @@
+GPL 2
+
+http://www.ldeo.columbia.edu/res/pi/MB-System/html/gpl.html
+

Added: packages/mbsystem/patches/00list
===================================================================
--- packages/mbsystem/patches/00list	                        (rev 0)
+++ packages/mbsystem/patches/00list	2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,2 @@
+install_makefiles
+mbps_c_gmt431

Added: packages/mbsystem/patches/install_makefiles.dpatch
===================================================================
--- packages/mbsystem/patches/install_makefiles.dpatch	                        (rev 0)
+++ packages/mbsystem/patches/install_makefiles.dpatch	2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,39 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## install_makefiles.dpatch by Hamish Bowman <hamish_b yahoo com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Makefile adjustments suitable for Debian
+
+ at DPATCH@
+--- install_makefiles.ORIG      2009-08-27 23:53:46.000000000 +1200
++++ install_makefiles   2009-08-28 00:01:00.000000000 +1200
+@@ -97,21 +97,21 @@
+ #
+ # Required parameters:
+ $MBSYSTEM_HOME = "/usr/share/mbsystem";
+-$OS = "DARWIN";
++$OS = "LINUX";
+ $CFLAGS = "-g -I/usr/X11R6/include";
+-$LFLAGS = "-Wl -lm -bind_at_load -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/LibGL.dylib";
+-$NETCDFLIBDIR = "/sw/lib";
+-$NETCDFINCDIR = "/sw/include";
+-$GMTLIBDIR = "/usr/local/gmt/lib";
+-$GMTINCDIR = "/usr/local/gmt/include";
++$LFLAGS = "-Wl -lm";
++$NETCDFLIBDIR = "/usr/lib";
++$NETCDFINCDIR = "/usr/include";
++$GMTLIBDIR = "/usr/lib";
++$GMTINCDIR = "/usr/include/gmt";
+ $LEVITUS = "$MBSYSTEM_HOME/share/LevitusAnnual82.dat";
+ $PROJECTIONS = "$MBSYSTEM_HOME/share/Projections.dat";
+ #
+ # Required paramters for graphical tools
+ #   - graphical tools will not be built if these
+ #     are commented out
+-$MOTIFINCDIR = "/sw/include";
+-$MOTIFLIBS = "-L/sw/lib -L/usr/X11R6/lib -lXm -lXt -lX11";
++$MOTIFINCDIR = "/usr/include";
++$MOTIFLIBS = "-L/usr/lib -L/usr/X11R6/lib -lXm -lXt -lX11";
+ #
+ # Required paramter for visualization tools
+ #   - visualization tools will not be built if this

Added: packages/mbsystem/patches/mbps_c_gmt431.dpatch
===================================================================
--- packages/mbsystem/patches/mbps_c_gmt431.dpatch	                        (rev 0)
+++ packages/mbsystem/patches/mbps_c_gmt431.dpatch	2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## mbps_c_gmt431.dpatch by Hamish Bowman <hamish_b yahoo com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: allow to work with GMT older than version 4.5.0
+
+ at DPATCH@
+--- src/utilities/mbps.c.ORIG   2009-08-28 00:21:17.000000000 +1200
++++ src/utilities/mbps.c        2009-08-28 00:22:54.000000000 +1200
+@@ -842,10 +842,17 @@
+                }
+                
+        /* initialize the Postscript plotting */
++#ifdef GMT_MINOR_VERSION
+        ps_plotinit_hires(NULL,0,orient,x_off,y_off,1.0,1.0,1,300,1,
+                gmtdefs.paper_width, gmtdefs.page_rgb, 
+                gmtdefs.encoding.name, 
+                GMT_epsinfo (argv[0]));
++#else
++       ps_plotinit(NULL,0,orient,x_off,y_off,1.0,1.0,1,300,1,
++               gmtdefs.paper_width, gmtdefs.page_rgb, 
++               gmtdefs.encoding.name, 
++               GMT_epsinfo (argv[0]));
++#endif
+        GMT_echo_command (argc, argv);
+                
+        /* now loop over the data in the appropriate order

Added: packages/mbsystem/watch
===================================================================
--- packages/mbsystem/watch	                        (rev 0)
+++ packages/mbsystem/watch	2009-08-29 15:25:56 UTC (rev 2402)
@@ -0,0 +1,5 @@
+version=
+ftp://ftp.ldeo.columbia.edu/pub/MB-System/mbsystem-( ??? ).tar.gz
+#
+# e.g. ftp://ftp.ldeo.columbia.edu/pub/MB-System/mbsystem-5.1.2beta11.tar.gz
+#




More information about the Pkg-grass-devel mailing list