From owner-svn-ports-head@freebsd.org Thu Aug 17 19:47:36 2017 Return-Path: Delivered-To: svn-ports-head@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 A411DDD2C61; Thu, 17 Aug 2017 19:47:36 +0000 (UTC) (envelope-from ultima@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 7AC122137; Thu, 17 Aug 2017 19:47:36 +0000 (UTC) (envelope-from ultima@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7HJlZxk005304; Thu, 17 Aug 2017 19:47:35 GMT (envelope-from ultima@FreeBSD.org) Received: (from ultima@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7HJlYlq005296; Thu, 17 Aug 2017 19:47:34 GMT (envelope-from ultima@FreeBSD.org) Message-Id: <201708171947.v7HJlYlq005296@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ultima set sender to ultima@FreeBSD.org using -f From: Richard Gallamore Date: Thu, 17 Aug 2017 19:47:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448182 - in head/audio: . moony-lv2 moony-lv2/files X-SVN-Group: ports-head X-SVN-Commit-Author: ultima X-SVN-Commit-Paths: in head/audio: . moony-lv2 moony-lv2/files X-SVN-Commit-Revision: 448182 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2017 19:47:36 -0000 Author: ultima Date: Thu Aug 17 19:47:34 2017 New Revision: 448182 URL: https://svnweb.freebsd.org/changeset/ports/448182 Log: Moony is a collection of LV2 plugins to easily add realtime programmable logic glue in LV2 plugin graphs. WWW: http://open-music-kontrollers.ch/lv2/moony PR: 221343 Submitted by: Yuri Victorovich (maintainer) Reviewed by: matthew (mentor) Approved by: matthew (mentor) Differential Revision: https://reviews.freebsd.org/D12061 Added: head/audio/moony-lv2/ head/audio/moony-lv2/Makefile (contents, props changed) head/audio/moony-lv2/distinfo (contents, props changed) head/audio/moony-lv2/files/ head/audio/moony-lv2/files/patch-CMakeLists.txt (contents, props changed) head/audio/moony-lv2/files/patch-lcomplex_lcomplex.c (contents, props changed) head/audio/moony-lv2/files/patch-pugl_pugl_pugl__x11.c (contents, props changed) head/audio/moony-lv2/pkg-descr (contents, props changed) head/audio/moony-lv2/pkg-plist (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Thu Aug 17 19:42:59 2017 (r448181) +++ head/audio/Makefile Thu Aug 17 19:47:34 2017 (r448182) @@ -495,6 +495,7 @@ SUBDIR += mma SUBDIR += moc SUBDIR += modplugplay + SUBDIR += moony-lv2 SUBDIR += mous SUBDIR += mp-player SUBDIR += mp3-archive-tools Added: head/audio/moony-lv2/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/moony-lv2/Makefile Thu Aug 17 19:47:34 2017 (r448182) @@ -0,0 +1,25 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= moony +PORTVERSION= 0.22.0 +CATEGORIES= audio +MASTER_SITES= https://gitlab.com/OpenMusicKontrollers/moony.lv2/repository/archive.tar.gz?ref=${PORTVERSION}&dummy=/ +PKGNAMESUFFIX= -lv2 + +MAINTAINER= yuri@rawbw.com +COMMENT= Realtime Lua as programmable glue in LV2 + +LICENSE= ART20 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= lv2>0:audio/lv2 + +USES= cmake pkgconfig +USE_XORG= x11 xext +USE_GL= gl glu + +post-extract: + @${MV} ${WRKDIR}/moony* ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +.include Added: head/audio/moony-lv2/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/moony-lv2/distinfo Thu Aug 17 19:47:34 2017 (r448182) @@ -0,0 +1,3 @@ +TIMESTAMP = 1502213227 +SHA256 (moony-0.22.0.tar.gz) = b6c765b05eed0a3a5f5361be5e8debeef44b7d1077a3d7c8b3095804066ad6c6 +SIZE (moony-0.22.0.tar.gz) = 2257133 Added: head/audio/moony-lv2/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/moony-lv2/files/patch-CMakeLists.txt Thu Aug 17 19:47:34 2017 (r448182) @@ -0,0 +1,39 @@ +--- CMakeLists.txt.orig 2017-05-16 21:46:21 UTC ++++ CMakeLists.txt +@@ -350,21 +350,21 @@ if(BUILD_TESTING) + endif() + set_target_properties(moony_test PROPERTIES INTERPROCEDURAL_OPTIMIZATION true) # -flto + target_link_libraries(moony_test ${LIBS}) +- +- add_custom_command( +- OUTPUT ${PROJECT_BINARY_DIR}/manual.html +- COMMAND ${WINE} ${QEMU} ${PROJECT_BINARY_DIR}/moony_test +- ${PROJECT_SOURCE_DIR}/manual/hilight.lua +- ">" +- ${PROJECT_BINARY_DIR}/manual.html +- DEPENDS +- moony_test +- ${PROJECT_SOURCE_DIR}/plugin/lexer.lua +- ${PROJECT_SOURCE_DIR}/plugin/moony.lua +- ${PROJECT_SOURCE_DIR}/manual/hilight.lua +- ${PROJECT_SOURCE_DIR}/manual/manual.html.in) +- add_custom_target(moony_manual ALL DEPENDS ${PROJECT_BINARY_DIR}/manual.html) +- install(FILES ${PROJECT_BINARY_DIR}/manual.html DESTINATION ${PLUGIN_DEST}) ++# ++# add_custom_command( ++# OUTPUT ${PROJECT_BINARY_DIR}/manual.html ++# COMMAND ${WINE} ${QEMU} ${PROJECT_BINARY_DIR}/moony_test ++# ${PROJECT_SOURCE_DIR}/manual/hilight.lua ++# ">" ++# ${PROJECT_BINARY_DIR}/manual.html ++# DEPENDS ++# moony_test ++# ${PROJECT_SOURCE_DIR}/plugin/lexer.lua ++# ${PROJECT_SOURCE_DIR}/plugin/moony.lua ++# ${PROJECT_SOURCE_DIR}/manual/hilight.lua ++# ${PROJECT_SOURCE_DIR}/manual/manual.html.in) ++# add_custom_target(moony_manual ALL DEPENDS ${PROJECT_BINARY_DIR}/manual.html) ++# install(FILES ${PROJECT_BINARY_DIR}/manual.html DESTINATION ${PLUGIN_DEST}) + + add_test(NAME API-Test COMMAND ${WINE} ${QEMU} moony_test ${PROJECT_SOURCE_DIR}/test/moony_test.lua) + add_test(NAME Overflow-Test COMMAND ${WINE} ${QEMU} moony_test ${PROJECT_SOURCE_DIR}/test/moony_overflow.lua 0) Added: head/audio/moony-lv2/files/patch-lcomplex_lcomplex.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/moony-lv2/files/patch-lcomplex_lcomplex.c Thu Aug 17 19:47:34 2017 (r448182) @@ -0,0 +1,43 @@ +--- lcomplex/lcomplex.c.orig 2017-05-16 21:46:21 UTC ++++ lcomplex/lcomplex.c +@@ -7,6 +7,7 @@ + */ + + #include ++#include + + #include "lua.h" + #include "lauxlib.h" +@@ -78,6 +79,32 @@ static int Ltostring(lua_State *L) /** + return 1; + } + ++// Missing C99 functions clog and cpow: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221341 ++static Complex clog(Complex z) {return log(cabs(z)) + I * carg(z);} ++// from https://github.com/eblot/newlib/blob/master/newlib/libm/complex/cpow.c ++static Complex ++cpow(Complex a, Complex z) ++{ ++ double complex w; ++ double x, y, r, theta, absa, arga; ++ ++ x = creal(z); ++ y = cimag(z); ++ absa = cabs(a); ++ if (absa == 0.0) { ++ return (0.0 + 0.0 * I); ++ } ++ arga = carg(a); ++ r = pow(absa, x); ++ theta = x * arga; ++ if (y != 0.0) { ++ r = r * exp(-y * arga); ++ theta = theta + y * log(absa); ++ } ++ w = r * cos(theta) + (r * sin(theta)) * I; ++ return w; ++} ++ + #define A(f,e) static int L##f(lua_State *L) { return pushcomplex(L,e); } + #define B(f) A(f,l_mathop(c##f)(Z(1),Z(2))) + #define F(f) A(f,l_mathop(c##f)(Z(1))) Added: head/audio/moony-lv2/files/patch-pugl_pugl_pugl__x11.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/moony-lv2/files/patch-pugl_pugl_pugl__x11.c Thu Aug 17 19:47:34 2017 (r448182) @@ -0,0 +1,11 @@ +--- pugl/pugl/pugl_x11.c.orig 2017-05-16 21:46:21 UTC ++++ pugl/pugl/pugl_x11.c +@@ -648,7 +648,7 @@ puglPasteFromClipboard(PuglView* view, s + if( (xevent.xselection.selection == impl->clipboard) + && (xevent.xselection.target == impl->utf8_string) + && (xevent.xselection.property == XA_PRIMARY) ) { +- ulong nitems, rem; ++ uint32_t nitems, rem; + int format; + uint8_t* data; + Atom type; Added: head/audio/moony-lv2/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/moony-lv2/pkg-descr Thu Aug 17 19:47:34 2017 (r448182) @@ -0,0 +1,4 @@ +Moony is a collection of LV2 plugins to easily add realtime programmable +logic glue in LV2 plugin graphs. + +WWW: http://open-music-kontrollers.ch/lv2/moony Added: head/audio/moony-lv2/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/moony-lv2/pkg-plist Thu Aug 17 19:47:34 2017 (r448182) @@ -0,0 +1,30 @@ +lib/lv2/moony.lv2/Cousine-Regular.ttf +lib/lv2/moony.lv2/bell.png +lib/lv2/moony.lv2/cancel-1.png +lib/lv2/moony.lv2/cancel.png +lib/lv2/moony.lv2/checked.png +lib/lv2/moony.lv2/download.png +lib/lv2/moony.lv2/envelope.png +lib/lv2/moony.lv2/house.png +lib/lv2/moony.lv2/layers.png +lib/lv2/moony.lv2/lexer.lua +lib/lv2/moony.lv2/manifest.ttl +lib/lv2/moony.lv2/menu.png +lib/lv2/moony.lv2/moony.lua +lib/lv2/moony.lv2/moony.so +lib/lv2/moony.lv2/moony.ttl +lib/lv2/moony.lv2/moony_logo.png +lib/lv2/moony.lv2/moony_ui.so +lib/lv2/moony.lv2/moony_ui.ttl +lib/lv2/moony.lv2/next.png +lib/lv2/moony.lv2/omk_logo_256x256.png +lib/lv2/moony.lv2/pencil.png +lib/lv2/moony.lv2/plus.png +lib/lv2/moony.lv2/presets.ttl +lib/lv2/moony.lv2/question.png +lib/lv2/moony.lv2/reload.png +lib/lv2/moony.lv2/screen.png +lib/lv2/moony.lv2/settings.png +lib/lv2/moony.lv2/sort.png +lib/lv2/moony.lv2/upload.png +lib/lv2/moony.lv2/user.png