--- python-visual-3.2.1.orig/debian/watch +++ python-visual-3.2.1/debian/watch @@ -0,0 +1,4 @@ +# Run the "uscan" command to check for upstream updates and more. +version=3 +# use qa.debian.org redirector; see man uscan +http://sf.net/visualpython/visual-([\d+\.]+|\d+)\.tar\.gz debian uupdate --no-pristine --- python-visual-3.2.1.orig/debian/copyright_hints +++ python-visual-3.2.1/debian/copyright_hints @@ -0,0 +1,33 @@ +$echo "Copyright (C) 2003 Free Software Foundation, Inc." +// Copyright (c) 2000, 2001, 2002, 2003 by David Scherer and others. +// Copyright (c) 2000, 2001, 2002, 2003 by David Scherrer and others. +// Copyright (c) 2004 by Jonathan Brandmeyer and others. +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +Copyright (C) 1994 X Consortium +Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 +Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 +Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 +Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 +Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 +Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 +Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 +Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 +Copyright (C) 1999, 2000, 2001, 2003, 2005 Free Software Foundation, Inc. +Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. +Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. +Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. +Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. +Copyright (C) 2003 Free Software Foundation, Inc. +Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +Copyright (C) 2003, 2005 Free Software Foundation, Inc. +Copyright (C) 2004, 2005 Free Software Foundation, Inc. +Copyright (c) 1996. The Regents of the University of California. All +Copyright © 2004 Scott James Remnant . +The Visual library is Copyright (c) 2000 by David Scherer. +The Visual library is Copyright (c) 2000, 2001, 2002, 2003, 2004, +num_util is Copyright (c) 2003 by Rhys Goldstein, Chris Seymour and --- python-visual-3.2.1.orig/debian/control.in +++ python-visual-3.2.1/debian/control.in @@ -0,0 +1,26 @@ +Source: python-visual +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Jonas Smedegaard +Build-Depends: @cdbs@, python, python-dev, python-numeric, python-numarray, gtkglarea-dev, libgtk1.2-dev, libboost-python-dev, libglu1-xorg-dev | xlibmesa-glu-dev | libglu-dev +Standards-Version: 3.6.2 + +Package: python-visual +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-numeric | python-numarray +Suggests: idle +Description: VPython 3D scientific visualization library + Visual is a Python module for 3D scientific visualization. It offers + real-time 3D output and is easily usable by novice programmers. + . + A program can create 3D objects (such as spheres, curves, etc.) and + position them in 3D space. Visual, running in a separate thread, + automatically updates a 3D scene many times per second to reflect the + curren position of the objects. The programmer does not need to deal + with display management but can focus on the computational aspects for + the program. The user can navigate in the 3D scene by using the mouse + to zoom and rotate while the program is running. Visual supporst full + vector algebra. + . + Homepage: http://www.vpython.org --- python-visual-3.2.1.orig/debian/patches/03_include_python_header.patch +++ python-visual-3.2.1/debian/patches/03_include_python_header.patch @@ -0,0 +1,11 @@ +--- src/num_util_impl_numarray.cpp.orig ++++ src/num_util_impl_numarray.cpp +@@ -6,6 +6,7 @@ + #ifdef VISUAL_HAVE_NUMARRAY + # define libnumeric_UNIQUE_SYMBOL visual_libnumeric_API + # define libnumarray_UNIQUE_SYMBOL visual_libnumarray_API ++# include + # include + # include + + --- python-visual-3.2.1.orig/debian/patches/02_unquieten_compile.patch +++ python-visual-3.2.1/debian/patches/02_unquieten_compile.patch @@ -0,0 +1,87 @@ +--- src/Makefile.in.orig ++++ src/Makefile.in +@@ -182,15 +182,15 @@ + + ifeq ($(PYTHON_PLATFORM),win32) + # Windows -- Only MinGW is directly supported. +- CXX_RULE = $(DEFAULT_CXX_RULE) +- CXX_DEPRULE = $(GXX3_DEPRULE) +- LINK_RULE = $(WIN32_DLLRULE) ++ CXX_RULE = $(_DEFAULT_CXX_RULE) ++ CXX_DEPRULE = $(_GXX3_DEPRULE) ++ LINK_RULE = $(_WIN32_DLLRULE) + CVISUAL_CPPFLAGS += $(WIN32_CPPFLAGS) + CVISUAL_LIBS += $(WIN32_LIBS) + CVISUAL_LDFLAGS += $(WIN32_LDFLAGS) + PLATFORM_TARGET = cvisual.dll + PLATFORM_OBJS = platwin.lo wgl.lo +- INSTALL_RULE = $(GENERIC_INSTALLRULE) ++ INSTALL_RULE = $(_GENERIC_INSTALLRULE) + else + # These options are common to both Linux and OSX. + CVISUAL_LIBS += $(GTK_LIBS) $(GTKGL_LIBS) $(GTHREAD_LIBS) -lboost_python +@@ -201,20 +201,20 @@ + + ifeq ($(PYTHON_PLATFORM),darwin) + # Special rules for OSX +- CXX_RULE = $(DEFAULT_CXX_RULE) +- CXX_DEPRULE = $(GXX3_DEPRULE) +- LINK_RULE = $(OSX_SORULE) ++ CXX_RULE = $(_DEFAULT_CXX_RULE) ++ CXX_DEPRULE = $(_GXX3_DEPRULE) ++ LINK_RULE = $(_OSX_SORULE) + PLATFORM_TARGET = cvisualmodule.so + CVISUAL_CPPFLAGS += $(OSX_CPPFLAGS) +- INSTALL_RULE = $(GENERIC_INSTALLRULE) ++ INSTALL_RULE = $(_GENERIC_INSTALLRULE) + else + # Libtoolish rules. These should apply to all POSIX-like systems. +- CXX_RULE = $(LT_CXX_RULE) +- CXX_DEPRULE = $(LT_DEPRULE) +- LINK_RULE = $(LT_LINKRULE) ++ CXX_RULE = $(_LT_CXX_RULE) ++ CXX_DEPRULE = $(_LT_DEPRULE) ++ LINK_RULE = $(_LT_LINKRULE) + PLATFORM_TARGET = cvisualmodule.la + CVISUAL_LIBS += -lstdc++ +- INSTALL_RULE = $(LT_INSTALLRULE) ++ INSTALL_RULE = $(_LT_INSTALLRULE) + endif + endif + +@@ -245,12 +245,15 @@ + $(LINK_RULE) + + log_message: +- @echo This is a quiet Makefile. If make exits with an error, check \ +- src/build.log to see the complete error message\(s\). In the event \ ++ @echo Upstream meant this as a quiet Makefile, but Debian Policy \ ++ mandates emitting warning to help porting to new architectures. \ ++ If make exits with an error, do *not* check src/build.log as \ ++ upstream describes, but instead save the output of the build \ ++ \(this is done automatically by build daemons and if using debuild \ ++ to build the package\) to see the complete error message\(s\). In the event \ + of an error that you cannot debug, please send a message to \ + visualpython-users@lists.sourceforge.net, including the files config.log \ + and src/build.log, requesting assistance. +- @echo "Spoken once" >> $@ + + clean: + ifneq ($(PYTHON_PLATFORM),darwin) +@@ -283,14 +286,11 @@ + + # Strips the platform-specific plugin lib after installing it. + install-strip: install +- @echo stripping $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET) ... + ifneq ($(PYTHON_PLATFORM),darwin) +- @echo $(STRIP) $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET) >> $(LOGFILE) +- @$(STRIP) $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET) 2>> $(LOGFILE) 1>&2 ++ $(STRIP) $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET) + else + # On OSX +- @echo $(STRIP) -x $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET) >> $(LOGFILE) +- @$(STRIP) -x $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET) 2>> $(LOGFILE) 1>&2 ++ $(STRIP) -x $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET) + endif + + uninstall: --- python-visual-3.2.1.orig/debian/patches/01_adjust_documentation_path.patch +++ python-visual-3.2.1/debian/patches/01_adjust_documentation_path.patch @@ -0,0 +1,15 @@ +--- docs/index.html.orig ++++ docs/index.html +@@ -11,10 +11,10 @@ +

VPython Documentation

+

The Visual Module for 3D Graphics

+ +

Modules Automatically Imported by the Visual Module

+
    --- python-visual-3.2.1.orig/debian/cdbs/1/rules/auto-update.mk +++ python-visual-3.2.1/debian/cdbs/1/rules/auto-update.mk @@ -0,0 +1,44 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005-2006 Jonas Smedegaard +# Description: Auto-update debian/control from debian/control.in +# When the environment variable DEB_BUILD_OPTIONS contains the magic +# string "update" the clean target is extended to auto-update +# debian/control from debian/control.in where build-depends can contain +# the magic string @cdbs@ expanded to build-dependencies known to cdbs, +# and more... +# +# In other words, with this in use don't edit debian/control directly, +# but instead edit debian/control.in and invoke the following: +# DEB_BUILD_OPTIONS=update fakeroot debian/rules clean +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_rules_auto-update +_cdbs_rules_auto-update := 1 + +ifneq (,$(findstring update,$(DEB_BUILD_OPTIONS))) +DEB_AUTO_UPDATE_DEBIAN_CONTROL := yes +endif + +# Avoid build-dependency on build-essential (to please ftpmasters) +CDBS_BUILD_DEPENDS := +endif --- python-visual-3.2.1.orig/debian/cdbs/1/rules/copyright-check.mk +++ python-visual-3.2.1/debian/cdbs/1/rules/copyright-check.mk @@ -0,0 +1,53 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005 Jonas Smedegaard +# Description: Check for changes to copyright notices in source +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_rules_copyright-check +_cdbs_rules_copyright-check := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +clean:: + @echo 'Scanning upstream source for new/changed copyright notices...' + @echo '(the debian/ subdir is _not_ examined - do that manually!)' + find . -type f -not -regex '\./debian/.*' -exec cat '{}' ';' \ + | egrep -rih 'copyright.*[0-9]{4}' \ + | sed -e 's/^[[:space:]*#]*//' -e 's/[[:space:]]*$$//' \ + | LC_ALL=C sort -u \ + > debian/copyright_newhints + if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi + @echo "diff --normal debian/copyright_hints debian/copyright_newhints | egrep '^>'" + @diff --normal debian/copyright_hints debian/copyright_newhints | egrep '^>'; \ + if [ "$$?" -eq "0" ]; then \ + echo "New or changed copyright notices discovered! Do this:"; \ + echo " 1) Search source for each of the above lines ('grep -r' is your friend)"; \ + echo " 2) Update debian/copyright as needed"; \ + echo " 3) Replace debian/copyright_hints with debian/copyright_newhints"; \ + exit 1; \ + fi + + @echo 'No new copyright notices found - assuming no news is good news...' + rm -f debian/copyright_newhints + +endif --- python-visual-3.2.1.orig/debian/cdbs/1/rules/buildinfo.mk +++ python-visual-3.2.1/debian/cdbs/1/rules/buildinfo.mk @@ -0,0 +1,42 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2004-2005 Jonas Smedegaard +# Description: Generate and include build information +# +# This program 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. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA +# 02111-1307 USA. + + +ifndef _cdbs_bootstrap +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class +endif + +ifndef _cdbs_rules_buildinfo +_cdbs_rules_buildinfo := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), dh-buildinfo + +common-install-arch common-install-indep:: debian/stamp-buildinfo + +debian/stamp-buildinfo: + dh_buildinfo + +clean:: + rm -f debian/stamp-buildinfo + +endif --- python-visual-3.2.1.orig/debian/README.Debian +++ python-visual-3.2.1/debian/README.Debian @@ -0,0 +1,21 @@ +python-visual for Debian +------------------------ + + +The script "vpython" is included as an example file only, as it is +simply a wrapper for regular Python and IDLE. To get the full VPython +environment, copy /usr/share/doc/python-visual/examples/vpython into +/usr/local/bin/ and install the debian idle package. + + -- Jonas Smedegaard Sun, 3 Apr 2005 15:13:22 +0200 + + +This package only exists for Debian's default Python version (currently +v2.3). This is because the libboost-python[-dev] package in Debian is +only made with Debian's default Python version. Hence there won't be +any versions of python-visual for other Python versions as long as boost +does not compile against them. + +As always: any bugs, hints or tips are welcome. + + -- Floris Bruynooghe , Thu, 2 Dec 2004 00:42:10 +0000 --- python-visual-3.2.1.orig/debian/changelog +++ python-visual-3.2.1/debian/changelog @@ -0,0 +1,126 @@ +python-visual (3.2.1-4ubuntu1) gutsy; urgency=low + + * Rebuild with boost 1.34.1 (LP: #124151) + * Remove extra , from Build-Depends. + * debian/control: Modify Maintainer value to match + DebianMaintainerField spec. + + -- Michael Bienia Thu, 13 Sep 2007 14:48:34 +0200 + +python-visual (3.2.1-4build1) feisty; urgency=low + + * Rebuild for python2.5 as the default python version. + + -- Matthias Klose Fri, 12 Jan 2007 13:22:52 +0000 + +python-visual (3.2.1-4) unstable; urgency=low + + * Apply patch to include Python.h. Fixes: bug#342212 (thanks to + Bastian Kleineidam ). + * Use qa.debian.org SF redirector in watch file. + * Improve local cdbs snippets: + + Fix wrong namespace in buildinfo.mk. + + Add new snippet: copyright-check.mk. + + Add new snippet auto-update.mk (replacing stuff in debian/rules). + * Auto-update debian/control. + * Tighten paths within all patches to apply slightly faster. + + -- Jonas Smedegaard Sat, 14 Jan 2006 16:50:48 +0100 + +python-visual (3.2.1-3) unstable; urgency=low + + * Recompile against newer libboost-python. Closes: bug#331627 (thanks + to Laurent Bonnaud ). + + -- Jonas Smedegaard Mon, 17 Oct 2005 12:18:30 +0200 + +python-visual (3.2.1-2) unstable; urgency=low + + * Raise to standards version 3.6.2 (no changes needed). + * Only use cdbs debian/control auto-build when environment includes + DEB_BUILD_OPTIONS=update. + * Auto-update build-dependencies (and manually strip build-essential). + * Fix watch file by simplifying it (seems uscan wrongly parses it as a + newer version format). + * Build-depend on libglu1-xorg-dev (preferred over alternative names). + * Build-depend on virtual gtkglarea-dev (instead of gtkglarea5-dev + providing it). + + -- Jonas Smedegaard Sat, 16 Jul 2005 08:01:13 +0200 + +python-visual (3.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Jonas Smedegaard Mon, 13 Jun 2005 16:35:27 +0200 + +python-visual (3.1.1-4) unstable; urgency=low + + * Second attempt at adopting - now with source force-included. + * Still closes: bug#112118. + * Update debian/copyright: + * Rewrite debian/copyright: + + Include upstream package name in first line introduction. + + Drop Debian-related info also in debian/changelog. + + Update location of upstream source. + + Replace general copyright and license info (mix of LGPL and GPL, + not GPL only). + * Rewrite debian/rules to use cdbs. + * Use cdbs debian/control auto-update. + * Use dh-buildinfo (with local cdbs snippet). + * Include vpython script as example: + + Install examples using upstream routines (not manually). + + Suggest idle. + + Update README.Debian. + * Make build non-quiet (as mandated by Debian Policy). + * Correct typo in long description. + + -- Jonas Smedegaard Sun, 3 Apr 2005 17:00:04 +0200 + +python-visual (3.1.1-3) unstable; urgency=low + + * Adopt package. Closes: bug#112118 (thanks to Matthew Danish + for initially reporting, and to Floris + Bruynooghe for tight and clean packaging). + * Add watch file. + + -- Jonas Smedegaard Sun, 3 Apr 2005 11:13:38 +0200 + +python-visual (3.1.1-2) unstable; urgency=low + + * New version for libboost-python 1.32.0 which is in sarge now. + * debian/rules: hack to remove .pyc and .pyo files with the clean rule. + + -- Floris Bruynooghe Sat, 26 Mar 2005 14:51:22 +0000 + +python-visual (3.1.1-1) unstable; urgency=low + + * New upstream release + + -- Floris Bruynooghe Sat, 26 Feb 2005 17:48:42 +0000 + +python-visual (3.1.0-1) unstable; urgency=low + + * New upstream release + + -- Floris Bruynooghe Thu, 23 Dec 2004 14:40:09 +0000 + +python-visual (3.0.3-2) unstable; urgency=low + + * Tidied up build process + * Added the homepage to debian/control + + -- Floris Bruynooghe Sun, 12 Dec 2004 13:21:44 +0000 + +python-visual (3.0.3-1) unstable; urgency=low + + * New upstream release + + -- Floris Bruynooghe Mon, 6 Dec 2004 21:06:04 +0000 + +python-visual (3.0.2-1) unstable; urgency=low + + * Initial Release + + -- Floris Bruynooghe Thu, 2 Dec 2004 00:42:10 +0000 + --- python-visual-3.2.1.orig/debian/doc-base +++ python-visual-3.2.1/debian/doc-base @@ -0,0 +1,12 @@ +Document: python-visual +Title: VPython Documentation +Author: Ruth Chabay, David Scherer and Bruce Sherwood +Abstract: VPython is the Python programming lanuage plus a 3D graphics + module called "Visual" developed by David Scherer. This document is + the documentation source for VPython and includes the Visual reference + manual. +Section: Apps/Programming + +Format: HTML +Index: /usr/share/doc/python-visual/index.html +Files: /usr/share/doc/python-visual/html/*.html --- python-visual-3.2.1.orig/debian/control +++ python-visual-3.2.1/debian/control @@ -0,0 +1,26 @@ +Source: python-visual +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Jonas Smedegaard +Build-Depends: cdbs (>= 0.4.23-1.1), autotools-dev, debhelper (>= 4.1.0), patchutils (>= 0.2.25), dh-buildinfo, python, python-dev, python-numeric, python-numarray, gtkglarea-dev, libgtk1.2-dev, libboost-python-dev, libglu1-xorg-dev | xlibmesa-glu-dev | libglu-dev +Standards-Version: 3.6.2 + +Package: python-visual +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-numeric | python-numarray +Suggests: idle +Description: VPython 3D scientific visualization library + Visual is a Python module for 3D scientific visualization. It offers + real-time 3D output and is easily usable by novice programmers. + . + A program can create 3D objects (such as spheres, curves, etc.) and + position them in 3D space. Visual, running in a separate thread, + automatically updates a 3D scene many times per second to reflect the + curren position of the objects. The programmer does not need to deal + with display management but can focus on the computational aspects for + the program. The user can navigate in the 3D scene by using the mouse + to zoom and rotate while the program is running. Visual supporst full + vector algebra. + . + Homepage: http://www.vpython.org --- python-visual-3.2.1.orig/debian/copyright +++ python-visual-3.2.1/debian/copyright @@ -0,0 +1,84 @@ +This is Python module Visual packaged for Debian GNU systems, + +It was downloaded from http://prdownloads.sourceforge.net/visualpython/ + +Copyright and licensing info: + +Copyright: +---------- +The Visual library is Copyright (c) 2000, 2001, 2002, and 2003 + by David Scherer and others. + +Upstream Authors: +----------------- +Original author of the Visual module: +David Scherer + +Other members of the original design team at Carnegie Mellon: +David Andersen +Ruth Chabay +Ari Heitner +Ian Peters +Bruce Sherwood + +Current (upstream) maintainers: +Jonathan Brandmeyer +Bruce Sherwood + +Other contributors to the Visual module: +Hugh Fisher (stereo code) +Shaun Press (the pyramid and ellipsoid objects) +John Zelle (stereo code) + +License: +-------- + All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of David Scherer not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +DAVID SCHERER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN +NO EVENT SHALL DAVID SCHERER BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE +USE OR PERFORMANCE OF THIS SOFTWARE. + +--------------------------------------------------------------------- +The following copyright notice applies to the files num_util.h and +num_util.cpp which are distributed with Visual for the convenience of +our users under the following terms: + +num_util is Copyright (c) 2003 by Rhys Goldstein, Chris Seymour and +Phil Austin. + + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. --- python-visual-3.2.1.orig/debian/install +++ python-visual-3.2.1/debian/install @@ -0,0 +1,2 @@ +docs/index.html usr/share/doc/python-visual/ +docs/visual/* usr/share/doc/python-visual/html/ --- python-visual-3.2.1.orig/debian/compat +++ python-visual-3.2.1/debian/compat @@ -0,0 +1 @@ +4 --- python-visual-3.2.1.orig/debian/rules +++ python-visual-3.2.1/debian/rules @@ -0,0 +1,33 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005-2006 Jonas Smedegaard + +include debian/cdbs/1/rules/auto-update.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include debian/cdbs/1/rules/buildinfo.mk +include debian/cdbs/1/rules/copyright-check.mk + +mainpkg = python-visual + +DEB_CONFIGURE_EXTRA_FLAGS = --disable-docs --with-example-dir="/usr/share/doc/$(mainpkg)/examples" +#DEB_INSTALL_EXAMPLES_$(mainpkg) = examples/*.py +DEB_COMPRESS_EXCLUDE = .py + +# Install vpython only as example +binary-post-install/$(mainpkg):: + mv debian/$(mainpkg)/usr/bin/vpython debian/$(mainpkg)/usr/share/doc/$(mainpkg)/examples/ + rm -r debian/$(mainpkg)/usr/bin + +# Avoid extra license +binary-post-install/$(mainpkg):: + rm -f debian/$(mainpkg)/usr/share/doc/$(mainpkg)/html/license.txt + +# Stupid: autotools doesn't clean byte-compiled Python code... +clean:: + find site-packages -name '*.py[co]' -exec rm -f '{}' ';' + +# Handle Python code +binary-install/$(mainpkg):: + dh_python -p$(cdbs_curpkg)