From patchwork Mon Jun 26 17:42:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Preston M. Firestone" X-Patchwork-Id: 51366 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 2136627BBE2; Mon, 26 Jun 2023 18:43:16 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, 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 B51C627BBEA for ; Mon, 26 Jun 2023 18:43:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qDqF0-0006Ix-58; Mon, 26 Jun 2023 13:43:06 -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 1qDqEx-0006Ib-M6 for guix-patches@gnu.org; Mon, 26 Jun 2023 13:43:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qDqEx-0005Tr-98 for guix-patches@gnu.org; Mon, 26 Jun 2023 13:43:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qDqEx-00077q-5J for guix-patches@gnu.org; Mon, 26 Jun 2023 13:43:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63473] [PATCH 4/4] gnu: praat: Fix style Resent-From: "Preston M. Firestone" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 26 Jun 2023 17:43:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63473 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63473@debbugs.gnu.org Cc: "Preston M. Firestone" Received: via spool by 63473-submit@debbugs.gnu.org id=B63473.168780138127361 (code B ref 63473); Mon, 26 Jun 2023 17:43:03 +0000 Received: (at 63473) by debbugs.gnu.org; 26 Jun 2023 17:43:01 +0000 Received: from localhost ([127.0.0.1]:47010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDqEu-00077F-HN for submit@debbugs.gnu.org; Mon, 26 Jun 2023 13:43:00 -0400 Received: from mail-qt1-f179.google.com ([209.85.160.179]:57573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qDqEs-00076p-4o for 63473@debbugs.gnu.org; Mon, 26 Jun 2023 13:42:58 -0400 Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-3f9cf20da51so34511771cf.2 for <63473@debbugs.gnu.org>; Mon, 26 Jun 2023 10:42:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687801372; x=1690393372; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VEfOgfjPxh94ypSB3AxR+gMLXjY22IRExU7F2G8oN3s=; b=rGjojUuufpr8d38GlZOsy2tQvUEO1kyit1wNZbtQ0anfrZa8Jk6E2qSliH5R6d1dd4 tpk3kyXwq+DQZPOZ50hxXhWO/mN1dI/tWcJxFHoL9FtSkmz5w+1TrdIb9hlB5WJ646X8 F58EUT/oQyeFXuaQOflZUQLyMXm3QSfwzJr7HWPSsPDOy8+4Yp1bCc5kvEroLZ9rt4bO /PlX6Aq0cdgizfnpB5oOuFHfnPyAI/mAjBEi+fk/XGiwyw2P9Fc7XVaE952BJS1zN2v7 H13jKLh7t7x2K6QjQxUbyjRNgp/70sLFT7b/SQY8+uc2tvHvVs1zGUIedUaGGSh3PZl9 1SGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687801372; x=1690393372; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VEfOgfjPxh94ypSB3AxR+gMLXjY22IRExU7F2G8oN3s=; b=OndtszKfa14B1yCscxGYJtozz2cwv2G+bv5UTuCbdkNHj6cMomjBdALbuMaxIrNz8Y o/68QItF1+dIkqe2g8s4B6m7xIwvqHPkcdQdahVZrNcvA/Wj+HolUHRIftIeTg7vNVY/ byQVpjMcQPTzJiU0f1bOP2X9pAK6tefppyHRX78BVeWwz0RQJabXwH94y1y/g9ELgsbw GgFr22rmCgkIM+4DthLgM4wdlagQKSCeDdPzwF8yqAN0UhlP6jwSeMVKRYoqTvI3HY60 ncmPbDTKqxFnCToesXd2bDks4dOMgh3qvVi7oncDee3S48lFd/EwAfhRshByTYZ/D1jY 4yNg== X-Gm-Message-State: AC+VfDyZx8rsaU9uXCIFYGd/XZaqsuaQoAsFZdbNPotjmXmiNohoabJM AMfU4qIhYEFPEHzI3LN//spXiFDRYvQ= X-Google-Smtp-Source: ACHHUZ6AQSSiuw1qOziy1d8tz8dy62Z1In5O80iNaXITALsi++Crc3YbzX2mAkMj7s9LvllxZJmyTA== X-Received: by 2002:ac8:5ad3:0:b0:3ff:3cbb:a4dd with SMTP id d19-20020ac85ad3000000b003ff3cbba4ddmr16733393qtd.61.1687801372632; Mon, 26 Jun 2023 10:42:52 -0700 (PDT) Received: from localhost.localdomain (c-73-208-162-67.hsd1.il.comcast.net. [73.208.162.67]) by smtp.gmail.com with ESMTPSA id cc23-20020a05622a411700b003f7fd3ce69fsm180511qtb.59.2023.06.26.10.42.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 10:42:52 -0700 (PDT) From: "Preston M. Firestone" Date: Mon, 26 Jun 2023 12:42:17 -0500 Message-Id: <040e6c0356837b5acc58e697305cbea60a220481.1687800992.git.firestone.preston@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <90JUWR.AJBFPRKS0IKT3@incana.org> References: <90JUWR.AJBFPRKS0IKT3@incana.org> 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: , 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/language.scm (praat): [arguments]: Use g-exps. [#:phases]: Drop trailing #t. [inputs]: Use new format. --- gnu/packages/language.scm | 60 ++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 33 deletions(-) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index 11fc17b427..758fb4f336 100644 --- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -858,47 +858,41 @@ (define-public praat (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/praat/praat") - (commit (string-append "v" version)))) + (url "https://github.com/praat/praat") + (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0kwv0p2bn2x5h0c61rymm87icqqwnbj699awgc5afl4qp53azci8")))) (build-system gnu-build-system) (arguments - `(#:make-flags (list (string-append "CC=" ,(cc-for-target))) - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'delete-failing-tests - (lambda _ - (delete-file "test/sys/graphicsText.praat") - #t)) - (replace 'configure - (lambda _ - (copy-file "makefiles/makefile.defs.linux.pulse" "makefile.defs") - #t)) - (replace 'check - (lambda _ - (invoke "./praat" "--run" - "test/runAllTests_batch.praat") - #t)) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (bin (string-append out "/bin"))) - (mkdir-p bin) - (copy-file "praat" (string-append bin "/praat"))) - #t))))) - (inputs - `(("alsa-lib" ,alsa-lib) - ("gtk" ,gtk+) - ("jack" ,jack-1) - ("publesaudio" ,pulseaudio))) - (native-inputs - (list pkg-config)) + (list #:make-flags #~(list (string-append "CC=" + #$(cc-for-target))) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'delete-failing-tests + (lambda _ + (delete-file "test/sys/graphicsText.praat"))) + (replace 'configure + (lambda _ + (copy-file "makefiles/makefile.defs.linux.pulse" + "makefile.defs"))) + (replace 'check + (lambda _ + (invoke "./praat" "--run" + "test/runAllTests_batch.praat"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (mkdir-p bin) + (copy-file "praat" + (string-append bin "/praat")))))))) + (inputs (list alsa-lib gtk+ jack-1 pulseaudio)) + (native-inputs (list pkg-config)) (home-page "https://www.fon.hum.uva.nl/praat/") (synopsis "Doing phonetics by computer") - (description "Praat is a tool to perform phonetics tasks. It can do speech + (description + "Praat is a tool to perform phonetics tasks. It can do speech analysis (pitch, formant, intensity, ...), speech synthesis, labelling, segmenting and manipulation.") (license license:gpl2+)))