--- mayavi2-3.1.0.orig/debian/mayavi2.menu +++ mayavi2-3.1.0/debian/mayavi2.menu @@ -0,0 +1,5 @@ +?package(mayavi2): \ + needs="X11" \ + section="Applications/Science/Engineering" \ + title="MayaVi2" \ + command="/usr/bin/mayavi2" --- mayavi2-3.1.0.orig/debian/rules +++ mayavi2-3.1.0/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +DEB_PYTHON_SYSTEM=pycentral + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/python-distutils.mk + +DEB_COMPRESS_EXCLUDE := .py .vtu .vti .vtk .wrl .js +DEB_PYTHON_INSTALL_ARGS_ALL += --single-version-externally-managed +PYSHARED = $(DEB_DESTDIR)`pycentral pycentraldir mayavi2` + +install/mayavi2:: + find $(DEB_DESTDIR) -name 'image_LICENSE.txt' -delete + find $(DEB_DESTDIR) -name '*.idx' -delete + +binary-post-install/mayavi2:: + find $(DEB_DESTDIR) -name 'jquery.js*' -delete + +binary-predeb/mayavi2:: + $(RM) $(DEB_DESTDIR)usr/share/doc/mayavi2/docs/mayavi/mayavi2.man* + dh_link /usr/share/javascript/jquery/jquery.js `pycentral pycentraldir mayavi2`/enthought/mayavi/html/_static/jquery.js + dh_link /usr/share/javascript/jquery/jquery.js `pycentral pycentraldir mayavi2`/enthought/tvtk/html/_static/jquery.js + dh_link /usr/share/javascript/jquery/jquery.js `pycentral pycentraldir mayavi2`/enthought/docs/html/mayavi/_static/jquery.js + dh_link /usr/share/javascript/jquery/jquery.js `pycentral pycentraldir mayavi2`/enthought/docs/html/tvtk/_static/jquery.js + chmod +x $(PYSHARED)/enthought/mayavi/scripts/mayavi2.py + dh_link `pycentral pycentraldir mayavi2`/enthought/mayavi/scripts/mayavi2.py /usr/bin/mayavi2 + +get-orig-source: + -uscan --force-download --rename --- mayavi2-3.1.0.orig/debian/orig-tar.sh +++ mayavi2-3.1.0/debian/orig-tar.sh @@ -0,0 +1,8 @@ +#!/bin/sh -e + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $3 $origDir + echo "moved $3 to $origDir" +fi --- mayavi2-3.1.0.orig/debian/tvtk_doc.1 +++ mayavi2-3.1.0/debian/tvtk_doc.1 @@ -0,0 +1,26 @@ +.TH TVTK_DOC +.SH NAME +tvtk_doc \- A GUI based TVTK documentation search browser. +.SH DESCRIPTION +This manual page documents briefly the +.B tvtk_doc +command. +.PP +.B tvtk_doc +provides a list of all the available TVTK classes along with +the option to search for the documentation. + +The nice thing about the UI is that it performs some kind of +completion on names typed by the user, plus it allows users to search +through the TVTK class docs very easily. Once a search string is +typed the completion and available lists are modified so you can do +completion of the searched class names. If a unique enough string is +typed the class docs are shown. +.SH "SEE ALSO" +mayavi2(1), vtk(1) + +.SH AUTHORS +Prabhu Ramachandran and others. + +This manual page was written by Varun Hiremath for +the Debian GNU/Linux system (but may be used by others). --- mayavi2-3.1.0.orig/debian/changelog +++ mayavi2-3.1.0/debian/changelog @@ -0,0 +1,141 @@ +mayavi2 (3.1.0-1ubuntu2) jaunty; urgency=low + + * Fix FTBFS. + + -- Andrew Straw Sun, 22 Mar 2009 12:08:57 -0700 + +mayavi2 (3.1.0-1ubuntu1) jaunty; urgency=low + + * Don't use reserved keyword in Python 2.6 as variable name. + + -- Matthias Klose Tue, 24 Feb 2009 11:33:15 +0100 + +mayavi2 (3.1.0-1) unstable; urgency=low + + * New upstream release + * debian/control: add python-setupdocs to Build-Depends + + -- Varun Hiremath Sun, 28 Dec 2008 22:17:30 -0500 + +mayavi2 (3.0.3-1) experimental; urgency=low + + [ Marco Rodrigues ] + * debian/control: + + Fix Homepage field to the new URL. + + [ Varun Hiremath ] + * New upstream release (Closes: #499580) + + Fixes bugs (Closes: #481839, #489781, #487853) + * Upstream source split into many sub-packages + * debian/control: add python-envisagecore, python-envisageplugins, + python-apptools, libjs-jquery, python-configobj to Depends + * Switch to python-wxgtk2.8 (Closes: #477986) + * Update debian/watch and debian/orig-tar.sh files + * Clean up debian/rules file + + [ Sandro Tosi ] + * debian/control + - switch Vcs-Browser field to viewsvn + + -- Varun Hiremath Sat, 06 Dec 2008 19:50:11 -0500 + +mayavi2 (2.2.0-1) unstable; urgency=low + + * New upstream release + * Remove all patches; merged upstream + * Add manpage for tvtk_doc + + -- Varun Hiremath Sat, 12 Jul 2008 01:11:59 +0530 + +mayavi2 (2.1.1-5) unstable; urgency=low + + * Add ExtractVectorComponent.diff patch (Closes: #479448) + * Add SelectOutputFilter.diff patch (Closes: #478359) + * Bump Standards-Version to 3.8.0 + + -- Varun Hiremath Sat, 21 Jun 2008 21:34:22 +0530 + +mayavi2 (2.1.1-3) unstable; urgency=low + + * Add plot3d_reader.diff patch from upstream, fixes issues with reading + plot3d data files. + + -- Varun Hiremath Tue, 13 May 2008 17:58:35 +0530 + +mayavi2 (2.1.1-2) unstable; urgency=low + + * Change Build-Depends: python-central (>= 0.6.0) (Closes: #472032) + * debian/rules: Switch to new directory structure of python-central + + -- Varun Hiremath Sun, 23 Mar 2008 11:11:49 +0530 + +mayavi2 (2.1.1-1) unstable; urgency=low + + * New upstream release + + -- Varun Hiremath Mon, 10 Mar 2008 13:19:01 +0530 + +mayavi2 (2.1.0-1) unstable; urgency=low + + * New upstream release + + Fixes full screen segfaults (Closes: #464692) + * debian/control: + + Depends: replace python-setuptools with python-pkg-resources + (Closes: #468729) + + -- Varun Hiremath Sat, 01 Mar 2008 21:27:07 +0530 + +mayavi2 (2.0.2a1-4) unstable; urgency=low + + * Add python-setuptools to Depends (Closes: #461057) + + -- Varun Hiremath Wed, 16 Jan 2008 17:37:04 +0530 + +mayavi2 (2.0.2a1-3) unstable; urgency=low + + * debian/control: + + Add ${shlibs:Depends}, ${misc:Depends} to Depends + + Add python-numpy, python-vtk to Depends + + Move python-scipy to Suggests from Depends + + -- Varun Hiremath Mon, 14 Jan 2008 23:21:19 +0530 + +mayavi2 (2.0.2a1-2) unstable; urgency=low + + [ Varun Hiremath ] + * Initial release (Closes: #453907) + * debian/control: + + Add myself to Uploaders + + Depends: fix python-ets-traits, python-ets-traits-ui version + + Remove version check from dependencies + + Change section to science + * debian/rules: + + add clean target + + fix executable permissions of some files + + install using setup files. + * Install upstream provided manpage. + * Install examples and docs. + * Add debain/orig-tar.sh to create orig.tar.gz + * Update debian/copyright file + * Add debian/README.Debian-source file + * Add mayavi2 menu file + + [ Kumar Appaiah ] + * Build-Depend on python-vtk (>= 5.0.3-1) instead of 5.0.3-1+b1. + + [ Marco Rodrigues ] + * Update Standards-Version to 3.7.3. + + -- Varun Hiremath Wed, 09 Jan 2008 11:13:33 +0530 + +mayavi2 (2.0.2a1-1) UNRELEASED; urgency=low + + [ Ondrej Certik ] + * First unnofficial package revision. + + [ Marco Rodrigues ] + * Add short and long Description in control file. + * Add version check to cdbs, debhelper and python-central (Python Policy). + * Fix watch file. + + -- Ondrej Certik Mon, 08 Oct 2007 20:39:20 +0200 --- mayavi2-3.1.0.orig/debian/manpages +++ mayavi2-3.1.0/debian/manpages @@ -0,0 +1,2 @@ +docs/mayavi2.man +debian/tvtk_doc.1 --- mayavi2-3.1.0.orig/debian/watch +++ mayavi2-3.1.0/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts="uversionmangle=s/([ab])/~$1/,dversionmangle=s/\+.*//" \ +http://pypi.python.org/packages/source/M/Mayavi/Mayavi-(.*).tar.gz \ +debian debian/orig-tar.sh --- mayavi2-3.1.0.orig/debian/compat +++ mayavi2-3.1.0/debian/compat @@ -0,0 +1 @@ +6 --- mayavi2-3.1.0.orig/debian/install +++ mayavi2-3.1.0/debian/install @@ -0,0 +1,2 @@ +examples/* /usr/share/doc/mayavi2/examples/ +docs/* /usr/share/doc/mayavi2/docs/ --- mayavi2-3.1.0.orig/debian/control +++ mayavi2-3.1.0/debian/control @@ -0,0 +1,43 @@ +Source: mayavi2 +Section: science +Priority: optional +Maintainer: Ubuntu MOTU developers +XSBC-Original-Maintainer: Python Applications Packaging Team +Uploaders: Ondrej Certik , Marco Rodrigues , Varun Hiremath +Build-Depends: cdbs, debhelper (>= 6), python-all-dev, python-central (>= 0.6.0), + python-setuptools, python-setupdocs, python-vtk, python-numpy +Standards-Version: 3.8.0 +XS-Python-Version: current +Homepage: http://code.enthought.com/projects/mayavi/ +Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/mayavi2/trunk +Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/mayavi2/trunk/ + +Package: mayavi2 +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, + python-traits, python-traitsgui, python-wxgtk2.8, python-numpy, + python-vtk, python-pkg-resources, python-envisagecore, + python-envisageplugins, python-apptools, libjs-jquery, + python-configobj +Suggests: python-scipy +XB-Python-Version: ${python:Versions} +Description: A scientific visualization package for 2-D and 3-D data + MayaVi2 is a cross-platform tool for 2-D and 3-D scientific data + visualization. Its features include: + * Visualization of scalar, vector and tensor data in 2 and 3 dimensions + * Easy scriptability using Python + * Easy extendability via custom sources, modules, and data filters + * Reading several file formats: VTK (legacy and XML), PLOT3D, etc. + * Saving of visualizations + * Saving rendered visualization in a variety of image formats. + . + MayaVi2 has been designed with scriptability and extensibility in + mind. While the mayavi2 application is usable by itself, it may be + used as an Envisage plugin which allows it to be embedded in user + applications natively. Alternatively, it may be used as a + visualization engine for any application. + . + This package also provides TVTK, which wraps VTK objects to provide a + convenient, Pythonic API, while supporting Traits attributes and + NumPy/SciPy arrays. TVTK is implemented mostly in pure Python, except + for a small extension module. --- mayavi2-3.1.0.orig/debian/pycompat +++ mayavi2-3.1.0/debian/pycompat @@ -0,0 +1 @@ +2 --- mayavi2-3.1.0.orig/debian/copyright +++ mayavi2-3.1.0/debian/copyright @@ -0,0 +1,431 @@ +This package was debianized by Ondrej Certik and +Varun Hiremath + +It was downloaded from http://code.enthought.com/enstaller/eggs/source/ + +Upstream Author: Enthought, Inc + +Copyright: (c) 2006, Enthought, Inc. + +License: + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + * Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + * Neither the name of Enthought, Inc. nor the names of its contributors may + be used to endorse or promote products derived from this software without + specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + On Debian systems, the complete text of the BSD License can be + found in `/usr/share/common-licenses/BSD'. + +--------------------------------------------------------------------------- +File: enthought.mayavi/enthought/mayavi/core/lut/pylab_luts.py + +# The colormaps borrowed from matplotlib are licensed under the + matplotlib license: + +License: + LICENSE AGREEMENT FOR MATPLOTLIB 0.91.2svn + + 1. This LICENSE AGREEMENT is between the John D. Hunter ("JDH"), and the + Individual or Organization ("Licensee") accessing and otherwise using + matplotlib software in source or binary form and its associated + documentation. + + 2. Subject to the terms and conditions of this License Agreement, JDH + hereby grants Licensee a nonexclusive, royalty-free, world-wide license + to reproduce, analyze, test, perform and/or display publicly, prepare + derivative works, distribute, and otherwise use matplotlib 0.91.2svn + alone or in any derivative version, provided, however, that JDH's + License Agreement and JDH's notice of copyright, i.e., "Copyright (c) + 2002-2004 John D. Hunter; All Rights Reserved" are retained in + matplotlib 0.91.2svn alone or in any derivative version prepared by + Licensee. + + 3. In the event Licensee prepares a derivative work that is based on or + incorporates matplotlib 0.91.2svn or any part thereof, and wants to + make the derivative work available to others as provided herein, then + Licensee hereby agrees to include in any such work a brief summary of + the changes made to matplotlib 0.91.2svn. + + 4. JDH is making matplotlib 0.91.2svn available to Licensee on an "AS + IS" basis. JDH MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR + IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, JDH MAKES NO AND + DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS + FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF MATPLOTLIB 0.91.2svn + WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. + + 5. JDH SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF MATPLOTLIB + 0.91.2svn FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR + LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING + MATPLOTLIB 0.91.2svn, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF + THE POSSIBILITY THEREOF. + + 6. This License Agreement will automatically terminate upon a material + breach of its terms and conditions. + + 7. Nothing in this License Agreement shall be deemed to create any + relationship of agency, partnership, or joint venture between JDH and + Licensee. This License Agreement does not grant permission to use JDH + trademarks or trade name in a trademark sense to endorse or promote + products or services of Licensee, or any third party. + + 8. By copying, installing or otherwise using matplotlib 0.91.2svn, + Licensee agrees to be bound by the terms and conditions of this License + Agreement. + +-------- +# 34 of the colormaps are based on color specifications and designs +# developed by Cynthia Brewer (http://colorbrewer.org). The ColorBrewer +# palettes have been included under the terms of an Apache-style license: + +License: + Apache-Style Software License for ColorBrewer Color Schemes + + Version 1.1 + + Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania + State University. All rights reserved. Redistribution and use in source + and binary forms, with or without modification, are permitted provided + that the following conditions are met: + + 1. Redistributions as source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. The end-user documentation included with the redistribution, if + any, must include the following acknowledgment: "This product includes + color specifications and designs developed by Cynthia Brewer + (http://colorbrewer.org/)." Alternately, this acknowledgment may + appear in the software itself, if and wherever such third-party + acknowledgments normally appear. + + 3. The name "ColorBrewer" must not be used to endorse or promote products + derived from this software without prior written permission. For written + permission, please contact Cynthia Brewer at cbrewer@psu.edu. + + 4. Products derived from this software may not be called "ColorBrewer", + nor may "ColorBrewer" appear in their name, without prior written + permission of Cynthia Brewer. + + THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL CYNTHIA BREWER, MARK HARROWER, OR THE + PENNSYLVANIA STATE UNIVERSITY BE LIABLE FOR ANY DIRECT, INDIRECT, + INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS + OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR + TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE + USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH + DAMAGE. + +------- +# 7 palettes are from the Yorick scientific visualisation package, an +# evolution of the GIST package, both by David H. Munro. They are +# released under a BSD-like license: + +Copyright: (c) 1996 The Regents of the University of California. + All rights reserved. + +License: BSD-style license for gist/yorick colormaps. + + Permission to use, copy, modify, and distribute this software for any + purpose without fee is hereby granted, provided that this entire + notice is included in all copies of any software which is or includes + a copy or modification of this software and in all copies of the + supporting documentation for such software. + + This work was produced at the University of California, Lawrence + Livermore National Laboratory under contract no. W-7405-ENG-48 between + the U.S. Department of Energy and The Regents of the University of + California for the operation of UC LLNL. + + DISCLAIMER + + This software was prepared as an account of work sponsored by an + agency of the United States Government. Neither the United States + Government nor the University of California nor any of their + employees, makes any warranty, express or implied, or assumes any + liability or responsibility for the accuracy, completeness, or + usefulness of any information, apparatus, product, or process + disclosed, or represents that its use would not infringe + privately-owned rights. Reference herein to any specific commercial + products, process, or service by trade name, trademark, manufacturer, + or otherwise, does not necessarily constitute or imply its + endorsement, recommendation, or favoring by the United States + Government or the University of California. The views and opinions of + authors expressed herein do not necessarily state or reflect those of + the United States Government or the University of California, and + shall not be used for advertising or product endorsement purposes. + + AUTHOR + + David H. Munro wrote Yorick and Gist. Berkeley Yacc (byacc) generated + the Yorick parser. The routines in Math are from LAPACK and FFTPACK; + MathC contains C translations by David H. Munro. The algorithms for + Yorick's random number generator and several special functions in + Yorick/include were taken from Numerical Recipes by Press, et. al., + although the Yorick implementations are unrelated to those in + Numerical Recipes. A small amount of code in Gist was adapted from + the X11R4 release, copyright M.I.T. -- the complete copyright notice + may be found in the (unused) file Gist/host.c. + +--------------------------------------------------------------------------- + +Icon License: + +The icons are mostly derived work from other icons. As such they are +licensed accordingly to the original license: + + Eclipse: Eclipse Public Licence + Nuvola: LGPL + Crystal: LGPL + OOo: LGPL + GV: Gael Varoquaux: BSD-licensed + +Unless stated explicitly, icons are work of enthought, and are +released under a 3 clause BSD license. + +On Debian systems, the complete text of the LGPL License can be +found in `/usr/share/common-licenses/LGPL'. + +On Debian systems, the complete text of the BSD License can be +found in `/usr/share/common-licenses/BSD'. + +Full text of Eclipse Public License follows: + + THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE + PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE + PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. + + 1. DEFINITIONS + + "Contribution" means: + + a) in the case of the initial Contributor, the initial code and documentation + distributed under this Agreement, and + b) in the case of each subsequent Contributor: + + i) changes to the Program, and + + ii) additions to the Program; + + where such changes and/or additions to the Program originate from and are + distributed by that particular Contributor. A Contribution 'originates' + from a Contributor if it was added to the Program by such Contributor itself + or anyone acting on such Contributor's behalf. Contributions do not include + additions to the Program which: (i) are separate modules of software + distributed in conjunction with the Program under their own license + agreement, and (ii) are not derivative works of the Program. + + "Contributor" means any person or entity that distributes the Program. + + "Licensed Patents " mean patent claims licensable by a Contributor which are + necessarily infringed by the use or sale of its Contribution alone or when + combined with the Program. + + "Program" means the Contributions distributed in accordance with this + Agreement. + + "Recipient" means anyone who receives the Program under this Agreement, + including all Contributors. + + 2. GRANT OF RIGHTS + + a) Subject to the terms of this Agreement, each Contributor hereby grants + Recipient a non-exclusive, worldwide, royalty-free copyright license to + reproduce, prepare derivative works of, publicly display, publicly perform, + distribute and sublicense the Contribution of such Contributor, if any, + and such derivative works, in source code and object code form. + + b) Subject to the terms of this Agreement, each Contributor hereby grants + Recipient a non-exclusive, worldwide, royalty-free patent license under + Licensed Patents to make, use, sell, offer to sell, import and otherwise + transfer the Contribution of such Contributor, if any, in source code and + object code form. This patent license shall apply to the combination of + the Contribution and the Program if, at the time the Contribution is added + by the Contributor, such addition of the Contribution causes such + combination to be covered by the Licensed Patents. The patent license shall + not apply to any other combinations which include the Contribution. No + hardware per se is licensed hereunder. + + c) Recipient understands that although each Contributor grants the licenses + to its Contributions set forth herein, no assurances are provided by any + Contributor that the Program does not infringe the patent or other + intellectual property rights of any other entity. Each Contributor disclaims + any liability to Recipient for claims brought by any other entity based on + infringement of intellectual property rights or otherwise. As a condition to + exercising the rights and licenses granted hereunder, each Recipient hereby + assumes sole responsibility to secure any other intellectual property rights + needed, if any. For example, if a third party patent license is required to + allow Recipient to distribute the Program, it is Recipient's responsibility + to acquire that license before distributing the Program. + + d) Each Contributor represents that to its knowledge it has sufficient + copyright rights in its Contribution, if any, to grant the copyright license + set forth in this Agreement. + + 3. REQUIREMENTS + + A Contributor may choose to distribute the Program in object code form under + its own license agreement, provided that: + + a) it complies with the terms and conditions of this Agreement; and + + b) its license agreement: + + i) effectively disclaims on behalf of all Contributors all warranties and + conditions, express and implied, including warranties or conditions of title + and non-infringement, and implied warranties or conditions of merchantability + and fitness for a particular purpose; + + ii) effectively excludes on behalf of all Contributors all liability for + damages, including direct, indirect, special, incidental and consequential + damages, such as lost profits; + + iii) states that any provisions which differ from this Agreement are offered + by that Contributor alone and not by any other party; and + + iv) states that source code for the Program is available from such + Contributor, and informs licensees how to obtain it in a reasonable manner on + or through a medium customarily used for software exchange. + + When the Program is made available in source code form: + + a) it must be made available under this Agreement; and + + b) a copy of this Agreement must be included with each copy of the Program. + + Contributors may not remove or alter any copyright notices contained within + the Program. + + Each Contributor must identify itself as the originator of its Contribution, + if any, in a manner that reasonably allows subsequent Recipients to identify + the originator of the Contribution. + + 4. COMMERCIAL DISTRIBUTION + + Commercial distributors of software may accept certain responsibilities with + respect to end users, business partners and the like. While this license is + intended to facilitate the commercial use of the Program, the Contributor who + includes the Program in a commercial product offering should do so in a manner + which does not create potential liability for other Contributors. Therefore, + if a Contributor includes the Program in a commercial product offering, such + Contributor ("Commercial Contributor") hereby agrees to defend and indemnify + every other Contributor ("Indemnified Contributor") against any losses, + damages and costs (collectively "Losses") arising from claims, lawsuits and + other legal actions brought by a third party against the Indemnified + Contributor to the extent caused by the acts or omissions of such Commercial + Contributor in connection with its distribution of the Program in a commercial + product offering. The obligations in this section do not apply to any claims + or Losses relating to any actual or alleged intellectual property + infringement. In order to qualify, an Indemnified Contributor must: + a) promptly notify the Commercial Contributor in writing of such claim, and + b) allow the Commercial Contributor to control, and cooperate with the + Commercial Contributor in, the defense and any related settlement + negotiations. The Indemnified Contributor may participate in any such claim + at its own expense. + + For example, a Contributor might include the Program in a commercial product + offering, Product X. That Contributor is then a Commercial Contributor. If + that Commercial Contributor then makes performance claims, or offers + warranties related to Product X, those performance claims and warranties are + such Commercial Contributor's responsibility alone. Under this section, the + Commercial Contributor would have to defend claims against the other + Contributors related to those performance claims and warranties, and if a + court requires any other Contributor to pay any damages as a result, the + Commercial Contributor must pay those damages. + + 5. NO WARRANTY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON + AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER + EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR + CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A + PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the + appropriateness of using and distributing the Program and assumes all + risks associated with its exercise of rights under this Agreement , + including but not limited to the risks and costs of program errors, + compliance with applicable laws, damage to or loss of data, programs or + equipment, and unavailability or interruption of operations. + + 6. DISCLAIMER OF LIABILITY + + EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY + CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION + LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE + EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGES. + + 7. GENERAL + + If any provision of this Agreement is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of the + remainder of the terms of this Agreement, and without further action by + the parties hereto, such provision shall be reformed to the minimum extent + necessary to make such provision valid and enforceable. + + If Recipient institutes patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Program itself + (excluding combinations of the Program with other software or hardware) + infringes such Recipient's patent(s), then such Recipient's rights granted + under Section 2(b) shall terminate as of the date such litigation is filed. + + All Recipient's rights under this Agreement shall terminate if it fails to + comply with any of the material terms or conditions of this Agreement and + does not cure such failure in a reasonable period of time after becoming + aware of such noncompliance. If all Recipient's rights under this Agreement + terminate, Recipient agrees to cease use and distribution of the Program as + soon as reasonably practicable. However, Recipient's obligations under this + Agreement and any licenses granted by Recipient relating to the Program + shall continue and survive. + + Everyone is permitted to copy and distribute copies of this Agreement, but + in order to avoid inconsistency the Agreement is copyrighted and may only + be modified in the following manner. The Agreement Steward reserves the + right to publish new versions (including revisions) of this Agreement from + time to time. No one other than the Agreement Steward has the right to + modify this Agreement. The Eclipse Foundation is the initial Agreement + Steward. The Eclipse Foundation may assign the responsibility to serve as + the Agreement Steward to a suitable separate entity. Each new version of + the Agreement will be given a distinguishing version number. The Program + (including Contributions) may always be distributed subject to the version + of the Agreement under which it was received. In addition, after a new + version of the Agreement is published, Contributor may elect to distribute + the Program (including its Contributions) under the new version. Except as + expressly stated in Sections 2(a) and 2(b) above, Recipient receives no + rights or licenses to the intellectual property of any Contributor under + this Agreement, whether expressly, by implication, estoppel or otherwise. + All rights in the Program not expressly granted under this Agreement are + reserved. + + This Agreement is governed by the laws of the State of New York and the + intellectual property laws of the United States of America. No party to + this Agreement will bring a legal action under this Agreement more than + one year after the cause of action arose. Each party waives its rights to + a jury trial in any resulting litigation. +--------------------------------------------------------------------------- + +The Debian packaging is (C) 2007, Ondrej Certik , +Varun Hiremath and is licensed under the GPL, see +`/usr/share/common-licenses/GPL'. --- mayavi2-3.1.0.orig/enthought/tvtk/setup.py +++ mayavi2-3.1.0/enthought/tvtk/setup.py @@ -52,6 +52,9 @@ except: pass print '-'*70 + if os.path.exists(target): + print "Unlinking possibly old TVTK classes...", + os.unlink(target) print "Building TVTK classes...", sys.stdout.flush() cwd = os.getcwd() --- mayavi2-3.1.0.orig/enthought/tvtk/tools/visual.py +++ mayavi2-3.1.0/enthought/tvtk/tools/visual.py @@ -1561,9 +1561,9 @@ ###################################################################### # Non-public methods, Event handlers def _create_points(self, rc, lc, rs, ps): - as = tvtk.ArrowSource(tip_radius = rc, tip_length = lc, shaft_radius = rs) - as.update() - ps = as.output + _as = tvtk.ArrowSource(tip_radius = rc, tip_length = lc, shaft_radius = rs) + _as.update() + ps = _as.output points = ps.points.to_array() points = translate(numpy.array([0.0, 0.0, 0.0]), self.pos, points) self.points = points