From patchwork Mon Nov 11 16:32:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Divya Ranjan X-Patchwork-Id: 70262 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 EE90527BBEA; Mon, 11 Nov 2024 16:33:18 +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=ham 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 CB02E27BBE2 for ; Mon, 11 Nov 2024 16:33:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAXLe-00076l-39; Mon, 11 Nov 2024 11:33:06 -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 1tAXLb-00076V-7b for guix-patches@gnu.org; Mon, 11 Nov 2024 11:33:03 -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 1tAXLa-0004Zi-Us for guix-patches@gnu.org; Mon, 11 Nov 2024 11:33:02 -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:References:In-Reply-To:From:To:Subject; bh=DGs+TVsuBS80Oc0XfrxtqAnartMyXP+RnCYDKyfdW24=; b=YQj83YvMO7+vNR9h5HDWUd8KoephCPYGSmhEFyZJykeQMcR9lnfVzUSQrQ41DWqgs1/BW/GjKQTz8bgF4a3rS82pyYTGx1yt4YroGEUtUkilwWLTGqkUlT3OISLev23a98LvGPFgKnBTOgAz8DL3+rVwUvYGnEO+AKJryumJOTWq02ZP7HCKWkoicuFPnSUIG+vEiORqK3qWmfrdqBwVD2NOlMUG1GMF3GFzlgjPRv8uWIeQ5d41rg7bWp+vjWF/ZZBD6hL7rP3HUfQ8h7+4EKRxuxWsTkWTn8jNhZ6zy6Ii2tawojBmfZUotKnkiv87U8p0dUFGfLV+/gYopV7OnA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAXLa-00006q-Gx for guix-patches@gnu.org; Mon, 11 Nov 2024 11:33: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: Mon, 11 Nov 2024 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74251 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ekaitz Zarraga Cc: 74251@debbugs.gnu.org Received: via spool by 74251-submit@debbugs.gnu.org id=B74251.1731342774405 (code B ref 74251); Mon, 11 Nov 2024 16:33:02 +0000 Received: (at 74251) by debbugs.gnu.org; 11 Nov 2024 16:32:54 +0000 Received: from localhost ([127.0.0.1]:58980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAXLS-00006S-6o for submit@debbugs.gnu.org; Mon, 11 Nov 2024 11:32:54 -0500 Received: from confino.investici.org ([93.190.126.19]:26327) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAXLP-00005j-EG for 74251@debbugs.gnu.org; Mon, 11 Nov 2024 11:32:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1731342770; bh=DGs+TVsuBS80Oc0XfrxtqAnartMyXP+RnCYDKyfdW24=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Hvw4M6SNHgpHgVyKb3iaUCtXKyyaJoLTmoXihuKfzbp0tzjPI5hhwwmxNFgyVuJOp 5NwmzoU0XuXBkrFS6XXZKbY6a2I8BYHRYXxzJMYAXSa3ZtEn4q7fgeqsUzYM3EiHZN dIVx9DgqSJEeun7nRvRMnmHMcBkU1rpQV5s4ujzo= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XnFTG0z4pz111G; Mon, 11 Nov 2024 16:32:50 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4XnFTF36kdz110p; Mon, 11 Nov 2024 16:32:49 +0000 (UTC) In-Reply-To: <51729a6a-e1f9-48e6-814a-b1a28f0558df@elenq.tech> (Ekaitz Zarraga's message of "Mon, 11 Nov 2024 17:23:16 +0100") References: <87r07ibmcs.fsf@subvertising.org> <4258e857-4d68-4692-81c4-099fb4adc1fe@elenq.tech> <87jzd9zqv5.fsf@subvertising.org> <51729a6a-e1f9-48e6-814a-b1a28f0558df@elenq.tech> Date: Mon, 11 Nov 2024 16:32:40 +0000 Message-ID: <87cyj1zq6v.fsf@subvertising.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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 Ekaitz Zarraga writes: > Sorry mate I didn't explain it properly. > > The commit message has two parts: a title and a body. > > The title you used before was correct, you were only missing the > body. This is how the whole commit message should look like: > > gnu: audio: Add jack-mixer > > * gnu/packages/audio.scm (jack-mixer): New variable. > Apologies I was confused with the title and the body, I usually only have titles in commit messages. Confirm if this one is appropriate. Regards, From 44110f38a40f673bd0d69dd68b11d3f3e555be77 Mon Sep 17 00:00:00 2001 From: Divya Ranjan Date: Mon, 11 Nov 2024 01:11:15 +0000 Subject: [PATCH] gnu: audio: Add jack-mixer * gnu/packages/audio.scm (jack-mixer): New variable --- gnu/packages/audio.scm | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 467dc4a74f..f97bbb4126 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -2772,6 +2772,66 @@ (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 + (add-after 'unpack 'path-patch + (lambda _ + (substitute* '("meson.build") + (("'/', 'etc', 'xdg'") + (string-append "'" + #$output "'"))))) + (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 pkg-config + python-cython + python-docutils + gnu-gettext-minimal + glib)) + (inputs (list bash-minimal)) + (propagated-inputs (list gtk+ + `(,gtk+ "bin") + python + python-wrapper + python-pygobject + python-pycairo + python-platformdirs + 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 licens:gpl2+))) + (define-public jalv (package (name "jalv") -- 2.46.0