This is an automated email from the git hooks/post-receive script. tille pushed a commit to branch master in repository mbsystem.
commit 6eb2b78ed37fcdfad904f37b1f24a27692256b55 Author: M. Hamish Bowman <[email protected]> Date: Sat Aug 29 15:28:47 2009 +0000 proper dir structure --- debian/TODO | 6 +++++ debian/changelog | 5 +++++ debian/control | 20 +++++++++++++++++ debian/copyright | 4 ++++ debian/patches/00list | 2 ++ debian/patches/install_makefiles.dpatch | 39 +++++++++++++++++++++++++++++++++ debian/patches/mbps_c_gmt431.dpatch | 27 +++++++++++++++++++++++ debian/watch | 5 +++++ 8 files changed, 108 insertions(+) diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..d60abaf --- /dev/null +++ b/debian/TODO @@ -0,0 +1,6 @@ +TODO: adapt these beginnings of a Debian build script into full packaging rules: + +https://trac.osgeo.org/osgeo/browser/livedvd/gisvm/trunk/bin/install_mb-system.sh + + + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..eb28bc7 --- /dev/null +++ b/debian/changelog @@ -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 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..4923e87 --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: mbsystem +Section: science +Priority: optional +Maintainer: Debian GIS Project <[email protected]> +Uploaders: +Build-depends: libgmt-dev, lesstif2-dev, libnetcdf-dev, libglu1-mesa-dev, libgl1-mesa-dev +Standards-Version: +Homepage: http://www.ldeo.columbia.edu/res/pi/MB-System/ + +Package: mbsystem +Section: science +Architecture: any +Depends: ${shlibs:Depends}, gmt, lesstif2, libnetcdf4, libgl1-mesa-glx, libglu1-mesa +Suggests: ghostscript, xv +Recommends: +Description: Processing tools for multibeam and sidescan sonar data + MB-System is an open source software package for the processing and + display of bathymetry and backscatter imagery data derived from + multibeam, interferometry, and sidescan sonars. It interacts with GMT + (The Generic Mapping Tools) and other GIS applications. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..7fa766f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,4 @@ +GPL 2 + +http://www.ldeo.columbia.edu/res/pi/MB-System/html/gpl.html + diff --git a/debian/patches/00list b/debian/patches/00list new file mode 100644 index 0000000..8d2846d --- /dev/null +++ b/debian/patches/00list @@ -0,0 +1,2 @@ +install_makefiles +mbps_c_gmt431 diff --git a/debian/patches/install_makefiles.dpatch b/debian/patches/install_makefiles.dpatch new file mode 100644 index 0000000..57b4532 --- /dev/null +++ b/debian/patches/install_makefiles.dpatch @@ -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 + +@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 diff --git a/debian/patches/mbps_c_gmt431.dpatch b/debian/patches/mbps_c_gmt431.dpatch new file mode 100644 index 0000000..0b1a81d --- /dev/null +++ b/debian/patches/mbps_c_gmt431.dpatch @@ -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 + +@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 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..cdf16b8 --- /dev/null +++ b/debian/watch @@ -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 +# -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mbsystem.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

