From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kDVUHQakYmN0ZQAAbAwnHQ (envelope-from ) for ; Wed, 02 Nov 2022 18:08:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8HUdHQakYmNbKAEAauVa8A (envelope-from ) for ; Wed, 02 Nov 2022 18:08:22 +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 01A973EF9D for ; Wed, 2 Nov 2022 18:08:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oqHDl-000314-TL; Wed, 02 Nov 2022 13:08:10 -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 1oqHDj-0002za-80 for guix-patches@gnu.org; Wed, 02 Nov 2022 13:08:07 -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 1oqHDf-0006P7-09 for guix-patches@gnu.org; Wed, 02 Nov 2022 13:08:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oqHDe-0004Ab-Gg for guix-patches@gnu.org; Wed, 02 Nov 2022 13:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57679] [RFC PATCH] gnu: Add paraview. References: <20220908152355.42201-1-paul@apatience.com> In-Reply-To: <20220908152355.42201-1-paul@apatience.com> Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Nov 2022 17:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57679 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57679@debbugs.gnu.org Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Ontje.Luensdorf@dlr.de Received: via spool by 57679-submit@debbugs.gnu.org id=B57679.166740884115977 (code B ref 57679); Wed, 02 Nov 2022 17:08:02 +0000 Received: (at 57679) by debbugs.gnu.org; 2 Nov 2022 17:07:21 +0000 Received: from localhost ([127.0.0.1]:47092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqHCy-00049c-5a for submit@debbugs.gnu.org; Wed, 02 Nov 2022 13:07:20 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqHCo-00049N-P4 for 57679@debbugs.gnu.org; Wed, 02 Nov 2022 13:07:19 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1667408822; cv=none; d=zohomail.com; s=zohoarc; b=nxUfmSUNr8Rq0M7mOM9o6xU2izAuaoGK3busWAvnWXjfrhACfQJUd2Q/R9SPodQnCMz+iNZsOFWGL4DNQdsAgxnIS9PlUtYF2Jq8FXChq+VQuoQNDbmFclrKfzESX668BXvBRbTFUmYQWiYpmuSJQACxBgC0aGRmQxz1K9/rfGw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1667408822; h=Content-Type:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=7YyHaTuxW/K4J5qFoRwN47xMfH8Q2BugG+KoAeJeHMk=; b=lmk3VujhpHGjUGoqYSUDtwS07xpGIgNvtaSceVWom1wdo5VF8DN/SlCJOvxvWQUZpm1Nm2qoteJ8CUv/N6xWCfPvrFU6HMNXz4pInist800MM0miEnif2ppgToKMNW272cTB4fNEPUupcUhHclUaCDCY1Bo/O8FW63l4eL6a9Pk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1667408822; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To; bh=7YyHaTuxW/K4J5qFoRwN47xMfH8Q2BugG+KoAeJeHMk=; b=GnfvenhqtnjsTJ6/4FZ73SyeJ28+d+vbxZEa0aohgz0uQfS5riY4A9T1JZi+HKOw Oj+l+sa6tGjYT3veY0DcC7M1cM8SF+sDMupLdwM60wxDoxBV7wbLSsiR5DBdLP4qLcp YFqNLa35hEu0I+dHq+9vSkcaQLus3KzGwoetEc08= Received: from localhost (i5E862D5B.versanet.de [94.134.45.91]) by mx.zohomail.com with SMTPS id 1667408819707731.3181127655279; Wed, 2 Nov 2022 10:06:59 -0700 (PDT) User-agent: mu4e 1.8.9; emacs 28.1 From: Ricardo Wurmus Date: Wed, 02 Nov 2022 17:50:14 +0100 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Message-ID: <87bkpp8evk.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Zoho-Virus-Status: 1 X-ZohoMailClient: External 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667408902; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=7YyHaTuxW/K4J5qFoRwN47xMfH8Q2BugG+KoAeJeHMk=; b=XifuOQsc8EJ12jXc8skRWVU/zGn7i79N3H+sYAfuoozokvlKY3Yj+uzgimrQZ8dctL12JT lQ4XJk2Az5BkAYQvAebumeYJO5gOaULMUl1KkqFcShu1zEpjICIo1ZzHuYmaL4K3Y46Xf5 siI95D0xO0lWykY4/4lPLJuAlHUFzxdz2Ay3rEzgLKb2emubfVnN1mVQULTYtlBRvw2fM3 e2J4lKkStgGhje7XBF56dpLgQ4tbtfXAXSY3HHR0lWLFDaH5RLVnhBEBkHQ0DK+NgZqQm7 Dk07bwiJj1KXBjwMRR/IDJtsGsZV4UeYVnbTmP4tWPmplJBnJI4iCdAD8xfGzQ== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1667408902; a=rsa-sha256; cv=fail; b=g2FHUzwcSti5uxLkemBXpTEa1vzQpOt4d0+TkF94kWQxOjIRSVBS3LKzWAeem9Iw+DY1Ms IoDy0tCHebAXJcQD4DQt7CJJaWuIpj5s2lY537rp6pjeR4JnaoDn/7YSijW2lh3Mit4LgW MrViEExfr0/E2ptTkm58JD7gHjozBo3wtrB0Vh4UidN8mzRxXp3onOsgHg+EhQldYhAh1G FpCVLt/H/WjTRUjY949pXuM4wQXlxt40ZmgCEONBzVhHnYUwkUrsoP1OTzWHTjw6OusCjK fj4jCbzbbbT6WsEfU0X96Ph3uOtp7jxuC3qo1CzKmWo98Scn5dYqlQQEHXb4NQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=Gnfvenhq; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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" X-Migadu-Spam-Score: 2.01 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elephly.net header.s=zoho header.b=Gnfvenhq; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=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" X-Migadu-Queue-Id: 01A973EF9D X-Spam-Score: 2.01 X-Migadu-Scanner: scn1.migadu.com X-TUID: AT3tDmFLZFUt --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Attached is an earlier version of Paraview (5.9.1) that has been submitted by Ontje (in Cc). @Ludo: there doesn=E2=80=99t seem to be a way to unbundle VTK, because Para= view is closely tied to VTK, reuses its build system to some extent, and is better understood as an *extension* to VTK than a client application using VTK merely as a library. Upstream also commented that unbundling VTK is not a priority and would have to be supported by the community. About the icons: when I run /gnu/store/7x3dxk0kl0rc1sw673z51cfran7q6hf1-par= aview-5.9.1/bin/paraview I don=E2=80=99t see most icons. Even when I install it into a profile that h= as adwaita-icon-theme and run it from the profile in a new shell session the icons are not displayed. According to strace the icons are found (after searching in all the wrong places =E2=80=94 probably an opportunity for performance improvement)= , but they are not displayed. This is the same problem as https://issues.guix.gnu.org/29905. The problem disappears when QT_PLUGIN_PATH is set. I tested this by installing qtsvg@5 in my profile alongside paraview-5.9. The icons show up. So I suggest wrapping the executables in QT_PLUGIN_PATH just as we did for krita and itk-snap. --=20 Ricardo --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-paraview-5.9.1.patch Content-Transfer-Encoding: quoted-printable >From 2b067d0263210a6ac293cda9bdde906a871667ec Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Ontje=3D20L=3DC3=3DBCnsdorf?=3D Date: Wed, 2 Nov 2022 17:35:51 +0100 Subject: [PATCH] gnu: Add paraview 5.9.1. * gnu/packages/image-processing.scm (paraview-5.9): New variable. Co-authored-by: Ricardo Wurmus --- gnu/packages/image-processing.scm | 93 +++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-process= ing.scm index 778f6c8538..84494b770a 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -54,6 +54,7 @@ (define-module (gnu packages image-processing) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages curl) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -86,6 +87,7 @@ (define-module (gnu packages image-processing) #:use-module (gnu packages serialization) #:use-module (gnu packages sqlite) #:use-module (gnu packages tbb) + #:use-module (gnu packages textutils) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages video) @@ -868,6 +870,97 @@ (define-public nip2 recalculates.") (license license:gpl2+))) =20 +;; This package bundles and extends VTK. It also reuses the VTK build sys= tem +;; to some degree. Sadly, it does not seem to be possible to build with an +;; external VTK, despite the CMake option PARAVIEW_USE_EXTERNAL_VTK. +(define-public paraview-5.9 + (package + (name "paraview") + (version "5.9.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://www.paraview.org/files/v" + (version-major+minor version) + "/ParaView-v" version ".tar.xz")) + (sha256 + (base32 "13aczmfshzia324h9r2m675yyrklz2308rf98n444ppmzfv6qj0d")))) + (build-system cmake-build-system) + (propagated-inputs + (list mesa qtbase-5 qtsvg-5 glew)) + (inputs + (list ;; XXX: We can't simply #:use-module due to a cycle somewhere. + (module-ref + (resolve-interface '(gnu packages engineering)) + 'cgns) + cli11 + double-conversion + eigen + expat + ffmpeg + freetype + gdal + gl2ps + hdf5 + jsoncpp + libharu + libjpeg-turbo + libpng + libtheora + libtiff + libxml2 + lz4 + netcdf + protobuf + pugixml + python + qttools-5 + qtxmlpatterns + utfcpp + zlib)) + (arguments + (list + #:build-type "Release" ;Build without debug symbols to save s= pace + #:configure-flags + '(list "-DPARAVIEW_BUILD_WITH_EXTERNAL=3DON" + "-DPARAVIEW_BUILD_SHARED_LIBS=3DON" + "-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION=3DOFF" + "-DPARAVIEW_USE_PYTHON=3DON" + "-DPARAVIEW_ENABLE_FFMPEG=3DON" + "-DPARAVIEW_ENABLE_GDAL=3DON" + "-DPARAVIEW_ENABLE_WEB=3DOFF" + + "-DVTK_MODULE_USE_EXTERNAL_VTK_doubleconversion=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_eigen=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_expat=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_freetype=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_gl2ps=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_glew=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_hdf5=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_jpeg=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_libxml2=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_lz4=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_lzma=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_png=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_theora=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_tiff=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_utf8=3DON" + "-DVTK_MODULE_USE_EXTERNAL_VTK_zlib=3DON" + + "-DVTK_MODULE_USE_EXTERNAL_ParaView_vtkcatalyst=3DOFF" + "-DVTK_MODULE_USE_EXTERNAL_VTK_cgns=3DOFF" + "-DVTK_MODULE_USE_EXTERNAL_VTK_exprtk=3DOFF" + "-DVTK_MODULE_USE_EXTERNAL_VTK_fmt=3DOFF" + "-DVTK_MODULE_USE_EXTERNAL_VTK_ioss=3DOFF"))) + (home-page "https://www.paraview.org/") + (synopsis "Data analysis and visualization application") + (description "ParaView is a data analysis and visualization applicatio= n. +Users can quickly build visualizations to analyze their data using qualita= tive +and quantitative techniques. The data exploration can be done interactive= ly +in 3D or programmatically using ParaView=E2=80=99s batch processing capabi= lities.") + (license license:bsd-3))) + (define-public vxl (package (name "vxl") --=20 2.36.1 --=-=-=--