From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IHE9IpgbSWEnQwAAgWs5BA (envelope-from ) for ; Tue, 21 Sep 2021 01:39:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oFDTHZgbSWHnbwAAbx9fmQ (envelope-from ) for ; Mon, 20 Sep 2021 23:39:04 +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 1098812024 for ; Tue, 21 Sep 2021 01:39:04 +0200 (CEST) Received: from localhost ([::1]:47870 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSSsI-0005J8-Su for larch@yhetil.org; Mon, 20 Sep 2021 19:39:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSSrK-0005FU-Od for guix-patches@gnu.org; Mon, 20 Sep 2021 19:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSSrK-000308-Gt for guix-patches@gnu.org; Mon, 20 Sep 2021 19:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSSrK-00033r-EG for guix-patches@gnu.org; Mon, 20 Sep 2021 19:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50711] [PATCH 2/2] gnu: darktable: Update to 3.6.1. References: <20210920233430.103080-1-monego@posteo.net> In-Reply-To: <20210920233430.103080-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Sep 2021 23:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50711 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50711@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 50711-submit@debbugs.gnu.org id=B50711.163218106011706 (code B ref 50711); Mon, 20 Sep 2021 23:38:02 +0000 Received: (at 50711) by debbugs.gnu.org; 20 Sep 2021 23:37:40 +0000 Received: from localhost ([127.0.0.1]:44296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSSqy-00032k-7J for submit@debbugs.gnu.org; Mon, 20 Sep 2021 19:37:40 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSSqx-00032T-AJ for 50711@debbugs.gnu.org; Mon, 20 Sep 2021 19:37:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 9140C240103 for <50711@debbugs.gnu.org>; Tue, 21 Sep 2021 01:37:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632181053; bh=2UEQhmy/AxjPcUcg1hF7aiBKyF0TmcqCiiU7qitBczU=; h=From:To:Cc:Subject:Date:From; b=lY5wyxbnRzJvcpdQEskXv4oFKksTsTKvYWcLDiFECnbktmNuBPJWA+IG71+2cYmtY yfg0zTuIQSISSn4GcXEAyAqVQWXgB5NG00yCnBSJrlyT/MQdxl3IDoH/ktz16WS6ob xzrZDjnCMYODzayq07OMHEpM4sNjEpXVVGIghFfginqIrqqqXSDsm1ql1TviOyuQsE Uc50/6WuLL2kOHVl5miLFXnAL+83cQGWTjzzMp38SB1CWLPeQG9NMDOkkFCoB3lV14 sUHbBYVBbdBitJec/pnTB3JQXptyeXAF0yyIKcq/9TbUbYBPFsxX6EeVQsVqwaNvVd 0uKQHaRkmQI/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HD1F84xLBz9rxQ; Tue, 21 Sep 2021 01:37:32 +0200 (CEST) From: Vinicius Monego Date: Mon, 20 Sep 2021 23:37:46 +0000 Message-Id: <20210920233746.103483-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=1632181144; 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=TlsGQetSlUKFA0l3AldjVfGf9Rl0rp7Fz3o55v4Q17M=; b=co+oB0pS7NU5sSoOcrDGdIbNuWTDdVJsfBObygwIJ1iUbgrwGHCcSGhJrNlbKubhiQHMh1 0oVesI+xDqf5hQRbwxOFscnJ1CMHyAxCwMR8KOyZv6rNQbeTUH2/BxHGvbNeHxsn2CkQlV mL2pZpTRGKdrv2ElhVP0viSMsldqf6GDuPemKz83Xf1xQ6gPczoXoVvksoo4mmbusS9L3R YnWkxSPTobeNBKhYLW+iWy9atNSDA1defyYx/88hf+0xMvx46HJCYHkhcGd6TtC+3ecxie +Y1M8GcA6f5JWdGkBlxr1zmCHuxqftQ7u5yyacOMeHqQVxbVpGQb+qv34zaWqg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632181144; a=rsa-sha256; cv=none; b=SZFGcNQCcF8zF828X8FDKXMmXIyq6BihP+mLfxdSNfAE/D3n7orYBMLU3SSneBtYh9Seuk ZVjaZj1yHLEJztPUFUbJmFzU51dZe8w4Op3EMeJrTyl5ey3pfpmyKC4IJGImJ+/lONqj9o HGnugq6zIBT6URLWqVB7/R7CLrvJNj/GkWblUPEXj267fSqmjr2Bi9CEufaxWR4Dlz1Owp PggI5V7vy28woUyzuiseKf6KIWmxAs6Yy6Jsy1n0mH+DatXZzReNyu3quDO+KL9LIwCej0 APzDcpUGZB/pS28RUMak2cG9zcp6+zR0G2zirXOZxJvDQnN/y3QA1FD0lC1xwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=lY5wyxbn; 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.71 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=lY5wyxbn; 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: 1098812024 X-Spam-Score: 3.71 X-Migadu-Scanner: scn0.migadu.com X-TUID: +q4YNqnJLSvg * gnu/packages/photo.scm (darktable): Update to 3.6.1. [arguments]<#:phases>: Don't return #t. Remove 'opencl-inline phase because the issue was fixed by upstream in this version. --- gnu/packages/photo.scm | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index 39ec490445..908a872b6b 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm @@ -471,7 +471,7 @@ photographic equipment.") (define-public darktable (package (name "darktable") - (version "3.6.0") + (version "3.6.1") (source (origin (method url-fetch) @@ -479,7 +479,7 @@ photographic equipment.") "https://github.com/darktable-org/darktable/releases/" "download/release-" version "/darktable-" version ".tar.xz")) (sha256 - (base32 "0f8aqwkgw4gs97b5i4ygiqk5zilwq7ax7zwdd31r72zk98cd1g46")))) + (base32 "051dwhdqa9q3zyrvr78g0cfzl1zhaagfvgx9axa9895q0g0wggx2")))) (build-system cmake-build-system) (arguments `(#:configure-flags '("-DBINARY_PACKAGE_BUILD=On" @@ -492,19 +492,7 @@ photographic equipment.") (substitute* "./src/common/dlopencl.c" (("\"libOpenCL\"") (string-append "\"" (assoc-ref inputs "opencl-icd-loader") - "/lib/libOpenCL.so\""))) - #t)) - ;; The use of inline is wrong and darktable cannot compile its kernels - ;; with ROCm. See upstream commit - ;; https://github.com/darktable-org/darktable/commit/f0d8710f5ef34eb7e33b4064e022ebf3057b9e53 - (add-after 'unpack 'opencl-inline - (lambda* (#:key inputs #:allow-other-keys) - ;; This is a feature of OpenCL 1.2 and later. - (substitute* "data/kernels/CMakeLists.txt" - (("CL1\\.1") "CL1.2")) - (substitute* (find-files "data/kernels" "\\.(cl|h)$") - (("inline") "static inline")) - #t)) + "/lib/libOpenCL.so\""))))) (add-before 'configure 'prepare-build-environment (lambda* (#:key inputs #:allow-other-keys) ;; Rawspeed fails to build with GCC due to OpenMP error: @@ -514,8 +502,7 @@ photographic equipment.") ;; it to the Clang dir. We fix this by patching CMakeLists.txt. (substitute* "CMakeLists.txt" (("\\$\\{LLVM_INSTALL_PREFIX\\}") - (assoc-ref %build-inputs "clang"))) - #t)) + (assoc-ref %build-inputs "clang"))))) (add-before 'configure 'set-LDFLAGS-and-CPATH (lambda* (#:key inputs outputs #:allow-other-keys) (setenv "LDFLAGS" @@ -526,8 +513,8 @@ photographic equipment.") ;; Ensure the OpenEXR headers are found. (setenv "CPATH" (string-append (assoc-ref inputs "ilmbase") - "/include/OpenEXR:" (or (getenv "CPATH") ""))) - #t)) + "/include/OpenEXR:" + (or (getenv "CPATH") ""))))) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (wrap-program (string-append (assoc-ref outputs "out") @@ -535,8 +522,7 @@ photographic equipment.") ;; For GtkFileChooserDialog. `("GSETTINGS_SCHEMA_DIR" = (,(string-append (assoc-ref inputs "gtk+") - "/share/glib-2.0/schemas")))) - #t))))) + "/share/glib-2.0/schemas"))))))))) (native-inputs `(("clang" ,clang-11) ("cmocka" ,cmocka) -- 2.30.2