Author: hamish-guest
Date: 2013-09-09 23:48:24 +0000 (Mon, 09 Sep 2013)
New Revision: 3124

Added:
   packages/mbsystem/trunk/debian/gmt_path-MBSys.sh
Modified:
   packages/mbsystem/trunk/debian/TODO
   packages/mbsystem/trunk/debian/changelog
   packages/mbsystem/trunk/debian/mbsystem.install
Log:
add GMT binaries to the PATH if needed

Modified: packages/mbsystem/trunk/debian/TODO
===================================================================
--- packages/mbsystem/trunk/debian/TODO 2013-07-16 18:57:45 UTC (rev 3123)
+++ packages/mbsystem/trunk/debian/TODO 2013-09-09 23:48:24 UTC (rev 3124)
@@ -1,8 +1,5 @@
 TODO:
 
-* GMT binaries are not in the $PATH by default. Deal with that or
-  make a large patch adding it to the PATH at the start of each
-  of the MB scripts and hardcoding the full path into the C code.
 * Integrate the GMT coastline(s)
 * Audit & remove bundled libraries (libproj)
 * Remove GSF code until license statement is made clear

Modified: packages/mbsystem/trunk/debian/changelog
===================================================================
--- packages/mbsystem/trunk/debian/changelog    2013-07-16 18:57:45 UTC (rev 
3123)
+++ packages/mbsystem/trunk/debian/changelog    2013-09-09 23:48:24 UTC (rev 
3124)
@@ -1,4 +1,4 @@
-mbsystem (5.4.2128-0) UNRELEASED; urgency=low
+mbsystem (5.4.2149-0) UNRELEASED; urgency=low
 
   * Initial packaging incorporating upstream support for shared libs
   * Split off -dev, -doc, -data packages

Added: packages/mbsystem/trunk/debian/gmt_path-MBSys.sh
===================================================================
--- packages/mbsystem/trunk/debian/gmt_path-MBSys.sh                            
(rev 0)
+++ packages/mbsystem/trunk/debian/gmt_path-MBSys.sh    2013-09-09 23:48:24 UTC 
(rev 3124)
@@ -0,0 +1,7 @@
+# add GMT binaries to the PATH if needed
+
+GMTBIN="/usr/lib/gmt/bin"
+
+if [ `echo "$PATH" | grep -c "$GMTBIN"` -eq 0 ] ; then
+   PATH="$PATH:$GMTBIN"
+fi


Property changes on: packages/mbsystem/trunk/debian/gmt_path-MBSys.sh
___________________________________________________________________
Added: svn:mime-type
   + text/x-sh
Added: svn:eol-style
   + native

Modified: packages/mbsystem/trunk/debian/mbsystem.install
===================================================================
--- packages/mbsystem/trunk/debian/mbsystem.install     2013-07-16 18:57:45 UTC 
(rev 3123)
+++ packages/mbsystem/trunk/debian/mbsystem.install     2013-09-09 23:48:24 UTC 
(rev 3124)
@@ -1,3 +1,4 @@
 usr/bin
 usr/lib/*.so.*
 usr/share/man
+debian/gmt_path-MBSys.sh /etc/profile.d/


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to