From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EHybCqwEpGWd2gAAe85BDQ:P1 (envelope-from ) for ; Sun, 14 Jan 2024 16:58:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id EHybCqwEpGWd2gAAe85BDQ (envelope-from ) for ; Sun, 14 Jan 2024 16:58:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DVuILMrp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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=1705247916; 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=1z1enjW9RLHLZ+BB6CI64rNU8V9kfFxfDWzLvwHduI4=; b=WTzYoRSxuJUA9rhu8CaNVYqC/zMWkp6N4ktEHyrDoViLr/N55rJNRI6Exk+WvY1PzMSJbo JuOb7kT6KJxgv7DQQSwCSIsh0JWphTMotGMMLQgqMV1kOto73KCqSYyaz8T1bRGloW6YLH 9HFRXGJKJN9c+J7DeQ0k4gcqIlC93UlKWXIMSKLv76OGB46ZfckVfTXQGFOnJey5Yi90ji PmIS23M1Fb0KXxXBiUeTHse1S5bg151mWSwyUT8gzX+AMXJU0R3AbmN5Gwhf8QRjmR6t9i iondF2Dkxtz0SdX4xfBhlD5XBX7RDbQrWt609YpO1tDlUfmqxoOz04yQap9VHQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705247916; a=rsa-sha256; cv=none; b=h5L8Dui7DJp0mRJE/gElqCaMkoKQjhcncvlXBnpRvo69Q0fGSwEY1CPr0tUmrpJIyi2uM8 jRGfSFEK3FLc3Qhvsf8e3hCtLLJz9Fj1BFW4HElT2lR3Zb20yRyIgIeUEgEVnme+Uvg6LR lafuXShHZa3hOoF/N/N8yYnpx+ZWkGqLT/sa2XVn6gD7SpWx6KG4MA7kQGh18DHLTSFEeb LcD2OOrwEuRJ1xFzoFlGEH6Vou/Vj9OyAikX8M3dy/tIWueahnbAD3ww+XPpfOIc7ILQJt TAiumitpMR1/TtDn6BCugGauyJHp1qgT/Gkhfo0Jp3eH5z8EZoFe1qVc9yQsgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=DVuILMrp; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" 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 EC57D79233 for ; Sun, 14 Jan 2024 16:58:35 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rP2sD-0004xM-Tr; Sun, 14 Jan 2024 10:58:09 -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 1rP2s9-0004wP-8j for guix-patches@gnu.org; Sun, 14 Jan 2024 10:58:06 -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 1rP2s8-0003Fi-9k for guix-patches@gnu.org; Sun, 14 Jan 2024 10:58:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rP2s7-0004Lq-CF for guix-patches@gnu.org; Sun, 14 Jan 2024 10:58:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#64114] [PATCH v2 2/2] gnu: Add fftw-documentation. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Jan 2024 15:58:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64114 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64114@debbugs.gnu.org Cc: David Elsing Received: via spool by 64114-submit@debbugs.gnu.org id=B64114.170524783416642 (code B ref 64114); Sun, 14 Jan 2024 15:58:03 +0000 Received: (at 64114) by debbugs.gnu.org; 14 Jan 2024 15:57:14 +0000 Received: from localhost ([127.0.0.1]:43988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP2rH-0004K8-Aq for submit@debbugs.gnu.org; Sun, 14 Jan 2024 10:57:14 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40581) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rP2rE-0004JQ-HH for 64114@debbugs.gnu.org; Sun, 14 Jan 2024 10:57:09 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A0E30240104 for <64114@debbugs.gnu.org>; Sun, 14 Jan 2024 16:57:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705247823; bh=2zIeVBOtxO90H8g2zA5P5h10gQJTd41D7ndi4wxxkL4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=DVuILMrpWZ2KBIH8U1gkltffSnvkXsRPbeCk0AvHUdGwbFMHxdR3WDsW4XQ03C+x8 gHQfEuP4uLLJUuJs3Y5vOnd6k7HFGFz46HRORpqkk+6cbcLUqSjVxdg5ijKJx1f5ty 7Ver1zARpScMPaA9aTQWJRI4FVIXD9F7g3tW5j3gwk/FKtuTc485GkRrZTJxGjMG+5 uBCJawd2vGCZVdN57uZeFpIzzoEGK3jIFLp1R2dxpGsI9gZyL1RHo+ybGPgjuJnt62 Lt+20FNnywfZnpaJktKqqWDX5fTkdabhHgBYHoV3DZ/wRPAwlSKJx9mz5JtpKWF5KU dBAjc/6OHeHPg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TCfzM2HWpz9rxB; Sun, 14 Jan 2024 16:57:03 +0100 (CET) From: David Elsing Date: Sun, 14 Jan 2024 15:55:14 +0000 Message-ID: <20240114155516.12457-3-david.elsing@posteo.net> In-Reply-To: <9ae0d0f6a21a74fc0b36c52f23bbbd44b251d039.1686934712.git.david.elsing@posteo.net> References: <9ae0d0f6a21a74fc0b36c52f23bbbd44b251d039.1686934712.git.david.elsing@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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.61 X-Spam-Score: 3.61 X-Migadu-Queue-Id: EC57D79233 X-TUID: gfVVRHBmNAFJ * gnu/packages/algebra.scm (fftw-documentation): New variable. --- gnu/packages/algebra.scm | 42 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index dbed683bef..1b2694400d 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -807,6 +807,48 @@ (define-public fftw cosine/ sine transforms or DCT/DST).") (license license:gpl2+))) +;; Separate package to prevent dependency cycle +(define-public fftw-documentation + (package/inherit fftw + (name "fftw-documentation") + (arguments + (substitute-keyword-arguments (package-arguments fftw) + ((#:tests? _ #f) #f) + ((#:phases phases '%standard-phases) + #~(modify-phases #$phases + (replace 'build + (lambda _ + ;; Reproducibility + (substitute* "doc/FAQ/m-html.pl" + (("- \\$html_date\\\\n") "") + (("\\$html_year \\$user_copyholder") + "2021 $user_copyholder")) + (substitute* "doc/FAQ/fftw-faq.bfnn" + ((".*`date.*") "")) + (invoke "make" "-C" "doc") + (invoke "make" "-C" "doc" "html") + (invoke "make" "-C" "doc/FAQ" "faq"))) + (replace 'install + (let ((doc (string-append #$output "/share/doc/" + #$(package-name this-package) "-" + #$(package-version this-package)))) + (lambda _ + (copy-recursively "doc/html" (string-append doc "/html")) + (copy-recursively "doc/FAQ/fftw-faq.html" + (string-append doc "/fftw-faq.html")) + (install-file "doc/FAQ/fftw-faq.ascii" doc)))))))) + (native-inputs + (modify-inputs (package-native-inputs fftw) + (prepend ghostscript texinfo fig2dev))) + (home-page "https://fftw.org") + (synopsis "Computing the discrete Fourier transform") + (description + "FFTW is a C subroutine library for computing the discrete Fourier +transform (DFT) in one or more dimensions, of arbitrary input size, and of +both real and complex data (as well as of even/odd data---i.e. the discrete +cosine/ sine transforms or DCT/DST).") + (license license:gpl2+))) + (define-public fftwf (package/inherit fftw (name "fftwf") -- 2.41.0