[libgeotiff-dfsg] 03/06: Add patch to add manpages for applygeo & geotifcp, and fix listgeo manpage.

Bas Couwenberg sebastic at debian.org
Tue Aug 9 22:16:17 UTC 2016


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

sebastic pushed a commit to branch master
in repository libgeotiff-dfsg.

commit 48d61a5f02ab4149c232bd46c8e85b643b7e9bdc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Aug 9 23:33:23 2016 +0200

    Add patch to add manpages for applygeo & geotifcp, and fix listgeo manpage.
---
 debian/changelog                                   |   1 +
 debian/geotiff-bin.install                         |   1 +
 debian/geotiff-bin.manpages                        |   1 -
 .../patches/0003-Fix-macro-error-in-manfile.patch  |  14 --
 debian/patches/manpages.patch                      | 278 +++++++++++++++++++++
 debian/patches/series                              |   2 +-
 6 files changed, 281 insertions(+), 16 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d7c2c32..79e8fc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ libgeotiff-dfsg (1.4.1-4) UNRELEASED; urgency=medium
 
   * Add patch to not install makegeo, install source in examples instead.
   * Use dh-autoreconf instead of autotools-dev.
+  * Add patch to add manpages for applygeo & geotifcp, and fix listgeo manpage.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 09 Aug 2016 20:56:10 +0200
 
diff --git a/debian/geotiff-bin.install b/debian/geotiff-bin.install
index 1df36c6..1e73b78 100644
--- a/debian/geotiff-bin.install
+++ b/debian/geotiff-bin.install
@@ -1 +1,2 @@
 usr/bin/*
+usr/share/man/man1
diff --git a/debian/geotiff-bin.manpages b/debian/geotiff-bin.manpages
deleted file mode 100644
index d83bc7a..0000000
--- a/debian/geotiff-bin.manpages
+++ /dev/null
@@ -1 +0,0 @@
-man/man1/listgeo.1
diff --git a/debian/patches/0003-Fix-macro-error-in-manfile.patch b/debian/patches/0003-Fix-macro-error-in-manfile.patch
deleted file mode 100644
index 3e8b3eb..0000000
--- a/debian/patches/0003-Fix-macro-error-in-manfile.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-From: Johan Van de Wauw <johan.vandewauw at gmail.com>
-Date: Tue, 21 Oct 2014 21:12:36 +0200
-Subject: Fix macro error in manfile
-
---- a/man/man1/listgeo.1
-+++ b/man/man1/listgeo.1
-@@ -17,7 +17,6 @@ used as input to other programs which us
- geotifcp.
- 
- .SH OPTIONS
--.1
- listgeo accepts the following options:
- .TP 6
- .B \-d
diff --git a/debian/patches/manpages.patch b/debian/patches/manpages.patch
new file mode 100644
index 0000000..61d4a88
--- /dev/null
+++ b/debian/patches/manpages.patch
@@ -0,0 +1,278 @@
+Description: Add manpages for applygeo & geotifcp, also fix listgeo manpage.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://trac.osgeo.org/geotiff/ticket/77
+
+--- /dev/null
++++ b/man/man1/applygeo.1
+@@ -0,0 +1,31 @@
++\" TITLE: applygeo Man Pages
++\" AUTHOR: Bas Couwenberg <sebastic at debian.org>
++\"
++.TH APPLYGEO "1" "August 2016" "libgeotiff 1.4.1" "libgeotiff Manual Pages"
++.SH NAME
++applygeo \- apply georeferencing to an existing file
++
++.SH SYNOPSIS
++.B applygeo
++\fIfile.geo\fR \fIfile.tiff\fR
++.SH DESCRIPTION
++
++.PP
++.B applygeo
++is a utility for applying georeferencing to an existing file.
++
++.SH OPTIONS
++.TP 6
++\fIfile.geo\fR
++file containing projection (eg. from listgeo)
++.TP 6
++\fIfile.tiff\fR
++TIFF file into which the projection is written
++
++.SH AUTHORS
++jeskynar <jeskynar at hotmail.com> and Frank Warmerdam <warmerdam at pobox.com>.
++
++.SH "SEE ALSO"
++.BR geotifcp (1)
++.BR listgeo (1)
++
+--- a/man/man1/listgeo.1
++++ b/man/man1/listgeo.1
+@@ -1,50 +1,51 @@
+-\" TITLE: listgeo Man Pages
++\" TITLE: libgeotiff Man Pages
+ \" AUTHOR: Marco Cecchetti <mrc.ildp at gmail.com>
+-\" 
+-.TH LISTGEO "1" "October 2008" "libgeotiff 1.2.5" "listgeo Manual Pages"
++\"
++.TH LISTGEO "1" "October 2008" "libgeotiff 1.2.5" "libgeotiff Manual Pages"
+ .SH NAME
+ listgeo \- dump geotiff metadata
+ 
+ .SH SYNOPSIS
+-.B listgeo 
++.B listgeo
+ [\-tfw] [\-no_norm] [\-proj4] [\-t \fIDIR\fP] file
+ .SH DESCRIPTION
+ 
+ .PP
+-The program listgeo takes a GeoTIFF file as input and dumps to the standard 
+-output a GeoTIFF "metadata" file, which is human readable, and may also be 
+-used as input to other programs which use the "GTIFImport" routine, such as 
++The program listgeo takes a GeoTIFF file as input and dumps to the standard
++output a GeoTIFF "metadata" file, which is human readable, and may also be
++used as input to other programs which use the "GTIFImport" routine, such as
+ geotifcp.
+ 
+ .SH OPTIONS
+-.1
+ listgeo accepts the following options:
+ .TP 6
+ .B \-d
+ report lat/long corners in decimal degrees instead of DMS
+-.TP 6 
+-.B \-tfw 
++.TP 6
++.B \-tfw
+ Generate a .tfw (ESRI TIFF World) file for the target file
+ .TP 6
+ .B \-no-norm
+ Don't report 'normalized' parameter values
+-.TP 6 
+-.B \-proj4 
++.TP 6
++.B \-proj4
+ Report PROJ.4 equivelent projection definition
+ .TP 6
+ .B \-t \fIDIR\fP
+ force to look in \fIDIR\fP for EPSG_CVS files, overriding default behaviour
+ 
+ .SH OTHER INFO
+-This program is distribuited with libgeotiff software. The home page is located 
+-at http://www.remotesensing.org/geotiff/geotiff.html. Here you can find links
+-about other relating projects. A mailing list about libgeotiff development is
+-currenctly active at geotiff at lists.maptools.org.
++This program is distributed with libgeotiff software. The home page is located
++at https://trac.osgeo.org/geotiff/. Here you can find links about other
++related projects. A mailing list about libgeotiff development is currenctly
++active at geotiff at lists.maptools.org.
+ 
+ .SH AUTHORS
+-Niles Ritter, Frank Warmerdam <warmerdam at pobox.com>, Derrick J. Brashear 
+-<shadow at dementia.org> and many others contribuitors.
++Niles Ritter, Frank Warmerdam <warmerdam at pobox.com>,
++Derrick J. Brashear <shadow at dementia.org>
++and many others contributors.
+ 
+ .SH "SEE ALSO"
+-.BR geotifcp (1) 
++.BR geotifcp (1)
++.BR applygeo (1)
+ 
+--- a/man/man1/Makefile.am
++++ b/man/man1/Makefile.am
+@@ -1,4 +1,4 @@
+-man_MANS	=	listgeo.1
++man_MANS	=	applygeo.1 geotifcp.1 listgeo.1
+ 
+ EXTRA_DIST	=	$(man_MANS)
+ 
+--- /dev/null
++++ b/man/man1/geotifcp.1
+@@ -0,0 +1,156 @@
++\" TITLE: libgeotiff Man Pages
++\" AUTHOR: Bas Couwenberg <sebastic at debian.org>
++\"
++.if \n(.g .ds T< \\FC
++.if \n(.g .ds T> \\F[\n[.fam]]
++
++.TH GEOTIFCP "1" "August 2016" "libgeotiff 1.4.1" "libgeotiff Manual Pages"
++.SH NAME
++geotifcp \- Copy TIFF with updated GeoTIFF Metadata
++
++.SH SYNOPSIS
++.B geotifcp
++[\fIoptions\fR] [\fB-e\fR \fIesri_worldfile\fR] [\fB-g\fR \fImetadata\fR] \fIinput\fR \fIoutput\fR
++.SH DESCRIPTION
++
++.PP
++\fBgeotifcp\fR is identical in function to the LIBTIFF
++program \fBtiffcp\fR, with the additional feature that if
++the "\*(T<\fB\-g\fR\*(T>" option is used the GeoTIFF information from
++the file will be installed into the output file.
++The "\*(T<\fB\-e\fR\*(T> \fIworldfile\fR" option
++will override the tiepoint and scale information from the metadata file
++based on the contents of the ESRI worldfile.
++.PP
++If the "\*(T<\fB\-g\fR\*(T>" option is not used the geotiff information
++from the source file is preserved in the new output file.
++.PP
++"\fBgeotifcp\fR" inherits all the other file-transformation
++capabilities of the \fBtiffcp\fR program; for help on the
++additional parameters give the command:
++
++.nf
++\*(T<
++% geotifcp \-h
++\*(T>
++.fi
++.PP
++The metadata format is the same as is described in the
++\fBlistgeo\fR(1)
++program.
++Normally metadata files for use with \fBgeotifcp\fR are
++generated from a similar file with \fBlistgeo\fR,
++and then modified by hand as required.
++
++.SH OPTIONS
++.TP
++\*(T<\fB\-g\fR\*(T> \fIfile\fR
++install GeoTIFF metadata from \fIfile\fR
++.TP
++\*(T<\fB\-4\fR\*(T> \fIproj4_str\fR
++install GeoTIFF metadata from proj4 string
++.TP
++\*(T<\fB\-e\fR\*(T> \fIfile\fR
++install positioning info from ESRI Worldfile
++\fIfile\fR
++.TP
++\*(T<\fB\-a\fR\*(T>
++append to output instead of overwriting
++.TP
++\*(T<\fB\-8\fR\*(T>
++write BigTIFF instead of default ClassicTIFF
++.TP
++\*(T<\fB\-o\fR\*(T> \fIoffset\fR
++set initial directory offset
++.TP
++\*(T<\fB\-p\fR\*(T> \*(T<contig\*(T>
++pack samples contiguously (e.g. RGBRGB...)
++.TP
++\*(T<\fB\-p\fR\*(T> \*(T<separate\*(T>
++store samples separately (e.g. RRR...GGG...BBB...)
++.TP
++\*(T<\fB\-s\fR\*(T>
++write output in strips
++.TP
++\*(T<\fB\-t\fR\*(T>
++write output in tiles
++.TP
++\*(T<\fB\-i\fR\*(T>
++ignore read errors
++.TP
++\*(T<\fB\-d\fR\*(T>
++truncate 8 bitspersample to 4bitspersample
++.TP
++\*(T<\fB\-r\fR\*(T> \fI#\fR
++make each strip have no more than \fI#\fR rows
++.TP
++\*(T<\fB\-w\fR\*(T> \fI#\fR
++set output tile width (pixels)
++.TP
++\*(T<\fB\-l\fR\*(T> \fI#\fR
++set output tile length (pixels)
++.TP
++\*(T<\fB\-f\fR\*(T> \*(T<lsb2msb\*(T>
++force lsb-to-msb FillOrder for output
++.TP
++\*(T<\fB\-f\fR\*(T> \*(T<msb2lsb\*(T>
++force msb-to-lsb FillOrder for output
++.TP
++\*(T<\fB\-c\fR\*(T> lzw[:opts]
++compress output with Lempel-Ziv & Welch encoding
++.TP
++\*(T<\fB\-c\fR\*(T> zip[:opts]
++compress output with deflate encoding
++.TP
++\*(T<\fB\-c\fR\*(T> jpeg[:opts]
++compress output with JPEG encoding
++.TP
++\*(T<\fB\-c\fR\*(T> packbits
++compress output with packbits encoding
++.TP
++\*(T<\fB\-c\fR\*(T> g3[:opts]
++compress output with CCITT Group 3 encoding
++.TP
++\*(T<\fB\-c\fR\*(T> g4
++compress output with CCITT Group 4 encoding
++.TP
++\*(T<\fB\-c\fR\*(T> none
++use no compression algorithm on output
++.PP
++Group 3 options:
++.TP
++\*(T<\fB1d\fR\*(T>
++use default CCITT Group 3 1D-encoding
++.TP
++\*(T<\fB2d\fR\*(T>
++use optional CCITT Group 3 2D-encoding
++.TP
++\*(T<\fBfill\fR\*(T>
++byte-align EOL codes
++.PP
++For example, \*(T<\fB\-c\fR\*(T> g3:2d:fill to get G3-2D-encoded data
++with byte-aligned EOLs
++.PP
++JPEG options:
++.TP
++\*(T<\fB#\fR\*(T>
++set compression quality level (0-100, default 75)
++.TP
++\*(T<\fBr\fR\*(T>
++output color image as RGB rather than YCbCr
++.PP
++For example, \*(T<\fB\-c\fR\*(T> jpeg:r:50 to get JPEG-encoded RGB data
++with 50% comp. quality
++.PP
++LZW and deflate options:
++.TP
++\*(T<\fB#\fR\*(T>
++set predictor value
++.PP
++For example, \*(T<\fB\-c\fR\*(T> lzw:2 to get LZW-encoded data with
++horizontal differencing
++
++.SH "SEE ALSO"
++.BR applygeo (1)
++.BR listgeo (1)
++
diff --git a/debian/patches/series b/debian/patches/series
index 51b4bd9..9744c2f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,4 @@
 drop-epsg-data-installation
 docs
-0003-Fix-macro-error-in-manfile.patch 
 dont-install-makegeo.patch
+manpages.patch

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



More information about the Pkg-grass-devel mailing list