[gmt] 07/08: Add patches for various typos.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Mon Aug 24 19:36:10 UTC 2015


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

sebastic pushed a commit to branch master
in repository gmt.

commit f9709f6905b4ea490cf27c23faf539c52831df20
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 24 20:50:54 2015 +0200

    Add patches for various typos.
---
 debian/changelog                     |  1 +
 debian/patches/official-typo.patch   | 14 ++++++++++++++
 debian/patches/optionally-typo.patch | 36 ++++++++++++++++++++++++++++++++++++
 debian/patches/series                |  2 ++
 4 files changed, 53 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index da7156d..18e38ab 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ gmt (5.1.2+dfsg1-2~exp2) UNRELEASED; urgency=medium
   * Drop changes for HDF5 MPI, netcdf now built with serial flavor.
   * Add patch to fix _netcdf_dashl regex in FindNETCDF.
   * Don't build PDF documentation, latex build is prone to failure.
+  * Add patches for various typos.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 30 Jul 2015 22:35:49 +0200
 
diff --git a/debian/patches/official-typo.patch b/debian/patches/official-typo.patch
new file mode 100644
index 0000000..750fb3e
--- /dev/null
+++ b/debian/patches/official-typo.patch
@@ -0,0 +1,14 @@
+Description: Fix 'offical' typo, replace with 'official'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/doc/rst/source/supplements/mgd77/mgd77list.rst
++++ b/doc/rst/source/supplements/mgd77/mgd77list.rst
+@@ -186,7 +186,7 @@ Required Arguments
+     The following short-hand flags are also recognized:
+ 
+     **mgd77**
+-        This results in all 27 MGD77 fields being written out in the offical MGD77 order.
++        This results in all 27 MGD77 fields being written out in the official MGD77 order.
+     **mgd77t**
+         The full set of all 26 columns in the MGD77T specification.
+     **geo**
diff --git a/debian/patches/optionally-typo.patch b/debian/patches/optionally-typo.patch
new file mode 100644
index 0000000..6be1b7e
--- /dev/null
+++ b/debian/patches/optionally-typo.patch
@@ -0,0 +1,36 @@
+Description: Fix 'optionaly' typo, replace with 'optionally'.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/doc/rst/source/supplements/potential/gmtgravmag3d.rst
++++ b/doc/rst/source/supplements/potential/gmtgravmag3d.rst
+@@ -81,7 +81,7 @@ Optional Arguments
+ **-T**\ [[*d*]\ *xyz_file*/*vert_file*\ [*/m*]]\|[*r\|s*]\ *raw_file*]
+     Give either names of xyz[m] and *vertex* files or of a *raw* or
+     *stl* file defining a close surface. In the first case append a *d*
+-    imediatly after **-T** and optionaly a */m* after the vertex file
++    imediatly after **-T** and optionally a */m* after the vertex file
+     name. In the second case append a *r* or a *s* imediatly after
+     **-T** and before the file name. A *vertex* file is a file with N
+     rows (one per triangle) and 3 columns with integers defining the
+--- a/src/potential/gmtgravmag3d.c
++++ b/src/potential/gmtgravmag3d.c
+@@ -181,7 +181,7 @@ int GMT_gmtgravmag3d_usage (struct GMTAP
+ 	GMT_Option (API, "R");
+ 	GMT_Message (API, GMT_TIME_NONE, "\t-S search radius in km\n");
+ 	GMT_Message (API, GMT_TIME_NONE, "\t-T Give either names of xyz[m] and vertex files or of a file defining a close surface.\n");
+-	GMT_Message (API, GMT_TIME_NONE, "\t   In the first case append an 'd' imediatly after -T and optionaly a /m after the vertex file name.\n");
++	GMT_Message (API, GMT_TIME_NONE, "\t   In the first case append an 'd' imediatly after -T and optionally a /m after the vertex file name.\n");
+ 	GMT_Message (API, GMT_TIME_NONE, "\t   In the second case append an 'r' or a 's' imediatly after -T and before the file name.\n");
+ 	GMT_Message (API, GMT_TIME_NONE, "\t   'r' and 's' stand for files in raw (x1 y1 z1 x2 ... z3) or STL format.\n");
+ 	GMT_Option (API, "V");
+--- a/src/potential/gravfft.c
++++ b/src/potential/gravfft.c
+@@ -438,7 +438,7 @@ int GMT_gravfft_usage (struct GMTAPI_CTR
+ 	GMT_Message (API, GMT_TIME_NONE,"\t   water, all in SI units. Give average mantle depth via -Z\n");
+ 	GMT_Message (API, GMT_TIME_NONE,"\t   If the elastic thickness is > 1e10 it will be interpreted as the\n");
+ 	GMT_Message (API, GMT_TIME_NONE,"\t   flexural rigidity (by default it is computed from Te and Young modulus).\n");
+-	GMT_Message (API, GMT_TIME_NONE,"\t   Optionaly, append +m to write a grid with the Moho's geopotential effect\n");
++	GMT_Message (API, GMT_TIME_NONE,"\t   Optionally, append +m to write a grid with the Moho's geopotential effect\n");
+ 	GMT_Message (API, GMT_TIME_NONE,"\t   (see -F) from model selected by -T.\n");
+ 	GMT_Message (API, GMT_TIME_NONE,"\t-Z Specify Moho [and swell] average compensation depths.\n");
+ 	GMT_Option (API, "V");
diff --git a/debian/patches/series b/debian/patches/series
index 1336e59..cd7ce3c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,5 @@ manpage-section.patch
 dont-use-timestamped-gzip.patch
 rename-libpsl-to-libgmt-psl.patch
 netcdf-library-regex.patch
+optionally-typo.patch
+official-typo.patch

-- 
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