From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0F0rLn1CSGfzAAAA62LTzQ:P1 (envelope-from ) for ; Thu, 28 Nov 2024 10:14:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 0F0rLn1CSGfzAAAA62LTzQ (envelope-from ) for ; Thu, 28 Nov 2024 11:14:21 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aW8lponi; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=gNHgQUD6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732788861; a=rsa-sha256; cv=none; b=W68UAlIfAcidbaWbMW36gBkivf3hJkDfQdHOlL3PY9FG17qHlUnJ526CFEWcjtI5DMM/m1 Ub11mF4NYPTaBEvCuRa2TOOp+jjBzVtZCYeYGdJDZMqVTpX5USGqWWiT+2GSX23ATsIeH/ MftjfsatAGRg6GtukZyWcWYR+rPdx6FKREkShTTQv4gm4d7sM8UI8Q5zZm6aeccBME4pQr G2HDNbcy7okXUA0jOtbwr9WSUTMEtHJrN5T4fcDOwn5gBkFeUpRIDE46FTnMchPkGD4iMH 0FSZhEGMmiEh18H7mMERIFL+z5f3WfIlGtm3XLyFQIby4vviM9ckV90x0dz7qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=aW8lponi; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=gNHgQUD6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732788861; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SfDii2/oGmfDUJUGfRJHWMVlbQecUo9apYWeIX+H6ko=; b=r7azY6hmMPe+vBkzW6ufeYk4lsA5THQmLWwBnJGnV+VxSIVwL0cLyrEfbeUgAFgN2aM4x0 pNALFfYL8O1zRHlkDhi5InIvJaPUQKD/wVPcYnXIg6ph0x6PogdZZ1PO5xBv8ITBpPqpw/ lA/eCZ72Bov+NyZLPaEEvrElBa5Qrdwcw5nEhn4ijimhciOauA1PJWQ2EOH4fW6wZi2tnj WMXbAWCVWWlfx/Kjqysz/VgcqCOSo6ZLkzjRU0dKi0CRpALrFjg10NRNcWO+cJG6qYTf09 8NOqk2YK3ZlsfiWWIChsyvM59PbsxOX6Lp92/sN1ZW9ALRaeBWf/Le1aGJ6NPQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2FDC8848AB for ; Thu, 28 Nov 2024 11:14:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGbXF-0003JI-Vk; Thu, 28 Nov 2024 05:14:13 -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 1tGbXB-0003HT-VH for guix-patches@gnu.org; Thu, 28 Nov 2024 05:14:05 -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 1tGbXB-0001u6-MR for guix-patches@gnu.org; Thu, 28 Nov 2024 05:14:05 -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:References:In-Reply-To:Date:From:To:Subject; bh=SfDii2/oGmfDUJUGfRJHWMVlbQecUo9apYWeIX+H6ko=; b=aW8lponipwS5EZKM6lhlxii7Bur3XOkuyKnvBgC/Ava5g9ZY5t8e5qDByiWRDj1QOF5BYZtFgg76IL+UQIDoEKIKJCcFdwCk/gyBinZmrlEpVDenKYC3dkS/LrdgDJsNzn+Iuu/aLopWmxH/3bEqGuSE49DHjNVF7T5BMVHbwjn04DvKT654NgW3wbo5IVS44iorlf5nzcuCLpB9V7lGifJ0IkrggvalEA8GFSPc6jksJje4xfs76tIgj6acb92pPZc91pLk2YU6FsF1MAGzGt+JHav75M/DsN2mwrZ4edWxlle0FXPtPFY++6NnLjKfcKKlzwNam4PmEvLa+sMFqw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tGbXB-0008Fa-GJ; Thu, 28 Nov 2024 05:14:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74344] [PATCH v2 7/7] gnu: Add jamesdsp. Resent-From: Sughosha Original-Sender: "Debbugs-submit" Resent-CC: gabriel@erlikon.ch, guix-patches@gnu.org Resent-Date: Thu, 28 Nov 2024 10:14:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74344 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Gabriel Wicki Cc: Sughosha , 74344@debbugs.gnu.org, Gabriel Wicki X-Debbugs-Original-Xcc: Gabriel Wicki Received: via spool by 74344-submit@debbugs.gnu.org id=B74344.173278881531601 (code B ref 74344); Thu, 28 Nov 2024 10:14:05 +0000 Received: (at 74344) by debbugs.gnu.org; 28 Nov 2024 10:13:35 +0000 Received: from localhost ([127.0.0.1]:36759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGbWg-0008Dc-My for submit@debbugs.gnu.org; Thu, 28 Nov 2024 05:13:35 -0500 Received: from layka.disroot.org ([178.21.23.139]:45866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tGbWT-0008Cg-Te for 74344@debbugs.gnu.org; Thu, 28 Nov 2024 05:13:22 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 67D2024DF8; Thu, 28 Nov 2024 11:13:21 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id v4NYnukcnSkF; Thu, 28 Nov 2024 11:13:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1732788797; bh=dPLRurNd3Q50VnogruuEKQJAzZ5+wm8sMxpxnWNgSMo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=gNHgQUD6A8kGJ7VBA34K9219U7DctXdMek8znf5OfxWew1SwsIFaUdjL6D/Et7lZQ XOEml30veEhCp/18P99xAJu7yf8w9vn2g4o0lvz78we2yr3WSzwKY0QRfRkgiwHMNp lfc9wEgIXnTh66Raeoh7jUzMS+Y8Ig8nfKaVgNrs0bTGx1zO5zXM+NMlh8QatARUL6 VEACQ1KT3bNky9Zg129OK1iMF1BjAAON0ySFf/HHGf83nuSPVaCTBRZgH6REbayC36 kiv2fQ3qqVmQCy0/rHdBfP8Wd1ZtHAAGnyxf+lMD4ie0MDGplEq5xYHhau9w+mkNTr sVoArG9xiZi2w== Date: Thu, 28 Nov 2024 15:37:46 +0530 Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit 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: Sughosha X-ACL-Warn: , Sughosha via Guix-patches From: Sughosha via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 2FDC8848AB X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.60 X-Spam-Score: -3.60 X-TUID: s/1/bO8dc5sE * gnu/packages/audio.scm (jamesdsp): New variable. Change-Id: I3444a8baf6eef02185c32e42f84f8b64498b7900 --- gnu/packages/audio.scm | 133 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index f842d77031..e72b4c4bb1 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -49,6 +49,7 @@ ;;; Copyright © 2024 hapster ;;; Copyright © 2024 mio ;;; Copyright © 2024 Nikita Domnitskii +;;; Copyright © 2024 Sughosha ;;; ;;; This file is part of GNU Guix. ;;; @@ -158,6 +159,7 @@ (define-module (gnu packages audio) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module (guix build-system trivial) #:use-module (guix build-system waf) #:use-module (guix download) @@ -755,6 +757,137 @@ (define-public qm-dsp purposes developed at Queen Mary, University of London.") (license license:gpl2+))) +(define-public jamesdsp + (package + (name "jamesdsp") + (version "2.7.0") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/Audio4Linux/JDSP4Linux") + (commit version) + ;; Recurse GraqhicEQWidget, FlatTabWidget, LiquidEqualizerWidget and + ;; EELEditor. + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "17vx12kbvwxvb69vzrlb82mrgf6sl3plyk71g9f39p49ialdsnbr")) + (modules '((guix build utils))) + (snippet + ;; Unbundle 3rd party libraries. + ;; NOTE: QCodeEditor from system fails to build EELEditor. WAF from + ;; system fails to build FlatTabWidget. 3rd party library found in + ;; LiquidEqualizerWidget is unknown. Hence these libraries found in + ;; their respective directories are untouched. + '(begin + ;; Delete the bundled 3rd party libraries. + (for-each delete-file-recursively + (list "3rdparty" + "src/subprojects/EELEditor/3rdparty/docking-system" + "src/subprojects/EELEditor/src/EELEditor-Linker.pri")) + (with-directory-excursion "src" + (substitute* "src.pro" + ;; Do not use bundled 3rd party libraries. + ((".*3rdparty.*") "") + ;; Link required libraries from system. + (("-ldl") + (string-join '("-ldl" + "-lasync++" + "-lqcustomplot" + "-lqt6advanceddocking" + "-lqtcsv" + "-lwaf") + " "))) + ;; Fix including WAF headers. + (substitute* "MainWindow.cpp" + (("") ">")) + (with-directory-excursion "subprojects/EELEditor/src" + ;; Do not use bundled docking-system. + (substitute* "EELEditor.pri" + ((".*docking-system.*") "")) + ;; Do not link to bundled docking-system. + (substitute* "src.pro" + ((".*EELEditor-Linker.*") "")) + ;; Fix including headers from the system. + (substitute* '("eeleditor.cpp" + "eeleditor.h") + (("