Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2015 10:21:33 +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: r398907 - in head/graphics: . seexpr
Message-ID:  <201510091021.t99ALXQL085438@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Oct  9 10:21:33 2015
New Revision: 398907
URL: https://svnweb.freebsd.org/changeset/ports/398907

Log:
  Add a port of SeExpr, embeddable expression evaluation language from Walt
  Disney Animation Studios.
  
  WWW: http://www.disneyanimation.com/technology/seexpr.html

Added:
  head/graphics/seexpr/
  head/graphics/seexpr/Makefile   (contents, props changed)
  head/graphics/seexpr/distinfo   (contents, props changed)
  head/graphics/seexpr/pkg-descr   (contents, props changed)
  head/graphics/seexpr/pkg-plist   (contents, props changed)
Modified:
  head/graphics/Makefile

Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile	Fri Oct  9 09:06:16 2015	(r398906)
+++ head/graphics/Makefile	Fri Oct  9 10:21:33 2015	(r398907)
@@ -968,6 +968,7 @@
     SUBDIR += sdump
     SUBDIR += seam-carving-gui
     SUBDIR += seejpeg
+    SUBDIR += seexpr
     SUBDIR += seom
     SUBDIR += separate
     SUBDIR += seq2gif

Added: head/graphics/seexpr/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/seexpr/Makefile	Fri Oct  9 10:21:33 2015	(r398907)
@@ -0,0 +1,42 @@
+# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	seexpr
+DISTVERSION=	1.0.1.2015.08.29
+CATEGORIES=	graphics math
+
+MAINTAINER=	danfe@FreeBSD.org
+COMMENT=	Embeddable expression evaluation language
+
+LICENSE=	APACHE20
+
+BUILD_DEPENDS=	${LOCALBASE}/share/py-sip/QtGui/QtGuimod.sip:${PORTSDIR}/x11-toolkits/py-qt4-gui
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	wdas
+GH_TAGNAME=	36ffb818b8
+
+USES=		bison cmake compiler:c++0x python
+USE_QT4=	moc_build qmake_build rcc_build uic_build gui opengl
+
+WRKSRC=		${WRKDIR}/SeExpr-${GH_TAGNAME_EXTRACT}
+
+CXXFLAGS+=	-I${LOCALBASE}/include
+
+.include <bsd.port.pre.mk>
+
+# base flex(1) v2.5.4 is not sufficient
+.if ${OSVERSION} < 1000033
+BUILD_DEPENDS+=	${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e '/<alloca\.h>/d' ${WRKSRC}/src/SeExpr/SePlatform.h
+	@${REINPLACE_CMD} -e 's, "dl",,' ${WRKSRC}/src/SeExpr/CMakeLists.txt
+	@${REINPLACE_CMD} -e '/tests/d' ${WRKSRC}/CMakeLists.txt
+.if ${OSVERSION} < 1000033
+	@${REINPLACE_CMD} -e '/COMMAND/s,flex,${LOCALBASE}/bin/&,' \
+		${WRKSRC}/src/build/macros.cmake
+.endif
+
+.include <bsd.port.post.mk>

Added: head/graphics/seexpr/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/seexpr/distinfo	Fri Oct  9 10:21:33 2015	(r398907)
@@ -0,0 +1,2 @@
+SHA256 (wdas-seexpr-1.0.1.2015.08.29-36ffb818b8_GH0.tar.gz) = 8361adb26310060b063e37376625acb60314deac081130a397857f04884e2a7b
+SIZE (wdas-seexpr-1.0.1.2015.08.29-36ffb818b8_GH0.tar.gz) = 709489

Added: head/graphics/seexpr/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/seexpr/pkg-descr	Fri Oct  9 10:21:33 2015	(r398907)
@@ -0,0 +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

Added: head/graphics/seexpr/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/seexpr/pkg-plist	Fri Oct  9 10:21:33 2015	(r398907)
@@ -0,0 +1,41 @@
+bin/asciiCalc
+bin/asciiGraph
+bin/imageEditor
+bin/imageSynth
+include/SeContext.h
+include/SeCurve.h
+include/SeExprBuiltins.h
+include/SeExprEditor/SeExprEdBrowser.h
+include/SeExprEditor/SeExprEdColorCurve.h
+include/SeExprEditor/SeExprEdColorSwatchWidget.h
+include/SeExprEditor/SeExprEdControl.h
+include/SeExprEditor/SeExprEdControlCollection.h
+include/SeExprEditor/SeExprEdCurve.h
+include/SeExprEditor/SeExprEdDialog.h
+include/SeExprEditor/SeExprEdFileDialog.h
+include/SeExprEditor/SeExprEdGrapher2d.h
+include/SeExprEditor/SeExprEdPopupDocumentation.h
+include/SeExprEditor/SeExprEdShortEdit.h
+include/SeExprEditor/SeExprEditor.h
+include/SeExprFunc.h
+include/SeExprMacros.h
+include/SeExprNode.h
+include/SeExprParser.h
+include/SeExpression.h
+include/SeMutex.h
+include/SeNoise.h
+include/SeNoiseTables.h
+include/SePlatform.h
+include/SeVec3d.h
+lib/libSeExpr.a
+lib/libSeExpr.so
+lib/libSeExprEditor.so
+%%PYTHON_SITELIBDIR%%/SeExpr/__init__.py
+%%PYTHON_SITELIBDIR%%/SeExpr/expreditor.so
+share/SeExpr/demo/segraph
+share/SeExpr/expressions/fbm.se
+share/SeExpr/expressions/noise.se
+share/SeExpr/expressions/noisecolor1.se
+share/SeExpr/expressions/noisecolor2.se
+share/SeExpr/expressions/raytrace.se
+share/SeExpr/expressions/sinc.se



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