[osg-submissions] OpenSceneGraph/include/osg*/Version Fix

David Callu ledocc at gmail.com
Tue Sep 4 11:00:58 PDT 2007


Hi Robert,

   - missing Version files,
   - text correction (example 1)
   - missing header (example 2)
   - little arrangement for consistence  (example 3)


example 1 :

[ledocc at ledocc-home 19:55 44]
~/graphisme/osg/SVN/OpenSceneGraph/include/osgSim >svn diff VersionIndex:
Version
===================================================================
--- Version     (révision 7360)
+++ Version     (copie de travail)
@@ -28,10 +28,10 @@
  * Here is the code to add to your configure.in:
  \verbatim
  #
- # Check for the OpenSceneGraph-Sim library
+ # Check for the OpenSceneGraph (OSG) Sim library
  #
  AC_CHECK_LIB(osg, osgSimGetVersion, ,
-    [AC_MSG_ERROR(OpenSceneGraph library not found. See
http://www.openscenegraph.org)],)
+    [AC_MSG_ERROR(OpenSceneGraph Sim library not found. See
http://www.openscenegraph.org)],)
  \endverbatim
 */
 extern OSGSIM_EXPORT const char* osgSimGetVersion();





example 2 :

[ledocc at ledocc-home 19:57 52]
~/graphisme/osg/SVN/OpenSceneGraph/src/osgViewer >svn diff Version.cpp
Index: Version.cpp
===================================================================
--- Version.cpp (révision 7360)
+++ Version.cpp (copie de travail)
@@ -1,3 +1,15 @@
+/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
+ *
+ * This library is open source and may be redistributed and/or modified
under
+ * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
+ * (at your option) any later version.  The full license is in LICENSE file
+ * included with this distribution, and on the openscenegraph.org website.
+ *
+ * This library 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
+ * OpenSceneGraph Public License for more details.
+*/
 #include <osgViewer/Version>
 #include <osg/Version>




example 3:

[ledocc at ledocc-home 19:58 55] ~/graphisme/osg/SVN/OpenSceneGraph/src/osgGA
>svn diff Version.cpp
Index: Version.cpp
===================================================================
--- Version.cpp (révision 7360)
+++ Version.cpp (copie de travail)
@@ -24,7 +24,7 @@

 const char* osgGAGetLibraryName()
 {
-    return "OpenSceneGraph Gui Adapter Library";
+    return "OpenSceneGraph GA (Gui Adapter) Library";
 }

 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-submissions-openscenegraph.org/attachments/20070904/cb0c8cd5/attachment.html 


More information about the osg-submissions mailing list