AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

2004.12.22 03:15 "[Tiff] tiff developer man pages and links", by Jeremy C. Reed

I noticed that some symlinks or hardlinks were not made for some manpages. Or alternatively man pages were not made using .so (to point to other manpage).

For example, TIFFClientOpen.3 doesn't exist. It should probably be hardlink or symlink to TIFFOpen.3. Or be an short file containing: .so man3/TIFFOpen.3

Another example is missing TIFFGetMode.3 which should link to TIFFquery.3.

The list of missing manpages is below. (This may be wrong, because I didn't check all and some of this may be out-of-date because was comparing from older tiff.)

man/man3/TIFFCheckTile.3
man/man3/TIFFClientOpen.3
man/man3/TIFFComputeStrip.3
man/man3/TIFFComputeTile.3
man/man3/TIFFCurrentDirectory.3
man/man3/TIFFCurrentRow.3
man/man3/TIFFCurrentStrip.3
man/man3/TIFFCurrentTile.3
man/man3/TIFFDataWidth.3
man/man3/TIFFDefaultStripSize.3
man/man3/TIFFDefaultTileSize.3
man/man3/TIFFFdOpen.3
man/man3/TIFFFileName.3
man/man3/TIFFFileno.3
man/man3/TIFFFindCODEC.3
man/man3/TIFFFlushData.3
man/man3/TIFFGetFieldDefaulted.3
man/man3/TIFFGetMode.3
man/man3/TIFFIsByteSwapped.3
man/man3/TIFFIsMSB2LSB.3
man/man3/TIFFIsTiled.3
man/man3/TIFFIsUpSampled.3
man/man3/TIFFLastDirectory.3
man/man3/TIFFNumberOfStrips.3
man/man3/TIFFNumberOfTiles.3
man/man3/TIFFRGBAImageBegin.3
man/man3/TIFFRGBAImageEnd.3
man/man3/TIFFRGBAImageGet.3
man/man3/TIFFRGBAImageOK.3
man/man3/TIFFReadBufferSetup.3
man/man3/TIFFReadRGBAImageOriented.3
man/man3/TIFFRegisterCODEC.3
man/man3/TIFFReverseBits.3
man/man3/TIFFRewriteDirectory.3
man/man3/TIFFScanlineSize.3
man/man3/TIFFSetErrorHandler.3
man/man3/TIFFSetSubDirectory.3
man/man3/TIFFSetWarningHandler.3
man/man3/TIFFStripSize.3
man/man3/TIFFSwabArrayOfLong.3
man/man3/TIFFSwabArrayOfShort.3
man/man3/TIFFSwabLong.3
man/man3/TIFFSwabShort.3
man/man3/TIFFTileRowSize.3
man/man3/TIFFTileSize.3
man/man3/TIFFUnRegisterCODEC.3
man/man3/TIFFVGetField.3
man/man3/TIFFVGetFieldDefaulted.3
man/man3/TIFFVSetField.3
man/man3/TIFFVStripSize.3
man/man3/TIFFVTileSize.3
man/man3/TIFFWriteBufferSetup.3
man/man3/TIFFfree.3
man/man3/TIFFmalloc.3
man/man3/TIFFmemcmp.3
man/man3/TIFFmemcpy.3
man/man3/TIFFmemset.3
man/man3/TIFFrealloc.3

Jeremy C. Reed

                         open source, Unix, *BSD, Linux training
                         http://www.pugetsoundtechnology.com/

p.s. I patched the install so it wouldn't name the manpages with 3tiff extension. This doesn't work by default on some Unixes. By the way, do any Unix vendors or distributions ship the developer manpages with the 3tiff extension? (If not, then why make them patch this?)

--- man/Makefile.in.orig Mon Dec 20 11:41:54 2004
+++ man/Makefile.in
@@ -373,11 +373,7 @@ install-man3: $(man3_MANS) $(man_MANS)
        for i in $$list; do \
          if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
          else file=$$i; fi; \

-         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
-         case "$$ext" in \
-           3*) ;; \
-           *) ext='3' ;; \
-         esac; \
+         ext='3'; \
          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \

          inst=`echo $$inst | sed -e 's/^.*\///'`; \
          inst=`echo $$inst | sed '$(transform)'`.$$ext; \