debian/0000755000000000000000000000000012275025225007170 5ustar debian/vdb_render.1.in0000644000000000000000000000027312227721162011773 0ustar [NAME] vdb_render - ray-traces OpenVDB volumes [AUTHOR] This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system (but may be used by others). debian/clean0000644000000000000000000000002312246105735010173 0ustar MPL openvdb_viewer debian/patches/0000755000000000000000000000000012275014034010613 5ustar debian/patches/fixversionnamesrc.patch0000644000000000000000000000163612260004524015404 0ustar Description: Source code is using this #define for namespace mangling Thus it is important for ABI to remove the patch level Author: Ollie Harding Bug-Debian: http://bugs.debian.org/695665 Forwarded: https://groups.google.com/group/openvdb-forum/msg/475a50dd0fe19f4d Index: openvdb/version.h =================================================================== --- openvdb.orig/version.h 2013-12-13 01:35:59.000000000 +0100 +++ openvdb/version.h 2013-12-29 12:31:43.578961269 +0100 @@ -42,7 +42,7 @@ /// vdb::vX_Y_Z::Vec3i, vdb::vX_Y_Z::io::File, vdb::vX_Y_Z::tree::Tree, etc., /// where X, Y and Z are OPENVDB_LIBRARY_MAJOR_VERSION, OPENVDB_LIBRARY_MINOR_VERSION /// and OPENVDB_LIBRARY_PATCH_VERSION, respectively (defined below). -#define OPENVDB_VERSION_NAME v2_1_0 +#define OPENVDB_VERSION_NAME v2_1 // Library major, minor and patch version numbers #define OPENVDB_LIBRARY_MAJOR_VERSION_NUMBER 2 debian/patches/use_svg.patch0000644000000000000000000000124412260004524013305 0ustar Description: Save some space on debian ftp Author: Mathieu Malaterre Forwarded: not-needed Index: openvdb/doxygen-config =================================================================== --- openvdb.orig/doxygen-config 2013-12-13 01:25:52.000000000 +0100 +++ openvdb/doxygen-config 2013-12-29 12:31:19.454960738 +0100 @@ -1180,7 +1180,7 @@ # generated by dot. Possible values are png, jpg, or gif # If left blank png will be used. -DOT_IMAGE_FORMAT = png +DOT_IMAGE_FORMAT = svg # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found in the path. debian/patches/series0000644000000000000000000000017112264306421012031 0ustar install_lib.patch removerpath.patch use_svg.patch fixversionnamesrc.patch fixopenexr.patch fixnumpy.patch fixcomp1.patch debian/patches/fixcomp1.patch0000644000000000000000000000114012264306421013360 0ustar Description: fix gcc compilation http://www.openvdb.org/forum/?place=msg%2Fopenvdb-forum%2FnM07yr7LnnQ%2Ft1YZC60dNZ0J Author: OpenVDB Support Index: openvdb/tools/Morphology.h =================================================================== --- openvdb.orig/tools/Morphology.h 2014-01-11 08:42:03.782572423 +0100 +++ openvdb/tools/Morphology.h 2014-01-11 08:42:17.646572412 +0100 @@ -39,6 +39,7 @@ #include #include #include +#include "ValueTransformer.h" namespace openvdb { OPENVDB_USE_VERSION_NAMESPACE debian/patches/fixnumpy.patch0000644000000000000000000000131312260004524013506 0ustar Description: fix numpy install dirs as set in Debian Author: Mathieu Malaterre Forwarded: not-needed Index: openvdb/Makefile =================================================================== --- openvdb.orig/Makefile 2013-12-29 12:31:47.686961360 +0100 +++ openvdb/Makefile 2013-12-29 12:31:51.382961441 +0100 @@ -465,7 +465,7 @@ # PYCXXFLAGS := -fPIC -I python -I $(PYTHON_INCL_DIR) -I $(PYCONFIG_INCL_DIR) ifneq ($(strip $(NUMPY_INCL_DIR)),) -PYCXXFLAGS += -I $(NUMPY_INCL_DIR) -DPY_OPENVDB_USE_NUMPY +PYCXXFLAGS += -I $(NUMPY_INCL_DIR) -I $(NUMPY_INCL_DIR2) -DPY_OPENVDB_USE_NUMPY endif ifneq (no,$(strip $(PYTHON_WRAP_ALL_GRID_TYPES))) PYCXXFLAGS += -DPY_OPENVDB_WRAP_ALL_GRID_TYPES debian/patches/removerpath.patch0000644000000000000000000000222012260004524014161 0ustar Description: Remove hard-coded rpath from original build system Author: Mathieu Malaterre Forwarded: not-needed Index: openvdb/Makefile =================================================================== --- openvdb.orig/Makefile 2013-12-29 12:33:05.230963069 +0100 +++ openvdb/Makefile 2013-12-29 12:33:52.026964098 +0100 @@ -627,7 +627,7 @@ @echo "Building $@ because of $(call list_deps)" $(CXX) $(CXXFLAGS) -o $@ cmd/openvdb_render/main.cc -I . -I $(EXR_INCL_DIR) \ $(LIBS_RPATH) $(CONCURRENT_MALLOC_LIB) \ - -Wl,-rpath,$(EXR_LIB_DIR) -L$(EXR_LIB_DIR) $(EXR_LIB) \ + -L$(EXR_LIB_DIR) $(EXR_LIB) \ $(LIBOPENVDB_RPATH) -L$(CURDIR) $(LIBOPENVDB) ifneq (yes,$(has_glfw)) @@ -648,7 +648,7 @@ vdb_view: $(LIBOPENVDB) $(LIBVIEWER_OBJ_NAMES) cmd/openvdb_view/main.cc @echo "Building $@ because of $(call list_deps)" $(CXX) $(CXXFLAGS) -o $@ cmd/openvdb_view/main.cc $(LIBVIEWER_OBJ_NAMES) \ - -I . -Wl,-rpath,$(GLFW_LIB_DIR) -L$(GLFW_LIB_DIR) $(GLFW_LIB) \ + -I . -L$(GLFW_LIB_DIR) $(GLFW_LIB) \ $(LIBVIEWER_FLAGS) $(LIBS_RPATH) $(CONCURRENT_MALLOC_LIB) \ $(LIBOPENVDB_RPATH) -L$(CURDIR) $(LIBOPENVDB) endif debian/patches/install_lib.patch0000644000000000000000000000347012260004524014131 0ustar Description: rework build system to allow multi-arch install Author: Mathieu Malaterre Forwarded: not-needed Index: openvdb/Makefile =================================================================== --- openvdb.orig/Makefile 2013-12-13 01:35:59.000000000 +0100 +++ openvdb/Makefile 2013-12-29 12:31:08.726960502 +0100 @@ -81,6 +81,8 @@ # The directory into which to install libraries, executables and header files INSTALL_DIR := /tmp/OpenVDB +INSTALL_LIB_DIR := $(INSTALL_LIB_DIR)/lib + # The parent directory of the boost/ header directory BOOST_INCL_DIR := $(HT)/include @@ -731,25 +733,25 @@ fi @echo "Copied header files to $(INSTALL_DIR)/include" @# - mkdir -p $(INSTALL_DIR)/lib - @echo "Created $(INSTALL_DIR)/lib/" - cp -f $(LIBOPENVDB) $(INSTALL_DIR)/lib - pushd $(INSTALL_DIR)/lib > /dev/null; \ + mkdir -p $(INSTALL_LIB_DIR) + @echo "Created $(INSTALL_LIB_DIR)" + cp -f $(LIBOPENVDB) $(INSTALL_LIB_DIR) + pushd $(INSTALL_LIB_DIR) > /dev/null; \ if [ -f $(LIBOPENVDB_SHARED) ]; then \ ln -f -s $(LIBOPENVDB_SHARED) $(LIBOPENVDB_NAME).so; \ ln -f -s $(LIBOPENVDB_SHARED) $(LIBOPENVDB_SONAME); \ fi; \ popd > /dev/null - @echo "Copied libopenvdb to $(INSTALL_DIR)/lib/" + @echo "Copied libopenvdb to $(INSTALL_LIB_DIR)" @# if [ -f $(LIBVIEWER) ]; \ then \ - cp -f $(LIBVIEWER) $(INSTALL_DIR)/lib; \ - pushd $(INSTALL_DIR)/lib > /dev/null; \ + cp -f $(LIBVIEWER) $(INSTALL_LIB_DIR); \ + pushd $(INSTALL_LIB_DIR) > /dev/null; \ if [ -f $(LIBVIEWER_SHARED) ]; then \ ln -f -s $(LIBVIEWER_SHARED) $(LIBVIEWER_NAME).so; fi; \ popd > /dev/null; \ - echo "Copied libopenvdb_viewer to $(INSTALL_DIR)/lib/"; \ + echo "Copied libopenvdb_viewer to $(INSTALL_LIB_DIR)"; \ fi @# if [ -f $(PYTHON_MODULE) ]; \ debian/patches/fixopenexr.patch0000644000000000000000000000135312260004524014022 0ustar Description: Fix OpenEXR include dirs Author: Mathieu Malaterre Forwarded: not-needed Index: openvdb/Makefile =================================================================== --- openvdb.orig/Makefile 2013-12-29 12:33:52.026964098 +0100 +++ openvdb/Makefile 2013-12-29 12:34:08.782964469 +0100 @@ -625,7 +625,7 @@ vdb_render: $(LIBOPENVDB) cmd/openvdb_render/main.cc @echo "Building $@ because of $(call list_deps)" - $(CXX) $(CXXFLAGS) -o $@ cmd/openvdb_render/main.cc -I . -I $(EXR_INCL_DIR) \ + $(CXX) $(CXXFLAGS) -o $@ cmd/openvdb_render/main.cc -I . -I $(EXR_INCL_DIR)/OpenEXR \ $(LIBS_RPATH) $(CONCURRENT_MALLOC_LIB) \ -L$(EXR_LIB_DIR) $(EXR_LIB) \ $(LIBOPENVDB_RPATH) -L$(CURDIR) $(LIBOPENVDB) debian/changelog0000644000000000000000000000672212275025225011051 0ustar openvdb (2.1.0-1ubuntu1) trusty; urgency=low * debian/rules: update NUMPY_INCL_DIR2 for the correct location -- Brian Murray Thu, 06 Feb 2014 15:20:24 -0800 openvdb (2.1.0-1) unstable; urgency=low * New upstream * Build on armhf. Closes: #731905 * Remove patch applied upstream: - debian/patches/fix715427.patch * Fix compilation with gcc 4.8: + debian/patches/fixcomp1.patch -- Mathieu Malaterre Sat, 11 Jan 2014 19:27:54 +0100 openvdb (2.0.0-3) unstable; urgency=low * Upload to sid. Closes: #715427 * Bump Std-Vers to 3.9.5, no changes needed -- Mathieu Malaterre Tue, 10 Dec 2013 09:03:34 +0100 openvdb (2.0.0-2) experimental; urgency=low * Fix compilation on 32bits arch * Fix compilation on armhf/tbb -- Mathieu Malaterre Mon, 02 Dec 2013 20:47:37 +0100 openvdb (2.0.0-1) experimental; urgency=low * New release: 2.0 -- Mathieu Malaterre Wed, 27 Nov 2013 11:03:04 +0100 openvdb (1.2.2-1) experimental; urgency=low * Take snapshot from upstream -- Mathieu Malaterre Sun, 13 Oct 2013 16:11:51 +0200 openvdb (1.2.0-2) experimental; urgency=low * Incorporate changes from new dev tag -- Mathieu Malaterre Thu, 18 Jul 2013 09:26:46 +0200 openvdb (1.2.0-1) unstable; urgency=low * New upstream. Fix vdb_view compilation (x86) * Refresh patches -- Mathieu Malaterre Thu, 04 Jul 2013 08:27:12 +0200 openvdb (1.1.1-1) unstable; urgency=low * New upstream. Need libjemalloc-dev as depends * Refresh patches -- Mathieu Malaterre Wed, 22 May 2013 21:17:32 +0200 openvdb (1.1.0-1) unstable; urgency=low * 1.1.0 release * Refresh patches -- Mathieu Malaterre Wed, 10 Apr 2013 10:44:23 +0200 openvdb (1.0.0-1) unstable; urgency=low * 1.0 release, stable API * Upstream now ships source code as zip * Refresh patches * Use doxygen-latex package since latex is required for formulas -- Mathieu Malaterre Mon, 18 Mar 2013 13:11:20 +0100 openvdb (0.104.0-1) unstable; urgency=low * New upstream * Remove patch applied upstream: - d/p/fix32bitscomp.patch * Use LDFLAGS to fix lintian warnings -- Mathieu Malaterre Sat, 16 Feb 2013 11:23:08 +0100 openvdb (0.103.1-1) unstable; urgency=low * New upstream * Refreshed patch: - debian/patches/fixversionnamesrc.patch -- Mathieu Malaterre Sat, 16 Feb 2013 10:45:00 +0100 openvdb (0.103.0-1) unstable; urgency=low * New upstream * Prefer SVG output in doxygen over heavy PNGs - debian/patches/use_svg.patch * Simplify doxygen B-D-I -- Mathieu Malaterre Mon, 14 Jan 2013 12:52:26 +0100 openvdb (0.102.0-1) unstable; urgency=low * New upstream. Toward OpenVDB 1.0 * Refresh patches * Update related to the copy-on-write changes. * Update Std-Vers to 3.9.4, no changes needed -- Mathieu Malaterre Wed, 19 Dec 2012 21:36:13 +0000 openvdb (0.99.0-2) unstable; urgency=low * Remove patch level from source code. Closes: #695665 * Fix compilation on powerpc/x86. Closes: #695689 * Execute the test suite in verbose mode -- Mathieu Malaterre Wed, 12 Dec 2012 12:30:03 +0100 openvdb (0.99.0-1) unstable; urgency=low * Initial upload to Debian. Closes: #689694 -- Mathieu Malaterre Wed, 05 Dec 2012 13:16:06 +0100 debian/vdb_view.10000644000000000000000000000234512245341227011063 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH VDB_VIEW "1" "November 2013" "vdb_view 2.0.0" "User Commands" .SH NAME vdb_view - displays OpenVDB grids .SH SYNOPSIS .B vdb_view \fIfile.vdb \fR[\fIfile.vdb \fR...] [\fIoptions\fR] .SH DESCRIPTION Which: displays OpenVDB grids Options: .TP \fB\-i\fR print grid info .TP \fB\-d\fR print debugging info .SS "Controls:" .TP Esc exit .TP \-> (Right) show next grid .TP <\- (Left) show previous grid .TP 1 toggle tree topology view on/off .TP 2 toggle surface view on/off .TP 3 toggle data view on/off .TP G ("geometry") look at center of geometry .TP H ("home") look at origin .TP I toggle on\-screen grid info on/off .TP left mouse tumble .TP right mouse pan .TP mouse wheel zoom .TP X + wheel move right cut plane .TP Shift + X + wheel move left cut plane .TP Y + wheel move top cut plane .TP Shift + Y + wheel move bottom cut plane .TP Z + wheel move front cut plane .TP Shift + Z + wheel move back cut plane .TP Ctrl + X + wheel move both X cut planes .TP Ctrl + Y + wheel move both Y cut planes .TP Ctrl + Z + wheel move both Z cut planes .SH AUTHOR This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system (but may be used by others). debian/vdb_print.10000644000000000000000000000115612245341227011244 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH VDB_PRINT "1" "November 2013" "vdb_print 2.0.0" "User Commands" .SH NAME vdb_print - prints information about OpenVDB grids .SH SYNOPSIS .B vdb_print \fIin.vdb \fR[\fIin.vdb \fR...] [\fIoptions\fR] .SH DESCRIPTION Which: prints information about OpenVDB grids Options: .TP \fB\-l\fR, \fB\-stats\fR long printout, including grid statistics .TP \fB\-m\fR, \fB\-metadata\fR print per\-file and per\-grid metadata .SH AUTHOR This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system (but may be used by others). debian/watch0000644000000000000000000000016712121105123010207 0ustar version=3 opts="uversionmangle=s/_/./g" \ http://www.openvdb.org/download/index.html \ ./openvdb_([\d_]+)_library\.zip debian/compat0000644000000000000000000000000212102676130010362 0ustar 9 debian/copyright0000644000000000000000000004527712227717332011146 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: openvdb Upstream-Contact: openvdb-forum@googlegroups.com Source: http://openvdb.org License: MPL-2.0 Mozilla Public License Version 2.0 ================================== . 1. Definitions -------------- . 1.1. "Contributor" means each individual or legal entity that creates, contributes to the creation of, or owns Covered Software. . 1.2. "Contributor Version" means the combination of the Contributions of others (if any) used by a Contributor and that particular Contributor's Contribution. . 1.3. "Contribution" means Covered Software of a particular Contributor. . 1.4. "Covered Software" means Source Code Form to which the initial Contributor has attached the notice in Exhibit A, the Executable Form of such Source Code Form, and Modifications of such Source Code Form, in each case including portions thereof. . 1.5. "Incompatible With Secondary Licenses" means . (a) that the initial Contributor has attached the notice described in Exhibit B to the Covered Software; or . (b) that the Covered Software was made available under the terms of version 1.1 or earlier of the License, but not also under the terms of a Secondary License. . 1.6. "Executable Form" means any form of the work other than Source Code Form. . 1.7. "Larger Work" means a work that combines Covered Software with other material, in a separate file or files, that is not Covered Software. . 1.8. "License" means this document. . 1.9. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently, any and all of the rights conveyed by this License. . 1.10. "Modifications" means any of the following: . (a) any file in Source Code Form that results from an addition to, deletion from, or modification of the contents of Covered Software; or . (b) any new file in Source Code Form that contains any Covered Software. . 1.11. "Patent Claims" of a Contributor means any patent claim(s), including without limitation, method, process, and apparatus claims, in any patent Licensable by such Contributor that would be infringed, but for the grant of the License, by the making, using, selling, offering for sale, having made, import, or transfer of either its Contributions or its Contributor Version. . 1.12. "Secondary License" means either the GNU General Public License, Version 2.0, the GNU Lesser General Public License, Version 2.1, the GNU Affero General Public License, Version 3.0, or any later versions of those licenses. . 1.13. "Source Code Form" means the form of the work preferred for making modifications. . 1.14. "You" (or "Your") means an individual or a legal entity exercising rights under this License. For legal entities, "You" includes any entity that controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. . 2. License Grants and Conditions -------------------------------- . 2.1. Grants . Each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license: . (a) under intellectual property rights (other than patent or trademark) Licensable by such Contributor to use, reproduce, make available, modify, display, perform, distribute, and otherwise exploit its Contributions, either on an unmodified basis, with Modifications, or as part of a Larger Work; and . (b) under Patent Claims of such Contributor to make, use, sell, offer for sale, have made, import, and otherwise transfer either its Contributions or its Contributor Version. . 2.2. Effective Date . The licenses granted in Section 2.1 with respect to any Contribution become effective for each Contribution on the date the Contributor first distributes such Contribution. . 2.3. Limitations on Grant Scope . The licenses granted in this Section 2 are the only rights granted under this License. No additional rights or licenses will be implied from the distribution or licensing of Covered Software under this License. Notwithstanding Section 2.1(b) above, no patent license is granted by a Contributor: . (a) for any code that a Contributor has removed from Covered Software; or . (b) for infringements caused by: (i) Your and any other third party's modifications of Covered Software, or (ii) the combination of its Contributions with other software (except as part of its Contributor Version); or . (c) under Patent Claims infringed by Covered Software in the absence of its Contributions. . This License does not grant any rights in the trademarks, service marks, or logos of any Contributor (except as may be necessary to comply with the notice requirements in Section 3.4). . 2.4. Subsequent Licenses . No Contributor makes additional grants as a result of Your choice to distribute the Covered Software under a subsequent version of this License (see Section 10.2) or under the terms of a Secondary License (if permitted under the terms of Section 3.3). . 2.5. Representation . Each Contributor represents that the Contributor believes its Contributions are its original creation(s) or it has sufficient rights to grant the rights to its Contributions conveyed by this License. . 2.6. Fair Use . This License is not intended to limit any rights You have under applicable copyright doctrines of fair use, fair dealing, or other equivalents. . 2.7. Conditions . Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in Section 2.1. . 3. Responsibilities ------------------- . 3.1. Distribution of Source Form . All distribution of Covered Software in Source Code Form, including any Modifications that You create or to which You contribute, must be under the terms of this License. You must inform recipients that the Source Code Form of the Covered Software is governed by the terms of this License, and how they can obtain a copy of this License. You may not attempt to alter or restrict the recipients' rights in the Source Code Form. . 3.2. Distribution of Executable Form . If You distribute Covered Software in Executable Form then: . (a) such Covered Software must also be made available in Source Code Form, as described in Section 3.1, and You must inform recipients of the Executable Form how they can obtain a copy of such Source Code Form by reasonable means in a timely manner, at a charge no more than the cost of distribution to the recipient; and . (b) You may distribute such Executable Form under the terms of this License, or sublicense it under different terms, provided that the license for the Executable Form does not attempt to limit or alter the recipients' rights in the Source Code Form under this License. . 3.3. Distribution of a Larger Work . You may create and distribute a Larger Work under terms of Your choice, provided that You also comply with the requirements of this License for the Covered Software. If the Larger Work is a combination of Covered Software with a work governed by one or more Secondary Licenses, and the Covered Software is not Incompatible With Secondary Licenses, this License permits You to additionally distribute such Covered Software under the terms of such Secondary License(s), so that the recipient of the Larger Work may, at their option, further distribute the Covered Software under the terms of either this License or such Secondary License(s). . 3.4. Notices . You may not remove or alter the substance of any license notices (including copyright notices, patent notices, disclaimers of warranty, or limitations of liability) contained within the Source Code Form of the Covered Software, except that You may alter any license notices to the extent required to remedy known factual inaccuracies. . 3.5. Application of Additional Terms . You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Software. However, You may do so only on Your own behalf, and not on behalf of any Contributor. You must make it absolutely clear that any such warranty, support, indemnity, or liability obligation is offered by You alone, and You hereby agree to indemnify every Contributor for any liability incurred by such Contributor as a result of warranty, support, indemnity or liability terms You offer. You may include additional disclaimers of warranty and limitations of liability specific to any jurisdiction. . 4. Inability to Comply Due to Statute or Regulation --------------------------------------------------- . If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Software due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be placed in a text file included with all distributions of the Covered Software under this License. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. . 5. Termination -------------- . 5.1. The rights granted under this License will terminate automatically if You fail to comply with any of its terms. However, if You become compliant, then the rights granted under this License from a particular Contributor are reinstated (a) provisionally, unless and until such Contributor explicitly and finally terminates Your grants, and (b) on an ongoing basis, if such Contributor fails to notify You of the non-compliance by some reasonable means prior to 60 days after You have come back into compliance. Moreover, Your grants from a particular Contributor are reinstated on an ongoing basis if such Contributor notifies You of the non-compliance by some reasonable means, this is the first time You have received notice of non-compliance with this License from such Contributor, and You become compliant prior to 30 days after Your receipt of the notice. . 5.2. If You initiate litigation against any entity by asserting a patent infringement claim (excluding declaratory judgment actions, counter-claims, and cross-claims) alleging that a Contributor Version directly or indirectly infringes any patent, then the rights granted to You by any and all Contributors for the Covered Software under Section 2.1 of this License shall terminate. . 5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or Your distributors under this License prior to termination shall survive termination. . ************************************************************************ * * * 6. Disclaimer of Warranty * * ------------------------- * * * * Covered Software is provided under this License on an "as is" * * basis, without warranty of any kind, either expressed, implied, or * * statutory, including, without limitation, warranties that the * * Covered Software is free of defects, merchantable, fit for a * * particular purpose or non-infringing. The entire risk as to the * * quality and performance of the Covered Software is with You. * * Should any Covered Software prove defective in any respect, You * * (not any Contributor) assume the cost of any necessary servicing, * * repair, or correction. This disclaimer of warranty constitutes an * * essential part of this License. No use of any Covered Software is * * authorized under this License except under this disclaimer. * * * ************************************************************************ . ************************************************************************ * * * 7. Limitation of Liability * * -------------------------- * * * * Under no circumstances and under no legal theory, whether tort * * (including negligence), contract, or otherwise, shall any * * Contributor, or anyone who distributes Covered Software as * * permitted above, be liable to You for any direct, indirect, * * special, incidental, or consequential damages of any character * * including, without limitation, damages for lost profits, loss of * * goodwill, work stoppage, computer failure or malfunction, or any * * and all other commercial damages or losses, even if such party * * shall have been informed of the possibility of such damages. This * * limitation of liability shall not apply to liability for death or * * personal injury resulting from such party's negligence to the * * extent applicable law prohibits such limitation. Some * * jurisdictions do not allow the exclusion or limitation of * * incidental or consequential damages, so this exclusion and * * limitation may not apply to You. * * * ************************************************************************ . 8. Litigation ------------- . Any litigation relating to this License may be brought only in the courts of a jurisdiction where the defendant maintains its principal place of business and such litigation shall be governed by laws of that jurisdiction, without reference to its conflict-of-law provisions. Nothing in this Section shall prevent a party's ability to bring cross-claims or counter-claims. . 9. Miscellaneous ---------------- . This License represents the complete agreement concerning the subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not be used to construe this License against a Contributor. . 10. Versions of the License --------------------------- . 10.1. New Versions . Mozilla Foundation is the license steward. Except as provided in Section 10.3, no one other than the license steward has the right to modify or publish new versions of this License. Each version will be given a distinguishing version number. . 10.2. Effect of New Versions . You may distribute the Covered Software under the terms of the version of the License under which You originally received the Covered Software, or under the terms of any subsequent version published by the license steward. . 10.3. Modified Versions . If you create software not governed by this License, and you want to create a new license for such software, you may create and use a modified version of this License if you rename the license and remove any references to the name of the license steward (except to note that such modified license differs from this License). . 10.4. Distributing Source Code Form that is Incompatible With Secondary Licenses . If You choose to distribute Source Code Form that is Incompatible With Secondary Licenses under the terms of this version of the License, the notice described in Exhibit B of this License must be attached. . Exhibit A - Source Code Form License Notice ------------------------------------------- . This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. . If it is not possible or desirable to put the notice in a particular file, then You may include the notice in a location (such as a LICENSE file in a relevant directory) where a recipient would be likely to look for such a notice. . You may add additional accurate notices of copyright ownership. . Exhibit B - "Incompatible With Secondary Licenses" Notice --------------------------------------------------------- . This Source Code Form is "Incompatible With Secondary Licenses", as defined by the Mozilla Public License, v. 2.0. Comments: The complete text of the Mozilla Public License can be found in the `MPL' file in the same directory as this file. Files: * Copyright: Copyright (c) 2012 DreamWorks Animation LLC License: MPL-2.0 Redistributions of source code must retain the above copyright and license notice and the following restrictions and disclaimer. . * Neither the name of DreamWorks Animation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. IN NO EVENT SHALL THE COPYRIGHT HOLDERS' AND CONTRIBUTORS' AGGREGATE LIABILITY FOR ALL CLAIMS REGARDLESS OF THEIR BASIS EXCEED US$250.00. Comment: On Debian systems, the complete text of the GNU General Public License version 2 can be found in ‘/usr/share/common-licenses/GPL-2’. License version 3 can be found in ‘/usr/share/common-licenses/GPL-3’. Files: debian/* Copyright: 2012 Mathieu Malaterre License: MPL-2.0 Same as above debian/control0000644000000000000000000000565512275014377010614 0ustar Source: openvdb Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Mathieu Malaterre Build-Depends: debhelper (>= 9), libtbb-dev, libopenexr-dev, libz-dev, libboost-dev (>= 1.46), libcppunit-dev, libglfw-dev, libjemalloc-dev, libboost-python-dev, python-numpy Build-Depends-Indep: doxygen-latex, graphviz, python-epydoc Homepage: http://openvdb.org Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/openvdb/trunk/ Vcs-Svn: svn://svn.debian.org/collab-maint/deb-maint/openvdb/trunk Standards-Version: 3.9.5 X-Python-Version: 2.7 Package: libopenvdb2.1 Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: Sparse Volume Processing toolkit - lib OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by DreamWorks Animation for use in volumetric applications typically encountered in feature film production. . This package contains the libraries needed to run OpenVDB applications Package: libopenvdb-dev Architecture: any Section: libdevel Depends: libopenvdb2.1 (= ${binary:Version}), ${misc:Depends} Description: Sparse Volume Processing toolkit - dev OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by DreamWorks Animation for use in volumetric applications typically encountered in feature film production. . This is the package for developping OpenVDB applications Package: libopenvdb-doc Architecture: all Section: doc Depends: ${misc:Depends} Description: Sparse Volume Processing toolkit - doc OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by DreamWorks Animation for use in volumetric applications typically encountered in feature film production. . This is the package for the doc files for OpenVDB Package: libopenvdb-tools Architecture: any Section: utils Depends: ${shlibs:Depends}, ${misc:Depends} Description: Sparse Volume Processing toolkit - runtime OpenVDB is an open source C++ library comprising a novel hierarchical data structure and a suite of tools for the efficient storage and manipulation of sparse volumetric data discretized on three-dimensional grids. It is developed and maintained by DreamWorks Animation for use in volumetric applications typically encountered in feature film production. . This is the package for the runtime. It installs vdb_print and vdb_view debian/source/0000755000000000000000000000000012264306536010475 5ustar debian/source/format0000644000000000000000000000001412102676130011672 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000574612275015175010267 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) VER_FULL = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-) VER_FULL = 2.1.0 VER_SONAME = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d- | cut -f1-2 -d.) # CFLAGS+=$(CPPFLAGS) CXXFLAGS+=$(CPPFLAGS) # tbb issue: DEB_BUILD_ARCH_CPU := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null) ifeq ($(DEB_BUILD_ARCH_CPU), arm) CXXFLAGS+=-Wa,-mimplicit-it=thumb endif # deduce documentation option (build-indep target) ifeq "" "$(filter %-doc,$(shell dh_listpackages))" BUILDDOC = DOXYGEN= EPYDOC= else BUILDDOC = endif ALLOPTS = $(BUILDDOC) BOOST_PYTHON_LIB=-lboost_python-py27 PYTHON_VERSION=2.7 PYTHON_INCL_DIR=/usr/include/python2.7 NUMPY_INCL_DIR2=/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ NUMPY_INCL_DIR=/usr/share/pyshared/numpy/core/include/numpy/ HFS=/removeme HT=/usr HDSO=/usr/lib \ CPPUNIT_INCL_DIR=/usr/include CPPUNIT_LIB_DIR=/usr/lib \ GLFW_INCL_DIR=/usr/include/GL GLFW_LIB_DIR=/usr/lib \ LIBS_RPATH='$(LDFLAGS) -ldl -lm -lz -lHalf -ltbb' LIBOPENVDB_RPATH= \ verbose=yes debug=yes rpath=no shared=yes %: dh $@ --parallel MPL: LICENSE cp -f $< $@ override_dh_auto_build-arch: test -h openvdb||ln -f -s . openvdb dh_auto_build -- $(ALLOPTS) override_dh_auto_test-arch: dh_auto_test || true override_dh_auto_build-indep: $(MAKE) doc # No tests needed for docs override_dh_auto_test-indep: # do not run make install override_dh_auto_install: dh_auto_install -- $(ALLOPTS) INSTALL_DIR=$(CURDIR)$(DESTDIR)/debian/tmp/usr INSTALL_LIB_DIR=$(CURDIR)$(DESTDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) rm openvdb pkg_run = libopenvdb-tools pkg_lib = libopenvdb$(VER_SONAME) pkg_dev = libopenvdb-dev pkg_doc = libopenvdb-doc override_dh_install: dh_install -p$(pkg_run) debian/tmp/usr/bin dh_install -p$(pkg_lib) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libopenvdb.so.$(VER_SONAME) dh_install -p$(pkg_lib) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libopenvdb.so.$(VER_FULL) dh_install -p$(pkg_dev) debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libopenvdb.so dh_install -p$(pkg_dev) debian/tmp/usr/include dh_install -p$(pkg_doc) debian/tmp/usr/share/doc override_dh_installdocs: MPL dh_installdocs -A $^ debian/vdb_print.1: debian/vdb_print.1.in help2man --version-string=$(VER_FULL) --include=$< --output=$@ --no-info --no-discard-stderr vdb_print debian/vdb_view.1: debian/vdb_view.1.in help2man --version-string=$(VER_FULL) --include=$< --output=$@ --no-info --no-discard-stderr vdb_view debian/vdb_render.1: debian/vdb_render.1.in help2man --version-string=$(VER_FULL) --include=$< --output=$@ --no-info --no-discard-stderr vdb_render #override_dh_shlibdeps: #override_dh_installchangelogs: # dh_installchangelogs CHANGES #debian/CHANGES: # links -dump http://www.openvdb.org/documentation/doxygen/changes.html | tail -n +7 > $@ get-orig-source: uscan --verbose --force-download --rename --repack debian/vdb_print.1.in0000644000000000000000000000030612107661154011646 0ustar [NAME] vdb_print - prints information about OpenVDB grids [AUTHOR] This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system (but may be used by others). debian/libopenvdb-tools.manpages0000644000000000000000000000007112227722274014172 0ustar debian/vdb_print.1 debian/vdb_view.1 debian/vdb_render.1 debian/vdb_view.1.in0000644000000000000000000000026512107661154011470 0ustar [NAME] vdb_view - displays OpenVDB grids [AUTHOR] This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system (but may be used by others). debian/vdb_render.10000644000000000000000000000445612245341227011375 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH VDB_RENDER "1" "November 2013" "vdb_render 2.0.0" "User Commands" .SH NAME vdb_render - ray-traces OpenVDB volumes .SH SYNOPSIS .B vdb_render \fIin.vdb out.{exr,ppm} \fR[\fIoptions\fR] .SH DESCRIPTION Which: ray\-traces OpenVDB volumes Options: .TP \fB\-aperture\fR F perspective camera aperture in mm (default: 41.2) .TP \fB\-camera\fR S camera type; either "persp[ective]" or "ortho[graphic]" (default: perspective) .TP \fB\-compression\fR S EXR compression scheme; either "none" (uncompressed), "rle" or "zip" (default: zip) .TP \fB\-cpus\fR N number of rendering threads, or 1 to disable threading, or 0 to use all available CPUs (default: 0) .TP \fB\-far\fR F camera far plane depth (default: inf) .TP \fB\-focal\fR F perspective camera focal length in mm (default: 50) .TP \fB\-fov\fR F perspective camera field of view in degrees (default: 44.8) .TP \fB\-frame\fR F ortho camera frame width in world units (default: 1) .TP \fB\-lookat\fR X,Y,Z rotate the camera to point to (X, Y, Z) .TP \fB\-name\fR S name of the grid to be rendered (default: render the first floating\-point grid found in in.vdb) .TP \fB\-near\fR F camera near plane depth (default: 0.001) .TP \fB\-res\fR WxH image dimensions in pixels (default: 1920x1080) .HP \fB\-r\fR X,Y,Z .TP \fB\-rotate\fR X,Y,Z camera rotation in degrees (default: look at the center of the grid) .TP \fB\-shader\fR S shader name; either "diffuse", "matte" or "normal" (default: diffuse) .TP \fB\-samples\fR N number of samples (rays) per pixel (default: 1) .HP \fB\-t\fR X,Y,Z .TP \fB\-translate\fR X,Y,Z camera translation .TP \fB\-up\fR X,Y,Z vector that should point up after rotation with \fB\-lookat\fR (default: [0, 1, 0]) .TP \fB\-v\fR verbose (print timing and diagnostics) .TP \fB\-h\fR, \fB\-help\fR print this usage message and exit .SS "Example:" .IP vdb_render crawler.vdb crawler.exr \fB\-shader\fR diffuse \fB\-res\fR 1920x1080 \e .HP \fB\-focal\fR 35 \fB\-samples\fR 4 \fB\-translate\fR 0,210.5,400 \fB\-compression\fR rle \fB\-v\fR .PP This is not (and is not intended to be) a production\-quality renderer, and it is currently limited to rendering level set volumes. .SH AUTHOR This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system (but may be used by others).