[libmseed2] 07/08: created patches from gbp pq export

Pierre Duperray zulu-guest at moszumanska.debian.org
Thu Feb 23 20:20:42 UTC 2017


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

zulu-guest pushed a commit to branch master
in repository libmseed2.

commit 93e647c01620d9a58ea6944d83e6de23f73b21f8
Author: Pierre Duperray <pierreduperray at free.fr>
Date:   Sat Feb 18 23:20:42 2017 +0100

    created patches from gbp pq export
---
 debian/patches/0001-autotoolizing.patch            | 634 +++++++++++++++++++++
 ...xed-a-few-typos-detected-by-lintian-and-c.patch | 613 ++++++++++++++++++++
 debian/patches/series                              |   2 +
 3 files changed, 1249 insertions(+)

diff --git a/debian/patches/0001-autotoolizing.patch b/debian/patches/0001-autotoolizing.patch
new file mode 100644
index 0000000..58b178a
--- /dev/null
+++ b/debian/patches/0001-autotoolizing.patch
@@ -0,0 +1,634 @@
+From: Pierre Duperray <pierreduperray at free.fr>
+Date: Sat, 18 Feb 2017 11:26:08 +0100
+Subject: autotoolizing
+
+---
+ AUTHORS                                       |   1 +
+ LICENSE.txt => COPYING                        |   0
+ Makefile.am                                   | 253 ++++++++++++++++++++++++++
+ NEWS                                          |   0
+ configure.ac                                  |  39 ++++
+ mseed.pc.in                                   |  12 ++
+ test/pack-Float32-encoded.test                |   2 +-
+ test/pack-Float64-encoded.test                |   2 +-
+ test/pack-Int16-encoded.test                  |   2 +-
+ test/pack-Int32-encoded.test                  |   2 +-
+ test/pack-Steim1-encoded.test                 |   2 +-
+ test/pack-Steim2-encoded.test                 |   2 +-
+ test/pack-text-encoded.test                   |   2 +-
+ test/read-CDSN-encoded.test                   |   2 +-
+ test/read-DWWSSN-encoded.test                 |   2 +-
+ test/read-Float32-encoded.test                |   2 +-
+ test/read-Float64-encoded.test                |   2 +-
+ test/read-GEOSCOPE163-encoded.test            |   2 +-
+ test/read-Int16-encoded.test                  |   2 +-
+ test/read-Int32-1024byte-encoded.test         |   2 +-
+ test/read-Int32-128byte-encoded.test          |   2 +-
+ test/read-Int32-2048byte-encoded.test         |   2 +-
+ test/read-Int32-256byte-encoded.test          |   2 +-
+ test/read-Int32-4096byte-encoded.test         |   2 +-
+ test/read-Int32-512byte-encoded.test          |   2 +-
+ test/read-Int32-8192byte-encoded.test         |   2 +-
+ test/read-SRO-encoded.test                    |   2 +-
+ test/read-Steim1-bigendian.test               |   2 +-
+ test/read-Steim1-littleendian.test            |   2 +-
+ test/read-Steim2-bigendian.test               |   2 +-
+ test/read-Steim2-littleendian.test            |   2 +-
+ test/read-detection-record.test               |   2 +-
+ test/read-invalid-blockette-offset.test       |   2 +-
+ test/read-mixed-order-mixed-length-trace.test |   2 +-
+ test/read-no-blockette1000.test               |   2 +-
+ test/read-text-encoded.test                   |   2 +-
+ test/read-unapplied-timecorrection.test       |   2 +-
+ 37 files changed, 336 insertions(+), 31 deletions(-)
+ create mode 100644 AUTHORS
+ rename LICENSE.txt => COPYING (100%)
+ create mode 100644 Makefile.am
+ create mode 100644 NEWS
+ create mode 100644 configure.ac
+ create mode 100644 mseed.pc.in
+
+diff --git a/AUTHORS b/AUTHORS
+new file mode 100644
+index 0000000..0e74de3
+--- /dev/null
++++ b/AUTHORS
+@@ -0,0 +1 @@
++Chad Trabant, IRIS Data Management Center (chad at iris.washington.edu)
+diff --git a/LICENSE.txt b/COPYING
+similarity index 100%
+rename from LICENSE.txt
+rename to COPYING
+diff --git a/Makefile.am b/Makefile.am
+new file mode 100644
+index 0000000..f87910d
+--- /dev/null
++++ b/Makefile.am
+@@ -0,0 +1,253 @@
++ACLOCAL_AMFLAGS		= -I m4
++
++lib_LTLIBRARIES		= libmseed.la
++
++libmseed_la_SOURCES	= fileutils.c genutils.c gswap.c	\
++			  lmplatform.c				\
++			  logging.c lookup.c msrutils.c pack.c	\
++			  packdata.c packdata.h parseutils.c	\
++		      	  selection.c 				\
++		      	  tracelist.c traceutils.c		\
++			  unpack.c unpackdata.c unpackdata.h
++
++include_HEADERS		= libmseed.h lmplatform.h
++
++libmseed_la_LDFLAGS	= -version-info 2:0:0 \
++			  -export-symbols-regex '(^ms_|^msr_|^mst_|^mstl_)'
++
++exampledir		= $(docdir)/example
++
++dist_example_DATA	= example/Makefile example/Makefile.wat	\
++			  example/Makefile.win example/README	\
++			  example/msrepack.c example/msview.c	\
++			  example/test.mseed
++
++check_PROGRAMS		= test/lmtestpack test/lmtestparse
++
++test_lmtestpack_LDADD	= libmseed.la
++test_lmtestparse_LDADD	= libmseed.la
++
++TESTS = test/pack-Float32-encoded.test		\
++	test/pack-Float64-encoded.test		\
++	test/pack-Int16-encoded.test		\
++	test/pack-Int32-encoded.test		\
++	test/pack-Steim1-encoded.test		\
++	test/pack-Steim2-encoded.test		\
++	test/pack-text-encoded.test		\
++	test/read-CDSN-encoded.test		\
++	test/read-detection-record.test		\
++	test/read-DWWSSN-encoded.test		\
++	test/read-Float32-encoded.test		\
++	test/read-Float64-encoded.test		\
++	test/read-GEOSCOPE163-encoded.test	\
++	test/read-Int16-encoded.test		\
++	test/read-Int32-1024byte-encoded.test	\
++	test/read-Int32-128byte-encoded.test	\
++	test/read-Int32-2048byte-encoded.test	\
++	test/read-Int32-256byte-encoded.test	\
++	test/read-Int32-4096byte-encoded.test	\
++	test/read-Int32-512byte-encoded.test	\
++	test/read-Int32-8192byte-encoded.test	\
++	test/read-invalid-blockette-offset.test	\
++	test/read-mixed-order-mixed-length-trace.test	\
++	test/read-no-blockette1000.test		\
++	test/read-SRO-encoded.test		\
++	test/read-Steim1-bigendian.test		\
++	test/read-Steim1-littleendian.test	\
++	test/read-Steim2-bigendian.test		\
++	test/read-Steim2-littleendian.test	\
++	test/read-text-encoded.test		\
++	test/read-unapplied-timecorrection.test
++
++EXTRA_DIST	= Makefile.win libmseed.def Makefile.wat	\
++		  README.byteorder mseed.pc.in $(TESTS)		\
++		  test/data/CDSN-encoded.mseed			\
++		  test/data/corrupt-blockettes-wrongnext.mseed	\
++		  test/data/detection.record.mseed		\
++		  test/data/DWWSSN-encoded.mseed		\
++		  test/data/Float32-encoded.mseed		\
++		  test/data/Float64-encoded.mseed		\
++		  test/data/GEOSCOPE-16bit-3exp-encoded.mseed	\
++		  test/data/Int16-encoded.mseed			\
++		  test/data/Int32-1024byte.mseed		\
++		  test/data/Int32-128byte.mseed			\
++		  test/data/Int32-2048byte.mseed		\
++		  test/data/Int32-256byte.mseed			\
++		  test/data/Int32-4096byte.mseed		\
++		  test/data/Int32-512byte.mseed			\
++		  test/data/Int32-8192byte.mseed		\
++		  test/data/Int32-oneseries-mixedlengths-mixedorder.mseed	\
++		  test/data/invalid-blockette-offset.mseed	\
++		  test/data/no-blockette1000-steim1.mseed	\
++		  test/data/SRO-encoded.mseed			\
++		  test/data/Steim1-AllDifferences-BE.mseed	\
++		  test/data/Steim1-AllDifferences-LE.mseed	\
++		  test/data/Steim2-AllDifferences-BE.mseed	\
++		  test/data/Steim2-AllDifferences-LE.mseed	\
++		  test/data/text-encoded.mseed			\
++		  test/data/unapplied-timecorrection.mseed	\
++		  test/pack-Float32-encoded.test.ref		\
++		  test/pack-Float64-encoded.test.ref		\
++		  test/pack-Int16-encoded.test.ref		\
++		  test/pack-Int32-encoded.test.ref		\
++		  test/pack-Steim1-encoded.test.ref		\
++		  test/pack-Steim2-encoded.test.ref		\
++		  test/pack-text-encoded.test.ref		\
++		  test/read-CDSN-encoded.test.ref		\
++		  test/read-DWWSSN-encoded.test.ref		\
++		  test/read-Float32-encoded.test.ref		\
++		  test/read-Float64-encoded.test.ref		\
++		  test/read-GEOSCOPE163-encoded.test.ref	\
++		  test/read-Int16-encoded.test.ref		\
++		  test/read-Int32-1024byte-encoded.test.ref	\
++		  test/read-Int32-128byte-encoded.test.ref	\
++		  test/read-Int32-2048byte-encoded.test.ref	\
++		  test/read-Int32-256byte-encoded.test.ref	\
++		  test/read-Int32-4096byte-encoded.test.ref	\
++		  test/read-Int32-512byte-encoded.test.ref	\
++		  test/read-Int32-8192byte-encoded.test.ref	\
++		  test/read-SRO-encoded.test.ref		\
++		  test/read-Steim1-bigendian.test.ref		\
++		  test/read-Steim1-littleendian.test.ref	\
++		  test/read-Steim2-bigendian.test.ref		\
++		  test/read-Steim2-littleendian.test.ref	\
++		  test/read-detection-record.test.ref		\
++		  test/read-invalid-blockette-offset.test.ref	\
++		  test/read-mixed-order-mixed-length-trace.test.ref	\
++		  test/read-no-blockette1000.test.ref		\
++		  test/read-text-encoded.test.ref		\
++		  test/read-unapplied-timecorrection.test.ref
++
++dist_man_MANS	= doc/ms_bigendianhost.3 doc/ms_doy2md.3 doc/ms_find_reclen.3		\
++		  doc/ms_genfactmult.3 doc/ms_gswap.3 doc/ms_intro.3 doc/ms_log.3	\
++		  doc/ms_lookup.3 doc/ms_parse_raw.3 doc/ms_readleapseconds.3		\
++		  doc/ms_readmsr.3 doc/ms_selection.3 doc/ms_splitsrcname.3		\
++		  doc/ms_srcname.3 doc/ms_strncpclean.3 doc/ms_time.3 			\
++		  doc/ms_writemseed.3 doc/msr_addblockette.3 doc/msr_duplicate.3	\
++		  doc/msr_host_latency.3 doc/msr_init.3 doc/msr_normalize_header.3	\
++		  doc/msr_pack.3 doc/msr_parse.3 doc/msr_print.3 doc/msr_samprate.3	\
++		  doc/msr_starttime.3 doc/msr_unpack.3 doc/mst_addmsr.3			\
++		  doc/mst_convertsamples.3 doc/mst_findmatch.3 doc/mst_groupsort.3	\
++		  doc/mst_init.3 doc/mst_pack.3 doc/mst_printtracelist.3		\
++		  doc/mstl_addmsr.3 doc/mstl_init.3 doc/mstl_printtracelist.3
++
++dist_doc_DATA	= doc/libmseed-UsersGuide
++
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = mseed.pc
++
++install-data-hook:
++	cd $(DESTDIR)$(mandir)/man3 && \
++	for link in ms_gswap2.3 ms_gswap3.3 ms_gswap4.3 ms_gswap8.3 \
++			ms_gswap2a.3 ms_gswap4a.3 ms_gswap8a.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_gswap.3 $$link; \
++	done ; \
++	rm -f ms_md2doy.3; \
++	$(LN_S) ms_doy2md.3 ms_md2doy.3; \
++	rm -f ms_ratapprox.3 ; \
++	$(LN_S) ms_genfactmult.3 ms_ratapprox.3; \
++	for link in ms_errorstr.3 ms_samplesize.3 ms_encodingstr.3 \
++			ms_blktdesc.3 ms_blktlen.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_lookup.3 $$link; \
++	done ; \
++	for link in ms_log_l.3 ms_loginit.3 ms_loginit_l.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_log.3 $$link; \
++	done ; \
++	for link in ms_readmsr_r.3 ms_readtraces.3 ms_readtraces_timewin.3 \
++			ms_readtraces_selection.3 ms_readtracelist.3 \
++			ms_readtracelist_timewin.3 ms_readtracelist_selection.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_readmsr.3 $$link; \
++	done ; \
++	for link in ms_recsrcname.3 msr_srcname.3 mst_srcname.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_srcname.3 $$link; \
++	done ; \
++	rm -f ms_strncpopen.3 ; \
++	$(LN_S) ms_strncpclean.3 ms_strncpopen.3 ; \
++	for link in ms_btime3hptime.3 ms_btime2isotimestr.3 ms_btime2mdtimestr.3 \
++			ms_btime2seedtimestr.3 ms_hptime2btime.3 ms_hptime2isotimestr.3 \
++			ms_hptime2mdtimestr.3 ms_hptime2seedtimestr.3 ms_time2hptime.3 \
++			ms_seedtimestr2hptime.3 ms_timestr2hptime.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_time.3 $$link; \
++	done ; \
++	for link in msr_free.3 msr_free_blktchain.3 ; do \
++		rm -f $$link; \
++		$(LN_S) msr_init.3 $$link; \
++	done ; \
++	rm -f msr_pack_header.3 ; \
++	$(LN_S) msr_pack.3 msr_pack_header.3 ; \
++	rm -f msr_nomsamprate.3 ; \
++	$(LN_S) msr_samprate.3 msr_nomsamprate.3 ; \
++	for link in msr_starttime_uc.3 msr_endtime.3 ; do \
++		rm -f $$link; \
++		$(LN_S) msr_starttime.3 $$link; \
++	done ; \
++	for link in mst_addspan.3 mst_addmsrtogroup.3 mst_addtracetogroup.3 ; do \
++		rm -f $$link; \
++		$(LN_S) mst_addmsr.3 $$link; \
++	done ; \
++	rm -f mst_findadjacent.3 ; \
++	$(LN_S) mst_findmatch.3 mst_findadjacent.3 ; \
++	rm -f mst_groupheal.3 ; \
++	$(LN_S) mst_groupsort.3 mst_groupheal.3 ; \
++	for link in mst_free.3 mst_initgroup.3 mst_freegroup.3 ; do \
++		rm -f $$link; \
++		$(LN_S) mst_init.3 $$link; \
++	done ; \
++	rm -f mst_packgroup.3 ; \
++	$(LN_S) mst_pack.3 mst_packgroup.3 ; \
++	for link in mst_printsynclist.3 mst_printgaplist.3 ; do \
++		rm -f $$link; \
++		$(LN_S) mst_printtracelist.3 $$link; \
++	done ; \
++	rm -f mstl_convertsamples.3 ; \
++	$(LN_S) mst_convertsamples.3 mstl_convertsamples.3 ; \
++	rm -f mstl_free.3 ; \
++	$(LN_S) mstl_init.3 mstl_free.3 ; \
++	for link in mstl_printsynclist.3 mstl_printgaplist.3 ; do \
++		rm -f $$link; \
++		$(LN_S) mstl_printtracelist.3 $$link; \
++	done ; \
++	for link in ms_freeselections.3 ms_addselect.3 ms_addselect_comp.3 \
++			ms_matchselect.3 ms_readselectionsfile.3 ms_printselections.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_selection.3 $$link; \
++	done ; \
++	for link in msr_parse_selection.3 ms_detect.3 ; do \
++		rm -f $$link; \
++		$(LN_S) msr_parse.3 $$link; \
++	done ; \
++	for link in msr_writemseed.3 mst_writemseed.3 mst_writemseedgroup.3 ; do \
++		rm -f $$link; \
++		$(LN_S) ms_writemseed.3 $$link; \
++	done ; \
++	rm -f ms_readleapsecondfile.3 ; \
++	$(LN_S) ms_readleapseconds.3 ms_readleapsecondfile.3
++
++uninstall-hook:
++	cd $(DESTDIR)$(mandir)/man3 && \
++	rm -f ms_addselect.3 ms_addselect_comp.3 ms_blktdesc.3 ms_blktlen.3 \
++		ms_btime2isotimestr.3 ms_btime2mdtimestr.3 ms_btime2seedtimestr.3 \
++		ms_btime3hptime.3 ms_detect.3 ms_encodingstr.3 ms_errorstr.3 \
++		ms_freeselections.3 ms_gswap2.3 ms_gswap2a.3 ms_gswap3.3 ms_gswap4.3 \
++		ms_gswap4a.3 ms_gswap8.3 ms_gswap8a.3 ms_hptime2btime.3 \
++		ms_hptime2isotimestr.3 ms_hptime2mdtimestr.3 ms_hptime2seedtimestr.3 \
++		ms_log_l.3 ms_loginit.3 ms_loginit_l.3 ms_matchselect.3 ms_md2doy.3 \
++		ms_printselections.3 ms_ratapprox.3 ms_readleapsecondfile.3 \
++		ms_readmsr_r.3 ms_readselectionsfile.3 ms_readtracelist.3 \
++		ms_readtracelist_selection.3 ms_readtracelist_timewin.3 \
++		ms_readtraces.3 ms_readtraces_selection.3 ms_readtraces_timewin.3 \
++		ms_recsrcname.3 ms_samplesize.3 ms_seedtimestr2hptime.3 \
++		ms_strncpopen.3 ms_time2hptime.3 ms_timestr2hptime.3 msr_endtime.3 \
++		msr_free.3 msr_free_blktchain.3 msr_nomsamprate.3 msr_pack_header.3 \
++		msr_parse_selection.3 msr_srcname.3 msr_starttime_uc.3 msr_writemseed.3 \
++		mst_addmsrtogroup.3 mst_addspan.3 mst_addtracetogroup.3 \
++		mst_findadjacent.3 mst_free.3 mst_freegroup.3 mst_groupheal.3 \
++		mst_initgroup.3 mst_packgroup.3 mst_printgaplist.3 mst_printsynclist.3 \
++		mst_srcname.3 mst_writemseed.3 mst_writemseedgroup.3 \
++		mstl_convertsamples.3 mstl_free.3 mstl_printgaplist.3 mstl_printsynclist.3
+diff --git a/NEWS b/NEWS
+new file mode 100644
+index 0000000..e69de29
+diff --git a/configure.ac b/configure.ac
+new file mode 100644
+index 0000000..ea7d9de
+--- /dev/null
++++ b/configure.ac
+@@ -0,0 +1,39 @@
++AC_PREREQ([2.69])
++AC_INIT([libmseed], [2.18], [chad at iris.washington.edu], [],
++	[http://ds.iris.edu/ds/nodes/dmc/software/downloads/libmseed/])
++AC_CONFIG_SRCDIR([fileutils.c])
++AC_CONFIG_HEADERS([config.h])
++AC_CONFIG_AUX_DIR([build-aux])
++AC_CONFIG_MACRO_DIR([m4])
++AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])
++AM_PROG_AR
++LT_INIT
++# Checks for programs.
++AC_PROG_CC
++AC_PROG_INSTALL
++AC_PROG_LN_S
++
++# Checks for header files.
++AC_CHECK_HEADERS([fcntl.h inttypes.h memory.h stdlib.h string.h unistd.h])
++
++# Checks for typedefs, structures, and compiler characteristics.
++AC_TYPE_INT16_T
++AC_TYPE_INT32_T
++AC_TYPE_INT64_T
++AC_TYPE_INT8_T
++AC_TYPE_OFF_T
++AC_TYPE_SIZE_T
++AC_TYPE_UINT16_T
++AC_TYPE_UINT32_T
++AC_TYPE_UINT64_T
++AC_TYPE_UINT8_T
++
++# Checks for library functions.
++AC_FUNC_FSEEKO
++AC_FUNC_MALLOC
++AC_FUNC_REALLOC
++AC_CHECK_FUNCS([memmove memset strchr strdup strerror strspn strtol strtoul])
++
++AC_CONFIG_FILES([Makefile mseed.pc])
++
++AC_OUTPUT
+diff --git a/mseed.pc.in b/mseed.pc.in
+new file mode 100644
+index 0000000..7fcac74
+--- /dev/null
++++ b/mseed.pc.in
+@@ -0,0 +1,12 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: @PACKAGE_NAME@
++Description: The Mini-SEED library provides a framework for manipulation of SEED
++ (Standard for the Exchange of Earthquake Data) data records.
++URL: @PACKAGE_URL@
++Version: @VERSION@
++Cflags: -I${includedir}
++Libs: -L${libdir} -lmseed
+diff --git a/test/pack-Float32-encoded.test b/test/pack-Float32-encoded.test
+index 1cefb6c..ac43042 100755
+--- a/test/pack-Float32-encoded.test
++++ b/test/pack-Float32-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestpack -e 4 -o -
++./test/lmtestpack -e 4 -o - | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/pack-Float64-encoded.test b/test/pack-Float64-encoded.test
+index d0addab..c1a2879 100755
+--- a/test/pack-Float64-encoded.test
++++ b/test/pack-Float64-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestpack -e 5 -o -
++./test/lmtestpack -e 5 -o - | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/pack-Int16-encoded.test b/test/pack-Int16-encoded.test
+index 8801c40..431a04f 100755
+--- a/test/pack-Int16-encoded.test
++++ b/test/pack-Int16-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestpack -e 1 -o -
++./test/lmtestpack -e 1 -o - | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/pack-Int32-encoded.test b/test/pack-Int32-encoded.test
+index 86e0a4c..340f1bb 100755
+--- a/test/pack-Int32-encoded.test
++++ b/test/pack-Int32-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestpack -e 3 -o -
++./test/lmtestpack -e 3 -o -  | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/pack-Steim1-encoded.test b/test/pack-Steim1-encoded.test
+index e951850..3750aba 100755
+--- a/test/pack-Steim1-encoded.test
++++ b/test/pack-Steim1-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestpack -e 10 -o -
++./test/lmtestpack -e 10 -o - | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/pack-Steim2-encoded.test b/test/pack-Steim2-encoded.test
+index 8caf1cd..75ae86d 100755
+--- a/test/pack-Steim2-encoded.test
++++ b/test/pack-Steim2-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestpack -e 11 -o -
++./test/lmtestpack -e 11 -o - | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/pack-text-encoded.test b/test/pack-text-encoded.test
+index 62b9cfb..793a9cd 100755
+--- a/test/pack-text-encoded.test
++++ b/test/pack-text-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestpack -e 0 -o -
++./test/lmtestpack -e 0 -o - | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-CDSN-encoded.test b/test/read-CDSN-encoded.test
+index 3289674..d2076ce 100755
+--- a/test/read-CDSN-encoded.test
++++ b/test/read-CDSN-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/CDSN-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/CDSN-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-DWWSSN-encoded.test b/test/read-DWWSSN-encoded.test
+index b75c63f..6696c1e 100755
+--- a/test/read-DWWSSN-encoded.test
++++ b/test/read-DWWSSN-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/DWWSSN-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/DWWSSN-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Float32-encoded.test b/test/read-Float32-encoded.test
+index 7afce92..2dbecde 100755
+--- a/test/read-Float32-encoded.test
++++ b/test/read-Float32-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Float32-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Float32-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Float64-encoded.test b/test/read-Float64-encoded.test
+index c85dea8..96caa99 100755
+--- a/test/read-Float64-encoded.test
++++ b/test/read-Float64-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Float64-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Float64-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-GEOSCOPE163-encoded.test b/test/read-GEOSCOPE163-encoded.test
+index ac8753e..d1203c8 100755
+--- a/test/read-GEOSCOPE163-encoded.test
++++ b/test/read-GEOSCOPE163-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/GEOSCOPE-16bit-3exp-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/GEOSCOPE-16bit-3exp-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int16-encoded.test b/test/read-Int16-encoded.test
+index 51f35e9..4bea8e0 100755
+--- a/test/read-Int16-encoded.test
++++ b/test/read-Int16-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int16-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int16-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int32-1024byte-encoded.test b/test/read-Int32-1024byte-encoded.test
+index d5c9a21..2d44748 100755
+--- a/test/read-Int32-1024byte-encoded.test
++++ b/test/read-Int32-1024byte-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-1024byte.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int32-1024byte.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int32-128byte-encoded.test b/test/read-Int32-128byte-encoded.test
+index 0969d8f..2a20622 100755
+--- a/test/read-Int32-128byte-encoded.test
++++ b/test/read-Int32-128byte-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-128byte.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int32-128byte.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int32-2048byte-encoded.test b/test/read-Int32-2048byte-encoded.test
+index ce9f3eb..cd4600f 100755
+--- a/test/read-Int32-2048byte-encoded.test
++++ b/test/read-Int32-2048byte-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-2048byte.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int32-2048byte.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int32-256byte-encoded.test b/test/read-Int32-256byte-encoded.test
+index 5c4c17e..dbddb74 100755
+--- a/test/read-Int32-256byte-encoded.test
++++ b/test/read-Int32-256byte-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-256byte.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int32-256byte.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int32-4096byte-encoded.test b/test/read-Int32-4096byte-encoded.test
+index 9a05d9a..8fa711d 100755
+--- a/test/read-Int32-4096byte-encoded.test
++++ b/test/read-Int32-4096byte-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-4096byte.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int32-4096byte.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int32-512byte-encoded.test b/test/read-Int32-512byte-encoded.test
+index e61ce69..69f76dc 100755
+--- a/test/read-Int32-512byte-encoded.test
++++ b/test/read-Int32-512byte-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-512byte.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int32-512byte.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Int32-8192byte-encoded.test b/test/read-Int32-8192byte-encoded.test
+index 9edba1c..9af38b6 100755
+--- a/test/read-Int32-8192byte-encoded.test
++++ b/test/read-Int32-8192byte-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-8192byte.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Int32-8192byte.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-SRO-encoded.test b/test/read-SRO-encoded.test
+index 1e6f6ae..e2ed67b 100755
+--- a/test/read-SRO-encoded.test
++++ b/test/read-SRO-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/SRO-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/SRO-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Steim1-bigendian.test b/test/read-Steim1-bigendian.test
+index dde0a07..f282bbb 100755
+--- a/test/read-Steim1-bigendian.test
++++ b/test/read-Steim1-bigendian.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Steim1-AllDifferences-BE.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Steim1-AllDifferences-BE.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Steim1-littleendian.test b/test/read-Steim1-littleendian.test
+index 5b14300..eac8638 100755
+--- a/test/read-Steim1-littleendian.test
++++ b/test/read-Steim1-littleendian.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Steim1-AllDifferences-LE.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Steim1-AllDifferences-LE.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Steim2-bigendian.test b/test/read-Steim2-bigendian.test
+index 9325e0c..b6ecacd 100755
+--- a/test/read-Steim2-bigendian.test
++++ b/test/read-Steim2-bigendian.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Steim2-AllDifferences-BE.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Steim2-AllDifferences-BE.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-Steim2-littleendian.test b/test/read-Steim2-littleendian.test
+index 070a304..863b387 100755
+--- a/test/read-Steim2-littleendian.test
++++ b/test/read-Steim2-littleendian.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Steim2-AllDifferences-LE.mseed -D
++./test/lmtestparse ${srcdir}/test/data/Steim2-AllDifferences-LE.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-detection-record.test b/test/read-detection-record.test
+index 485f89f..4c193c8 100755
+--- a/test/read-detection-record.test
++++ b/test/read-detection-record.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/detection.record.mseed -pp
++./test/lmtestparse ${srcdir}/test/data/detection.record.mseed -pp 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-invalid-blockette-offset.test b/test/read-invalid-blockette-offset.test
+index 19b897f..9a1e2d8 100755
+--- a/test/read-invalid-blockette-offset.test
++++ b/test/read-invalid-blockette-offset.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/invalid-blockette-offset.mseed
++./test/lmtestparse ${srcdir}/test/data/invalid-blockette-offset.mseed 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-mixed-order-mixed-length-trace.test b/test/read-mixed-order-mixed-length-trace.test
+index 2de67bb..fbd8dd8 100755
+--- a/test/read-mixed-order-mixed-length-trace.test
++++ b/test/read-mixed-order-mixed-length-trace.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/Int32-oneseries-mixedlengths-mixedorder.mseed -tg
++./test/lmtestparse ${srcdir}/test/data/Int32-oneseries-mixedlengths-mixedorder.mseed -tg 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-no-blockette1000.test b/test/read-no-blockette1000.test
+index ca83fed..6972c6e 100755
+--- a/test/read-no-blockette1000.test
++++ b/test/read-no-blockette1000.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/no-blockette1000-steim1.mseed -d -pp
++./test/lmtestparse ${srcdir}/test/data/no-blockette1000-steim1.mseed -d -pp 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-text-encoded.test b/test/read-text-encoded.test
+index 22a5fb2..4a35887 100755
+--- a/test/read-text-encoded.test
++++ b/test/read-text-encoded.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/text-encoded.mseed -D
++./test/lmtestparse ${srcdir}/test/data/text-encoded.mseed -D 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
+diff --git a/test/read-unapplied-timecorrection.test b/test/read-unapplied-timecorrection.test
+index caab550..fc00049 100755
+--- a/test/read-unapplied-timecorrection.test
++++ b/test/read-unapplied-timecorrection.test
+@@ -1,2 +1,2 @@
+ #!/bin/sh
+-./lmtestparse data/unapplied-timecorrection.mseed -pp
++./test/lmtestparse ${srcdir}/test/data/unapplied-timecorrection.mseed -pp 2>&1 | diff - ${srcdir}/test/`basename $0`.ref
diff --git a/debian/patches/0002-manpages-fixed-a-few-typos-detected-by-lintian-and-c.patch b/debian/patches/0002-manpages-fixed-a-few-typos-detected-by-lintian-and-c.patch
new file mode 100644
index 0000000..e83d5f3
--- /dev/null
+++ b/debian/patches/0002-manpages-fixed-a-few-typos-detected-by-lintian-and-c.patch
@@ -0,0 +1,613 @@
+From: Pierre Duperray <pierreduperray at free.fr>
+Date: Sat, 18 Feb 2017 12:02:26 +0100
+Subject: manpages: fixed a few typos detected by lintian and changes some
+ DESCRIPTION tags to NAME to conform debian
+
+---
+ doc/ms_bigendianhost.3     |  4 ++--
+ doc/ms_doy2md.3            |  4 ++--
+ doc/ms_find_reclen.3       |  4 ++--
+ doc/ms_genfactmult.3       |  4 ++--
+ doc/ms_gswap.3             |  4 ++--
+ doc/ms_intro.3             |  4 ++--
+ doc/ms_log.3               |  2 +-
+ doc/ms_lookup.3            |  4 ++--
+ doc/ms_parse_raw.3         |  4 ++--
+ doc/ms_readleapseconds.3   |  4 ++--
+ doc/ms_readmsr.3           |  6 +++---
+ doc/ms_selection.3         | 12 ++++++------
+ doc/ms_splitsrcname.3      |  4 ++--
+ doc/ms_srcname.3           |  4 ++--
+ doc/ms_strncpclean.3       |  4 ++--
+ doc/ms_time.3              |  4 ++--
+ doc/ms_writemseed.3        |  4 ++--
+ doc/msr_addblockette.3     |  4 ++--
+ doc/msr_duplicate.3        |  4 ++--
+ doc/msr_host_latency.3     |  4 ++--
+ doc/msr_init.3             |  4 ++--
+ doc/msr_normalize_header.3 |  4 ++--
+ doc/msr_pack.3             |  4 ++--
+ doc/msr_parse.3            |  6 +++---
+ doc/msr_print.3            |  4 ++--
+ doc/msr_samprate.3         |  4 ++--
+ doc/msr_starttime.3        |  4 ++--
+ doc/msr_unpack.3           |  4 ++--
+ doc/mst_addmsr.3           |  4 ++--
+ doc/mst_convertsamples.3   |  6 +++---
+ doc/mst_findmatch.3        |  4 ++--
+ doc/mst_groupsort.3        |  4 ++--
+ doc/mst_init.3             |  4 ++--
+ doc/mst_pack.3             |  4 ++--
+ doc/mst_printtracelist.3   |  4 ++--
+ doc/mstl_addmsr.3          |  4 ++--
+ doc/mstl_init.3            |  6 +++---
+ doc/mstl_printtracelist.3  |  4 ++--
+ 38 files changed, 83 insertions(+), 83 deletions(-)
+
+diff --git a/doc/ms_bigendianhost.3 b/doc/ms_bigendianhost.3
+index f98ae05..ad35935 100644
+--- a/doc/ms_bigendianhost.3
++++ b/doc/ms_bigendianhost.3
+@@ -1,6 +1,6 @@
+ .TH MS_BIGENDIANHOST 3 2004/11/22 "Libmseed API"
+-.SH DESCRIPTION
+-Determine host computer byte order
++.SH NAME
++ms_bigendianhost - Determine host computer byte order
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_doy2md.3 b/doc/ms_doy2md.3
+index f761464..1c2c50a 100644
+--- a/doc/ms_doy2md.3
++++ b/doc/ms_doy2md.3
+@@ -1,6 +1,6 @@
+ .TH MS_DOY2MD 3 2004/11/22 "Libmseed API"
+-.SH DESCRIPTION
+-Convert between day of year and month and day of month
++.SH NAME
++ms_doy2md - Convert between day of year and month and day of month
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_find_reclen.3 b/doc/ms_find_reclen.3
+index 4824139..19323cb 100644
+--- a/doc/ms_find_reclen.3
++++ b/doc/ms_find_reclen.3
+@@ -1,6 +1,6 @@
+ .TH MS_FIND_RECLEN 3 2006/11/08 "Libmseed API"
+-.SH DESCRIPTION
+-Determine SEED record data length
++.SH NAME
++ms_find_reclen - Determine SEED record data length
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_genfactmult.3 b/doc/ms_genfactmult.3
+index 8923b73..9cd7958 100644
+--- a/doc/ms_genfactmult.3
++++ b/doc/ms_genfactmult.3
+@@ -1,6 +1,6 @@
+ .TH MS_GENFACTMULT 3 2016/10/07 "Libmseed API"
+-.SH DESCRIPTION
+-Generate SEED sample rate factor and multiplier
++.SH NAME
++ms_genfactmult - Generate SEED sample rate factor and multiplier
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_gswap.3 b/doc/ms_gswap.3
+index 6edcd14..cf32912 100644
+--- a/doc/ms_gswap.3
++++ b/doc/ms_gswap.3
+@@ -1,6 +1,6 @@
+ .TH MS_GSWAP 3 2006/12/20 "Libmseed API"
+-.SH DESCRIPTION
+-Generalized, in-place byte swapping routines
++.SH NAME
++ms_gswap - Generalized, in-place byte swapping routines
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_intro.3 b/doc/ms_intro.3
+index c92ce62..21a14f4 100644
+--- a/doc/ms_intro.3
++++ b/doc/ms_intro.3
+@@ -1,6 +1,6 @@
+ .TH MS_INTRO 3 2013/07/17
+ .SH NAME
+-Introduction to libmseed
++ms_intro - Introduction to libmseed
+ 
+ .SH INTRODUCTION
+ 
+@@ -420,7 +420,7 @@ little endian but that the data section is big endian (as the only
+ defined data encodings must be based on the SEED DDL which, in turn,
+ must be defined in terms of big endian).  Libmseed will not create
+ MiniSEED of this flavor by default but can be configured to do so by
+-setting the environment variables described above approriately.
++setting the environment variables described above appropriately.
+ 
+ .SH COMMON USAGE
+ 
+diff --git a/doc/ms_log.3 b/doc/ms_log.3
+index f616e1b..cfcceb7 100644
+--- a/doc/ms_log.3
++++ b/doc/ms_log.3
+@@ -1,6 +1,6 @@
+ .TH MS_LOG 3 2014/07/16
+ .SH NAME
+-ms_log and friends \- Central logging facility for libmseed
++ms_log - Central logging facility for libmseed
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_lookup.3 b/doc/ms_lookup.3
+index 857356e..ec6b163 100644
+--- a/doc/ms_lookup.3
++++ b/doc/ms_lookup.3
+@@ -1,6 +1,6 @@
+ .TH MS_LOOKUP 3 2006/12/12 "Libmseed API"
+-.SH DESCRIPTION
+-Look up libmseed and Mini-SEED related information
++.SH NAME
++ms_lookup - Look up libmseed and Mini-SEED related information
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_parse_raw.3 b/doc/ms_parse_raw.3
+index 2ec72c6..e41ca30 100644
+--- a/doc/ms_parse_raw.3
++++ b/doc/ms_parse_raw.3
+@@ -1,6 +1,6 @@
+ .TH MSR_PARSE 3 2010/12/30 "Libmseed API"
+-.SH DESCRIPTION
+-Parse, validate and print details of a SEED data record
++.SH NAME
++msr_parse - Parse, validate and print details of a SEED data record
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_readleapseconds.3 b/doc/ms_readleapseconds.3
+index fa006ea..d4f3c2d 100644
+--- a/doc/ms_readleapseconds.3
++++ b/doc/ms_readleapseconds.3
+@@ -1,6 +1,6 @@
+ .TH MS_READLEAPSECONDS 3 2016/10/01 "Libmseed API"
+-.SH DESCRIPTION
+-Read a leap second file into a global buffer
++.SH NAME
++ms_readleapseconds - Read a leap second file into a global buffer
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_readmsr.3 b/doc/ms_readmsr.3
+index f5eb65a..3835c1d 100644
+--- a/doc/ms_readmsr.3
++++ b/doc/ms_readmsr.3
+@@ -1,6 +1,6 @@
+ .TH MS_READMSR 3 2011/01/06 "Libmseed API"
+-.SH DESCRIPTION
+-Read Mini-SEED data from files
++.SH NAME
++ms_readmsr - Read Mini-SEED data from files
+ 
+ .SH SYNOPSIS
+ .nf
+@@ -73,7 +73,7 @@ file position (offset from the beginning in bytes) from where the
+ returned record was read.  As a special case, if \fIfpos\fP is not
+ NULL and the value it points to is less than zero it will be
+ interpreted as the (positive) offset in the file at which to begin
+-reading data; this feauture does not work with packed files.
++reading data; this feature does not work with packed files.
+ 
+ If the \fIlast\fP pointer is not NULL the value will be set to 1 when
+ the record at the end of the file is being returned, otherwise it will
+diff --git a/doc/ms_selection.3 b/doc/ms_selection.3
+index 9a2e2aa..625b2cd 100644
+--- a/doc/ms_selection.3
++++ b/doc/ms_selection.3
+@@ -1,6 +1,6 @@
+ .TH MS_SELECTION 3 2012/12/28 "Libmseed API"
+-.SH DESCRIPTION
+-Routines to manage and use data selection lists.
++.SH NAME
++ms_selection - Routines to manage and use data selection lists.
+ 
+ .SH SYNOPSIS
+ .nf
+@@ -112,7 +112,7 @@ IU   COLA 00   LHZ   *     2008,100,10,00,00 2008,100,10,30,00
+ 
+ .SH SRCNAME MATCHING
+ Entries in a Selections list include a "source name" (srcname) string
+-to represent matching paramters for network, station, location,
++to represent matching parameters for network, station, location,
+ channel and optionally the quality name components.  Each name
+ component may contain globbing characters to match more than one
+ unique srcname.
+@@ -124,9 +124,9 @@ Valid glob patterns include:
+    [set]   matches any character in the set
+    [^set]  matches any character NOT in the set
+            where a set is a group of characters or ranges. a range
+-           is written as two characters seperated with a hyphen:
++           is written as two characters separated with a hyphen:
+            a-z denotes all characters between a to z inclusive.
+-   [-set]  set matches a literal hypen and any character in the set
++   [-set]  set matches a literal hyphen and any character in the set
+    []set]  matches a literal close bracket and any character in the set
+ 
+    char    matches itself except where char is '*' or '?' or '['
+@@ -182,7 +182,7 @@ The following two calls are equivalent:
+   ms_addselect_comp (&selections, "IU", "ANMO", "00", "LH?", "?", startime, endtime);
+ .fi
+ 
+-As a futher convienence usage of \fBms_readselectionsfile()\fP would
++As a further convienence usage of \fBms_readselectionsfile()\fP would
+ allow the selections to be specified in a simple ASCII file and avoid
+ the need to directly call \fBms_addselect()\fP.
+ 
+diff --git a/doc/ms_splitsrcname.3 b/doc/ms_splitsrcname.3
+index 4539137..5b70652 100644
+--- a/doc/ms_splitsrcname.3
++++ b/doc/ms_splitsrcname.3
+@@ -1,6 +1,6 @@
+ .TH MS_SPLITSRCNAME 3 2009/12/19 "Libmseed API"
+-.SH DESCRIPTION
+-Split source names into the SEED naming nomenclature.
++.SH NAME
++ms_splitsrcname - Split source names into the SEED naming nomenclature.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_srcname.3 b/doc/ms_srcname.3
+index 7f939fd..551ce6f 100644
+--- a/doc/ms_srcname.3
++++ b/doc/ms_srcname.3
+@@ -1,6 +1,6 @@
+ .TH MS_SRCNAME 3 2006/11/27 "Libmseed API"
+-.SH DESCRIPTION
+-Determine source names using the SEED naming nomenclature.
++.SH NAME
++ms_srcname - Determine source names using the SEED naming nomenclature.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_strncpclean.3 b/doc/ms_strncpclean.3
+index 8937f21..d2ca3cf 100644
+--- a/doc/ms_strncpclean.3
++++ b/doc/ms_strncpclean.3
+@@ -1,6 +1,6 @@
+ .TH MS_STRNCPCLEAN 3 2004/11/22 "Libmseed API"
+-.SH DESCRIPTION
+-Non-standard string copying
++.SH NAME
++ms_strncpclean - Non-standard string copying
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_time.3 b/doc/ms_time.3
+index 34c6b9a..5c5c367 100644
+--- a/doc/ms_time.3
++++ b/doc/ms_time.3
+@@ -1,6 +1,6 @@
+ .TH MS_TIME 3 2013/02/22 "Libmseed API"
+-.SH DESCRIPTION
+-Time conversion and string generation
++.SH NAME
++ms_time - Time conversion and string generation
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/ms_writemseed.3 b/doc/ms_writemseed.3
+index 6f4c556..ca91d15 100644
+--- a/doc/ms_writemseed.3
++++ b/doc/ms_writemseed.3
+@@ -1,6 +1,6 @@
+ .TH MS_WRITEMSEED 3 2011/01/06 "Libmseed API"
+-.SH DESCRIPTION
+-Write Mini-SEED records to files.
++.SH NAME
++ms_writemseed - Write Mini-SEED records to files.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_addblockette.3 b/doc/msr_addblockette.3
+index f7d3d91..6a5c4e8 100644
+--- a/doc/msr_addblockette.3
++++ b/doc/msr_addblockette.3
+@@ -1,6 +1,6 @@
+ .TH MSR_ADDBLOCKETTE 3 2006/02/27 "Libmseed API"
+-.SH DESCRIPTION
+-Add a blockette to the blockette chain of an MSRecord structure
++.SH NAME
++msr_addblockette - Add a blockette to the blockette chain of an MSRecord structure
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_duplicate.3 b/doc/msr_duplicate.3
+index 0de018a..d97d0b2 100644
+--- a/doc/msr_duplicate.3
++++ b/doc/msr_duplicate.3
+@@ -1,6 +1,6 @@
+ .TH MSR_DUPLICATE 3 2007/04/28 "Libmseed API"
+-.SH DESCRIPTION
+-Duplicate an MSRecord structure
++.SH NAME
++msr_duplicate - Duplicate an MSRecord structure
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_host_latency.3 b/doc/msr_host_latency.3
+index 855b6d3..421e9e8 100644
+--- a/doc/msr_host_latency.3
++++ b/doc/msr_host_latency.3
+@@ -1,6 +1,6 @@
+ .TH MSR_HOST_LATENCY 3 2006/02/27 "Libmseed API"
+-.SH DESCRIPTION
+-Calculate latency between last sample in a Mini-SEED record and the
++.SH NAME
++msr_host_latency - Calculate latency between last sample in a Mini-SEED record and the
+ host computer time.
+ 
+ .SH SYNOPSIS
+diff --git a/doc/msr_init.3 b/doc/msr_init.3
+index 89b4ad9..c619399 100644
+--- a/doc/msr_init.3
++++ b/doc/msr_init.3
+@@ -1,6 +1,6 @@
+ .TH MSR_INIT 3 2006/02/27 "Libmseed API"
+-.SH DESCRIPTION
+-Initializing and freeing MSRecord and related structures
++.SH NAME
++msr_init - Initializing and freeing MSRecord and related structures
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_normalize_header.3 b/doc/msr_normalize_header.3
+index de35685..52f990b 100644
+--- a/doc/msr_normalize_header.3
++++ b/doc/msr_normalize_header.3
+@@ -1,6 +1,6 @@
+ .TH MSR_NORMALIZE_HEADER 3 2007/04/28 "Libmseed API"
+-.SH DESCRIPTION
+-Normalize or synchronize the header fields of an MSRecord structure.
++.SH NAME
++msr_normalize_header - Normalize or synchronize the header fields of an MSRecord structure.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_pack.3 b/doc/msr_pack.3
+index 5fa8a3b..90d53a4 100644
+--- a/doc/msr_pack.3
++++ b/doc/msr_pack.3
+@@ -1,6 +1,6 @@
+ .TH MSR_PACK 3 2013/05/17 "Libmseed API"
+-.SH DESCRIPTION
+-Packing of Mini-SEED records.
++.SH NAME
++msr_pack - Packing of Mini-SEED records.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_parse.3 b/doc/msr_parse.3
+index 861af7c..7de7376 100644
+--- a/doc/msr_parse.3
++++ b/doc/msr_parse.3
+@@ -1,6 +1,6 @@
+ .TH MSR_PARSE 3 2013/01/07 "Libmseed API"
+-.SH DESCRIPTION
+-Detect and parse a SEED data record from a memory buffer
++.SH NAME
++msr_parse - Detect and parse a SEED data record from a memory buffer
+ 
+ .SH SYNOPSIS
+ .nf
+@@ -101,7 +101,7 @@ The following example illustrates the intended usage:
+           if ( verbose && offset < recbuflen )
+           ms_log (2, "Error parsing record at offset %"PRId64"\n", offset);
+         }
+-      else /* Succesfully found and parsed record */
++      else /* Successfully found and parsed record */
+         {
+           /* Do something with the record, for example print the details */
+           msr_print (msr, verbose);
+diff --git a/doc/msr_print.3 b/doc/msr_print.3
+index 81da16a..6fb0ca7 100644
+--- a/doc/msr_print.3
++++ b/doc/msr_print.3
+@@ -1,6 +1,6 @@
+ .TH MSR_PRINT 3 2006/11/27 "Libmseed API"
+-.SH DESCRIPTION
+-Printing of Mini-SEED record header values.
++.SH NAME
++msr_print - Printing of Mini-SEED record header values.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_samprate.3 b/doc/msr_samprate.3
+index 62ad076..e1399fe 100644
+--- a/doc/msr_samprate.3
++++ b/doc/msr_samprate.3
+@@ -1,6 +1,6 @@
+ .TH MSR_SAMPRATE 3 2006/02/27 "Libmseed API"
+-.SH DESCRIPTION
+-Determine sample rate from an MSRecord structure
++.SH NAME
++msr_samprate - Determine sample rate from an MSRecord structure
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_starttime.3 b/doc/msr_starttime.3
+index da4a58a..5a233f3 100644
+--- a/doc/msr_starttime.3
++++ b/doc/msr_starttime.3
+@@ -1,6 +1,6 @@
+ .TH MSR_STARTTIME 3 2015/03/02 "Libmseed API"
+-.SH DESCRIPTION
+-Start and end time determination for MSRecord structures
++.SH NAME
++msr_starttime - Start and end time determination for MSRecord structures
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/msr_unpack.3 b/doc/msr_unpack.3
+index 07e11fc..8a18d71 100644
+--- a/doc/msr_unpack.3
++++ b/doc/msr_unpack.3
+@@ -1,6 +1,6 @@
+ .TH MSR_UNPACK 3 2012/12/22 "Libmseed API"
+-.SH DESCRIPTION
+-Unpacking of Mini-SEED records.
++.SH NAME
++msr_unpack - Unpacking of Mini-SEED records.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mst_addmsr.3 b/doc/mst_addmsr.3
+index 08f5332..b085f98 100644
+--- a/doc/mst_addmsr.3
++++ b/doc/mst_addmsr.3
+@@ -1,6 +1,6 @@
+ .TH MST_ADDMSR 3 2013/05/17 "Libmseed API"
+-.SH DESCRIPTION
+-Add time coverage and data samples to MSTrace structures
++.SH NAME
++mst_addmsr - Add time coverage and data samples to MSTrace structures
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mst_convertsamples.3 b/doc/mst_convertsamples.3
+index 2c88e46..1c7758a 100644
+--- a/doc/mst_convertsamples.3
++++ b/doc/mst_convertsamples.3
+@@ -1,6 +1,6 @@
+ .TH MST_CONVERTSAMPLES 3 2013/10/01 "Libmseed API"
+-.SH DESCRIPTION
+-Convert data samples between numeric types
++.SH NAME
++mst_convertsamples - Convert data samples between numeric types
+ 
+ .SH SYNOPSIS
+ .nf
+@@ -19,7 +19,7 @@ The routines can convert between 32-bit integers (type \fIi\fP),
+ 32-bit floats (type \fIf\fP) and 64-bit doubles (type \fId\fP).
+ 
+ When converting float and double sample types to integer type a simple
+-rouding is applied by adding 0.5 to the sample value before converting
++rounding is applied by adding 0.5 to the sample value before converting
+ (truncating) to integer.  This compensates for common machine
+ representations of floating point values (e.g. "40.0" represented by
+ "39.99999999").
+diff --git a/doc/mst_findmatch.3 b/doc/mst_findmatch.3
+index 0bb5b9f..428d457 100644
+--- a/doc/mst_findmatch.3
++++ b/doc/mst_findmatch.3
+@@ -1,6 +1,6 @@
+ .TH MST_FINDMATCH 3 2006/02/27 "Libmseed API"
+-.SH DESCRIPTION
+-Searching a MSTraceGroup for specific MSTrace structures.
++.SH NAME
++mst_findmatch - Searching a MSTraceGroup for specific MSTrace structures.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mst_groupsort.3 b/doc/mst_groupsort.3
+index 9895507..10f8fac 100644
+--- a/doc/mst_groupsort.3
++++ b/doc/mst_groupsort.3
+@@ -1,6 +1,6 @@
+ .TH MST_GROUPSORT 3 2007/04/12 "Libmseed API"
+-.SH DESCRIPTION
+-Manipulate MSTrace segments in a MSTraceGroup
++.SH NAME
++mst_groupsort - Manipulate MSTrace segments in a MSTraceGroup
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mst_init.3 b/doc/mst_init.3
+index 25acebc..29a6c04 100644
+--- a/doc/mst_init.3
++++ b/doc/mst_init.3
+@@ -1,6 +1,6 @@
+ .TH MST_INIT 3 2006/10/10 "Libmseed API"
+-.SH DESCRIPTION
+-Initializing and freeing MSTrace and MSTraceGroup structures
++.SH NAME
++mst_init - Initializing and freeing MSTrace and MSTraceGroup structures
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mst_pack.3 b/doc/mst_pack.3
+index 6a84534..d21a54e 100644
+--- a/doc/mst_pack.3
++++ b/doc/mst_pack.3
+@@ -1,6 +1,6 @@
+ .TH MST_PACK 3 2013/05/17 "Libmseed API"
+-.SH DESCRIPTION
+-Packing of Mini-SEED records from MSTrace segments.
++.SH NAME
++mst_pack - Packing of Mini-SEED records from MSTrace segments.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mst_printtracelist.3 b/doc/mst_printtracelist.3
+index 9170388..ecb8f3f 100644
+--- a/doc/mst_printtracelist.3
++++ b/doc/mst_printtracelist.3
+@@ -1,6 +1,6 @@
+ .TH MST_PRINT 3 2008/11/21 "Libmseed API"
+-.SH DESCRIPTION
+-Printing of MSTrace information.
++.SH NAME
++mst_print - Printing of MSTrace information.
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mstl_addmsr.3 b/doc/mstl_addmsr.3
+index e549d8f..e7956d9 100644
+--- a/doc/mstl_addmsr.3
++++ b/doc/mstl_addmsr.3
+@@ -1,6 +1,6 @@
+ .TH MSTL_INIT 3 2008/11/21 "Libmseed API"
+-.SH DESCRIPTION
+-Adding MSRecord data coverage to and MSTraceList structure
++.SH NAME
++mstl_init - Adding MSRecord data coverage to and MSTraceList structure
+ 
+ .SH SYNOPSIS
+ .nf
+diff --git a/doc/mstl_init.3 b/doc/mstl_init.3
+index b355322..edd7f61 100644
+--- a/doc/mstl_init.3
++++ b/doc/mstl_init.3
+@@ -1,6 +1,6 @@
+ .TH MSTL_INIT 3 2008/11/21 "Libmseed API"
+-.SH DESCRIPTION
+-Initializing and freeing MSTraceList structures
++.SH NAME
++mstl_init - Initializing and freeing MSTraceList structures
+ 
+ .SH SYNOPSIS
+ .nf
+@@ -14,7 +14,7 @@ Initializing and freeing MSTraceList structures
+ .SH DESCRIPTION
+ \fBmstl_init\fP will initialize a MSTraceList structure.  If the
+ \fImstl\fP parameter is not NULL the structure will be cleared before
+-being reallocated any memory allocated for assosiated MSTraceID and
++being reallocated any memory allocated for associated MSTraceID and
+ relate sub-structures will be freed.
+ 
+ \fBmstl_free\fP will free all memory associated with a MSTraceList
+diff --git a/doc/mstl_printtracelist.3 b/doc/mstl_printtracelist.3
+index 77ff4db..17033f4 100644
+--- a/doc/mstl_printtracelist.3
++++ b/doc/mstl_printtracelist.3
+@@ -1,6 +1,6 @@
+ .TH MSTL_PRINT 3 2008/11/21 "Libmseed API"
+-.SH DESCRIPTION
+-Printing of MSTrace information.
++.SH NAME
++mstl_print - Printing of MSTrace information.
+ 
+ .SH SYNOPSIS
+ .nf
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2a0b0a6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-autotoolizing.patch
+0002-manpages-fixed-a-few-typos-detected-by-lintian-and-c.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libmseed2.git



More information about the debian-science-commits mailing list