pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/osg osg: Update to 3.6.5



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6fa3ba7a2f7f
branches:  trunk
changeset: 445105:6fa3ba7a2f7f
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 16 14:44:50 2021 +0000

description:
osg: Update to 3.6.5

OpenSceneGraph 3.6 release
Updates include:

  * OpenThreads::Affinity introduced to enable setting of processor affinity on viewer and database threads
  * osgText rewritten to improve visual quality, add signed distance field support and full GLES2/3 and GL3/4 support
  * Added VertexArrayObject support, enable full OpenGL Core Profile support under OSX.
  * Added OpenCASCADE plugin
  * Added STEP (.stp) plugin
  * Improvements to FBX and COLLADA loaders
  * Improvements to gles plugin to provide better Sketchfab support
  * Added osgemscripten example
  * Improvements to osgAnimation
  * NodeVisitor ValueMap for storing values that can be stored and accessed across frames, such as update, event and cull traversals
  * ShapeDrawable rewritten as an osg::Geometry to improve performance and flexibility
  * Added osg::MultiDrawArrays support
  * Added osgdeferred example that illustrates how to implement deferred rendering
  * Added MultiDrawIndirect support
  * Moved glDispatchCompute control out of osg::Program into a dedicated osg::DispatchCompute class to improve control of compute shaders
  * KdTree support added for PolytopeIntersector, and ability to work with points, lines and polygons
  * osgQt has been moved out to it's own dedicated osgQt github repository
  * CMake build support for iOS bitcode builds
  * CoverityScan testing introduced, fixes bring defect density to 0.0 per 1,0000 lines of code!
  * Support for Codedoc automated documentation
  * Support for Travis automated build system

diffstat:

 graphics/osg/Makefile         |  39 +++++++++++------
 graphics/osg/PLIST            |  90 ++++++++++++++++++++++++------------------
 graphics/osg/buildlink3.mk    |  38 ++++-------------
 graphics/osg/distinfo         |  12 ++---
 graphics/osg/options.mk       |  70 +--------------------------------
 graphics/osg/patches/patch-ad |  59 ----------------------------
 graphics/osg/patches/patch-ae |  19 ---------
 7 files changed, 93 insertions(+), 234 deletions(-)

diffs (truncated from 655 to 300 lines):

diff -r eb6f2e15c48f -r 6fa3ba7a2f7f graphics/osg/Makefile
--- a/graphics/osg/Makefile     Sat Jan 16 13:44:06 2021 +0000
+++ b/graphics/osg/Makefile     Sat Jan 16 14:44:50 2021 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.120 2020/11/21 09:34:53 wiz Exp $
+# $NetBSD: Makefile,v 1.121 2021/01/16 14:44:50 nia Exp $
 
-DISTNAME=      osg-3.4.1
-PKGREVISION=   36
+DISTNAME=      osg-3.6.5
 CATEGORIES=    graphics devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=openscenegraph/}
 GITHUB_PROJECT=        OpenSceneGraph
@@ -12,8 +11,6 @@
 COMMENT=       High performance 3D graphics toolkit
 LICENSE=       gnu-lgpl-v2.1
 
-EXTRACT_USING=         bsdtar
-
 WRKSRC=                        ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
 
 USE_CMAKE=             yes
@@ -25,23 +22,27 @@
 CMAKE_ARGS+=           -DCMAKE_BUILD_TYPE=Release
 CMAKE_ARGS+=           -DDYNAMIC_OPENSCENEGRAPH=ON
 CMAKE_ARGS+=           -DOSG_USE_LOCAL_LUA_SOURCE=OFF
-CMAKE_ARGS+=           -DOSG_USE_QT=OFF
 CMAKE_ARGS+=           -DBUILD_OSG_EXAMPLES=OFF
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Asio=TRUE
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_SDL=TRUE # disable legacy SDL
-CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Lua51=TRUE # use Lua52
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GTA=TRUE
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Inventor=TRUE
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_LIBLAS=TRUE
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_LibVNCServer=TRUE
-CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_Xine=TRUE
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GLIB=TRUE
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GStreamer=TRUE
 CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_GtkGl=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_OpenCascade=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_DCMTK=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_NVTT=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_ZeroConf=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_DirectInput=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_DirectShow=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_COLLADA=TRUE
+CMAKE_ARGS+=           -DCMAKE_DISABLE_FIND_PACKAGE_FBX=TRUE
+CMAKE_ARGS+=           -DOSG_USE_LOCAL_LUA_SOURCE=OFF
 
-BUILDLINK_TRANSFORM+=  rm:-pedantic
-
-PLIST_VARS+=   quartz x11
+PLIST_VARS+=   quartz notdarwin
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -49,17 +50,27 @@
 CXXFLAGS+=     -D__STDC_LIMIT_MACROS
 
 .include "options.mk"
-
+.include "../../devel/SDL2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../fonts/fontconfig/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jasper/buildlink3.mk"
+.include "../../graphics/ilmbase/buildlink3.mk"
+.include "../../graphics/openexr/buildlink3.mk"
+.include "../../lang/lua52/buildlink3.mk"
+.include "../../multimedia/ffmpeg4/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
 .if ${OPSYS} != "Darwin"
-PLIST.x11=     yes
+PLIST.notdarwin=       yes
 .include "../../graphics/MesaLib/buildlink3.mk"
 .include "../../graphics/giflib/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"
 .include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXrandr/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .else
-PLIST.quartz=  yes
+PLIST.quartz=          yes
 .endif
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r eb6f2e15c48f -r 6fa3ba7a2f7f graphics/osg/PLIST
--- a/graphics/osg/PLIST        Sat Jan 16 13:44:06 2021 +0000
+++ b/graphics/osg/PLIST        Sat Jan 16 14:44:50 2021 +0000
@@ -1,10 +1,11 @@
-@comment $NetBSD: PLIST,v 1.6 2018/08/04 01:05:10 nia Exp $
+@comment $NetBSD: PLIST,v 1.7 2021/01/16 14:44:50 nia Exp $
 bin/osgarchive
 bin/osgconv
 bin/osgfilecache
 bin/osgversion
 bin/osgviewer
 bin/present3D
+include/OpenThreads/Affinity
 include/OpenThreads/Atomic
 include/OpenThreads/Barrier
 include/OpenThreads/Block
@@ -22,10 +23,11 @@
 include/osg/ApplicationUsage
 include/osg/ArgumentParser
 include/osg/Array
-include/osg/ArrayDispatchers
+include/osg/AttributeDispatchers
 include/osg/AudioStream
 include/osg/AutoTransform
 include/osg/Billboard
+include/osg/BindImageTexture
 include/osg/BlendColor
 include/osg/BlendEquation
 include/osg/BlendEquationi
@@ -53,6 +55,7 @@
 include/osg/ColorMatrix
 include/osg/ComputeBoundsVisitor
 include/osg/Config
+include/osg/ContextData
 include/osg/ConvexPlanarOccluder
 include/osg/ConvexPlanarPolygon
 include/osg/CoordinateSystemNode
@@ -63,6 +66,8 @@
 include/osg/CullingSet
 include/osg/DeleteHandler
 include/osg/Depth
+include/osg/DepthRangeIndexed
+include/osg/DispatchCompute
 include/osg/DisplaySettings
 include/osg/DrawPixels
 include/osg/Drawable
@@ -75,7 +80,6 @@
 include/osg/FrontFace
 include/osg/GL
 include/osg/GL2Extensions
-include/osg/GLBeginEndAdapter
 include/osg/GLDefines
 include/osg/GLExtensions
 include/osg/GLObjects
@@ -87,6 +91,7 @@
 include/osg/GraphicsThread
 include/osg/Group
 include/osg/Hint
+include/osg/Identifier
 include/osg/Image
 include/osg/ImageSequence
 include/osg/ImageStream
@@ -131,6 +136,7 @@
 include/osg/PositionAttitudeTransform
 include/osg/PrimitiveRestartIndex
 include/osg/PrimitiveSet
+include/osg/PrimitiveSetIndirect
 include/osg/Program
 include/osg/Projection
 include/osg/ProxyNode
@@ -138,7 +144,9 @@
 include/osg/Referenced
 include/osg/RenderInfo
 include/osg/SampleMaski
+include/osg/Sampler
 include/osg/Scissor
+include/osg/ScissorIndexed
 include/osg/ScriptEngine
 include/osg/Sequence
 include/osg/ShadeModel
@@ -157,6 +165,7 @@
 include/osg/StencilTwoSided
 include/osg/Switch
 include/osg/TemplatePrimitiveFunctor
+include/osg/TemplatePrimitiveIndexFunctor
 include/osg/TexEnv
 include/osg/TexEnvCombine
 include/osg/TexEnvFilter
@@ -181,7 +190,9 @@
 include/osg/Types
 include/osg/Uniform
 include/osg/UserDataContainer
+include/osg/ValueMap
 include/osg/ValueObject
+include/osg/ValueStack
 include/osg/Vec2
 include/osg/Vec2b
 include/osg/Vec2d
@@ -210,14 +221,17 @@
 include/osg/Vec4ui
 include/osg/Vec4us
 include/osg/Version
+include/osg/VertexArrayState
 include/osg/VertexAttribDivisor
 include/osg/VertexProgram
 include/osg/View
 include/osg/Viewport
+include/osg/ViewportIndexed
 include/osg/buffered_value
 include/osg/fast_back_stack
 include/osg/io_utils
 include/osg/observer_ptr
+include/osg/os_utils
 include/osg/ref_ptr
 include/osgAnimation/Action
 include/osgAnimation/ActionAnimation
@@ -241,6 +255,8 @@
 include/osgAnimation/Keyframe
 include/osgAnimation/LinkVisitor
 include/osgAnimation/MorphGeometry
+include/osgAnimation/MorphTransformHardware
+include/osgAnimation/MorphTransformSoftware
 include/osgAnimation/RigGeometry
 include/osgAnimation/RigTransform
 include/osgAnimation/RigTransformHardware
@@ -431,14 +447,12 @@
 include/osgShadow/MinimalCullBoundsShadowMap
 include/osgShadow/MinimalDrawBoundsShadowMap
 include/osgShadow/MinimalShadowMap
-include/osgShadow/OccluderGeometry
 include/osgShadow/ParallelSplitShadowMap
 include/osgShadow/ProjectionShadowMap
 include/osgShadow/ShadowMap
 include/osgShadow/ShadowSettings
 include/osgShadow/ShadowTechnique
 include/osgShadow/ShadowTexture
-include/osgShadow/ShadowVolume
 include/osgShadow/ShadowedScene
 include/osgShadow/SoftShadowMap
 include/osgShadow/StandardShadowMap
@@ -565,9 +579,9 @@
 ${PLIST.quartz}include/osgViewer/api/Carbon/GraphicsHandleCarbon
 ${PLIST.quartz}include/osgViewer/api/Carbon/GraphicsWindowCarbon
 ${PLIST.quartz}include/osgViewer/api/Carbon/PixelBufferCarbon
-${PLIST.x11}include/osgViewer/api/X11/GraphicsHandleX11
-${PLIST.x11}include/osgViewer/api/X11/GraphicsWindowX11
-${PLIST.x11}include/osgViewer/api/X11/PixelBufferX11
+${PLIST.notdarwin}include/osgViewer/api/X11/GraphicsHandleX11
+${PLIST.notdarwin}include/osgViewer/api/X11/GraphicsWindowX11
+${PLIST.notdarwin}include/osgViewer/api/X11/PixelBufferX11
 include/osgViewer/config/AcrossAllScreens
 include/osgViewer/config/PanoramicSphericalDisplay
 include/osgViewer/config/SingleScreen
@@ -612,58 +626,58 @@
 include/osgWidget/Window
 include/osgWidget/WindowManager
 lib/libOpenThreads.so
-lib/libOpenThreads.so.20
-lib/libOpenThreads.so.3.3.0
+lib/libOpenThreads.so.21
+lib/libOpenThreads.so.3.3.1
 lib/libosg.so
-lib/libosg.so.131
+lib/libosg.so.161
 lib/libosg.so.${PKGVERSION}
 lib/libosgAnimation.so
-lib/libosgAnimation.so.131
+lib/libosgAnimation.so.161
 lib/libosgAnimation.so.${PKGVERSION}
 lib/libosgDB.so
-lib/libosgDB.so.131
+lib/libosgDB.so.161
 lib/libosgDB.so.${PKGVERSION}
 lib/libosgFX.so
-lib/libosgFX.so.131
+lib/libosgFX.so.161
 lib/libosgFX.so.${PKGVERSION}
 lib/libosgGA.so
-lib/libosgGA.so.131
+lib/libosgGA.so.161
 lib/libosgGA.so.${PKGVERSION}
 lib/libosgManipulator.so
-lib/libosgManipulator.so.131
+lib/libosgManipulator.so.161
 lib/libosgManipulator.so.${PKGVERSION}
 lib/libosgParticle.so
-lib/libosgParticle.so.131
+lib/libosgParticle.so.161
 lib/libosgParticle.so.${PKGVERSION}
 lib/libosgPresentation.so
-lib/libosgPresentation.so.131
+lib/libosgPresentation.so.161
 lib/libosgPresentation.so.${PKGVERSION}
 lib/libosgShadow.so
-lib/libosgShadow.so.131
+lib/libosgShadow.so.161
 lib/libosgShadow.so.${PKGVERSION}
 lib/libosgSim.so
-lib/libosgSim.so.131
+lib/libosgSim.so.161
 lib/libosgSim.so.${PKGVERSION}
 lib/libosgTerrain.so
-lib/libosgTerrain.so.131
+lib/libosgTerrain.so.161
 lib/libosgTerrain.so.${PKGVERSION}
 lib/libosgText.so
-lib/libosgText.so.131
+lib/libosgText.so.161
 lib/libosgText.so.${PKGVERSION}
 lib/libosgUI.so
-lib/libosgUI.so.131
+lib/libosgUI.so.161
 lib/libosgUI.so.${PKGVERSION}



Home | Main Index | Thread Index | Old Index