From nobody Tue Sep 19 05:26:48 2023 X-Original-To: dev-commits-ports-main@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 4RqVX91jLZz4tPXv; Tue, 19 Sep 2023 05:26:49 +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 4RqVX915Knz4Y6Z; Tue, 19 Sep 2023 05:26:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695101209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3N4GCR3BCsWRErq+z8X/yf/L+CcUS5PygNY8q+hob1U=; b=mjaKWthk89jlm51d9tV4qUAmgO98b1XNXK0HFEFhfGP5Q0Qj2Rs9WYRt0Z9VE6g6GRn2ww 0pqQanvNWcO+rBRLPICsdhGW1J1NcuuxSPrxlF4mOjwpCFp9DGTokK9sV2pjdieUl6ImuW gSasS7+bXObP2jkDbf+QfnhEEgDD08TaiUaN3XTKLtupylR0voZB2SwDnu0L1sihEXgydw 8ZX6hCbtzxe34REhs9rSG3uAS1DeXq6tk/iXUU74v5O7w1erZTP680G0bokrL0mlQVPq3N CFwQJzXkWXdZmFEVIBNS+XRavlTH1pyVKpKidhumPCmq0wpnnS8oWNvFOHITrQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695101209; a=rsa-sha256; cv=none; b=kD9M+7aDpXKUzP2RemJee3Yfoomy4idrAgGl78t+D66wmnOUJ+6g1BrHwxX4MLJh+MpUA0 xcDlLpK3JUcIXP7Fo6PN3KSGT7nsMF5xHZX2oy+MeK03xvhAGGlROIF2Tp1+izls/l6aBA uhhjTKc2tz7dgm3cHzgaQ5Myr71/OWkv3O+1PibOC5CzZogJXADmgynIxe+mGtsTEZLELc RCTJMS69/nqufUsd9I2Pf/CVo6dCiXNQ0klWIZ5l1Odu/X016mXBAVTY9ehq67HOYL+b2T uZ72GCxIed+M+AzG3Do10Jus8EwRAjU8lAbyJedBhWOAtnYlVhlypkvSWUwyEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695101209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3N4GCR3BCsWRErq+z8X/yf/L+CcUS5PygNY8q+hob1U=; b=T3C7QQ4uv7XuNkql8jvh5p488LxjbjT/h8g3tO0Hg7kFv1FPz54l37KSXBX9kkYRvsRv9y FPHyhnggcqxrbj0Ge4OZmrdJ2FE2Qq/w4tcP8dRGhvZQYcd8FVIs78E8RuxHtkTkfnXcQK H1h/6X2JglU+p3A5afutgfM7OMly30mW9/uOgykX6xMdmiWYKjTzI/9YmzBv0pRY55PUeN K2GLV+/45n8raFFbXnOMUAc5pgAkRe/dRuwfxmHIdUvBWMuIry8om2l7lMkDiGc1wLOkqm 6Sz3CMqz+XN9+RK0Wp/VAv3y/+cfgaKimqVjBAOF16GEiDZfwdAyv7UCaZZJDQ== 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 4RqVX908vWz11m5; Tue, 19 Sep 2023 05:26:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38J5QmS1093705; Tue, 19 Sep 2023 05:26:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38J5Qmrm093702; Tue, 19 Sep 2023 05:26:48 GMT (envelope-from git) Date: Tue, 19 Sep 2023 05:26:48 GMT Message-Id: <202309190526.38J5Qmrm093702@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: 1701f4cd0890 - main - audio/libremidi: update 3.0 =?utf-8?Q?=E2=86=92?= 4.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 1701f4cd0890badedd189d69b76f3f40705fa1f4 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1701f4cd0890badedd189d69b76f3f40705fa1f4 commit 1701f4cd0890badedd189d69b76f3f40705fa1f4 Author: Yuri Victorovich AuthorDate: 2023-09-19 05:18:09 +0000 Commit: Yuri Victorovich CommitDate: 2023-09-19 05:26:45 +0000 audio/libremidi: update 3.0 → 4.0 ALSA support is disabled in the port because the project now uses linuxisms like timerfd in the ALSA code. Reported by: portscout --- audio/libremidi/Makefile | 17 ++++---- audio/libremidi/distinfo | 6 +-- audio/libremidi/pkg-plist | 101 ++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 102 insertions(+), 22 deletions(-) diff --git a/audio/libremidi/Makefile b/audio/libremidi/Makefile index b3cd32e0a678..91cc07508860 100644 --- a/audio/libremidi/Makefile +++ b/audio/libremidi/Makefile @@ -1,6 +1,6 @@ PORTNAME= libremidi DISTVERSIONPREFIX= v -DISTVERSION= 3.0 +DISTVERSION= 4.0 CATEGORIES= audio MAINTAINER= yuri@FreeBSD.org @@ -8,20 +8,23 @@ COMMENT= Modern C++ MIDI real-time & file I/O library WWW= https://github.com/jcelerier/libremidi LICENSE= BSD2CLAUSE -LICENSE_FILE= ${WRKSRC}/LICENSE.ModernMidi +LICENSE_FILE= ${WRKSRC}/LICENSE.md -LIB_DEPENDS= libasound.so:audio/alsa-lib \ - libjack.so:audio/jack +LIB_DEPENDS= libjack.so:audio/jack TEST_DEPENDS= catch2>0:devel/catch2 -USES= cmake:testing compiler:c++20-lang +USES= cmake:testing compiler:c++20-lang localbase USE_GITHUB= yes GH_ACCOUNT= jcelerier -CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_ON= BUILD_SHARED_LIBS \ + LIBREMIDI_NO_ALSA CMAKE_OFF= LIBREMIDI_TESTS -CMAKE_TESTING_ON= LIBREMIDI_TESTS # 2 tests fail, see https://github.com/jcelerier/libremidi/issues/72 +CMAKE_TESTING_ON= LIBREMIDI_TESTS + +# test fail to configure: https://github.com/jcelerier/libremidi/issues/84 +# before that was: 2 tests fail, see https://github.com/jcelerier/libremidi/issues/72 # This library can also be used as a header-only library diff --git a/audio/libremidi/distinfo b/audio/libremidi/distinfo index bf3889f733b6..0284769319db 100644 --- a/audio/libremidi/distinfo +++ b/audio/libremidi/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1689054483 -SHA256 (jcelerier-libremidi-v3.0_GH0.tar.gz) = 133b40396ca72e35d94cb0950199c9d123352951e4705971a9cd7606f905328a -SIZE (jcelerier-libremidi-v3.0_GH0.tar.gz) = 15466588 +TIMESTAMP = 1695095614 +SHA256 (jcelerier-libremidi-v4.0_GH0.tar.gz) = d5f7685ffe3852a1a4fadee8404d874a0a24929dd6ab8dad4ec002d177b14dd3 +SIZE (jcelerier-libremidi-v4.0_GH0.tar.gz) = 15510064 diff --git a/audio/libremidi/pkg-plist b/audio/libremidi/pkg-plist index 2bc071958ee4..2251f04ec805 100644 --- a/audio/libremidi/pkg-plist +++ b/audio/libremidi/pkg-plist @@ -1,23 +1,100 @@ include/libremidi/api.hpp +include/libremidi/backends.hpp +include/libremidi/backends/alsa_raw.hpp +include/libremidi/backends/alsa_raw/config.hpp +include/libremidi/backends/alsa_raw/helpers.hpp +include/libremidi/backends/alsa_raw/midi_in.hpp +include/libremidi/backends/alsa_raw/midi_out.hpp +include/libremidi/backends/alsa_raw/observer.hpp +include/libremidi/backends/alsa_raw_ump.hpp +include/libremidi/backends/alsa_raw_ump/config.hpp +include/libremidi/backends/alsa_raw_ump/helpers.hpp +include/libremidi/backends/alsa_raw_ump/midi_in.hpp +include/libremidi/backends/alsa_raw_ump/midi_out.hpp +include/libremidi/backends/alsa_raw_ump/observer.hpp +include/libremidi/backends/alsa_seq.hpp +include/libremidi/backends/alsa_seq/config.hpp +include/libremidi/backends/alsa_seq/helpers.hpp +include/libremidi/backends/alsa_seq/midi_in.hpp +include/libremidi/backends/alsa_seq/midi_out.hpp +include/libremidi/backends/alsa_seq/observer.hpp +include/libremidi/backends/alsa_seq/shared_handler.hpp +include/libremidi/backends/coremidi.hpp +include/libremidi/backends/coremidi/config.hpp +include/libremidi/backends/coremidi/helpers.hpp +include/libremidi/backends/coremidi/midi_in.hpp +include/libremidi/backends/coremidi/midi_out.hpp +include/libremidi/backends/coremidi/observer.hpp +include/libremidi/backends/coremidi_ump.hpp +include/libremidi/backends/coremidi_ump/config.hpp +include/libremidi/backends/coremidi_ump/helpers.hpp +include/libremidi/backends/coremidi_ump/midi_in.hpp +include/libremidi/backends/coremidi_ump/midi_out.hpp +include/libremidi/backends/coremidi_ump/observer.hpp +include/libremidi/backends/dummy.hpp +include/libremidi/backends/emscripten.hpp +include/libremidi/backends/emscripten/config.hpp +include/libremidi/backends/emscripten/helpers.hpp +include/libremidi/backends/emscripten/midi_access.cpp +include/libremidi/backends/emscripten/midi_access.hpp +include/libremidi/backends/emscripten/midi_in.cpp +include/libremidi/backends/emscripten/midi_in.hpp +include/libremidi/backends/emscripten/midi_out.cpp +include/libremidi/backends/emscripten/midi_out.hpp +include/libremidi/backends/emscripten/observer.cpp +include/libremidi/backends/emscripten/observer.hpp +include/libremidi/backends/jack.hpp +include/libremidi/backends/jack/config.hpp +include/libremidi/backends/jack/helpers.hpp +include/libremidi/backends/jack/midi_in.hpp +include/libremidi/backends/jack/midi_out.hpp +include/libremidi/backends/jack/observer.hpp +include/libremidi/backends/jack/shared_handler.hpp +include/libremidi/backends/linux/helpers.hpp +include/libremidi/backends/linux/udev.hpp +include/libremidi/backends/winmidi.hpp +include/libremidi/backends/winmidi/config.hpp +include/libremidi/backends/winmidi/helpers.hpp +include/libremidi/backends/winmidi/midi_in.hpp +include/libremidi/backends/winmidi/midi_out.hpp +include/libremidi/backends/winmidi/observer.hpp +include/libremidi/backends/winmm.hpp +include/libremidi/backends/winmm/config.hpp +include/libremidi/backends/winmm/helpers.hpp +include/libremidi/backends/winmm/midi_in.hpp +include/libremidi/backends/winmm/midi_out.hpp +include/libremidi/backends/winmm/observer.hpp +include/libremidi/backends/winuwp.hpp +include/libremidi/backends/winuwp/config.hpp +include/libremidi/backends/winuwp/helpers.hpp +include/libremidi/backends/winuwp/midi_in.hpp +include/libremidi/backends/winuwp/midi_out.hpp +include/libremidi/backends/winuwp/observer.hpp +include/libremidi/client.cpp +include/libremidi/client.hpp +include/libremidi/cmidi2.hpp include/libremidi/config.hpp -include/libremidi/detail/alsa.hpp -include/libremidi/detail/coreaudio.hpp -include/libremidi/detail/dummy.hpp -include/libremidi/detail/emscripten.hpp -include/libremidi/detail/emscripten_api.hpp -include/libremidi/detail/jack.hpp +include/libremidi/configurations.hpp +include/libremidi/defaults.hpp include/libremidi/detail/midi_api.hpp -include/libremidi/detail/midi_queue.hpp -include/libremidi/detail/raw_alsa.hpp -include/libremidi/detail/raw_alsa_helpers.hpp -include/libremidi/detail/semaphore.hpp -include/libremidi/detail/winmm.hpp -include/libremidi/detail/winuwp.hpp +include/libremidi/detail/midi_in.hpp +include/libremidi/detail/midi_out.hpp +include/libremidi/detail/midi_stream_decoder.hpp +include/libremidi/detail/observer.hpp +include/libremidi/error.hpp +include/libremidi/input_configuration.hpp include/libremidi/libremidi.cpp include/libremidi/libremidi.hpp include/libremidi/message.hpp +include/libremidi/midi_in.cpp +include/libremidi/midi_out.cpp +include/libremidi/observer.cpp +include/libremidi/observer_configuration.hpp +include/libremidi/output_configuration.hpp include/libremidi/reader.cpp include/libremidi/reader.hpp +include/libremidi/shared_context.hpp +include/libremidi/ump.hpp include/libremidi/writer.cpp include/libremidi/writer.hpp lib/cmake/libremidi/libremidi-config-version.cmake