[med-svn] r901 - in trunk/packages: aeskulap aeskulap/tags aeskulap/tags/0.2.2b1-1 aeskulap/tags/0.2.2b1-1/debian volpack volpack/tags volpack/tags/1.0b3-1 volpack/tags/1.0b3-1/debian volpack/tags/1.0b3-1/debian/examples volpack/tags/1.0b3-1/debian/patches volpack/tags/1.0b3-2 volpack/tags/1.0b3-2/debian volpack/tags/1.0b3-2/debian/examples volpack/tags/1.0b3-2/debian/patches volpack/trunk/debian
tille at alioth.debian.org
tille at alioth.debian.org
Mon Dec 17 19:56:44 UTC 2007
Author: tille
Date: 2007-12-17 19:56:44 +0000 (Mon, 17 Dec 2007)
New Revision: 901
Added:
trunk/packages/aeskulap/tags/
trunk/packages/aeskulap/tags/0.2.2b1-1/
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/README.Debian
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.1
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.desktop
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.install
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.manpages
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.menu
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.xpm
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/changelog
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/compat
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/control
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/copyright
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/docs
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/gconf-defaults
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source_patch
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/rules
trunk/packages/aeskulap/tags/0.2.2b1-1/debian/watch
trunk/packages/volpack/tags/
trunk/packages/volpack/tags/1.0b3-1/
trunk/packages/volpack/tags/1.0b3-1/debian/
trunk/packages/volpack/tags/1.0b3-1/debian/README.Debian
trunk/packages/volpack/tags/1.0b3-1/debian/changelog
trunk/packages/volpack/tags/1.0b3-1/debian/compat
trunk/packages/volpack/tags/1.0b3-1/debian/control
trunk/packages/volpack/tags/1.0b3-1/debian/copyright
trunk/packages/volpack/tags/1.0b3-1/debian/docs
trunk/packages/volpack/tags/1.0b3-1/debian/examples/
trunk/packages/volpack/tags/1.0b3-1/debian/examples/Makefile
trunk/packages/volpack/tags/1.0b3-1/debian/examples/README
trunk/packages/volpack/tags/1.0b3-1/debian/examples/test.sh
trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source
trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source_patch
trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.examples
trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.manpages
trunk/packages/volpack/tags/1.0b3-1/debian/patches/
trunk/packages/volpack/tags/1.0b3-1/debian/patches/00list
trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_examples.dpatch
trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_vp_global_h.dpatch
trunk/packages/volpack/tags/1.0b3-1/debian/patches/README
trunk/packages/volpack/tags/1.0b3-1/debian/rules
trunk/packages/volpack/tags/1.0b3-1/debian/watch
trunk/packages/volpack/tags/1.0b3-2/
trunk/packages/volpack/tags/1.0b3-2/debian/
trunk/packages/volpack/tags/1.0b3-2/debian/README.Debian
trunk/packages/volpack/tags/1.0b3-2/debian/changelog
trunk/packages/volpack/tags/1.0b3-2/debian/compat
trunk/packages/volpack/tags/1.0b3-2/debian/control
trunk/packages/volpack/tags/1.0b3-2/debian/copyright
trunk/packages/volpack/tags/1.0b3-2/debian/docs
trunk/packages/volpack/tags/1.0b3-2/debian/examples/
trunk/packages/volpack/tags/1.0b3-2/debian/examples/Makefile
trunk/packages/volpack/tags/1.0b3-2/debian/examples/README
trunk/packages/volpack/tags/1.0b3-2/debian/examples/test.sh
trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source
trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source_patch
trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.examples
trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.manpages
trunk/packages/volpack/tags/1.0b3-2/debian/patches/
trunk/packages/volpack/tags/1.0b3-2/debian/patches/00list
trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_examples.dpatch
trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_vp_global_h.dpatch
trunk/packages/volpack/tags/1.0b3-2/debian/patches/README
trunk/packages/volpack/tags/1.0b3-2/debian/rules
trunk/packages/volpack/tags/1.0b3-2/debian/watch
Modified:
trunk/packages/volpack/trunk/debian/changelog
trunk/packages/volpack/trunk/debian/control
Log:
Tagged aeskulap and volpack releases.
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/README.Debian
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/README.Debian (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/README.Debian 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,8 @@
+aeskulap for Debian
+-------------------
+
+Aeskulap source tarball included a copy dcmtk library source. Because
+dcmtk is just packaged for Debian this part was removed from the upstream
+archive and
+
+ -- Andreas Tille <tille at debian.org> Mon, 12 Nov 2007 14:40:43 +0100
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.1
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.1 (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.1 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,35 @@
+.TH AESKULAP 1 "November 12, 2007"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+aeskulap \- OpenSource DICOM Viewer
+.SH SYNOPSIS
+.B aeskulap
+.RI " files"
+.br
+.SH DESCRIPTION
+This manual page documents briefly the
+.B aeskulap
+command.
+.PP
+\fBaeskulap\fP is able to load a series of special images stored in the DICOM
+format for review. Additionally it is able to query and fetch DICOM
+images from archive nodes (also called PACS) over the network. Aeskulap
+tries to achieve a full open source replacement for commercially
+available DICOM viewers.
+.SH AUTHOR
+\fBaeskulap\fP was written by Alexander Pipelka <pipelka at teleweb.at> and
+Gianluca Ghelli.
+.PP
+This manual page was written by Andreas Tille <tille at debian.org>,
+for the Debian project (but may be used by others).
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.desktop
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.desktop (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.desktop 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=Aeskulap Viewer
+Comment=Medical image viewer and DICOM network client
+Exec=aeskulap
+Icon=aeskulap
+Terminal=false
+Type=Application
+Categories=Office;Graphics;
+StartupNotify=true
+MimeType=image/dicom
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.install
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.install (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.install 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,2 @@
+debian/aeskulap.xpm usr/share/pixmaps/
+debian/aeskulap.desktop usr/share/applications
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.manpages
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.manpages (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.manpages 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+debian/aeskulap.1
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.menu
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.menu (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.menu 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,3 @@
+?package(aeskulap):needs="X11" section="Applications/Science/Biology"\
+ title="Aeskulap" icon="/usr/share/pixmaps/aeskulap.xpm" command="/usr/bin/aeskulap"\
+ hints="Medical image viewer and DICOM network client"
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.xpm
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.xpm (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/aeskulap.xpm 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,329 @@
+/* XPM */
+static char * aeskulap_xpm[] = {
+"30 28 298 2",
+" c None",
+". c #1159DE",
+"+ c #0D58D9",
+"@ c #0D51D1",
+"# c #0D4FD2",
+"$ c #0E4FD1",
+"% c #0C47C6",
+"& c #0C44C0",
+"* c #0D4ACB",
+"= c #0E50D1",
+"- c #0D4ED2",
+"; c #0C53D5",
+"> c #0F55D8",
+", c #0D56DC",
+"' c #0D50D3",
+") c #0C43BE",
+"! c #15339E",
+"~ c #3A4699",
+"{ c #545DA4",
+"] c #6069AB",
+"^ c #6971AF",
+"/ c #6068AA",
+"( c #4C55A0",
+"_ c #2D3D97",
+": c #0C30A4",
+"< c #0D4CCC",
+"[ c #0D51D4",
+"} c #0C50D0",
+"| c #0C48C7",
+"1 c #21399C",
+"2 c #6670B0",
+"3 c #8C94C4",
+"4 c #8D95C4",
+"5 c #838BBF",
+"6 c #4C58A3",
+"7 c #1134A2",
+"8 c #0D4FD0",
+"9 c #0D52D3",
+"0 c #0D4ECE",
+"a c #0A39B1",
+"b c #4453A2",
+"c c #7F88BF",
+"d c #818AC0",
+"e c #838CC1",
+"f c #717CB8",
+"g c #253998",
+"h c #0C47C4",
+"i c #0D4DCE",
+"j c #0B4ACA",
+"k c #0A32A6",
+"l c #4757A6",
+"m c #7480BC",
+"n c #7884BE",
+"o c #BAC0DE",
+"p c #E5E7F0",
+"q c #6D78B0",
+"r c #7783BE",
+"s c #747FBB",
+"t c #2E409B",
+"u c #0C41BE",
+"v c #0B4CCA",
+"w c #0D46C6",
+"x c #0B39B1",
+"y c #2C409C",
+"z c #6876B8",
+"A c #BEC4E1",
+"B c #D4D7E6",
+"C c #BFC5DE",
+"D c #EDEEF2",
+"E c #7881A9",
+"F c #EDEFF6",
+"G c #7782B5",
+"H c #6674B7",
+"I c #243A9A",
+"J c #0B44C2",
+"K c #0C4DCA",
+"L c #0B41BF",
+"M c #0A2590",
+"N c #5566B2",
+"O c #5C6DB5",
+"P c #5D6EB5",
+"Q c #B2BADC",
+"R c #FFFFFF",
+"S c #D4D7E4",
+"T c #DFE1EA",
+"U c #E1E4EE",
+"V c #E9EAF0",
+"W c #707DB4",
+"X c #5264B0",
+"Y c #0D2B9A",
+"Z c #0B44C1",
+"` c #0B42BD",
+" . c #092FA1",
+".. c #1C369B",
+"+. c #5064B2",
+"@. c #5366B3",
+"#. c #8190C8",
+"$. c #CED4E9",
+"%. c #EFF0F4",
+"&. c #A1A9CD",
+"*. c #6375BA",
+"=. c #253E9F",
+"-. c #0B39B0",
+";. c #0C43C4",
+">. c #0C3FB9",
+",. c #092897",
+"'. c #17359D",
+"). c #445BB0",
+"!. c #566BB8",
+"~. c #BAC2DC",
+"{. c #F6F7F9",
+"]. c #EDEFF3",
+"^. c #D5D8E3",
+"/. c #747FA9",
+"(. c #3950A1",
+"_. c #2E48A6",
+":. c #0A2C9C",
+"<. c #0C3EB9",
+"[. c #0A3DBB",
+"}. c #0B36AC",
+"|. c #092A9B",
+"1. c #0B2C9C",
+"2. c #13329F",
+"3. c #1C3BA3",
+"4. c #2744A6",
+"5. c #2F479C",
+"6. c #334894",
+"7. c #6171A9",
+"8. c #CED3E2",
+"9. c #E4E6EE",
+"0. c #D5D8E4",
+"a. c #EDEFF4",
+"b. c #737FAA",
+"c. c #2D4189",
+"d. c #182F84",
+"e. c #0C2888",
+"f. c #0A2991",
+"g. c #12329F",
+"h. c #2542A6",
+"i. c #1534A0",
+"j. c #0B3DB5",
+"k. c #0B3AB2",
+"l. c #0A31A5",
+"m. c #092DA0",
+"n. c #566FBE",
+"o. c #C0C9E6",
+"p. c #8392C1",
+"q. c #415493",
+"r. c #A7B1D1",
+"s. c #687AB1",
+"t. c #BEC5DA",
+"u. c #94A1CC",
+"v. c #1739A4",
+"w. c #0B35AD",
+"x. c #0B3CB5",
+"y. c #0A32A5",
+"z. c #0A30A4",
+"A. c #2446AE",
+"B. c #DEE3F1",
+"C. c #1C3686",
+"D. c #0B2D95",
+"E. c #1C3FAB",
+"F. c #9BA8D0",
+"G. c #0A2FA1",
+"H. c #7D8EC4",
+"I. c #7585B5",
+"J. c #0B35AA",
+"K. c #0A38B1",
+"L. c #0A35AB",
+"M. c #0A33A8",
+"N. c #4D68B5",
+"O. c #A9B3D2",
+"P. c #C1CAE3",
+"Q. c #9EADD8",
+"R. c #CAD2E7",
+"S. c #A4B2D8",
+"T. c #BAC5E3",
+"U. c #8092C5",
+"V. c #1A3889",
+"W. c #0A33AA",
+"X. c #0935AB",
+"Y. c #0A32A7",
+"Z. c #0A36AC",
+"`. c #3056B8",
+" + c #C6CFE6",
+".+ c #8291B7",
+"++ c #C0C7DB",
+"@+ c #95A1C3",
+"#+ c #919EC0",
+"$+ c #0B329D",
+"%+ c #0932A8",
+"&+ c #0B37AF",
+"*+ c #0B38B0",
+"=+ c #748ED2",
+"-+ c #1E3F96",
+";+ c #0F38A7",
+">+ c #7E93CA",
+",+ c #0B35A7",
+"'+ c #92A5D6",
+")+ c #183C9A",
+"!+ c #0A34AA",
+"~+ c #0931A1",
+"{+ c #0A2FA2",
+"]+ c #0B38AF",
+"^+ c #0B3BB4",
+"/+ c #6E8AD2",
+"(+ c #2146A0",
+"_+ c #7F95CC",
+":+ c #0C39AD",
+"<+ c #839BD9",
+"[+ c #103594",
+"}+ c #0B33A8",
+"|+ c #0A2D9E",
+"1+ c #082A98",
+"2+ c #0933A9",
+"3+ c #0B3EB8",
+"4+ c #1445BB",
+"5+ c #859BCE",
+"6+ c #1F4CB7",
+"7+ c #91A5D5",
+"8+ c #6F8CCF",
+"9+ c #5172C1",
+"0+ c #0D39A4",
+"a+ c #0A2B9B",
+"b+ c #0B41BC",
+"c+ c #1448BE",
+"d+ c #99ABD6",
+"e+ c #E3E8F3",
+"f+ c #4262AB",
+"g+ c #0C3BA4",
+"h+ c #0A299A",
+"i+ c #082695",
+"j+ c #0C3DB6",
+"k+ c #6487D7",
+"l+ c #C7D0E6",
+"m+ c #123FA2",
+"n+ c #092592",
+"o+ c #082087",
+"p+ c #092697",
+"q+ c #0C46C4",
+"r+ c #6488D6",
+"s+ c #5978BC",
+"t+ c #436ABE",
+"u+ c #0C43BF",
+"v+ c #082493",
+"w+ c #08208C",
+"x+ c #0C49C8",
+"y+ c #4E76CB",
+"z+ c #3E6AC5",
+"A+ c #4E77CD",
+"B+ c #0C48C4",
+"C+ c #0C48C8",
+"D+ c #0A2694",
+"E+ c #08218C",
+"F+ c #081D8A",
+"G+ c #0B3DB7",
+"H+ c #0D4CCD",
+"I+ c #3C6DD3",
+"J+ c #7E9AD5",
+"K+ c #144ABB",
+"L+ c #0A2D9F",
+"M+ c #081C89",
+"N+ c #081B84",
+"O+ c #0B38B1",
+"P+ c #0D4FD1",
+"Q+ c #1A51BF",
+"R+ c #0D4DCA",
+"S+ c #082999",
+"T+ c #081A86",
+"U+ c #081880",
+"V+ c #08299B",
+"W+ c #0D51D5",
+"X+ c #0B45C3",
+"Y+ c #081E88",
+"Z+ c #081982",
+"`+ c #081478",
+" @ c #08167D",
+".@ c #0C4ACA",
+"+@ c #0D54D9",
+"@@ c #0D53D7",
+"#@ c #0C43C1",
+"$@ c #0A2593",
+"%@ c #07177E",
+"&@ c #091276",
+"*@ c #071478",
+"=@ c #081981",
+"-@ c #092390",
+";@ c #0A2C9E",
+">@ c #0A31A4",
+",@ c #09218D",
+"'@ c #08177E",
+")@ c #071781",
+"!@ c #071275",
+"~@ c #061277",
+"{@ c #081374",
+"]@ c #061275",
+"^@ c #091177",
+"/@ c #070F75",
+" . ",
+" + @ # $ % & * = - ; > ",
+" , ' ) ! ~ { ] ^ / ( _ : < [ ",
+" } | 1 2 3 4 4 4 4 4 4 4 5 6 7 8 9 ",
+" 0 a b c d d d d d e d d d d d f g h i ",
+" j k l m m m m m n o p q r m m m m s t u v ",
+" w x y z z z z z A B C D E F G z z z z H I J K ",
+" L M N O O O P Q R R S T U R V W O O O O X Y Z ",
+" ` ...+.+. at .#.$.R R R R R R R R %.&.*.+.+.+.=.-.;. ",
+" >.,.'.).).!.~.{.R R R R R R R R ].^./.(.).)._.:.<. ",
+" [.}.|.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f.|.g.h.i.|.j. ",
+" k.l.m.m.m.m.m.m.m.n.o.p.q.r.s.t.u.v.m.m.m.m.m.m.m.w.x. ",
+" -.y.z.z.z.z.z.z.A.B.C.D.E.F.D.G.H.I.G.z.z.z.z.z.z.J.K. ",
+" L.M.M.M.M.M.M.M.M.N.O.P.Q.R.S.T.U.V.y.M.M.M.M.M.M.W.X. ",
+" Y.Z.Z.Z.Z.Z.Z.Z.Z.Z.`. +.+++ at +#+$+Z.Z.Z.Z.Z.Z.Z.Z.L.%+ ",
+" z.&+*+*+*+*+*+*+*+*+=+-+;+>+,+'+)+*+*+*+*+*+*+*+*+!+~+ ",
+" {+]+^+^+^+^+^+^+^+^+/+(+^+_+:+<+[+^+^+^+^+^+^+^+^+}+|+ ",
+" 1+2+3+3+3+3+3+3+3+3+4+5+6+7+8+9+0+3+3+3+3+3+3+3+3+|+ ",
+" a+b+b+b+b+b+b+b+b+b+c+d+e+f+g+b+b+b+b+b+b+b+b+3+h+ ",
+" i+j+& & & & & & & & & k+l+m+& & & & & & & & & k n+ ",
+" o+p+q+q+q+q+q+q+q+q+q+r+s+t+q+q+q+q+q+q+q+q+u+v+ ",
+" w+!+x+x+x+x+x+x+x+x+y+z+A+B+x+x+x+x+x+x+C+D+E+ ",
+" F+G+H+H+H+H+H+H+H+I+J+K+H+H+H+H+H+H+H+L+M+ ",
+" N+O+P+P+P+P+P+P+P+Q+R+P+P+P+P+P+0 S+T+ ",
+" U+V+H+W+W+W+W+W+W+W+W+W+W+W+X+Y+Z+ ",
+" `+ @y.. at +@+ at +@+ at +@+@@@#@$@%@&@ ",
+" *@U+=@-@;@>@h+,@'@)@!@ ",
+" ~@{@]@^@/@ "};
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/changelog
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/changelog (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/changelog 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,5 @@
+aeskulap (0.2.2b1-1) unstable; urgency=low
+
+ * Initial release (Closes: #451946)
+
+ -- Andreas Tille <tille at debian.org> Mon, 12 Nov 2007 14:40:43 +0100
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/compat
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/compat (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/compat 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+5
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/control
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/control (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/control 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,21 @@
+Source: aeskulap
+Section: science
+Priority: optional
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+XS-DM-Upload-Allowed: Yes
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libssl-dev, libgtkmm-2.4-dev, libglademm-2.4-dev, libgconfmm-2.6-dev, libwrap0-dev, intltool, libdcmtk1-dev, libtiff4-dev
+Standards-Version: 3.7.2
+Homepage: http://aeskulap.nongnu.org
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/aeskulap/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/aeskulap/
+
+Package: aeskulap
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: medical image viewer and DICOM network client
+ Aeskulap is able to load a series of special images stored in the DICOM
+ format for review. Additionally it is able to query and fetch DICOM
+ images from archive nodes (also called PACS) over the network. Aeskulap
+ tries to achieve a full open source replacement for commercially
+ available DICOM viewers.
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/copyright
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/copyright (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/copyright 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,23 @@
+This package was debianized by Andreas Tille <tille at debian.org> on
+Mon, 12 Nov 2007 14:40:43 +0100.
+
+It was downloaded from http://www.bms-austria.com/~pipelka/aeskulap/
+
+The homepage is: http://aeskulap.nongnu.org
+
+Upstream Authors:
+
+ Alexander Pipelka <pipelka at teleweb.at>
+ Gianluca Ghelli
+
+Copyright:
+
+ Copyright (C) 2005-2007 Alexander Pipelka
+
+License:
+ The binary aeskulap is released under the GNU GENERAL PUBLIC LICENSE,
+ the accompanying library libimagepool is released under the
+ GNU LESSER GENERAL PUBLIC LICENSE
+
+The Debian packaging is (C) 2007, Andreas Tille <tille at debian.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/docs
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/docs (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/docs 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+README
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/gconf-defaults
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/gconf-defaults (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/gconf-defaults 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+src/aeskulap.schemas
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,63 @@
+#!/bin/sh -e
+
+NAME=aeskulap
+UVERSION=0.2.2-beta1
+DVERSION=0.2.2b1
+UPSTREAMTAR="$NAME"-"$UVERSION".tar.gz
+UPSTREAMDIR=`basename $UPSTREAMTAR .tar.gz`
+
+patchname=get-orig-source_patch
+patchfile="$patchname"
+if [ ! -f "$patchfile" ] ; then
+ if [ -d debian -a -f "debian/$patchname" ] ; then
+ patchfile="debian/$patchname"
+ else
+ echo "File not found: $patchname"
+ exit -1
+ fi
+fi
+patchfile="`pwd`/$patchfile"
+
+# To rebuild the new upstream tarball you need these
+# packages installed. This will be checked later on.
+# The rationale behind this dependency is that the
+# script should work for later upstream releases as well
+# and thus a simple patch for Makefile.am and
+# configure.in would not work
+BUILDTARBALLDEPENDS="autoconf automake libtool libgconf2-dev intltool"
+# Also these build-dependencies are needed to be installed to
+# run ./configure which is a precondition for "make dist"
+BUILDDEPS="libgtkmm-2.4-dev libglademm-2.4-dev libgconfmm-2.6-dev"
+missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} ${BUILDDEPS} | \
+ grep -v -e "^ii" -e "^|" -e "^++" -e "^ " -e "^..[^[:space:]]" | \
+ sed 's/^[a-z][a-z][[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+.*/\1/'`
+
+if [ "$missingdepends" != "" ] ; then
+ echo "Please install the following packages to rebuild the upstream source tarball:"
+ echo $missingdepends
+ exit -1
+fi
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+if [ ! -f "$UPSTREAMTAR" ] ; then
+ wget http://www.bms-austria.com/~pipelka/aeskulap/"$UPSTREAMTAR"
+fi
+tar -xzf "$UPSTREAMTAR"
+
+# Apply patch that removes dcmtk stuff from Makefile.in and configure.in
+patch -p0 < "$patchfile"
+
+cd "$UPSTREAMDIR"
+# remove dcmtk stuff, once we are at it
+# Leave the packaging directory untouched even if in Debian context useless
+rm -rf COPYING.DCMTK dcmtk
+echo "Upstream tarball repackaged without dcmtk at `date`." > NEWS
+
+autoreconf
+./configure
+make dist
+mv "$UPSTREAMDIR".tar.gz ../"$NAME"_"$DVERSION".orig.tar.gz
+cd ..
+rm -rf "$UPSTREAMDIR"
Property changes on: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source_patch
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source_patch (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/get-orig-source_patch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,125 @@
+diff -ubrN aeskulap-0.2.2-beta1.orig/configure.in aeskulap-0.2.2-beta1/configure.in
+--- aeskulap-0.2.2-beta1.orig/configure.in 2007-05-24 20:59:09.000000000 +0200
++++ aeskulap-0.2.2-beta1/configure.in 2007-11-12 23:03:37.000000000 +0100
+@@ -30,7 +30,6 @@
+ AC_PROG_CC
+ AC_PROG_CXX
+ AC_PROG_INSTALL
+-
+ if test x"$MINGW32" = xno ; then
+ AM_BINRELOC
+ else
+@@ -80,6 +79,7 @@
+ AC_SUBST(GTHREAD_CFLAGS)
+ AC_SUBST(GTHREAD_LIBS)
+
++
+ if test x"$MINGW32" = xno ; then
+
+ PKG_CHECK_MODULES(GCONFMM, gconfmm-2.6 >= 2.10.0)
+@@ -95,32 +95,16 @@
+ fi
+
+
+-dnl AC_CONFIG_SUBDIRS(dcmtk)
+-
+-if test x"$MINGW32" = xyes ; then
+-
+-DCMTK_CFLAGS="-DHAVE_CONFIG_H -I\$(prefix)/include"
+-DCMTK_LIBS="-L\$(prefix)/lib -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd -lwsock32"
+-
+-else
+-
+-DCMJPEG_LIBS="-L../dcmtk/dcmjpeg/libijg8 -L../dcmtk/dcmjpeg/libijg12 -L../dcmtk/dcmjpeg/libijg16 -lijg8 -lijg12 -lijg16"
+-AC_SUBST(DCMJPEG_LIBS)
+-
+-DCMTK_CFLAGS="-DHAVE_CONFIG_H -I\$(top_srcdir)/dcmtk/config/include -I\$(top_srcdir)/dcmtk/ofstd/include -I\$(top_srcdir)/dcmtk/dcmdata/include -I\$(top_srcdir)/dcmtk/dcmnet/include -I\$(top_srcdir)/dcmtk/dcmimage/include -I\$(top_srcdir)/dcmtk/dcmimgle/include -I\$(top_srcdir)/dcmtk/dcmjpeg/include"
+-DCMTK_LIBS="-L../dcmtk/ofstd/libsrc \
+--L../dcmtk/dcmdata/libsrc \
+--L../dcmtk/dcmnet/libsrc \
+--L../dcmtk/dcmjpeg/libsrc \
+--L../dcmtk/dcmimage/libsrc \
+--L../dcmtk/dcmimgle/libsrc \
+-\$(DCMJPEG_LIBS) -ldcmjpeg -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd -lrt -lpthread"
+-
+-fi
++dnl use Debian packages dcmtk
++dnl AC_CHECK_LIB(dcmimage)
++AC_CHECK_HEADER(dcmtk/config/osconfig.h)
+
+ AC_SUBST(DCMTK_CFLAGS)
+ AC_SUBST(DCMTK_LIBS)
+
++DCMTK_CFLAGS="-DHAVE_CONFIG_H -I\$(prefix)/include"
++DCMTK_LIBS="-L\$(prefix)/lib -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd -lwrap"
++
+ dnl set PREFIX
+ if test "x${prefix}" = "xNONE"; then
+ packageprefix=${ac_default_prefix}
+@@ -128,16 +112,13 @@
+ packageprefix=${prefix}
+ fi
+
+-DCMTK_SUBDIR=""
+ if test x"$MINGW32" = xno ; then
+-DCMTK_SUBDIR="dcmtk"
+ LDFLAGS_AESKULAP_LIBS="-Wl,-rpath,${prefix}/lib/aeskulap -avoid-version"
+ else
+ LDFLAGS_MINGW32="-mwindows"
+ LDFLAGS_AESKULAP_LIBS="-avoid-version -no-undefined"
+ fi
+
+-AC_SUBST(DCMTK_SUBDIR)
+ AC_SUBST(LDFLAGS_MINGW32)
+ AC_SUBST(LDFLAGS_AESKULAP_LIBS)
+
+@@ -160,12 +141,3 @@
+ packaging/win32/aeskulap.iss
+ ])
+
+-
+-if test x"$MINGW32" = xno ; then
+-
+-cd $srcdir/dcmtk
+-export CFLAGS="$CFLAGS"
+-export CXXFLAGS="$CXXFLAGS"
+-sh ./configure --without-openssl --without-zlib --without-libwrap --prefix=${prefix} --libdir=${prefix}/lib/aeskulap
+-
+-fi
+diff -ubrN aeskulap-0.2.2-beta1.orig/Makefile.am aeskulap-0.2.2-beta1/Makefile.am
+--- aeskulap-0.2.2-beta1.orig/Makefile.am 2007-05-24 21:19:55.000000000 +0200
++++ aeskulap-0.2.2-beta1/Makefile.am 2007-11-07 07:23:00.000000000 +0100
+@@ -1,6 +1,5 @@
+ SUBDIRS = \
+ po \
+- $(DCMTK_SUBDIR) \
+ configuration \
+ imagepool \
+ widgets \
+@@ -21,7 +20,6 @@
+ AUTHORS \
+ COPYING \
+ COPYING.LIB \
+- COPYING.DCMTK \
+ INSTALL \
+ README \
+ aeskulap.cbp \
+@@ -39,18 +37,7 @@
+
+ @INTLTOOL_DESKTOP_RULE@
+
+-dist-hook:
+- mkdir -p $(distdir)/dcmtk
+- cp -Rf $(top_srcdir)/dcmtk/* $(distdir)/dcmtk
+- cd $(distdir)/dcmtk && make distclean
+- list=`find $(distdir)/dcmtk -name "CVS"` && rm -Rf $$list
+- list=`find $(distdir)/dcmtk -name ".cvsignore"` && rm -f $$list
+- list=`find $(distdir)/dcmtk -name ".#*"` && rm -f $$list
+- list=`find $(distdir)/dcmtk -name "*.a"` && rm -f $$list
+- list=`find $(distdir)/dcmtk -name "*.so"` && rm -f $$list
+-
+ distclean: distclean-recursive
+- if test x"" != "x" ; then cd ./dcmtk && make distclean ; fi
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
+ -rm -f Makefile
+
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/rules
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/rules (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/rules 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+# include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/class/gnome.mk
+
+get-orig-source:
+ . debian/get-orig-source
Property changes on: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/aeskulap/tags/0.2.2b1-1/debian/watch
===================================================================
--- trunk/packages/aeskulap/tags/0.2.2b1-1/debian/watch (rev 0)
+++ trunk/packages/aeskulap/tags/0.2.2b1-1/debian/watch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,4 @@
+version=3
+
+#http://www.bms-austria.com/~pipelka/aeskulap aeskulap-(.*)\.tar\.gz
+http://www.bms-austria.com/~pipelka/aeskulap/aeskulap-(.*)\.tar\.gz
Added: trunk/packages/volpack/tags/1.0b3-1/debian/README.Debian
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/README.Debian (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/README.Debian 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,30 @@
+volpack for Debian
+------------------
+
+The volpack package might be interesting for Debian-Med and provides
+additional functionality for the amide image viewer
+
+The source tarball was rebuilded to enable easy building of dynamically
+and statically linked libraries. The easiest way to do so is to use
+automake and libtool. The patch was forewarde to the author but for
+the moment he prefers to stick to his own building system:
+
+ Date: Wed, 07 Nov 2007 14:02:47 -0800
+ From: Phil Lacroute <lacroute at stanford.edu>
+
+ I'm not entirely happy with the new build procedure since it doesn't work on the
+ environment I use every day, and I haven't had a whole lot of time to look into it. I
+ haven't looked at the GNU build tools in a long time so there's a bit of a learning
+ curve to figure out the issues.
+
+I decided to change the orig.tar.gz tarball because I would consider
+this as a welcome enhancement also for non-Debian users who might be
+interested in just downloading this alternative package. I wanted to
+avoid mixing this up with other patches.
+
+The process how to obtain this tarball is documented in the get-orig-source
+target of debian/rules (which calls the script debian/get-orig-source and
+applies the patch debian/get-orig-source.patch) so it can easily reproduced
+if necessary.
+
+ -- Andreas Tille <tille at debian.org> Mon, 10 Dec 2007 14:16:56 +0200
Added: trunk/packages/volpack/tags/1.0b3-1/debian/changelog
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/changelog (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/changelog 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,8 @@
+volpack (1.0b3-1) unstable; urgency=low
+
+ * Initial release
+ Closes: #435823
+ * Reworked Build system to automake to enable libtool
+
+ -- Andreas Tille <tille at debian.org> Fri, 03 Aug 2007 14:16:56 +0200
+
Added: trunk/packages/volpack/tags/1.0b3-1/debian/compat
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/compat (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/compat 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+5
Added: trunk/packages/volpack/tags/1.0b3-1/debian/control
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/control (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/control 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,48 @@
+Source: volpack
+Priority: extra
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+XS-DM-Upload-Allowed: Yes
+Uploaders: Michael Hanke <michael.hanke at gmail.com>, Andreas Tille <tille at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), m4, autotools-dev, dpatch, d-shlibs
+Standards-Version: 3.7.2
+Homepage: http://graphics.stanford.edu/software/volpack/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/volpack/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/volpack/
+
+Package: libvolpack1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: fast volume rendering library
+ VolPack is a software library for fast, high-quality volume rendering with
+ this features:
+ * Renders data sampled on a regular, three-dimensional grid.
+ * Supports user-specified transfer functions for both opacity and color.
+ * Provides a shading model with directional light sources, multiple material
+ types with different reflective properties, depth cueing, and shadows.
+ * Produces color (24 bits/pixel) or grayscale (8 bits/pixel) renderings,
+ with or without an alpha channel.
+ * Supports arbitrary affine view transformations.
+ * Supports a flexible data format that allows an arbitrary C structure to be
+ associated with each voxel.
+
+Package: libvolpack1-dev
+Architecture: any
+Section: libdevel
+Depends: libvolpack1 (= ${binary:Version}), ${devlibs:Depends}
+Provides: libvolpack-dev
+Conflicts: libvolpack-dev
+Description: fast volume rendering library
+ VolPack is a software library for fast, high-quality volume rendering with
+ this features:
+ * Renders data sampled on a regular, three-dimensional grid.
+ * Supports user-specified transfer functions for both opacity and color.
+ * Provides a shading model with directional light sources, multiple material
+ types with different reflective properties, depth cueing, and shadows.
+ * Produces color (24 bits/pixel) or grayscale (8 bits/pixel) renderings,
+ with or without an alpha channel.
+ * Supports arbitrary affine view transformations.
+ * Supports a flexible data format that allows an arbitrary C structure to be
+ associated with each voxel.
+ .
+ This is the development package.
Added: trunk/packages/volpack/tags/1.0b3-1/debian/copyright
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/copyright (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/copyright 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,34 @@
+This package was debianized by Michael Hanke <michael.hanke at gmail.com> on
+Fri, 20 Apr 2007 19:37:30 +0200.
+
+It was downloaded from http://graphics.stanford.edu/software/volpack/
+
+Upstream Author: Philippe Lacroute <volpack at graphics.stanford.edu>
+
+As a request from Andreas Tille to explicitely mention the license
+inside the download archive upstream has agreed so for future
+versions. For the moment there is the web site
+ http://graphics.stanford.edu/software/bsd-license.html
+which explicitely states:
+ In an effort to simplify our licensing terms and facilitate the
+ widest possible use of our software, as of August 23, 2007 we have
+ switched to the BSD license for all future downloads of our software.
+
+The former license (until the date mentioned above) was:
+ Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+ Junior University. All rights reserved.
+
+ Permission to use, copy, modify and distribute this software and its
+ documentation for any purpose is hereby granted without fee, provided
+ that the above copyright notice and this permission notice appear in
+ all copies of this software and that you do not sell the software.
+ Commercial licensing is available by contacting the author.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+
+The Debian packaging is (C) 2007, Michael Hanke <michael.hanke at gmail.com> and
+Andreas Tille <tille at debian.org> is licensed under the GPL, see
+`/usr/share/common-licenses/GPL'.
Added: trunk/packages/volpack/tags/1.0b3-1/debian/docs
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/docs (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/docs 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+README
Added: trunk/packages/volpack/tags/1.0b3-1/debian/examples/Makefile
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/examples/Makefile (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/examples/Makefile 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,22 @@
+# Makefile to compile the examples provided by libvolpack1-dev package
+# Andreas Tille <tille at debian.org> Mon, 10 Dec 2007
+# GPL
+
+CFLAGS=-g -O2 -Wall
+LDFLAGS=-s -lvolpack
+
+TARGETS=classifyvolume makeoctree makevolume rendervolume scalevolume
+
+all: $(TARGETS)
+
+scalevolume: scalevolume.c denfile.c
+
+test: all
+ test.sh
+
+clean:
+ rm -rf *.o *~
+ rm -f brainsmall*.ppm brainsmall.cv brainsmall.oct brainsmall.rv
+
+distclean: clean
+ rm -f $(TARGETS)
Added: trunk/packages/volpack/tags/1.0b3-1/debian/examples/README
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/examples/README (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/examples/README 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,107 @@
+Please unzip all files in this directory using
+ gunzip *.gz
+then type
+ make
+to build the example binaries. You can either call
+ make test
+or
+ test.sh
+to run the example programs.
+
+ -- Andreas Tille <tille at debian.org>
+
+Here follows the original README from the example programs:
+
+
+README File for VolPack Example Programs
+----------------------------------------
+
+The programs in this directory demonstrate how to use the basic
+features of the three rendering algorithms in the VolPack library.
+See the vprender program for a more complete application.
+
+For installation instructions, see the README file in the toplevel
+directory of the VolPack distribution.
+
+For a quick test of your installation, run test.csh. The output files
+are brainsmall1.ppm, brainsmall2.ppm, brainsmall3.ppm and
+brainsmall4.ppm. They should all be identical to check.ppm.
+
+The input data (brainsmall.den) is an MRI scan of a human head,
+derived from public domain data provided by SoftLab at UNC Chapel
+Hill. The original MRI scan has been scaled down to 128x128x84 voxels
+using a Gaussian filter.
+
+Three programs are provided to convert the volume data into data
+structures used by VolPack, and the fourth program does the rendering.
+It produces an image in PPM format.
+
+The first program, "makevolume", takes no arguments and creates an
+unclassified volume (brainsmall.rv) from the raw volume data
+(brainsmall.den). The unclassified volume includes all of the data in
+brainsmall.den as well as precomputed information for shading and
+classification.
+
+The second program, "makeoctree", takes no arguments and creates a
+min-max octree (brainsmall.oct) from the unclassified volume
+(brainsmall.rv). The octree can be used by the rendering program to
+accelerate rendering, but it is optional.
+
+The third program, "classifyvolume", creates a classified volume
+(brainsmall.cv). A classified volume includes an opacity with each
+voxel along with information for shading. It is stored in a format
+which is optimized for fast rendering and which (usually) requires
+less storage than the unclassified volume. There are three ways to
+call classifyvolume:
+ 1) classifyvolume
+ With no arguments, classifyvolume creates brainsmall.cv from
+ the unclassified volume (brainsmall.rv).
+ 2) classifyvolume -octree
+ With the -octree flag, classifyvolume creates brainsmall.cv from
+ the unclassified volume (brainsmall.rv) and the min-max octree
+ (brainsmall.oct). This method is much faster than method 1.
+ 3) classifyvolume -rawdata
+ With the -rawdata flag, classifyvolume creates brainsmall.cv
+ directly from the raw volume data (brainsmall.den).
+
+The fourth program, "rendervolume", creates an image (brainsmall.ppm)
+in PPM format. There are three ways to call rendervolume:
+ 1) rendervolume
+ With no arguments, rendervolume creates brainsmall.ppm from
+ the unclassified volume (brainsmall.rv) using the slowest
+ rendering algorithm.
+ 2) rendervolume -octree
+ With the -octree flag, rendervolume creates brainsmall.ppm from
+ the unclassified volume (brainsmall.rv) and the min-max octree
+ (brainsmall.oct) using the fast classification and rendering
+ algorithm. This method is much faster than method 1.
+ 3) rendervolume -classified
+ With the -classified flag, rendervolume creates brainsmall.ppm
+ from the classified volume (brainsmall.cv) using the fastest
+ rendering algorithm. This method is even faster than method 2.
+The rendervolume program can also take an optional numerical argument
+which is the number of frames to render. In this case the program
+will produce output files of the form "brainsmall_{number}.ppm" where
+{number} is a frame number. The frames form a movie with a 5 degree
+rotation about the vertical axis between each frame. For example:
+ rendervolume -classified 30
+produces a 30 frame movie from headsmall.cv. The file "check.ppm" is
+a PPM image file which should be identical to the first frame of
+output from rendervolume. The PPM image format is recognized by many
+image viewers and conversion programs.
+
+Experiment with the programs to see the relative speed of the three
+algorithms on your machine! See the VolPack User's Guide for the
+intended uses of each algorithm.
+
+File Sizes:
+ raw data (brainsmall.den): 1376318 bytes (1.3 Mb)
+ unclassified volume (brainsmall.rv): 5505104 bytes (5.3 Mb)
+ min-max octree (brainsmall.oct): 136748 bytes (0.1 Mb)
+ classified volume (brainsmall.cv): 3215848 bytes (3.0 Mb)
+ image (brainsmall.ppm): 65551 bytes
+
+Finally, the program "scalevolume" demonstrates how to use the volume
+resampling utilities to change the resolution of a volume. It can be
+used to upsample or downsample volumes in .den format. See the
+comment at the beginning of scalevolume.c for usage information.
Added: trunk/packages/volpack/tags/1.0b3-1/debian/examples/test.sh
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/examples/test.sh (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/examples/test.sh 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,25 @@
+#!/bin/sh -f
+
+echo "*** makevolume ***"
+time makevolume
+echo "*** rendervolume ***"
+time rendervolume
+mv brainsmall.ppm brainsmall1.ppm
+
+echo "*** makeoctree ***"
+time makeoctree
+echo "*** rendervolume -octree ***"
+time rendervolume -octree
+mv brainsmall.ppm brainsmall2.ppm
+
+echo "*** classifyvolume ***"
+time classifyvolume
+echo "*** rendervolume -classified ***"
+time rendervolume -classified
+mv brainsmall.ppm brainsmall3.ppm
+
+echo "*** classifyvolume -octree ***"
+time classifyvolume -octree
+echo "*** rendervolume -classified ***"
+time rendervolume -classified
+mv brainsmall.ppm brainsmall4.ppm
Property changes on: trunk/packages/volpack/tags/1.0b3-1/debian/examples/test.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,60 @@
+#!/bin/sh -e
+
+NAME=volpack
+VERSION=1.0b3
+UPSTREAMTAR="$NAME"-"$VERSION".tar.Z
+UPSTREAMDIR=`basename $UPSTREAMTAR .tar.Z`
+
+patchname=get-orig-source_patch
+patchfile="$patchname"
+if [ ! -f "$patchfile" ] ; then
+ if [ -d debian -a -f "debian/$patchname" ] ; then
+ patchfile="debian/$patchname"
+ else
+ echo "File not found: $patchname"
+ exit -1
+ fi
+fi
+patchfile="`pwd`/$patchfile"
+
+# To rebuild the new upstream tarball you need these
+# packages installed. This will be checked later on.
+# The rationale behind this dependency is that the
+# script should work for later upstream releases as well
+# and thus a simple patch for Makefile.am and
+# configure.in would not work
+BUILDTARBALLDEPENDS="autoconf automake libtool libgconf2-dev intltool"
+missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} | \
+ grep -v -e "^ii" -e "^|" -e "^++" -e "^ " -e "^..[^[:space:]]" | \
+ sed 's/^[a-z][a-z][[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+.*/\1/'`
+
+if [ "$missingdepends" != "" ] ; then
+ echo "Please install the following packages to rebuild the upstream source tarball:"
+ echo $missingdepends
+ exit -1
+fi
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+if [ ! -f "$UPSTREAMTAR" ] ; then
+ wget http://graphics.stanford.edu/software/volpack/"$UPSTREAMTAR"
+fi
+tar -xzf "$UPSTREAMTAR"
+
+# Apply patch that removes dcmtk stuff from Makefile.in and configure.in
+patch -p0 < "$patchfile"
+
+cd "$UPSTREAMDIR"
+chmod 755 makeopts
+
+# gettextize --force --copy
+libtoolize --force --copy
+aclocal
+automake --add-missing --force-missing --gnu
+autoconf
+./configure
+make dist
+mv "$UPSTREAMDIR".tar.gz ../"$NAME"_"$VERSION".orig.tar.gz
+cd ..
+rm -rf "$UPSTREAMDIR"
Property changes on: trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source_patch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source_patch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/get-orig-source_patch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,1291 @@
+diff -ubrN volpack-1.0b3.orig/AUTHORS volpack-1.0b3/AUTHORS
+--- volpack-1.0b3.orig/AUTHORS 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/AUTHORS 2007-07-28 21:37:35.000000000 +0200
+@@ -0,0 +1,3 @@
++Phil Lacroute
++volpack at graphics.stanford.edu
++16 December 1994
+diff -ubrN volpack-1.0b3.orig/ChangeLog volpack-1.0b3/ChangeLog
+--- volpack-1.0b3.orig/ChangeLog 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/ChangeLog 1994-12-31 00:52:30.000000000 +0100
+@@ -0,0 +1,110 @@
++--------------- Released version 1.0 beta1 ---------------
++
++1. Bug Fix: vpCreateMinMaxOctree caused a segmentation fault for
++ volume sizes that were not a power of two.
++
++2. Debug Feature: Added debugging code for compositing calculation.
++
++3. Debug Feature: Added intermediate image coordinates to vpTracePixel
++ output.
++
++4. Bug Fix: Added a check in vpRamp for non-increasing x coordinates
++ to prevent a divide-by-zero error.
++
++5. Bug Fix: Added a version of the compositing routine (vp_compAn.m4)
++ that does not have unrolled loops, since some compilers have
++ trouble with the unrolled version (too many basic blocks to run the
++ optimizer in a reasonable amount of time). The unrolled version is
++ now in vp_compAu.m4 instead of vp_compA.m4. The Makefile can be
++ modified to choose one or the other version.
++
++6. Feature: Added complete man pages for all library routines.
++
++7. Bug Fix: In vpSetCallback, revert to default behavior if the function
++ argument is NULL (instead of causing a NULL dereference later on).
++
++8. Feature: Added vpStoreContext and vpLoadContext to save and restore
++ rendering contexts (and to make it easier to reproduce bugs).
++
++9. Feature: Changed vpLoadRawVolume to memory-map the file if
++ requested
++
++10. Bug Fix: Fixed missing and incorrect function prototypes.
++
++11. Feature: Changed makefile and headers to use GNU autoconf.
++
++--------------- Released version 1.0 beta2 ---------------
++
++12. Bug Fix: Fixed minus-sign error in formula for depth cueing factor.
++ This eliminates the brightness changes that occurred when rotating
++ a volume past a 45 degree point with depth cueing enabled.
++
++13. Debug Feature: Added code to collect rendering statistics for
++ performance analysis.
++
++14. Debug Feature: Allow negative opacity threshold (to experiment with
++ disabling the benefit of spatial data structures).
++
++15. Bug Fix: Fixed the result of vpGeti with the VP_VIEW_Y_SIZE
++ or VP_VIEW_Z_SIZE options.
++
++16. Reorganization and renaming of compositing functions to make it
++ easier to conditionally compile in just some of the special-case
++ versions. Also merged code for unrolled loops with code for
++ non-unrolled loops into one M4 source file.
++
++17. Feature: Added experimental "index volume" code for faster
++ early-ray termination.
++
++18. Debug Feature: Added define flags to conditionally remove early-ray
++ termination and resampling loops for performance analysis runs.
++
++19. Feature: Added experimental brute-force raycaster for performance
++ comparisons.
++
++20. Feature: Implemented shadows.
++
++21. Bug Fix: Added missing return value in vpDestroyClassifiedVolume.
++
++22. Feature: Implemented resampling filters for scaling volume data
++ (vpSetFilter(), vpResample(), vpBoxFilter(), vpLinearFilter(),
++ vpBicubicFilter(), vpGaussianFilter()).
++
++23. Feature: Added capability to produce images with a variety of
++ pixel formats, including an optional alpha channel.
++ *** INCOMPATIBLE CHANGE TO vpSetImage ***
++
++24. Feature: Changed vpGetImage to produce images with the same
++ pixel formats supported by vpSetImage, and to allow reading back
++ the shadow buffer.
++ *** INCOMPATIBLE CHANGE TO vpGetImage ***
++
++25. Reorganized macros in vp_compA.m4 and vp_warpA.m4.
++
++26. Bug Fix: Refactor view if shadows are turned on.
++
++27. Feature: The callback functions for VP_LOG_ALLOC_FUNC,
++ VP_LOG_FREE_FUNC and VP_STATUS_FUNC now get one additional
++ argument, the client_data pointer associated with the context.
++
++28. Bug Fix: Check if intermediate image buffer must be resized
++ even if view has not changed (since number of color channels
++ may be different).
++
++29. Feature: Allow clamping to be disabled when computing shading
++ lookup table (vpShadeTable).
++
++30. Debug Feature: Added options to override default compositing direction
++ and to retrieve compositing order.
++
++31. Bug Fix: Check for invalid voxel field sizes when using lookup
++ table shading.
++
++32. Bug Fix: Don't destroy classified volume when raw voxel array
++ is set to NULL pointer.
++
++33. Bug Fix: Fixed error in vpNormalIndex (also affecting
++ vpScanlineNormals and vpVolumeNormals) that resulted in incorrect
++ calculation of isolated surface normals due to a roundoff error.
++ This sometimes also resulted in index values greater than the
++ maximum permissible value.
+diff -ubrN volpack-1.0b3.orig/changes volpack-1.0b3/changes
+--- volpack-1.0b3.orig/changes 1994-12-31 00:52:30.000000000 +0100
++++ volpack-1.0b3/changes 1970-01-01 01:00:00.000000000 +0100
+@@ -1,110 +0,0 @@
+---------------- Released version 1.0 beta1 ---------------
+-
+-1. Bug Fix: vpCreateMinMaxOctree caused a segmentation fault for
+- volume sizes that were not a power of two.
+-
+-2. Debug Feature: Added debugging code for compositing calculation.
+-
+-3. Debug Feature: Added intermediate image coordinates to vpTracePixel
+- output.
+-
+-4. Bug Fix: Added a check in vpRamp for non-increasing x coordinates
+- to prevent a divide-by-zero error.
+-
+-5. Bug Fix: Added a version of the compositing routine (vp_compAn.m4)
+- that does not have unrolled loops, since some compilers have
+- trouble with the unrolled version (too many basic blocks to run the
+- optimizer in a reasonable amount of time). The unrolled version is
+- now in vp_compAu.m4 instead of vp_compA.m4. The Makefile can be
+- modified to choose one or the other version.
+-
+-6. Feature: Added complete man pages for all library routines.
+-
+-7. Bug Fix: In vpSetCallback, revert to default behavior if the function
+- argument is NULL (instead of causing a NULL dereference later on).
+-
+-8. Feature: Added vpStoreContext and vpLoadContext to save and restore
+- rendering contexts (and to make it easier to reproduce bugs).
+-
+-9. Feature: Changed vpLoadRawVolume to memory-map the file if
+- requested
+-
+-10. Bug Fix: Fixed missing and incorrect function prototypes.
+-
+-11. Feature: Changed makefile and headers to use GNU autoconf.
+-
+---------------- Released version 1.0 beta2 ---------------
+-
+-12. Bug Fix: Fixed minus-sign error in formula for depth cueing factor.
+- This eliminates the brightness changes that occurred when rotating
+- a volume past a 45 degree point with depth cueing enabled.
+-
+-13. Debug Feature: Added code to collect rendering statistics for
+- performance analysis.
+-
+-14. Debug Feature: Allow negative opacity threshold (to experiment with
+- disabling the benefit of spatial data structures).
+-
+-15. Bug Fix: Fixed the result of vpGeti with the VP_VIEW_Y_SIZE
+- or VP_VIEW_Z_SIZE options.
+-
+-16. Reorganization and renaming of compositing functions to make it
+- easier to conditionally compile in just some of the special-case
+- versions. Also merged code for unrolled loops with code for
+- non-unrolled loops into one M4 source file.
+-
+-17. Feature: Added experimental "index volume" code for faster
+- early-ray termination.
+-
+-18. Debug Feature: Added define flags to conditionally remove early-ray
+- termination and resampling loops for performance analysis runs.
+-
+-19. Feature: Added experimental brute-force raycaster for performance
+- comparisons.
+-
+-20. Feature: Implemented shadows.
+-
+-21. Bug Fix: Added missing return value in vpDestroyClassifiedVolume.
+-
+-22. Feature: Implemented resampling filters for scaling volume data
+- (vpSetFilter(), vpResample(), vpBoxFilter(), vpLinearFilter(),
+- vpBicubicFilter(), vpGaussianFilter()).
+-
+-23. Feature: Added capability to produce images with a variety of
+- pixel formats, including an optional alpha channel.
+- *** INCOMPATIBLE CHANGE TO vpSetImage ***
+-
+-24. Feature: Changed vpGetImage to produce images with the same
+- pixel formats supported by vpSetImage, and to allow reading back
+- the shadow buffer.
+- *** INCOMPATIBLE CHANGE TO vpGetImage ***
+-
+-25. Reorganized macros in vp_compA.m4 and vp_warpA.m4.
+-
+-26. Bug Fix: Refactor view if shadows are turned on.
+-
+-27. Feature: The callback functions for VP_LOG_ALLOC_FUNC,
+- VP_LOG_FREE_FUNC and VP_STATUS_FUNC now get one additional
+- argument, the client_data pointer associated with the context.
+-
+-28. Bug Fix: Check if intermediate image buffer must be resized
+- even if view has not changed (since number of color channels
+- may be different).
+-
+-29. Feature: Allow clamping to be disabled when computing shading
+- lookup table (vpShadeTable).
+-
+-30. Debug Feature: Added options to override default compositing direction
+- and to retrieve compositing order.
+-
+-31. Bug Fix: Check for invalid voxel field sizes when using lookup
+- table shading.
+-
+-32. Bug Fix: Don't destroy classified volume when raw voxel array
+- is set to NULL pointer.
+-
+-33. Bug Fix: Fixed error in vpNormalIndex (also affecting
+- vpScanlineNormals and vpVolumeNormals) that resulted in incorrect
+- calculation of isolated surface normals due to a roundoff error.
+- This sometimes also resulted in index values greater than the
+- maximum permissible value.
+diff -ubrN volpack-1.0b3.orig/config.h.in volpack-1.0b3/config.h.in
+--- volpack-1.0b3.orig/config.h.in 1994-09-25 19:50:42.000000000 +0100
++++ volpack-1.0b3/config.h.in 2007-08-04 21:21:18.000000000 +0200
+@@ -1,16 +1,64 @@
+-/* config.h.in. Generated automatically from configure.in by autoheader. */
++/* config.h.in. Generated from configure.in by autoheader. */
+
+-/* Define if you don't have vprintf but do have _doprnt. */
++/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H
++
++/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+ #undef HAVE_DOPRNT
+
+-/* Define if you have the vprintf function. */
+-#undef HAVE_VPRINTF
++/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H
+
+-/* Define if you have the ANSI C header files. */
+-#undef STDC_HEADERS
++/* Define to 1 if you have the `m' library (-lm). */
++#undef HAVE_LIBM
+
+-/* Define if you have the <memory.h> header file. */
++/* Define to 1 if you have the <memory.h> header file. */
+ #undef HAVE_MEMORY_H
+
+-/* Define if you have the <string.h> header file. */
++/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H
++
++/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H
++
++/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H
++
++/* Define to 1 if you have the <string.h> header file. */
+ #undef HAVE_STRING_H
++
++/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H
++
++/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H
++
++/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H
++
++/* Define to 1 if you have the `vprintf' function. */
++#undef HAVE_VPRINTF
++
++/* Name of package */
++#undef PACKAGE
++
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
++/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS
++
++/* Version number of package */
++#undef VERSION
+diff -ubrN volpack-1.0b3.orig/configure.in volpack-1.0b3/configure.in
+--- volpack-1.0b3.orig/configure.in 1994-12-15 21:11:34.000000000 +0100
++++ volpack-1.0b3/configure.in 2007-08-04 21:21:01.000000000 +0200
+@@ -1,8 +1,35 @@
+ dnl This file is an input file used by the GNU "autoconf" program to
+ dnl generate the file "configure", which is run during installation
+ dnl to configure the system for the local environment.
+-AC_INIT(vp_global.h)
+-AC_CONFIG_HEADER(config.h)
++dnl
++dnl Authors:
++dnl Andreas Tille <tille at debian.org> and Daniel Leidert <daniel.leidert at wgdd.de>
++dnl License: GPL
++
++dnl Initialize autoconf by any header file of the source
++dnl
++
++AC_INIT([volpack], [1.0b3], [volpack at graphics.stanford.edu])
++AC_PREREQ([2.54])
++AC_CONFIG_SRCDIR([volpack.h])
++
++dnl Define the library SONAME. You can create the different numbers from VERSION
++dnl if you want (probably awk, ...)
++dnl
++
++LIBVOLPACK_MAJOR=1
++LIBVOLPACK_MINOR=1
++LIBVOLPACK_MICRO=0
++
++AC_SUBST(LIBVOLPACK_VERSION_INFO, [$LIBVOLPACK_MAJOR:$LIBVOLPACK_MINOR:$LIBVOLPACK_MICRO])
++
++dnl This configures autoheader to generate a config.h file
++dnl
++
++AM_CONFIG_HEADER([config.h])
++
++AM_INIT_AUTOMAKE([-Wall])
++AM_PROG_LIBTOOL
+
+ AC_CANONICAL_HOST
+
+@@ -33,13 +60,15 @@
+ MFLAGS=
+ ;;
+ esac
+-AC_SUBST(OFLAGS)
+-AC_SUBST(MFLAGS)
++AC_SUBST([OFLAGS])
++AC_SUBST([MFLAGS])
+
++dnl AC_PROG_LIBTOOL
++AC_PROG_CC
++dnl CC=${CC-cc}
++dnl AC_SUBST(CC)
++AC_PROG_CPP
+ AC_PROG_INSTALL
+-AC_PROG_RANLIB
+-CC=${CC-cc}
+-AC_SUBST(CC)
+
+ if test -z "$M4" ; then
+ case "$host" in
+@@ -51,10 +80,20 @@
+ ;;
+ esac
+ fi
+-AC_PATH_PROGS(M4, gnum4 gm4 m4, m4)
++AC_PATH_PROGS([M4], [gnum4 gm4 m4])
++test -n "$M4" || AC_MSG_ERROR([m4 is missing on your system or not present in PATH.])
+ AC_HEADER_STDC
+-AC_CHECK_HEADERS(string.h memory.h)
++AC_CHECK_HEADERS([string.h memory.h])
++
++AC_CHECK_LIB([m], [cos])
+
+ AC_FUNC_VPRINTF
+
+-AC_OUTPUT(Makefile examples/Makefile)
++AC_CONFIG_FILES([
++ Makefile
++ doc/Makefile
++ examples/Makefile
++ man/Makefile
++ man/src/Makefile
++])
++AC_OUTPUT
+diff -ubrN volpack-1.0b3.orig/COPYING volpack-1.0b3/COPYING
+--- volpack-1.0b3.orig/COPYING 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/COPYING 2007-07-28 21:17:53.000000000 +0200
+@@ -0,0 +1,19 @@
++ VolPack version 1.0beta3
++ ------------------------
++Copyright
++
++VolPack is covered by the following copyright notice:
++
++ Copyright (c) 1994 The Board of Trustees of The Leland Stanford
++ Junior University. All rights reserved.
++
++ Permission to use, copy, modify and distribute this software and its
++ documentation for any purpose is hereby granted without fee, provided
++ that the above copyright notice and this permission notice appear in
++ all copies of this software and that you do not sell the software.
++ Commercial licensing is available by contacting the author.
++
++ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
++ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++
+diff -ubrN volpack-1.0b3.orig/doc/Makefile.am volpack-1.0b3/doc/Makefile.am
+--- volpack-1.0b3.orig/doc/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/doc/Makefile.am 2007-07-28 21:07:43.000000000 +0200
+@@ -0,0 +1,6 @@
++## Process this file with automake to produce Makefile.in
++# Makefile.am for volpack/doc
++# Andreas Tille <tille at debian.org>
++# GPL
++
++EXTRA_DIST = vp_userguide.html vp_userguide.ps
+diff -ubrN volpack-1.0b3.orig/examples/Makefile.am volpack-1.0b3/examples/Makefile.am
+--- volpack-1.0b3.orig/examples/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/examples/Makefile.am 2007-08-03 21:50:34.000000000 +0200
+@@ -0,0 +1,24 @@
++## Process this file with automake to produce Makefile.in
++# Makefile.am for volpack/examples
++# Andreas Tille <tille at debian.org> and Daniel Leidert <daniel.leidert at wgdd.de>
++# GPL
++
++EXTRA_DIST = brainsmall.den check.ppm README test.csh
++
++CLEANFILES = $(EXAMPLEOUTPUT)
++
++AM_CPPFLAGS = -I$(top_srcdir)
++LDADD = $(top_builddir)/libvolpack.la @LIBS@
++
++noinst_PROGRAMS = classifyvolume makeoctree makevolume rendervolume scalevolume
++
++classifyvolume_SOURCES = classifyvolume.c volume.h
++makeoctree_SOURCES = makeoctree.c volume.h
++makevolume_SOURCES = makevolume.c volume.h
++rendervolume_SOURCES = rendervolume.c volume.h
++scalevolume_SOURCES = scalevolume.c denfile.c
++
++# In case there are some remainings from the example tests:
++EXAMPLEOUTPUT = brainsmall.cv brainsmall.oct brainsmall*.ppm brainsmall.rv
++
++
+diff -ubrN volpack-1.0b3.orig/examples/Makefile.in volpack-1.0b3/examples/Makefile.in
+--- volpack-1.0b3.orig/examples/Makefile.in 1995-01-01 01:01:41.000000000 +0100
++++ volpack-1.0b3/examples/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+@@ -1,116 +0,0 @@
+-#
+-# Makefile for VolPack example programs. If it has the name "Makefile.in"
+-# then it is a template for a Makefile; to generate the actual Makefile,
+-# run "./configure", which is a configuration script generated by the
+-# "autoconf" program (constructs like "@foo@" will get replaced in the
+-# actual Makefile).
+-#
+-# Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+-# Junior University. All rights reserved.
+-#
+-# Permission to use, copy, modify and distribute this software and its
+-# documentation for any purpose is hereby granted without fee, provided
+-# that the above copyright notice and this permission notice appear in
+-# all copies of this software and that you do not sell the software.
+-# Commercial licensing is available by contacting the author.
+-#
+-# THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+-# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+-# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+-#
+-# Author:
+-# Phil Lacroute
+-# Computer Systems Laboratory
+-# Electrical Engineering Dept.
+-# Stanford University
+-#
+-
+-# shell to use for executing make commands
+-SHELL = /bin/sh
+-
+-###########################################################################
+-# Options that can be changed by the user.
+-###########################################################################
+-
+-# ANSI-C prototypes: use the first line to let the #ifdef's in
+-# volpack.h guess if your compiler supports prototypes, use the
+-# second line to disable prototypes, or use the third line to
+-# enable prototypes
+-PROTO_FLAG =
+-#PROTO_FLAG = -DNO_PROTOTYPE
+-#PROTO_FLAG = -DANSI_C
+-
+-# optional compiler flags: use the first line for full optimization
+-# (configure will try to choose flags for your system), or use the
+-# second for no optimization; the other lines are for various levels
+-# of debugging
+-CCOPT_FLAGS = $(OFLAGS)
+-#CCOPT_FLAGS =
+-#CCOPT_FLAGS = -DASSERTIONS -fullwarn -g
+-
+-# directory containing volpack
+-VOLPACK = ..
+-
+-# include files for volpack
+-VPINCL = -I$(VOLPACK)
+-
+-# library for volpack
+-VPLIB = $(VOLPACK)/libvolpack.a
+-
+-###########################################################################
+-# Options that are changed by the configure script. These should
+-# probably not be editted by hand.
+-###########################################################################
+-
+-# pathname for the C compiler
+-CC = @CC@
+-
+-# compiler options
+-AC_FLAGS = @DEFS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for options that should always be included (even for
+-# compiles with optimization turned off); configure can fill
+-# this in automatically if you supply a recognized system name
+-MFLAGS = @MFLAGS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for optimization options only; configure can fill
+-# this in automatically if you supply a recognized system name
+-OFLAGS = @OFLAGS@
+-
+-###########################################################################
+-# Nothing beyond this point should need to be changed by the user.
+-###########################################################################
+-
+-CFLAGS = -I. ${VPINCL} ${AC_FLAGS} ${CCOPT_FLAGS} ${MFLAGS} ${PROTO_FLAG}
+-LIBS = ${VPLIB} -lm
+-
+-all: makevolume makeoctree classifyvolume rendervolume scalevolume
+-
+-makevolume: makevolume.c volume.h $(VPLIB)
+- $(CC) -o makevolume $(CFLAGS) makevolume.c $(LIBS)
+-
+-makeoctree: makeoctree.c volume.h $(VPLIB)
+- $(CC) -o makeoctree $(CFLAGS) makeoctree.c $(LIBS)
+-
+-classifyvolume: classifyvolume.c volume.h $(VPLIB)
+- $(CC) -o classifyvolume $(CFLAGS) classifyvolume.c $(LIBS)
+-
+-rendervolume: rendervolume.c volume.h $(VPLIB)
+- $(CC) -o rendervolume $(CFLAGS) rendervolume.c $(LIBS)
+-
+-scalevolume: scalevolume.c denfile.c $(VPLIB)
+- $(CC) -o scalevolume $(CFLAGS) scalevolume.c denfile.c $(LIBS)
+-
+-checkin:
+- ci -l -f classifyvolume.c makeoctree.c makevolume.c \
+- rendervolume.c scalevolume.c denfile.c volume.h \
+- Makefile.in test.csh test.out README
+-
+-clean:
+- rm -f makevolume makeoctree classifyvolume rendervolume scalevolume
+- rm -f scalevolume.o denfile.o
+- rm -f brainsmall.rv brainsmall.oct brainsmall.cv brainsmall.ppm
+- rm -f brainsmall1.ppm brainsmall2.ppm
+- rm -f brainsmall3.ppm brainsmall4.ppm
+diff -ubrN volpack-1.0b3.orig/INSTALL volpack-1.0b3/INSTALL
+--- volpack-1.0b3.orig/INSTALL 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/INSTALL 2006-10-19 06:51:14.000000000 +0200
+@@ -0,0 +1,234 @@
++Installation Instructions
++*************************
++
++Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
++2006 Free Software Foundation, Inc.
++
++This file is free documentation; the Free Software Foundation gives
++unlimited permission to copy, distribute and modify it.
++
++Basic Installation
++==================
++
++Briefly, the shell commands `./configure; make; make install' should
++configure, build, and install this package. The following
++more-detailed instructions are generic; see the `README' file for
++instructions specific to this package.
++
++ The `configure' shell script attempts to guess correct values for
++various system-dependent variables used during compilation. It uses
++those values to create a `Makefile' in each directory of the package.
++It may also create one or more `.h' files containing system-dependent
++definitions. Finally, it creates a shell script `config.status' that
++you can run in the future to recreate the current configuration, and a
++file `config.log' containing compiler output (useful mainly for
++debugging `configure').
++
++ It can also use an optional file (typically called `config.cache'
++and enabled with `--cache-file=config.cache' or simply `-C') that saves
++the results of its tests to speed up reconfiguring. Caching is
++disabled by default to prevent problems with accidental use of stale
++cache files.
++
++ If you need to do unusual things to compile the package, please try
++to figure out how `configure' could check whether to do them, and mail
++diffs or instructions to the address given in the `README' so they can
++be considered for the next release. If you are using the cache, and at
++some point `config.cache' contains results you don't want to keep, you
++may remove or edit it.
++
++ The file `configure.ac' (or `configure.in') is used to create
++`configure' by a program called `autoconf'. You need `configure.ac' if
++you want to change it or regenerate `configure' using a newer version
++of `autoconf'.
++
++The simplest way to compile this package is:
++
++ 1. `cd' to the directory containing the package's source code and type
++ `./configure' to configure the package for your system.
++
++ Running `configure' might take a while. While running, it prints
++ some messages telling which features it is checking for.
++
++ 2. Type `make' to compile the package.
++
++ 3. Optionally, type `make check' to run any self-tests that come with
++ the package.
++
++ 4. Type `make install' to install the programs and any data files and
++ documentation.
++
++ 5. You can remove the program binaries and object files from the
++ source code directory by typing `make clean'. To also remove the
++ files that `configure' created (so you can compile the package for
++ a different kind of computer), type `make distclean'. There is
++ also a `make maintainer-clean' target, but that is intended mainly
++ for the package's developers. If you use it, you may have to get
++ all sorts of other programs in order to regenerate files that came
++ with the distribution.
++
++Compilers and Options
++=====================
++
++Some systems require unusual options for compilation or linking that the
++`configure' script does not know about. Run `./configure --help' for
++details on some of the pertinent environment variables.
++
++ You can give `configure' initial values for configuration parameters
++by setting variables in the command line or in the environment. Here
++is an example:
++
++ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
++
++ *Note Defining Variables::, for more details.
++
++Compiling For Multiple Architectures
++====================================
++
++You can compile the package for more than one kind of computer at the
++same time, by placing the object files for each architecture in their
++own directory. To do this, you can use GNU `make'. `cd' to the
++directory where you want the object files and executables to go and run
++the `configure' script. `configure' automatically checks for the
++source code in the directory that `configure' is in and in `..'.
++
++ With a non-GNU `make', it is safer to compile the package for one
++architecture at a time in the source code directory. After you have
++installed the package for one architecture, use `make distclean' before
++reconfiguring for another architecture.
++
++Installation Names
++==================
++
++By default, `make install' installs the package's commands under
++`/usr/local/bin', include files under `/usr/local/include', etc. You
++can specify an installation prefix other than `/usr/local' by giving
++`configure' the option `--prefix=PREFIX'.
++
++ You can specify separate installation prefixes for
++architecture-specific files and architecture-independent files. If you
++pass the option `--exec-prefix=PREFIX' to `configure', the package uses
++PREFIX as the prefix for installing programs and libraries.
++Documentation and other data files still use the regular prefix.
++
++ In addition, if you use an unusual directory layout you can give
++options like `--bindir=DIR' to specify different values for particular
++kinds of files. Run `configure --help' for a list of the directories
++you can set and what kinds of files go in them.
++
++ If the package supports it, you can cause programs to be installed
++with an extra prefix or suffix on their names by giving `configure' the
++option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
++
++Optional Features
++=================
++
++Some packages pay attention to `--enable-FEATURE' options to
++`configure', where FEATURE indicates an optional part of the package.
++They may also pay attention to `--with-PACKAGE' options, where PACKAGE
++is something like `gnu-as' or `x' (for the X Window System). The
++`README' should mention any `--enable-' and `--with-' options that the
++package recognizes.
++
++ For packages that use the X Window System, `configure' can usually
++find the X include and library files automatically, but if it doesn't,
++you can use the `configure' options `--x-includes=DIR' and
++`--x-libraries=DIR' to specify their locations.
++
++Specifying the System Type
++==========================
++
++There may be some features `configure' cannot figure out automatically,
++but needs to determine by the type of machine the package will run on.
++Usually, assuming the package is built to be run on the _same_
++architectures, `configure' can figure that out, but if it prints a
++message saying it cannot guess the machine type, give it the
++`--build=TYPE' option. TYPE can either be a short name for the system
++type, such as `sun4', or a canonical name which has the form:
++
++ CPU-COMPANY-SYSTEM
++
++where SYSTEM can have one of these forms:
++
++ OS KERNEL-OS
++
++ See the file `config.sub' for the possible values of each field. If
++`config.sub' isn't included in this package, then this package doesn't
++need to know the machine type.
++
++ If you are _building_ compiler tools for cross-compiling, you should
++use the option `--target=TYPE' to select the type of system they will
++produce code for.
++
++ If you want to _use_ a cross compiler, that generates code for a
++platform different from the build platform, you should specify the
++"host" platform (i.e., that on which the generated programs will
++eventually be run) with `--host=TYPE'.
++
++Sharing Defaults
++================
++
++If you want to set default values for `configure' scripts to share, you
++can create a site shell script called `config.site' that gives default
++values for variables like `CC', `cache_file', and `prefix'.
++`configure' looks for `PREFIX/share/config.site' if it exists, then
++`PREFIX/etc/config.site' if it exists. Or, you can set the
++`CONFIG_SITE' environment variable to the location of the site script.
++A warning: not all `configure' scripts look for a site script.
++
++Defining Variables
++==================
++
++Variables not defined in a site shell script can be set in the
++environment passed to `configure'. However, some packages may run
++configure again during the build, and the customized values of these
++variables may be lost. In order to avoid this problem, you should set
++them in the `configure' command line, using `VAR=value'. For example:
++
++ ./configure CC=/usr/local2/bin/gcc
++
++causes the specified `gcc' to be used as the C compiler (unless it is
++overridden in the site shell script).
++
++Unfortunately, this technique does not work for `CONFIG_SHELL' due to
++an Autoconf bug. Until the bug is fixed you can use this workaround:
++
++ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
++
++`configure' Invocation
++======================
++
++`configure' recognizes the following options to control how it operates.
++
++`--help'
++`-h'
++ Print a summary of the options to `configure', and exit.
++
++`--version'
++`-V'
++ Print the version of Autoconf used to generate the `configure'
++ script, and exit.
++
++`--cache-file=FILE'
++ Enable the cache: use and save the results of the tests in FILE,
++ traditionally `config.cache'. FILE defaults to `/dev/null' to
++ disable caching.
++
++`--config-cache'
++`-C'
++ Alias for `--cache-file=config.cache'.
++
++`--quiet'
++`--silent'
++`-q'
++ Do not print messages saying which checks are being made. To
++ suppress all normal output, redirect it to `/dev/null' (any error
++ messages will still be shown).
++
++`--srcdir=DIR'
++ Look for the package's source code in directory DIR. Usually
++ `configure' can determine that directory automatically.
++
++`configure' also accepts some other, not widely useful, options. Run
++`configure --help' for more details.
++
+diff -ubrN volpack-1.0b3.orig/Makefile.am volpack-1.0b3/Makefile.am
+--- volpack-1.0b3.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/Makefile.am 2007-09-22 22:02:22.000000000 +0200
+@@ -0,0 +1,60 @@
++## Process this file with automake to produce Makefile.in
++# Makefile.am for volpack
++# Andreas Tille <tille at debian.org> and Daniel Leidert <daniel.leidert at wgdd.de>
++# GPL
++
++SUBDIRS = doc man examples
++
++EXTRA_DIST = no_edit_header vp_compA.m4 vp_warpA.m4 makeopts
++
++CLEANFILES = $(COMP_SRCS) $(WARP_SRCS) vp_opts.c
++
++AM_CFLAGS = $(AC_FLAGS) $(CCOPT_FLAGS) $(MFLAGS) \
++ $(PROTO_FLAG) $(UNROLL_FLAG) $(OPT_FLAGS)
++AM_LDFLAGS = -version-info @LIBVOLPACK_VERSION_INFO@
++
++# Make sure, the library and source files are build first.
++BUILT_SOURCES = vp_opts.c $(COMP_SRCS) $(WARP_SRCS) $(lib_LTLIBRARIES)
++
++lib_LTLIBRARIES = libvolpack.la
++
++dist_libvolpack_la_SOURCES = volpack.h vp_global.h patchlevel.h \
++ vp_check.c vp_context.c vp_extract.c vp_file.c vp_linalg.c vp_octree.c \
++ vp_renderA.c vp_renderB.c vp_renderC.c vp_renderR.c vp_resample.c \
++ vp_rle.c vp_shade.c vp_transpose.c vp_util.c vp_view.c vp_warp.c
++nodist_libvolpack_la_SOURCES = $(COMP_SRCS) $(WARP_SRCS)
++
++vp_opts.c: makeopts Makefile
++ ./makeopts vp_opts.c $(CFLAGS)
++
++# list of optional C source files to build with code specialized
++# for particular shaders and resampling filters
++OPT_SRCS = vp_compAC11B.c vp_compAC31B.c vp_compAC32B.c \
++ vp_compAR11B.c vp_compAR31B.c vp_compAR32B.c
++
++# C define flags corresponding to COMP_SRCS; these tell the dispatch
++# routines in the library which object files are available
++OPT_FLAGS = -DCOMP_AC11B -DCOMP_AC31B -DCOMP_AC32B \
++ -DCOMP_AR11B -DCOMP_AR31B -DCOMP_AR32B
++
++COMP_SRCS = vp_compAC1NB.c vp_compAC3NB.c vp_compAR1NB.c vp_compAR3NB.c \
++ vp_compAC1PB.c vp_compAC3PB.c vp_compAR1PB.c vp_compAR3PB.c \
++ vp_compAC00G.c vp_compAR00G.c vp_compAC1NS.c vp_compAC3NS.c \
++ vp_compAR1NS.c vp_compAR3NS.c $(OPT_SRCS)
++
++WARP_SRCS = vp_warpA101N.c vp_warpA301N.c vp_warpA110N.c vp_warpA111N.c \
++ vp_warpA330N.c vp_warpA331N.c vp_warpA330R.c vp_warpA331R.c
++
++COMP_IN = no_edit_header vp_compA.m4
++WARP_IN = no_edit_header vp_warpA.m4
++
++ESRC = vp_raycast.c
++EOBJ = vp_raycast.o
++
++$(COMP_SRCS): $(COMP_IN)
++ $(M4) -DSourceFile=$@ $^ > $@
++
++$(WARP_SRCS): $(WARP_IN)
++ $(M4) -DSourceFile=$@ $^ > $@
++
++MAINTAINERCLEANFILES = autom4te.cache
+diff -ubrN volpack-1.0b3.orig/Makefile.in volpack-1.0b3/Makefile.in
+--- volpack-1.0b3.orig/Makefile.in 1994-12-12 21:21:47.000000000 +0100
++++ volpack-1.0b3/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+@@ -1,261 +0,0 @@
+-#
+-# Makefile for the VolPack library. If it has the name "Makefile.in"
+-# then it is a template for a Makefile; to generate the actual Makefile,
+-# run "./configure", which is a configuration script generated by the
+-# "autoconf" program (constructs like "@foo@" will get replaced in the
+-# actual Makefile).
+-#
+-# Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+-# Junior University. All rights reserved.
+-#
+-# Permission to use, copy, modify and distribute this software and its
+-# documentation for any purpose is hereby granted without fee, provided
+-# that the above copyright notice and this permission notice appear in
+-# all copies of this software and that you do not sell the software.
+-# Commercial licensing is available by contacting the author.
+-#
+-# THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+-# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+-# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+-#
+-# Author:
+-# Phil Lacroute
+-# Computer Systems Laboratory
+-# Electrical Engineering Dept.
+-# Stanford University
+-#
+-
+-# shell to use for executing make commands
+-SHELL = /bin/sh
+-
+-###########################################################################
+-# Options that can be changed by the user.
+-###########################################################################
+-
+-# default top-level directory for installing architecture-independent files
+-# (include files, documentation)
+-prefix = @prefix@
+-
+-# default top-level directory for installing architecture-specific files
+-# (binaries)
+-exec_prefix = @exec_prefix@
+-
+-# directory in which to install the VolPack library
+-LIB_DIR = $(exec_prefix)/lib
+-
+-# directory for include files
+-INCLUDE_DIR = $(prefix)/include
+-
+-# top-level directory for manual entries
+-MAN_DIR = $(prefix)/man
+-
+-# directory in which to install manual entries for library functions
+-MAN3_DIR = $(MAN_DIR)/man3
+-
+-# ANSI-C prototypes: use the first line to let the #ifdef's in
+-# volpack.h guess if your compiler supports prototypes, use the
+-# second line to disable prototypes, or use the third line to
+-# enable prototypes
+-PROTO_FLAG =
+-#PROTO_FLAG = -DNO_PROTOTYPE
+-#PROTO_FLAG = -DANSI_C
+-
+-# loop unrolling optimization: if the following line is not commented
+-# out then the library will be built with a special version of the
+-# rendering code that has been hand-optimized; use this unless your
+-# compiler's optimizer has trouble with procedures that have a large
+-# number of basic blocks
+-#UNROLL_FLAG = -DUNROLL_RUN_LOOP
+-
+-# optional compiler flags:
+-# use the first line for full optimization
+-# use the second line for no optimization
+-# the other lines are for various levels of debugging
+-CCOPT_FLAGS = $(OFLAGS)
+-#CCOPT_FLAGS =
+-#CCOPT_FLAGS = -DASSERTIONS -fullwarn -g
+-#CCOPT_FLAGS = -DDEBUG -DASSERTIONS -fullwarn -g
+-
+-# list of optional C source files to build with code specialized
+-# for particular shaders and resampling filters
+-OPT_SRCS = vp_compAC11B.c vp_compAC31B.c vp_compAC32B.c \
+- vp_compAR11B.c vp_compAR31B.c vp_compAR32B.c
+-
+-# object files corresponding to COMP_SRCS
+-OPT_OBJS = vp_compAC11B.o vp_compAC31B.o vp_compAC32B.o \
+- vp_compAR11B.o vp_compAR31B.o vp_compAR32B.o
+-
+-# C define flags corresponding to COMP_SRCS; these tell the dispatch
+-# routines in the library which object files are available
+-OPT_FLAGS = -DCOMP_AC11B -DCOMP_AC31B -DCOMP_AC32B \
+- -DCOMP_AR11B -DCOMP_AR31B -DCOMP_AR32B
+-
+-###########################################################################
+-# Options that are changed by the configure script. These should
+-# probably not be editted by hand.
+-###########################################################################
+-
+-# pathname for the C compiler
+-CC = @CC@
+-
+-# pathname for the m4 macro preprocessor; it must understand the -D flag
+-# (some BSD versions do not; GNU m4 works)
+-M4 = @M4@
+-
+-# pathname for ranlib if you need it
+-RANLIB = @RANLIB@
+-
+-# commands to use to install files
+-INSTALL = @INSTALL@
+-INSTALL_DATA = @INSTALL_DATA@
+-
+-# directory containing source code
+-SRC_DIR = @srcdir@
+-VPATH = @srcdir@
+-
+-# compiler options
+-AC_FLAGS = @DEFS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for options that should always be included (even for
+-# compiles with optimization turned off); configure can fill
+-# this in automatically if you supply a recognized system name
+-MFLAGS = @MFLAGS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for optimization options only; configure can fill
+-# this in automatically if you supply a recognized system name
+-OFLAGS = @OFLAGS@
+-
+-###########################################################################
+-# Nothing beyond this point should need to be changed by the user.
+-###########################################################################
+-
+-CFLAGS = -I. -I$(SRC_DIR) $(AC_FLAGS) $(CCOPT_FLAGS) $(MFLAGS) \
+- $(PROTO_FLAG) $(UNROLL_FLAG) $(OPT_FLAGS)
+-
+-CSRC = vp_check.c vp_context.c vp_extract.c vp_file.c vp_linalg.c vp_octree.c \
+- vp_renderA.c vp_renderB.c vp_renderC.c vp_renderR.c vp_resample.c \
+- vp_rle.c vp_shade.c vp_transpose.c vp_util.c vp_view.c vp_warp.c
+-HSRC = volpack.h vp_global.h patchlevel.h
+-MSRC = vp_compA.m4 vp_warpA.m4
+-SUPPORT = Makefile.in configure.in no_edit_header makeopts.c
+-COMP_SRCS = vp_compAC1NB.c vp_compAC3NB.c vp_compAR1NB.c vp_compAR3NB.c \
+- vp_compAC1PB.c vp_compAC3PB.c vp_compAR1PB.c vp_compAR3PB.c \
+- vp_compAC00G.c vp_compAR00G.c vp_compAC1NS.c vp_compAC3NS.c \
+- vp_compAR1NS.c vp_compAR3NS.c $(OPT_SRCS)
+-COMP_OBJS = vp_compAC1NB.o vp_compAC3NB.o vp_compAR1NB.o vp_compAR3NB.o \
+- vp_compAC1PB.o vp_compAC3PB.o vp_compAR1PB.o vp_compAR3PB.o \
+- vp_compAC00G.o vp_compAR00G.o vp_compAC1NS.o vp_compAC3NS.o \
+- vp_compAR1NS.o vp_compAR3NS.o $(OPT_OBJS)
+-WARP_SRCS = vp_warpA101N.c vp_warpA301N.c vp_warpA110N.c vp_warpA111N.c \
+- vp_warpA330N.c vp_warpA331N.c vp_warpA330R.c vp_warpA331R.c
+-WARP_OBJS = vp_warpA101N.o vp_warpA301N.o vp_warpA110N.o vp_warpA111N.o \
+- vp_warpA330N.o vp_warpA331N.o vp_warpA330R.o vp_warpA331R.o
+-CGEN = vp_opts.c $(COMP_SRCS) $(WARP_SRCS)
+-OBJS = vp_check.o vp_context.o vp_extract.o vp_file.o vp_linalg.o vp_octree.o \
+- vp_renderA.o vp_renderB.o vp_renderC.o vp_renderR.o vp_resample.o \
+- vp_rle.o vp_shade.o vp_transpose.o vp_util.o vp_view.o vp_warp.o \
+- vp_opts.o $(COMP_OBJS) $(WARP_OBJS)
+-COMP_IN = $(SRC_DIR)/no_edit_header $(SRC_DIR)/vp_compA.m4
+-WARP_IN = $(SRC_DIR)/no_edit_header $(SRC_DIR)/vp_warpA.m4
+-ESRC = vp_raycast.c
+-EOBJ = vp_raycast.o
+-
+-all: libvolpack.a
+-
+-libvolpack.a: $(OBJS)
+- rm -f libvolpack.a
+- ar cr libvolpack.a $(OBJS)
+- $(RANLIB) libvolpack.a
+-
+-$(OBJS): volpack.h vp_global.h config.h
+-
+-makeopts: makeopts.c
+- cc -o makeopts makeopts.c
+-
+-vp_opts.c: makeopts Makefile
+- makeopts vp_opts.c $(CFLAGS)
+-
+-$(COMP_SRCS): $(COMP_IN)
+- @for i in $(COMP_SRCS) ; \
+- do \
+- rm -f $$i ;\
+- echo "$(M4) -DSourceFile=$$i $(COMP_IN) > $$i" ;\
+- $(M4) -DSourceFile=$$i $(COMP_IN) > $$i; \
+- chmod -w $$i; \
+- done
+-
+-$(WARP_SRCS): $(WARP_IN)
+- @for i in $(WARP_SRCS) ; \
+- do \
+- rm -f $$i ;\
+- echo "$(M4) -DSourceFile=$$i $(WARP_IN) > $$i" ;\
+- $(M4) -DSourceFile=$$i $(WARP_IN) > $$i; \
+- chmod -w $$i; \
+- done
+-
+-examples: libvolpack.a
+- cd examples; make
+-
+-install: install-binaries install-include install-man
+-
+-install-binaries: libvolpack.a
+- @for i in $(LIB_DIR) ; \
+- do \
+- if [ ! -d $$i ] ; then \
+- echo "Making directory $$i"; \
+- mkdir $$i ; \
+- chmod 755 $$i; \
+- else true; \
+- fi; \
+- done;
+- @echo "Installing libvolpack.a"
+- @$(INSTALL_DATA) libvolpack.a $(LIB_DIR)
+- @$(RANLIB) $(LIB_DIR)/libvolpack.a
+-
+-install-include:
+- @for i in $(INCLUDE_DIR) ; \
+- do \
+- if [ ! -d $$i ] ; then \
+- echo "Making directory $$i"; \
+- mkdir $$i ; \
+- chmod 755 $$i; \
+- else true; \
+- fi; \
+- done;
+- @echo "Installing volpack.h"
+- @$(INSTALL_DATA) volpack.h $(INCLUDE_DIR)
+-
+-install-man:
+- @for i in $(MAN_DIR) $(MAN3_DIR) ; \
+- do \
+- if [ ! -d $$i ] ; then \
+- echo "Making directory $$i"; \
+- mkdir $$i ; \
+- chmod 755 $$i; \
+- else true; \
+- fi; \
+- done;
+- @cd $(SRC_DIR)/man/src; for i in *.3; \
+- do \
+- echo "Installing man/src/$$i"; \
+- rm -f $(MAN3_DIR)/$$i; \
+- cp $$i $(MAN3_DIR); \
+- chmod 444 $(MAN3_DIR)/$$i; \
+- done;
+-
+-Makefile: $(SRC_DIR)/Makefile.in
+- ./config.status
+-
+-mostlyclean:
+- rm -f $(OBJS) $(CGEN) makeopts
+-
+-clean: mostlyclean
+- rm -f libvolpack.a
+-
+-distclean: clean
+- rm -f config.status config.log config.cache config.h Makefile
+-
+-checkin:
+- ci -l -f $(CSRC) $(HSRC) $(MSRC) $(ESRC) $(SUPPORT)
+diff -ubrN volpack-1.0b3.orig/makeopts volpack-1.0b3/makeopts
+--- volpack-1.0b3.orig/makeopts 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/makeopts 2007-09-22 21:01:49.000000000 +0200
+@@ -0,0 +1,30 @@
++#!/bin/sh
++#
++# makeopts
++#
++# Create a C source file containing an initialized string with the
++# compiler options used to compile VolPack.
++#
++# Copyright (c) 2007 Andreas Tille
++# Author:
++# Andreas Tille <tille at debian.org>
++# License: BSD
++
++# Usage: makeopts output_file [compiler_options ...]
++
++progname=`basename $0`
++if [ $# -lt 2 ] ; then
++ echo "Usage: $progname output_file [compiler_options ...]"
++ exit 1
++fi
++
++outfile=$1
++shift
++
++cat > $outfile <<EOT
++/*
++ * DO NOT EDIT THIS FILE! It was created automatically by $progname.
++ */
++
++char *vpCompilerOptions = "$@";
++EOT
+diff -ubrN volpack-1.0b3.orig/makeopts.c volpack-1.0b3/makeopts.c
+--- volpack-1.0b3.orig/makeopts.c 1994-12-31 00:53:20.000000000 +0100
++++ volpack-1.0b3/makeopts.c 1970-01-01 01:00:00.000000000 +0100
+@@ -1,67 +0,0 @@
+-/*
+- * makeopts.c
+- *
+- * Create a C source file containing an initialized string with the
+- * compiler options used to compile VolPack.
+- *
+- * Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+- * Junior University. All rights reserved.
+- *
+- * Permission to use, copy, modify and distribute this software and its
+- * documentation for any purpose is hereby granted without fee, provided
+- * that the above copyright notice and this permission notice appear in
+- * all copies of this software and that you do not sell the software.
+- * Commercial licensing is available by contacting the author.
+- *
+- * THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+- * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+- * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+- *
+- * Author:
+- * Phil Lacroute
+- * Computer Systems Laboratory
+- * Electrical Engineering Dept.
+- * Stanford University
+- */
+-
+-/*
+- * $Date: 1994/12/30 23:52:38 $
+- * $Revision: 1.7 $
+- */
+-
+-#include <stdio.h>
+-
+-/*
+- * Usage: makeopts output_file [compiler_options ...]
+- */
+-
+-main(argc, argv)
+-int argc;
+-char **argv;
+-{
+- FILE *fp;
+- int c;
+-
+- if (argc < 2) {
+- fprintf(stderr, "Usage: %s output_file [compiler_options ...]\n",
+- argv[0]);
+- exit(1);
+- }
+- if ((fp = fopen(argv[1], "w")) == NULL) {
+- fprintf(stderr, "%s: could not open %s\n", argv[0], argv[1]);
+- exit(1);
+- }
+- fprintf(fp, "/*\n");
+- fprintf(fp,
+- " * DO NOT EDIT THIS FILE! It was created automatically by %s.\n",
+- argv[0]);
+- fprintf(fp, " */\n\n");
+- fprintf(fp, "char *vpCompilerOptions = \"");
+- for (c = 2; c < argc; c++) {
+- if (c > 2)
+- fprintf(fp, " ");
+- fprintf(fp, "%s", argv[c]);
+- }
+- fprintf(fp, "\";\n");
+- exit(0);
+-}
+diff -ubrN volpack-1.0b3.orig/man/Makefile.am volpack-1.0b3/man/Makefile.am
+--- volpack-1.0b3.orig/man/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/man/Makefile.am 2007-07-21 13:20:58.000000000 +0200
+@@ -0,0 +1,6 @@
++## Process this file with automake to produce Makefile.in
++# man/Makefile.am for volpack
++# Andreas Tille <tille at debian.org>
++# GPL
++
++SUBDIRS = src
+diff -ubrN volpack-1.0b3.orig/man/src/Makefile.am volpack-1.0b3/man/src/Makefile.am
+--- volpack-1.0b3.orig/man/src/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/man/src/Makefile.am 2007-07-28 23:19:03.000000000 +0200
+@@ -0,0 +1,19 @@
++## Process this file with automake to produce Makefile.in
++# man/src/Makefile.am for volpack
++# Andreas Tille <tille at debian.org>
++# GPL
++
++dist_man_MANS = \
++ BruteForce.3 Callback.3 ClientData.3 ClsfyScalar.3 ClsfyScan.3 \
++ ClsfyTable.3 ClsfyVolume.3 Context.3 CurrentMatrix.3 Debug.3 \
++ DepthCueing.3 Enable.3 Error.3 Extract.3 Filter.3 FilterTab.3 \
++ Get.3 GetImage.3 GetLight.3 GetMaterial.3 GetMatrix.3 Identity.3 \
++ Image.3 Light.3 LinAlgebra.3 Load.3 LookupShader.3 Material.3 \
++ MinMaxOctree.3 MultMatrix.3 NormalIndex.3 OctreeMask.3 Ramp.3 \
++ RawVoxels.3 Render.3 Resample.3 Rotate.3 Scale.3 ScanNormals.3 \
++ Set.3 SetMatrix.3 ShadeTable.3 Shadow.3 Store.3 Timer.3 \
++ TracePixel.3 Translate.3 Transpose.3 VolPack.3 VolumeNormals.3 \
++ VolumeSize.3 VoxelField.3 VoxelSize.3 Window.3 WindowPHIGS.3
++
++EXTRA_DIST = makelinks
++
+diff -ubrN volpack-1.0b3.orig/NEWS volpack-1.0b3/NEWS
+--- volpack-1.0b3.orig/NEWS 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/NEWS 2007-07-28 21:36:22.000000000 +0200
+@@ -0,0 +1,4 @@
++For more detailed information please look at the ChangeLog file
++
++2007-07-28
++ - Added automake stuff
Added: trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.examples
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.examples (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.examples 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,4 @@
+examples/*.c
+examples/*.h
+examples/*.den
+debian/examples/*
Added: trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.manpages
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.manpages (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/libvolpack1-dev.manpages 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+man/src/*.3
Added: trunk/packages/volpack/tags/1.0b3-1/debian/patches/00list
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/patches/00list (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/patches/00list 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,2 @@
+10_examples.dpatch
+10_vp_global_h.dpatch
Added: trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_examples.dpatch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_examples.dpatch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_examples.dpatch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,52 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_examples.dpatch by <tille at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Added missing headers in examples
+
+ at DPATCH@
+
+diff -ubrN volpack-1.0b3/examples.orig/classifyvolume.c volpack-1.0b3/examples/classifyvolume.c
+--- volpack-1.0b3/examples.orig/classifyvolume.c 1994-12-31 20:53:04.000000000 +0100
++++ volpack-1.0b3/examples/classifyvolume.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main(argc, argv)
+diff -ubrN volpack-1.0b3/examples.orig/makeoctree.c volpack-1.0b3/examples/makeoctree.c
+--- volpack-1.0b3/examples.orig/makeoctree.c 1994-12-31 20:53:05.000000000 +0100
++++ volpack-1.0b3/examples/makeoctree.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main()
+diff -ubrN volpack-1.0b3/examples.orig/makevolume.c volpack-1.0b3/examples/makevolume.c
+--- volpack-1.0b3/examples.orig/makevolume.c 1994-12-31 20:53:06.000000000 +0100
++++ volpack-1.0b3/examples/makevolume.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main()
+diff -ubrN volpack-1.0b3/examples.orig/rendervolume.c volpack-1.0b3/examples/rendervolume.c
+--- volpack-1.0b3/examples.orig/rendervolume.c 1995-01-01 01:06:26.000000000 +0100
++++ volpack-1.0b3/examples/rendervolume.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main(argc, argv)
Added: trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_vp_global_h.dpatch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_vp_global_h.dpatch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/patches/10_vp_global_h.dpatch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_vp_global_h.dpatch by <tille at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix for vp_global.h
+
+ at DPATCH@
+
+--- volpack-1.0b3/vp_global.h.orig 1994-12-31 00:53:14.000000000 +0100
++++ volpack-1.0b3/vp_global.h 2007-07-29 13:43:03.000000000 +0200
+@@ -168,7 +168,9 @@
+ * Macros. *
+ *******************************************************************/
+
++#ifndef NULL
+ #define NULL 0
++#endif
+
+ #define MAX(a,b) (((a)<(b)) ? (b) : (a))
+ #define MIN(a,b) (((a)>(b)) ? (b) : (a))
Added: trunk/packages/volpack/tags/1.0b3-1/debian/patches/README
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/patches/README (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/patches/README 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
Added: trunk/packages/volpack/tags/1.0b3-1/debian/rules
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/rules (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/rules 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+## Former stuff from Michael Hanke became unnecessary by implementing automake
+# DEB_CONFIGURE_INVOKE = ./configure --prefix=$(CURDIR)/debian/libvolpack1-dev/usr --srcdir=.
+# DEB_INSTALL_CHANGELOGS_ALL := changes
+
+common-binary-post-install-arch::
+ # Call d-shlibmove to comply with library packaging guide
+ d-devlibdeps debian/libvolpack1-dev.substvars debian/tmp/usr/lib/libvolpack.so
+ # /bin/sh debian/debug/
+ cp -a volpack.h debian/tmp
+ d-shlibmove --commit \
+ --movedev "debian/tmp/volpack.h" usr/include \
+ debian/tmp/usr/lib/libvolpack.so
+
+## --movedevdoc "examples/{README,*.c,*.h,*.den}" \
+## --movedev "debian/tmp/usr/lib/libvolpack.a" usr/lib \
+
+get-orig-source:
+ . debian/get-orig-source
Property changes on: trunk/packages/volpack/tags/1.0b3-1/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-1/debian/watch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-1/debian/watch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-1/debian/watch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,2 @@
+version=3
+http://graphics.stanford.edu/software/volpack/ volpack-(.*)\.tar\.Z
Added: trunk/packages/volpack/tags/1.0b3-2/debian/README.Debian
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/README.Debian (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/README.Debian 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,30 @@
+volpack for Debian
+------------------
+
+The volpack package might be interesting for Debian-Med and provides
+additional functionality for the amide image viewer
+
+The source tarball was rebuilded to enable easy building of dynamically
+and statically linked libraries. The easiest way to do so is to use
+automake and libtool. The patch was forewarde to the author but for
+the moment he prefers to stick to his own building system:
+
+ Date: Wed, 07 Nov 2007 14:02:47 -0800
+ From: Phil Lacroute <lacroute at stanford.edu>
+
+ I'm not entirely happy with the new build procedure since it doesn't work on the
+ environment I use every day, and I haven't had a whole lot of time to look into it. I
+ haven't looked at the GNU build tools in a long time so there's a bit of a learning
+ curve to figure out the issues.
+
+I decided to change the orig.tar.gz tarball because I would consider
+this as a welcome enhancement also for non-Debian users who might be
+interested in just downloading this alternative package. I wanted to
+avoid mixing this up with other patches.
+
+The process how to obtain this tarball is documented in the get-orig-source
+target of debian/rules (which calls the script debian/get-orig-source and
+applies the patch debian/get-orig-source.patch) so it can easily reproduced
+if necessary.
+
+ -- Andreas Tille <tille at debian.org> Mon, 10 Dec 2007 14:16:56 +0200
Added: trunk/packages/volpack/tags/1.0b3-2/debian/changelog
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/changelog (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/changelog 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,14 @@
+volpack (1.0b3-2) unstable; urgency=low
+
+ * Added section: header to source package
+
+ -- Andreas Tille <tille at debian.org> Mon, 17 Dec 2007 07:46:07 +0100
+
+volpack (1.0b3-1) unstable; urgency=low
+
+ * Initial release
+ Closes: #435823
+ * Reworked Build system to automake to enable libtool
+
+ -- Andreas Tille <tille at debian.org> Fri, 03 Aug 2007 14:16:56 +0200
+
Added: trunk/packages/volpack/tags/1.0b3-2/debian/compat
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/compat (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/compat 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+5
Added: trunk/packages/volpack/tags/1.0b3-2/debian/control
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/control (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/control 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,49 @@
+Source: volpack
+Section: libs
+Priority: extra
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+XS-DM-Upload-Allowed: Yes
+Uploaders: Michael Hanke <michael.hanke at gmail.com>, Andreas Tille <tille at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), m4, autotools-dev, dpatch, d-shlibs
+Standards-Version: 3.7.2
+Homepage: http://graphics.stanford.edu/software/volpack/
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/volpack/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/volpack/
+
+Package: libvolpack1
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: fast volume rendering library
+ VolPack is a software library for fast, high-quality volume rendering with
+ this features:
+ * Renders data sampled on a regular, three-dimensional grid.
+ * Supports user-specified transfer functions for both opacity and color.
+ * Provides a shading model with directional light sources, multiple material
+ types with different reflective properties, depth cueing, and shadows.
+ * Produces color (24 bits/pixel) or grayscale (8 bits/pixel) renderings,
+ with or without an alpha channel.
+ * Supports arbitrary affine view transformations.
+ * Supports a flexible data format that allows an arbitrary C structure to be
+ associated with each voxel.
+
+Package: libvolpack1-dev
+Architecture: any
+Section: libdevel
+Depends: libvolpack1 (= ${binary:Version}), ${devlibs:Depends}
+Provides: libvolpack-dev
+Conflicts: libvolpack-dev
+Description: fast volume rendering library
+ VolPack is a software library for fast, high-quality volume rendering with
+ this features:
+ * Renders data sampled on a regular, three-dimensional grid.
+ * Supports user-specified transfer functions for both opacity and color.
+ * Provides a shading model with directional light sources, multiple material
+ types with different reflective properties, depth cueing, and shadows.
+ * Produces color (24 bits/pixel) or grayscale (8 bits/pixel) renderings,
+ with or without an alpha channel.
+ * Supports arbitrary affine view transformations.
+ * Supports a flexible data format that allows an arbitrary C structure to be
+ associated with each voxel.
+ .
+ This is the development package.
Added: trunk/packages/volpack/tags/1.0b3-2/debian/copyright
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/copyright (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/copyright 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,34 @@
+This package was debianized by Michael Hanke <michael.hanke at gmail.com> on
+Fri, 20 Apr 2007 19:37:30 +0200.
+
+It was downloaded from http://graphics.stanford.edu/software/volpack/
+
+Upstream Author: Philippe Lacroute <volpack at graphics.stanford.edu>
+
+As a request from Andreas Tille to explicitely mention the license
+inside the download archive upstream has agreed so for future
+versions. For the moment there is the web site
+ http://graphics.stanford.edu/software/bsd-license.html
+which explicitely states:
+ In an effort to simplify our licensing terms and facilitate the
+ widest possible use of our software, as of August 23, 2007 we have
+ switched to the BSD license for all future downloads of our software.
+
+The former license (until the date mentioned above) was:
+ Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+ Junior University. All rights reserved.
+
+ Permission to use, copy, modify and distribute this software and its
+ documentation for any purpose is hereby granted without fee, provided
+ that the above copyright notice and this permission notice appear in
+ all copies of this software and that you do not sell the software.
+ Commercial licensing is available by contacting the author.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+
+
+The Debian packaging is (C) 2007, Michael Hanke <michael.hanke at gmail.com> and
+Andreas Tille <tille at debian.org> is licensed under the GPL, see
+`/usr/share/common-licenses/GPL'.
Added: trunk/packages/volpack/tags/1.0b3-2/debian/docs
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/docs (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/docs 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+README
Added: trunk/packages/volpack/tags/1.0b3-2/debian/examples/Makefile
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/examples/Makefile (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/examples/Makefile 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,22 @@
+# Makefile to compile the examples provided by libvolpack1-dev package
+# Andreas Tille <tille at debian.org> Mon, 10 Dec 2007
+# GPL
+
+CFLAGS=-g -O2 -Wall
+LDFLAGS=-s -lvolpack
+
+TARGETS=classifyvolume makeoctree makevolume rendervolume scalevolume
+
+all: $(TARGETS)
+
+scalevolume: scalevolume.c denfile.c
+
+test: all
+ test.sh
+
+clean:
+ rm -rf *.o *~
+ rm -f brainsmall*.ppm brainsmall.cv brainsmall.oct brainsmall.rv
+
+distclean: clean
+ rm -f $(TARGETS)
Added: trunk/packages/volpack/tags/1.0b3-2/debian/examples/README
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/examples/README (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/examples/README 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,107 @@
+Please unzip all files in this directory using
+ gunzip *.gz
+then type
+ make
+to build the example binaries. You can either call
+ make test
+or
+ test.sh
+to run the example programs.
+
+ -- Andreas Tille <tille at debian.org>
+
+Here follows the original README from the example programs:
+
+
+README File for VolPack Example Programs
+----------------------------------------
+
+The programs in this directory demonstrate how to use the basic
+features of the three rendering algorithms in the VolPack library.
+See the vprender program for a more complete application.
+
+For installation instructions, see the README file in the toplevel
+directory of the VolPack distribution.
+
+For a quick test of your installation, run test.csh. The output files
+are brainsmall1.ppm, brainsmall2.ppm, brainsmall3.ppm and
+brainsmall4.ppm. They should all be identical to check.ppm.
+
+The input data (brainsmall.den) is an MRI scan of a human head,
+derived from public domain data provided by SoftLab at UNC Chapel
+Hill. The original MRI scan has been scaled down to 128x128x84 voxels
+using a Gaussian filter.
+
+Three programs are provided to convert the volume data into data
+structures used by VolPack, and the fourth program does the rendering.
+It produces an image in PPM format.
+
+The first program, "makevolume", takes no arguments and creates an
+unclassified volume (brainsmall.rv) from the raw volume data
+(brainsmall.den). The unclassified volume includes all of the data in
+brainsmall.den as well as precomputed information for shading and
+classification.
+
+The second program, "makeoctree", takes no arguments and creates a
+min-max octree (brainsmall.oct) from the unclassified volume
+(brainsmall.rv). The octree can be used by the rendering program to
+accelerate rendering, but it is optional.
+
+The third program, "classifyvolume", creates a classified volume
+(brainsmall.cv). A classified volume includes an opacity with each
+voxel along with information for shading. It is stored in a format
+which is optimized for fast rendering and which (usually) requires
+less storage than the unclassified volume. There are three ways to
+call classifyvolume:
+ 1) classifyvolume
+ With no arguments, classifyvolume creates brainsmall.cv from
+ the unclassified volume (brainsmall.rv).
+ 2) classifyvolume -octree
+ With the -octree flag, classifyvolume creates brainsmall.cv from
+ the unclassified volume (brainsmall.rv) and the min-max octree
+ (brainsmall.oct). This method is much faster than method 1.
+ 3) classifyvolume -rawdata
+ With the -rawdata flag, classifyvolume creates brainsmall.cv
+ directly from the raw volume data (brainsmall.den).
+
+The fourth program, "rendervolume", creates an image (brainsmall.ppm)
+in PPM format. There are three ways to call rendervolume:
+ 1) rendervolume
+ With no arguments, rendervolume creates brainsmall.ppm from
+ the unclassified volume (brainsmall.rv) using the slowest
+ rendering algorithm.
+ 2) rendervolume -octree
+ With the -octree flag, rendervolume creates brainsmall.ppm from
+ the unclassified volume (brainsmall.rv) and the min-max octree
+ (brainsmall.oct) using the fast classification and rendering
+ algorithm. This method is much faster than method 1.
+ 3) rendervolume -classified
+ With the -classified flag, rendervolume creates brainsmall.ppm
+ from the classified volume (brainsmall.cv) using the fastest
+ rendering algorithm. This method is even faster than method 2.
+The rendervolume program can also take an optional numerical argument
+which is the number of frames to render. In this case the program
+will produce output files of the form "brainsmall_{number}.ppm" where
+{number} is a frame number. The frames form a movie with a 5 degree
+rotation about the vertical axis between each frame. For example:
+ rendervolume -classified 30
+produces a 30 frame movie from headsmall.cv. The file "check.ppm" is
+a PPM image file which should be identical to the first frame of
+output from rendervolume. The PPM image format is recognized by many
+image viewers and conversion programs.
+
+Experiment with the programs to see the relative speed of the three
+algorithms on your machine! See the VolPack User's Guide for the
+intended uses of each algorithm.
+
+File Sizes:
+ raw data (brainsmall.den): 1376318 bytes (1.3 Mb)
+ unclassified volume (brainsmall.rv): 5505104 bytes (5.3 Mb)
+ min-max octree (brainsmall.oct): 136748 bytes (0.1 Mb)
+ classified volume (brainsmall.cv): 3215848 bytes (3.0 Mb)
+ image (brainsmall.ppm): 65551 bytes
+
+Finally, the program "scalevolume" demonstrates how to use the volume
+resampling utilities to change the resolution of a volume. It can be
+used to upsample or downsample volumes in .den format. See the
+comment at the beginning of scalevolume.c for usage information.
Added: trunk/packages/volpack/tags/1.0b3-2/debian/examples/test.sh
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/examples/test.sh (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/examples/test.sh 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,25 @@
+#!/bin/sh -f
+
+echo "*** makevolume ***"
+time makevolume
+echo "*** rendervolume ***"
+time rendervolume
+mv brainsmall.ppm brainsmall1.ppm
+
+echo "*** makeoctree ***"
+time makeoctree
+echo "*** rendervolume -octree ***"
+time rendervolume -octree
+mv brainsmall.ppm brainsmall2.ppm
+
+echo "*** classifyvolume ***"
+time classifyvolume
+echo "*** rendervolume -classified ***"
+time rendervolume -classified
+mv brainsmall.ppm brainsmall3.ppm
+
+echo "*** classifyvolume -octree ***"
+time classifyvolume -octree
+echo "*** rendervolume -classified ***"
+time rendervolume -classified
+mv brainsmall.ppm brainsmall4.ppm
Property changes on: trunk/packages/volpack/tags/1.0b3-2/debian/examples/test.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,60 @@
+#!/bin/sh -e
+
+NAME=volpack
+VERSION=1.0b3
+UPSTREAMTAR="$NAME"-"$VERSION".tar.Z
+UPSTREAMDIR=`basename $UPSTREAMTAR .tar.Z`
+
+patchname=get-orig-source_patch
+patchfile="$patchname"
+if [ ! -f "$patchfile" ] ; then
+ if [ -d debian -a -f "debian/$patchname" ] ; then
+ patchfile="debian/$patchname"
+ else
+ echo "File not found: $patchname"
+ exit -1
+ fi
+fi
+patchfile="`pwd`/$patchfile"
+
+# To rebuild the new upstream tarball you need these
+# packages installed. This will be checked later on.
+# The rationale behind this dependency is that the
+# script should work for later upstream releases as well
+# and thus a simple patch for Makefile.am and
+# configure.in would not work
+BUILDTARBALLDEPENDS="autoconf automake libtool libgconf2-dev intltool"
+missingdepends=`dpkg -l ${BUILDTARBALLDEPENDS} | \
+ grep -v -e "^ii" -e "^|" -e "^++" -e "^ " -e "^..[^[:space:]]" | \
+ sed 's/^[a-z][a-z][[:space:]]\+\([^[:space:]]\+\)[[:space:]]\+.*/\1/'`
+
+if [ "$missingdepends" != "" ] ; then
+ echo "Please install the following packages to rebuild the upstream source tarball:"
+ echo $missingdepends
+ exit -1
+fi
+
+mkdir -p ../tarballs
+cd ../tarballs
+
+if [ ! -f "$UPSTREAMTAR" ] ; then
+ wget http://graphics.stanford.edu/software/volpack/"$UPSTREAMTAR"
+fi
+tar -xzf "$UPSTREAMTAR"
+
+# Apply patch that removes dcmtk stuff from Makefile.in and configure.in
+patch -p0 < "$patchfile"
+
+cd "$UPSTREAMDIR"
+chmod 755 makeopts
+
+# gettextize --force --copy
+libtoolize --force --copy
+aclocal
+automake --add-missing --force-missing --gnu
+autoconf
+./configure
+make dist
+mv "$UPSTREAMDIR".tar.gz ../"$NAME"_"$VERSION".orig.tar.gz
+cd ..
+rm -rf "$UPSTREAMDIR"
Property changes on: trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source_patch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source_patch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/get-orig-source_patch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,1291 @@
+diff -ubrN volpack-1.0b3.orig/AUTHORS volpack-1.0b3/AUTHORS
+--- volpack-1.0b3.orig/AUTHORS 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/AUTHORS 2007-07-28 21:37:35.000000000 +0200
+@@ -0,0 +1,3 @@
++Phil Lacroute
++volpack at graphics.stanford.edu
++16 December 1994
+diff -ubrN volpack-1.0b3.orig/ChangeLog volpack-1.0b3/ChangeLog
+--- volpack-1.0b3.orig/ChangeLog 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/ChangeLog 1994-12-31 00:52:30.000000000 +0100
+@@ -0,0 +1,110 @@
++--------------- Released version 1.0 beta1 ---------------
++
++1. Bug Fix: vpCreateMinMaxOctree caused a segmentation fault for
++ volume sizes that were not a power of two.
++
++2. Debug Feature: Added debugging code for compositing calculation.
++
++3. Debug Feature: Added intermediate image coordinates to vpTracePixel
++ output.
++
++4. Bug Fix: Added a check in vpRamp for non-increasing x coordinates
++ to prevent a divide-by-zero error.
++
++5. Bug Fix: Added a version of the compositing routine (vp_compAn.m4)
++ that does not have unrolled loops, since some compilers have
++ trouble with the unrolled version (too many basic blocks to run the
++ optimizer in a reasonable amount of time). The unrolled version is
++ now in vp_compAu.m4 instead of vp_compA.m4. The Makefile can be
++ modified to choose one or the other version.
++
++6. Feature: Added complete man pages for all library routines.
++
++7. Bug Fix: In vpSetCallback, revert to default behavior if the function
++ argument is NULL (instead of causing a NULL dereference later on).
++
++8. Feature: Added vpStoreContext and vpLoadContext to save and restore
++ rendering contexts (and to make it easier to reproduce bugs).
++
++9. Feature: Changed vpLoadRawVolume to memory-map the file if
++ requested
++
++10. Bug Fix: Fixed missing and incorrect function prototypes.
++
++11. Feature: Changed makefile and headers to use GNU autoconf.
++
++--------------- Released version 1.0 beta2 ---------------
++
++12. Bug Fix: Fixed minus-sign error in formula for depth cueing factor.
++ This eliminates the brightness changes that occurred when rotating
++ a volume past a 45 degree point with depth cueing enabled.
++
++13. Debug Feature: Added code to collect rendering statistics for
++ performance analysis.
++
++14. Debug Feature: Allow negative opacity threshold (to experiment with
++ disabling the benefit of spatial data structures).
++
++15. Bug Fix: Fixed the result of vpGeti with the VP_VIEW_Y_SIZE
++ or VP_VIEW_Z_SIZE options.
++
++16. Reorganization and renaming of compositing functions to make it
++ easier to conditionally compile in just some of the special-case
++ versions. Also merged code for unrolled loops with code for
++ non-unrolled loops into one M4 source file.
++
++17. Feature: Added experimental "index volume" code for faster
++ early-ray termination.
++
++18. Debug Feature: Added define flags to conditionally remove early-ray
++ termination and resampling loops for performance analysis runs.
++
++19. Feature: Added experimental brute-force raycaster for performance
++ comparisons.
++
++20. Feature: Implemented shadows.
++
++21. Bug Fix: Added missing return value in vpDestroyClassifiedVolume.
++
++22. Feature: Implemented resampling filters for scaling volume data
++ (vpSetFilter(), vpResample(), vpBoxFilter(), vpLinearFilter(),
++ vpBicubicFilter(), vpGaussianFilter()).
++
++23. Feature: Added capability to produce images with a variety of
++ pixel formats, including an optional alpha channel.
++ *** INCOMPATIBLE CHANGE TO vpSetImage ***
++
++24. Feature: Changed vpGetImage to produce images with the same
++ pixel formats supported by vpSetImage, and to allow reading back
++ the shadow buffer.
++ *** INCOMPATIBLE CHANGE TO vpGetImage ***
++
++25. Reorganized macros in vp_compA.m4 and vp_warpA.m4.
++
++26. Bug Fix: Refactor view if shadows are turned on.
++
++27. Feature: The callback functions for VP_LOG_ALLOC_FUNC,
++ VP_LOG_FREE_FUNC and VP_STATUS_FUNC now get one additional
++ argument, the client_data pointer associated with the context.
++
++28. Bug Fix: Check if intermediate image buffer must be resized
++ even if view has not changed (since number of color channels
++ may be different).
++
++29. Feature: Allow clamping to be disabled when computing shading
++ lookup table (vpShadeTable).
++
++30. Debug Feature: Added options to override default compositing direction
++ and to retrieve compositing order.
++
++31. Bug Fix: Check for invalid voxel field sizes when using lookup
++ table shading.
++
++32. Bug Fix: Don't destroy classified volume when raw voxel array
++ is set to NULL pointer.
++
++33. Bug Fix: Fixed error in vpNormalIndex (also affecting
++ vpScanlineNormals and vpVolumeNormals) that resulted in incorrect
++ calculation of isolated surface normals due to a roundoff error.
++ This sometimes also resulted in index values greater than the
++ maximum permissible value.
+diff -ubrN volpack-1.0b3.orig/changes volpack-1.0b3/changes
+--- volpack-1.0b3.orig/changes 1994-12-31 00:52:30.000000000 +0100
++++ volpack-1.0b3/changes 1970-01-01 01:00:00.000000000 +0100
+@@ -1,110 +0,0 @@
+---------------- Released version 1.0 beta1 ---------------
+-
+-1. Bug Fix: vpCreateMinMaxOctree caused a segmentation fault for
+- volume sizes that were not a power of two.
+-
+-2. Debug Feature: Added debugging code for compositing calculation.
+-
+-3. Debug Feature: Added intermediate image coordinates to vpTracePixel
+- output.
+-
+-4. Bug Fix: Added a check in vpRamp for non-increasing x coordinates
+- to prevent a divide-by-zero error.
+-
+-5. Bug Fix: Added a version of the compositing routine (vp_compAn.m4)
+- that does not have unrolled loops, since some compilers have
+- trouble with the unrolled version (too many basic blocks to run the
+- optimizer in a reasonable amount of time). The unrolled version is
+- now in vp_compAu.m4 instead of vp_compA.m4. The Makefile can be
+- modified to choose one or the other version.
+-
+-6. Feature: Added complete man pages for all library routines.
+-
+-7. Bug Fix: In vpSetCallback, revert to default behavior if the function
+- argument is NULL (instead of causing a NULL dereference later on).
+-
+-8. Feature: Added vpStoreContext and vpLoadContext to save and restore
+- rendering contexts (and to make it easier to reproduce bugs).
+-
+-9. Feature: Changed vpLoadRawVolume to memory-map the file if
+- requested
+-
+-10. Bug Fix: Fixed missing and incorrect function prototypes.
+-
+-11. Feature: Changed makefile and headers to use GNU autoconf.
+-
+---------------- Released version 1.0 beta2 ---------------
+-
+-12. Bug Fix: Fixed minus-sign error in formula for depth cueing factor.
+- This eliminates the brightness changes that occurred when rotating
+- a volume past a 45 degree point with depth cueing enabled.
+-
+-13. Debug Feature: Added code to collect rendering statistics for
+- performance analysis.
+-
+-14. Debug Feature: Allow negative opacity threshold (to experiment with
+- disabling the benefit of spatial data structures).
+-
+-15. Bug Fix: Fixed the result of vpGeti with the VP_VIEW_Y_SIZE
+- or VP_VIEW_Z_SIZE options.
+-
+-16. Reorganization and renaming of compositing functions to make it
+- easier to conditionally compile in just some of the special-case
+- versions. Also merged code for unrolled loops with code for
+- non-unrolled loops into one M4 source file.
+-
+-17. Feature: Added experimental "index volume" code for faster
+- early-ray termination.
+-
+-18. Debug Feature: Added define flags to conditionally remove early-ray
+- termination and resampling loops for performance analysis runs.
+-
+-19. Feature: Added experimental brute-force raycaster for performance
+- comparisons.
+-
+-20. Feature: Implemented shadows.
+-
+-21. Bug Fix: Added missing return value in vpDestroyClassifiedVolume.
+-
+-22. Feature: Implemented resampling filters for scaling volume data
+- (vpSetFilter(), vpResample(), vpBoxFilter(), vpLinearFilter(),
+- vpBicubicFilter(), vpGaussianFilter()).
+-
+-23. Feature: Added capability to produce images with a variety of
+- pixel formats, including an optional alpha channel.
+- *** INCOMPATIBLE CHANGE TO vpSetImage ***
+-
+-24. Feature: Changed vpGetImage to produce images with the same
+- pixel formats supported by vpSetImage, and to allow reading back
+- the shadow buffer.
+- *** INCOMPATIBLE CHANGE TO vpGetImage ***
+-
+-25. Reorganized macros in vp_compA.m4 and vp_warpA.m4.
+-
+-26. Bug Fix: Refactor view if shadows are turned on.
+-
+-27. Feature: The callback functions for VP_LOG_ALLOC_FUNC,
+- VP_LOG_FREE_FUNC and VP_STATUS_FUNC now get one additional
+- argument, the client_data pointer associated with the context.
+-
+-28. Bug Fix: Check if intermediate image buffer must be resized
+- even if view has not changed (since number of color channels
+- may be different).
+-
+-29. Feature: Allow clamping to be disabled when computing shading
+- lookup table (vpShadeTable).
+-
+-30. Debug Feature: Added options to override default compositing direction
+- and to retrieve compositing order.
+-
+-31. Bug Fix: Check for invalid voxel field sizes when using lookup
+- table shading.
+-
+-32. Bug Fix: Don't destroy classified volume when raw voxel array
+- is set to NULL pointer.
+-
+-33. Bug Fix: Fixed error in vpNormalIndex (also affecting
+- vpScanlineNormals and vpVolumeNormals) that resulted in incorrect
+- calculation of isolated surface normals due to a roundoff error.
+- This sometimes also resulted in index values greater than the
+- maximum permissible value.
+diff -ubrN volpack-1.0b3.orig/config.h.in volpack-1.0b3/config.h.in
+--- volpack-1.0b3.orig/config.h.in 1994-09-25 19:50:42.000000000 +0100
++++ volpack-1.0b3/config.h.in 2007-08-04 21:21:18.000000000 +0200
+@@ -1,16 +1,64 @@
+-/* config.h.in. Generated automatically from configure.in by autoheader. */
++/* config.h.in. Generated from configure.in by autoheader. */
+
+-/* Define if you don't have vprintf but do have _doprnt. */
++/* Define to 1 if you have the <dlfcn.h> header file. */
++#undef HAVE_DLFCN_H
++
++/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+ #undef HAVE_DOPRNT
+
+-/* Define if you have the vprintf function. */
+-#undef HAVE_VPRINTF
++/* Define to 1 if you have the <inttypes.h> header file. */
++#undef HAVE_INTTYPES_H
+
+-/* Define if you have the ANSI C header files. */
+-#undef STDC_HEADERS
++/* Define to 1 if you have the `m' library (-lm). */
++#undef HAVE_LIBM
+
+-/* Define if you have the <memory.h> header file. */
++/* Define to 1 if you have the <memory.h> header file. */
+ #undef HAVE_MEMORY_H
+
+-/* Define if you have the <string.h> header file. */
++/* Define to 1 if you have the <stdint.h> header file. */
++#undef HAVE_STDINT_H
++
++/* Define to 1 if you have the <stdlib.h> header file. */
++#undef HAVE_STDLIB_H
++
++/* Define to 1 if you have the <strings.h> header file. */
++#undef HAVE_STRINGS_H
++
++/* Define to 1 if you have the <string.h> header file. */
+ #undef HAVE_STRING_H
++
++/* Define to 1 if you have the <sys/stat.h> header file. */
++#undef HAVE_SYS_STAT_H
++
++/* Define to 1 if you have the <sys/types.h> header file. */
++#undef HAVE_SYS_TYPES_H
++
++/* Define to 1 if you have the <unistd.h> header file. */
++#undef HAVE_UNISTD_H
++
++/* Define to 1 if you have the `vprintf' function. */
++#undef HAVE_VPRINTF
++
++/* Name of package */
++#undef PACKAGE
++
++/* Define to the address where bug reports for this package should be sent. */
++#undef PACKAGE_BUGREPORT
++
++/* Define to the full name of this package. */
++#undef PACKAGE_NAME
++
++/* Define to the full name and version of this package. */
++#undef PACKAGE_STRING
++
++/* Define to the one symbol short name of this package. */
++#undef PACKAGE_TARNAME
++
++/* Define to the version of this package. */
++#undef PACKAGE_VERSION
++
++/* Define to 1 if you have the ANSI C header files. */
++#undef STDC_HEADERS
++
++/* Version number of package */
++#undef VERSION
+diff -ubrN volpack-1.0b3.orig/configure.in volpack-1.0b3/configure.in
+--- volpack-1.0b3.orig/configure.in 1994-12-15 21:11:34.000000000 +0100
++++ volpack-1.0b3/configure.in 2007-08-04 21:21:01.000000000 +0200
+@@ -1,8 +1,35 @@
+ dnl This file is an input file used by the GNU "autoconf" program to
+ dnl generate the file "configure", which is run during installation
+ dnl to configure the system for the local environment.
+-AC_INIT(vp_global.h)
+-AC_CONFIG_HEADER(config.h)
++dnl
++dnl Authors:
++dnl Andreas Tille <tille at debian.org> and Daniel Leidert <daniel.leidert at wgdd.de>
++dnl License: GPL
++
++dnl Initialize autoconf by any header file of the source
++dnl
++
++AC_INIT([volpack], [1.0b3], [volpack at graphics.stanford.edu])
++AC_PREREQ([2.54])
++AC_CONFIG_SRCDIR([volpack.h])
++
++dnl Define the library SONAME. You can create the different numbers from VERSION
++dnl if you want (probably awk, ...)
++dnl
++
++LIBVOLPACK_MAJOR=1
++LIBVOLPACK_MINOR=1
++LIBVOLPACK_MICRO=0
++
++AC_SUBST(LIBVOLPACK_VERSION_INFO, [$LIBVOLPACK_MAJOR:$LIBVOLPACK_MINOR:$LIBVOLPACK_MICRO])
++
++dnl This configures autoheader to generate a config.h file
++dnl
++
++AM_CONFIG_HEADER([config.h])
++
++AM_INIT_AUTOMAKE([-Wall])
++AM_PROG_LIBTOOL
+
+ AC_CANONICAL_HOST
+
+@@ -33,13 +60,15 @@
+ MFLAGS=
+ ;;
+ esac
+-AC_SUBST(OFLAGS)
+-AC_SUBST(MFLAGS)
++AC_SUBST([OFLAGS])
++AC_SUBST([MFLAGS])
+
++dnl AC_PROG_LIBTOOL
++AC_PROG_CC
++dnl CC=${CC-cc}
++dnl AC_SUBST(CC)
++AC_PROG_CPP
+ AC_PROG_INSTALL
+-AC_PROG_RANLIB
+-CC=${CC-cc}
+-AC_SUBST(CC)
+
+ if test -z "$M4" ; then
+ case "$host" in
+@@ -51,10 +80,20 @@
+ ;;
+ esac
+ fi
+-AC_PATH_PROGS(M4, gnum4 gm4 m4, m4)
++AC_PATH_PROGS([M4], [gnum4 gm4 m4])
++test -n "$M4" || AC_MSG_ERROR([m4 is missing on your system or not present in PATH.])
+ AC_HEADER_STDC
+-AC_CHECK_HEADERS(string.h memory.h)
++AC_CHECK_HEADERS([string.h memory.h])
++
++AC_CHECK_LIB([m], [cos])
+
+ AC_FUNC_VPRINTF
+
+-AC_OUTPUT(Makefile examples/Makefile)
++AC_CONFIG_FILES([
++ Makefile
++ doc/Makefile
++ examples/Makefile
++ man/Makefile
++ man/src/Makefile
++])
++AC_OUTPUT
+diff -ubrN volpack-1.0b3.orig/COPYING volpack-1.0b3/COPYING
+--- volpack-1.0b3.orig/COPYING 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/COPYING 2007-07-28 21:17:53.000000000 +0200
+@@ -0,0 +1,19 @@
++ VolPack version 1.0beta3
++ ------------------------
++Copyright
++
++VolPack is covered by the following copyright notice:
++
++ Copyright (c) 1994 The Board of Trustees of The Leland Stanford
++ Junior University. All rights reserved.
++
++ Permission to use, copy, modify and distribute this software and its
++ documentation for any purpose is hereby granted without fee, provided
++ that the above copyright notice and this permission notice appear in
++ all copies of this software and that you do not sell the software.
++ Commercial licensing is available by contacting the author.
++
++ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
++ EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
++ WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
++
+diff -ubrN volpack-1.0b3.orig/doc/Makefile.am volpack-1.0b3/doc/Makefile.am
+--- volpack-1.0b3.orig/doc/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/doc/Makefile.am 2007-07-28 21:07:43.000000000 +0200
+@@ -0,0 +1,6 @@
++## Process this file with automake to produce Makefile.in
++# Makefile.am for volpack/doc
++# Andreas Tille <tille at debian.org>
++# GPL
++
++EXTRA_DIST = vp_userguide.html vp_userguide.ps
+diff -ubrN volpack-1.0b3.orig/examples/Makefile.am volpack-1.0b3/examples/Makefile.am
+--- volpack-1.0b3.orig/examples/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/examples/Makefile.am 2007-08-03 21:50:34.000000000 +0200
+@@ -0,0 +1,24 @@
++## Process this file with automake to produce Makefile.in
++# Makefile.am for volpack/examples
++# Andreas Tille <tille at debian.org> and Daniel Leidert <daniel.leidert at wgdd.de>
++# GPL
++
++EXTRA_DIST = brainsmall.den check.ppm README test.csh
++
++CLEANFILES = $(EXAMPLEOUTPUT)
++
++AM_CPPFLAGS = -I$(top_srcdir)
++LDADD = $(top_builddir)/libvolpack.la @LIBS@
++
++noinst_PROGRAMS = classifyvolume makeoctree makevolume rendervolume scalevolume
++
++classifyvolume_SOURCES = classifyvolume.c volume.h
++makeoctree_SOURCES = makeoctree.c volume.h
++makevolume_SOURCES = makevolume.c volume.h
++rendervolume_SOURCES = rendervolume.c volume.h
++scalevolume_SOURCES = scalevolume.c denfile.c
++
++# In case there are some remainings from the example tests:
++EXAMPLEOUTPUT = brainsmall.cv brainsmall.oct brainsmall*.ppm brainsmall.rv
++
++
+diff -ubrN volpack-1.0b3.orig/examples/Makefile.in volpack-1.0b3/examples/Makefile.in
+--- volpack-1.0b3.orig/examples/Makefile.in 1995-01-01 01:01:41.000000000 +0100
++++ volpack-1.0b3/examples/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+@@ -1,116 +0,0 @@
+-#
+-# Makefile for VolPack example programs. If it has the name "Makefile.in"
+-# then it is a template for a Makefile; to generate the actual Makefile,
+-# run "./configure", which is a configuration script generated by the
+-# "autoconf" program (constructs like "@foo@" will get replaced in the
+-# actual Makefile).
+-#
+-# Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+-# Junior University. All rights reserved.
+-#
+-# Permission to use, copy, modify and distribute this software and its
+-# documentation for any purpose is hereby granted without fee, provided
+-# that the above copyright notice and this permission notice appear in
+-# all copies of this software and that you do not sell the software.
+-# Commercial licensing is available by contacting the author.
+-#
+-# THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+-# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+-# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+-#
+-# Author:
+-# Phil Lacroute
+-# Computer Systems Laboratory
+-# Electrical Engineering Dept.
+-# Stanford University
+-#
+-
+-# shell to use for executing make commands
+-SHELL = /bin/sh
+-
+-###########################################################################
+-# Options that can be changed by the user.
+-###########################################################################
+-
+-# ANSI-C prototypes: use the first line to let the #ifdef's in
+-# volpack.h guess if your compiler supports prototypes, use the
+-# second line to disable prototypes, or use the third line to
+-# enable prototypes
+-PROTO_FLAG =
+-#PROTO_FLAG = -DNO_PROTOTYPE
+-#PROTO_FLAG = -DANSI_C
+-
+-# optional compiler flags: use the first line for full optimization
+-# (configure will try to choose flags for your system), or use the
+-# second for no optimization; the other lines are for various levels
+-# of debugging
+-CCOPT_FLAGS = $(OFLAGS)
+-#CCOPT_FLAGS =
+-#CCOPT_FLAGS = -DASSERTIONS -fullwarn -g
+-
+-# directory containing volpack
+-VOLPACK = ..
+-
+-# include files for volpack
+-VPINCL = -I$(VOLPACK)
+-
+-# library for volpack
+-VPLIB = $(VOLPACK)/libvolpack.a
+-
+-###########################################################################
+-# Options that are changed by the configure script. These should
+-# probably not be editted by hand.
+-###########################################################################
+-
+-# pathname for the C compiler
+-CC = @CC@
+-
+-# compiler options
+-AC_FLAGS = @DEFS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for options that should always be included (even for
+-# compiles with optimization turned off); configure can fill
+-# this in automatically if you supply a recognized system name
+-MFLAGS = @MFLAGS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for optimization options only; configure can fill
+-# this in automatically if you supply a recognized system name
+-OFLAGS = @OFLAGS@
+-
+-###########################################################################
+-# Nothing beyond this point should need to be changed by the user.
+-###########################################################################
+-
+-CFLAGS = -I. ${VPINCL} ${AC_FLAGS} ${CCOPT_FLAGS} ${MFLAGS} ${PROTO_FLAG}
+-LIBS = ${VPLIB} -lm
+-
+-all: makevolume makeoctree classifyvolume rendervolume scalevolume
+-
+-makevolume: makevolume.c volume.h $(VPLIB)
+- $(CC) -o makevolume $(CFLAGS) makevolume.c $(LIBS)
+-
+-makeoctree: makeoctree.c volume.h $(VPLIB)
+- $(CC) -o makeoctree $(CFLAGS) makeoctree.c $(LIBS)
+-
+-classifyvolume: classifyvolume.c volume.h $(VPLIB)
+- $(CC) -o classifyvolume $(CFLAGS) classifyvolume.c $(LIBS)
+-
+-rendervolume: rendervolume.c volume.h $(VPLIB)
+- $(CC) -o rendervolume $(CFLAGS) rendervolume.c $(LIBS)
+-
+-scalevolume: scalevolume.c denfile.c $(VPLIB)
+- $(CC) -o scalevolume $(CFLAGS) scalevolume.c denfile.c $(LIBS)
+-
+-checkin:
+- ci -l -f classifyvolume.c makeoctree.c makevolume.c \
+- rendervolume.c scalevolume.c denfile.c volume.h \
+- Makefile.in test.csh test.out README
+-
+-clean:
+- rm -f makevolume makeoctree classifyvolume rendervolume scalevolume
+- rm -f scalevolume.o denfile.o
+- rm -f brainsmall.rv brainsmall.oct brainsmall.cv brainsmall.ppm
+- rm -f brainsmall1.ppm brainsmall2.ppm
+- rm -f brainsmall3.ppm brainsmall4.ppm
+diff -ubrN volpack-1.0b3.orig/INSTALL volpack-1.0b3/INSTALL
+--- volpack-1.0b3.orig/INSTALL 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/INSTALL 2006-10-19 06:51:14.000000000 +0200
+@@ -0,0 +1,234 @@
++Installation Instructions
++*************************
++
++Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
++2006 Free Software Foundation, Inc.
++
++This file is free documentation; the Free Software Foundation gives
++unlimited permission to copy, distribute and modify it.
++
++Basic Installation
++==================
++
++Briefly, the shell commands `./configure; make; make install' should
++configure, build, and install this package. The following
++more-detailed instructions are generic; see the `README' file for
++instructions specific to this package.
++
++ The `configure' shell script attempts to guess correct values for
++various system-dependent variables used during compilation. It uses
++those values to create a `Makefile' in each directory of the package.
++It may also create one or more `.h' files containing system-dependent
++definitions. Finally, it creates a shell script `config.status' that
++you can run in the future to recreate the current configuration, and a
++file `config.log' containing compiler output (useful mainly for
++debugging `configure').
++
++ It can also use an optional file (typically called `config.cache'
++and enabled with `--cache-file=config.cache' or simply `-C') that saves
++the results of its tests to speed up reconfiguring. Caching is
++disabled by default to prevent problems with accidental use of stale
++cache files.
++
++ If you need to do unusual things to compile the package, please try
++to figure out how `configure' could check whether to do them, and mail
++diffs or instructions to the address given in the `README' so they can
++be considered for the next release. If you are using the cache, and at
++some point `config.cache' contains results you don't want to keep, you
++may remove or edit it.
++
++ The file `configure.ac' (or `configure.in') is used to create
++`configure' by a program called `autoconf'. You need `configure.ac' if
++you want to change it or regenerate `configure' using a newer version
++of `autoconf'.
++
++The simplest way to compile this package is:
++
++ 1. `cd' to the directory containing the package's source code and type
++ `./configure' to configure the package for your system.
++
++ Running `configure' might take a while. While running, it prints
++ some messages telling which features it is checking for.
++
++ 2. Type `make' to compile the package.
++
++ 3. Optionally, type `make check' to run any self-tests that come with
++ the package.
++
++ 4. Type `make install' to install the programs and any data files and
++ documentation.
++
++ 5. You can remove the program binaries and object files from the
++ source code directory by typing `make clean'. To also remove the
++ files that `configure' created (so you can compile the package for
++ a different kind of computer), type `make distclean'. There is
++ also a `make maintainer-clean' target, but that is intended mainly
++ for the package's developers. If you use it, you may have to get
++ all sorts of other programs in order to regenerate files that came
++ with the distribution.
++
++Compilers and Options
++=====================
++
++Some systems require unusual options for compilation or linking that the
++`configure' script does not know about. Run `./configure --help' for
++details on some of the pertinent environment variables.
++
++ You can give `configure' initial values for configuration parameters
++by setting variables in the command line or in the environment. Here
++is an example:
++
++ ./configure CC=c99 CFLAGS=-g LIBS=-lposix
++
++ *Note Defining Variables::, for more details.
++
++Compiling For Multiple Architectures
++====================================
++
++You can compile the package for more than one kind of computer at the
++same time, by placing the object files for each architecture in their
++own directory. To do this, you can use GNU `make'. `cd' to the
++directory where you want the object files and executables to go and run
++the `configure' script. `configure' automatically checks for the
++source code in the directory that `configure' is in and in `..'.
++
++ With a non-GNU `make', it is safer to compile the package for one
++architecture at a time in the source code directory. After you have
++installed the package for one architecture, use `make distclean' before
++reconfiguring for another architecture.
++
++Installation Names
++==================
++
++By default, `make install' installs the package's commands under
++`/usr/local/bin', include files under `/usr/local/include', etc. You
++can specify an installation prefix other than `/usr/local' by giving
++`configure' the option `--prefix=PREFIX'.
++
++ You can specify separate installation prefixes for
++architecture-specific files and architecture-independent files. If you
++pass the option `--exec-prefix=PREFIX' to `configure', the package uses
++PREFIX as the prefix for installing programs and libraries.
++Documentation and other data files still use the regular prefix.
++
++ In addition, if you use an unusual directory layout you can give
++options like `--bindir=DIR' to specify different values for particular
++kinds of files. Run `configure --help' for a list of the directories
++you can set and what kinds of files go in them.
++
++ If the package supports it, you can cause programs to be installed
++with an extra prefix or suffix on their names by giving `configure' the
++option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
++
++Optional Features
++=================
++
++Some packages pay attention to `--enable-FEATURE' options to
++`configure', where FEATURE indicates an optional part of the package.
++They may also pay attention to `--with-PACKAGE' options, where PACKAGE
++is something like `gnu-as' or `x' (for the X Window System). The
++`README' should mention any `--enable-' and `--with-' options that the
++package recognizes.
++
++ For packages that use the X Window System, `configure' can usually
++find the X include and library files automatically, but if it doesn't,
++you can use the `configure' options `--x-includes=DIR' and
++`--x-libraries=DIR' to specify their locations.
++
++Specifying the System Type
++==========================
++
++There may be some features `configure' cannot figure out automatically,
++but needs to determine by the type of machine the package will run on.
++Usually, assuming the package is built to be run on the _same_
++architectures, `configure' can figure that out, but if it prints a
++message saying it cannot guess the machine type, give it the
++`--build=TYPE' option. TYPE can either be a short name for the system
++type, such as `sun4', or a canonical name which has the form:
++
++ CPU-COMPANY-SYSTEM
++
++where SYSTEM can have one of these forms:
++
++ OS KERNEL-OS
++
++ See the file `config.sub' for the possible values of each field. If
++`config.sub' isn't included in this package, then this package doesn't
++need to know the machine type.
++
++ If you are _building_ compiler tools for cross-compiling, you should
++use the option `--target=TYPE' to select the type of system they will
++produce code for.
++
++ If you want to _use_ a cross compiler, that generates code for a
++platform different from the build platform, you should specify the
++"host" platform (i.e., that on which the generated programs will
++eventually be run) with `--host=TYPE'.
++
++Sharing Defaults
++================
++
++If you want to set default values for `configure' scripts to share, you
++can create a site shell script called `config.site' that gives default
++values for variables like `CC', `cache_file', and `prefix'.
++`configure' looks for `PREFIX/share/config.site' if it exists, then
++`PREFIX/etc/config.site' if it exists. Or, you can set the
++`CONFIG_SITE' environment variable to the location of the site script.
++A warning: not all `configure' scripts look for a site script.
++
++Defining Variables
++==================
++
++Variables not defined in a site shell script can be set in the
++environment passed to `configure'. However, some packages may run
++configure again during the build, and the customized values of these
++variables may be lost. In order to avoid this problem, you should set
++them in the `configure' command line, using `VAR=value'. For example:
++
++ ./configure CC=/usr/local2/bin/gcc
++
++causes the specified `gcc' to be used as the C compiler (unless it is
++overridden in the site shell script).
++
++Unfortunately, this technique does not work for `CONFIG_SHELL' due to
++an Autoconf bug. Until the bug is fixed you can use this workaround:
++
++ CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
++
++`configure' Invocation
++======================
++
++`configure' recognizes the following options to control how it operates.
++
++`--help'
++`-h'
++ Print a summary of the options to `configure', and exit.
++
++`--version'
++`-V'
++ Print the version of Autoconf used to generate the `configure'
++ script, and exit.
++
++`--cache-file=FILE'
++ Enable the cache: use and save the results of the tests in FILE,
++ traditionally `config.cache'. FILE defaults to `/dev/null' to
++ disable caching.
++
++`--config-cache'
++`-C'
++ Alias for `--cache-file=config.cache'.
++
++`--quiet'
++`--silent'
++`-q'
++ Do not print messages saying which checks are being made. To
++ suppress all normal output, redirect it to `/dev/null' (any error
++ messages will still be shown).
++
++`--srcdir=DIR'
++ Look for the package's source code in directory DIR. Usually
++ `configure' can determine that directory automatically.
++
++`configure' also accepts some other, not widely useful, options. Run
++`configure --help' for more details.
++
+diff -ubrN volpack-1.0b3.orig/Makefile.am volpack-1.0b3/Makefile.am
+--- volpack-1.0b3.orig/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/Makefile.am 2007-09-22 22:02:22.000000000 +0200
+@@ -0,0 +1,60 @@
++## Process this file with automake to produce Makefile.in
++# Makefile.am for volpack
++# Andreas Tille <tille at debian.org> and Daniel Leidert <daniel.leidert at wgdd.de>
++# GPL
++
++SUBDIRS = doc man examples
++
++EXTRA_DIST = no_edit_header vp_compA.m4 vp_warpA.m4 makeopts
++
++CLEANFILES = $(COMP_SRCS) $(WARP_SRCS) vp_opts.c
++
++AM_CFLAGS = $(AC_FLAGS) $(CCOPT_FLAGS) $(MFLAGS) \
++ $(PROTO_FLAG) $(UNROLL_FLAG) $(OPT_FLAGS)
++AM_LDFLAGS = -version-info @LIBVOLPACK_VERSION_INFO@
++
++# Make sure, the library and source files are build first.
++BUILT_SOURCES = vp_opts.c $(COMP_SRCS) $(WARP_SRCS) $(lib_LTLIBRARIES)
++
++lib_LTLIBRARIES = libvolpack.la
++
++dist_libvolpack_la_SOURCES = volpack.h vp_global.h patchlevel.h \
++ vp_check.c vp_context.c vp_extract.c vp_file.c vp_linalg.c vp_octree.c \
++ vp_renderA.c vp_renderB.c vp_renderC.c vp_renderR.c vp_resample.c \
++ vp_rle.c vp_shade.c vp_transpose.c vp_util.c vp_view.c vp_warp.c
++nodist_libvolpack_la_SOURCES = $(COMP_SRCS) $(WARP_SRCS)
++
++vp_opts.c: makeopts Makefile
++ ./makeopts vp_opts.c $(CFLAGS)
++
++# list of optional C source files to build with code specialized
++# for particular shaders and resampling filters
++OPT_SRCS = vp_compAC11B.c vp_compAC31B.c vp_compAC32B.c \
++ vp_compAR11B.c vp_compAR31B.c vp_compAR32B.c
++
++# C define flags corresponding to COMP_SRCS; these tell the dispatch
++# routines in the library which object files are available
++OPT_FLAGS = -DCOMP_AC11B -DCOMP_AC31B -DCOMP_AC32B \
++ -DCOMP_AR11B -DCOMP_AR31B -DCOMP_AR32B
++
++COMP_SRCS = vp_compAC1NB.c vp_compAC3NB.c vp_compAR1NB.c vp_compAR3NB.c \
++ vp_compAC1PB.c vp_compAC3PB.c vp_compAR1PB.c vp_compAR3PB.c \
++ vp_compAC00G.c vp_compAR00G.c vp_compAC1NS.c vp_compAC3NS.c \
++ vp_compAR1NS.c vp_compAR3NS.c $(OPT_SRCS)
++
++WARP_SRCS = vp_warpA101N.c vp_warpA301N.c vp_warpA110N.c vp_warpA111N.c \
++ vp_warpA330N.c vp_warpA331N.c vp_warpA330R.c vp_warpA331R.c
++
++COMP_IN = no_edit_header vp_compA.m4
++WARP_IN = no_edit_header vp_warpA.m4
++
++ESRC = vp_raycast.c
++EOBJ = vp_raycast.o
++
++$(COMP_SRCS): $(COMP_IN)
++ $(M4) -DSourceFile=$@ $^ > $@
++
++$(WARP_SRCS): $(WARP_IN)
++ $(M4) -DSourceFile=$@ $^ > $@
++
++MAINTAINERCLEANFILES = autom4te.cache
+diff -ubrN volpack-1.0b3.orig/Makefile.in volpack-1.0b3/Makefile.in
+--- volpack-1.0b3.orig/Makefile.in 1994-12-12 21:21:47.000000000 +0100
++++ volpack-1.0b3/Makefile.in 1970-01-01 01:00:00.000000000 +0100
+@@ -1,261 +0,0 @@
+-#
+-# Makefile for the VolPack library. If it has the name "Makefile.in"
+-# then it is a template for a Makefile; to generate the actual Makefile,
+-# run "./configure", which is a configuration script generated by the
+-# "autoconf" program (constructs like "@foo@" will get replaced in the
+-# actual Makefile).
+-#
+-# Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+-# Junior University. All rights reserved.
+-#
+-# Permission to use, copy, modify and distribute this software and its
+-# documentation for any purpose is hereby granted without fee, provided
+-# that the above copyright notice and this permission notice appear in
+-# all copies of this software and that you do not sell the software.
+-# Commercial licensing is available by contacting the author.
+-#
+-# THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+-# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+-# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+-#
+-# Author:
+-# Phil Lacroute
+-# Computer Systems Laboratory
+-# Electrical Engineering Dept.
+-# Stanford University
+-#
+-
+-# shell to use for executing make commands
+-SHELL = /bin/sh
+-
+-###########################################################################
+-# Options that can be changed by the user.
+-###########################################################################
+-
+-# default top-level directory for installing architecture-independent files
+-# (include files, documentation)
+-prefix = @prefix@
+-
+-# default top-level directory for installing architecture-specific files
+-# (binaries)
+-exec_prefix = @exec_prefix@
+-
+-# directory in which to install the VolPack library
+-LIB_DIR = $(exec_prefix)/lib
+-
+-# directory for include files
+-INCLUDE_DIR = $(prefix)/include
+-
+-# top-level directory for manual entries
+-MAN_DIR = $(prefix)/man
+-
+-# directory in which to install manual entries for library functions
+-MAN3_DIR = $(MAN_DIR)/man3
+-
+-# ANSI-C prototypes: use the first line to let the #ifdef's in
+-# volpack.h guess if your compiler supports prototypes, use the
+-# second line to disable prototypes, or use the third line to
+-# enable prototypes
+-PROTO_FLAG =
+-#PROTO_FLAG = -DNO_PROTOTYPE
+-#PROTO_FLAG = -DANSI_C
+-
+-# loop unrolling optimization: if the following line is not commented
+-# out then the library will be built with a special version of the
+-# rendering code that has been hand-optimized; use this unless your
+-# compiler's optimizer has trouble with procedures that have a large
+-# number of basic blocks
+-#UNROLL_FLAG = -DUNROLL_RUN_LOOP
+-
+-# optional compiler flags:
+-# use the first line for full optimization
+-# use the second line for no optimization
+-# the other lines are for various levels of debugging
+-CCOPT_FLAGS = $(OFLAGS)
+-#CCOPT_FLAGS =
+-#CCOPT_FLAGS = -DASSERTIONS -fullwarn -g
+-#CCOPT_FLAGS = -DDEBUG -DASSERTIONS -fullwarn -g
+-
+-# list of optional C source files to build with code specialized
+-# for particular shaders and resampling filters
+-OPT_SRCS = vp_compAC11B.c vp_compAC31B.c vp_compAC32B.c \
+- vp_compAR11B.c vp_compAR31B.c vp_compAR32B.c
+-
+-# object files corresponding to COMP_SRCS
+-OPT_OBJS = vp_compAC11B.o vp_compAC31B.o vp_compAC32B.o \
+- vp_compAR11B.o vp_compAR31B.o vp_compAR32B.o
+-
+-# C define flags corresponding to COMP_SRCS; these tell the dispatch
+-# routines in the library which object files are available
+-OPT_FLAGS = -DCOMP_AC11B -DCOMP_AC31B -DCOMP_AC32B \
+- -DCOMP_AR11B -DCOMP_AR31B -DCOMP_AR32B
+-
+-###########################################################################
+-# Options that are changed by the configure script. These should
+-# probably not be editted by hand.
+-###########################################################################
+-
+-# pathname for the C compiler
+-CC = @CC@
+-
+-# pathname for the m4 macro preprocessor; it must understand the -D flag
+-# (some BSD versions do not; GNU m4 works)
+-M4 = @M4@
+-
+-# pathname for ranlib if you need it
+-RANLIB = @RANLIB@
+-
+-# commands to use to install files
+-INSTALL = @INSTALL@
+-INSTALL_DATA = @INSTALL_DATA@
+-
+-# directory containing source code
+-SRC_DIR = @srcdir@
+-VPATH = @srcdir@
+-
+-# compiler options
+-AC_FLAGS = @DEFS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for options that should always be included (even for
+-# compiles with optimization turned off); configure can fill
+-# this in automatically if you supply a recognized system name
+-MFLAGS = @MFLAGS@
+-
+-# system-dependent options based on system name passed to configure;
+-# this macro is for optimization options only; configure can fill
+-# this in automatically if you supply a recognized system name
+-OFLAGS = @OFLAGS@
+-
+-###########################################################################
+-# Nothing beyond this point should need to be changed by the user.
+-###########################################################################
+-
+-CFLAGS = -I. -I$(SRC_DIR) $(AC_FLAGS) $(CCOPT_FLAGS) $(MFLAGS) \
+- $(PROTO_FLAG) $(UNROLL_FLAG) $(OPT_FLAGS)
+-
+-CSRC = vp_check.c vp_context.c vp_extract.c vp_file.c vp_linalg.c vp_octree.c \
+- vp_renderA.c vp_renderB.c vp_renderC.c vp_renderR.c vp_resample.c \
+- vp_rle.c vp_shade.c vp_transpose.c vp_util.c vp_view.c vp_warp.c
+-HSRC = volpack.h vp_global.h patchlevel.h
+-MSRC = vp_compA.m4 vp_warpA.m4
+-SUPPORT = Makefile.in configure.in no_edit_header makeopts.c
+-COMP_SRCS = vp_compAC1NB.c vp_compAC3NB.c vp_compAR1NB.c vp_compAR3NB.c \
+- vp_compAC1PB.c vp_compAC3PB.c vp_compAR1PB.c vp_compAR3PB.c \
+- vp_compAC00G.c vp_compAR00G.c vp_compAC1NS.c vp_compAC3NS.c \
+- vp_compAR1NS.c vp_compAR3NS.c $(OPT_SRCS)
+-COMP_OBJS = vp_compAC1NB.o vp_compAC3NB.o vp_compAR1NB.o vp_compAR3NB.o \
+- vp_compAC1PB.o vp_compAC3PB.o vp_compAR1PB.o vp_compAR3PB.o \
+- vp_compAC00G.o vp_compAR00G.o vp_compAC1NS.o vp_compAC3NS.o \
+- vp_compAR1NS.o vp_compAR3NS.o $(OPT_OBJS)
+-WARP_SRCS = vp_warpA101N.c vp_warpA301N.c vp_warpA110N.c vp_warpA111N.c \
+- vp_warpA330N.c vp_warpA331N.c vp_warpA330R.c vp_warpA331R.c
+-WARP_OBJS = vp_warpA101N.o vp_warpA301N.o vp_warpA110N.o vp_warpA111N.o \
+- vp_warpA330N.o vp_warpA331N.o vp_warpA330R.o vp_warpA331R.o
+-CGEN = vp_opts.c $(COMP_SRCS) $(WARP_SRCS)
+-OBJS = vp_check.o vp_context.o vp_extract.o vp_file.o vp_linalg.o vp_octree.o \
+- vp_renderA.o vp_renderB.o vp_renderC.o vp_renderR.o vp_resample.o \
+- vp_rle.o vp_shade.o vp_transpose.o vp_util.o vp_view.o vp_warp.o \
+- vp_opts.o $(COMP_OBJS) $(WARP_OBJS)
+-COMP_IN = $(SRC_DIR)/no_edit_header $(SRC_DIR)/vp_compA.m4
+-WARP_IN = $(SRC_DIR)/no_edit_header $(SRC_DIR)/vp_warpA.m4
+-ESRC = vp_raycast.c
+-EOBJ = vp_raycast.o
+-
+-all: libvolpack.a
+-
+-libvolpack.a: $(OBJS)
+- rm -f libvolpack.a
+- ar cr libvolpack.a $(OBJS)
+- $(RANLIB) libvolpack.a
+-
+-$(OBJS): volpack.h vp_global.h config.h
+-
+-makeopts: makeopts.c
+- cc -o makeopts makeopts.c
+-
+-vp_opts.c: makeopts Makefile
+- makeopts vp_opts.c $(CFLAGS)
+-
+-$(COMP_SRCS): $(COMP_IN)
+- @for i in $(COMP_SRCS) ; \
+- do \
+- rm -f $$i ;\
+- echo "$(M4) -DSourceFile=$$i $(COMP_IN) > $$i" ;\
+- $(M4) -DSourceFile=$$i $(COMP_IN) > $$i; \
+- chmod -w $$i; \
+- done
+-
+-$(WARP_SRCS): $(WARP_IN)
+- @for i in $(WARP_SRCS) ; \
+- do \
+- rm -f $$i ;\
+- echo "$(M4) -DSourceFile=$$i $(WARP_IN) > $$i" ;\
+- $(M4) -DSourceFile=$$i $(WARP_IN) > $$i; \
+- chmod -w $$i; \
+- done
+-
+-examples: libvolpack.a
+- cd examples; make
+-
+-install: install-binaries install-include install-man
+-
+-install-binaries: libvolpack.a
+- @for i in $(LIB_DIR) ; \
+- do \
+- if [ ! -d $$i ] ; then \
+- echo "Making directory $$i"; \
+- mkdir $$i ; \
+- chmod 755 $$i; \
+- else true; \
+- fi; \
+- done;
+- @echo "Installing libvolpack.a"
+- @$(INSTALL_DATA) libvolpack.a $(LIB_DIR)
+- @$(RANLIB) $(LIB_DIR)/libvolpack.a
+-
+-install-include:
+- @for i in $(INCLUDE_DIR) ; \
+- do \
+- if [ ! -d $$i ] ; then \
+- echo "Making directory $$i"; \
+- mkdir $$i ; \
+- chmod 755 $$i; \
+- else true; \
+- fi; \
+- done;
+- @echo "Installing volpack.h"
+- @$(INSTALL_DATA) volpack.h $(INCLUDE_DIR)
+-
+-install-man:
+- @for i in $(MAN_DIR) $(MAN3_DIR) ; \
+- do \
+- if [ ! -d $$i ] ; then \
+- echo "Making directory $$i"; \
+- mkdir $$i ; \
+- chmod 755 $$i; \
+- else true; \
+- fi; \
+- done;
+- @cd $(SRC_DIR)/man/src; for i in *.3; \
+- do \
+- echo "Installing man/src/$$i"; \
+- rm -f $(MAN3_DIR)/$$i; \
+- cp $$i $(MAN3_DIR); \
+- chmod 444 $(MAN3_DIR)/$$i; \
+- done;
+-
+-Makefile: $(SRC_DIR)/Makefile.in
+- ./config.status
+-
+-mostlyclean:
+- rm -f $(OBJS) $(CGEN) makeopts
+-
+-clean: mostlyclean
+- rm -f libvolpack.a
+-
+-distclean: clean
+- rm -f config.status config.log config.cache config.h Makefile
+-
+-checkin:
+- ci -l -f $(CSRC) $(HSRC) $(MSRC) $(ESRC) $(SUPPORT)
+diff -ubrN volpack-1.0b3.orig/makeopts volpack-1.0b3/makeopts
+--- volpack-1.0b3.orig/makeopts 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/makeopts 2007-09-22 21:01:49.000000000 +0200
+@@ -0,0 +1,30 @@
++#!/bin/sh
++#
++# makeopts
++#
++# Create a C source file containing an initialized string with the
++# compiler options used to compile VolPack.
++#
++# Copyright (c) 2007 Andreas Tille
++# Author:
++# Andreas Tille <tille at debian.org>
++# License: BSD
++
++# Usage: makeopts output_file [compiler_options ...]
++
++progname=`basename $0`
++if [ $# -lt 2 ] ; then
++ echo "Usage: $progname output_file [compiler_options ...]"
++ exit 1
++fi
++
++outfile=$1
++shift
++
++cat > $outfile <<EOT
++/*
++ * DO NOT EDIT THIS FILE! It was created automatically by $progname.
++ */
++
++char *vpCompilerOptions = "$@";
++EOT
+diff -ubrN volpack-1.0b3.orig/makeopts.c volpack-1.0b3/makeopts.c
+--- volpack-1.0b3.orig/makeopts.c 1994-12-31 00:53:20.000000000 +0100
++++ volpack-1.0b3/makeopts.c 1970-01-01 01:00:00.000000000 +0100
+@@ -1,67 +0,0 @@
+-/*
+- * makeopts.c
+- *
+- * Create a C source file containing an initialized string with the
+- * compiler options used to compile VolPack.
+- *
+- * Copyright (c) 1994 The Board of Trustees of The Leland Stanford
+- * Junior University. All rights reserved.
+- *
+- * Permission to use, copy, modify and distribute this software and its
+- * documentation for any purpose is hereby granted without fee, provided
+- * that the above copyright notice and this permission notice appear in
+- * all copies of this software and that you do not sell the software.
+- * Commercial licensing is available by contacting the author.
+- *
+- * THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
+- * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
+- * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
+- *
+- * Author:
+- * Phil Lacroute
+- * Computer Systems Laboratory
+- * Electrical Engineering Dept.
+- * Stanford University
+- */
+-
+-/*
+- * $Date: 1994/12/30 23:52:38 $
+- * $Revision: 1.7 $
+- */
+-
+-#include <stdio.h>
+-
+-/*
+- * Usage: makeopts output_file [compiler_options ...]
+- */
+-
+-main(argc, argv)
+-int argc;
+-char **argv;
+-{
+- FILE *fp;
+- int c;
+-
+- if (argc < 2) {
+- fprintf(stderr, "Usage: %s output_file [compiler_options ...]\n",
+- argv[0]);
+- exit(1);
+- }
+- if ((fp = fopen(argv[1], "w")) == NULL) {
+- fprintf(stderr, "%s: could not open %s\n", argv[0], argv[1]);
+- exit(1);
+- }
+- fprintf(fp, "/*\n");
+- fprintf(fp,
+- " * DO NOT EDIT THIS FILE! It was created automatically by %s.\n",
+- argv[0]);
+- fprintf(fp, " */\n\n");
+- fprintf(fp, "char *vpCompilerOptions = \"");
+- for (c = 2; c < argc; c++) {
+- if (c > 2)
+- fprintf(fp, " ");
+- fprintf(fp, "%s", argv[c]);
+- }
+- fprintf(fp, "\";\n");
+- exit(0);
+-}
+diff -ubrN volpack-1.0b3.orig/man/Makefile.am volpack-1.0b3/man/Makefile.am
+--- volpack-1.0b3.orig/man/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/man/Makefile.am 2007-07-21 13:20:58.000000000 +0200
+@@ -0,0 +1,6 @@
++## Process this file with automake to produce Makefile.in
++# man/Makefile.am for volpack
++# Andreas Tille <tille at debian.org>
++# GPL
++
++SUBDIRS = src
+diff -ubrN volpack-1.0b3.orig/man/src/Makefile.am volpack-1.0b3/man/src/Makefile.am
+--- volpack-1.0b3.orig/man/src/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/man/src/Makefile.am 2007-07-28 23:19:03.000000000 +0200
+@@ -0,0 +1,19 @@
++## Process this file with automake to produce Makefile.in
++# man/src/Makefile.am for volpack
++# Andreas Tille <tille at debian.org>
++# GPL
++
++dist_man_MANS = \
++ BruteForce.3 Callback.3 ClientData.3 ClsfyScalar.3 ClsfyScan.3 \
++ ClsfyTable.3 ClsfyVolume.3 Context.3 CurrentMatrix.3 Debug.3 \
++ DepthCueing.3 Enable.3 Error.3 Extract.3 Filter.3 FilterTab.3 \
++ Get.3 GetImage.3 GetLight.3 GetMaterial.3 GetMatrix.3 Identity.3 \
++ Image.3 Light.3 LinAlgebra.3 Load.3 LookupShader.3 Material.3 \
++ MinMaxOctree.3 MultMatrix.3 NormalIndex.3 OctreeMask.3 Ramp.3 \
++ RawVoxels.3 Render.3 Resample.3 Rotate.3 Scale.3 ScanNormals.3 \
++ Set.3 SetMatrix.3 ShadeTable.3 Shadow.3 Store.3 Timer.3 \
++ TracePixel.3 Translate.3 Transpose.3 VolPack.3 VolumeNormals.3 \
++ VolumeSize.3 VoxelField.3 VoxelSize.3 Window.3 WindowPHIGS.3
++
++EXTRA_DIST = makelinks
++
+diff -ubrN volpack-1.0b3.orig/NEWS volpack-1.0b3/NEWS
+--- volpack-1.0b3.orig/NEWS 1970-01-01 01:00:00.000000000 +0100
++++ volpack-1.0b3/NEWS 2007-07-28 21:36:22.000000000 +0200
+@@ -0,0 +1,4 @@
++For more detailed information please look at the ChangeLog file
++
++2007-07-28
++ - Added automake stuff
Added: trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.examples
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.examples (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.examples 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,4 @@
+examples/*.c
+examples/*.h
+examples/*.den
+debian/examples/*
Added: trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.manpages
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.manpages (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/libvolpack1-dev.manpages 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1 @@
+man/src/*.3
Added: trunk/packages/volpack/tags/1.0b3-2/debian/patches/00list
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/patches/00list (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/patches/00list 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,2 @@
+10_examples.dpatch
+10_vp_global_h.dpatch
Added: trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_examples.dpatch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_examples.dpatch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_examples.dpatch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,52 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_examples.dpatch by <tille at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Added missing headers in examples
+
+ at DPATCH@
+
+diff -ubrN volpack-1.0b3/examples.orig/classifyvolume.c volpack-1.0b3/examples/classifyvolume.c
+--- volpack-1.0b3/examples.orig/classifyvolume.c 1994-12-31 20:53:04.000000000 +0100
++++ volpack-1.0b3/examples/classifyvolume.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main(argc, argv)
+diff -ubrN volpack-1.0b3/examples.orig/makeoctree.c volpack-1.0b3/examples/makeoctree.c
+--- volpack-1.0b3/examples.orig/makeoctree.c 1994-12-31 20:53:05.000000000 +0100
++++ volpack-1.0b3/examples/makeoctree.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main()
+diff -ubrN volpack-1.0b3/examples.orig/makevolume.c volpack-1.0b3/examples/makevolume.c
+--- volpack-1.0b3/examples.orig/makevolume.c 1994-12-31 20:53:06.000000000 +0100
++++ volpack-1.0b3/examples/makevolume.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main()
+diff -ubrN volpack-1.0b3/examples.orig/rendervolume.c volpack-1.0b3/examples/rendervolume.c
+--- volpack-1.0b3/examples.orig/rendervolume.c 1995-01-01 01:06:26.000000000 +0100
++++ volpack-1.0b3/examples/rendervolume.c 2007-08-04 21:30:11.000000000 +0200
+@@ -28,6 +28,7 @@
+ * $Revision: 1.5 $
+ */
+
++#include <stdlib.h>
+ #include "volume.h"
+
+ main(argc, argv)
Property changes on: trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_examples.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_vp_global_h.dpatch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_vp_global_h.dpatch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_vp_global_h.dpatch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_vp_global_h.dpatch by <tille at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix for vp_global.h
+
+ at DPATCH@
+
+--- volpack-1.0b3/vp_global.h.orig 1994-12-31 00:53:14.000000000 +0100
++++ volpack-1.0b3/vp_global.h 2007-07-29 13:43:03.000000000 +0200
+@@ -168,7 +168,9 @@
+ * Macros. *
+ *******************************************************************/
+
++#ifndef NULL
+ #define NULL 0
++#endif
+
+ #define MAX(a,b) (((a)<(b)) ? (b) : (a))
+ #define MIN(a,b) (((a)>(b)) ? (b) : (a))
Property changes on: trunk/packages/volpack/tags/1.0b3-2/debian/patches/10_vp_global_h.dpatch
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-2/debian/patches/README
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/patches/README (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/patches/README 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
Added: trunk/packages/volpack/tags/1.0b3-2/debian/rules
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/rules (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/rules 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+## Former stuff from Michael Hanke became unnecessary by implementing automake
+# DEB_CONFIGURE_INVOKE = ./configure --prefix=$(CURDIR)/debian/libvolpack1-dev/usr --srcdir=.
+# DEB_INSTALL_CHANGELOGS_ALL := changes
+
+common-binary-post-install-arch::
+ # Call d-shlibmove to comply with library packaging guide
+ d-devlibdeps debian/libvolpack1-dev.substvars debian/tmp/usr/lib/libvolpack.so
+ # /bin/sh debian/debug/
+ cp -a volpack.h debian/tmp
+ d-shlibmove --commit \
+ --movedev "debian/tmp/volpack.h" usr/include \
+ debian/tmp/usr/lib/libvolpack.so
+
+## --movedevdoc "examples/{README,*.c,*.h,*.den}" \
+## --movedev "debian/tmp/usr/lib/libvolpack.a" usr/lib \
+
+get-orig-source:
+ . debian/get-orig-source
Property changes on: trunk/packages/volpack/tags/1.0b3-2/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/volpack/tags/1.0b3-2/debian/watch
===================================================================
--- trunk/packages/volpack/tags/1.0b3-2/debian/watch (rev 0)
+++ trunk/packages/volpack/tags/1.0b3-2/debian/watch 2007-12-17 19:56:44 UTC (rev 901)
@@ -0,0 +1,2 @@
+version=3
+http://graphics.stanford.edu/software/volpack/ volpack-(.*)\.tar\.Z
Modified: trunk/packages/volpack/trunk/debian/changelog
===================================================================
--- trunk/packages/volpack/trunk/debian/changelog 2007-12-16 01:15:20 UTC (rev 900)
+++ trunk/packages/volpack/trunk/debian/changelog 2007-12-17 19:56:44 UTC (rev 901)
@@ -1,3 +1,15 @@
+volpack (1.0b3-3) UNRELEASED; urgency=low
+
+ * Standards-Version: 3.7.3 (no changes needed)
+
+ -- Andreas Tille <tille at debian.org> Mon, 17 Dec 2007 08:48:27 +0100
+
+volpack (1.0b3-2) unstable; urgency=low
+
+ * Added section: header to source package
+
+ -- Andreas Tille <tille at debian.org> Mon, 17 Dec 2007 07:46:07 +0100
+
volpack (1.0b3-1) unstable; urgency=low
* Initial release
Modified: trunk/packages/volpack/trunk/debian/control
===================================================================
--- trunk/packages/volpack/trunk/debian/control 2007-12-16 01:15:20 UTC (rev 900)
+++ trunk/packages/volpack/trunk/debian/control 2007-12-17 19:56:44 UTC (rev 901)
@@ -1,10 +1,11 @@
Source: volpack
+Section: libs
Priority: extra
Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
XS-DM-Upload-Allowed: Yes
Uploaders: Michael Hanke <michael.hanke at gmail.com>, Andreas Tille <tille at debian.org>
Build-Depends: cdbs, debhelper (>= 5), m4, autotools-dev, dpatch, d-shlibs
-Standards-Version: 3.7.2
+Standards-Version: 3.7.3
Homepage: http://graphics.stanford.edu/software/volpack/
Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/volpack/
Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/volpack/
More information about the debian-med-commit
mailing list