Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Sep 2020 06:21:45 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548456 - head/graphics/seexpr
Message-ID:  <202009130621.08D6Ljct090518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Sep 13 06:21:44 2020
New Revision: 548456
URL: https://svnweb.freebsd.org/changeset/ports/548456

Log:
  While upstream development of SeExpr had apparently stalled, update the
  port to unofficial version 3.4.4.0-alpha.1 prepared by the KDE project,
  which contains a number of important bugfixes and supports translations.
  
  This is required for upcoming update of Krita to version 4.4.0.  While
  here, actualize the WWW line in the port description.
  
  Requested by:	tcberner

Modified:
  head/graphics/seexpr/Makefile
  head/graphics/seexpr/distinfo
  head/graphics/seexpr/pkg-descr
  head/graphics/seexpr/pkg-plist

Modified: head/graphics/seexpr/Makefile
==============================================================================
--- head/graphics/seexpr/Makefile	Sun Sep 13 06:20:16 2020	(r548455)
+++ head/graphics/seexpr/Makefile	Sun Sep 13 06:21:44 2020	(r548456)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	seexpr
-PORTVERSION=	3.0.1
-DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+DISTVERSION=	3.4.4.0-alpha.1
 CATEGORIES=	graphics math
+MASTER_SITES=	https://files.kde.org/krita/build/dependencies/
 
 MAINTAINER=	danfe@FreeBSD.org
 COMMENT=	Embeddable expression evaluation language
@@ -14,10 +13,6 @@ LICENSE=	APACHE20
 
 LIB_DEPENDS=	libpng.so:graphics/png
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	wdas
-GH_PROJECT=	SeExpr
-
 USES=		bison cmake compiler:c++11-lang gl qt:5
 USE_GL=		gl glu
 USE_LDCONFIG=	yes
@@ -25,13 +20,25 @@ USE_QT=		buildtools_build qmake_build core gui opengl 
 
 MAKE_JOBS_UNSAFE=	yes	# https://github.com/wdas/seexpr/issues/40
 
-OPTIONS_DEFINE=	LLVM PYTHON
+OPTIONS_DEFINE=	ANIMCURVE DEEPWATER LLVM NLS PYTHON
+OPTIONS_DEFAULT=	DEEPWATER
 OPTIONS_SUB=	yes
 
+ANIMCURVE_DESC=	Build controls for animation curves
+ANIMCURVE_CMAKE_ON=	-DENABLE_ANIMCURVE:BOOL=TRUE
+ANIMCURVE_BROKEN=	error: use of undeclared identifier 'animlib'
+
+DEEPWATER_DESC=	Build controls for deep water spectrum
+DEEPWATER_CMAKE_ON=	-DENABLE_DEEPWATER:BOOL=TRUE
+
 LLVM_DESC=		Build with LLVM ${LLVM_DEFAULT:C/.$$//} backend
 LLVM_LIB_DEPENDS=	libLLVM.so:devel/llvm${LLVM_DEFAULT}
 LLVM_CMAKE_OFF=		-DENABLE_LLVM_BACKEND:BOOL=FALSE
 
+NLS_USES=		kde:5
+NLS_USE=		KDE=ecm_build
+NLS_CMAKE_OFF=		-DBUILD_TRANSLATIONS:BOOL=FALSE
+
 PYTHON_LIB_DEPENDS=	${PY_BOOST}
 PYTHON_USES=		pyqt:5 python
 PYTHON_USE=		PYQT=core_build,sip_build,widgets_build
@@ -43,11 +50,16 @@ CMAKE_ARGS+=	-DENABLE_SSE4:BOOL=FALSE
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e '/addError/s/raw\.str()/ErrorCode::Unknown,\
+		{ & }/' ${WRKSRC}/src/SeExpr2/Evaluator.h
 	@${REINPLACE_CMD} -e '/<alloca\.h>/d' ${WRKSRC}/src/SeExpr2/Platform.h
 	@${REINPLACE_CMD} -e '/pkgconfig/s/share/libdata/' \
 		${WRKSRC}/CMakeLists.txt
 .if !defined(WITH_DEBUG)
 	@${REINPLACE_CMD} -e 's/-g //' ${WRKSRC}/CMakeLists.txt
 .endif
+
+post-install:
+	@${RMDIR} ${STAGEDIR}${PREFIX}/include/SeExpr2/generated
 
 .include <bsd.port.mk>

Modified: head/graphics/seexpr/distinfo
==============================================================================
--- head/graphics/seexpr/distinfo	Sun Sep 13 06:20:16 2020	(r548455)
+++ head/graphics/seexpr/distinfo	Sun Sep 13 06:21:44 2020	(r548456)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1570122938
-SHA256 (wdas-SeExpr-v3.0.1_GH0.tar.gz) = 1e4cd35e6d63bd3443e1bffe723dbae91334c2c94a84cc590ea8f1886f96f84e
-SIZE (wdas-SeExpr-v3.0.1_GH0.tar.gz) = 903297
+TIMESTAMP = 1599312456
+SHA256 (seexpr-3.4.4.0-alpha.1.tar.gz) = dee9067e94ac3bfdf6ecacfa79601d032a00af371cd10d0adc1f704b58d66fd5
+SIZE (seexpr-3.4.4.0-alpha.1.tar.gz) = 932992

Modified: head/graphics/seexpr/pkg-descr
==============================================================================
--- head/graphics/seexpr/pkg-descr	Sun Sep 13 06:20:16 2020	(r548455)
+++ head/graphics/seexpr/pkg-descr	Sun Sep 13 06:21:44 2020	(r548456)
@@ -10,4 +10,4 @@ Major features:
   * Simple to embed in any program
   * High-level UI components to manipulate and visualize expressions
 
-WWW: http://www.disneyanimation.com/technology/seexpr.html
+WWW: https://wdas.github.io/SeExpr/

Modified: head/graphics/seexpr/pkg-plist
==============================================================================
--- head/graphics/seexpr/pkg-plist	Sun Sep 13 06:20:16 2020	(r548455)
+++ head/graphics/seexpr/pkg-plist	Sun Sep 13 06:21:44 2020	(r548456)
@@ -6,6 +6,7 @@ bin/imageSynthPaint3d2
 include/SeExpr2/Context.h
 include/SeExpr2/ContextUtils.h
 include/SeExpr2/Curve.h
+include/SeExpr2/ErrorCode.h
 include/SeExpr2/Evaluator.h
 include/SeExpr2/ExprBuiltins.h
 include/SeExpr2/ExprConfig.h
@@ -30,10 +31,14 @@ include/SeExpr2/Platform.h
 include/SeExpr2/SeContext.h
 include/SeExpr2/SeExprMacros.h
 include/SeExpr2/StringUtils.h
+include/SeExpr2/Timer.h
 include/SeExpr2/UI/BasicExpression.h
 include/SeExpr2/UI/ControlSpec.h
+include/SeExpr2/UI/Debug.h
 include/SeExpr2/UI/Editable.h
 include/SeExpr2/UI/EditableExpression.h
+include/SeExpr2/UI/ErrorMessages.h
+include/SeExpr2/UI/ExprAddDialog.h
 include/SeExpr2/UI/ExprBrowser.h
 include/SeExpr2/UI/ExprColorCurve.h
 include/SeExpr2/UI/ExprColorSwatch.h
@@ -41,20 +46,17 @@ include/SeExpr2/UI/ExprCompletionModel.h
 include/SeExpr2/UI/ExprControl.h
 include/SeExpr2/UI/ExprControlCollection.h
 include/SeExpr2/UI/ExprCurve.h
-include/SeExpr2/UI/ExprDeepWater.h
-include/SeExpr2/UI/ExprDialog.h
+%%DEEPWATER%%include/SeExpr2/UI/ExprDeepWater.h
 include/SeExpr2/UI/ExprEditor.h
 include/SeExpr2/UI/ExprFileDialog.h
-include/SeExpr2/UI/ExprGrapher2d.h
 include/SeExpr2/UI/ExprHelp.h
 include/SeExpr2/UI/ExprHighlighter.h
 include/SeExpr2/UI/ExprPopupDoc.h
 include/SeExpr2/UI/ExprShortEdit.h
 include/SeExpr2/UI/ExprSpecType.h
-include/SeExpr2/UI/generated/ExprSpecParser.tab.h
+include/SeExpr2/UI/ExprTextEdit.h
 include/SeExpr2/VarBlock.h
 include/SeExpr2/Vec.h
-include/SeExpr2/generated/ExprParser.tab.h
 include/SeExpr2/parser/ASTNode.h
 include/SeExpr2/parser/SeExprLex.h
 include/SeExpr2/parser/SeExprParse.h
@@ -104,8 +106,19 @@ share/SeExpr2/expressions/raytrace.se
 share/SeExpr2/expressions/sinc.se
 share/SeExpr2/utils/eval
 share/SeExpr2/utils/listVar
+share/cmake/SeExpr2/SeExpr2Targets-%%CMAKE_BUILD_TYPE%%.cmake
+share/cmake/SeExpr2/SeExpr2Targets.cmake
 share/cmake/SeExpr2/seexpr2-config.cmake
 share/cmake/SeExpr2/seexpr2-version.cmake
+%%NLS%%share/locale/ca/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/ca@valencia/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/es/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/fr/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/nl/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/nn/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/pt/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/seexpr2_qt.qm
+%%NLS%%share/locale/uk/LC_MESSAGES/seexpr2_qt.qm
 share/test/SeExpr2/BlockTests
 share/test/SeExpr2/VarBlockExample
 share/test/SeExpr2/dirtSimple



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009130621.08D6Ljct090518>