git: 70216e56a4b6 - main - graphics/cloudcompare: Update to 2.12.0

From: Neel Chauhan <nc_at_FreeBSD.org>
Date: Sun, 03 Apr 2022 04:58:30 UTC
The branch main has been updated by nc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=70216e56a4b628cff5f03e1cb4dc56cc833c5c91

commit 70216e56a4b628cff5f03e1cb4dc56cc833c5c91
Author:     Neel Chauhan <nc@FreeBSD.org>
AuthorDate: 2022-04-03 04:58:29 +0000
Commit:     Neel Chauhan <nc@FreeBSD.org>
CommitDate: 2022-04-03 04:58:29 +0000

    graphics/cloudcompare: Update to 2.12.0
---
 graphics/cloudcompare/Makefile                                |  4 +++-
 graphics/cloudcompare/distinfo                                |  8 +++++---
 graphics/cloudcompare/files/patch-common_ccPluginManager.cpp  | 11 -----------
 ...andard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_FlatCopyVector.h | 10 ----------
 ..._core_Standard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_KdTree.h | 11 -----------
 ..._qRANSAC__SD_extern_RANSAC__SD_MiscLib_AlignedAllocator.h} |  4 ++--
 graphics/cloudcompare/pkg-plist                               |  9 ++++++++-
 7 files changed, 18 insertions(+), 39 deletions(-)

diff --git a/graphics/cloudcompare/Makefile b/graphics/cloudcompare/Makefile
index c6173262d012..a63536160d04 100644
--- a/graphics/cloudcompare/Makefile
+++ b/graphics/cloudcompare/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cloudcompare
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.11.3
+DISTVERSION=	2.12.0
 CATEGORIES=	graphics
 
 MAINTAINER=	nc@FreeBSD.org
@@ -13,6 +13,8 @@ USES=		cmake compiler:c++11-lang localbase:ldflags qt:5
 USE_GITHUB=	yes
 GH_ACCOUNT=	CloudCompare
 GH_PROJECT=	${GH_ACCOUNT}
+GH_TUPLE=	CloudCompare:CCCoreLib:b81e0ba:CloudCompare/libs/qCC_db/extern/CCCoreLib
+
 USE_QT=		concurrent core gui opengl printsupport widgets buildtools_build qmake_build svg linguisttools_build
 USE_LDCONFIG=	yes
 
diff --git a/graphics/cloudcompare/distinfo b/graphics/cloudcompare/distinfo
index 8adf928da222..1bdbd0c155e9 100644
--- a/graphics/cloudcompare/distinfo
+++ b/graphics/cloudcompare/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1644590655
-SHA256 (CloudCompare-CloudCompare-v2.11.3_GH0.tar.gz) = b41cebd5e4832a8b7aa1f019d97bcc208be9f7e15cd056ff2a1a1fe4c369fc21
-SIZE (CloudCompare-CloudCompare-v2.11.3_GH0.tar.gz) = 35108749
+TIMESTAMP = 1648960375
+SHA256 (CloudCompare-CloudCompare-v2.12.0_GH0.tar.gz) = 214ef88c454c41dc8d0b758f5b02b021b469b4d4d0ee5de753b0552127249a53
+SIZE (CloudCompare-CloudCompare-v2.12.0_GH0.tar.gz) = 35582467
+SHA256 (CloudCompare-CCCoreLib-b81e0ba_GH0.tar.gz) = 88a3f8c5bfa7a713b1da51aa6806beac7d3086bfd8b4db17efa2720cee077c90
+SIZE (CloudCompare-CCCoreLib-b81e0ba_GH0.tar.gz) = 235020
diff --git a/graphics/cloudcompare/files/patch-common_ccPluginManager.cpp b/graphics/cloudcompare/files/patch-common_ccPluginManager.cpp
deleted file mode 100644
index 2842e76ffff6..000000000000
--- a/graphics/cloudcompare/files/patch-common_ccPluginManager.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- common/ccPluginManager.cpp.orig	2020-09-08 09:36:07 UTC
-+++ common/ccPluginManager.cpp
-@@ -273,7 +273,7 @@ void ccPluginManager::loadFromPathsAndAddToList()
- 		"*.dylib"
- #elif defined(Q_OS_WIN)
- 		"*.dll"
--#elif defined(Q_OS_LINUX)
-+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
- 		"*.so"
- #else
- #error Need to specify the dynamic library extension for this OS.
diff --git a/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_FlatCopyVector.h b/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_FlatCopyVector.h
deleted file mode 100644
index 17f438423878..000000000000
--- a/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_FlatCopyVector.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- plugins/core/Standard/qRANSAC_SD/RANSAC_SD_orig/GfxTL/FlatCopyVector.h.orig	2020-09-08 09:36:07 UTC
-+++ plugins/core/Standard/qRANSAC_SD/RANSAC_SD_orig/GfxTL/FlatCopyVector.h
-@@ -1,6 +1,6 @@
- #ifndef GfxTL__FLATCOPYVECTOR_HEADER__
- #define GfxTL__FLATCOPYVECTOR_HEADER__
--#ifndef __APPLE__
-+#if !defined(__APPLE__) && !defined(__FreeBSD__)
- #include <malloc.h>
- #else
- #include <stdlib.h>
diff --git a/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_KdTree.h b/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_KdTree.h
deleted file mode 100644
index ec259b53f6d0..000000000000
--- a/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_GfxTL_KdTree.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/core/Standard/qRANSAC_SD/RANSAC_SD_orig/GfxTL/KdTree.h.orig	2020-09-08 09:36:07 UTC
-+++ plugins/core/Standard/qRANSAC_SD/RANSAC_SD_orig/GfxTL/KdTree.h
-@@ -14,7 +14,7 @@
- #include <algorithm>
- #include <memory>
- #include <deque>
--#ifndef __APPLE__
-+#if !defined(__APPLE__) && !defined(__FreeBSD__)
- #include <malloc.h>
- #else
- #include <stdlib.h>
diff --git a/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_MiscLib_AlignedAllocator.h b/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_extern_RANSAC__SD_MiscLib_AlignedAllocator.h
similarity index 68%
rename from graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_MiscLib_AlignedAllocator.h
rename to graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_extern_RANSAC__SD_MiscLib_AlignedAllocator.h
index 2536668bccd8..283e9407a327 100644
--- a/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_RANSAC__SD__orig_MiscLib_AlignedAllocator.h
+++ b/graphics/cloudcompare/files/patch-plugins_core_Standard_qRANSAC__SD_extern_RANSAC__SD_MiscLib_AlignedAllocator.h
@@ -1,5 +1,5 @@
---- plugins/core/Standard/qRANSAC_SD/RANSAC_SD_orig/MiscLib/AlignedAllocator.h.orig	2020-09-08 09:36:07 UTC
-+++ plugins/core/Standard/qRANSAC_SD/RANSAC_SD_orig/MiscLib/AlignedAllocator.h
+--- plugins/core/Standard/qRANSAC_SD/extern/RANSAC_SD/MiscLib/AlignedAllocator.h.orig	2022-04-03 04:17:08 UTC
++++ plugins/core/Standard/qRANSAC_SD/extern/RANSAC_SD/MiscLib/AlignedAllocator.h
 @@ -1,7 +1,7 @@
  #ifndef MiscLib__ALIGNEDALLOCATOR_HEADER__
  #define MiscLib__ALIGNEDALLOCATOR_HEADER__
diff --git a/graphics/cloudcompare/pkg-plist b/graphics/cloudcompare/pkg-plist
index 2b7288c00269..0b79090fffa7 100644
--- a/graphics/cloudcompare/pkg-plist
+++ b/graphics/cloudcompare/pkg-plist
@@ -1,7 +1,11 @@
 bin/CloudCompare
 bin/ccViewer
-lib/cloudcompare/libCC_CORE_LIB.so
+lib/cloudcompare/libCCAppCommon.so
+lib/cloudcompare/libCCCoreLib.so
+lib/cloudcompare/libCCPluginAPI.so
+lib/cloudcompare/libCC_FBO_LIB.so
 lib/cloudcompare/libQCC_DB_LIB.so
+lib/cloudcompare/libQCC_GL_LIB.so
 lib/cloudcompare/libQCC_IO_LIB.so
 %%PLUGINS%%lib/cloudcompare/plugins/libQANIMATION_PLUGIN.so
 %%PLUGINS%%lib/cloudcompare/plugins/libQBROOM_PLUGIN.so
@@ -32,10 +36,13 @@ share/applications/cloudcompare.desktop
 %%PLUGINS%%%%DATADIR%%/shaders/EDL/edl_shade.vert
 %%PLUGINS%%%%DATADIR%%/shaders/SSAO/ssao.frag
 %%PLUGINS%%%%DATADIR%%/shaders/SSAO/ssao.vert
+%%DATADIR%%/translations/CloudCompare_de.qm
 %%DATADIR%%/translations/CloudCompare_es_AR.qm
 %%DATADIR%%/translations/CloudCompare_fr.qm
 %%DATADIR%%/translations/CloudCompare_ja.qm
+%%DATADIR%%/translations/CloudCompare_kr.qm
 %%DATADIR%%/translations/CloudCompare_pt.qm
 %%DATADIR%%/translations/CloudCompare_ru.qm
+%%DATADIR%%/translations/CloudCompare_zh.qm
 share/pixmaps/ccViewer.png
 share/pixmaps/cloudcompare.png