From patchwork Fri Nov 8 00:01:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Divya Ranjan X-Patchwork-Id: 70118 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id B6D9327BBEA; Fri, 8 Nov 2024 01:55:28 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4849227BBE9 for ; Fri, 8 Nov 2024 01:55:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t9EDU-0004Cb-Hy; Thu, 07 Nov 2024 20:55:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9CUt-0006M5-3w for guix-patches@gnu.org; Thu, 07 Nov 2024 19:05:08 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t9CUo-0000SM-DH for guix-patches@gnu.org; Thu, 07 Nov 2024 19:05:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=3LWVyr/0tckmJ28u65kVJ5OdaKaKFRiJc2xc4v9iggs=; b=Xb2x3pTHcIiK5ZiKyH2kolbL5HLrLJvF8KASePu3G/piUeHGvjNsEIbgfTPxWbYBCCG7UwatanTppKBr5h6k7Sq/qJnN1p0SsSrAD99JneN8FmBlEq4AzImffMD/Q9CEfAWg6rgKbJ3FB/hco62qgQKjafM3xuYip5XAbFloc2/IBjpt6vAHNwiICvYAIAg2Ua+sCDadD0uomLugQIS9JNgEaUpVcpeN6gsrQ/5ZXlL9E80+n8CI05YXR+Aoqe/14TRrAvEpl9zsvunwL/z+T+PrcTgKaJCqtuuAeM+bNQVKErTssYH5mqs+83NHZdYeoGj0xgnGV1JFW+kg7THZdQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t9CUo-0003p1-5c for guix-patches@gnu.org; Thu, 07 Nov 2024 19:05:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74251] [PATCH] Adding jack-mixer audio package Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Nov 2024 00:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74251 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74251@debbugs.gnu.org Cc: Divya Ranjan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173102426414627 (code B ref -1); Fri, 08 Nov 2024 00:05:01 +0000 Received: (at submit) by debbugs.gnu.org; 8 Nov 2024 00:04:24 +0000 Received: from localhost ([127.0.0.1]:50326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9CUC-0003nr-38 for submit@debbugs.gnu.org; Thu, 07 Nov 2024 19:04:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:41460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t9CU8-0003nh-6a for submit@debbugs.gnu.org; Thu, 07 Nov 2024 19:04:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9CS1-00068o-P4 for guix-patches@gnu.org; Thu, 07 Nov 2024 19:02:09 -0500 Received: from devianza.investici.org ([2c0f:f930:0:4::108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t9CRz-0000Mi-2b for guix-patches@gnu.org; Thu, 07 Nov 2024 19:02:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1731024113; bh=3LWVyr/0tckmJ28u65kVJ5OdaKaKFRiJc2xc4v9iggs=; h=From:To:Cc:Subject:Date:From; b=XZB9bHzDIKGIWN4ihHblM+J5SuK3ZQz2lafAUlRAhnm4HnjkwARLkwqOzi2ntzBO+ 8/eAJdNayF6tdJkzr/81oVs9FZYC5CD4Jn9t7Vqft3tM6iWkISJKfLTAPBL+z0el1Q YGkSzDX+Fn22JgSdEamXdnj6O7GExt1gIQGq19Nc= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4XkzdF6KKSz6vHf; Fri, 8 Nov 2024 00:01:53 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4XkzdF19YSz6vHc; Fri, 8 Nov 2024 00:01:52 +0000 (UTC) Date: Fri, 8 Nov 2024 00:01:01 +0000 Message-ID: <20241108000101.7394-1-divya@subvertising.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2c0f:f930:0:4::108; envelope-from=divya@subvertising.org; helo=devianza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 07 Nov 2024 20:55:15 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Divya Ranjan X-ACL-Warn: , Divya Ranjan via Guix-patches X-Patchwork-Original-From: Divya Ranjan via Guix-patches via From: Divya Ranjan Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/audio.scm | 68 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 467dc4a74f..70477d1071 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -79,6 +79,7 @@ (define-module (gnu packages audio) #:use-module (gnu packages check) #:use-module (gnu packages cdrom) #:use-module (gnu packages compression) + #:use-module (gnu packages commencement) #:use-module (gnu packages cpp) #:use-module (gnu packages curl) #:use-module (gnu packages dbm) @@ -160,6 +161,7 @@ (define-module (gnu packages audio) #:use-module (guix build-system python) #:use-module (guix build-system trivial) #:use-module (guix build-system waf) + #:use-module (guix build utils) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -2772,6 +2774,72 @@ (define-public jacktrip audio signal streaming.") (license (list license:gpl3+ license:lgpl3 license:expat)))) +(define-public jack-mixer + (package + (name "jack-mixer") + (version "19") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jack-mixer/jack_mixer") + (commit (string-append "release-" version)))) + (sha256 + (base32 "18m6a9asbwaslw418i2w04kgc6jgdpw01i3kawdqy903kw66hnhj")))) + (build-system meson-build-system) + (arguments + (list + #:build-type "release" + #:phases #~(modify-phases %standard-phases + ;; Replaces hardcoded path with /gnu/store + (add-after 'unpack 'path-patch + (lambda _ + (substitute* '("meson.build") + (("'/', 'etc', 'xdg'") + (string-append "'" + #$output "'"))))) + + ;; To wrap the paths for python and GTK + (add-after 'install 'wrap-path + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH")) + (version #$(version-major+minor (package-version + (this-package-input + "python")))) + (lib (string-append out "/lib/python" version + "/site-packages"))) + (wrap-program (string-append bin "jack_mixer") + `("GUIX_PYTHONPATH" ":" prefix + (,(getenv "GUIX_PYTHONPATH") ,lib)) + `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))))))))) + (native-inputs + (list gcc-toolchain + pkg-config + python-cython + python-docutils + gnu-gettext + glib)) + (propagated-inputs + (list gtk+ + `(,gtk+ "bin") ;; Required during runtime. + python + bash-minimal + python-wrapper + python-pygobject + python-pycairo + python-platformdirs ;; Required to save sessions. + jack-2)) + (synopsis + "JACK Mixer: A multi-channel audio mixer for the JACK Audio Connection Kit") + (description + "The jack_mixer is a GTK+ JACK audio mixer app with a look & handling +similar to hardware mixing desks. It has lot of useful features, apart +from being able to mix multiple JACK audio streams.") + (home-page "https://rdio.space/jackmixer/") + (license license:gpl2+))) + (define-public jalv (package (name "jalv")