--- python-visual-5.12.orig/debian/TODO +++ python-visual-5.12/debian/TODO @@ -0,0 +1 @@ + * Fix lintian warnings. --- python-visual-5.12.orig/debian/copyright_newhints +++ python-visual-5.12/debian/copyright_newhints @@ -0,0 +1,537 @@ +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION +Name: Untrusted draft - double-check copyrights yourself! + +Files: HACKING.txt + INSTALL.txt + Makefile.am + README + authors.txt + bin/vpython.in + configure.ac + debian/README.Debian + debian/README.source + debian/TODO + debian/compat + debian/control + debian/control.in + debian/doc-base + debian/gbp.conf + debian/install + debian/patches/1002_unquieten_compile.patch + debian/patches/1003_include_python_header.patch + debian/patches/2000_boost_python_workaround.patch + debian/patches/README + debian/patches/series + debian/pycompat + debian/watch + dependencies/Readme.txt + dependencies/threadpool/CHANGE_LOG + dependencies/threadpool/CVS/Entries + dependencies/threadpool/CVS/Repository + dependencies/threadpool/CVS/Root + dependencies/threadpool/TODO + dependencies/threadpool/include/CVS/Entries + dependencies/threadpool/include/CVS/Repository + dependencies/threadpool/include/CVS/Root + dependencies/threadpool/include/threadpool/CVS/Entries + dependencies/threadpool/include/threadpool/CVS/Repository + dependencies/threadpool/include/threadpool/CVS/Root + dependencies/threadpool/include/threadpool/detail/CVS/Entries + dependencies/threadpool/include/threadpool/detail/CVS/Repository + dependencies/threadpool/include/threadpool/detail/CVS/Root + docs/Makefile.am + docs/index.html + docs/visual/VPython_Intro.pdf + docs/visual/VisualIntro.html + docs/visual/VisualRef-1.gif + docs/visual/VisualRef-2.gif + docs/visual/VisualRef-3.gif + docs/visual/VisualRef-4.gif + docs/visual/VisualRef-6.gif + docs/visual/VisualRef-7.gif + docs/visual/VisualRef.css + docs/visual/arrow.html + docs/visual/axes.gif + docs/visual/box.html + docs/visual/color.html + docs/visual/cone.html + docs/visual/controls.html + docs/visual/convex.html + docs/visual/curve.html + docs/visual/cylinder.html + docs/visual/defaults.html + docs/visual/delete.html + docs/visual/display.html + docs/visual/ellipsoid.html + docs/visual/faces.html + docs/visual/factorial.html + docs/visual/files.html + docs/visual/float.html + docs/visual/frame.html + docs/visual/graph.html + docs/visual/helix.html + docs/visual/index.html + docs/visual/keyboard.html + docs/visual/label.html + docs/visual/lights.html + docs/visual/materials.html + docs/visual/mouse.html + docs/visual/mouse_click.html + docs/visual/mouse_drag.html + docs/visual/new_features.html + docs/visual/options.html + docs/visual/points.html + docs/visual/primitives.html + docs/visual/pyramid.html + docs/visual/rate.html + docs/visual/ring.gif + docs/visual/ring.html + docs/visual/rotation.html + docs/visual/sphere.html + docs/visual/spherebox.gif + docs/visual/vector.html + examples/Makefile.am + examples/bounce.py + examples/bounce2.py + examples/boxlighttest.py + examples/colorsliders.py + examples/controlstest.py + examples/convex.py + examples/crossproduct.py + examples/crystal.py + examples/dipole.py + examples/doublependulum.py + examples/drape.py + examples/faces_cone.py + examples/faces_heightfield.py + examples/gas.py + examples/glinfo.py + examples/graphtest.py + examples/gyro.py + examples/gyro2.py + examples/hanoi.py + examples/labels.py + examples/lathe.py + examples/lorenz.py + examples/mandelbrot.py + examples/material_test.py + examples/orbit.py + examples/planar.py + examples/randombox.py + examples/stars.py + examples/stonehenge.py + examples/texttest.py + examples/texture_and_lighting.py + examples/texturetest.py + examples/tictac.py + examples/tictacdat.py + examples/toroid.py + examples/toroid_drag.py + examples/wave.py + include/.cvsignore + include/axial.hpp + include/gtk2/.cvsignore + include/gtk2/font_renderer.hpp + include/mac/display.hpp + include/mac/font_renderer.hpp + include/material.hpp + include/mouse_manager.hpp + include/python/.cvsignore + include/python/arrayprim.hpp + include/python/gil.hpp + include/python/num_util_impl.hpp + include/python/points.hpp + include/python/wrap_vector.hpp + include/rectangular.hpp + include/stamp-h1 + include/text.hpp + include/util/.cvsignore + include/util/atomic_queue.hpp + include/util/gl_enable.hpp + include/util/gl_extensions.hpp + include/util/gl_free.hpp + include/util/icososphere.hpp + include/util/rate.hpp + include/util/render_manager.hpp + include/util/shader_program.hpp + include/vpython-config.h + include/win32/display.hpp + include/win32/font_renderer.hpp + site-packages/visual/Makefile.am + site-packages/visual/controls.py + site-packages/visual/crayola.py + site-packages/visual/earth.tga + site-packages/visual/factorial.py + site-packages/visual/filedialog.py + site-packages/visual/graph.py + site-packages/visual/logo_t.gif + site-packages/visual/materials.py + site-packages/visual/pan.png + site-packages/visual/primitives.py + site-packages/visual/site_settings.py + site-packages/visual/text.py + site-packages/visual/turbulence3.tga + site-packages/visual/ui.py + site-packages/visual/vpython.glade + site-packages/visual/vpython_notoolbar.glade + site-packages/visual/wood.tga + src/Makefile.in + src/core/.cvsignore + src/core/CVS/Entries + src/core/CVS/Repository + src/core/CVS/Root + src/core/axial.cpp + src/core/light.cpp + src/core/material.cpp + src/core/mouse_manager.cpp + src/core/rectangular.cpp + src/core/text.cpp + src/core/util/.cvsignore + src/core/util/CVS/Entries + src/core/util/CVS/Repository + src/core/util/CVS/Root + src/core/util/atomic_queue.cpp + src/core/util/gl_extensions.cpp + src/core/util/gl_free.cpp + src/core/util/render_manager.cpp + src/core/util/shader_program.cpp + src/gtk2/.cvsignore + src/gtk2/CVS/Entries + src/gtk2/CVS/Repository + src/gtk2/CVS/Root + src/gtk2/display.cpp + src/gtk2/font_renderer.cpp + src/gtk2/makefile + src/gtk2/rate.cpp + src/gtk2/site-packages.pth + src/gtk2/ubuntu_makefile + src/linux-symbols.map + src/osx-symbols.txt + src/python/.cvsignore + src/python/CVS/Entries + src/python/CVS/Repository + src/python/CVS/Root + src/python/arrayprim.cpp + src/python/num_util_impl_numarray.cpp + src/python/num_util_impl_numeric.cpp + src/python/points.cpp + src/win32/CVS/Entries + src/win32/CVS/Repository + src/win32/CVS/Root + src/win32/font_renderer.cpp + src/win32/winrate.cpp +Copyright: *No copyright* +License: UNKNOWN + +Files: include/cylinder.hpp + include/display_kernel.hpp + include/ellipsoid.hpp + include/frame.hpp + include/label.hpp + include/primitive.hpp + include/pyramid.hpp + include/renderable.hpp + include/ring.hpp + include/sphere.hpp + src/core/arrow.cpp + src/core/box.cpp + src/core/cone.cpp + src/core/cylinder.cpp + src/core/display_kernel.cpp + src/core/ellipsoid.cpp + src/core/frame.cpp + src/core/label.cpp + src/core/primitive.cpp + src/core/pyramid.cpp + src/core/renderable.cpp + src/core/ring.cpp + src/core/sphere.cpp + src/core/util/extent.cpp + src/core/util/rgba.cpp + src/core/util/tmatrix.cpp + src/core/util/vector.cpp + src/gtk2/render_surface.cpp + src/python/convex.cpp + src/python/cvisualmodule.cpp + src/win32/windisplay.cpp +Copyright: 2003-2004, by Jonathan Brandmeyer and others + 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: include/gtk2/util/timer.hpp + include/light.hpp + include/python/slice.hpp + include/util/displaylist.hpp + include/util/errors.hpp + include/util/quadric.hpp + include/util/sorted_model.hpp + include/util/texture.hpp + include/util/timer.hpp + include/wrap_gl.hpp + src/core/util/displaylist.cpp + src/core/util/errors.cpp + src/core/util/quadric.cpp + src/core/util/texture.cpp + src/python/slice.cpp +Copyright: 2004, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: dependencies/threadpool/COPYING + dependencies/threadpool/include/threadpool.hpp + dependencies/threadpool/include/threadpool/detail/future.hpp + dependencies/threadpool/include/threadpool/detail/locking_ptr.hpp + dependencies/threadpool/include/threadpool/detail/pool_core.hpp + dependencies/threadpool/include/threadpool/detail/scope_guard.hpp + dependencies/threadpool/include/threadpool/detail/worker_thread.hpp + dependencies/threadpool/include/threadpool/future.hpp + dependencies/threadpool/include/threadpool/pool.hpp + dependencies/threadpool/include/threadpool/pool_adaptors.hpp + dependencies/threadpool/include/threadpool/scheduling_policies.hpp + dependencies/threadpool/include/threadpool/shutdown_policies.hpp + dependencies/threadpool/include/threadpool/size_policies.hpp + dependencies/threadpool/include/threadpool/task_adaptors.hpp +Copyright: 2005-2007, Philipp Henkel +License: BSL-1.0 + +Files: docs/visual/images/arrow.jpg + docs/visual/images/box.jpg + docs/visual/images/cone.jpg + docs/visual/images/controls.jpg + docs/visual/images/convex.jpg + docs/visual/images/cylinder.jpg + docs/visual/images/ellipsoid.jpg + docs/visual/images/faces.jpg + docs/visual/images/graph.jpg + docs/visual/images/helix.jpg + docs/visual/images/label.jpg + docs/visual/images/material_etc.jpg + docs/visual/images/pyramid.jpg + docs/visual/images/sphere.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + .Id%A^z&Ca~1Om&Ed#Cc'Ij4Vx&IlAe@e Ek*Qw;c*R{Gp@j>i A l !!H!u!!!"'"U"""# +License: UNKNOWN (GENERATED FILE) + +Files: include/arrow.hpp + include/box.hpp + include/cone.hpp + include/gtk2/display.hpp + include/gtk2/render_surface.hpp + include/python/convex.hpp + include/util/extent.hpp + include/util/rgba.hpp + include/util/thread.hpp + include/util/tmatrix.hpp + include/util/vector.hpp +Copyright: 2004, by Jonathan Brandmeyer and others + 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: include/mouseobject.hpp + include/python/faces.hpp + include/python/scalar_array.hpp + src/core/mouseobject.cpp + src/core/util/icososphere.cpp + src/python/curve.cpp + src/python/faces.cpp + src/python/scalar_array.cpp + src/python/vector_array.cpp +Copyright: 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: Makefile.in + docs/Makefile.in + examples/Makefile.in + site-packages/visual/Makefile.in +Copyright: 1994-2002 +License: UNKNOWN (GENERATED FILE) + +Files: src/python/wrap_display_kernel.cpp + src/python/wrap_rgba.cpp + src/python/wrap_vector.cpp +Copyright: 2003-2004, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: debian/cdbs/1/class/autotools-vars.mk + debian/cdbs/1/class/makefile.mk +Copyright: 2002-2003, Colin Walters + 2003,2008, Jonas Smedegaard +License: GPL-2+ + +Files: debian/cdbs/1/class/autotools.mk + debian/cdbs/1/class/makefile-vars.mk +Copyright: 2002-2003, Colin Walters + 2008, Jonas Smedegaard +License: GPL-2+ + +Files: debian/cdbs/1/class/python-autotools.mk + debian/cdbs/1/rules/package-relations.mk +Copyright: 2008, Jonas Smedegaard +License: GPL-2+ + +Files: include/python/curve.hpp + src/python/wrap_arrayobjects.cpp +Copyright: 2003-2004, Jonathan Brandmeyer and others + 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: src/gtk2/timer.cpp + src/win32/wintimer.cpp +Copyright: 2004, by Jonathan Brandmeyer +License: UNKNOWN + +Files: include/python/numeric_texture.hpp + src/python/numeric_texture.cpp +Copyright: 2006, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: src/gtk2/random_device.cpp + src/win32/winrandom_device.cpp +Copyright: Jens Maurer 2000 +License: UNKNOWN + +Files: license.txt +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + 2003, by Rhys Goldstein, Chris Seymour and + 2000-2004 +License: BSL-1 (GENERATED FILE) + +Files: dependencies/threadpool/LICENSE_1_0.txt +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +License: BSL-1 (GENERATED FILE) + +Files: src/python/num_util.cpp +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + 2006, Phil Austin (http://www.eos.ubc.ca/personal/paustin) +License: BSL-1.0 (GENERATED FILE) + +Files: include/python/num_util.hpp +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +License: BSL-1.0 (GENERATED FILE) + +Files: debian/patches/1004_boost148_ftbfs.patch +Copyright: Steven Watanabe 2010-2011, + Jens Maurer 2000 +License: BSL-1.0 + +Files: config.guess +Copyright: 1992-1999, + 1992-2001 +License: GPL-2+ (GENERATED FILE) + +Files: config.sub +Copyright: 1992-1999 +License: GPL-2+ (GENERATED FILE) + +Files: missing +Copyright: 1996-1997, 1999-2000, 2002-2005 +License: GPL-2+ (GENERATED FILE) + +Files: ltmain.sh +Copyright: 1996-2001, 2003-2007, 2008 Free Software Foundation, Inc +License: GPL-2+ (GENERATED FILE) + +Files: aclocal.m4 +Copyright: 1996-2004, + 1996-2001, 2003-2005 +License: GPL-2+ (GENERATED FILE) + +Files: py-compile +Copyright: 2000-2001, 2003-2005, Free Software Foundation, Inc +License: GPL-2+ (GENERATED FILE) + +Files: acinclude.m4 +Copyright: 1999-2004 +License: GPL-2+ + +Files: debian/cdbs/1/class/python-vars.mk +Copyright: 2003,2008, Jonas Smedegaard +License: GPL-2+ + +Files: debian/cdbs/1/rules/buildinfo.mk +Copyright: 2004-2007, Jonas Smedegaard +License: GPL-2+ + +Files: debian/rules +Copyright: 2005-2009, Jonas Smedegaard +License: GPL-2+ + +Files: debian/cdbs/1/rules/upstream-tarball.mk +Copyright: 2007-2008, Jonas Smedegaard +License: GPL-2+ + +Files: debian/cdbs/1/rules/copyright-check.mk +Copyright: \s*(\S.*?)\s*\ +License: GPL-2+ + +Files: install-sh +Copyright: 1994, X Consortium +License: MIT/X11 (BSD like) + +Files: include/GL/glext.h +Copyright: 2007, The Khronos Group Inc + HOLDERS BE LIABLE FOR ANY +License: MIT/X11 (BSD like) + +Files: configure +Copyright: 1992-1996, 1998-2001 +License: UNKNOWN (GENERATED FILE) + +Files: docs/visual/images/ring.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + .Id%A^z&Ca~1Om&Ed#Cc'Ij4Vx&IlAe@e Ek*Qw;c*R{Gp@j>i A l !!H!u!!!"'"U"""# + =VoapkP.2MYHj)9gOvo2J[?G^N|B?=YY|qlozS}Hs#X~Fp{P9.Y8;Z O6cwfvlWflWfvw/?.D%n?plcfog(Dvdb?4~I=.#cw>4kC1FaV|>840G'hM27G!#7 +License: UNKNOWN (GENERATED FILE) + +Files: docs/visual/images/curve.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + .Id%A^z&Ca~1Om&Ed#Cc'Ij4Vx&IlAe@e Ek*Qw;c*R{Gp@j>i A l !!H!u!!!"'"U"""# + ld~cAF'?v8yyyzk/,fb"bPf6*lWfvlWfDi)ui!T;x[|GcOh$WXz20;C0kc;naH{8Lcy;c,IKH#6liy/c)= +License: UNKNOWN (GENERATED FILE) + +Files: docs/visual/images/points.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + >\R*:yV,r_Li['KyGah2HD0W>J^rA@83FQzN>Mgf#R~'8qp56lyfGL>u=}5RX(}mf\CyW%g` +License: UNKNOWN (GENERATED FILE) + +Files: docs/visual/images/filedialog.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + t2[k"-}=no+P.}}sw_r?[=.coOV}O+/ +License: UNKNOWN (GENERATED FILE) + +Files: include/config.h.in +Copyright: 2000-2003, by David Scherrer and others +License: UNKNOWN (GENERATED FILE) + +Files: docs/visual/license.txt +Copyright: 1996. The Regents of the University of California. All + 2000, by David Scherer +License: UNKNOWN + +Files: include/python/vector_array.hpp +Copyright: 2003-2004, Jonathan Brandmeyer +License: UNKNOWN + +Files: src/python/wrap_primitive.cpp +Copyright: 2003-2005, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: dependencies/threadpool/README +Copyright: 2005-2007, Philipp Henkel +License: UNKNOWN + +Files: examples/flower128.tga +Copyright: 2;",-:TD2EpmNT~suIKVKuhlaP<=M?7<,,>WJ=JirGFKJKGUfkpjkihkq_~HF2Y8=O%3R.Eo2OVKfO +License: UNKNOWN + +Files: site-packages/visual/__init__.py +Copyright: David Scherer and others, see license.txt +License: UNKNOWN + +Files: NEWS.txt +Copyright: notices (license.txt and LIBSIGC_COPYING.txt) have been added to +License: UNKNOWN + --- python-visual-5.12.orig/debian/control.in +++ python-visual-5.12/debian/control.in @@ -0,0 +1,30 @@ +Source: python-visual +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jonas Smedegaard +Build-Depends: @cdbs@ +Standards-Version: 3.8.3 +XS-Python-Version: all +Homepage: http://www.vpython.org +Vcs-Git: git://git.debian.org:/git/collab-maint/python-visual.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/python-visual.git + +Package: python-visual +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${cdbs:Depends}, + python-numpy (>= 1:1.6.1), python-numpy-abi9 +Suggests: ${cdbs:Suggests} +XB-Python-Version: ${python:Versions} +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 + current 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 supports full + vector algebra. --- python-visual-5.12.orig/debian/compat +++ python-visual-5.12/debian/compat @@ -0,0 +1 @@ +6 --- python-visual-5.12.orig/debian/gbp.conf +++ python-visual-5.12/debian/gbp.conf @@ -0,0 +1,5 @@ +# Configuration file for git-buildpackage and friends + +[DEFAULT] +pristine-tar = True +sign-tags = True --- python-visual-5.12.orig/debian/control +++ python-visual-5.12/debian/control @@ -0,0 +1,30 @@ +Source: python-visual +Section: python +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Jonas Smedegaard +Build-Depends: cdbs (>= 0.4.39), autotools-dev, devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), debhelper (>= 6), dh-buildinfo, python-numpy, libgtkglextmm-x11-1.2-dev (>= 1.2), libglibmm-2.4-dev, libpangomm-1.4-dev, libglademm-2.4-dev, libpango1.0-dev, libfreetype6-dev, libboost-python-dev, libboost-signals-dev, libboost-thread-dev, libglu1-mesa-dev | xlibmesa-glu-dev | libglu-dev +Standards-Version: 3.8.3 +XS-Python-Version: all +Homepage: http://www.vpython.org +Vcs-Git: git://git.debian.org/git/collab-maint/python-visual.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/python-visual.git + +Package: python-visual +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, ${cdbs:Depends}, + python-numpy (>= 1:1.6.1), python-numpy-abi9 +Suggests: ${cdbs:Suggests} +XB-Python-Version: ${python:Versions} +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 + current 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 supports full + vector algebra. --- python-visual-5.12.orig/debian/changelog +++ python-visual-5.12/debian/changelog @@ -0,0 +1,332 @@ +python-visual (1:5.12-1.5build1) saucy; urgency=low + + * No change rebuild for Boost 1.53 transition. + + -- Dmitrijs Ledkovs Fri, 26 Apr 2013 19:18:44 +0100 + +python-visual (1:5.12-1.5) unstable; urgency=low + + * Non-maintainer upload. + + [ Sébastien Villemot ] + * Rebuild against python-numpy >= 1:1.6.1 because of ABI change (see + #685812), and add Depends on python-numpy (>= 1:1.6.1) and + python-numpy-abi9 in order to support partial upgrades. + (Closes: #698042) + + [ Paul Tagliamonte ] + * debian/control: fix invalid Vcs-Git tag. (Closes: #681701) + + -- Sébastien Villemot Thu, 24 Jan 2013 08:12:55 +0100 + +python-visual (1:5.12-1.4) unstable; urgency=low + + * Non-maintainer upload. + + * patches/1004_boost148_ftbfs.patch: New. Update random_device.cpp to + work with Boost 1.48. Closes: #652798. + + -- Steve M. Robbins Tue, 31 Jan 2012 23:40:50 -0600 + +python-visual (1:5.12-1.3) unstable; urgency=low + + * Non-maintainer upload. + * Cleanup .la files before dh_pycentral runs; don't use non-existant + post-install/% hook target; Closes: #633273 + * Do not delete .so or .glade files + * Drop libxcb-render-util0-dev from b-d; not used directly by + python-visual, and dropping it no longer causes FTBFS + + -- Evan Broder Tue, 29 Nov 2011 18:10:52 -0800 + +python-visual (1:5.12-1.2) unstable; urgency=low + + * Non-maintainer upload. + - with the rebuild, it links to the correct libboost; Closes: #626918 + * debian/control + - added 'libxcb-render-util0-dev' to b-d, fix a FTBFS; Closes: #618055 + + -- Sandro Tosi Wed, 01 Jun 2011 16:27:53 +0200 + +python-visual (1:5.12-1.1) unstable; urgency=low + + * Non-maintainer upload. + * control: Change boost build dependencies to unversioned packages. + Closes: #559791. + + -- Steve M. Robbins Sun, 06 Dec 2009 22:25:28 -0600 + +python-visual (1:5.12-1) unstable; urgency=low + + * New upstream release. + * Acknowledge NMU. Thanks, Luca! + * Update package-relations.mk: Cleanup unversioned+versioned + dependency mix. Improve whitespace cleanup. Rewrite and silence + applying dependencies. + * Drop Torsten Werner as uploader per request. Thanks for previous + contributions. Closes: bug#545722. + * Bump Policy compliance to standards-version 3.8.3. + * Adjust rules and watch files to include trailing _release in + upstream tarballs. + * Drop Sourceforge as alternate upstream source in watch file. + * Resolve all dependencies (not only build-dependencies) in + debian/rules. + * Use (and build-depend on) Boost 1.39 libraries (new default 1.40 + fails in translate_exception.hpp line 34). + + -- Jonas Smedegaard Wed, 23 Sep 2009 12:04:12 +0200 + +python-visual (1:5.11-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches/2001_use_multithreaded_boost.patch: + - Recent version of boost1.39 removed the redundant "-mt" decorations + from its libraries, it is no longer needed to link against the + mangled ones, thus removing the related patch (Closes: #545607). + + -- Luca Falavigna Sat, 19 Sep 2009 15:21:39 +0200 + +python-visual (1:5.11-1) unstable; urgency=low + + * New upstream release. + * Add note on DEB_MAINTAINER_MODE to README.source. + * Fix typo in README.source: new new. + * Update local CDBS snippets: + + Enhance package-relations.mk to support all binary package + relations (except -indep ones) + + Extend package-relation cleanup to include debhelper 6 and 7.0.1 + + Implement fail-source-not-repackaged rule in upstream-tarball.mk + + Update URL to draft DEP5 format in copyright-check.mk output + * Rewrite copyright to use DEP5 r54 proposed machine-readable format. + + -- Jonas Smedegaard Sat, 20 Jun 2009 17:58:14 +0200 + +python-visual (1:5.1-1) unstable; urgency=low + + * New upstream release. + * Reformat debian/copyright to conform to proposal DEP5 rev. 48. + * Simplify watch file slightly. + * Add patch 2001 to fix FTBFS: Append -mt to all boost linkage to + unconditionally use multithreaded libs (needed since boost 1.37.0). + * Add epoch to upstream version (apparently double-digits have higher + rank than single-digit). + * Prepend git:// to Vcs-Git stanza in control, thanks to lintian. + + -- Jonas Smedegaard Tue, 26 May 2009 11:08:52 +0200 + +python-visual (5.03~rc-2) unstable; urgency=low + + * Avoid installing development files (was done in 5.03~rc-1 but forgot + to mention in changelog - and was done too late leading to broken + pycentral routine). + + -- Jonas Smedegaard Sat, 14 Mar 2009 03:46:50 +0100 + +python-visual (5.03~rc-1) unstable; urgency=low + + [ Jonas Smedegaard ] + * New upstream release. + * Update local cdbs snippets: + + Drop buildcore.mk override, and instead add DEB_MAINTAINER_MODE in + debian/rules (thanks to Romain Beauxis). + + Fix applying buildinfo only once. + + Major improvements to copyright-check, including new versioned + build-dependency on devscripts. Update debian/copyright_hints. + + Switch from simple-patchsys.mk to patchsys-quilt.mk. Renumber and + unfuzz patches, and document new scheme in debian/patches/README. + + Add new snippet update-tarball, implementing get-orig-source and + more. + + Switch from autotools.mk to new local snippet python-autotools.mk. + + Change python hints in debian/control to build for all Python + versions (instead of only currently default one). + + Add new snippet package-relations.mk to cleanup dependency + duplicates and -1 versions. Define all build-dependencies in + debian/rules to get them included in the cleanup routine and to + make it possible to add comments to each dependency. + + Relax python-central and python-support build-dependencies in + python-autotools.mk. + + Add debian/README.cdbs-tweaks documenting local tweaks. + + run dh_py* scripts before dh_installinit (see bug#494288). + + Avoid dashes (use underscore instead) in internal variable names. + * Bump debhelper compatibility level to 6 (was 5). + * Rewrite debian-copyright to use new proposed format. + * Extend watch file to support beta and release candidates. + * Use new source URL (and keep old one too) in watch file and + debian/copyright. + * Build-depend (and depend) on python-numpy (not python-numeric or + python-numarray). Closes: bug#478461, thanks to Matthias Klose. + * Build-depend on libgtkglextmm-x11-1.2-dev (and not on gtkglarea-dev + or libgtk1.2-dev), libglibmm-2.4-dev, libpangomm-1.4-dev, + libglademm-2.4-dev, libpango1.0-dev and libfreetype6-dev. + * Build-depend on libboost-python1.35-dev, libboost-signals1.35-dev + and libboost1.35-thread-dev (and not libboost-python-dev). + * Drop patch 1004 (gcc 4.3 fix) no longer needed. + * Drop patch 1001 (html docs path adjustment), and instead just avoid + (now no-op) outer index page. + * Build-depend on libglu1-mesa-dev (and not old transitional libglu1- + xorg-dev), thanks to lintian. + * Use doc-base section Programming/Python (not Apps/Programming), + thanks to lintian. + * Install authors.txt as documentation, and avoid user-irrelevant + README. + * Bump standards-version to 3.8.1. + * Semi-auto-update debian/control to apply changes contained in above: + DEB_MAINTAINER_MODE=1 fakeroot debian/rules clean + + -- Jonas Smedegaard Sat, 14 Mar 2009 03:12:32 +0100 + +python-visual (3.2.9-4.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches/04_gcc43_fix.patch: + + Explicitly define visual::lock to prevent + FTBFS with g++ 4.3. (Closes: #455680) + + -- Kumar Appaiah Sun, 23 Mar 2008 15:27:46 +0530 + +python-visual (3.2.9-4) unstable; urgency=low + + * Simplify the copyright check as suggested by Kurt Roeckx. + (Closes: #456350) + * Fix debian/watch. + + -- Torsten Werner Fri, 28 Dec 2007 14:50:24 +0100 + +python-visual (3.2.9-3) unstable; urgency=low + + * Switch to pycentral. (Closes: #373365) + * Update Vcs and Homepage headers in debian/control. + * Switch to debhelper 5. + + -- Torsten Werner Sun, 09 Dec 2007 21:44:25 +0100 + +python-visual (3.2.9-2) unstable; urgency=low + + * Add XS-VCS-* header. + * Fix the last upload, it was broken. + + -- Torsten Werner Fri, 05 Oct 2007 22:15:55 +0200 + +python-visual (3.2.9-1) unstable; urgency=low + + * New upstream version. (Closes: #352193) + * Add myself to Uploaders. + * Apply Ubuntu patch: + - Rebuild with boost 1.34.1 (Closes: #425922) + - Remove extra , from Build-Depends. + * Fix long description thanks to Jonas Smedegaard. (Closes: #352191) + * Update debian/copyright_hints. + + -- Torsten Werner Fri, 05 Oct 2007 21:08:54 +0200 + +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-5.12.orig/debian/rules +++ python-visual-5.12/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005-2009 Jonas Smedegaard +# Description: Main Debian packaging script for python-visual +# +# 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. + +DEB_BUILDDIR = build +DEB_PYTHON_SYSTEM = pycentral + +ifneq (,$(DEB_MAINTAINER_MODE)) + # Enable stuff not policy compliant (eg. unsuitable for build daemons) + DEB_COPYRIGHT_CHECK_STRICT = yes + DEB_AUTO_UPDATE_DEBIAN_CONTROL = yes +endif +include debian/cdbs/1/rules/upstream-tarball.mk +include debian/cdbs/1/rules/copyright-check.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include debian/cdbs/1/class/python-autotools.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include debian/cdbs/1/rules/buildinfo.mk + +mainpkg = python-visual + +DEB_UPSTREAM_URL = http://www.vpython.org/contents/download +DEB_UPSTREAM_PACKAGE = visual +DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = s/~rc/_candidate/;/_/||s/-([\d.]+)/\-$$1_release/ +DEB_UPSTREAM_TARBALL_EXTENSION = tar.bz2 +DEB_UPSTREAM_TARBALL_MD5 = 8661841d7d71d4a84d01e28581b8f9fe + +DEB_CONFIGURE_EXTRA_FLAGS = --disable-docs --with-example-dir="/usr/share/doc/$(mainpkg)/examples" +#DEB_INSTALL_EXAMPLES_$(mainpkg) = examples/*.py +DEB_COMPRESS_EXCLUDE = .py + +# build-related and deprecated README +DEB_INSTALL_DOCS_ALL = +DEB_INSTALL_DOCS_ALL += authors.txt + +# Use unversioned Boost libs if possible +boostver = 1.39 + +# Drop development files +install/$(mainpkg):: + find debian/$(mainpkg)/usr -regex '.*\.la' -exec rm '{}' ';' + +# 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 + +# Needed both by upstream build (or test) process and at runtime +CDBS_DEPENDS := python-numpy +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), $(CDBS_DEPENDS) + +# Needed by upstream build process +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libgtkglextmm-x11-1.2-dev (>= 1.2), libglibmm-2.4-dev, libpangomm-1.4-dev, libglademm-2.4-dev, libpango1.0-dev, libfreetype6-dev +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libboost-python$(boostver)-dev, libboost-signals$(boostver)-dev, libboost-thread$(boostver)-dev +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libglu1-mesa-dev | xlibmesa-glu-dev | libglu-dev + +# Needed (seldom) at runtime +# idle needed in example vpython script +CDBS_SUGGESTS = idle + +# Resolve, cleanup and apply CDBS-declared dependencies +include debian/cdbs/1/rules/package-relations.mk --- python-visual-5.12.orig/debian/README.source +++ python-visual-5.12/debian/README.source @@ -0,0 +1,52 @@ +Building this package for Debian +-------------------------------- + +This source package uses quilt to apply and remove its patches. Please +refer to /usr/share/doc/quilt/README.source for information about how to +use quilt for source packages. + + +Developing this package for Debian +---------------------------------- + +The source of this package is developed using git and the helper tool +git-buildpackage, with all official releases tagged and signed and +binary diffs of tarballs stored using pristine-tar. This is documented +below /usr/share/doc/git-buildpackage/manual-html/ . + +A custom build target shows current upstream and packaging versions: + + debian/rules print-version + +Current upstream tarball can be prepared using this other build target: + + debian/rules get-orig-source + +To switch to newer upstream source, first add a dummy changelog entry +and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: + + dch -v ${new_upstream_version}-1 "Dummy changelog entry" + sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules + debian/rules get-orig-source + +Store new md5sum to help ensure identical source is received later. + +Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful +during development of the package, but unfit for normal builds. This +typically includes the CDBS feature of auto-updating debian/control with +CDBS-related build-dependencies, which is forbidden by Debian Policy as +build environment must not change during automated builds. + + +Maintaining packaging build routines +------------------------------------ + +This source package wraps debhelper commands and other tedious parts of +the build routines using the CDBS framework. Please refer to the actual +makefile snippets included from debian/rules for details on their +purpose and ways to override defaults. Additionally, makefile snippets +included from below /usr/share/cdbs may also be documented in +/usr/share/doc/cdbs/cdbs-doc.pdf.gz . + + + -- Jonas Smedegaard Thu, 26 Feb 2009 21:28:29 +0100 --- python-visual-5.12.orig/debian/README.Debian +++ python-visual-5.12/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-5.12.orig/debian/copyright +++ python-visual-5.12/debian/copyright @@ -0,0 +1,174 @@ +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=54 +Name: Visual +Contact: David Scherer +Source: http://www.vpython.org/contents/download/ + http://downloads.sourceforge.net/visualpython/ + +Copyright: 2000-2003, David Scherer and others + 2003-2006, Jonathan Brandmeyer and others +License: other-MIT + +Files: dependencies/threadpool/* +Copyright: 2005-2007, Philipp Henkel +License: other-Boost-1 + +Files: Makefile.in + ./aclocal.m4 + ./configure +Copyright: 1994-2006, Free Software Foundation, Inc. +License: GAP + +Files: ./config.guess + ./config.sub + ./missing + ./ltmain.sh + ./py-compile +Copyright: 1992-2006, Free Software Foundation, Inc +License: GPL-2+ or other-Autoconf + +Files: ./acinclude.m4 +Copyright: 1999-2004, Free Software Foundation, Inc. +License: GPL-2+ + +Files: ./install-sh +Copyright: 1994, X Consortium +License: other-MIT-X + +Files: src/gtk2/random_device.cpp + src/win32/winrandom_device.cpp +Copyright: 2000, Jens Maurer +License: other-MIT-random_device + +Files: src/python/num_util.cpp + include/python/num_util.hpp +Copyright: 2003, Rhys Goldstein, Chris Seymour and Phil Austin. + 2006, Phil Austin (http://www.eos.ubc.ca/personal/paustin) +License: other-Boost-1 + +Files: include/GL/glext.h +Copyright: 2007, The Khronos Group Inc +License: other-MIT-OpenGL + +Files: debian/* +Copyright: 2003-2009, Jonas Smedegaard +License: GPL-2+ + +Files: debian/cdbs/1/class/autotools* + debian/cdbs/1/class/makefile* +Copyright: 2002-2003, Colin Walters + 2003,2008, Jonas Smedegaard +License: GPL-2+ + +License: other-Boost-1 + 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. + +License: GAP + This file is free software; the Free Software Foundation gives + unlimited permission to copy and/or distribute it, with or without + modifications, as long as this notice is preserved. + +License: GPL-2+ + This file 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 of the License, or + (at your option) any later version. + . + On Debian systems the full text of the GNU General Public License can + be found in the `/usr/share/common-licenses/GPL' file. + +License: other-Autoconf + As a special exception to the GNU General Public License, if you + distribute this file as part of a program that contains a + configuration script generated by Autoconf, you may include it under + the same distribution terms that you use for the rest of that program. + +License: other-MIT + 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 names of the authors may not be + used in advertising or publicity pertaining to distribution of the + software without specific, written prior permission. + . + THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, + INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN + NO EVENT SHALL THE AUTHORS 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. + +License: other-MIT-random_device + Permission to use, copy, modify, sell, and distribute this software + is hereby granted without fee provided that the above copyright notice + appears in all copies and that both that copyright notice and this + permission notice appear in supporting documentation, + +License: other-MIT-X + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + 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 AND NONINFRINGEMENT. IN NO EVENT SHALL THE + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + . + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + . + . + FSF changes to this file are in the public domain. + +License: other-MIT-OpenGL + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and/or associated documentation files (the + "Materials"), to deal in the Materials without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Materials, and to + permit persons to whom the Materials are furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Materials. + . + THE MATERIALS ARE 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 AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. --- python-visual-5.12.orig/debian/copyright_hints +++ python-visual-5.12/debian/copyright_hints @@ -0,0 +1,531 @@ +Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION +Name: Untrusted draft - double-check copyrights yourself! + +Files: HACKING.txt + INSTALL.txt + Makefile.am + README + authors.txt + bin/vpython.in + configure.ac + debian/README.Debian + debian/README.source + debian/TODO + debian/compat + debian/control + debian/control.in + debian/doc-base + debian/gbp.conf + debian/install + debian/patches/1002_unquieten_compile.patch + debian/patches/1003_include_python_header.patch + debian/patches/README + debian/patches/series + debian/pycompat + debian/watch + dependencies/Readme.txt + dependencies/threadpool/CHANGE_LOG + dependencies/threadpool/CVS/Entries + dependencies/threadpool/CVS/Repository + dependencies/threadpool/CVS/Root + dependencies/threadpool/TODO + dependencies/threadpool/include/CVS/Entries + dependencies/threadpool/include/CVS/Repository + dependencies/threadpool/include/CVS/Root + dependencies/threadpool/include/threadpool/CVS/Entries + dependencies/threadpool/include/threadpool/CVS/Repository + dependencies/threadpool/include/threadpool/CVS/Root + dependencies/threadpool/include/threadpool/detail/CVS/Entries + dependencies/threadpool/include/threadpool/detail/CVS/Repository + dependencies/threadpool/include/threadpool/detail/CVS/Root + docs/Makefile.am + docs/index.html + docs/visual/VPython_Intro.pdf + docs/visual/VisualIntro.html + docs/visual/VisualRef-1.gif + docs/visual/VisualRef-2.gif + docs/visual/VisualRef-3.gif + docs/visual/VisualRef-4.gif + docs/visual/VisualRef-6.gif + docs/visual/VisualRef-7.gif + docs/visual/VisualRef.css + docs/visual/arrow.html + docs/visual/axes.gif + docs/visual/box.html + docs/visual/color.html + docs/visual/cone.html + docs/visual/controls.html + docs/visual/convex.html + docs/visual/curve.html + docs/visual/cylinder.html + docs/visual/defaults.html + docs/visual/delete.html + docs/visual/display.html + docs/visual/ellipsoid.html + docs/visual/faces.html + docs/visual/factorial.html + docs/visual/files.html + docs/visual/float.html + docs/visual/frame.html + docs/visual/graph.html + docs/visual/helix.html + docs/visual/index.html + docs/visual/keyboard.html + docs/visual/label.html + docs/visual/lights.html + docs/visual/materials.html + docs/visual/mouse.html + docs/visual/mouse_click.html + docs/visual/mouse_drag.html + docs/visual/new_features.html + docs/visual/options.html + docs/visual/points.html + docs/visual/primitives.html + docs/visual/pyramid.html + docs/visual/rate.html + docs/visual/ring.gif + docs/visual/ring.html + docs/visual/rotation.html + docs/visual/sphere.html + docs/visual/spherebox.gif + docs/visual/vector.html + examples/Makefile.am + examples/bounce.py + examples/bounce2.py + examples/boxlighttest.py + examples/colorsliders.py + examples/controlstest.py + examples/convex.py + examples/crossproduct.py + examples/crystal.py + examples/dipole.py + examples/doublependulum.py + examples/drape.py + examples/faces_cone.py + examples/faces_heightfield.py + examples/gas.py + examples/glinfo.py + examples/graphtest.py + examples/gyro.py + examples/gyro2.py + examples/hanoi.py + examples/labels.py + examples/lathe.py + examples/lorenz.py + examples/mandelbrot.py + examples/material_test.py + examples/orbit.py + examples/planar.py + examples/randombox.py + examples/stars.py + examples/stonehenge.py + examples/texttest.py + examples/texture_and_lighting.py + examples/texturetest.py + examples/tictac.py + examples/tictacdat.py + examples/toroid.py + examples/toroid_drag.py + examples/wave.py + include/.cvsignore + include/axial.hpp + include/gtk2/.cvsignore + include/gtk2/font_renderer.hpp + include/mac/display.hpp + include/mac/font_renderer.hpp + include/material.hpp + include/mouse_manager.hpp + include/python/.cvsignore + include/python/arrayprim.hpp + include/python/gil.hpp + include/python/num_util_impl.hpp + include/python/points.hpp + include/python/wrap_vector.hpp + include/rectangular.hpp + include/stamp-h1 + include/text.hpp + include/util/.cvsignore + include/util/atomic_queue.hpp + include/util/gl_enable.hpp + include/util/gl_extensions.hpp + include/util/gl_free.hpp + include/util/icososphere.hpp + include/util/rate.hpp + include/util/render_manager.hpp + include/util/shader_program.hpp + include/vpython-config.h + include/win32/display.hpp + include/win32/font_renderer.hpp + site-packages/visual/Makefile.am + site-packages/visual/controls.py + site-packages/visual/crayola.py + site-packages/visual/earth.tga + site-packages/visual/factorial.py + site-packages/visual/filedialog.py + site-packages/visual/graph.py + site-packages/visual/logo_t.gif + site-packages/visual/materials.py + site-packages/visual/pan.png + site-packages/visual/primitives.py + site-packages/visual/site_settings.py + site-packages/visual/text.py + site-packages/visual/turbulence3.tga + site-packages/visual/ui.py + site-packages/visual/vpython.glade + site-packages/visual/vpython_notoolbar.glade + site-packages/visual/wood.tga + src/Makefile.in + src/core/.cvsignore + src/core/CVS/Entries + src/core/CVS/Repository + src/core/CVS/Root + src/core/axial.cpp + src/core/light.cpp + src/core/material.cpp + src/core/mouse_manager.cpp + src/core/rectangular.cpp + src/core/text.cpp + src/core/util/.cvsignore + src/core/util/CVS/Entries + src/core/util/CVS/Repository + src/core/util/CVS/Root + src/core/util/atomic_queue.cpp + src/core/util/gl_extensions.cpp + src/core/util/gl_free.cpp + src/core/util/render_manager.cpp + src/core/util/shader_program.cpp + src/gtk2/.cvsignore + src/gtk2/CVS/Entries + src/gtk2/CVS/Repository + src/gtk2/CVS/Root + src/gtk2/display.cpp + src/gtk2/font_renderer.cpp + src/gtk2/makefile + src/gtk2/rate.cpp + src/gtk2/site-packages.pth + src/gtk2/ubuntu_makefile + src/linux-symbols.map + src/osx-symbols.txt + src/python/.cvsignore + src/python/CVS/Entries + src/python/CVS/Repository + src/python/CVS/Root + src/python/arrayprim.cpp + src/python/num_util_impl_numarray.cpp + src/python/num_util_impl_numeric.cpp + src/python/points.cpp + src/win32/CVS/Entries + src/win32/CVS/Repository + src/win32/CVS/Root + src/win32/font_renderer.cpp + src/win32/winrate.cpp +Copyright: *No copyright* +License: UNKNOWN + +Files: include/cylinder.hpp + include/display_kernel.hpp + include/ellipsoid.hpp + include/frame.hpp + include/label.hpp + include/primitive.hpp + include/pyramid.hpp + include/renderable.hpp + include/ring.hpp + include/sphere.hpp + src/core/arrow.cpp + src/core/box.cpp + src/core/cone.cpp + src/core/cylinder.cpp + src/core/display_kernel.cpp + src/core/ellipsoid.cpp + src/core/frame.cpp + src/core/label.cpp + src/core/primitive.cpp + src/core/pyramid.cpp + src/core/renderable.cpp + src/core/ring.cpp + src/core/sphere.cpp + src/core/util/extent.cpp + src/core/util/rgba.cpp + src/core/util/tmatrix.cpp + src/core/util/vector.cpp + src/gtk2/render_surface.cpp + src/python/convex.cpp + src/python/cvisualmodule.cpp + src/win32/windisplay.cpp +Copyright: 2003-2004, by Jonathan Brandmeyer and others + 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: include/gtk2/util/timer.hpp + include/light.hpp + include/python/slice.hpp + include/util/displaylist.hpp + include/util/errors.hpp + include/util/quadric.hpp + include/util/sorted_model.hpp + include/util/texture.hpp + include/util/timer.hpp + include/wrap_gl.hpp + src/core/util/displaylist.cpp + src/core/util/errors.cpp + src/core/util/quadric.cpp + src/core/util/texture.cpp + src/python/slice.cpp +Copyright: 2004, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: dependencies/threadpool/COPYING + dependencies/threadpool/include/threadpool.hpp + dependencies/threadpool/include/threadpool/detail/future.hpp + dependencies/threadpool/include/threadpool/detail/locking_ptr.hpp + dependencies/threadpool/include/threadpool/detail/pool_core.hpp + dependencies/threadpool/include/threadpool/detail/scope_guard.hpp + dependencies/threadpool/include/threadpool/detail/worker_thread.hpp + dependencies/threadpool/include/threadpool/future.hpp + dependencies/threadpool/include/threadpool/pool.hpp + dependencies/threadpool/include/threadpool/pool_adaptors.hpp + dependencies/threadpool/include/threadpool/scheduling_policies.hpp + dependencies/threadpool/include/threadpool/shutdown_policies.hpp + dependencies/threadpool/include/threadpool/size_policies.hpp + dependencies/threadpool/include/threadpool/task_adaptors.hpp +Copyright: 2005-2007, Philipp Henkel +License: BSL-1.0 + +Files: docs/visual/images/arrow.jpg + docs/visual/images/box.jpg + docs/visual/images/cone.jpg + docs/visual/images/controls.jpg + docs/visual/images/convex.jpg + docs/visual/images/cylinder.jpg + docs/visual/images/ellipsoid.jpg + docs/visual/images/faces.jpg + docs/visual/images/graph.jpg + docs/visual/images/helix.jpg + docs/visual/images/label.jpg + docs/visual/images/material_etc.jpg + docs/visual/images/pyramid.jpg + docs/visual/images/sphere.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + .Id%A^z&Ca~1Om&Ed#Cc'Ij4Vx&IlAe@e Ek*Qw;c*R{Gp@j>i A l !!H!u!!!"'"U"""# +License: UNKNOWN + +Files: include/arrow.hpp + include/box.hpp + include/cone.hpp + include/gtk2/display.hpp + include/gtk2/render_surface.hpp + include/python/convex.hpp + include/util/extent.hpp + include/util/rgba.hpp + include/util/thread.hpp + include/util/tmatrix.hpp + include/util/vector.hpp +Copyright: 2004, by Jonathan Brandmeyer and others + 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: include/mouseobject.hpp + include/python/faces.hpp + include/python/scalar_array.hpp + src/core/mouseobject.cpp + src/core/util/icososphere.cpp + src/python/curve.cpp + src/python/faces.cpp + src/python/scalar_array.cpp + src/python/vector_array.cpp +Copyright: 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: Makefile.in + docs/Makefile.in + examples/Makefile.in + site-packages/visual/Makefile.in +Copyright: 1994-2002 +License: UNKNOWN (GENERATED FILE) + +Files: src/python/wrap_display_kernel.cpp + src/python/wrap_rgba.cpp + src/python/wrap_vector.cpp +Copyright: 2003-2004, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: debian/cdbs/1/class/autotools-vars.mk + debian/cdbs/1/class/makefile.mk +Copyright: 2002-2003, Colin Walters + 2003,2008, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/class/autotools.mk + debian/cdbs/1/class/makefile-vars.mk +Copyright: 2002-2003, Colin Walters + 2008, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/class/python-autotools.mk + debian/cdbs/1/rules/package-relations.mk +Copyright: 2008, Jonas Smedegaard +License: GPL + +Files: include/python/curve.hpp + src/python/wrap_arrayobjects.cpp +Copyright: 2003-2004, Jonathan Brandmeyer and others + 2000-2003, by David Scherer and others +License: UNKNOWN + +Files: src/gtk2/timer.cpp + src/win32/wintimer.cpp +Copyright: 2004, by Jonathan Brandmeyer +License: UNKNOWN + +Files: include/python/numeric_texture.hpp + src/python/numeric_texture.cpp +Copyright: 2006, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: src/gtk2/random_device.cpp + src/win32/winrandom_device.cpp +Copyright: Jens Maurer 2000 +License: UNKNOWN + +Files: license.txt +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + 2003, by Rhys Goldstein, Chris Seymour and + 2000-2004 +License: BSL-1 (GENERATED FILE) + +Files: dependencies/threadpool/LICENSE_1_0.txt +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +License: BSL-1 (GENERATED FILE) + +Files: src/python/num_util.cpp +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE + 2006, Phil Austin (http://www.eos.ubc.ca/personal/paustin) +License: BSL-1.0 (GENERATED FILE) + +Files: include/python/num_util.hpp +Copyright: notices in the Software and this entire statement, including + HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +License: BSL-1.0 (GENERATED FILE) + +Files: missing +Copyright: 1996-1997, 1999-2000, 2002-2005 +License: GPL (GENERATED FILE) + +Files: py-compile +Copyright: 2000-2001, 2003-2005, Free Software Foundation, Inc +License: GPL (GENERATED FILE) + +Files: acinclude.m4 +Copyright: 1999-2004 +License: GPL + +Files: debian/cdbs/1/class/python-vars.mk +Copyright: 2003,2008, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/rules/buildinfo.mk +Copyright: 2004-2007, Jonas Smedegaard +License: GPL + +Files: debian/rules +Copyright: 2005-2009, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/rules/upstream-tarball.mk +Copyright: 2007-2008, Jonas Smedegaard +License: GPL + +Files: debian/cdbs/1/rules/copyright-check.mk +Copyright: \s*(\S.*?)\s*\ +License: GPL + +Files: config.guess +Copyright: 1992-1999, + 1992-2001 +License: GPL-2+ (GENERATED FILE) + +Files: config.sub +Copyright: 1992-1999 +License: GPL-2+ (GENERATED FILE) + +Files: ltmain.sh +Copyright: 1996-2001, 2003-2007, 2008 Free Software Foundation, Inc +License: GPL-2+ + +Files: aclocal.m4 +Copyright: 1996-2004, + 1996-2001, 2003-2005 +License: GPL-2+ + +Files: install-sh +Copyright: 1994, X Consortium +License: MIT/X11 (BSD like) + +Files: configure +Copyright: 1992-1996, 1998-2001 +License: UNKNOWN (GENERATED FILE) + +Files: include/config.h.in +Copyright: 2000-2003, by David Scherrer and others +License: UNKNOWN (GENERATED FILE) + +Files: docs/visual/license.txt +Copyright: 1996. The Regents of the University of California. All + 2000, by David Scherer +License: UNKNOWN + +Files: docs/visual/images/ring.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + .Id%A^z&Ca~1Om&Ed#Cc'Ij4Vx&IlAe@e Ek*Qw;c*R{Gp@j>i A l !!H!u!!!"'"U"""# + =VoapkP.2MYHj)9gOvo2J[?G^N|B?=YY|qlozS}Hs#X~Fp{P9.Y8;Z O6cwfvlWflWfvw/?.D%n?plcfog(Dvdb?4~I=.#cw>4kC1FaV|>840G'hM27G!#7 +License: UNKNOWN + +Files: docs/visual/images/curve.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + .Id%A^z&Ca~1Om&Ed#Cc'Ij4Vx&IlAe@e Ek*Qw;c*R{Gp@j>i A l !!H!u!!!"'"U"""# + ld~cAF'?v8yyyzk/,fb"bPf6*lWfvlWfDi)ui!T;x[|GcOh$WXz20;C0kc;naH{8Lcy;c,IKH#6liy/c)= +License: UNKNOWN + +Files: docs/visual/images/points.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + >\R*:yV,r_Li['KyGah2HD0W>J^rA@83FQzN>Mgf#R~'8qp56lyfGL>u=}5RX(}mf\CyW%g` +License: UNKNOWN + +Files: docs/visual/images/filedialog.jpg +Copyright: 1998, Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_.\XYZ LVPWmeassig CRT curv + t2[k"-}=no+P.}}sw_r?[=.coOV}O+/ +License: UNKNOWN + +Files: include/python/vector_array.hpp +Copyright: 2003-2004, Jonathan Brandmeyer +License: UNKNOWN + +Files: src/python/wrap_primitive.cpp +Copyright: 2003-2005, by Jonathan Brandmeyer and others +License: UNKNOWN + +Files: dependencies/threadpool/README +Copyright: 2005-2007, Philipp Henkel +License: UNKNOWN + +Files: include/GL/glext.h +Copyright: 2007, The Khronos Group Inc + HOLDERS BE LIABLE FOR ANY +License: UNKNOWN + +Files: examples/flower128.tga +Copyright: 2;",-:TD2EpmNT~suIKVKuhlaP<=M?7<,,>WJ=JirGFKJKGUfkpjkihkq_~HF2Y8=O%3R.Eo2OVKfO +License: UNKNOWN + +Files: site-packages/visual/__init__.py +Copyright: David Scherer and others, see license.txt +License: UNKNOWN + +Files: NEWS.txt +Copyright: notices (license.txt and LIBSIGC_COPYING.txt) have been added to +License: UNKNOWN + --- python-visual-5.12.orig/debian/pycompat +++ python-visual-5.12/debian/pycompat @@ -0,0 +1 @@ +2 --- python-visual-5.12.orig/debian/watch +++ python-visual-5.12/debian/watch @@ -0,0 +1,4 @@ +# Run the "uscan" command to check for upstream updates and more. +version=3 +opts=uversionmangle=s/[_.]beta/~beta/;s/[_.]candidate/~rc/;s/[_.]release// \ + http://www.vpython.org/contents/download/visual-(\d.*)\.tar\.bz2 debian --- python-visual-5.12.orig/debian/doc-base +++ python-visual-5.12/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: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-visual/html/index.html +Files: /usr/share/doc/python-visual/html/*.html --- python-visual-5.12.orig/debian/install +++ python-visual-5.12/debian/install @@ -0,0 +1 @@ +docs/visual/* usr/share/doc/python-visual/html/ --- python-visual-5.12.orig/debian/cdbs/1/class/autotools-vars.mk +++ python-visual-5.12/debian/cdbs/1/class/autotools-vars.mk @@ -0,0 +1,114 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters +# Copyright © 2003,2008 Jonas Smedegaard +# Description: Common variables for GNU autoconf+automake packages +# +# 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_autotools_vars +_cdbs_class_autotools_vars = 1 + +#include $(_cdbs_class_path)/makefile.mk$(_cdbs_makefile_suffix) +include debian/cdbs/1/class/makefile.mk + +DEB_MAKE_INSTALL_TARGET = install DESTDIR=$(cdbs_curpkgdestdir) +DEB_MAKE_CLEAN_TARGET = distclean +#DEB_MAKE_CHECK_TARGET = check + +DEB_AC_AUX_DIR = $(DEB_SRCDIR) + +DEB_CONFIGURE_SCRIPT = $(CURDIR)/$(DEB_SRCDIR)/configure +DEB_CONFIGURE_SCRIPT_ENV = CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" +DEB_CONFIGURE_NORMAL_ARGS = --build=$(DEB_BUILD_GNU_TYPE) --prefix=$(DEB_CONFIGURE_PREFIX) --includedir=$(DEB_CONFIGURE_INCLUDEDIR) --mandir=$(DEB_CONFIGURE_MANDIR) --infodir=$(DEB_CONFIGURE_INFODIR) --sysconfdir=$(DEB_CONFIGURE_SYSCONFDIR) --localstatedir=$(DEB_CONFIGURE_LOCALSTATEDIR) --libexecdir=$(DEB_CONFIGURE_LIBEXECDIR) --disable-maintainer-mode --disable-dependency-tracking + +# Provide --host only if different from --build, as recommended in +# autotools-dev README.Debian: When provided (even if equal) autotools +# 2.52+ switches to cross-compiling mode. + +ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) +DEB_CONFIGURE_NORMAL_ARGS += --host=$(DEB_HOST_GNU_TYPE) +endif + +### TODO: Fix the above to also handle 2.13 which needs other tweaks +### (read autotools-dev README.Debian!). For now we conflict with +### autoconf2.13! + +# This magic is required because otherwise configure wants to analyse +# $0 to see whether a VPATH build is needed. This tells it with +# absolute certainly that this is NOT a VPATH build. +DEB_CONFIGURE_NORMAL_ARGS += $(if $(subst $(DEB_SRCDIR),,$(cdbs_make_curbuilddir)),,--srcdir=.) + +DEB_CONFIGURE_INVOKE = cd $(cdbs_make_curbuilddir) && $(DEB_CONFIGURE_SCRIPT_ENV) $(DEB_CONFIGURE_SCRIPT) $(DEB_CONFIGURE_NORMAL_ARGS) +DEB_CONFIGURE_PREFIX =/usr +DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include" +DEB_CONFIGURE_MANDIR ="\$${prefix}/share/man" +DEB_CONFIGURE_INFODIR ="\$${prefix}/share/info" +DEB_CONFIGURE_SYSCONFDIR =/etc +DEB_CONFIGURE_LOCALSTATEDIR =/var +DEB_CONFIGURE_LIBEXECDIR ="\$${prefix}/lib/$(DEB_SOURCE_PACKAGE)" +DEB_CONFIGURE_EXTRA_FLAGS = + +ifneq (, $(DEB_AUTO_UPDATE_LIBTOOL)) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), libtool +endif + +ifneq (:, $(DEB_AUTO_UPDATE_ACLOCAL):$(DEB_AUTO_UPDATE_AUTOMAKE)) +ifeq ($(DEB_AUTO_UPDATE_ACLOCAL), $(DEB_AUTO_UPDATE_AUTOMAKE)) +# avoid duped build-dependencies +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), automake$(DEB_AUTO_UPDATE_ACLOCAL) +else +# either only one of them is required, or different versions are +ifneq (, $(DEB_AUTO_UPDATE_ACLOCAL)) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), automake$(DEB_AUTO_UPDATE_ACLOCAL) +endif +ifneq (, $(DEB_AUTO_UPDATE_AUTOMAKE)) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), automake$(DEB_AUTO_UPDATE_AUTOMAKE) +endif +endif +endif + +ifneq (:, $(DEB_AUTO_UPDATE_AUTOCONF):$(DEB_AUTO_UPDATE_AUTOHEADER)) +ifeq ($(DEB_AUTO_UPDATE_AUTOCONF), $(DEB_AUTO_UPDATE_AUTOHEADER)) +# avoid duped build-dependencies +ifeq ($(DEB_AUTO_UPDATE_AUTOCONF), 2.13) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), autoconf2.13 +else +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), autoconf +endif +else +# either only one of them is required, or different versions are +ifneq (, $(DEB_AUTO_UPDATE_AUTOCONF)) +ifeq ($(DEB_AUTO_UPDATE_AUTOCONF), 2.13) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), autoconf2.13 +else +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), autoconf +endif +endif +ifneq (, $(DEB_AUTO_UPDATE_AUTOHEADER)) +ifeq ($(DEB_AUTO_UPDATE_AUTOHEADER), 2.13) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), autoconf2.13 +else +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), autoconf +endif +endif +endif +endif + +endif --- python-visual-5.12.orig/debian/cdbs/1/class/makefile.mk +++ python-visual-5.12/debian/cdbs/1/class/makefile.mk @@ -0,0 +1,83 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters +# Copyright © 2003,2008 Jonas Smedegaard +# Description: Builds and cleans packages which have a Makefile +# +# 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_makefile +_cdbs_class_makefile = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) +#include $(_cdbs_class_path)/makefile-vars.mk$(_cdbs_makefile_suffix) +include debian/cdbs/1/class/makefile-vars.mk + +# TODO: Move these to buildcore.mk +cdbs_curpkgbuilddir = $(if $(DEB_BUILDDIR_$(cdbs_curpkg)),$(DEB_BUILDDIR_$(cdbs_curpkg)),$(DEB_BUILDDIR)) +cdbs_curpkgdestdir = $(if $(DEB_DESTDIR_$(cdbs_curpkg)),$(DEB_DESTDIR_$(cdbs_curpkg)),$(DEB_DESTDIR)) + +cdbs_make_multibuilds = $(sort $(DEB_MAKE_FLAVORS)) +cdbs_make_builddir_check = $(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),$(error DEB_MAKE_FLAVORS in use: DEB_BUILDDIR must be different from DEB_SRCDIR, and needs to be declared before including makefile.mk)) +cdbs_make_build_stamps = $(if $(cdbs_make_multibuilds),$(cdbs_make_builddir_check)$(patsubst %,debian/stamp-makefile-build/%,$(cdbs_make_multibuilds)),debian/stamp-makefile-build) +cdbs_make_install_stamps = $(if $(cdbs_make_multibuilds),$(cdbs_make_builddir_check)$(patsubst %,debian/stamp-makefile-install/%,$(cdbs_make_multibuilds)),debian/stamp-makefile-install) +cdbs_make_check_stamps = $(if $(cdbs_make_multibuilds),$(cdbs_make_builddir_check)$(patsubst %,debian/stamp-makefile-check/%,$(cdbs_make_multibuilds)),debian/stamp-makefile-check) +cdbs_make_clean_nonstamps = $(if $(cdbs_make_multibuilds),$(patsubst %,makefile-clean/%,$(cdbs_make_multibuilds)),makefile-clean) +cdbs_make_curflavor = $(filter-out %/,$(subst /,/ ,$@)) +cdbs_make_curbuilddir = $(if $(cdbs_make_multibuilds),$(subst @FLAVOR@,$(cdbs_make_curflavor),$(DEB_MAKE_BUILDDIRSKEL)),$(cdbs_curpkgbuilddir)) + +DEB_PHONY_RULES += makefile-clean $(cdbs_make_clean_nonstamps) + +pre-build:: + $(if $(cdbs_make_multibuilds),mkdir -p debian/stamp-makefile-build debian/stamp-makefile-install) + $(and $(cdbs_make_multibuilds),$(DEB_MAKE_CHECK_TARGET),mkdir -p debian/stamp-makefile-check) + +common-build-arch common-build-indep:: $(cdbs_make_build_stamps) +$(cdbs_make_build_stamps): + +$(DEB_MAKE_INVOKE) $(DEB_MAKE_BUILD_TARGET) + touch $@ + +cleanbuilddir:: makefile-clean +makefile-clean:: $(if $(cdbs_make_multibuilds),$(cdbs_make_clean_nonstamps)) + $(if $(cdbs_make_multibuilds),-rmdir --ignore-fail-on-non-empty debian/stamp-makefile-build debian/stamp-makefile-install,rm -f debian/stamp-makefile-build debian/stamp-makefile-install) + +$(cdbs_make_clean_nonstamps):: + $(if $(DEB_MAKE_CLEAN_TARGET),+-$(DEB_MAKE_INVOKE) -k $(DEB_MAKE_CLEAN_TARGET),@echo "DEB_MAKE_CLEAN_TARGET unset, not running clean") + $(if $(cdbs_make_multibuilds),rm -f $(@:makefile-clean%=debian/stamp-makefile-build%) $(@:makefile-clean%=debian/stamp-makefile-install%)) + +common-install-arch common-install-indep:: common-install-impl +common-install-impl:: $(cdbs_make_install_stamps) +$(cdbs_make_install_stamps):: + $(if $(DEB_MAKE_INSTALL_TARGET),+$(DEB_MAKE_INVOKE) $(DEB_MAKE_INSTALL_TARGET),@echo "DEB_MAKE_INSTALL_TARGET unset, skipping default makefile.mk common-install target") + $(if $(DEB_MAKE_INSTALL_TARGET),touch $@) + +ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) +common-build-arch common-build-indep:: $(cdbs_make_check_stamps) +$(cdbs_make_check_stamps) : debian/stamp-makefile-check% : debian/stamp-makefile-build% + $(if $(DEB_MAKE_CHECK_TARGET),+$(DEB_MAKE_INVOKE) $(DEB_MAKE_CHECK_TARGET),@echo "DEB_MAKE_CHECK_TARGET unset, not running checks") + $(if $(DEB_MAKE_CHECK_TARGET),touch $@) + +makefile-clean:: + $(if $(DEB_MAKE_CHECK_TARGET),$(if $(cdbs_make_multibuilds),-rmdir --ignore-fail-on-non-empty debian/stamp-makefile-check,rm -f debian/stamp-makefile-check)) + +$(cdbs_make_clean_nonstamps):: + $(if $(cdbs_make_multibuilds),rm -f $(@:makefile-clean%=debian/stamp-makefile-check%)) +endif + +endif --- python-visual-5.12.orig/debian/cdbs/1/class/python-autotools.mk +++ python-visual-5.12/debian/cdbs/1/class/python-autotools.mk @@ -0,0 +1,76 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2008 Jonas Smedegaard +# Description: Class to configure + build GNU autoconf+automake+python packages +# +# 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., 51 Franklin St, Fifth Floor, Boston, MA +# 02111-1307 USA. +# + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_python_autotools +_cdbs_class_python_autotools = 1 + +#include $(_cdbs_class_path)/python-vars.mk$(_cdbs_makefile_suffix) +include debian/cdbs/1/class/python-vars.mk + +# Flavors are used in implicit rules, so must be set before including makefile +DEB_MAKE_FLAVORS = $(cdbs_python_curpkg_build_versions) + +#include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix) +include debian/cdbs/1/class/autotools.mk + +# Declare Build-Deps for packages using this file +# FIXME: Resolve DEB_PYTHON_PACKAGES in build targets only +ifeq (,$(cdbs_python_pkg_check)$(DEB_PYTHON_ARCH_PACKAGES)) + ifneq (, $(cdbs_python_compile_version)) + CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python$(cdbs_python_compile_version)-dev, python (>= 2.3.5-11) + else + CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-dev (>= 2.3.5-11) + endif +else +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-all-dev (>= 2.3.5-11) +endif +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-support (>= 0.3.2) +else +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), python-central (>= 0.5.6) +endif + +DEB_CONFIGURE_SCRIPT_ENV += PYTHON="python$(cdbs_make_curflavor)" + +# This class can optionally use debhelper's commands. +# (if not, this build target should simply be ignored) +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: binary-install-python/% +$(patsubst %,binary-install-python/%,$(DEB_PACKAGES)) :: binary-install-python/%: +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) + dh_pysupport -p$(cdbs_curpkg) $(DEB_PYTHON_PRIVATE_MODULES_DIRS) $(DEB_PYTHON_PRIVATE_MODULES_DIRS_$(cdbs_curpkg)) +else + dh_pycentral -p$(cdbs_curpkg) +endif + +clean:: +ifeq (, $(cdbs_selected_pycompat)) + echo "$(cdbs_pycompat)" >debian/pycompat +endif # use pycompat + rm -rf python-build-stamp + +## TODO: Drop this when DEB_PYTHON_PACKAGES is only resolved in build targets +pre-build clean:: + $(cdbs_python_pkgresolve_check) + +endif --- python-visual-5.12.orig/debian/cdbs/1/class/autotools.mk +++ python-visual-5.12/debian/cdbs/1/class/autotools.mk @@ -0,0 +1,55 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters +# Copyright © 2008 Jonas Smedegaard +# Description: A class to configure and build GNU autoconf+automake packages +# +# 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_autotools +_cdbs_class_autotools = 1 + +include debian/cdbs/1/class/autotools-vars.mk +include $(_cdbs_class_path)/autotools-files.mk$(_cdbs_makefile_suffix) + +cdbs_configure_stamps = $(if $(cdbs_make_multibuilds),$(cdbs_make_builddir_check)$(patsubst %,debian/stamp-autotools/%,$(cdbs_make_multibuilds)),debian/stamp-autotools) + +# Overriden from makefile-vars.mk. We pass CFLAGS and friends to ./configure, so +# no need to pass them to make. +DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) -C $(cdbs_make_curbuilddir) + +pre-build:: + $(if $(cdbs_make_multibuilds),mkdir -p debian/stamp-autotools) + +common-configure-arch common-configure-indep:: common-configure-impl +common-configure-impl:: $(cdbs_configure_stamps) +$(cdbs_configure_stamps): + chmod a+x $(DEB_CONFIGURE_SCRIPT) + $(if $(call cdbs_streq,$(cdbs_make_curbuilddir),$(DEB_BUILDDIR_$(cdbs_curpkg))),,mkdir -p $(cdbs_make_curbuilddir)) + $(DEB_CONFIGURE_INVOKE) $(cdbs_configure_flags) $(DEB_CONFIGURE_EXTRA_FLAGS) $(DEB_CONFIGURE_USER_FLAGS) + $(if $(filter post,$(DEB_AUTO_UPDATE_LIBTOOL)),if [ -e $(cdbs_make_curbuilddir)/libtool ]; then cp -f /usr/bin/libtool $(cdbs_make_curbuilddir)/libtool; fi) + touch $@ + +makefile-clean:: + $(if $(cdbs_make_multibuilds),-rmdir --ignore-fail-on-non-empty debian/stamp-autotools,rm -f debian/stamp-autotools) + +$(cdbs_make_clean_nonstamps):: + $(if $(call cdbs_streq,$(cdbs_make_curbuilddir),$(DEB_BUILDDIR_$(cdbs_curpkg))),,-rmdir --ignore-fail-on-non-empty $(cdbs_make_curbuilddir)) + $(if $(cdbs_make_multibuilds),rm -f $(@:makefile-clean%=debian/stamp-autotools%)) +endif --- python-visual-5.12.orig/debian/cdbs/1/class/makefile-vars.mk +++ python-visual-5.12/debian/cdbs/1/class/makefile-vars.mk @@ -0,0 +1,72 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters +# Copyright © 2008 Jonas Smedegaard +# Description: Defines useful variables for packages which have a Makefile +# +# 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_makefile_vars +_cdbs_class_makefile_vars = 1 + +include $(_cdbs_class_path)/langcore.mk$(_cdbs_makefile_suffix) + +DEB_MAKE_MAKEFILE = +DEB_MAKE_ENVVARS = +DEB_MAKE_INVOKE = $(DEB_MAKE_ENVVARS) $(MAKE) $(if $(DEB_MAKE_MAKEFILE), -f $(DEB_MAKE_MAKEFILE),) -C $(cdbs_make_curbuilddir) CFLAGS=$(if $(CFLAGS_$(cdbs_curpkg)),"$(CFLAGS_$(cdbs_curpkg))","$(CFLAGS)") CXXFLAGS=$(if $(CXXFLAGS_$(cdbs_curpkg)),"$(CXXFLAGS_$(cdbs_curpkg))","$(CXXFLAGS)") CPPFLAGS=$(if $(CPPFLAGS_$(cdbs_curpkg)),"$(CPPFLAGS_$(cdbs_curpkg))","$(CPPFLAGS)") LDFLAGS=$(if $(LDFLAGS_$(cdbs_curpkg)),"$(LDFLAGS_$(cdbs_curpkg))","$(LDFLAGS)") + +# This variable is deprecated. +DEB_BUILD_MAKE_TARGET = +_cdbs_deprecated_vars += DEB_BUILD_MAKE_TARGET +# New in 0.2.8. +DEB_MAKE_BUILD_TARGET = $(DEB_BUILD_MAKE_TARGET) + +# If your Makefile provides an "install" target, you need to give the requisite commands +# here to install it into the staging directory. For automake-using programs, this +# looks like: install DESTDIR=$(DEB_DESTDIR) +# If you're using automake though, you likely want to be including autotools.mk instead +# of this file. +# For multi-flavored builds (see below) installed per-flavor, it looks like this: +# install DESTDIR=$(cdbs_curpkgdestdir) + +# This variable is deprecated. +DEB_CLEAN_MAKE_TARGET = clean +_cdbs_deprecated_vars += DEB_CLEAN_MAKE_TARGET +_cdbs_deprecated_DEB_CLEAN_MAKE_TARGET_default := $(DEB_CLEAN_MAKE_TARGET) +# New in 0.2.8. +DEB_MAKE_CLEAN_TARGET = $(DEB_CLEAN_MAKE_TARGET) + +# This variable is deprecated. +DEB_MAKE_TEST_TARGET = +_cdbs_deprecated_vars += DEB_MAKE_TEST_TARGET +# New in 0.2.8. +# New in 0.4.2. +DEB_MAKE_CHECK_TARGET = $(DEB_MAKE_TEST_TARGET) + +# If DEB_MAKE_FLAVORS is set compilation is done once per flavor. +# NB! This must be declared _before_ including makefile.mk +#DEB_MAKE_FLAVORS = light normal enhanced + +# If building multiple flavors, skeleton strings are used for +# DEB_BUILDDIR and DEB_DESTDIR, with @FLAVOR@ expanding to actual +# flavor. +DEB_MAKE_BUILDDIRSKEL = $(cdbs_curpkgbuilddir)/@FLAVOR@ +DEB_MAKE_DESTDIRSKEL = $(cdbs_curpkgdestdir)/@FLAVOR@ + +endif --- python-visual-5.12.orig/debian/cdbs/1/class/python-vars.mk +++ python-visual-5.12/debian/cdbs/1/class/python-vars.mk @@ -0,0 +1,109 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003,2008 Jonas Smedegaard +# Description: Defines useful variables for Python packages +# +# 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., 51 Franklin St, Fifth Floor, Boston, MA +# 02111-1307 USA. +# + + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_python_vars +_cdbs_class_python_vars = 1 + +include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix) + +DEB_PYTHON_PACKAGES = $(filter-out %-doc %-dev %-common, $(DEB_PACKAGES)) + +DEB_PYTHON_ARCH_PACKAGES = $(filter $(DEB_PYTHON_PACKAGES), $(DEB_ARCH_PACKAGES)) +DEB_PYTHON_INDEP_PACKAGES = $(filter $(DEB_PYTHON_PACKAGES), $(DEB_INDEP_PACKAGES)) + +## FIXME: Resolve DEB_PYTHON_PACKAGES in build targets only +# Avoid including buildcore.mk to not risk breaking when hopefully removing again +cdbs_python_streq = $(if $(filter-out xx,x$(subst $1,,$2)$(subst $2,,$1)x),,yes) +cdbs_python_packages_pre := $(DEB_PYTHON_ARCH_PACKAGES)$(DEB_PYTHON_INDEP_PACKAGES) +cdbs_python_pkgresolve_check = $(if $(call cdbs_python_streq,$(DEB_PYTHON_ARCH_PACKAGES)$(DEB_PYTHON_INDEP_PACKAGES),$(cdbs_python_packages_pre)),, $(warning Setting DEB_PYTHON_*PACKAGES after python-vars in included is currently unsupported)) +## TODO: Rephrase when DEB_PYTHON_PACKAGES is only resolved in build targets +cdbs_python_pkg_check = $(if $(DEB_PYTHON_ARCH_PACKAGES)$(DEB_PYTHON_INDEP_PACKAGES),, $(warning No Python packages found or declared - either rename binary packages or set DEB_PYTHON_PACKAGES (or one or both of DEB_PYTHON_ARCH_PACKAGES and DEB_PYTHON_INDEP_PACKAGES) before including python-vars.mk)) + +# check python system +cdbs_use_xs_field := $(shell grep -q "^XS-Python-Version:" debian/control && echo yes) +cdbs_selected_pycompat := $(shell if [ -e debian/pycompat ]; then cat debian/pycompat; fi) +cdbs_pycompat = $(cdbs_selected_pycompat) +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) + ifeq (, $(cdbs_selected_pycompat)) + cdbs_pycompat = 2 + endif # use pycompat + # warning pysupport compatibility mode + ifneq (, $(cdbs_use_xs_field)) + $(warning Use of XS-Python-Version and XB-Python-Version fields in 'debian/control' is deprecated with pysupport method, use 'debian/pyversions' if you need to specify specific versions) + endif # use XS field (compat) +else + ifeq (pycentral, $(DEB_PYTHON_SYSTEM)) + ifeq (, $(cdbs_selected_pycompat)) + cdbs_pycompat = 2 + endif # use pycompat + else + ifneq (, $(DEB_PYTHON_SYSTEM)) + $(error unsupported Python system: $(DEB_PYTHON_SYSTEM) (select either pysupport or pycentral)) + else + ifneq (, $(cdbs_use_xs_field)) + $(error Your package uses the new Python policy; you must set DEB_PYTHON_SYSTEM to "pysupport" or "pycentral".) + endif + ifneq (, $(cdbs_selected_pycompat)) + ifeq (yes, $(shell expr $(cdbs_selected_pycompat) \> 1 >/dev/null && echo yes)) + $(error Your package uses the new Python policy; you must set DEB_PYTHON_SYSTEM to "pysupport" or "pycentral".) + endif + endif # use pycompat + endif # unknown method + endif # pycentral +endif # pysupport + +# Calculate cdbs_python_build_versions +cdbs_python_current_version := $(shell pyversions -vd) +## FIXME: Resolve DEB_PYTHON_PACKAGES in build targets only +ifeq (,$(cdbs_python_pkg_check)$(DEB_PYTHON_ARCH_PACKAGES)) + # check if current is in build versions + ifneq ($(cdbs_python_current_version), $(filter $(cdbs_python_current_version), $(shell pyversions -vr))) + cdbs_python_compile_version := $(firstword $(strip $(sort $(shell pyversions -vr)))) + cdbs_python_build_versions := $(cdbs_python_compile_version) + else + cdbs_python_build_versions := $(cdbs_python_current_version) + endif +else +cdbs_python_build_versions := $(shell pyversions -vr) +endif # archall + +# check if build is possible +ifeq (, $(cdbs_python_build_versions)) +ifeq (pysupport, $(DEB_PYTHON_SYSTEM)) +$(error invalid setting in 'debian/pyversions') +else +$(error invalid setting for XS-Python-Version) +endif # system selected +endif # build versions empty + +# TODO: Support multiple python programs built for different python versions +# FIXME: Understand the above sentence and rephrase it +cdbs_python_curpkg_build_versions = $(cdbs_python_build_versions) + +## TODO: Drop this when DEB_PYTHON_PACKAGES is only resolved in build targets +pre-build clean:: + $(cdbs_python_pkgresolve_check) + +endif --- python-visual-5.12.orig/debian/cdbs/1/rules/buildinfo.mk +++ python-visual-5.12/debian/cdbs/1/rules/buildinfo.mk @@ -0,0 +1,40 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2004-2007 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +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 + touch debian/stamp-buildinfo + +clean:: + rm -f debian/stamp-buildinfo + +endif --- python-visual-5.12.orig/debian/cdbs/1/rules/copyright-check.mk +++ python-visual-5.12/debian/cdbs/1/rules/copyright-check.mk @@ -0,0 +1,113 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2005-2008 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_copyright_check +_cdbs_rules_copyright_check := 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), devscripts (>= 2.10.7) + +# Set to yes to fail on changed/new hints are found +#DEB_COPYRIGHT_CHECK_STRICT := yes + +# Single regular expression for files to include or ignore +DEB_COPYRIGHT_CHECK_REGEX = .* +#DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(debian/.*|(.*/)?config\.(guess|sub|rpath)(\..*)?)$ +DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^debian/(changelog|copyright(|_hints|_newhints))$ + +pre-build:: debian/stamp-copyright-check + +debian/stamp-copyright-check: + @echo 'Scanning upstream source for new/changed copyright notices...' + @echo licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \ + "| some-output-filtering..." + +# Perl in shell in make requires extra care: +# * Single-quoting ('...') protects against shell expansion +# * Double-dollar ($$) expands to plain dollar ($) in make + @licensecheck -c '$(DEB_COPYRIGHT_CHECK_REGEX)' -r --copyright -i '$(DEB_COPYRIGHT_CHECK_IGNORE_REGEX)' * \ + | LC_ALL=C perl -e \ + 'print "Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=REVISION\n";'\ + 'print "Name: Untrusted draft - double-check copyrights yourself!\n\n";'\ + '$$n=0; while (<>) {'\ + ' s/[^[:print:]]//g;'\ + ' if (/^([^:\s][^:]+):[\s]+(\S.*?)\s*$$/) {'\ + ' $$files[$$n]{name}=$$1;'\ + ' $$files[$$n]{license}=$$2;'\ + ' };'\ + ' if (/^\s*\[Copyright:\s*(\S.*?)\s*\]/) {'\ + ' $$files[$$n]{copyright}=$$1;'\ + ' };'\ + ' /^$$/ and $$n++;'\ + '};'\ + 'foreach $$file (@files) {'\ + ' $$file->{license} =~ s/\s*\(with incorrect FSF address\)//;'\ + ' $$file->{license} =~ s/\s+\(v([^)]+) or later\)/-$$1+/;'\ + ' $$file->{license} =~ s/\s+\(v([^)]+)\)/-$$1/;'\ + ' $$file->{license} =~ s/\s*(\*No copyright\*)\s*// and $$file->{copyright} = $$1;'\ + ' $$file->{license} =~ s/^\s*(GENERATED FILE)/UNKNOWN ($$1)/;'\ + ' $$file->{license} =~ s/\s+(GENERATED FILE)/ ($$1)/;'\ + ' $$file->{copyright} =~ s/(?<=(\b\d{4}))(?{$$y=$$^N})\s*[,-]\s*((??{$$y+1}))\b/-$$2/g;'\ + ' $$file->{copyright} =~ s/(?<=\b\d{4})\s*-\s*\d{4}(?=\s*-\s*(\d{4})\b)//g;'\ + ' $$file->{copyright} =~ s/\b(\d{4})\s+([\S^\d])/$$1, $$2/g;'\ + ' $$file->{copyright} =~ s/^\W*\s+\/\s+//g;'\ + ' $$file->{copyright} =~ s/\s+\/\s+\W*$$//;'\ + ' $$file->{copyright} =~ s/\s+\/\s+/\n\t/g;'\ + ' $$pattern = "$$file->{license} [$$file->{copyright}]";'\ + ' push @{ $$patternfiles{"$$pattern"} }, $$file->{name};'\ + '};'\ + 'foreach $$pattern ( sort {'\ + ' @{$$patternfiles{$$b}} <=> @{$$patternfiles{$$a}}'\ + ' ||'\ + ' $$a cmp $$b'\ + ' } keys %patternfiles ) {'\ + ' ($$license, $$copyright) = $$pattern =~ /(.*) \[(.*)\]/s;'\ + ' print "Files: ", join("\n\t", sort @{ $$patternfiles{$$pattern} }), "\n";'\ + ' print "Copyright: $$copyright\n";'\ + ' print "License: $$license\n\n";'\ + '};'\ + > debian/copyright_newhints + @patterncount="`cat debian/copyright_newhints | sed 's/^[^:]*://' | LANG=C sort -u | grep . -c -`"; \ + echo "Found $$patterncount different copyright and licensing combinations." + @if [ ! -f debian/copyright_hints ]; then touch debian/copyright_hints; fi + @newstrings=`diff -u debian/copyright_hints debian/copyright_newhints | sed '1,2d' | egrep '^\+' - | sed 's/^\+//'`; \ + if [ -n "$$newstrings" ]; then \ + echo "$(if $(DEB_COPYRIGHT_CHECK_STRICT),ERROR,WARNING): The following new or changed copyright notices discovered:"; \ + echo; \ + echo "$$newstrings"; \ + echo; \ + echo "To fix the situation please do the following:"; \ + echo " 1) Investigate the above changes and update debian/copyright as needed"; \ + echo " 2) Replace debian/copyright_hints with debian/copyright_newhints"; \ + $(if $(DEB_COPYRIGHT_CHECK_STRICT),exit 1,:); \ + else \ + echo 'No new copyright notices found - assuming no news is good news...'; \ + rm -f debian/copyright_newhints; \ + fi + touch $@ + +clean:: + rm -f debian/stamp-copyright-check + +endif --- python-visual-5.12.orig/debian/cdbs/1/rules/upstream-tarball.mk +++ python-visual-5.12/debian/cdbs/1/rules/upstream-tarball.mk @@ -0,0 +1,150 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2007-2008 Jonas Smedegaard +# Description: Convenience rules for dealing with upstream tarballs +# +# 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_upstream_tarball +_cdbs_rules_upstream_tarball := 1 + +include $(_cdbs_rules_path)/buildvars.mk$(_cdbs_makefile_suffix) + +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), cdbs (>= 0.4.39) + +# Prefix for upstream location of all upstream tarballs (mandatory!) +#DEB_UPSTREAM_URL = + +DEB_UPSTREAM_PACKAGE = $(DEB_SOURCE_PACKAGE) +DEB_UPSTREAM_TARBALL_VERSION = $(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_VERSION:$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)=),$(DEB_UPSTREAM_VERSION)) +DEB_UPSTREAM_TARBALL_EXTENSION = tar.gz +# Checksum to ensure integrity of downloadeds using get-orig-source (optional) +#DEB_UPSTREAM_TARBALL_MD5 = + +DEB_UPSTREAM_WORKDIR = ../tarballs + +# Base filename (without extension) as used in upstream URL +DEB_UPSTREAM_TARBALL_BASENAME = $(DEB_UPSTREAM_PACKAGE)-$(DEB_UPSTREAM_TARBALL_VERSION) + +# Perl regexp to change locally used string into that in upstream URL and srcdir +#DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = + +# Base directory within tarball +DEB_UPSTREAM_TARBALL_SRCDIR = $(cdbs_upstream_tarball_basename) + +# Space-delimited list of directories and files to strip (optional) +#DEB_UPSTREAM_REPACKAGE_EXCLUDE = CVS .cvsignore doc/rfc*.txt doc/draft*.txt +DEB_UPSTREAM_REPACKAGE_TAG = dfsg +DEB_UPSTREAM_REPACKAGE_DELIMITER = ~ + +# TODO: Move this to buildcore.mk +cdbs_findargs-path-or-name = $(if $(findstring /,$(firstword $(1))),-path './$(patsubst ./%,%,$(firstword $(1)))',-name '$(firstword $(1))') $(foreach obj,$(wordlist 2,$(words $(1)),$(1)),-or $(if $(findstring /,$(obj)),-path './$(obj:./%=%)',-name '$(obj)')) + +cdbs_upstream_tarball_basename = $(if $(strip $(DEB_UPSTREAM_TARBALL_BASENAME_MANGLE)),$(shell echo '$(DEB_UPSTREAM_TARBALL_BASENAME)' | perl -pe '$(DEB_UPSTREAM_TARBALL_BASENAME_MANGLE)'),$(DEB_UPSTREAM_TARBALL_BASENAME)) +cdbs_upstream_tarball = $(cdbs_upstream_tarball_basename).$(DEB_UPSTREAM_TARBALL_EXTENSION) +cdbs_upstream_received_tarball = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION).orig.$(if $(findstring $(DEB_UPSTREAM_TARBALL_EXTENSION),tgz),tar.gz,$(DEB_UPSTREAM_TARBALL_EXTENSION)) +cdbs_upstream_local_basename = $(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_TARBALL_VERSION)$(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)) +cdbs_upstream_local_srcdir = $(cdbs_upstream_tarball_basename)$(if $(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE)),$(DEB_UPSTREAM_REPACKAGE_DELIMITER)$(DEB_UPSTREAM_REPACKAGE_TAG)) + +# # These variables are deprecated +_cdbs_deprecated_vars += DEB_UPSTREAM_TARBALL DEB_UPSTREAM_LOCAL_TARBALL DEB_UPSTREAM_REPACKAGE_TARBALL DEB_UPSTREAM_TARBALL_VERSION_MANGLE +_cdbs_deprecated_vars += DEB_UPSTREAM_REPACKAGE_EXCLUDES +DEB_UPSTREAM_REPACKAGE_EXCLUDE += $(DEB_UPSTREAM_REPACKAGE_EXCLUDES) + +print-version: + @@echo "Debian version: $(DEB_VERSION)" + @@echo "Upstream version: $(DEB_UPSTREAM_TARBALL_VERSION)" + +get-orig-source: + @@dh_testdir + @@mkdir -p "$(DEB_UPSTREAM_WORKDIR)" + + @if [ ! -s "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ] ; then \ + if [ -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ] ; then \ + rm "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \ + fi ; \ + echo "Downloading $(cdbs_upstream_received_tarball) from $(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball) ..." ; \ + wget -nv -T10 -t3 -O "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" "$(DEB_UPSTREAM_URL)/$(cdbs_upstream_tarball)" ; \ + else \ + echo "Upstream source tarball have been already downloaded: $(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \ + fi + + @md5current=`md5sum "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" | sed -e 's/ .*//'`; \ + if [ -n "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + if [ "$$md5current" != "$(DEB_UPSTREAM_TARBALL_MD5)" ] ; then \ + echo "Expecting upstream tarball md5sum $(DEB_UPSTREAM_TARBALL_MD5), but $$md5current found" ; \ + echo "Upstream tarball md5sum is NOT trusted! Possible upstream tarball forge!" ; \ + echo "Purging downloaded file. Try new download." ; \ + rm -f "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" ; \ + false ; \ + else \ + echo "Upstream tarball is trusted!" ; \ + fi; \ + else \ + echo "Upstream tarball NOT trusted (current md5sum is $$md5current)!" ; \ + fi + +# TODO: Rewrite using make variables like cdbs_upstream_unpack_cmd and +# DEB_UPSTREAM_SUPPORTED_COMPRESSIONS (recent dpkg supports bz2) +# TODO: Add .orig suffix to top folder inside tarball when only +# recompressing (when $uncompress set and ...REPACKAGE_EXCLUDE unset) + @untar="tar -x -C"; \ + case "$(cdbs_upstream_received_tarball)" in \ + *.tar.gz) unpack="gunzip -c";; \ + *.tar.bz2) unpack="bunzip2 -c"; uncompress="bunzip2";; \ + *.tar.Z) unpack="uncompress -c"; uncompress="uncompress";; \ + *.zip) unpack="unzip -q"; uncompress="false"; untar="-d"; nopipe="true";; \ + *.tar) unpack="cat"; uncompress="true";; \ + *) echo "Unknown extension for upstream tarball $(cdbs_upstream_received_tarball)"; false;; \ + esac && \ + if [ -n "$(strip $(DEB_UPSTREAM_REPACKAGE_EXCLUDE))" ] || [ "$$uncompress" = "false" ]; then \ + echo "Repackaging tarball ..." && \ + mkdir -p "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" && \ + if [ -n "$$nopipe" ]; then \ + $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" \ + $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \ + else \ + $$unpack "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)" \ + | $$untar "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" $(patsubst %,--exclude='%',$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)); \ + fi && \ + if [ "$(DEB_UPSTREAM_TARBALL_SRCDIR)" != "$(cdbs_upstream_local_srcdir)" ]; then \ + mv -T "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(DEB_UPSTREAM_TARBALL_SRCDIR)" "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)/$(cdbs_upstream_local_srcdir)"; \ + fi && \ + GZIP=-9 tar -b1 -czf "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_basename).orig.tar.gz" -C "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)" "$(cdbs_upstream_local_srcdir)" && \ + echo "Cleaning up" && \ + rm -rf "$(DEB_UPSTREAM_WORKDIR)/$(DEB_UPSTREAM_REPACKAGE_TAG)"; \ + elif [ -n "$$uncompress" ]; then \ + echo "Recompressing tarball ..." && \ + $$uncompress "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_received_tarball)"; \ + gzip -9 "$(DEB_UPSTREAM_WORKDIR)/$(cdbs_upstream_local_basename).orig.tar"; \ + fi + +fail-source-not-repackaged: + @if find . $(call cdbs_findargs-path-or-name,$(DEB_UPSTREAM_REPACKAGE_EXCLUDE)) | grep '.*'; then \ + echo; \ + echo 'ERROR: Source contains the files/paths listed above'; \ + echo ' which was intended to not be distributed with the source.'; \ + echo ' Please repackage source with these items stripped!'; \ + echo ' (get-orig-source target can automate this - see README.source)'; \ + exit 1; \ + fi + +DEB_PHONY_RULES += print-version get-orig-source fail-source-not-repackaged + +endif --- python-visual-5.12.orig/debian/cdbs/1/rules/package-relations.mk +++ python-visual-5.12/debian/cdbs/1/rules/package-relations.mk @@ -0,0 +1,66 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2008 Jonas Smedegaard +# Description: Resolve, cleanup and apply package relationships +# +# 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_rules_package_relations +_cdbs_rules_package_relations = 1 + +include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix) + +# Merge build-dependencies on same packages +# TODO: rewrite (in perl, probably) to be more generic +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.43)/ s/\bcdbs *\(,\|(>= \(0.4.23-1.1\|0.4.27\|0.4.39\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.39)/ s/\bcdbs *\(,\|(>= \(0.4.23-1.1\|0.4.27\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bcdbs (>= 0.4.27)/ s/\bcdbs *\(,\|(>= \(0.4.23-1.1\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 7.0.1)/ s/\bdebhelper *\(,\|(>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\|5.0.37.2\|5.0.44\|6\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 6)/ s/\bdebhelper *\(,\|(>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\|5.0.37.2\|5.0.44\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5.0.44)/ s/\bdebhelper *\(,\|(>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\|5.0.37.2\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5.0.37.2)/ s/\bdebhelper *\(,\|(>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\|5\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 5)/ s/\bdebhelper *\(,\|(>= \(4.1.60\|4.2.0\|4.2.21\|4.2.28\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.28)/ s/\bdebhelper *\(,\|(>= \(4.1.60\|4.2.0\|4.2.21\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.21)/ s/\bdebhelper *\(,\|(>= \(4.1.60\|4.2.0\))\)/, /g') +CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | sed -e '/\bdebhelper (>= 4.2.0)/ s/\bdebhelper *\(,\|(>= \(4.1.60\))\)/, /g') + +# TODO: Move these to buildcore.mk +cdbs_curvar = $(or $($(1)_$(cdbs_curpkg)),$($1)) +cdbs_squash_commas = $(shell echo '$1' | sed -e 's/ *,[ ,]*/, /g' -e 's/^[ ,]*//' -e 's/[ ,]*$$//') + +# Cleanup superfluous commas and whitespace +CDBS_BUILD_DEPENDS := $(call cdbs_squash_commas,$(CDBS_BUILD_DEPENDS)) + +comma = , +cdbs_all_cur_squash_commas = $(call cdbs_squash_commas,$($(1)_ALL)$(comma) $(call cdbs_curvar,$1)) + +# Apply CDBS-declared dependencies to binary packages +$(patsubst %,binary-predeb/%,$(DEB_PACKAGES)) :: binary-predeb/%: + @echo 'Adding cdbs dependencies to debian/$(cdbs_curpkg).substvars' + @echo 'cdbs:Depends=$(call cdbs_all_cur_squash_commas,CDBS_DEPENDS)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Pre-Depends=$(call cdbs_all_cur_squash_commas,CDBS_PREDEPENDS)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Recommends=$(call cdbs_all_cur_squash_commas,CDBS_RECOMMENDS)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Suggests=$(call cdbs_all_cur_squash_commas,CDBS_SUGGESTS)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Breaks=$(call cdbs_all_cur_squash_commas,CDBS_BREAKS)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Provides=$(call cdbs_all_cur_squash_commas,CDBS_PROVIDES)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Replaces=$(call cdbs_all_cur_squash_commas,CDBS_REPLACES)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Conflicts=$(call cdbs_all_cur_squash_commas,CDBS_CONFLICTS)' >> debian/$(cdbs_curpkg).substvars + @echo 'cdbs:Enhances=$(call cdbs_all_cur_squash_commas,CDBS_ENHANCES)' >> debian/$(cdbs_curpkg).substvars + +endif --- python-visual-5.12.orig/debian/patches/2000_boost_python_workaround.patch +++ python-visual-5.12/debian/patches/2000_boost_python_workaround.patch @@ -0,0 +1,17 @@ +Origin: 2000_boost_python_workaround.patch + +This seems to be a Boost.Python bug. The following +patch works around it. + + +diff -u -r orig/python-visual-5.12/src/python/cvisualmodule.cpp python-visual-5.12/src/python/cvisualmodule.cpp +--- orig/python-visual-5.12/src/python/cvisualmodule.cpp 2009-05-11 22:49:06.000000000 -0500 ++++ python-visual-5.12/src/python/cvisualmodule.cpp 2009-12-06 22:49:30.000000000 -0600 +@@ -9,6 +9,7 @@ + #include + #include + ++#include + #include + #include + #include --- python-visual-5.12.orig/debian/patches/1002_unquieten_compile.patch +++ python-visual-5.12/debian/patches/1002_unquieten_compile.patch @@ -0,0 +1,84 @@ +diff --git a/src/Makefile.in b/src/Makefile.in +--- a/src/Makefile.in ++++ b/src/Makefile.in +@@ -176,14 +176,14 @@ endef + + ifeq ($(PYTHON_PLATFORM),win32) + # Windows -- Only MinGW is directly supported. +- CXX_RULE = $(DEFAULT_CXX_RULE) +- LINK_RULE = $(WIN32_DLLRULE) ++ CXX_RULE = $(_DEFAULT_CXX_RULE) ++ LINK_RULE = $(_WIN32_DLLRULE) + CVISUAL_CPPFLAGS += $(WIN32_CPPFLAGS) $(GTK_CFLAGS) $(GTHREAD_CFLAGS) + CVISUAL_LIBS += $(WIN32_LIBS) $(GTK_LIBS) $(GTHREAD_LIBS) -lboost_thread -lboost_signals + CVISUAL_LDFLAGS += $(WIN32_LDFLAGS) + PLATFORM_TARGET = cvisual.pyd + PLATFORM_OBJS = winrate.lo +- INSTALL_RULE = $(GENERIC_INSTALLRULE) ++ INSTALL_RULE = $(_GENERIC_INSTALLRULE) + else + # These options are common to both Linux and OSX. + # The filter-out statement removes an extraneous flag brought in by +@@ -200,20 +200,20 @@ else + # Special rules for OSX + CVISUAL_LIBS += $(filter-out $(_FILTER_OUT), $(GTK_LIBS) \ + $(GTHREAD_LIBS) /sw/lib/libboost_python-mt.a -lboost_thread-mt -lboost_signals) +- CXX_RULE = $(DEFAULT_CXX_RULE) +- LINK_RULE = $(OSX_SORULE) ++ CXX_RULE = $(_DEFAULT_CXX_RULE) ++ 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. + CVISUAL_LIBS += $(filter-out $(_FILTER_OUT), $(GTK_LIBS) \ + $(GTHREAD_LIBS) -lboost_python -lboost_thread -lboost_signals) +- CXX_RULE = $(LT_CXX_RULE) +- LINK_RULE = $(LT_LINKRULE) ++ CXX_RULE = $(_LT_CXX_RULE) ++ LINK_RULE = $(_LT_LINKRULE) + PLATFORM_TARGET = cvisualmodule.la + CVISUAL_LIBS += -lstdc++ +- INSTALL_RULE = $(LT_INSTALLRULE) ++ INSTALL_RULE = $(_LT_INSTALLRULE) + endif + endif + +@@ -241,12 +241,15 @@ $(PLATFORM_TARGET): $(CVISUAL_OBJS) $(PLATFORM_OBJS) + $(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) +@@ -279,14 +282,11 @@ $(DESTDIR)$(pythondir)/$(PLATFORM_TARGET): $(PLATFORM_TARGET) + + # 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-5.12.orig/debian/patches/README +++ python-visual-5.12/debian/patches/README @@ -0,0 +1,3 @@ +0xxx: Grabbed from upstream development. +1xxx: Possibly relevant for upstream adoption. +2xxx: Only relevant for official Debian release. --- python-visual-5.12.orig/debian/patches/1004_boost148_ftbfs.patch +++ python-visual-5.12/debian/patches/1004_boost148_ftbfs.patch @@ -0,0 +1,245 @@ +Description: Update random_device to work with Boost 1.48. +Bug-Debian: #652798 +Author: Tobias Frost +Reviewed-By: Steve Robbins + +Index: python-visual-5.12/src/gtk2/random_device.cpp +=================================================================== +--- python-visual-5.12.orig/src/gtk2/random_device.cpp 2012-01-12 21:27:53.000000000 +0100 ++++ python-visual-5.12/src/gtk2/random_device.cpp 2012-01-12 21:37:49.000000000 +0100 +@@ -19,6 +19,9 @@ + * + */ + ++#include ++#if (BOOST_VERSION < 104800) ++ + #include + #include + #include +@@ -125,3 +128,225 @@ + { + return pimpl->next(); + } ++ ++#else /* boost version >1.48 */ ++ ++/* boost random_device.cpp implementation ++ * ++ * Copyright Jens Maurer 2000 ++ * Copyright Steven Watanabe 2010-2011 ++ * Distributed under the Boost Software License, Version 1.0. (See ++ * accompanying file LICENSE_1_0.txt or copy at ++ * http://www.boost.org/LICENSE_1_0.txt) ++ * ++ * $Id: random_device.cpp 71018 2011-04-05 21:27:52Z steven_watanabe $ ++ * ++ */ ++ ++#define BOOST_RANDOM_SOURCE ++ ++#include ++#include ++#include ++#include ++#include ++ ++#if !defined(BOOST_NO_INCLASS_MEMBER_INITIALIZATION) && !BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1600)) ++// A definition is required even for integral static constants ++const bool boost::random::random_device::has_fixed_range; ++#endif ++ ++ ++#if defined(BOOST_WINDOWS) ++ ++#include ++#include ++#include // std::invalid_argument ++ ++#define BOOST_AUTO_LINK_NOMANGLE ++#define BOOST_LIB_NAME "Advapi32" ++#include ++ ++#ifdef __MINGW32__ ++ ++extern "C" { ++ ++// mingw's wincrypt.h appears to be missing some things ++WINADVAPI ++BOOL ++WINAPI ++CryptEnumProvidersA( ++ DWORD dwIndex, ++ DWORD *pdwReserved, ++ DWORD dwFlags, ++ DWORD *pdwProvType, ++ LPSTR szProvName, ++ DWORD *pcbProvName ++ ); ++ ++} ++ ++#endif ++ ++namespace { ++ ++const char * const default_token = MS_DEF_PROV_A; ++ ++} ++ ++class boost::random::random_device::impl ++{ ++public: ++ impl(const std::string & token) : provider(token) { ++ char buffer[80]; ++ DWORD type; ++ DWORD len; ++ ++ // Find the type of the provider ++ for(DWORD i = 0; ; ++i) { ++ len = sizeof(buffer); ++ if(!CryptEnumProvidersA(i, NULL, 0, &type, buffer, &len)) { ++ error("Could not find provider name"); ++ } ++ if(buffer == provider) { ++ break; ++ } ++ } ++ ++ if(!CryptAcquireContextA(&hProv, NULL, provider.c_str(), type, ++ CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) { ++ error("Could not acquire CSP context"); ++ } ++ } ++ ++ ~impl() { ++ if(!CryptReleaseContext(hProv, 0)) error("Could not release CSP context"); ++ } ++ ++ unsigned int next() { ++ unsigned int result; ++ ++ if(!CryptGenRandom(hProv, sizeof(result), ++ static_cast(static_cast(&result)))) { ++ error("error while reading"); ++ } ++ ++ return result; ++ } ++ ++private: ++ void error(const std::string & msg) { ++ char buf[80]; ++ DWORD num = FormatMessageA( ++ FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, ++ NULL, ++ GetLastError(), ++ 0, ++ buf, ++ sizeof(buf), ++ NULL); ++ ++ throw std::invalid_argument("boost::random_device: " + msg + ++ " Cryptopraphic Service Provider " + provider + ++ ": " + std::string(&buf[0], &buf[0] + num)); ++ } ++ const std::string provider; ++ HCRYPTPROV hProv; ++}; ++ ++#else ++ ++namespace { ++// the default is the unlimited capacity device, using some secure hash ++// try "/dev/random" for blocking when the entropy pool has drained ++const char * const default_token = "/dev/urandom"; ++} ++ ++/* ++ * This uses the POSIX interface for unbuffered reading. ++ * Using buffered std::istream would consume entropy which may ++ * not actually be used. Entropy is a precious good we avoid ++ * wasting. ++ */ ++ ++#if defined(__GNUC__) && defined(_CXXRT_STD_NAME) ++// I have severe difficulty to get the POSIX includes to work with ++// -fhonor-std and Dietmar Kuhl's standard C++ library. Hack around that ++// problem for now. ++extern "C" { ++static const int O_RDONLY = 0; ++extern int open(const char *__file, int __oflag, ...); ++extern int read(int __fd, __ptr_t __buf, size_t __nbytes); ++extern int close(int __fd); ++} ++#else ++#include ++#include ++#include // open ++#include // read, close ++#endif ++ ++#include // errno ++#include // strerror ++#include // std::invalid_argument ++ ++ ++class boost::random::random_device::impl ++{ ++public: ++ impl(const std::string & token) : path(token) { ++ fd = open(token.c_str(), O_RDONLY); ++ if(fd < 0) ++ error("cannot open"); ++ } ++ ++ ~impl() { if(close(fd) < 0) error("could not close"); } ++ ++ unsigned int next() { ++ unsigned int result; ++ long sz = read(fd, reinterpret_cast(&result), sizeof(result)); ++ if(sz == -1) ++ error("error while reading"); ++ else if(sz != sizeof(result)) { ++ errno = 0; ++ error("EOF while reading"); ++ } ++ return result; ++ } ++ ++private: ++ void error(const std::string & msg) { ++ throw std::invalid_argument("boost::random_device: " + msg + ++ " random-number pseudo-device " + path + ++ ": " + strerror(errno)); ++ } ++ const std::string path; ++ int fd; ++}; ++ ++#endif // BOOST_WINDOWS ++ ++BOOST_RANDOM_DECL boost::random::random_device::random_device() ++ : pimpl(new impl(default_token)) ++{} ++ ++BOOST_RANDOM_DECL boost::random::random_device::random_device(const std::string& token) ++ : pimpl(new impl(token)) ++{} ++ ++BOOST_RANDOM_DECL boost::random_device::~random_device() ++{ ++ delete pimpl; ++} ++ ++BOOST_RANDOM_DECL double boost::random_device::entropy() const ++{ ++ return 10; ++} ++ ++BOOST_RANDOM_DECL unsigned int boost::random_device::operator()() ++{ ++ return pimpl->next(); ++} ++ ++#endif --- python-visual-5.12.orig/debian/patches/series +++ python-visual-5.12/debian/patches/series @@ -0,0 +1,4 @@ +1002_unquieten_compile.patch +1003_include_python_header.patch +1004_boost148_ftbfs.patch +2000_boost_python_workaround.patch --- python-visual-5.12.orig/debian/patches/1003_include_python_header.patch +++ python-visual-5.12/debian/patches/1003_include_python_header.patch @@ -0,0 +1,11 @@ +diff --git a/src/python/num_util_impl_numarray.cpp b/src/python/num_util_impl_numarray.cpp +--- a/src/python/num_util_impl_numarray.cpp ++++ b/src/python/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 +