Package: jackd2
Version: 1.9.10+20140719git3eb0ae6a~dfsg-2
Severity: important
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd
Hi,
Please could you accept this patch to use OSS on GNU/kFreeBSD.
Otherwise jackd2 does not have any useful local audio device backends.
This has been well-tested on my system.
Thanks!
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)
Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
From: Steven Chamberlain ste...@pyro.eu.org
Subject: enable using OSS on GNU/kFreeBSD
--- a/linux/wscript
+++ b/linux/wscript
@@ -97,6 +97,10 @@
if bld.env['BUILD_DRIVER_IIO'] == True:
create_jack_driver_obj(bld, 'iio', iio_driver_src, [GTKIOSTREAM, EIGEN3])
+if bld.env['BUILD_DRIVER_OSS'] == True:
+create_jack_driver_obj(bld, 'oss', ['../solaris/oss/JackOSSDriver.cpp', '../common/memops.c'], [OSS])
+
+
create_jack_driver_obj(bld, 'net', '../common/JackNetDriver.cpp')
create_jack_driver_obj(bld, 'loopback', '../common/JackLoopbackDriver.cpp')
--- a/wscript
+++ b/wscript
@@ -355,6 +355,10 @@
display_feature('Build with FireWire (FreeBob) support', conf.env['BUILD_DRIVER_FREEBOB'] == True)
display_feature('Build with FireWire (FFADO) support', conf.env['BUILD_DRIVER_FFADO'] == True)
display_feature('Build with IIO support', conf.env['BUILD_DRIVER_IIO'] == True)
+# GNU/kFreeBSD supports OSS
+if platform.startswith('gnukfreebsd'):
+conf.env['BUILD_DRIVER_OSS'] = True
+display_feature('Build with OSS support', conf.env['BUILD_DRIVER_OSS'] == True)
if conf.env['IS_WINDOWS']:
display_feature('Build with WinMME support', conf.env['BUILD_DRIVER_WINMME'] == True)