[gmt] 03/05: Add patches for various typos.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Feb 7 00:39:39 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository gmt.

commit 5d8aaa7620c9acfaa40868f80ade641d959c80bc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Feb 6 23:58:36 2016 +0100

    Add patches for various typos.
---
 debian/changelog                     |  1 +
 debian/patches/overridden-typo.patch | 16 +++++++++++++++
 debian/patches/series                |  3 +++
 debian/patches/supported-typo.patch  | 38 ++++++++++++++++++++++++++++++++++++
 debian/patches/written-typo.patch    | 16 +++++++++++++++
 5 files changed, 74 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index ee53fe0..c330c2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ gmt (5.2.1+dfsg-4) UNRELEASED; urgency=medium
 
   * Update Vcs-Git URL to use HTTPS.
   * Bump Standards-Version to 3.9.7, no changes.
+  * Add patches for various typos.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 06 Feb 2016 21:06:05 +0100
 
diff --git a/debian/patches/overridden-typo.patch b/debian/patches/overridden-typo.patch
new file mode 100644
index 0000000..74e7790
--- /dev/null
+++ b/debian/patches/overridden-typo.patch
@@ -0,0 +1,16 @@
+Description: Fix 'overrided' typo, replace with 'overridden'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: http://gmt.soest.hawaii.edu/issues/855
+Applied-Upstream: http://gmt.soest.hawaii.edu/projects/gmt/repository/revisions/15578
+
+--- a/src/grdtrack.c
++++ b/src/grdtrack.c
+@@ -808,7 +808,7 @@ int GMT_grdtrack (void *V_API, int mode,
+ 		if (GMT_is_geographic (GMT, GMT_IN)) {	/* Convert to km if geographic or degrees if arc-units */
+ 			if (!GMT->current.map.dist[GMT_MAP_DIST].arc) Ctrl->E.step *= GMT->current.proj.DIST_M_PR_DEG;	/* Convert from degrees to meters or from min/secs to degrees */
+ 			Ctrl->E.step *= GMT->current.map.dist[GMT_MAP_DIST].scale;	/* Scale to chosen unit */
+-			GMT_Report (API, GMT_MSG_LONG_VERBOSE, "Default sampling interval in -E is %g %c (may be overrided by -E modifiers).\n", Ctrl->E.step, Ctrl->E.unit);
++			GMT_Report (API, GMT_MSG_LONG_VERBOSE, "Default sampling interval in -E is %g %c (may be overridden by -E modifiers).\n", Ctrl->E.step, Ctrl->E.unit);
+ 		}
+ 		if (Ctrl->G.n_grids == 1) {	/* May use min/max for a single grid */
+ 			GMT_grd_minmax (GMT, GC[0].G, xyz);
diff --git a/debian/patches/series b/debian/patches/series
index 3e57e68..b6c8417 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,6 @@ disable-examples.patch
 manpage-section.patch
 hppa-sighandler.patch
 alpha-sighandler.patch
+supported-typo.patch
+overridden-typo.patch
+written-typo.patch
diff --git a/debian/patches/supported-typo.patch b/debian/patches/supported-typo.patch
new file mode 100644
index 0000000..ff72488
--- /dev/null
+++ b/debian/patches/supported-typo.patch
@@ -0,0 +1,38 @@
+Description: Fix 'suported' typo, replace with 'supported'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: http://gmt.soest.hawaii.edu/issues/855
+Applied-Upstream: http://gmt.soest.hawaii.edu/projects/gmt/repository/revisions/15578
+
+--- a/src/gmt_customio.c
++++ b/src/gmt_customio.c
+@@ -1746,7 +1746,7 @@ int GMT_gdal_read_grd (struct GMT_CTRL *
+ 			for (j = 0; j < header->size; j++)
+ 				grid[j] = (float)from_gdalread->Int32.data[j+i];
+ 		else {
+-			GMT_Report (GMT->parent, GMT_MSG_NORMAL, "ERROR data type not suported with gdalread in gmt_customio.\n");
++			GMT_Report (GMT->parent, GMT_MSG_NORMAL, "ERROR data type not supported with gdalread in gmt_customio.\n");
+ 			return (GMT_GRDIO_OPEN_FAILED);
+ 		}
+ 	}
+--- a/src/gmt_gdalwrite.c
++++ b/src/gmt_gdalwrite.c
+@@ -100,7 +100,7 @@ int GMT_gdalwrite (struct GMT_CTRL *GMT,
+ 		n_byteOffset = 4;
+ 	}
+ 	else {
+-		GMT_Report (GMT->parent, GMT_MSG_NORMAL, "GMT_gdalwrite: Unsuported input data class!\n");
++		GMT_Report (GMT->parent, GMT_MSG_NORMAL, "GMT_gdalwrite: Unsupported input data class!\n");
+ 		return(-1);
+ 	}
+ 
+--- a/src/psconvert.c
++++ b/src/psconvert.c
+@@ -870,7 +870,7 @@ int GMT_psconvert (void *V_API, int mode
+ 	    Ctrl->T.device == GS_DEV_JPGG || Ctrl->T.device == GS_DEV_TIF ||
+ 	    Ctrl->T.device == GS_DEV_TIFG || Ctrl->T.device == GS_DEV_PNG ||
+ 	    Ctrl->T.device == GS_DEV_TPNG || Ctrl->T.device == GS_DEV_PNGG) ) {
+-		GMT_Report (API, GMT_MSG_NORMAL, "Error: As far as we know selected raster type is unsuported by GE.\n");
++		GMT_Report (API, GMT_MSG_NORMAL, "Error: As far as we know selected raster type is unsupported by GE.\n");
+ 	}
+ 
+ 	if (Ctrl->W.active) {	/* Implies -P and -A (unless -A- is set ) */
diff --git a/debian/patches/written-typo.patch b/debian/patches/written-typo.patch
new file mode 100644
index 0000000..c459cb1
--- /dev/null
+++ b/debian/patches/written-typo.patch
@@ -0,0 +1,16 @@
+Description: Fix 'writen' typo, replace with 'written'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: http://gmt.soest.hawaii.edu/issues/855
+Applied-Upstream: http://gmt.soest.hawaii.edu/projects/gmt/repository/revisions/15578
+
+--- a/doc/rst/source/gmtget.rst
++++ b/doc/rst/source/gmtget.rst
+@@ -27,7 +27,7 @@ Required Arguments
+ 
+ PARAMETER
+     Provide one or several parameters of interest. The current value of
+-    those parameters will be writen to *stdout*. For a complete listing
++    those parameters will be written to *stdout*. For a complete listing
+     of available parameters and their meaning, see the :doc:`gmt.conf` man page.
+ 
+ Optional Arguments

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/gmt.git



More information about the Pkg-grass-devel mailing list