Package: funtools / 1.4.4+dfsg2-1

fix_manpages.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
Author: Ole Streicher <debian@liska.ath.cx>
Description: Fix manpages (section and name) so that lintian does not complain
--- a/Makefile.in
+++ b/Makefile.in
@@ -462,14 +462,19 @@
 install-man:
 	@if [ ! -d $(MAN_INSTALL_DIR) ] ; then \
 	    echo "Making directory $(MAN_INSTALL_DIR)"; \
-	    mkdir $(MAN_INSTALL_DIR); \
+	    mkdir -p $(MAN_INSTALL_DIR); \
 	    chmod 755 $(MAN_INSTALL_DIR); \
 	    else true; \
 	fi;
 	@-(for i in `ls ./man/man?/*.?` ; \
 	    do \
-		B=`basename $$i`; \
-		E=`echo $$i | awk -F. '{print $$NF}'`; \
+		B=`basename $$i|sed s/\\\\.n/.7/`; \
+		E=`echo $$i | awk -F. '{print $$NF}' | sed s/n/7/`; \
+		case $$B in \
+			funds9.7) \
+				B=funds9.1; \
+				E=1;; \
+		esac; \
 		M="$(MAN_INSTALL_DIR)/man$$E"; \
 		if [ ! -d $$M ] ; then \
 		    echo "Making directory $$M"; \
@@ -479,6 +484,9 @@
 		fi; \
 		echo "Installing $$B" ; \
 		$(INSTALL_DATA) $$i $$M/$$B; \
+		sed -i "s/\([ \"\']\)\(-[A-Za-z0-9]\)/\1\\\\\2/g" $$M/$$B ; \
+		sed -i "s/^\\\&\\\fB\(.*\):\(.*\)\\\fR/\1 \- \2/g" $$M/$$B ;\
+		sed -i "s/funtools(n)/funtools(7)/g" $$M/$$B ; \
 	    done;)
 
 install-share:
--- a/man/man1/fundisp.1
+++ b/man/man1/fundisp.1
@@ -530,7 +530,6 @@
 .PP
 fundisp \-F',' snr.ev'[cir 512 512 .1]'
        X,       Y,     \s-1PHA\s0,      \s-1PI\s0,                 \s-1TIME\s0,      \s-1DX\s0,      \s-1DY\s0
-\&\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-
      512,     512,       6,       7,    79493997.45854475,     578,     574
      512,     512,       8,       9,    79494575.58943175,     579,     573
      512,     512,       5,       6,    79493631.03866175,     578,     575
@@ -539,7 +538,6 @@
 .PP
 fundisp \-F',' snr.ev'[cir 512 512 .1]' | sed 's/ *, */,/g'
        X,Y,PHA,PI,TIME,DX,DY
-\&\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-,\-\-\-\-\-\-\-\-
      512,512,6,7,79493997.45854475,578,574
      512,512,8,9,79494575.58943175,579,573
      512,512,5,6,79493631.03866175,578,575
--- a/man/mann/funcombine.n
+++ b/man/mann/funcombine.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funcombine n"
-.TH funcombine n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funcombine 7"
+.TH funcombine 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunCombine: Combining Region and Table Filters\fR
+\&\fBFunCombine \- Combining Region and Table Filters\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document discusses the conventions for combining region and table
--- a/man/mann/funds9.n
+++ b/man/mann/funds9.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funds9 n"
-.TH funds9 n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funds9 1"
+.TH funds9 1 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunDS9: Funtools and DS9 Image Display\fR
+\&\fBFunDS9 \- Funtools and DS9 Image Display\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 Describes how funtools can be integrated into the ds9 Analysis menu.
--- a/man/mann/funenv.n
+++ b/man/mann/funenv.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funenv n"
-.TH funenv n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funenv 7"
+.TH funenv 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunEnv: Funtools Environment Variables\fR
+\&\fBFunEnv \- Funtools Environment Variables\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 Describes the environment variables which can be used to tailor the overall
--- a/man/mann/funfiles.n
+++ b/man/mann/funfiles.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funfiles n"
-.TH funfiles n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funfiles 7"
+.TH funfiles 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunFiles: Funtools Data Files\fR
+\&\fBFunFiles \- Funtools Data Files\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document describes the data file formats (\s-1FITS\s0, array, raw
--- a/man/mann/funfilters.n
+++ b/man/mann/funfilters.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funfilters n"
-.TH funfilters n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funfilters 7"
+.TH funfilters 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunfilters: Filtering Rows in a Table\fR
+\&\fBFunfilters \- Filtering Rows in a Table\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document contains a summary of the user interface for 
--- a/man/mann/funidx.n
+++ b/man/mann/funidx.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funidx n"
-.TH funidx n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funidx 7"
+.TH funidx 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunidx: Using Indexes to Filter Rows in a Table\fR
+\&\fBFunidx \- Using Indexes to Filter Rows in a Table\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document contains a summary of the user interface for 
--- a/man/mann/funregions.n
+++ b/man/mann/funregions.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funregions n"
-.TH funregions n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funregions 7"
+.TH funregions 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBRegions: Spatial Region Filtering\fR
+\&\fBFunRegions \- Spatial Region Filtering\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document contains a summary of the user interface for spatial
--- a/man/mann/funtext.n
+++ b/man/mann/funtext.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funtext n"
-.TH funtext n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funtext 7"
+.TH funtext 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFuntext: Support for Column\-based Text Files\fR
+\&\fBFuntext \- Support for Column\-based Text Files\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document contains a summary of the options for processing column-based
--- a/man/mann/funtools.n
+++ b/man/mann/funtools.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funtools n"
-.TH funtools n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funtools 7"
+.TH funtools 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFuntools: FITS Users Need Tools\fR
+\&\fBFuntools \- FITS Users Need Tools\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document is the Table of Contents for Funtools.
@@ -208,7 +208,7 @@
 [\fIfuntbl\fR\|(1)]
 .IP "\(bu" 4
 funtools and ds9 image display
-[funds9(n)]
+[funds9(7)]
 .RE
 .RS 4
 .RE
@@ -302,7 +302,7 @@
 .RE
 .IP "\(bu" 4
 Funtools Data Files
-[funfiles(n)]
+[funfiles(7)]
 .RS 4
 .IP "\(bu" 4
 Supported Data Formats
@@ -334,35 +334,35 @@
 .RS 4
 .IP "\(bu" 4
 Table Filtering
-[funfilters(n)]
+[funfilters(7)]
 .IP "\(bu" 4
 Fast Table Filtering using Indexes
-[funidx(n)]
+[funidx(7)]
 .IP "\(bu" 4
 Spatial Region Filtering
-[funregions(n)]
+[funregions(7)]
 .RS 4
 .IP "\(bu" 4
 Region Geometry
-[reggeometry(n)]
+[reggeometry(7)]
 .IP "\(bu" 4
 Region Algebra
-[regalgebra(n)]
+[regalgebra(7)]
 .IP "\(bu" 4
 Region Coordinates
-[regcoords(n)]
+[regcoords(7)]
 .IP "\(bu" 4
 Region Boundaries
-[regbounds(n)]
+[regbounds(7)]
 .IP "\(bu" 4
 Differences Between Funtools and \s-1IRAF\s0 Regions
-[regdiff(n)]
+[regdiff(7)]
 .RE
 .RS 4
 .RE
 .IP "\(bu" 4
 Combining Table and Region Filters
-[funcombine(n)]
+[funcombine(7)]
 .RE
 .RS 4
 .RE
@@ -371,7 +371,7 @@
 .RS 4
 .IP "\(bu" 4
 Funtools Environment Variables
-[funenv(n)]
+[funenv(7)]
 .IP "\(bu" 4
 Funtools ChangeLog
 .RE
--- a/man/mann/funview.n
+++ b/man/mann/funview.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "funview n"
-.TH funview n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "funview 7"
+.TH funview 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunview: Database View Support for Tables\fR
+\&\fBFunview \- Database View Support for Tables\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document contains a summary of the options for utilizing
--- a/man/mann/regalgebra.n
+++ b/man/mann/regalgebra.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "regalgebra n"
-.TH regalgebra n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "regalgebra 7"
+.TH regalgebra 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBRegAlgebra: Boolean Algebra on Spatial Regions\fR
+\&\fBRegAlgebra \- Boolean Algebra on Spatial Regions\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document describes the boolean arithmetic defined for 
--- a/man/mann/regbounds.n
+++ b/man/mann/regbounds.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "regbounds n"
-.TH regbounds n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "regbounds 7"
+.TH regbounds 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBRegBounds: Region Boundaries\fR
+\&\fBRegBounds \- Region Boundaries\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 Describes how spatial region boundaries are handled.
--- a/man/mann/regcoords.n
+++ b/man/mann/regcoords.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "regcoords n"
-.TH regcoords n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "regcoords 7"
+.TH regcoords 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBRegCoords: Spatial Region Coordinates\fR
+\&\fBRegCoords \- Spatial Region Coordinates\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document describes the specification of coordinate systems, and the 
--- a/man/mann/regdiff.n
+++ b/man/mann/regdiff.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "regdiff n"
-.TH regdiff n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "regdiff 7"
+.TH regdiff 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBRegDiff:Differences Between Funtools and IRAF Regions\fR
+\&\fBRegDiff \- Differences Between Funtools and IRAF Regions\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 Describes the differences between Funtools/ds9 regions and the old \s-1IRAF/PROS\s0
--- a/man/mann/reggeometry.n
+++ b/man/mann/reggeometry.n
@@ -128,10 +128,10 @@
 .rm #[ #] #H #V #F C
 .\" ========================================================================
 .\"
-.IX Title "reggeometry n"
-.TH reggeometry n "January 2, 2008" "version 1.4.2" "SAORD Documentation"
+.IX Title "reggeometry 7"
+.TH reggeometry 7 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBRegGeometry: Geometric Shapes in Spatial Region Filtering\fR
+\&\fBRegGeometry \- Geometric Shapes in Spatial Region Filtering\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 This document describes the geometry of regions available for spatial
--- a/man/man3/funcolumnselect.3
+++ b/man/man3/funcolumnselect.3
@@ -593,7 +593,7 @@
 .PP
 Note that the only modification to the call is in the plist string.
 .PP
-Of course, instead of using staticly allocated arrays, you also can specify
+Of course, instead of using statically allocated arrays, you also can specify
 dynamically allocated pointers:
 .PP
 .Vb 7
--- a/man/man3/funlib.3
+++ b/man/man3/funlib.3
@@ -131,7 +131,7 @@
 .IX Title "funlib 3"
 .TH funlib 3 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunLib: the Funtools Programming Interface\fR
+\&\fBFunLib \- the Funtools Programming Interface\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 A description of the Funtools library.
--- a/man/man3/funref.3
+++ b/man/man3/funref.3
@@ -131,7 +131,7 @@
 .IX Title "funref 3"
 .TH funref 3 "January 2, 2008" "version 1.4.2" "SAORD Documentation"
 .SH "NAME"
-\&\fBFunRef: the Funtools Reference Handle\fR
+\&\fBFunRef \- the Funtools Reference Handle\fR
 .SH "SYNOPSIS"
 .IX Header "SYNOPSIS"
 A description of how to use a Funtools reference handle to connect a