- Upgrade cad/opencascade to 7.5.0

Release notes at
  <https://old.opencascade.com/sites/default/files/documents/release_notes_7.5.0.pdf>

- Bump PORTREVISION of consumers.
This commit is contained in:
Thierry Thomas 2020-11-14 17:25:20 +00:00
parent dfd41ff4d1
commit b19d5fec8a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555127
11 changed files with 680 additions and 249 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= FreeCAD
DISTVERSION= 0.18.4
PORTREVISION= 10
PORTREVISION= 11
# use these for bugfixes/snapshots
# DISTVERSION= 0.18-16093 # git rev-list --count
# DISTVERSIONSUFFIX= -g690774c0e

View File

@ -3,6 +3,7 @@
PORTNAME= gmsh
DISTVERSION= 4.6.0
PORTREVISION= 1
CATEGORIES= cad
MASTER_SITES= LOCAL/wen \
LOCAL/zeising \

View File

@ -3,7 +3,7 @@
PORTNAME= horizon-eda
DISTVERSIONPREFIX= v
DISTVERSION= 1.3.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org

View File

@ -4,6 +4,7 @@ PORTNAME= ifcopenshell
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.0
DISTVERSIONSUFFIX= b0
PORTREVISION= 1
CATEGORIES= cad
DISTNAME= ${PORTNAME}-${DISTVERSION}

View File

@ -3,7 +3,7 @@
PORTNAME= kicad
DISTVERSION= r${GIT_SRC_DATE}
#PORTREVISION= 1
PORTREVISION= 1
CATEGORIES= cad
PKGNAMESUFFIX= -devel
DIST_SUBDIR= ${PORTNAME}
@ -25,9 +25,9 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
CONFLICTS= kicad-4.*
USE_GITLAB= yes
GL_ACCOUNT= kicad
GL_PROJECT= code/kicad
USE_GITLAB= yes
GL_ACCOUNT= kicad
GL_PROJECT= code/kicad
GL_COMMIT= ${GIT_SRC_HASH}
WRKSRC= ${WRKDIR}/${PORTNAME}-${GL_COMMIT}-${GL_COMMIT}
@ -71,9 +71,8 @@ CMAKE_ARGS= -DLOCALBASE="${LOCALBASE}" \
-DKICAD_USE_OCE=OFF \
-DKICAD_USE_OCC=ON \
-DOCC_INCLUDE_DIR=${LOCALBASE}/include/OpenCASCADE
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
.include "Makefile.git_rev"

View File

@ -3,6 +3,7 @@
PORTNAME= kicad
PORTVERSION= 5.1.8
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= cad
MASTER_SITES= https://gitlab.com/${PORTNAME}/code/${PORTNAME}/-/archive/${DISTVERSION}/

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= opencascade
PORTVERSION= 7.4.0
PORTREVISION= 7
PORTVERSION= 7.5.0
CATEGORIES= cad science
MASTER_SITES= LOCAL/thierry
@ -15,7 +14,8 @@ LICENSE_NAME= LGPL21 with exception
LICENSE_FILE= ${WRKSRC}/OCCT_LGPL_EXCEPTION.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= ${LOCALBASE}/lib/qt5/bin/qmake:devel/qt5-qmake \
BUILD_DEPENDS= rapidjson>0:devel/rapidjson \
${LOCALBASE}/lib/qt5/bin/qmake:devel/qt5-qmake \
${LOCALBASE}/lib/qt5/bin/moc:devel/qt5-buildtools
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libvtksys-${VTKVER}.so:math/vtk8 \
@ -42,7 +42,7 @@ ENVSH= adm/templates/env.sh
VTKVER= 8.2
OPTIONS_DEFINE= DOCS DOXYGEN FFMPEG VIS
VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl and gl2ps)
VIS_DESC= Build Visualizazion module (requires OpenGL, freetype, ftgl)
OPTIONS_DEFAULT=FFMPEG VIS
OPTIONS_SUB= yes
@ -58,9 +58,13 @@ CMAKE_ARGS+= -DINSTALL_DIR=${OCCROOT} \
-DINSTALL_DIR_TESTS=${OCCROOT}/tests \
-DINSTALL_TEST_CASES:BOOL=ON \
-DUSE_TBB:BOOL=ON \
-DUSE_VTK:BOOL=ON \
-DUSE_RAPIDJSON:BOOL=ON \
-DUSE_VTK:BOOL=ON \
-DVTK_DIR:PATH=${LOCALBASE}/lib/vtk-${VTKVER}/cmake/vtk-${VTKVER}
#CMAKE_ARGS+= -DUSE_EIGEN:BOOL=ON
#USES+= eigen:3
USE_LDCONFIG= yes
LOCCROOT= OpenCAS
@ -72,12 +76,15 @@ FFMPEG_CMAKE_ON= -DUSE_FFMPEG:BOOL=ON
FFMPEG_CMAKE_OFF= -DUSE_FFMPEG:BOOL=OFF
FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON -DUSE_GL2PS:BOOL=ON \
-DUSE_FREETYPE:BOOL=ON -D3RDPARTY_FREETYPE_DIR=${LOCALBASE}
VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF -DUSE_GL2PS:BOOL=OFF \
-DUSE_FREETYPE:BOOL=OFF
VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \
libgl2ps.so:print/gl2ps \
VIS_CMAKE_ON= -DUSE_FREEIMAGE:BOOL=ON \
-DUSE_FREETYPE:BOOL=ON \
-DUSE_GLES2:BOOL=ON \
-D3RDPARTY_FREETYPE_DIR=${LOCALBASE}
VIS_CMAKE_OFF= -DUSE_FREEIMAGE:BOOL=OFF \
-DUSE_FREETYPE:BOOL=OFF \
-DUSE_GLES2:BOOL=OFF
VIS_LIB_DEPENDS= libftgl.so:graphics/ftgl \
libGLESv2.so:graphics/mesa-libs \
libfreeimageplus.so:graphics/freeimage
DOXYGEN_IMPLIES= DOCS
@ -102,6 +109,13 @@ pre-everything::
@${ECHO_MSG} "Warning: to build OpenCascade, you should have at least"
@${ECHO_MSG} "2.6 Gb of free disk space in build area!"
@${ECHO_MSG}
@${ECHO_MSG} "Warning: OpenCascade must be deinstalled before rebuilding it!"
@${ECHO_MSG}
pre-patch:
${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/src/BRepMesh/delabella.cpp\
${WRKSRC}/src/OSD/OSD_MemInfo.cxx
pre-configure:
${REINPLACE_CMD} -e 's|tclsh|${TCLSH}|' ${WRKSRC}/gendoc
@ -112,12 +126,6 @@ pre-configure:
${REINPLACE_CMD} -e 's|lin|bsd|' ${WRKSRC}/${es}
.endfor
pre-patch:
@${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|' \
${WRKSRC}/src/OSD/OSD_MemInfo.cxx \
${WRKSRC}/src/StepFile/step.tab.c \
${WRKSRC}/src/StepFile/step.yacc
post-build-DOXYGEN-on:
(cd ${WRKSRC} && ./gendoc -overview)

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1569992557
SHA256 (opencascade-7.4.0.tgz) = 1eace85115ea178f268e9d803ced994b66b72455b5484074b6ad7f643261f0a0
SIZE (opencascade-7.4.0.tgz) = 216650633
TIMESTAMP = 1605211398
SHA256 (opencascade-7.5.0.tgz) = d82d253aa6f43ce49111e84e04286dab4445eecba8efb5190973244b0c7fd211
SIZE (opencascade-7.5.0.tgz) = 377394053

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,7 @@
PORTNAME= ocp
DISTVERSION= 7.4-RC2
PORTREVISION= 1
CATEGORIES= cad
# Direct access to github is needed because the release added an extra archive which
# we need to build from, rather than the initial release.

View File

@ -3,6 +3,7 @@
PORTNAME= elmerfem
PORTVERSION= 8.4.20200708
PORTREVISION= 1
CATEGORIES= science
MAINTAINER= henrik@gulbra.net