From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] Propagate input for JACK; fix portaudio JACK-support Date: Sat, 18 Jul 2015 22:16:27 +0200 Message-ID: <874ml1fch0.fsf@elephly.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGYXJ-0004ta-PZ for guix-devel@gnu.org; Sat, 18 Jul 2015 16:16:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGYXF-00056O-Pe for guix-devel@gnu.org; Sat, 18 Jul 2015 16:16:41 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:25126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGYXF-00054n-Go for guix-devel@gnu.org; Sat, 18 Jul 2015 16:16:37 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Guix, while packaging Extempora I noticed that the portaudio does not seem to work with JACK. Extempora uses portaudio and it would not create a JACK port. After I rebuilt portaudio with “jack-1” rather than “jack-2” Extempora would create a JACK port via portaudio successfully. “jack-1” had to be modified to propagate “bdb” because the libjack headers include it. Attached are these two patches. In general I would suggest only to use “jack-1” as an input. “jack-2” is a different implementation, but it does not replace “jack-1”. For a user it may make sense to install “jack-2” because of DBus support, but for libraries it should not be needed. ~~ Ricardo --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-jack-1-Propagate-bdb.patch >From 579dcf04e35a093ca6bb97efff5aaec19053c080 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 18 Jul 2015 22:07:45 +0200 Subject: [PATCH 1/2] gnu: jack-1: Propagate "bdb". * gnu/packages/audio.scm (jack-1)[inputs]: Move "bdb" from here... [propagated-inputs]: ...to here. --- gnu/packages/audio.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index ff6fb46..0fa506b 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -667,11 +667,12 @@ especially for creating reverb effects. It supports impulse responses with 1, (build-system gnu-build-system) (inputs `(("alsa-lib" ,alsa-lib) - ("bdb" ,bdb) ("readline" ,readline))) ;; uuid.h is included in the JACK type headers + ;; db.h is included in the libjack metadata headers (propagated-inputs - `(("libuuid" ,util-linux))) + `(("libuuid" ,util-linux) + ("bdb" ,bdb))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "http://jackaudio.org/") -- 2.4.3 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-portaudio-Build-with-jack-1.patch >From 4238c7742fef8e7786569beefe79ca9188b50e8e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 18 Jul 2015 22:09:13 +0200 Subject: [PATCH 2/2] gnu: portaudio: Build with jack-1. * gnu/packages/audio.scm (portaudio)[inputs]: Replace "jack-2" with "jack-1". --- gnu/packages/audio.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 0fa506b..c8fcab1 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -1583,7 +1583,7 @@ portions of LAME.") (inputs ;; TODO: Add ASIHPI. `(("alsa-lib" ,alsa-lib) - ("jack" ,jack-2))) + ("jack" ,jack-1))) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) -- 2.4.3 --=-=-=--