From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ED4iEhxXaGFTVwEAgWs5BA (envelope-from ) for ; Thu, 14 Oct 2021 18:13:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cMO5DRxXaGF2egAAbx9fmQ (envelope-from ) for ; Thu, 14 Oct 2021 16:13:16 +0000 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 122542281A for ; Thu, 14 Oct 2021 18:13:16 +0200 (CEST) Received: from localhost ([::1]:51656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mb3M3-0002S5-6W for larch@yhetil.org; Thu, 14 Oct 2021 12:13:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mb3BE-0002XU-JV for guix-patches@gnu.org; Thu, 14 Oct 2021 12:02:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mb3BD-0003Si-87 for guix-patches@gnu.org; Thu, 14 Oct 2021 12:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mb3BD-0004YC-5C for guix-patches@gnu.org; Thu, 14 Oct 2021 12:02:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51208] [PATCH 2/2] gnu: Add whipper. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 14 Oct 2021 16:02:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51208@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 51208-submit@debbugs.gnu.org id=B51208.163422728017415 (code B ref 51208); Thu, 14 Oct 2021 16:02:03 +0000 Received: (at 51208) by debbugs.gnu.org; 14 Oct 2021 16:01:20 +0000 Received: from localhost ([127.0.0.1]:36903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb3AV-0004Wo-PQ for submit@debbugs.gnu.org; Thu, 14 Oct 2021 12:01:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:49113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mb3AK-0004W2-O9 for 51208@debbugs.gnu.org; Thu, 14 Oct 2021 12:01:16 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 95E1024002D for <51208@debbugs.gnu.org>; Thu, 14 Oct 2021 18:01:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1634227262; bh=aJgSEzX+EI6adYMkKDTs/Sia66P2xx4WOgMGd2iD0FU=; h=From:To:Cc:Subject:Date:From; b=VpzF3yfF3uOUCTql3X3hvUiJB65UJhecBeQOdrUbjYTXYa3J7kWnMsuyFeCvMLtsM t+84hgCm9mu1ZhOZKkT/fkyz6oKDeaXdRSJaSA1lbyYwzDEhIfSEy0Jy/ijLyArS2R MqFwhyBjCXGOhsmEgkRX2Yu1oWY/PfNEPrXvg1CH5ykKyBKFqH1K36kPYHj3HKNSwO ffhcqEdAYsj5dGaGzVL8UZ+NQBAgtCrOnymRDT27HTvRAHBpELTFTo1bG22b7U0kw5 Io3arMkzP6qXt/CHuki48uR0AGOREMAzQwVhXk3jk3KbzYvvIJCAdDD8yYxpP8pnFp uRFEua3mccuIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HVYzK18pQz6tmG; Thu, 14 Oct 2021 18:01:00 +0200 (CEST) From: Vinicius Monego Date: Thu, 14 Oct 2021 16:00:36 +0000 Message-Id: <20211014160036.114159-2-monego@posteo.net> In-Reply-To: <20211014160036.114159-1-monego@posteo.net> References: <20211014160036.114159-1-monego@posteo.net> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634227996; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=QiM0GrV/8Ya6dQR9O2ECUA0vRtw8QYXDZhcPDiz4Ocw=; b=ojsRDeFWLGAh2qHnrhYjHtbwf2Na0YkJO+4VEBlBJqNiC6bKGr5kvfPJYX6o18q86RE00U s1hTZ9F0EayLHrs9e+GpROXN7EaQfUsiq2PWhSXJFHg6awCikaKzTidO5rLTTCFAhb3eUH mG2gIJQ+WBOBTvKvLYKnxUhI82h4JaNrRA9NFdcRg0zlZBqpt/kdF46CzZLvxWUXhVf5a1 hjAjRmjrX+dfm7P0ZTK79T6XtNRBEEVKdmDTOU0fvIPgDPD/lsS3sDghZfLlAT6PNACPUR jITElTn273owJPL/hny8/wJGK5AhsFy1D1lZPxoodYHu2HKfwXp0XVSWNI8MeA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634227996; a=rsa-sha256; cv=none; b=IYfIqsF9akFrlu/mzHCbQYic8eUQC9ZniE6zkn4IeyPx5oAo6HOwPNwOafUtzDhxFh8qBk FsPT0t1GpLBPSpDJZLcL8rqcPT4c5LAqw4JJZr3wwTFM4t+RotZZjWOItEdIRkMRvL1gru jYuoadjTSWuv4XsmT5Jbs3rgFzgL1T7sPm29DMYTOlmhsoqd6MuUygW0c89HfLQYQKfSfq G0b08mXRWseYsLJAAYCOlYmnDbRg9OaqtvaLJnj8tBlPzCH9ZfMG6TQj8+0z2x/caHAwLy d9JLKx/AXeW+YULjD24O8+y4Fs9NA9s3cdDlYnIvFkPq7YjdXYLFHs4Kwj+eMg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VpzF3yfF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.69 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=VpzF3yfF; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 122542281A X-Spam-Score: 3.69 X-Migadu-Scanner: scn0.migadu.com X-TUID: ibdMTNXLyVfz * gnu/packages/cdrom.scm (whipper): New variable. --- gnu/packages/cdrom.scm | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm index 47de11eec9..4c467dd1fb 100644 --- a/gnu/packages/cdrom.scm +++ b/gnu/packages/cdrom.scm @@ -69,9 +69,12 @@ #:use-module (gnu packages base) #:use-module (gnu packages perl) #:use-module (gnu packages perl-web) + #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz) #:use-module (gnu packages image) #:use-module (gnu packages photo) + #:use-module (gnu packages serialization) #:use-module (gnu packages swig) #:use-module (gnu packages tcl) #:use-module (gnu packages video) @@ -637,6 +640,64 @@ from an audio CD.") (CD Input and Control library).") (license gpl3+))) +(define-public whipper + (package + (name "whipper") + (version "0.10.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/whipper-team/whipper") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00cq03cy5dyghmibsdsq5sdqv3bzkzhshsng74bpnb5lasxp3ia5")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'cdparanoia + (lambda _ + ;; Fix cdparanoia executable name. + (substitute* "whipper/program/cdparanoia.py" + (("cd-paranoia") "cdparanoia")))) + (add-before 'check 'set-home + ;; Tests need a writable HOME. + (lambda _ + (setenv "HOME" (getcwd)))) + (add-before 'check 'skip-failing-test + ;; This test apparently relies on live data that changes over time: + ;; https://github.com/whipper-team/whipper/issues/515. + (lambda _ + (substitute* "whipper/test/test_common_accurip.py" + (("test_AccurateRipResponse_parses_correctly") + "_test_AccurateRipResponse_parses_correctly"))))))) + (native-inputs + `(("gobject-introspection" ,gobject-introspection) + ("python-setuptools-scm" ,python-setuptools-scm) + ("python-twisted" ,python-twisted))) + (inputs + `(("cdparanoia" ,cdparanoia) + ("cdrdao" ,cdrdao) + ("flac" ,flac) + ("libdiscid" ,libdiscid) + ("libsndfile" ,libsndfile) + ("sox" ,sox))) + (propagated-inputs + `(("python-discid" ,python-discid) + ("python-musicbrainzngs" ,python-musicbrainzngs) + ("python-mutagen" ,python-mutagen) + ("python-pycdio" ,python-pycdio) + ("python-pygobject" ,python-pygobject) + ("python-ruamel.yaml" ,python-ruamel.yaml))) + (home-page "https://github.com/whipper-team/whipper") + (synopsis "CD-DA ripper preferring accuracy over speed") + (description "Whipper is a CD-DA ripper forked from the morituri project +(CDDA ripper aiming for accuracy over speed), which development seems to have +halted.") + (license gpl3+))) + (define-public abcde (package (name "abcde") -- 2.30.2