From owner-svn-ports-all@freebsd.org Fri Oct 9 10:21:35 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 712699D2655; Fri, 9 Oct 2015 10:21:35 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C0D36C4; Fri, 9 Oct 2015 10:21:35 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t99ALYEa085446; Fri, 9 Oct 2015 10:21:34 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t99ALXQL085438; Fri, 9 Oct 2015 10:21:33 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201510091021.t99ALXQL085438@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Fri, 9 Oct 2015 10:21:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398907 - in head/graphics: . seexpr X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2015 10:21:35 -0000 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 +# $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 + +# 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 '//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 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