Index: head/graphics/seexpr/Makefile =================================================================== --- head/graphics/seexpr/Makefile (revision 548455) +++ head/graphics/seexpr/Makefile (revision 548456) @@ -1,53 +1,65 @@ # Created by: Alexey Dokuchaev # $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 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 USE_QT= buildtools_build qmake_build core gui opengl widgets 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 PYTHON_CMAKE_ON= -DPYQT_SIP_DIR:STRING=${PYQT_SIPDIR} PYTHON_CMAKE_OFF= -DUSE_PYTHON:BOOL=FALSE .if ! ${MACHINE_CPU:Msse41} 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 '//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 Index: head/graphics/seexpr/distinfo =================================================================== --- head/graphics/seexpr/distinfo (revision 548455) +++ head/graphics/seexpr/distinfo (revision 548456) @@ -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 Index: head/graphics/seexpr/pkg-descr =================================================================== --- head/graphics/seexpr/pkg-descr (revision 548455) +++ head/graphics/seexpr/pkg-descr (revision 548456) @@ -1,13 +1,13 @@ SeExpr is simple expression language that provided artistic control and customization to your software. It can be used for procedural geometry synthesis, image synthesis, simulation control, and much more. Major features: * Arithmetic expression of scalar/vector types * Large library of built-in functions * Extensible variables and functions (including with DSOs) * 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/ Index: head/graphics/seexpr/pkg-plist =================================================================== --- head/graphics/seexpr/pkg-plist (revision 548455) +++ head/graphics/seexpr/pkg-plist (revision 548456) @@ -1,116 +1,129 @@ bin/asciiCalc2 bin/asciiGraph2 bin/imageEditor2 bin/imageSynth2 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 include/SeExpr2/ExprEnv.h include/SeExpr2/ExprFunc.h include/SeExpr2/ExprFuncStandard.h include/SeExpr2/ExprFuncX.h include/SeExpr2/ExprLLVM.h include/SeExpr2/ExprLLVMAll.h include/SeExpr2/ExprMultiExpr.h include/SeExpr2/ExprNode.h include/SeExpr2/ExprParser.h include/SeExpr2/ExprPatterns.h include/SeExpr2/ExprType.h include/SeExpr2/ExprWalker.h include/SeExpr2/Expression.h include/SeExpr2/Interpreter.h include/SeExpr2/Mutex.h include/SeExpr2/Noise.h include/SeExpr2/NoiseTables.h 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 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 include/SeExpr2/seexpr2_export.h lib/libSeExpr2.so lib/libSeExpr2.so.2 lib/libSeExpr2.so.2.0 lib/libSeExpr2Editor.so lib/libSeExpr2Editor.so.2.0 lib/libSeExpr2Editor.so.3 libdata/pkgconfig/seexpr2.pc share/SeExpr2/demos/imageSynth/examples/111.se share/SeExpr2/demos/imageSynth/examples/fbm.se share/SeExpr2/demos/imageSynth/examples/noise.se share/SeExpr2/demos/imageSynth/examples/noisecolor1.se share/SeExpr2/demos/imageSynth/examples/noisecolor2.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/RemapShadowContribution.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/bark_eucalyptusColor.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/bark_eucalyptusDisp.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/blackToWhite.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/candycane.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/color_noise.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/dither_with_gamma.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/freakles.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/lines.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/rope_Basic.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/scaleTool.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/select_byColorDark.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/select_byThreshold.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/textureI_nstancerCircular.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/texture_Instancer.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/texture_Tiler.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/threads.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/threshold.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/uv_testPattern.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/wood_Nicks.se share/SeExpr2/demos/imageSynth/examples/paint3d_test/xyz_colorNoise.se share/SeExpr2/demos/imageSynth/examples/raytrace.se share/SeExpr2/demos/imageSynth/examples/run.sh share/SeExpr2/demos/imageSynth/examples/sinc.se share/SeExpr2/demos/imageSynth/examples/test.se share/SeExpr2/expressions/fbm.se share/SeExpr2/expressions/noise.se share/SeExpr2/expressions/noisecolor1.se share/SeExpr2/expressions/noisecolor2.se 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 %%PYTHON%%%%PYTHON_SITELIBDIR%%/SeExpr2/__init__.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/SeExpr2/expreditor2.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/SeExprPy/__init__.py %%PYTHON%%%%PYTHON_SITELIBDIR%%/SeExprPy/core.so %%PYTHON%%%%PYTHON_SITELIBDIR%%/SeExprPy/utils.py