aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-13 06:21:44 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2020-09-13 06:21:44 +0000
commit2e8811fdbe02ccf9a9bd8077b546ec874fba1862 (patch)
treea04be571279498432762182b47f3ce8ec141282d /graphics
parentef64ca31abb55f18743cd1050d4d134b118623f6 (diff)
downloadports-2e8811fdbe02ccf9a9bd8077b546ec874fba1862.tar.gz
ports-2e8811fdbe02ccf9a9bd8077b546ec874fba1862.zip
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
Notes
Notes: svn path=/head/; revision=548456
Diffstat (limited to 'graphics')
-rw-r--r--graphics/seexpr/Makefile28
-rw-r--r--graphics/seexpr/distinfo6
-rw-r--r--graphics/seexpr/pkg-descr2
-rw-r--r--graphics/seexpr/pkg-plist23
4 files changed, 42 insertions, 17 deletions
diff --git a/graphics/seexpr/Makefile b/graphics/seexpr/Makefile
index 9985da1fdf6d..cab916d47b36 100644
--- a/graphics/seexpr/Makefile
+++ b/graphics/seexpr/Makefile
@@ -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 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
@@ -43,6 +50,8 @@ 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
@@ -50,4 +59,7 @@ post-patch:
@${REINPLACE_CMD} -e 's/-g //' ${WRKSRC}/CMakeLists.txt
.endif
+post-install:
+ @${RMDIR} ${STAGEDIR}${PREFIX}/include/SeExpr2/generated
+
.include <bsd.port.mk>
diff --git a/graphics/seexpr/distinfo b/graphics/seexpr/distinfo
index 27bfefd9f199..e0aef62955b7 100644
--- a/graphics/seexpr/distinfo
+++ b/graphics/seexpr/distinfo
@@ -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
diff --git a/graphics/seexpr/pkg-descr b/graphics/seexpr/pkg-descr
index 57a3e4ca1ac2..4de176505614 100644
--- a/graphics/seexpr/pkg-descr
+++ b/graphics/seexpr/pkg-descr
@@ -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/
diff --git a/graphics/seexpr/pkg-plist b/graphics/seexpr/pkg-plist
index c11a753c8b4b..c1daae5d1974 100644
--- a/graphics/seexpr/pkg-plist
+++ b/graphics/seexpr/pkg-plist
@@ -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