git: f65ecd8b9606 - main - cad/solvespace: Update to 3.0 and take maintainership

From: Loïc Bartoletti <lbartoletti_at_FreeBSD.org>
Date: Thu, 20 Jan 2022 20:21:19 UTC
The branch main has been updated by lbartoletti:

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

commit f65ecd8b960685f74db8b2f9d991f7d102150cf6
Author:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
AuthorDate: 2022-01-20 19:15:40 +0000
Commit:     Loïc Bartoletti <lbartoletti@FreeBSD.org>
CommitDate: 2022-01-20 19:20:08 +0000

    cad/solvespace: Update to 3.0 and take maintainership
    
    - Update to 3.0:
      - Update libdxfrw to 0b7b7b7
      - Introduce microsoft/mimalloc at 38a0322
      - Use gtmm 3.0
    - pet portlint
    - WWW: use https
    
    Changes:
      - https://github.com/solvespace/solvespace/blob/master/CHANGELOG.md#30
---
 cad/solvespace/Makefile  | 23 ++++++------
 cad/solvespace/distinfo  | 12 ++++---
 cad/solvespace/pkg-descr |  2 +-
 cad/solvespace/pkg-plist | 91 +++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 110 insertions(+), 18 deletions(-)

diff --git a/cad/solvespace/Makefile b/cad/solvespace/Makefile
index fcd4f75c3cb8..7b4b9c3f58b1 100644
--- a/cad/solvespace/Makefile
+++ b/cad/solvespace/Makefile
@@ -1,10 +1,9 @@
 PORTNAME=	solvespace
-PORTVERSION=	2.3
+PORTVERSION=	3.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	6
 CATEGORIES=	cad
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	lbartoletti@FreeBSD.org
 COMMENT=	Parametric 2d/3d CAD
 
 LICENSE=	GPLv3+
@@ -13,20 +12,22 @@ LICENSE_FILE=	${WRKSRC}/COPYING.txt
 LIB_DEPENDS=	libpng.so:graphics/png \
 		libjson-c.so:devel/json-c \
 		libfontconfig.so:x11-fonts/fontconfig \
-		libfreetype.so:print/freetype2 \
-		libgtkmm-2.4.so:x11-toolkits/gtkmm24
-
-USE_GITHUB=	yes
-GH_PROJECT=	libdxfrw:libdxfrw
-GH_TAGNAME=	8f95895:libdxfrw
-GH_SUBDIR=	extlib/libdxfrw:libdxfrw
+		libfreetype.so:print/freetype2
 
 USES=		cmake compiler:c++11-lang gl gnome pkgconfig xorg
 USE_GL=		gl glu glew
-USE_GNOME=	atkmm gtk20 pangomm
+USE_GNOME=	gtkmm30 pangomm
 USE_XORG=	x11
 USE_LDCONFIG=	yes
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	microsoft:mimalloc
+GH_PROJECT=	libdxfrw:libdxfrw mimalloc:mimalloc
+GH_TAGNAME=	0b7b7b7:libdxfrw 38a0322:mimalloc
+GH_SUBDIR=	extlib/libdxfrw:libdxfrw extlib/mimalloc:mimalloc
+
+INSTALLS_ICONS=	YES
+
 post-patch:
 	${REINPLACE_CMD} -e '/-stdlib=libc++/d' ${WRKSRC}/CMakeLists.txt
 
diff --git a/cad/solvespace/distinfo b/cad/solvespace/distinfo
index 2360a652d5b9..b4f6a37abcab 100644
--- a/cad/solvespace/distinfo
+++ b/cad/solvespace/distinfo
@@ -1,5 +1,7 @@
-TIMESTAMP = 1508253424
-SHA256 (solvespace-solvespace-v2.3_GH0.tar.gz) = 0fdd4ccf81ac0b0efbb6373ae66260aaf6b8f434952c5c44739362093f59fcd7
-SIZE (solvespace-solvespace-v2.3_GH0.tar.gz) = 2115940
-SHA256 (solvespace-libdxfrw-8f95895_GH0.tar.gz) = d39a07d00b9590be5f2ac7e468cb97077e029498d0e2e5ccfc8d5bbc9e494ba4
-SIZE (solvespace-libdxfrw-8f95895_GH0.tar.gz) = 691378
+TIMESTAMP = 1642703513
+SHA256 (solvespace-solvespace-v3.0_GH0.tar.gz) = 04cda618fbbbe2db92713adf2fff4264017f858bac6f737c9da11efab693be4f
+SIZE (solvespace-solvespace-v3.0_GH0.tar.gz) = 2734860
+SHA256 (microsoft-mimalloc-38a0322_GH0.tar.gz) = 6c55dd5a42e1fd49ec8c765163731f68072b7311a2ee021499bba3f9c92bf78d
+SIZE (microsoft-mimalloc-38a0322_GH0.tar.gz) = 908347
+SHA256 (solvespace-libdxfrw-0b7b7b7_GH0.tar.gz) = 4a7e6fc588b9c9846a24452677873a5ea5a91c4ef663d089169376bb88dc2b61
+SIZE (solvespace-libdxfrw-0b7b7b7_GH0.tar.gz) = 691514
diff --git a/cad/solvespace/pkg-descr b/cad/solvespace/pkg-descr
index 9201c8d67e52..9dc762e8462d 100644
--- a/cad/solvespace/pkg-descr
+++ b/cad/solvespace/pkg-descr
@@ -2,4 +2,4 @@ SOLVESPACE is a parametric 3d CAD program. Applications include modeling 2d and
 3d parts, 3d-printed parts, preparing CAM data, mechanism design and plane and
 solid geometry.
 
-WWW: http://solvespace.com/
+WWW: https://solvespace.com/
diff --git a/cad/solvespace/pkg-plist b/cad/solvespace/pkg-plist
index 6994e9dbbe87..e9759b104b76 100644
--- a/cad/solvespace/pkg-plist
+++ b/cad/solvespace/pkg-plist
@@ -1,8 +1,9 @@
 bin/solvespace
+bin/solvespace-cli
 include/slvs.h
 lib/libslvs.so
 lib/libslvs.so.1
-lib/libslvs.so.2.3
+lib/libslvs.so.3.0
 share/applications/solvespace.desktop
 share/icons/hicolor/16x16/apps/solvespace.png
 share/icons/hicolor/16x16/mimetypes/application.x-solvespace.png
@@ -12,7 +13,95 @@ share/icons/hicolor/32x32/apps/solvespace.png
 share/icons/hicolor/32x32/mimetypes/application.x-solvespace.png
 share/icons/hicolor/48x48/apps/solvespace.png
 share/icons/hicolor/48x48/mimetypes/application.x-solvespace.png
+share/icons/hicolor/scalable/apps/solvespace.svg
+share/icons/hicolor/scalable/mimetypes/application.x-solvespace.svg
+share/mime/packages/solvespace-slvs.xml
 share/pixmaps/solvespace-16x16.xpm
 share/pixmaps/solvespace-24x24.xpm
 share/pixmaps/solvespace-32x32.xpm
 share/pixmaps/solvespace-48x48.xpm
+%%DATADIR%%/banner.txt
+%%DATADIR%%/fonts/BitstreamVeraSans-Roman-builtin.ttf
+%%DATADIR%%/fonts/private/0-check-false.png
+%%DATADIR%%/fonts/private/1-check-true.png
+%%DATADIR%%/fonts/private/2-radio-false.png
+%%DATADIR%%/fonts/private/3-radio-true.png
+%%DATADIR%%/fonts/private/4-stipple-dot.png
+%%DATADIR%%/fonts/private/5-stipple-dash-long.png
+%%DATADIR%%/fonts/private/6-stipple-dash.png
+%%DATADIR%%/fonts/private/7-stipple-zigzag.png
+%%DATADIR%%/fonts/unicode.lff.gz
+%%DATADIR%%/fonts/unifont.hex.gz
+%%DATADIR%%/freedesktop/solvespace-48x48.png
+%%DATADIR%%/icons/graphics-window/angle.png
+%%DATADIR%%/icons/graphics-window/arc.png
+%%DATADIR%%/icons/graphics-window/assemble.png
+%%DATADIR%%/icons/graphics-window/bezier.png
+%%DATADIR%%/icons/graphics-window/circle.png
+%%DATADIR%%/icons/graphics-window/construction.png
+%%DATADIR%%/icons/graphics-window/equal.png
+%%DATADIR%%/icons/graphics-window/extrude.png
+%%DATADIR%%/icons/graphics-window/helix.png
+%%DATADIR%%/icons/graphics-window/horiz.png
+%%DATADIR%%/icons/graphics-window/image.png
+%%DATADIR%%/icons/graphics-window/in3d.png
+%%DATADIR%%/icons/graphics-window/lathe.png
+%%DATADIR%%/icons/graphics-window/length.png
+%%DATADIR%%/icons/graphics-window/line.png
+%%DATADIR%%/icons/graphics-window/ontoworkplane.png
+%%DATADIR%%/icons/graphics-window/other-supp.png
+%%DATADIR%%/icons/graphics-window/parallel.png
+%%DATADIR%%/icons/graphics-window/perpendicular.png
+%%DATADIR%%/icons/graphics-window/point.png
+%%DATADIR%%/icons/graphics-window/pointonx.png
+%%DATADIR%%/icons/graphics-window/rectangle.png
+%%DATADIR%%/icons/graphics-window/ref.png
+%%DATADIR%%/icons/graphics-window/revolve.png
+%%DATADIR%%/icons/graphics-window/same-orientation.png
+%%DATADIR%%/icons/graphics-window/sketch-in-3d.png
+%%DATADIR%%/icons/graphics-window/sketch-in-plane.png
+%%DATADIR%%/icons/graphics-window/step-rotate.png
+%%DATADIR%%/icons/graphics-window/step-translate.png
+%%DATADIR%%/icons/graphics-window/symmetric.png
+%%DATADIR%%/icons/graphics-window/tangent-arc.png
+%%DATADIR%%/icons/graphics-window/text.png
+%%DATADIR%%/icons/graphics-window/trim.png
+%%DATADIR%%/icons/graphics-window/vert.png
+%%DATADIR%%/icons/text-window/constraint.png
+%%DATADIR%%/icons/text-window/construction.png
+%%DATADIR%%/icons/text-window/edges.png
+%%DATADIR%%/icons/text-window/faces.png
+%%DATADIR%%/icons/text-window/mesh.png
+%%DATADIR%%/icons/text-window/normal.png
+%%DATADIR%%/icons/text-window/occluded-invisible.png
+%%DATADIR%%/icons/text-window/occluded-stippled.png
+%%DATADIR%%/icons/text-window/occluded-visible.png
+%%DATADIR%%/icons/text-window/outlines.png
+%%DATADIR%%/icons/text-window/point.png
+%%DATADIR%%/icons/text-window/shaded.png
+%%DATADIR%%/icons/text-window/workplane.png
+%%DATADIR%%/locales.txt
+%%DATADIR%%/locales/de_DE.po
+%%DATADIR%%/locales/en_US.po
+%%DATADIR%%/locales/fr_FR.po
+%%DATADIR%%/locales/ru_RU.po
+%%DATADIR%%/locales/tr_TR.po
+%%DATADIR%%/locales/uk_UA.po
+%%DATADIR%%/locales/zh_CN.po
+%%DATADIR%%/shaders/edge.frag
+%%DATADIR%%/shaders/edge.vert
+%%DATADIR%%/shaders/imesh.frag
+%%DATADIR%%/shaders/imesh.vert
+%%DATADIR%%/shaders/imesh_point.frag
+%%DATADIR%%/shaders/imesh_point.vert
+%%DATADIR%%/shaders/imesh_tex.frag
+%%DATADIR%%/shaders/imesh_tex.vert
+%%DATADIR%%/shaders/imesh_texa.frag
+%%DATADIR%%/shaders/mesh.frag
+%%DATADIR%%/shaders/mesh.vert
+%%DATADIR%%/shaders/mesh_fill.frag
+%%DATADIR%%/shaders/mesh_fill.vert
+%%DATADIR%%/shaders/outline.vert
+%%DATADIR%%/threejs/SolveSpaceControls.js
+%%DATADIR%%/threejs/hammer-2.0.8.js.gz
+%%DATADIR%%/threejs/three-r111.min.js.gz