[med-svn] r12425 - trunk/packages/openslide/trunk/debian

Mathieu Malaterre malat at alioth.debian.org
Mon Oct 15 13:02:17 UTC 2012


Author: malat
Date: 2012-10-15 13:02:16 +0000 (Mon, 15 Oct 2012)
New Revision: 12425

Modified:
   trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1
   trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1.in
   trunk/packages/openslide/trunk/debian/openslide-show-properties.1
   trunk/packages/openslide/trunk/debian/openslide-show-properties.1.xml
   trunk/packages/openslide/trunk/debian/openslide-write-png.1
   trunk/packages/openslide/trunk/debian/openslide-write-png.1.in
   trunk/packages/openslide/trunk/debian/process.xsl
   trunk/packages/openslide/trunk/debian/rules
Log:
Update man pages

Modified: trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1
===================================================================
--- trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1	2012-10-15 13:02:16 UTC (rev 12425)
@@ -1,22 +1,14 @@
-.\" Originally generated by help2man 1.38.2.
-.TH OPENSLIDE-QUICKHASH1SUM "1" "September 2011" "3.2.5" "OpenSlide"
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.12.
+.TH OPENSLIDE-QUICKHASH1SUM "1" "October 2012" "openslide-quickhash1sum 3.2.6" "User Commands"
 .SH NAME
-openslide-quickhash1sum \- Print OpenSlide quickhash-1 (256-bit) checksums
-.SH SYNOPSIS
-.B openslide-quickhash
-.I infile
-
+Print OpenSlide quickhash-1 (256-bit) checksums
 .SH DESCRIPTION
-Print OpenSlide quickhash-1 (256-bit) checksums.
+openslide\-quickhash1sum: \fB\-\-help\fR: Not a file that OpenSlide can recognize
+.SH AUTHOR
+The Carnegie Mellon School of Computer Science.
 
+This  manual  page was written by Mathieu Malaterre <malat at debian.org> for
+the Debian GNU/Linux system, but may be used by others.
 .SH "SEE ALSO"
-
 .IR openslide-write-png(1),
 .IR openslide-show-properties(1)
-.PP
-
-.SH AUTHORS
-The Carnegie Mellon School of Computer Science.
-
-This manual page was written by Mathieu Malaterre
-<mathieu.malaterre at gmail.com> for the Debian GNU/Linux system (but may be used by others).

Modified: trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1.in
===================================================================
--- trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1.in	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/openslide-quickhash1sum.1.in	2012-10-15 13:02:16 UTC (rev 12425)
@@ -8,5 +8,5 @@
 [AUTHOR]
 The Carnegie Mellon School of Computer Science.
 
-This  manual  page was written by Mathieu Malaterre <mathieu.malaterre at gmail.com> for
+This  manual  page was written by Mathieu Malaterre <malat at debian.org> for
 the Debian GNU/Linux system, but may be used by others.

Modified: trunk/packages/openslide/trunk/debian/openslide-show-properties.1
===================================================================
--- trunk/packages/openslide/trunk/debian/openslide-show-properties.1	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/openslide-show-properties.1	2012-10-15 13:02:16 UTC (rev 12425)
@@ -1,13 +1,13 @@
 '\" t
 .\"     Title: OPENSLIDE-SHOW-PROPERTIES
 .\"    Author: [see the "AUTHORS" section]
-.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\"      Date: 01/16/2012
+.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
+.\"      Date: 10/15/2012
 .\"    Manual: Users Commands
 .\"    Source: OpenSlide 3.2.5
 .\"  Language: English
 .\"
-.TH "OPENSLIDE\-SHOW\-PRO" "1" "01/16/2012" "OpenSlide 3\&.2\&.5" "Users Commands"
+.TH "OPENSLIDE\-SHOW\-PRO" "1" "10/15/2012" "OpenSlide 3\&.2\&.5" "Users Commands"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -40,48 +40,53 @@
 .SH "LIST OF KNOWN PROPERTIES"
 .SS "Properties generated by OpenSlide"
 .PP
-openslide\&.vendor
+openslide\&.background\-color
 .RS 4
-The name of the vendor backend\&.
+The background color of the slide, given as an RGB hex triplet\&. This property is not always present\&.
 .RE
 .PP
 openslide\&.comment
 .RS 4
-A free\-form text comment, the same as returned from openslide_get_comment\&.
+A free\-form text comment\&.
 .RE
 .PP
-openslide\&.quickhash\-1
+openslide\&.mpp\-x
 .RS 4
-A non\-cryptographic hash of a subset of the slide data\&. It can be used to uniquely identify a particular virtual slide, but cannot be used to detect file corruption or modification\&.
+Microns per pixel in the X dimension of level 0\&. May not be present or accurate\&.
 .RE
 .PP
-openslide\&.background\-color
+openslide\&.mpp\-y
 .RS 4
-The background color of the slide, given as an RGB hex triplet\&. This property is not always present\&.
+Microns per pixel in the Y dimension of level 0\&. May not be present or accurate\&.
 .RE
-.SS "Properties from the JPEG backend"
 .PP
-No properties defined\&.
-.SS "Properties from the TIFF backend"
+openslide\&.objective\-power
+.RS 4
+Magnification power of the objective\&. Often inaccurate; sometimes missing\&.
+.RE
 .PP
-tiff\&.ImageDescription
+openslide\&.quickhash\-1
 .RS 4
-The contents of the TIFF ImageDescripton tag\&.
+A non\-cryptographic hash of a subset of the slide data\&. It can be used to uniquely identify a particular virtual slide, but cannot be used to detect file corruption or modification\&.
 .RE
 .PP
-tiff\&.Make
+openslide\&.vendor
 .RS 4
-The contents of the TIFF Make tag\&.
+The name of the vendor backend\&.
 .RE
+.SS "Properties from the JPEG backend"
 .PP
-tiff\&.Model
+No properties defined\&.
+.SS "Properties from the TIFF backend"
+.PP
+tiff\&.Artist
 .RS 4
-The contents of the TIFF Model tag\&.
+The contents of the TIFF Artist tag\&.
 .RE
 .PP
-tiff\&.Software
+tiff\&.Copyright
 .RS 4
-The contents of the TIFF Software tag\&.
+The contents of the TIFF Copyright tag\&.
 .RE
 .PP
 tiff\&.DateTime
@@ -89,9 +94,9 @@
 The contents of the TIFF DateTime tag\&.
 .RE
 .PP
-tiff\&.Artist
+tiff\&.DocumentName
 .RS 4
-The contents of the TIFF Artist tag\&.
+The contents of the TIFF DocumentName tag\&.
 .RE
 .PP
 tiff\&.HostComputer
@@ -99,39 +104,49 @@
 The contents of the TIFF HostComputer tag\&.
 .RE
 .PP
-tiff\&.Copyright
+tiff\&.ImageDescription
 .RS 4
-The contents of the TIFF Copyright tag\&.
+The contents of the TIFF ImageDescripton tag\&.
 .RE
 .PP
-tiff\&.DocumentName
+tiff\&.Make
 .RS 4
-The contents of the TIFF DocumentName tag\&.
+The contents of the TIFF Make tag\&.
 .RE
 .PP
-tiff\&.XResolution
+tiff\&.Model
 .RS 4
-The contents of the TIFF XResolution tag\&.
+The contents of the TIFF Model tag\&.
 .RE
 .PP
-tiff\&.YResolution
+tiff\&.ResolutionUnit
 .RS 4
-The contents of the TIFF yResolution tag\&.
+The contents of the TIFF ResolutionUnit tag\&.
 .RE
 .PP
+tiff\&.Software
+.RS 4
+The contents of the TIFF Software tag\&.
+.RE
+.PP
 tiff\&.XPosition
 .RS 4
 The contents of the TIFF XPosition tag\&.
 .RE
 .PP
+tiff\&.XResolution
+.RS 4
+The contents of the TIFF XResolution tag\&.
+.RE
+.PP
 tiff\&.YPosition
 .RS 4
 The contents of the TIFF YPosition tag\&.
 .RE
 .PP
-tiff\&.ResolutionUnit
+tiff\&.YResolution
 .RS 4
-The contents of the TIFF ResolutionUnit tag\&.
+The contents of the TIFF YResolution tag\&.
 .RE
 .SS "Vendor\-specific properties"
 .PP
@@ -296,12 +311,35 @@
 These values are assumed to represent the amount of overlap between adjacent tiles in pixels, in both X and Y\&. This example encodes 3 levels worth of overlaps\&. Further overlaps are assumed to have the value 0\&.
 .SS "Associated Images"
 .PP
-None\&.
+macro
+.RS 4
+the image with a filename extension of \(rq\&.Full\(rq (optional)
+.RE
 .SS "Known Properties"
 .PP
 All data encoded in the
 ImageDescription
 TIFF field is represented as properties prefixed with \(rqtrestle\&.\(rq\&.
+.PP
+openslide\&.mpp\-x
+.RS 4
+copy of
+tiff\&.XResolution
+(note that this is a totally non\-standard use of this TIFF tag)
+.RE
+.PP
+openslide\&.mpp\-y
+.RS 4
+copy of
+tiff\&.YResolution
+(note that this is a totally non\-standard use of this TIFF tag)
+.RE
+.PP
+openslide\&.objective\-power
+.RS 4
+normalized
+trestle\&.Objective Power
+.RE
 .SS "Test Data"
 .PP
 
@@ -545,7 +583,7 @@
 T{
 SourceLens
 T}:T{
-Possibly the magnification
+Apparently the magnification
 T}
 T{
 PhysicalWidth
@@ -999,6 +1037,12 @@
 .SS "Known Properties"
 .PP
 All key\-value data stored in the VMS/VMU file are encoded as properties prefixed with \(rqhamamatsu\&.\(rq\&.
+.PP
+openslide\&.objective\-power
+.RS 4
+normalized
+hamamatsu\&.SourceLens
+.RE
 .SS "Test Data"
 .PP
 \m[blue]\fBhttp://openslide\&.cs\&.cmu\&.edu/download/openslide\-testdata/Hamamatsu/\fR\m[]
@@ -1322,6 +1366,24 @@
 All key\-value data encoded in the
 ImageDescription
 TIFF field is represented as properties prefixed with \(rqaperio\&.\(rq\&.
+.PP
+openslide\&.mpp\-x
+.RS 4
+normalized
+aperio\&.MPP
+.RE
+.PP
+openslide\&.mpp\-y
+.RS 4
+normalized
+aperio\&.MPP
+.RE
+.PP
+openslide\&.objective\-power
+.RS 4
+normalized
+aperio\&.AppMag
+.RE
 .SS "Test Data"
 .PP
 
@@ -1418,8 +1480,7 @@
 SLIDE_VERSION,
 SLIDE_ID,
 IMAGENUMBER_X,
-IMAGENUMBER_Y,
-CameraImageDivisionsPerSide\&.
+IMAGENUMBER_Y\&.
 .RE
 .sp
 .RS 4
@@ -1548,7 +1609,8 @@
 OVERLAP_Y,
 IMAGE_FILL_COLOR_BGR,
 DIGITIZER_WIDTH,
-DIGITIZER_HEIGHT\&. The overlap values must be parseable as doubles, the rest as integers\&. The key
+DIGITIZER_HEIGHT,
+IMAGE_CONCAT_FACTOR\&. The overlap values must be parseable as doubles, the rest as integers\&. The key
 IMAGE_FORMAT
 must exist, with the value
 JPEG\&.
@@ -1562,48 +1624,12 @@
 .sp -1
 .IP "13." 4.2
 .\}
-Each
-section_names
-section must have the key
-IMAGE_CONCAT_FACTOR\&. The value of the first section\(cqs
-IMAGE_CONCAT_FACTOR
-must be 0, the rest 1\&.
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'14.\h'+01'\c
-.\}
-.el \{\
-.sp -1
-.IP "14." 4.2
-.\}
 The
 [HIERARCHICAL]
 section has a key with the name
 NONHIER_%d_NAME
 (%d
 is an integer) and with the value
-VIMSLIDE_POSITION_BUFFER\&. Bind
-%d
-to the variable
-position_nonhier_offset\&.
-.RE
-.sp
-.RS 4
-.ie n \{\
-\h'-04'15.\h'+01'\c
-.\}
-.el \{\
-.sp -1
-.IP "15." 4.2
-.\}
-The
-[HIERARCHICAL]
-section has a key with the name
-NONHIER_%d_NAME
-(%d
-is an integer) and with the value
 Scan data layer\&. Bind
 %d
 to the variable
@@ -1612,11 +1638,11 @@
 .sp
 .RS 4
 .ie n \{\
-\h'-04'16.\h'+01'\c
+\h'-04'14.\h'+01'\c
 .\}
 .el \{\
 .sp -1
-.IP "16." 4.2
+.IP "14." 4.2
 .\}
 The
 [HIERARCHICAL]
@@ -1631,11 +1657,11 @@
 .sp
 .RS 4
 .ie n \{\
-\h'-04'17.\h'+01'\c
+\h'-04'15.\h'+01'\c
 .\}
 .el \{\
 .sp -1
-.IP "17." 4.2
+.IP "15." 4.2
 .\}
 The
 [HIERARCHICAL]
@@ -1650,11 +1676,11 @@
 .sp
 .RS 4
 .ie n \{\
-\h'-04'18.\h'+01'\c
+\h'-04'16.\h'+01'\c
 .\}
 .el \{\
 .sp -1
-.IP "18." 4.2
+.IP "16." 4.2
 .\}
 The
 [HIERARCHICAL]
@@ -1669,11 +1695,11 @@
 .sp
 .RS 4
 .ie n \{\
-\h'-04'19.\h'+01'\c
+\h'-04'17.\h'+01'\c
 .\}
 .el \{\
 .sp -1
-.IP "19." 4.2
+.IP "17." 4.2
 .\}
 The value of the
 INDEXFILE
@@ -1682,11 +1708,11 @@
 .sp
 .RS 4
 .ie n \{\
-\h'-04'20.\h'+01'\c
+\h'-04'18.\h'+01'\c
 .\}
 .el \{\
 .sp -1
-.IP "20." 4.2
+.IP "18." 4.2
 .\}
 The index file is of a valid format, and all data referred to by it is valid (see below)\&.
 .RE
@@ -1695,22 +1721,99 @@
 Because JPEG does not allow for large files, multiple JPEG files are needed to encode large images\&.
 .PP
 Unfortunately, (unlike TIFF) JPEG provides very poor support for random\-access decoding of parts of a file\&. To avoid having many individual files, MIRAX packs JPEG files into a small number of data files\&. The index file provides offsets into the data files for each required piece of data\&.
+.PP
+The camera on MIRAX scanners takes overlapping photos and records the position of each one\&. Each photo is then split into multiple JPEG tiles which do not overlap\&. Overlaps only occur between tiles that come from different photos\&.
+.PP
+To generate level
+n + 1, each JPEG tile from level
+n
+is downsampled by 2 and then concatenated into a new JPEG tile, 4 old tiles per new JPEG tile (2 x 2)\&. This process is repeated for each level, irrespective of tile overlaps\&. Therefore, at sufficiently high levels, a single tile can contain one or more embedded overlaps of non\-integral width\&.
 .SS "Index File"
 .PP
-The index file is a crazy beast\&.
-.PP
-It starts with ASCII strings matching the
-SLIDE_VERSION
-and
+The index file starts with a five\-character ASCII version string, followed by the
 SLIDE_ID
-values from the slidedat file\&. Then, all hell breaks loose\&. The rest of the file consists of 32\-bit little\-endian integers (unaligned) with seemingly no structure\&.
+from the slidedat file\&. The rest of the file consists of 32\-bit little\-endian integers (unaligned), which can be data values or pointers to byte offsets within the index file\&.
 .PP
-More info coming, for now see
-\m[blue]\fBmisc/print\-mirax\&.py\fR\m[]\&\s-2\u[2]\d\s+2\&.
+The first two integers point to offset tables for the hierarchical and nonhierarchical roots, respectively\&. These tables contain one record for each
+VAL
+in the
+HIERARCHICAL
+slidedat section\&. For example, the record for
+NONHIER_1_VAL_2
+would be stored at
+nonhier_root + 4 * (NONHIER_0_COUNT + 2)\&.
+.PP
+Each record is a pointer to a linked list of data pages\&. The first two values in a data page are the number of data items in the page and a pointer to the next page\&. The first page always has 0 data items, and the last page has a 0 next pointer\&.
+.PP
+There is one hierarchical record for each zoom level\&. The record contains data items consisting of a tile index, offset and length within a file, and a file number\&. The file number can be converted to a data file name via the
+DATAFILE
+slidedat section\&. The tile index is equal to
+tile_y * GENERAL\&.IMAGENUMBER_X + tile_x\&. Tile coordinates which are not multiples of the zoom level\(cqs downsample factor are omitted\&.
+.PP
+Nonhierarchical records refer to associated images and additional metadata\&. Nonhierarchical data items consist of three zero values followed by an offset, length, and file number as in hierarchical records\&.
 .SS "Data Files"
+.PP
+A data file begins with a header containing a five\-character ASCII version string, the
+SLIDE_ID
+from the slidedat file, the file number encoded into three ASCII characters, and 256 bytes of padding\&. The remainder of the file contains packed data referenced by the index file\&.
 .SS "Slide Position File"
+.PP
+The slide position file is referenced by the
+VIMSLIDE_POSITION_BUFFER\&.default
+nonhierarchical section\&. It contains one entry for each camera position (not each tile position) in row\-major order\&. Each entry is nine bytes: a flag byte, the
+X
+pixel coordinate of the photo (4 bytes, little\-endian), and the
+Y
+coordinate (4 bytes, little\-endian)\&.
 .SS "Associated Images"
+.PP
+thumbnail
+.RS 4
+the image named \(rqScanDataLayer_SlidePreview\(rq in
+Slidedat\&.ini
+(optional)
+.RE
+.PP
+label
+.RS 4
+the image named \(rqScanDataLayer_SlideBarcode\(rq in
+Slidedat\&.ini
+(optional)
+.RE
+.PP
+macro
+.RS 4
+the image named \(rqScanDataLayer_SlideThumbnail\(rq in
+Slidedat\&.ini
+(optional)
+.RE
 .SS "Known Properties"
+.PP
+All key\-value data stored in the
+Slidedat\&.ini
+file are encoded as properties prefixed with \(rqmirax\&.\(rq\&.
+.PP
+openslide\&.mpp\-x
+.RS 4
+normalized
+MICROMETER_PER_PIXEL_X
+from the Slidedat section corresponding to level 0 (typically
+mirax\&.LAYER_0_LEVEL_0_SECTION\&.MICROMETER_PER_PIXEL_X)
+.RE
+.PP
+openslide\&.mpp\-y
+.RS 4
+normalized
+MICROMETER_PER_PIXEL_Y
+from the Slidedat section corresponding to level 0 (typically
+mirax\&.LAYER_0_LEVEL_0_SECTION\&.MICROMETER_PER_PIXEL_Y)
+.RE
+.PP
+openslide\&.objective\-power
+.RS 4
+normalized
+mirax\&.GENERAL\&.OBJECTIVE_MAGNIFICATION
+.RE
 .SS "Test Data"
 .PP
 
@@ -1788,15 +1891,10 @@
 .PP
 The Carnegie Mellon School of Computer Science\&.
 .PP
-This manual page was written by Mathieu Malaterre <mathieu\&.malaterre at gmail\&.com> for the Debian GNU/Linux system (but may be used by others)\&.
+This manual page was written by Mathieu Malaterre <malat at debian\&.org> for the Debian GNU/Linux system (but may be used by others)\&.
 .SH "NOTES"
 .IP " 1." 4
 Supported Virtual Slide Formats
 .RS 4
-\%http://openslide.org/Supported%20Virtual%20Slide%20Formats
+\%http://openslide.org/formats/
 .RE
-.IP " 2." 4
-misc/print-mirax.py
-.RS 4
-\%http://github.com/openslide/openslide/blob/master/misc/print-mirax.py
-.RE

Modified: trunk/packages/openslide/trunk/debian/openslide-show-properties.1.xml
===================================================================
--- trunk/packages/openslide/trunk/debian/openslide-show-properties.1.xml	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/openslide-show-properties.1.xml	2012-10-15 13:02:16 UTC (rev 12425)
@@ -36,6 +36,6 @@
     <title>AUTHORS</title>
     <para>The Carnegie Mellon School of Computer Science.</para>
     <para>This manual page was written by Mathieu Malaterre
-<mathieu.malaterre at gmail.com> for the Debian GNU/Linux system (but may be used by others).</para>
+<malat at debian.org> for the Debian GNU/Linux system (but may be used by others).</para>
   </refsect1>
 </refentry>

Modified: trunk/packages/openslide/trunk/debian/openslide-write-png.1
===================================================================
--- trunk/packages/openslide/trunk/debian/openslide-write-png.1	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/openslide-write-png.1	2012-10-15 13:02:16 UTC (rev 12425)
@@ -1,5 +1,5 @@
-.\" Originally generated by help2man 1.38.2.
-.TH OPENSLIDE-WRITE-PNG "1" "September 2011" "3.2.5" "OpenSlide"
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.12.
+.TH OPENSLIDE-WRITE-PNG "1" "October 2012" "openslide-write-png 3.2.6" "User Commands"
 .SH NAME
 openslide-write-png \- Write a fragment of a virtual slide to a PNG
 .SH SYNOPSIS
@@ -7,15 +7,11 @@
 \fIvirtual-slide x y layer width height output.png\fR
 .SH DESCRIPTION
 Write a fragment of a virtual slide to a PNG.
-.PP
-.SH "SEE ALSO"
+.SH AUTHOR
+The Carnegie Mellon School of Computer Science.
 
+This  manual  page was written by Mathieu Malaterre <malat at debian.org> for
+the Debian GNU/Linux system, but may be used by others.
+.SH "SEE ALSO"
 .IR openslide-quickhash1sum(1),
 .IR openslide-show-properties(1)
-.PP
-
-.SH AUTHORS
-The Carnegie Mellon School of Computer Science.
-
-This manual page was written by Mathieu Malaterre
-<mathieu.malaterre at gmail.com> for the Debian GNU/Linux system (but may be used by others).

Modified: trunk/packages/openslide/trunk/debian/openslide-write-png.1.in
===================================================================
--- trunk/packages/openslide/trunk/debian/openslide-write-png.1.in	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/openslide-write-png.1.in	2012-10-15 13:02:16 UTC (rev 12425)
@@ -8,5 +8,5 @@
 [AUTHOR]
 The Carnegie Mellon School of Computer Science.
 
-This  manual  page was written by Mathieu Malaterre <mathieu.malaterre at gmail.com> for
+This  manual  page was written by Mathieu Malaterre <malat at debian.org> for
 the Debian GNU/Linux system, but may be used by others.

Modified: trunk/packages/openslide/trunk/debian/process.xsl
===================================================================
--- trunk/packages/openslide/trunk/debian/process.xsl	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/process.xsl	2012-10-15 13:02:16 UTC (rev 12425)
@@ -1,4 +1,21 @@
 <?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (c) 2011-2012 Mathieu Malaterre <malat at debian.org>
+ .
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation;
+ version 2.1 of the License
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+-->
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   <xsl:output method="xml" indent="yes" encoding="utf-8"/>
   <xsl:template match="h1">

Modified: trunk/packages/openslide/trunk/debian/rules
===================================================================
--- trunk/packages/openslide/trunk/debian/rules	2012-10-15 09:15:21 UTC (rev 12424)
+++ trunk/packages/openslide/trunk/debian/rules	2012-10-15 13:02:16 UTC (rev 12425)
@@ -16,33 +16,33 @@
 
 # I could not get spaces working, instead duplicate boilerplate code:
 ListofKnownProperties.html:
-	wget -O $@ http://openslide.org/List%20of%20Known%20Properties/
+	wget -O $@ http://openslide.org/properties/
 Trestleformat.html:
-	wget -O $@ http://openslide.org/Trestle%20format/
+	wget -O $@ http://openslide.org/formats/trestle/
 Hamamatsuformat.html:
-	wget -O $@ http://openslide.org/Hamamatsu%20format/
+	wget -O $@ http://openslide.org/formats/hamamatsu/
 Aperioformat.html:
-	wget -O $@ http://openslide.org/Aperio%20format/
+	wget -O $@ http://openslide.org/formats/aperio/
 MIRAXformat.html:
-	wget -O $@ http://openslide.org/MIRAX%20format/
+	wget -O $@ http://openslide.org/formats/mirax/
 GenerictiledTIFFformat.html:
-	wget -O $@ http://openslide.org/Generic%20tiled%20TIFF%20format/
+	wget -O $@ http://openslide.org/formats/generic-tiff/
 
 %.xml: %.html
-	xsltproc --output $<.dummy.xml --html debian/process.xsl $<
+	xsltproc --nonet --output $<.dummy.xml --html debian/process.xsl $<
 	sed -i -e 's/BEGIN SECTION/<refsection>/g' -e 's at END SECTION@</refsection>@g' $<.dummy.xml
-	xmllint --output $@ --format $<.dummy.xml
+	xmllint --nonet --output $@ --format $<.dummy.xml
 	rm $<.dummy.xml
 
 debian/openslide-show-properties.1 : ListofKnownProperties.xml Trestleformat.xml Hamamatsuformat.xml Aperioformat.xml MIRAXformat.xml GenerictiledTIFFformat.xml debian/openslide-show-properties.1.xml
 	(cd debian && xsltproc --xinclude openslide-show-properties.1.xml)
 
 # DO NOT USE for now
-#debian/openslide-quickhash1sum.1: debian/openslide-quickhash1sum.1.in
-#	help2man --include=$< --output=$@ \
-#		--no-info `basename $@ .1` --version-string=$(VER_FULL) --no-discard-stderr
-#
-#debian/openslide-write-png.1: debian/openslide-write-png.1.in
-#	help2man --include=$< --output=$@ \
-#		--name="Write a fragment of a virtual slide to a PNG" \
-#		--no-info `basename $@ .1` --help-option=-usage --version-string=$(VER_FULL)
+debian/openslide-quickhash1sum.1: debian/openslide-quickhash1sum.1.in
+	help2man --include=$< --output=$@ \
+		--no-info `basename $@ .1` --version-string=$(VER_FULL) --no-discard-stderr
+
+debian/openslide-write-png.1: debian/openslide-write-png.1.in
+	help2man --include=$< --output=$@ \
+		--name="Write a fragment of a virtual slide to a PNG" \
+		--no-info `basename $@ .1` --help-option=-usage --version-string=$(VER_FULL)




More information about the debian-med-commit mailing list