From owner-svn-ports-all@freebsd.org Mon Apr 27 22:20:41 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6F5A82C83CE; Mon, 27 Apr 2020 22:20:41 +0000 (UTC) (envelope-from mandree@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 499zkK2NgHz3HN9; Mon, 27 Apr 2020 22:20:41 +0000 (UTC) (envelope-from mandree@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4D1E819C32; Mon, 27 Apr 2020 22:20:41 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 03RMKfjN020303; Mon, 27 Apr 2020 22:20:41 GMT (envelope-from mandree@FreeBSD.org) Received: (from mandree@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 03RMKeqi020298; Mon, 27 Apr 2020 22:20:40 GMT (envelope-from mandree@FreeBSD.org) Message-Id: <202004272220.03RMKeqi020298@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mandree set sender to mandree@FreeBSD.org using -f From: Matthias Andree Date: Mon, 27 Apr 2020 22:20:40 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r533206 - in head/audio: . playumidi X-SVN-Group: ports-head X-SVN-Commit-Author: mandree X-SVN-Commit-Paths: in head/audio: . playumidi X-SVN-Commit-Revision: 533206 X-SVN-Commit-Repository: ports 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.29 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: Mon, 27 Apr 2020 22:20:41 -0000 Author: mandree Date: Mon Apr 27 22:20:40 2020 New Revision: 533206 URL: https://svnweb.freebsd.org/changeset/ports/533206 Log: NEW audio/playumidi: standard MIDI format 0/1 player for umidi devices "playumidi" is the "SIMPLE" MIDI file player for USB MIDI device on FreeBSD. This software is able to direct control for FreeBSD-umidi device(/dev/umidi*.*) in the "uaudio" driver. Therefore, You don't need to use the "/dev/sequencer" device or the other software when listening the MIDI-file music. And, Support for auto-judge MIDI-file XG/GS/GM mode & auto add the Tone-Generator ReSet code when the ReSet code isn't exist in a MIDI-file. WWW: https://ja.osdn.net/projects/playumidi/ PR: 239774 Submitted by: Koine Yuusuke Added: head/audio/playumidi/ head/audio/playumidi/Makefile (contents, props changed) head/audio/playumidi/distinfo (contents, props changed) head/audio/playumidi/pkg-descr (contents, props changed) head/audio/playumidi/pkg-message (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Mon Apr 27 21:39:27 2020 (r533205) +++ head/audio/Makefile Mon Apr 27 22:20:40 2020 (r533206) @@ -632,6 +632,7 @@ SUBDIR += play SUBDIR += playgsf SUBDIR += playmidi + SUBDIR += playumidi SUBDIR += pm3umpdl SUBDIR += pms SUBDIR += pms-devel Added: head/audio/playumidi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/playumidi/Makefile Mon Apr 27 22:20:40 2020 (r533206) @@ -0,0 +1,31 @@ +# Created by: Koine Yuusuke(koinec) +# $FreeBSD$ + +PORTNAME= playumidi +PORTVERSION= 0.8.2 +CATEGORIES= audio +MASTER_SITES= OSDN/playumidi/71406 + +MAINTAINER= koinec@users.osdn.me +COMMENT= Standard MIDI format 0/1 player for FreeBSD USB-MIDI(umidi) device + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PLIST_FILES= bin/playumidi man/man1/playumidi.1.gz + +OPTIONS_DEFINE= LIBICONV DEBUG +OPTIONS_DEFAULT= LIBICONV + +LIBICONV_DESC= Enable encoing conversion support with libiconv + +DEBUG_MAKE_ARGS= -DWITH_DEBUG + +LIBICONV_LIB_DEPENDS= libiconv.so:converters/libiconv +LIBICONV_MAKE_ARGS= -DWITH_ICONV + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/playumidi ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/playumidi.1.gz ${STAGEDIR}${MANPREFIX}/man/man1 + +.include Added: head/audio/playumidi/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/playumidi/distinfo Mon Apr 27 22:20:40 2020 (r533206) @@ -0,0 +1,3 @@ +TIMESTAMP = 1565487633 +SHA256 (playumidi-0.8.2.tar.gz) = d007844d85abc76faa0d4ec37fd2718a61755d586155ac1922a98f909161aa86 +SIZE (playumidi-0.8.2.tar.gz) = 21998 Added: head/audio/playumidi/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/playumidi/pkg-descr Mon Apr 27 22:20:40 2020 (r533206) @@ -0,0 +1,12 @@ +"playumidi" is the "SIMPLE" MIDI file player for USB MIDI device on FreeBSD. +This software is able to direct control for FreeBSD-umidi device(/dev/umidi*.*) +in the "uaudio" driver. +Therefore, You don't need to use the "/dev/sequencer" device or the other +software when listening the MIDI-file music. +And, Support for auto-judge MIDI-file XG/GS/GM mode & auto add the +Tone-Generator ReSet code when the ReSet code isn't exist in a MIDI-file. + +WWW: https://ja.osdn.net/projects/playumidi/ + +- Koine Yuusuke (koinec) + koinec@users.osdn.me Added: head/audio/playumidi/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/playumidi/pkg-message Mon Apr 27 22:20:40 2020 (r533206) @@ -0,0 +1,21 @@ +playumidi directly opens, writes midi-event data, +and closes the umidi* device files. +So, it is necessary to grant the R/W privileges(666) +to umidi* device file before use playumidi. + +Therefore, there is a need to grant permissions to R/W +prior to use. +An example of the setting method is shown below. + + 1. Append to devfs.rules (in etc dir.) the following lines. + ------------------------------------------ + [system=10] + add path 'umidi*' mode 0666 group wheel + ------------------------------------------ + + 2. Append to rc.conf (in etc dir.) the following three lines. + ------------------------------------------ + devfs_enable="YES" + ------------------------------------------ + + 3. Reboot FreeBSD (shutdown -r now)