[Pkg-octave-commit] rev 50 - in trunk/packages: . octaviz octaviz/debian

Rafael Laboissiere rafael@costa.debian.org
Sat, 12 Feb 2005 22:45:14 +0100


Author: rafael
Date: 2005-02-12 22:45:10 +0100 (Sat, 12 Feb 2005)
New Revision: 50

Added:
   trunk/packages/octaviz/
   trunk/packages/octaviz/debian/
   trunk/packages/octaviz/debian/README.Debian
   trunk/packages/octaviz/debian/changelog
   trunk/packages/octaviz/debian/compat
   trunk/packages/octaviz/debian/control
   trunk/packages/octaviz/debian/copyright
   trunk/packages/octaviz/debian/dirs
   trunk/packages/octaviz/debian/docs
   trunk/packages/octaviz/debian/rules
   trunk/packages/octaviz/debian/watch
Log:
Initial import of package octaviz


Added: trunk/packages/octaviz/debian/README.Debian
===================================================================
--- trunk/packages/octaviz/debian/README.Debian	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/README.Debian	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1,6 @@
+octaviz for Debian
+------------------
+
+This is an experimental package.  Use it at your own risk.
+
+ -- Rafael Laboissiere <rafael@debian.org>, Mon,  1 Nov 2004 10:25:01 +0100

Added: trunk/packages/octaviz/debian/changelog
===================================================================
--- trunk/packages/octaviz/debian/changelog	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/changelog	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1,57 @@
+octaviz (0.4.0-8) experimental; urgency=low
+
+  * Rebuilt against octave 2.1.64.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Sat,  4 Dec 2004 14:26:09 +0100
+
+octaviz (0.4.0-7) experimental; urgency=low
+
+  * Rebuilt against octave 2.1.63.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Fri, 18 Nov 2004 18:50:41 +0100
+
+octaviz (0.4.0-6) experimental; urgency=low
+
+  * Rebuilt against octave 2.1.62.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Fri, 12 Nov 2004 18:50:41 +0100
+
+octaviz (0.4.0-5) experimental; urgency=low
+
+  * Rebuilt against octave 2.1.61.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Sat,  6 Nov 2004 10:53:50 +0100
+
+octaviz (0.4.0-4) experimental; urgency=low
+
+  * debian/rules: Avoid compression of some *.m files in the examples
+    directory.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Wed,  3 Nov 2004 13:34:26 +0100
+
+octaviz (0.4.0-3) experimental; urgency=low
+
+  * Built in a Debian unstable chroot.  This version will be uploaded to
+    the experimental distribution (closes: #279362).
+
+ -- Rafael Laboissiere <rafael@debian.org>  Tue,  2 Nov 2004 22:37:19 +0100
+
+octaviz (0.4.0-2) experimental; urgency=low
+
+  * debian/rules:
+    - Use debdir and octdir make variables.
+    - (binary): m ove Examples dir from site/m/ into /usr/share/doc/.
+    - (clean): remove built files left by cmake.
+  * debian/control: Add explict versioned dependency on libvtk4.  For some
+    unknown reason, dpkg-shlibdeps is not adding the versioned dependency.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Tue,  2 Nov 2004 10:24:02 +0100
+
+octaviz (0.4.0-1) experimental; urgency=low
+
+  * Initial Release.  The distribution is set to experimental, since this
+    package build-depends on libvtk4-dev >= 4.4, which is not yet
+    available in debian unstable.
+
+ -- Rafael Laboissiere <rafael@debian.org>  Mon,  1 Nov 2004 10:25:01 +0100
+

Added: trunk/packages/octaviz/debian/compat
===================================================================
--- trunk/packages/octaviz/debian/compat	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/compat	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1 @@
+4

Added: trunk/packages/octaviz/debian/control
===================================================================
--- trunk/packages/octaviz/debian/control	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/control	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1,18 @@
+Source: octaviz
+Section: math
+Priority: optional
+Maintainer: Rafael Laboissiere <rafael@debian.org>
+Build-Depends: debhelper (>= 4.0.0), cmake, libvtk4-dev (>= 4.4.2), octave2.1-headers (>= 2.1.53), lesstif-dev, perl
+Standards-Version: 3.6.1
+
+Package: octaviz
+Architecture: any
+Depends: libvtk4 (>= 4.4.2), ${shlibs:Depends}, ${octave:Depends}
+Suggests: vtkdata
+Description: 3D visualization system for Octave
+ Octaviz is a visualization system for Octave. It is a wrapper that
+ makes all VTK classes accessible from within Octave using the same
+ object-oriented syntax as in C++ or Python. Octaviz also provides
+ high-level functions for 2D and 3D visualization. Using those
+ functions, most common visualization tasks (3D surface plots, contour
+ plots etc) can be accomplished without any knowledge about VTK.

Added: trunk/packages/octaviz/debian/copyright
===================================================================
--- trunk/packages/octaviz/debian/copyright	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/copyright	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1,29 @@
+This package was debianized by Rafael Laboissiere <rafael@debian.org> on
+Mon,  1 Nov 2004 10:25:01 +0100.
+
+It was downloaded from http://octaviz.sourceforge.net/
+
+Copyright:
+
+Upstream Author: Dragan Tubic <tdragan@gel.ulaval.ca>
+
+License:
+
+Octaviz is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+Octaviz is distributed in the hope that it will be useful, but
+WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the file
+COPYING for more details.
+
+Parts of this software are
+Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
+All rights reserved.
+See http://www.kitware.com/Copyright.htm for details.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+

Added: trunk/packages/octaviz/debian/dirs
===================================================================
--- trunk/packages/octaviz/debian/dirs	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/dirs	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin

Added: trunk/packages/octaviz/debian/docs
===================================================================
--- trunk/packages/octaviz/debian/docs	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/docs	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1 @@
+README

Added: trunk/packages/octaviz/debian/rules
===================================================================
--- trunk/packages/octaviz/debian/rules	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/rules	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1,93 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+octver = $(shell octave-config --version)
+octver_major = $(shell echo $(octver) | cut -f1 -d.)
+octver_minor = $(shell echo $(octver) | cut -f2 -d.)
+octver_micro = $(shell echo $(octver) | cut -f3 -d.)
+octnxtver = $(octver_major).$(octver_minor).$(shell expr $(octver_micro) + 1)
+octdir = $(shell octave-config --m-site-dir)/octaviz/Examples
+debdir = $(CURDIR)/debian/octaviz
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+build: build-stamp
+build-stamp:
+	dh_testdir
+
+	# Add here commands to compile the package.
+	cmake .
+	perl -pi -e 's/CMAKE_SKIP_RPATH:BOOL=NO/CMAKE_SKIP_RPATH:BOOL=YES/' \
+	  CMakeCache.txt
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp
+
+	# Add here commands to clean up after the build process.
+	-$(MAKE) clean
+
+	find . -name \*.o -o -name Makefile -o -name cmake.\* \
+                          -o -name \*.cmake -o -name \*.log \
+            | xargs rm -f
+	rm -f CMakeCache.txt install_manifest.txt
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	# Add here commands to install the package into debian/octaviz.
+	$(MAKE) install DESTDIR=$(debdir)
+
+	find $(debdir) -name \*.m | xargs chmod -x
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs
+	dh_installdocs
+	mv $(debdir)$(octdir) $(debdir)/usr/share/doc/octaviz/examples
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress --exclude=.m
+	dh_fixperms
+	dh_installdeb
+	echo "octave:Depends=octave2.1 (>= $(octver)), octave2.1 (<< $(octnxtver))" \
+              > debian/octaviz.substvars
+	dh_shlibdeps --exclude=site
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: trunk/packages/octaviz/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/octaviz/debian/watch
===================================================================
--- trunk/packages/octaviz/debian/watch	2005-02-12 10:52:46 UTC (rev 49)
+++ trunk/packages/octaviz/debian/watch	2005-02-12 21:45:10 UTC (rev 50)
@@ -0,0 +1,7 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# Site		Directory		Pattern			Version	Script
+version=2
+http://sourceforge.net/project/showfiles.php?group_id=100501 \
+  http://prdownloads.sourceforge.net/octaviz/octaviz-([\d\.]+).tar.gz\?download