[libmseed] 04/04: created patches from pq

Pierre Duperray zulu-guest at moszumanska.debian.org
Mon Feb 27 22:18:05 UTC 2017


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

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

commit 13a088b146452834e7fb934841b0015601e62675
Author: Pierre Duperray <pierreduperray at free.fr>
Date:   Mon Feb 27 23:08:34 2017 +0100

    created patches from pq
---
 debian/patches/0001-added-install-rule.patch       | 148 +++++
 .../0002-fixed-a-few-typos-in-man-pages.patch      | 613 +++++++++++++++++++++
 debian/patches/series                              |   2 +
 3 files changed, 763 insertions(+)

diff --git a/debian/patches/0001-added-install-rule.patch b/debian/patches/0001-added-install-rule.patch
new file mode 100644
index 0000000..993f74c
--- /dev/null
+++ b/debian/patches/0001-added-install-rule.patch
@@ -0,0 +1,148 @@
+From: Pierre Duperray <pierreduperray at free.fr>
+Date: Mon, 27 Feb 2017 22:51:10 +0100
+Subject: - added install rule - fixed a bug for passing the test suite when
+ building shared lib - added a linker version script to only export useful
+ symbols
+
+---
+ Makefile      | 40 ++++++++++++++++++++++++++++++++--------
+ libmseed.sym  |  8 ++++++++
+ mseed.pc.in   | 12 ++++++++++++
+ test/Makefile |  4 +++-
+ 4 files changed, 55 insertions(+), 9 deletions(-)
+ create mode 100644 libmseed.sym
+ create mode 100644 mseed.pc.in
+
+diff --git a/Makefile b/Makefile
+index 2cb7c9a..b74f6b4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,12 +3,23 @@
+ # environment variables:
+ #   CC : Specify the C compiler to use
+ #   CFLAGS : Specify compiler options to use
++#   LDFLAGS : Specify linker options to use
++#   CPPFLAGS : Specify c-preprocessor options to use
+ 
+ MAJOR_VER = 2
+ MINOR_VER = 18
+ CURRENT_VER = $(MAJOR_VER).$(MINOR_VER)
+ COMPAT_VER = $(MAJOR_VER).$(MINOR_VER)
+ 
++PREFIX	?= /usr/local
++EXEC_PREFIX ?= $(PREFIX)
++LIBDIR	?= $(EXEC_PREFIX)/lib
++INCLUDEDIR ?= $(PREFIX)/include
++DATAROOTDIR ?= $(PREFIX)/share
++DOCDIR	?= $(DATAROOTDIR)/doc/libmseed
++MANDIR ?= $(DATAROOTDIR)/man
++MAN3DIR ?= $(MANDIR)/man3
++
+ LIB_SRCS = fileutils.c genutils.c gswap.c lmplatform.c lookup.c \
+            msrutils.c pack.c packdata.c traceutils.c tracelist.c \
+            parseutils.c unpack.c unpackdata.c selection.c logging.c
+@@ -39,7 +50,7 @@ $(LIB_A): $(LIB_OBJS)
+ # Build shared library using GCC-style options
+ $(LIB_SO): $(LIB_DOBJS)
+ 	rm -f $(LIB_SO) $(LIB_SO_FILENAME)
+-	$(CC) $(CFLAGS) -shared -Wl,-soname -Wl,$(LIB_SO_ALIAS) -o $(LIB_SO) $(LIB_DOBJS)
++	$(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,--version-script=libmseed.sym -Wl,-soname -Wl,$(LIB_SO_ALIAS) -o $(LIB_SO) $(LIB_DOBJS)
+ 	ln -s $(LIB_SO) $(LIB_SO_ALIAS)
+ 	ln -s $(LIB_SO) $(LIB_SO_FILENAME)
+ 
+@@ -57,20 +68,33 @@ clean:
+ 	@$(MAKE) -C test clean
+ 	@echo "All clean."
+ 
+-install:
+-	@echo
+-	@echo "No install target, copy the library and header as needed"
+-	@echo
+-
++install: shared
++	mkdir -p $(DESTDIR)$(PREFIX)/include
++	cp libmseed.h lmplatform.h $(DESTDIR)$(PREFIX)/include
++	mkdir -p $(DESTDIR)$(LIBDIR)/pkgconfig
++	cp -d libmseed.so* $(DESTDIR)$(LIBDIR)
++	cp mseed.pc.in $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	sed -i 's|@prefix@|$(PREFIX)|g' $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	sed -i 's|@exec_prefix@|$(EXEC_PREFIX)|g' $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	sed -i 's|@libdir@|$(LIBDIR)|g' $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	sed -i 's|@includedir@|$(PREFIX)/include|g' $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	sed -i 's|@PACKAGE_NAME@|libmseed|g' $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	sed -i 's|@PACKAGE_URL@|http://ds.iris.edu/ds/nodes/dmc/software/downloads/libmseed/|g' $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	sed -i 's|@VERSION@|$(CURRENT_VER)|g' $(DESTDIR)$(LIBDIR)/pkgconfig/mseed.pc
++	mkdir -p $(DESTDIR)$(DOCDIR)/example
++	cp -r example/ $(DESTDIR)$(DOCDIR)/example
++	cp doc/libmseed-UsersGuide $(DESTDIR)$(DOCDIR)
++	mkdir -p $(DESTDIR)$(MAN3DIR)
++	cp -d doc/ms*.3 $(DESTDIR)$(MAN3DIR)
+ 
+ .SUFFIXES: .c .o .lo
+ 
+ # Standard object building
+ .c.o:
+-	$(CC) $(CFLAGS) -c $< -o $@
++	$(CC) $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+ 
+ # Standard object building for dynamic library components using -fPIC
+ .c.lo:
+-	$(CC) $(CFLAGS) -fPIC -c $< -o $@
++	$(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -c $< -o $@
+ 
+ FORCE:
+diff --git a/libmseed.sym b/libmseed.sym
+new file mode 100644
+index 0000000..d7ba10e
+--- /dev/null
++++ b/libmseed.sym
+@@ -0,0 +1,8 @@
++{
++  global:
++      ms_*; msr_*; mst_*; mstl_*;
++
++  local:
++      *;
++};
++      
+\ No newline at end of file
+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/Makefile b/test/Makefile
+index fe67726..3c47e39 100644
+--- a/test/Makefile
++++ b/test/Makefile
+@@ -26,6 +26,8 @@ FAILED := \033[0;31mFAILED\033[0m
+ 
+ TESTCOUNT := 0
+ 
++export LD_LIBRARY_PATH=..
++
+ test all: $(BINS) $(TESTOUTS)
+ 	@printf '%d tests conducted\n' $(TESTCOUNT)
+ 
+@@ -41,7 +43,7 @@ $(BINS) : % : %.c
+ # Run test scripts, create %.test.out files and compare to %.test.ref references
+ $(TESTOUTS) : %.test.out : %.test $(BINS) FORCE
+ 	@$(eval TESTCOUNT=$(shell echo $$(($(TESTCOUNT)+1))))
+-	@$(shell ./$< > $@ 2>&1)
++	@$(shell LD_LIBRARY_PATH=$(LD_LIBRARY_PATH) ./$< > $@ 2>&1)
+ 	@diff $<.ref $@ >/dev/null; \
+           if [ $$? -eq 0 ]; \
+             then printf '$(PASSED) Test $<\n'; \
diff --git a/debian/patches/0002-fixed-a-few-typos-in-man-pages.patch b/debian/patches/0002-fixed-a-few-typos-in-man-pages.patch
new file mode 100644
index 0000000..cc1ff13
--- /dev/null
+++ b/debian/patches/0002-fixed-a-few-typos-in-man-pages.patch
@@ -0,0 +1,613 @@
+From: Pierre Duperray <pierreduperray at free.fr>
+Date: Mon, 27 Feb 2017 22:52:27 +0100
+Subject: - fixed a few typos in man pages - replaced wrong DESCRIPTION with
+ NAME tag in man pages
+
+---
+ 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..c3ba87b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+0001-added-install-rule.patch
+0002-fixed-a-few-typos-in-man-pages.patch

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



More information about the debian-science-commits mailing list