From patchwork Thu Apr 10 09:25:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 41527 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 0DFC027BC4A; Thu, 10 Apr 2025 10:27:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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 D8F4627BC49 for ; Thu, 10 Apr 2025 10:27:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1u2oC0-0000IU-8g; Thu, 10 Apr 2025 05:27:28 -0400 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 1u2oBw-0000Dn-HF for guix-patches@gnu.org; Thu, 10 Apr 2025 05:27:25 -0400 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 1u2oBg-0002Xu-Bb for guix-patches@gnu.org; Thu, 10 Apr 2025 05:27:11 -0400 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=Hiw/ST1fVSfkFS7u50eCY5J1lo/LdXyBE1q+aDYoKl0=; b=eQGgbgjTBoQKZce7tbRxw2JDx3LaxyB0X/tL0mrjGnTxfD3E9mYfRMHKSpVy2Zft/Naamju0dXFKAoq8c51uToJZhqfyne8P5iErrllHE+KKNlxFBbX11wp9c3fZsqUqdyauvCemTPrFBdgPvykvx23cMVRtf7r8LoOIADSax3Y0mF5NH4Dl5bGIP0C4D/e/hklMSwSRtHGHxmhohWc/1pVcJcMJOYdPOTSmnA2YzTAd9hhoxOOyawHeLHJHnDEZ9fEepzQ+plbpRLnd6ZfM2nRPADNdI+oIQg7gxqEFmjmSDKUMJa+kLDCeadgHXIclrcV6+4Bp0K5AS5do1Kcn3w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1u2oBa-00058U-Ar; Thu, 10 Apr 2025 05:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77694] [PATCH] gnu: emacs-emms: Activate tests and build info. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, csantosb@inventati.org, divya@subvertising.org, hako@ultrarare.space, ian@retrospec.tv, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Thu, 10 Apr 2025 09:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77694 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77694@debbugs.gnu.org Cc: Cayetano Santos , Andrew Tropin , Cayetano Santos , Divya Ranjan Pattanaik , Hilton Chain , Ian Eure , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Cayetano Santos , Divya Ranjan Pattanaik , Hilton Chain , Ian Eure , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.174427716319407 (code B ref -1); Thu, 10 Apr 2025 09:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Apr 2025 09:26:03 +0000 Received: from localhost ([127.0.0.1]:43877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2oAc-00052g-2T for submit@debbugs.gnu.org; Thu, 10 Apr 2025 05:26:02 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49906) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2oAY-00050k-Ue for submit@debbugs.gnu.org; Thu, 10 Apr 2025 05:25:59 -0400 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 1u2oAG-00070f-11 for guix-patches@gnu.org; Thu, 10 Apr 2025 05:25:40 -0400 Received: from confino.investici.org ([93.190.126.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1u2oAE-0002Mr-0f for guix-patches@gnu.org; Thu, 10 Apr 2025 05:25:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1744277135; bh=Hiw/ST1fVSfkFS7u50eCY5J1lo/LdXyBE1q+aDYoKl0=; h=From:To:Cc:Subject:Date:From; b=ZiZ3H0LbsTszOqFJRDvDEwGVHpGv4KJEPV83PHfc4KJr3vV12KIdAAtrWpdt4HdML jUxW8mNM8hmqQtQNaIxZPOUTmaFAlCtGVuRdMfsbLNz2MDT/dSJEXYVsfnK+AADCKs Rwg+QomT0/sDiW1c1rBzkDBBOHJkmULRGrNqsHSc= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4ZYDv35nYWz11Sq; Thu, 10 Apr 2025 09:25:35 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZYDv34qlJz11Sk; Thu, 10 Apr 2025 09:25:35 +0000 (UTC) Date: Thu, 10 Apr 2025 11:25:22 +0200 Message-ID: <930ab255d76ba3cb2506bcd67e7a254ce8573a98.1744277122.git.csantosb@inventati.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Received-SPF: pass client-ip=93.190.126.19; envelope-from=csantosb@inventati.org; helo=confino.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, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos 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/emacs-xyz.scm (emacs-emms): Activate tests and build info. Change-Id: I232dd25a30156374d5e12f73948b26b6b274cc54 --- gnu/packages/emacs-xyz.scm | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) base-commit: 2934de1447f87b361608ef3a2a756b8a5d2f42e6 diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 421b9b4cfa..c1e9951098 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -4160,8 +4160,23 @@ (define-public emacs-emms (name "emacs-emms") (build-system emacs-build-system) (arguments - `(#:phases + `(#:tests? #t + #:test-command + (list "emacs" "-Q" "--batch" + "--eval=(cd \"test/\")" + "-l" "emms-tests.el" + "-l" "emms-info-native-tests.el" + "-l" "emms-info-native-ogg-tests.el" + "-l" "emms-info-native-mp3-tests.el" + "-l" "emms-info-native-flac-tests.el" + "-l" "emms-info-native-vorbis-tests.el" + "-f" "ert-run-tests-batch-and-exit") + #:phases (modify-phases %standard-phases + (add-before 'install 'make-info + (lambda _ + (invoke "make" "-C" "doc" "all") + (rename-file "doc/emms.info" "emms.info"))) (add-after 'unpack 'set-external-programs ;; Specify the absolute file names of the various programs ;; so that everything works out-of-the-box. (tinytag missing) @@ -4205,6 +4220,7 @@ (define-public emacs-emms (string-append "\"" vorbiscomment "\""))) (substitute* "emms-info-exiftool.el" (("\"exiftool\"") (string-append "\"" exiftool "\""))))))))) + (native-inputs (list texinfo)) (inputs (list emacs-emms-print-metadata alsa-utils