From nobody Sun Oct 24 21:11:59 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C893918179F7; Sun, 24 Oct 2021 21:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HcrPW5HDjz4vHS; Sun, 24 Oct 2021 21:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 94D8F1C99E; Sun, 24 Oct 2021 21:11:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19OLBxWt064947; Sun, 24 Oct 2021 21:11:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19OLBx2R064946; Sun, 24 Oct 2021 21:11:59 GMT (envelope-from git) Date: Sun, 24 Oct 2021 21:11:59 GMT Message-Id: <202110242111.19OLBx2R064946@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 306440727d62 - main - audio/inscore: New port: Environment for the design of interactive augmented music scores List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 306440727d624085c88f31a54aee56124f87bb8d Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=306440727d624085c88f31a54aee56124f87bb8d commit 306440727d624085c88f31a54aee56124f87bb8d Author: Yuri Victorovich AuthorDate: 2021-10-24 21:09:27 +0000 Commit: Yuri Victorovich CommitDate: 2021-10-24 21:11:14 +0000 audio/inscore: New port: Environment for the design of interactive augmented music scores The executable 'inscoreviewer' isn't installed for some reason, see https://github.com/grame-cncm/inscore/issues/18 PR: 221865 --- audio/Makefile | 1 + audio/inscore/Makefile | 35 +++++++ audio/inscore/distinfo | 5 + audio/inscore/files/patch-build_CMakeLists.txt | 13 +++ audio/inscore/files/patch-build_Makefile | 11 +++ .../files/patch-build_modules_GUIDOConfig.cmake | 15 +++ .../files/patch-src_inscore_model_Modules.h | 11 +++ audio/inscore/pkg-descr | 7 ++ audio/inscore/pkg-message | 25 +++++ audio/inscore/pkg-plist | 107 +++++++++++++++++++++ 10 files changed, 230 insertions(+) diff --git a/audio/Makefile b/audio/Makefile index 33294914c6ea..2adae11009a7 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -319,6 +319,7 @@ SUBDIR += id3v2 SUBDIR += ifp-line SUBDIR += infamous-plugins-lv2 + SUBDIR += inscore SUBDIR += intersect-lv2 SUBDIR += invada-studio-plugins-lv2 SUBDIR += ir-lv2 diff --git a/audio/inscore/Makefile b/audio/inscore/Makefile new file mode 100644 index 000000000000..cd6d8fe2ef52 --- /dev/null +++ b/audio/inscore/Makefile @@ -0,0 +1,35 @@ +PORTNAME= inscore +PORTVERSION= 1.28 +CATEGORIES= audio + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Environment for the design of interactive augmented music scores + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/src/license.txt + +LIB_DEPENDS= libGUIDOEngine.so:audio/guidolib \ + libguidoar.so:audio/guidoar \ + libmicrohttpd.so:www/libmicrohttpd + +USES= cmake gnome qt:5 +USE_QT= core declarative gui network multimedia opengl printsupport sensors svg widgets websockets \ + qmake_build buildtools_build +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= grame-cncm +GH_TAGNAME= v${PORTVERSION:S/.//} +GH_TUPLE= grame-cncm:guidolib:3cf3d88:guidolib/modules/guidolib # this uses some un-installed parts of the guidolib project, partucularly QGuidoPainter.h + +CMAKE_SOURCE_PATH= ${WRKSRC}/build + +CXXFLAGS+= -I${LOCALBASE}/include/guido -I${LOCALBASE}/include/guidoar + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_DEFAULT= DOCS EXAMPLES + +PORTDOCS= * +PORTEXAMPLES= * + +.include diff --git a/audio/inscore/distinfo b/audio/inscore/distinfo new file mode 100644 index 000000000000..992c9f949b4d --- /dev/null +++ b/audio/inscore/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1635099044 +SHA256 (grame-cncm-inscore-1.28-v128_GH0.tar.gz) = f280d9057d59b140f8d567f9e8ac0ecdd811e2964475a817eb1a54f15d493d8b +SIZE (grame-cncm-inscore-1.28-v128_GH0.tar.gz) = 443524698 +SHA256 (grame-cncm-guidolib-3cf3d88_GH0.tar.gz) = 0ec8a9e60d76230e69de9e0263b04ffe93d4f2fa660856e2666863cd99f6bea4 +SIZE (grame-cncm-guidolib-3cf3d88_GH0.tar.gz) = 42458506 diff --git a/audio/inscore/files/patch-build_CMakeLists.txt b/audio/inscore/files/patch-build_CMakeLists.txt new file mode 100644 index 000000000000..465c184506be --- /dev/null +++ b/audio/inscore/files/patch-build_CMakeLists.txt @@ -0,0 +1,13 @@ +--- build/CMakeLists.txt.orig 2021-10-24 18:32:31 UTC ++++ build/CMakeLists.txt +@@ -378,8 +378,8 @@ else() + set (INSTALL_BIN ${CMAKE_INSTALL_PREFIX}/bin) + set (INSTALL_LIB ${CMAKE_INSTALL_PREFIX}/lib) + set (INSTALL_INC ${CMAKE_INSTALL_PREFIX}/include/inscore) +- set (INSTALL_SAMPLES ${CMAKE_INSTALL_PREFIX}/share/inscore/examples) +- set (INSTALL_GMN_SAMPLES ${CMAKE_INSTALL_PREFIX}/share/inscore/GMN-Examples) ++ set (INSTALL_SAMPLES share/examples/inscore) ++ set (INSTALL_GMN_SAMPLES share/examples/inscore) + set (INSTALL_BUNDLES ${CMAKE_INSTALL_PREFIX}/share/inscore/bundles) + set (INSTALL_TOOLS ${CMAKE_INSTALL_PREFIX}/share/inscore/tools) + set (INSTALL_INTERFACES ${CMAKE_INSTALL_PREFIX}/share/inscore) diff --git a/audio/inscore/files/patch-build_Makefile b/audio/inscore/files/patch-build_Makefile new file mode 100644 index 000000000000..780da7561b9a --- /dev/null +++ b/audio/inscore/files/patch-build_Makefile @@ -0,0 +1,11 @@ +--- build/Makefile.orig 2021-02-23 07:13:54 UTC ++++ build/Makefile +@@ -38,7 +38,7 @@ endif + GENERATOR ?= + + all : +- $(MAKE) modules ++ #$(MAKE) modules + $(MAKE) inscore + + test: diff --git a/audio/inscore/files/patch-build_modules_GUIDOConfig.cmake b/audio/inscore/files/patch-build_modules_GUIDOConfig.cmake new file mode 100644 index 000000000000..d4353b0f6738 --- /dev/null +++ b/audio/inscore/files/patch-build_modules_GUIDOConfig.cmake @@ -0,0 +1,15 @@ +--- build/modules/GUIDOConfig.cmake.orig 2021-05-09 16:41:13 UTC ++++ build/modules/GUIDOConfig.cmake +@@ -21,9 +21,9 @@ elseif(WIN32) + set (GUIDO_DLL ${GUIDOLIB}/build/lib/GUIDOEngine.dll) + endif() + else() +- set (GUIDO_LIBRARIES -L${CMAKE_CURRENT_SOURCE_DIR}/lib -lGUIDOEngine) ++ set (GUIDO_LIBRARIES -lGUIDOEngine) + endif() + +-file (STRINGS "${GUIDOLIB}/version.txt" GUIDO_VERSION) +-message (STATUS "Using GUIDOEngine version ${GUIDO_VERSION}") ++#file (STRINGS "${GUIDOLIB}/version.txt" GUIDO_VERSION) ++message (STATUS "Using GUIDOEngine") + diff --git a/audio/inscore/files/patch-src_inscore_model_Modules.h b/audio/inscore/files/patch-src_inscore_model_Modules.h new file mode 100644 index 000000000000..a414b0e69073 --- /dev/null +++ b/audio/inscore/files/patch-src_inscore_model_Modules.h @@ -0,0 +1,11 @@ +--- src/inscore/model/Modules.h.orig 2021-02-23 07:27:14 UTC ++++ src/inscore/model/Modules.h +@@ -56,7 +56,7 @@ + + #if QTView + # define INCLUDEFaustWeb false +-# define HASQGuidoImporter true ++# define HASQGuidoImporter false + # define HASFileDownloader true + # define HASWSSupport true + # define HASHTTPSupport true diff --git a/audio/inscore/pkg-descr b/audio/inscore/pkg-descr new file mode 100644 index 000000000000..68c33d41e630 --- /dev/null +++ b/audio/inscore/pkg-descr @@ -0,0 +1,7 @@ +INScore is an environment for the design of interactive augmented music scores. +It extends the music representation to arbitrary graphic objects, including +symbolic music notation. It provides time synchronization in the graphic space, +signals graphic representations, interaction processes representation, dynamic +and interactive scores. It supports Web and local network extensions. + +WWW: https://inscore.grame.fr/ diff --git a/audio/inscore/pkg-message b/audio/inscore/pkg-message new file mode 100644 index 000000000000..3b3697492e3f --- /dev/null +++ b/audio/inscore/pkg-message @@ -0,0 +1,25 @@ +[ +{ type: install + message: <