[med-svn] r446 - in trunk/packages/volpack/trunk/debian: . patches

tille at alioth.debian.org tille at alioth.debian.org
Sat Sep 22 21:14:15 UTC 2007


Author: tille
Date: 2007-09-22 21:14:14 +0000 (Sat, 22 Sep 2007)
New Revision: 446

Added:
   trunk/packages/volpack/trunk/debian/libvolpack-dev.manpages
   trunk/packages/volpack/trunk/debian/patches/README
Removed:
   trunk/packages/volpack/trunk/debian/libvolpack-dev.dirs
   trunk/packages/volpack/trunk/debian/patches/20-fix_makefiles.dpatch
   trunk/packages/volpack/trunk/debian/patches/30-disable_null_define.dpatch
Modified:
   trunk/packages/volpack/trunk/debian/README.Debian
   trunk/packages/volpack/trunk/debian/changelog
   trunk/packages/volpack/trunk/debian/control
   trunk/packages/volpack/trunk/debian/patches/00list
   trunk/packages/volpack/trunk/debian/rules
Log:
Completely reworked build system, get http://people.debian.org/~tille/packages/volpack/volpack_1.0b3.orig.tar.gz to build this


Modified: trunk/packages/volpack/trunk/debian/README.Debian
===================================================================
--- trunk/packages/volpack/trunk/debian/README.Debian	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/README.Debian	2007-09-22 21:14:14 UTC (rev 446)
@@ -1,6 +1,7 @@
 volpack for Debian
 ------------------
 
-<possible notes regarding this package - if none, delete this file>
+The volpack package might be interesting for Debian-Med and provides
+additional functionality for the amide image viewer
 
  -- Michael Hanke <michael.hanke at gmail.com>  Fri, 20 Apr 2007 19:37:30 +0200

Modified: trunk/packages/volpack/trunk/debian/changelog
===================================================================
--- trunk/packages/volpack/trunk/debian/changelog	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/changelog	2007-09-22 21:14:14 UTC (rev 446)
@@ -1,8 +1,8 @@
 volpack (1.0b3-1) unstable; urgency=low
 
-  * Initial release.
-  * Manpages are not included in the package as lintian reports lots of
-    quotation error.
+  * Initial release
+    Closes: #435823
+  * Reworked Build system to automake to enable libtool
 
- -- Michael Hanke <michael.hanke at gmail.com>  Fri, 20 Apr 2007 19:37:30 +0200
+ -- Andreas Tille <tille at debian.org>  Fri, 03 Aug 2007 14:16:56 +0200
 

Modified: trunk/packages/volpack/trunk/debian/control
===================================================================
--- trunk/packages/volpack/trunk/debian/control	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/control	2007-09-22 21:14:14 UTC (rev 446)
@@ -1,14 +1,14 @@
 Source: volpack
-Section: non-free/libdevel
 Priority: extra
-Maintainer: Michael Hanke <michael.hanke at gmail.com>
-Build-Depends: cdbs, debhelper (>= 5), autotools-dev, dpatch
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>      
+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/
 
-Package: libvolpack-dev
+Package: libvolpack1
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Section: libs
+Depends: ${shlibs:Depends}
 Description: fast volume rendering library
  VolPack is a software library for fast, high-quality volume rendering with
  this features:
@@ -21,3 +21,28 @@
   * Supports arbitrary affine view transformations.
   * Supports a flexible data format that allows an arbitrary C structure to be
     associated with each voxel. 
+ .
+ Homepage: http://graphics.stanford.edu/software/volpack/
+
+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.
+ .
+ Homepage: http://graphics.stanford.edu/software/volpack/

Deleted: trunk/packages/volpack/trunk/debian/libvolpack-dev.dirs
===================================================================
--- trunk/packages/volpack/trunk/debian/libvolpack-dev.dirs	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/libvolpack-dev.dirs	2007-09-22 21:14:14 UTC (rev 446)
@@ -1,2 +0,0 @@
-usr/lib
-usr/include

Added: trunk/packages/volpack/trunk/debian/libvolpack-dev.manpages
===================================================================
--- trunk/packages/volpack/trunk/debian/libvolpack-dev.manpages	                        (rev 0)
+++ trunk/packages/volpack/trunk/debian/libvolpack-dev.manpages	2007-09-22 21:14:14 UTC (rev 446)
@@ -0,0 +1 @@
+man/src/*.3

Modified: trunk/packages/volpack/trunk/debian/patches/00list
===================================================================
--- trunk/packages/volpack/trunk/debian/patches/00list	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/patches/00list	2007-09-22 21:14:14 UTC (rev 446)
@@ -1,2 +0,0 @@
-20-fix_makefiles.dpatch
-30-disable_null_define.dpatch

Deleted: trunk/packages/volpack/trunk/debian/patches/20-fix_makefiles.dpatch
===================================================================
--- trunk/packages/volpack/trunk/debian/patches/20-fix_makefiles.dpatch	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/patches/20-fix_makefiles.dpatch	2007-09-22 21:14:14 UTC (rev 446)
@@ -1,23 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 20-fix_makefiles.dpatch by Michael Hanke <michael.hanke at gmail.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad volpack-1.0b3~/Makefile.in volpack-1.0b3/Makefile.in
---- volpack-1.0b3~/Makefile.in	2007-04-20 20:33:17.000000000 +0200
-+++ volpack-1.0b3/Makefile.in	2007-04-20 20:34:02.000000000 +0200
-@@ -172,10 +172,10 @@
- $(OBJS): volpack.h vp_global.h config.h
- 
- makeopts: makeopts.c
--	cc -o makeopts makeopts.c
-+	$(CC) -o makeopts makeopts.c
- 
- vp_opts.c: makeopts Makefile
--	makeopts vp_opts.c $(CFLAGS)
-+	./makeopts vp_opts.c $(CFLAGS)
- 
- $(COMP_SRCS): $(COMP_IN)
- 	@for i in $(COMP_SRCS) ; \

Deleted: trunk/packages/volpack/trunk/debian/patches/30-disable_null_define.dpatch
===================================================================
--- trunk/packages/volpack/trunk/debian/patches/30-disable_null_define.dpatch	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/patches/30-disable_null_define.dpatch	2007-09-22 21:14:14 UTC (rev 446)
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 30-disable_null_define.dpatch by Michael Hanke <michael.hanke at gmail.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
- at DPATCH@
-diff -urNad volpack-1.0b3~/vp_global.h volpack-1.0b3/vp_global.h
---- volpack-1.0b3~/vp_global.h	1994-12-31 00:53:14.000000000 +0100
-+++ volpack-1.0b3/vp_global.h	2007-04-20 20:30:45.000000000 +0200
-@@ -168,8 +168,6 @@
-  * Macros.                                                         *
-  *******************************************************************/
- 
--#define NULL 0
--
- #define MAX(a,b)        (((a)<(b)) ? (b) : (a))
- #define MIN(a,b)        (((a)>(b)) ? (b) : (a))
- 

Added: trunk/packages/volpack/trunk/debian/patches/README
===================================================================
--- trunk/packages/volpack/trunk/debian/patches/README	                        (rev 0)
+++ trunk/packages/volpack/trunk/debian/patches/README	2007-09-22 21:14:14 UTC (rev 446)
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.

Modified: trunk/packages/volpack/trunk/debian/rules
===================================================================
--- trunk/packages/volpack/trunk/debian/rules	2007-09-22 14:49:09 UTC (rev 445)
+++ trunk/packages/volpack/trunk/debian/rules	2007-09-22 21:14:14 UTC (rev 446)
@@ -4,13 +4,18 @@
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/dpatch.mk
 
-DEB_CONFIGURE_INVOKE = ./configure --prefix=$(CURDIR)/debian/libvolpack-dev/usr --srcdir=.
-DEB_INSTALL_CHANGELOGS_ALL := changes
+## Former stuff from Michael Hanke became unnecessary by implementing automake
+# DEB_CONFIGURE_INVOKE = ./configure --prefix=$(CURDIR)/debian/libvolpack-dev/usr --srcdir=.
+# DEB_INSTALL_CHANGELOGS_ALL := changes
 
-install/libvolpack-dev::
-	# remove manpages from the package as lintian is reporting quotation errors
-	# in all of them
-	-rm -rf $(CURDIR)/debian/libvolpack-dev/usr/man
+common-binary-post-install-arch::
+	# Call d-shlibmove to comply with library packaging guide
+	d-devlibdeps debian/libvolpack-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 \
+		    --movedevdoc "examples/{README,*.c,*.h,*.den}" \
+		    debian/tmp/usr/lib/libvolpack.so
 
-clean::
-	-rm examples/Makefile
+##		    --movedev "debian/tmp/usr/lib/libvolpack.a" usr/lib \




More information about the debian-med-commit mailing list