OpenVDB submitted to debian

91 views
Skip to first unread message

mathieu malaterre

unread,
Dec 6, 2012, 8:16:11 AM12/6/12
to openvd...@googlegroups.com
I have submitted OpenVDB as a debian package:


I had to use the following three self-described patches:


The first two are pretty straightforward and can be included as is upstream. The last one  might need some tweaking. Basically some debian internal lint checker were screaming about the RPATH section found in the openvdb shared lib.

Thanks.

Ollie Harding

unread,
Dec 7, 2012, 3:08:07 AM12/7/12
to openvd...@googlegroups.com
Hi Mathieu,

I'm using very similar patches for our internal distribution.  In order to maintain ABI compatibility across patch versions, you'll also need to remove the patch number from the version namespace.

Cheers,

Ollie


diff --git a/version.h b/version.h
index 1bcd0eb..bb26d8c 100644
--- a/version.h
+++ b/version.h
@@ -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 v0_99_0
+#define OPENVDB_VERSION_NAME v0_99
 
 /// If OPENVDB_REQUIRE_VERSION_NAME is undefined, symbols from the version
 /// namespace are promoted to the top-level namespace (e.g., vdb::v1_0_0::io::File

mathieu malaterre

unread,
Dec 11, 2012, 8:31:27 AM12/11/12
to openvd...@googlegroups.com
Thanks ! I missed that completely.
Reply all
Reply to author
Forward
0 new messages