From nobody Wed Dec 15 16:40:03 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 95FF418DCF01; Wed, 15 Dec 2021 16:40:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JDgvl5rw3z4jNh; Wed, 15 Dec 2021 16:40:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 860151F665; Wed, 15 Dec 2021 16:40:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BFGe3TD014284; Wed, 15 Dec 2021 16:40:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BFGe3Xh014280; Wed, 15 Dec 2021 16:40:03 GMT (envelope-from git) Date: Wed, 15 Dec 2021 16:40:03 GMT Message-Id: <202112151640.1BFGe3Xh014280@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dima Panov Subject: git: c0526b161a82 - main - devel/bullet: flavorize, use CMAKE_[ON|OFF] macros, build extras (+) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fluffy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c0526b161a82515ee309428399c3563d6f029018 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639586404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NuXBNfl63fQfrzEzbamqMvURnRcysUY/AxEy+tG2LgY=; b=uj17JwE0UHDCjPfxriis0bqVnPa4plmWeAPThFILO1cGHbXT3OYrf64GgxxIOnumYuDFYN GffF+m1o4G1zy/Tp2WqWG3+GZZGy/2Zb7/KFi93Hgp3+ec25AEaCPeMZfFWTwxshMEgVn4 36hquHOlKsN6w2KYhekNxjOv+lNlWyE56/9OmybrCeRfkhEBspy8AreD0tdTiwh7FEHjve aEwWw2nvkfeyN5BNqUP17o3a2Yh6UyrXEWCDIP0MVzZ0O+8Ha395znZ3dhXZbmyzkxfHvn nJM1ecGKtjffqUJsLi59mD1kJCSDawcluixP7d8COIkq/I7qXJVpz7VA2NY/Cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639586404; a=rsa-sha256; cv=none; b=VGyNOqHT97+sbtTDl8M4+K+UnJ8ihF2TgpSCC3RF1hcFt9yF7Newkf9OoZbLPDeJ2vUcm9 DvkM8ZSVsy3Q0Waaqp1pYEXWD3gqXxUhdd0K8aYLxq27+2PWdS0wF0kKbf5rPtWv1Ejvn7 bMVK2in9oCiY8TQhi89EIc5nmPS51g5T7cytzLFS3xoZq9dbOTaKE6Mh9mDkgZaWW9Bnoa n9nqVNc81ga2loKxjl7V57anp4CFkFcYm8P9tDTaA2Rd5yahTTJGBTuW6mizNRxpqVF5LB cf9MILFJ5UZYis8hDuWFIEFqPoObxyWI15ecuKfeIxl/yLIzCRE7QvNV+zfadA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0526b161a82515ee309428399c3563d6f029018 commit c0526b161a82515ee309428399c3563d6f029018 Author: Dima Panov AuthorDate: 2021-12-15 16:36:51 +0000 Commit: Dima Panov CommitDate: 2021-12-15 16:36:51 +0000 devel/bullet: flavorize, use CMAKE_[ON|OFF] macros, build extras (+) games/openmw: bump PORTREVISION to force rebuild with flavorized bullet-double Requested by: amdmi3 Sponsored by: Netzkommune GmbH --- devel/bullet/Makefile | 46 +++++++++++++++-------------- devel/bullet/files/patch-MANIFEST.in | 19 ------------ devel/bullet/pkg-plist | 56 ++++++++++++++++++++++++++++++++++-- games/openmw/Makefile | 3 +- 4 files changed, 81 insertions(+), 43 deletions(-) diff --git a/devel/bullet/Makefile b/devel/bullet/Makefile index 41c96146bc0f..55341678d677 100644 --- a/devel/bullet/Makefile +++ b/devel/bullet/Makefile @@ -2,6 +2,7 @@ PORTNAME= bullet PORTVERSION= 3.21 +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= fluffy@FreeBSD.org @@ -10,6 +11,14 @@ COMMENT= 3D collision detection and rigid body dynamics library LICENSE= ZLIB LICENSE_FILE= ${WRKSRC}/LICENSE.txt +FLAVORS= single double +FLAVOR?= ${FLAVORS:[1]} + +double_PKGNAMESUFFIX= -double + +single_CONFLICTS_INSTALL=${PORTNAME}-double +double_CONFLICTS_INSTALL=${PORTNAME} + USES= cmake compiler:c++11-lang gl xorg USE_GL= gl glu glut USE_LDCONFIG= yes @@ -19,24 +28,22 @@ USE_GITHUB= yes GH_ACCOUNT= bulletphysics GH_PROJECT= bullet3 -CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \ - -DINSTALL_LIBS:BOOL=ON \ - -DINSTALL_EXTRA_LIBS:BOOL=ON \ - -DBUILD_EXTRAS:BOOL=OFF \ - -DUSE_DOUBLE_PRECISION:BOOL=ON \ - -DUSE_GRAPHICAL_BENCHMARK:BOOL=OFF \ - -DENABLE_VHACD:BOOL=OFF \ - -DBUILD_BULLET3:BOOL=ON \ - -DBUILD_CPU_DEMOS:BOOL=OFF \ - -DBUILD_BULLET2_DEMOS:BOOL=OFF \ - -DBUILD_BULLET3_DEMOS:BOOL=OFF \ - -DBUILD_PYBULLET:BOOL=OFF \ - -DBUILD_OPENGL3_DEMOS:BOOL=OFF \ - -DBUILD_BULLET_ROBOTICS_GUI_EXTRA:BOOL=OFF \ - -DBUILD_UNIT_TESTS:BOOL=OFF \ - -DBULLET2_MULTITHREADING:BOOL=ON \ - -DBULLET2_USE_OPEN_MP_MULTITHREADING:BOOL=ON -# -DBULLET2_USE_TBB_MULTITHREADING:BOOL=ON +CMAKE_ON= BUILD_BULLET3 BUILD_SHARED_LIBS INSTALL_LIBS \ + BUILD_EXTRAS INSTALL_EXTRA_LIBS \ + BULLET2_MULTITHREADING BULLET2_USE_OPEN_MP_MULTITHREADING +CMAKE_OFF= BUILD_CPU_DEMOS BUILD_BULLET2_DEMOS BUILD_BULLET3_DEMOS \ + BUILD_OPENGL3_DEMOS BUILD_PYBULLET BUILD_UNIT_TESTS \ + BULLET2_USE_TBB_MULTITHREADING ENABLE_VHACD \ + BUILD_BULLET_ROBOTICS_EXTRA BUILD_BULLET_ROBOTICS_GUI_EXTRA \ + USE_GRAPHICAL_BENCHMARK +# List available knobs for Extras +# BUILD_HACD_EXTRA BUILD_OBJ2SDF_EXTRA BUILD_BULLET_ROBOTICS_EXTRA \ +# BUILD_SERIALIZE_EXTRA BUILD_INVERSE_DYNAMIC_EXTRA \ +# BUILD_CONVEX_DECOMPOSITION_EXTRA BUILD_GIMPACTUTILS_EXTRA + +.if ${FLAVOR} == double +CMAKE_ON+= USE_DOUBLE_PRECISION +.endif PORTDOCS= * @@ -45,9 +52,6 @@ OPTIONS_DEFINE= DOCS PLIST_SUB= LIB_VERSION=3.20 post-patch: - @${REINPLACE_CMD} \ - -e '/pybullet/d' \ - ${WRKSRC}/MANIFEST.in @${RM} -r ${WRKSRC}/examples/pybullet post-install-DOCS-on: diff --git a/devel/bullet/files/patch-MANIFEST.in b/devel/bullet/files/patch-MANIFEST.in deleted file mode 100644 index 4e326445dfa2..000000000000 --- a/devel/bullet/files/patch-MANIFEST.in +++ /dev/null @@ -1,19 +0,0 @@ ---- MANIFEST.in.orig 2021-11-24 21:59:22 UTC -+++ MANIFEST.in -@@ -1,16 +1,11 @@ - include MANIFEST.in *.txt --recursive-include examples *.h --recursive-include examples *.hpp - recursive-include Extras *.h - recursive-include Extras *.hpp - recursive-include Extras *.inl - recursive-include src *.h - recursive-include src *.hpp - recursive-include src *.cpp --recursive-include examples/pybullet/gym *.* - include examples/ThirdPartyLibs/enet/unix.c - include examples/OpenGLWindow/*.* - recursive-include examples/SharedMemory/plugins *.* - recursive-include examples/ThirdPartyLibs/glad *.* --include examples/ThirdPartyLibs/enet/win32.c --recursive-include examples/ThirdPartyLibs/Eigen * diff --git a/devel/bullet/pkg-plist b/devel/bullet/pkg-plist index 615c1d48a89f..acff5c0548d4 100644 --- a/devel/bullet/pkg-plist +++ b/devel/bullet/pkg-plist @@ -344,6 +344,13 @@ include/bullet/BulletDynamics/Vehicle/btVehicleRaycaster.h include/bullet/BulletDynamics/Vehicle/btWheelInfo.h include/bullet/BulletDynamics/btBulletDynamicsCommon.h include/bullet/BulletInverseDynamics/btBulletCollisionCommon.h +include/bullet/BulletFileLoader/autogenerated/bullet.h +include/bullet/BulletFileLoader/bChunk.h +include/bullet/BulletFileLoader/bCommon.h +include/bullet/BulletFileLoader/bDNA.h +include/bullet/BulletFileLoader/bDefines.h +include/bullet/BulletFileLoader/bFile.h +include/bullet/BulletFileLoader/btBulletFile.h include/bullet/BulletSoftBody/DeformableBodyInplaceSolverIslandCallback.h include/bullet/BulletSoftBody/btCGProjection.h include/bullet/BulletSoftBody/btConjugateGradient.h @@ -378,6 +385,37 @@ include/bullet/BulletSoftBody/btSoftRigidDynamicsWorld.h include/bullet/BulletSoftBody/btSoftSoftCollisionAlgorithm.h include/bullet/BulletSoftBody/btSparseSDF.h include/bullet/BulletSoftBody/poly34.h +include/bullet/BulletWorldImporter/btBulletWorldImporter.h +include/bullet/BulletWorldImporter/btMultiBodyWorldImporter.h +include/bullet/BulletWorldImporter/btWorldImporter.h +include/bullet/BulletXmlWorldImporter/btBulletXmlWorldImporter.h +include/bullet/BulletXmlWorldImporter/string_split.h +include/bullet/ConvexDecomposition/ConvexBuilder.h +include/bullet/ConvexDecomposition/ConvexDecomposition.h +include/bullet/ConvexDecomposition/bestfit.h +include/bullet/ConvexDecomposition/bestfitobb.h +include/bullet/ConvexDecomposition/cd_hull.h +include/bullet/ConvexDecomposition/cd_vector.h +include/bullet/ConvexDecomposition/cd_wavefront.h +include/bullet/ConvexDecomposition/concavity.h +include/bullet/ConvexDecomposition/fitsphere.h +include/bullet/ConvexDecomposition/float_math.h +include/bullet/ConvexDecomposition/meshvolume.h +include/bullet/ConvexDecomposition/planetri.h +include/bullet/ConvexDecomposition/raytri.h +include/bullet/ConvexDecomposition/splitplane.h +include/bullet/ConvexDecomposition/vlookup.h +include/bullet/GIMPACTUtils/btGImpactConvexDecompositionShape.h +include/bullet/HACD/hacdCircularList.h +include/bullet/HACD/hacdCircularList.inl +include/bullet/HACD/hacdGraph.h +include/bullet/HACD/hacdHACD.h +include/bullet/HACD/hacdICHull.h +include/bullet/HACD/hacdManifoldMesh.h +include/bullet/HACD/hacdVector.h +include/bullet/HACD/hacdVector.inl +include/bullet/HACD/hacdVersion.h +include/bullet/InverseDynamics/BulletInverseDynamicsUtilsCommon.h include/bullet/LinearMath/TaskScheduler/btThreadSupportInterface.h include/bullet/LinearMath/btAabbUtil2.h include/bullet/LinearMath/btAlignedAllocator.h @@ -418,6 +456,8 @@ lib/cmake/bullet/BulletConfig.cmake lib/cmake/bullet/UseBullet.cmake lib/libBullet2FileLoader.so lib/libBullet2FileLoader.so.%%LIB_VERSION%% +lib/libBulletFileLoader.so +lib/libBulletFileLoader.so.%%LIB_VERSION%% lib/libBullet3Collision.so lib/libBullet3Collision.so.%%LIB_VERSION%% lib/libBullet3Common.so @@ -434,9 +474,21 @@ lib/libBulletDynamics.so lib/libBulletDynamics.so.%%LIB_VERSION%% lib/libBulletInverseDynamics.so lib/libBulletInverseDynamics.so.%%LIB_VERSION%% -lib/libBulletSoftBody.so -lib/libBulletSoftBody.so.%%LIB_VERSION%% +lib/libBulletInverseDynamicsUtils.so +lib/libBulletInverseDynamicsUtils.so.%%LIB_VERSION%% lib/libLinearMath.so lib/libLinearMath.so.%%LIB_VERSION%% +lib/libBulletSoftBody.so +lib/libBulletSoftBody.so.%%LIB_VERSION%% +lib/libBulletWorldImporter.so +lib/libBulletWorldImporter.so.%%LIB_VERSION%% +lib/libBulletXmlWorldImporter.so +lib/libBulletXmlWorldImporter.so.%%LIB_VERSION%% +lib/libConvexDecomposition.so +lib/libConvexDecomposition.so.%%LIB_VERSION%% +lib/libGIMPACTUtils.so +lib/libGIMPACTUtils.so.%%LIB_VERSION%% +lib/libHACD.so +lib/libHACD.so.%%LIB_VERSION%% libdata/pkgconfig/bullet.pc @dir include/bullet/BulletInverseDynamics/details diff --git a/games/openmw/Makefile b/games/openmw/Makefile index 0d4809c98d90..6a84fcef33c6 100644 --- a/games/openmw/Makefile +++ b/games/openmw/Makefile @@ -1,4 +1,5 @@ PORTNAME= openmw +PORTREVISION= 1 DISTVERSIONPREFIX= openmw- DISTVERSION= 0.47.0 CATEGORIES= games @@ -12,7 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \ libboost_thread.so:devel/boost-libs \ libMyGUIEngine.so:x11-toolkits/mygui \ - libBulletCollision.so:devel/bullet \ + libBulletCollision.so:devel/bullet@double \ libosg.so:graphics/osg \ libRecast.so:graphics/recastnavigation \ libunshield.so:archivers/unshield \