Bug 212838

Summary: audio/fluidsynth: Add sndio support
Product: Ports & Packages Reporter: Tobias Kortkamp <tobik>
Component: Individual Port(s)Assignee: Thomas Zander <riggs>
Status: Closed FIXED    
Severity: Affects Only Me CC: multimedia, pi, riggs
Priority: --- Keywords: patch
Version: LatestFlags: riggs: maintainer-feedback+
Hardware: Any   
OS: Any   
Description Flags
fluidsynth.diff riggs: maintainer-approval+

Description Tobias Kortkamp freebsd_committer 2016-09-20 05:12:13 UTC
Created attachment 174983 [details]

This adds an option SNDIO which enables support for both audio output and MIDI input over audio/sndio to Fluidsynth.

Unfortunately Fluidsynth does not have upstream support for sndio, so the patch is relatively large.  If this is a problem I can create a separate port instead.

This is mostly sourced from the OpenBSD ports tree.  The OpenBSD port uses autoconf while the FreeBSD port has opted for cmake, so I had to add the sndio sources to the cmake build files instead.

portlint ok, Poudriere build on FreeBSD 10.3/amd64 ok
Comment 1 Kurt Jaeger freebsd_committer 2016-10-13 19:08:09 UTC
fails to build on 12a, 11a with:

checking for gperf... no
configure: error: You need to install gperf <https://www.gnu.org/software/gperf/> before building.
===>  Script "configure" failed unexpectedly.
Please report the problem to pcm@pogotopia.net [maintainer] and attach the
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Comment 2 Kurt Jaeger freebsd_committer 2016-10-13 19:08:29 UTC
Sorry, wrong PR for comment #2.
Comment 3 commit-hook freebsd_committer 2016-12-17 13:42:22 UTC
A commit references this bug:

Author: riggs
Date: Sat Dec 17 13:41:33 UTC 2016
New revision: 428763
URL: https://svnweb.freebsd.org/changeset/ports/428763

  Add SNDIO support and non-default OPTION

  PR:		212838
  Submitted by:	t@tobik.me