pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/opensubdiv



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Sun Nov  8 15:21:57 UTC 2026

Added Files:
        pkgsrc/graphics/opensubdiv: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
graphics/opensubdiv: import opensubdiv-3.7_0

OpenSubdiv is a set of open source libraries that implement high
performance subdivision surface (subdiv) evaluation on massively
parallel CPU and GPU architectures. This codepath is optimized for
drawing deforming subdivs with static topology at interactive
framerates. The resulting limit surface matches Pixar's Renderman
to numerical precision.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/opensubdiv/DESCR \
    pkgsrc/graphics/opensubdiv/Makefile pkgsrc/graphics/opensubdiv/PLIST \
    pkgsrc/graphics/opensubdiv/buildlink3.mk \
    pkgsrc/graphics/opensubdiv/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/opensubdiv/DESCR
diff -u /dev/null pkgsrc/graphics/opensubdiv/DESCR:1.1
--- /dev/null   Sun Nov  8 15:21:57 2026
+++ pkgsrc/graphics/opensubdiv/DESCR    Sun Nov  8 15:21:57 2026
@@ -0,0 +1,6 @@
+OpenSubdiv is a set of open source libraries that implement high
+performance subdivision surface (subdiv) evaluation on massively
+parallel CPU and GPU architectures. This codepath is optimized for
+drawing deforming subdivs with static topology at interactive
+framerates. The resulting limit surface matches Pixar's Renderman
+to numerical precision.
Index: pkgsrc/graphics/opensubdiv/Makefile
diff -u /dev/null pkgsrc/graphics/opensubdiv/Makefile:1.1
--- /dev/null   Sun Nov  8 15:21:57 2026
+++ pkgsrc/graphics/opensubdiv/Makefile Sun Nov  8 15:21:57 2026
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2026/11/08 15:21:57 ryoon Exp $
+
+DISTNAME=      OpenSubdiv-3_7_0
+PKGNAME=       ${DISTNAME:tl:S/_/./}
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=PixarAnimationStudios/}
+GITHUB_PROJECT=        OpenSubdiv
+GITHUB_TAG=    v${PKGVERSION_NOREV:S/./_/}
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://www.opensubdiv.org/
+COMMENT=       Open-Source subdivision surface library
+LICENSE=       apache-2.0 # TOMORROW OPEN SOURCE TECHNOLOGY LICENSE 1.0
+
+USE_LANGUAGES=         c c++
+USE_CXX_FEATURES=      c++17
+# For std::clamp and alloca
+FORCE_CXX_STD=         gnu++17
+
+BUILDLINK_TRANSFORM+=  opt:-ldl:${BUILDLINK_LDADD.dl:Q}
+
+CMAKE_CONFIGURE_ARGS+= -DNO_DOC=ON
+CMAKE_CONFIGURE_ARGS+= -DNO_TUTORIALS=ON
+
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/glfw/buildlink3.mk"
+.include "../../graphics/ptex/buildlink3.mk"
+.include "../../parallel/threadingbuildingblocks/buildlink3.mk"
+.include "../../x11/libXcursor/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../x11/libXi/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/opensubdiv/PLIST
diff -u /dev/null pkgsrc/graphics/opensubdiv/PLIST:1.1
--- /dev/null   Sun Nov  8 15:21:57 2026
+++ pkgsrc/graphics/opensubdiv/PLIST    Sun Nov  8 15:21:57 2026
@@ -0,0 +1,106 @@
+@comment $NetBSD: PLIST,v 1.1 2026/11/08 15:21:57 ryoon Exp $
+bin/bfr_evaluate
+bin/farViewer
+bin/far_perf
+bin/far_regression
+bin/glEvalLimit
+bin/glFVarViewer
+bin/glImaging
+bin/glPaintTest
+bin/glPtexViewer
+bin/glShareTopology
+bin/glStencilViewer
+bin/glViewer
+bin/hbr_baseline
+bin/hbr_regression
+bin/osd_regression
+include/opensubdiv/bfr/irregularPatchType.h
+include/opensubdiv/bfr/limits.h
+include/opensubdiv/bfr/parameterization.h
+include/opensubdiv/bfr/refinerSurfaceFactory.h
+include/opensubdiv/bfr/surface.h
+include/opensubdiv/bfr/surfaceData.h
+include/opensubdiv/bfr/surfaceFactory.h
+include/opensubdiv/bfr/surfaceFactoryCache.h
+include/opensubdiv/bfr/surfaceFactoryMeshAdapter.h
+include/opensubdiv/bfr/tessellation.h
+include/opensubdiv/bfr/vertexDescriptor.h
+include/opensubdiv/far/error.h
+include/opensubdiv/far/patchDescriptor.h
+include/opensubdiv/far/patchMap.h
+include/opensubdiv/far/patchParam.h
+include/opensubdiv/far/patchTable.h
+include/opensubdiv/far/patchTableFactory.h
+include/opensubdiv/far/primvarRefiner.h
+include/opensubdiv/far/ptexIndices.h
+include/opensubdiv/far/stencilTable.h
+include/opensubdiv/far/stencilTableFactory.h
+include/opensubdiv/far/topologyDescriptor.h
+include/opensubdiv/far/topologyLevel.h
+include/opensubdiv/far/topologyRefiner.h
+include/opensubdiv/far/topologyRefinerFactory.h
+include/opensubdiv/far/types.h
+include/opensubdiv/hbr/allocator.h
+include/opensubdiv/hbr/bilinear.h
+include/opensubdiv/hbr/catmark.h
+include/opensubdiv/hbr/cornerEdit.h
+include/opensubdiv/hbr/creaseEdit.h
+include/opensubdiv/hbr/face.h
+include/opensubdiv/hbr/faceEdit.h
+include/opensubdiv/hbr/fvarData.h
+include/opensubdiv/hbr/fvarEdit.h
+include/opensubdiv/hbr/halfedge.h
+include/opensubdiv/hbr/hierarchicalEdit.h
+include/opensubdiv/hbr/holeEdit.h
+include/opensubdiv/hbr/loop.h
+include/opensubdiv/hbr/mesh.h
+include/opensubdiv/hbr/subdivision.h
+include/opensubdiv/hbr/vertex.h
+include/opensubdiv/hbr/vertexEdit.h
+include/opensubdiv/osd/bufferDescriptor.h
+include/opensubdiv/osd/cpuEvaluator.h
+include/opensubdiv/osd/cpuGLVertexBuffer.h
+include/opensubdiv/osd/cpuPatchTable.h
+include/opensubdiv/osd/cpuVertexBuffer.h
+include/opensubdiv/osd/glComputeEvaluator.h
+include/opensubdiv/osd/glLegacyGregoryPatchTable.h
+include/opensubdiv/osd/glMesh.h
+include/opensubdiv/osd/glPatchTable.h
+include/opensubdiv/osd/glVertexBuffer.h
+include/opensubdiv/osd/glXFBEvaluator.h
+include/opensubdiv/osd/glslPatchShaderSource.h
+include/opensubdiv/osd/mesh.h
+include/opensubdiv/osd/nonCopyable.h
+include/opensubdiv/osd/opengl.h
+include/opensubdiv/osd/patchBasis.h
+include/opensubdiv/osd/patchBasisTypes.h
+include/opensubdiv/osd/tbbEvaluator.h
+include/opensubdiv/osd/tbbKernel.h
+include/opensubdiv/osd/types.h
+include/opensubdiv/sdc/bilinearScheme.h
+include/opensubdiv/sdc/catmarkScheme.h
+include/opensubdiv/sdc/crease.h
+include/opensubdiv/sdc/loopScheme.h
+include/opensubdiv/sdc/options.h
+include/opensubdiv/sdc/scheme.h
+include/opensubdiv/sdc/types.h
+include/opensubdiv/version.h
+include/opensubdiv/vtr/array.h
+include/opensubdiv/vtr/componentInterfaces.h
+include/opensubdiv/vtr/fvarLevel.h
+include/opensubdiv/vtr/fvarRefinement.h
+include/opensubdiv/vtr/level.h
+include/opensubdiv/vtr/refinement.h
+include/opensubdiv/vtr/sparseSelector.h
+include/opensubdiv/vtr/stackBuffer.h
+include/opensubdiv/vtr/types.h
+lib/cmake/OpenSubdiv/OpenSubdivConfig.cmake
+lib/cmake/OpenSubdiv/OpenSubdivConfigVersion.cmake
+lib/cmake/OpenSubdiv/OpenSubdivTargets-noconfig.cmake
+lib/cmake/OpenSubdiv/OpenSubdivTargets.cmake
+lib/libosdCPU.a
+lib/libosdCPU.so
+lib/libosdCPU.so.3.7.0
+lib/libosdGPU.a
+lib/libosdGPU.so
+lib/libosdGPU.so.3.7.0
Index: pkgsrc/graphics/opensubdiv/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/opensubdiv/buildlink3.mk:1.1
--- /dev/null   Sun Nov  8 15:21:57 2026
+++ pkgsrc/graphics/opensubdiv/buildlink3.mk    Sun Nov  8 15:21:57 2026
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2026/11/08 15:21:57 ryoon Exp $
+
+BUILDLINK_TREE+=       opensubdiv
+
+.if !defined(OPENSUBDIV_BUILDLINK3_MK)
+OPENSUBDIV_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.opensubdiv+=     opensubdiv>=3.7_0
+BUILDLINK_PKGSRCDIR.opensubdiv?=       ../../graphics/opensubdiv
+
+.include "../../parallel/threadingbuildingblocks/buildlink3.mk"
+.endif # OPENSUBDIV_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -opensubdiv
Index: pkgsrc/graphics/opensubdiv/distinfo
diff -u /dev/null pkgsrc/graphics/opensubdiv/distinfo:1.1
--- /dev/null   Sun Nov  8 15:21:57 2026
+++ pkgsrc/graphics/opensubdiv/distinfo Sun Nov  8 15:21:57 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/11/08 15:21:57 ryoon Exp $
+
+BLAKE2s (OpenSubdiv-3_7_0.tar.gz) = ff57ca8d27dc32de6840d1aca167041683799116967a297c5f3c46241e8701e6
+SHA512 (OpenSubdiv-3_7_0.tar.gz) = 947ec6312c224fba3da7dffa863cabb252493c38f22c516ba16b7523883f8ac8cbf353cbc502d406064db71c561e7b1abaff8c0485f4cbb54b182bd871ab0ea0
+Size (OpenSubdiv-3_7_0.tar.gz) = 40736075 bytes



Home | Main Index | Thread Index | Old Index