Re: git: fea222604fc0 - main - graphics/f3d: upgrade to 2.3.0

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Thu, 21 Mar 2024 19:27:02 UTC
21.03.2024 21:02, Thierry Thomas пишет:
> The branch main has been updated by thierry:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=fea222604fc0b3ed6bcdd48324d1a7a462128dd7
>
> commit fea222604fc0b3ed6bcdd48324d1a7a462128dd7
> Author:     Thierry Thomas <thierry@FreeBSD.org>
> AuthorDate: 2024-03-08 10:07:26 +0000
> Commit:     Thierry Thomas <thierry@FreeBSD.org>
> CommitDate: 2024-03-21 18:01:17 +0000
>
>      graphics/f3d: upgrade to 2.3.0
>      
>      Release notes at <https://github.com/f3d-app/f3d/releases/tag/v2.3.0>.
>      
>      Also fix with OpenCascade 7.8.0:
>      See <https://github.com/f3d-app/f3d/issues/1304>.
>      
>      PR:             277308
>      Approved by:    yuri (maintainer)
> ---
>   graphics/f3d/Makefile                              |  11 +-
>   graphics/f3d/distinfo                              |   6 +-
>   .../f3d/files/patch-plugins_occt_CMakeLists.txt    |  35 ++
>   .../patch-plugins_occt_module_vtkF3DOCCTReader.cxx | 381 +++++++++++++++++++++
>   graphics/f3d/pkg-plist                             |   5 +-
>   5 files changed, 432 insertions(+), 6 deletions(-)
>
> diff --git a/graphics/f3d/Makefile b/graphics/f3d/Makefile
> index 981ed2bb3181..482fcc314e1f 100644
> --- a/graphics/f3d/Makefile
> +++ b/graphics/f3d/Makefile
> @@ -1,6 +1,6 @@
>   PORTNAME=	f3d
>   DISTVERSIONPREFIX=	v
> -DISTVERSION=	2.2.1
> +DISTVERSION=	2.3.0
>   CATEGORIES=	graphics
>   
>   MAINTAINER=	yuri@FreeBSD.org
> @@ -11,17 +11,24 @@ LICENSE=	BSD3CLAUSE
>   LICENSE_FILE=	${WRKSRC}/LICENSE.md
>   
>   LIB_DEPENDS=	libavcodec.so:multimedia/ffmpeg4 \
> +		libexpat.so:textproc/expat2 \
>   		libfontconfig.so:x11-fonts/fontconfig \
>   		libfreeimage.so:graphics/freeimage \
>   		libfreetype.so:print/freetype2 \
>   		libhdf5.so:science/hdf5 \
>   		libImath-3_1.so:math/Imath \
> +		libjpeg.so:graphics/jpeg-turbo \
>   		libnetcdf.so:science/netcdf \
> +		libpng.so:graphics/png \
> +		libtbbmalloc.so:devel/onetbb \
> +		libtiff.so:graphics/tiff \
>   		libvtkCommonMisc-${VTK_VER}.so:math/vtk${VTK_VER:R}
>   
> -USES=		cmake:testing compiler:c++17-lang desktop-file-utils gl shared-mime-info tcl tk xorg
> +USES=		cmake:testing compiler:c++17-lang desktop-file-utils gl mpi	\
> +		shared-mime-info tcl tk xorg

Why it need mpi as mandatory dependency?
It build fine errors without USES=mpi.
Maybe create it optional, but default?

-- 
Best regards,
Vladimir Druzenko