From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MPdtBrEZXWVOIQAAG6o9tA:P1 (envelope-from ) for ; Tue, 21 Nov 2023 21:57:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id MPdtBrEZXWVOIQAAG6o9tA (envelope-from ) for ; Tue, 21 Nov 2023 21:57:21 +0100 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 DB03F45083 for ; Tue, 21 Nov 2023 21:57:20 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TIwrdZK4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700600241; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=e1X8bggixvth+Bw/5+k/NHs08Zk5UB6R+aJd972kIXg=; b=RRYs9GtOWDKsN26Qqr61xEJ0NQeUATd22QayRSf7n4mpukM2AGLhXZpr9ED9va6I8h1Er9 NBxPXtdmT2ieyYjjOOAbxnZXwwNrnGGaTbjcoy08uEmCH24p2XXCH3BkFiAT8b9zdUXs3P fEXK6eEPDnm/KrmtIuJemn6LywP6X7jXho87NsdJ8p8kkz+JwrUBcKxaBDCHiPoAT7VKPR 8SDqae4RWa8okmMZSTQvOD531JoXA7oa7MvZDGYtLRiBf3J0WI/NOSYCRH0on09RqR3iDb ibhE7O6cBbsK7MEPJ8pLh7BZqJBceW65xpD1ZbbS8M552iL7/RTA3yLFifRI2A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=TIwrdZK4; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700600241; a=rsa-sha256; cv=none; b=aaKupAtDpk8KJjsUUWMV1XpqmxS0M3r4ZYuR+tYye3jh0+YVzqv9jECCBX8IuCV2Co1osl Ze2gA6tWjamzO0F7jOStGzLCkXHPmfNA+wXyWnhKNyx8ZNV5EbVj4v/wOqmqDgKXhrcty2 WPRwkvQ94PQZZoXAD02j0cwwe6kioGARW9T7fyzFe0GauK/1i7ZEjcdP2JuhcL/d6WcvaY r8cldkNJflaQsOEndzlO5MyIyFtsj7UQ+34tJx0tcm2TemvFvJMpENzX3PG4k7iq1IaSy/ ndIYohyKZPolIYq5DHTXvbPp7Ghigb8haU6kIHr1u76VOJ2Va0jEDntZs195IA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5Xns-0001BY-Bf; Tue, 21 Nov 2023 15:57:04 -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 1r5Xno-0001B3-Bc for guix-patches@gnu.org; Tue, 21 Nov 2023 15:57:02 -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 1r5Xno-0002vP-3M for guix-patches@gnu.org; Tue, 21 Nov 2023 15:57:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r5Xnq-0006kk-LW for guix-patches@gnu.org; Tue, 21 Nov 2023 15:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67343] [PATCH] Add fftw-cmake Resent-From: Mehmet Tekman Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 21 Nov 2023 20:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67343 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67343@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170060021225936 (code B ref -1); Tue, 21 Nov 2023 20:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Nov 2023 20:56:52 +0000 Received: from localhost ([127.0.0.1]:57535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5Xng-0006kF-AI for submit@debbugs.gnu.org; Tue, 21 Nov 2023 15:56:52 -0500 Received: from lists.gnu.org ([2001:470:142::17]:50228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5Xne-0006k0-AG for submit@debbugs.gnu.org; Tue, 21 Nov 2023 15:56:50 -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 1r5XnV-000184-Kl for guix-patches@gnu.org; Tue, 21 Nov 2023 15:56:41 -0500 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5XnT-0002rs-Uo for guix-patches@gnu.org; Tue, 21 Nov 2023 15:56:41 -0500 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4084b0223ccso28869065e9.2 for ; Tue, 21 Nov 2023 12:56:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700600198; x=1701204998; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=e1X8bggixvth+Bw/5+k/NHs08Zk5UB6R+aJd972kIXg=; b=TIwrdZK4RBIIsjqOC+4Mw+q7FTMEwiP9AWnS1IZ/DLaXS4rQZY7isdvmgpU/1fwNdk SahG8OFF9TbJphxdMC10Vp3AA5KN09PWFsbJKu9uzCV5unbwNIdbuw4pUtbeyeaAZCxh fkXT0h76V9LeqqBXjQj2LhOT0OBa/IMXaAO2KEw5Ye53ttafB8hvggL8B3NSj2ePneB5 ZzC4oIpRpdeYcyz1i8xMIIGZVjcjw4SVk3LoDkLBLJCuqh9tdV9ydiiPTEfba2wGoXwI dgAQNu30S+HkBITFeppeN2GvOYijfJt8B/YWN+stgkIiWqyXw8s2s6mJL9W3wFalqhVB JT+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700600198; x=1701204998; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=e1X8bggixvth+Bw/5+k/NHs08Zk5UB6R+aJd972kIXg=; b=BejMObpNsi2lKbzjBnWeZbK6K8nSHxGFtZG7KFqPUCUrtgOEzrHdcvA/dm/7mTH08K 8wkqRb+JbKYhkV3JN6lF9K3fwR5Uny2Pafnl7MO8tXe2umkzd6fY6HoPdr7rcRvwk0WJ 0TaedAFNS4Ceo8Ot6JBo5nH2vDL0P84+xkQDx+yhPrl7n8a0HHMb6bk2SDo3CuxT9B/k BuM1K8zK2dLmUU9o0NsgnFWfAW+pEX6p8ux7BbCgaXQ64xkykcLxVoyF9bhrhXfwj332 kMPEkpDvZ35seru8G0tcgxWMlUE6on1pAaQbWOCQ5O/bjgshRVkYdCeRs6R1MEVL8QRM TOrg== X-Gm-Message-State: AOJu0YwKpQU/hAzOofdjdE1ebVm9E3byTCKVcN51aYT5Bs0qGtKpT339 L+6FaLPAgX7rAw9pbCofMQlpB2QLJto= X-Google-Smtp-Source: AGHT+IE5CWuH6ckJcKK+ObEdC9gwwA+bpkb2TltHBgpjz8KQdTOQ+Ip13t2YV+OqUqA9CoQioG1cxA== X-Received: by 2002:a05:600c:1c9d:b0:406:f832:6513 with SMTP id k29-20020a05600c1c9d00b00406f8326513mr364610wms.3.1700600198016; Tue, 21 Nov 2023 12:56:38 -0800 (PST) Received: from hayvan (pharma2-70.w2k.pharmakol.uni-freiburg.de. [132.230.165.170]) by smtp.gmail.com with ESMTPSA id n10-20020a05600c4f8a00b004095874f6d3sm18618291wmq.28.2023.11.21.12.56.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 12:56:37 -0800 (PST) From: Mehmet Tekman Date: Tue, 21 Nov 2023 21:56:36 +0100 Message-ID: <87o7fmu8or.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=mtekman89@gmail.com; helo=mail-wm1-x329.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , 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-Spam-Score: 2.88 X-Spam-Score: 2.88 X-Migadu-Queue-Id: DB03F45083 X-Migadu-Scanner: mx13.migadu.com X-TUID: 3R6dUkAC3RkQ --=-=-= Content-Type: text/plain This patch is a dependency of krita 5.2.1, and is a clone of the fftw gnu-build which does not provide a required CMake file for krita. It is not clear if the CMake build provides the target optimizations, so it does replace the existing fftw variable. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0002-gnu-Add-fftw-cmake.patch >From 70fc6c6ada030c7b5d4d35da6da8a2f4f018ff74 Mon Sep 17 00:00:00 2001 From: mtekman Date: Tue, 21 Nov 2023 21:35:56 +0100 Subject: [PATCH] gnu: Add fftw-cmake * gnu/packages/algebra.scm (fftw-cmake): New variable This is a clone of the fftw function, but uses cmake to build in order for the FFTW3LibraryDepends.cmake file to be built, neccesary for packages with cmake builds that depend on fftw3. See: https://bugzilla.redhat.com/show_bug.cgi?id=1729652#c5 This variable is cloned from the existing fftw3 in order to not break any downstream packages that make use of the target optimizations given by the gnu build. Change-Id: Ied7920beae0494350445d3a1905fa37b2b83976a --- gnu/packages/algebra.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index c0fe75ddfd..a31338ff6f 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -778,6 +778,33 @@ (define-public fftw cosine/ sine transforms or DCT/DST).") (license license:gpl2+))) +(define-public fftw-cmake + (package + ;; Cmake compiling is experimental since 2017, and it is not clear if this + ;; build has the same target-specific optimizations as the fftw gnu build. + ;; See: https://fftw.org/release-notes.html + (name "fftw-cmake") + (version "3.3.8") + (source + (origin + (method url-fetch) + (uri (string-append "ftp://ftp.fftw.org/pub/fftw/fftw-" version + ".tar.gz")) + (sha256 + (base32 "00z3k8fq561wq2khssqg0kallk0504dzlx989x3vvicjdqpjc4v1")))) + (build-system cmake-build-system) + (native-inputs (list perl)) + (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). This CMake build offers the file +FFTW3LibraryDepends.cmake required by some dependent packages, absent in the +gnu build version.") + (license license:gpl2+))) + (define-public fftwf (package/inherit fftw (name "fftwf") -- 2.41.0 --=-=-=--