GNU bug report logs - #57679
[RFC PATCH] gnu: Add paraview.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: "Paul A. Patience" <paul@HIDDEN>; Keywords: patch; dated Thu, 8 Sep 2022 15:25:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 57679 <at> debbugs.gnu.org:


Received: (at 57679) by debbugs.gnu.org; 24 Sep 2022 13:33:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 24 09:33:54 2022
Received: from localhost ([127.0.0.1]:42760 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oc5I2-0006X1-5r
	for submit <at> debbugs.gnu.org; Sat, 24 Sep 2022 09:33:54 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55012)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1oc5Hy-0006WY-2s
 for 57679 <at> debbugs.gnu.org; Sat, 24 Sep 2022 09:33:50 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55286)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1oc5Hs-0002NR-NW; Sat, 24 Sep 2022 09:33:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=/CYBjMWRqGKKpTCggYSJkDmP/mtVtVb+SGlBDU0YZks=; b=pyrrsE0JGZF02dIriNl+
 Hd3FX4YmIRjEICUJc4vOUZ05WfrKVOfE7+pzaJO/B5Rz/FUBSMICiTMsM5CFn1VB2a+2zzwqNk0Si
 YGd7jtQWe5NFJC30QjzcCqw9veSLRFmfc0pCBgW6csByWTWnjcmVFe8DrvcF7mA2/xh7Vb9pCNfUR
 /Pu5QlRC4OlQDDNLteBbZj9SwDvLePL/UIixvDxisf0DOOIDrGfh9OfU8Gd7M+CWdU7VGj1/SGdfj
 y2leLFucO9X0g7ZWHeM97r6RRZYxqWiws3NuQbzXM1S/F0LT4OTs6gAJTRC/k/D/k4pg96+dHqmPg
 GTjPpvKpK9MSRg==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:51528
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1oc5Hr-0005xg-E1; Sat, 24 Sep 2022 09:33:44 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: "Paul A. Patience" <paul@HIDDEN>
Subject: Re: bug#57679: [RFC PATCH] gnu: Add paraview.
References: <20220908152355.42201-1-paul@HIDDEN>
Date: Sat, 24 Sep 2022 15:33:42 +0200
In-Reply-To: <20220908152355.42201-1-paul@HIDDEN> (Paul A. Patience's
 message of "Thu, 08 Sep 2022 15:24:06 +0000")
Message-ID: <877d1saocp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 57679
Cc: 57679 <at> debbugs.gnu.org, maxim.cournoyer@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Paul,

"Paul A. Patience" <paul@HIDDEN> skribis:

> * gnu/packages/graphics.scm (paraview): New variable.
> ---
> Hi,
>
> ParaView builds with this patch, but doesn't display icons for any of its
> buttons, e.g., for open file, etc.
> I have no idea how to fix this.

I always forget as well, but I suspect you=E2=80=99d get icons if it=E2=80=
=99s included
in a profile that has adwaita installed?  Maxim?

> I started packaging ParaView last year but encountered this problem and g=
ave
> up on trying to fix it.
> Yesterday I started updating (and cleaning up quite a bit) the package fo=
r the
> latest release (candidate) of ParaView, and it's basically done except fo=
r the
> missing icons.

Neat.

FWIW, I also had another version packaged, but perhaps the only useful
bits you could borrow are the synopsis and description:

  https://gitlab.inria.fr/guix-hpc/guix-hpc/-/blob/master/inria/staging.scm=
#L77

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#57679; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Sep 2022 15:24:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 08 11:24:29 2022
Received: from localhost ([127.0.0.1]:59892 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1oWJOH-0006BR-6T
	for submit <at> debbugs.gnu.org; Thu, 08 Sep 2022 11:24:29 -0400
Received: from lists.gnu.org ([209.51.188.17]:41868)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <paul@HIDDEN>) id 1oWJOE-0006BI-1R
 for submit <at> debbugs.gnu.org; Thu, 08 Sep 2022 11:24:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:52686)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <paul@HIDDEN>)
 id 1oWJOD-0003lo-8z
 for guix-patches@HIDDEN; Thu, 08 Sep 2022 11:24:25 -0400
Received: from mail-4323.proton.ch ([185.70.43.23]:56385)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <paul@HIDDEN>)
 id 1oWJO9-0006Wi-IK
 for guix-patches@HIDDEN; Thu, 08 Sep 2022 11:24:24 -0400
Date: Thu, 08 Sep 2022 15:24:06 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com;
 s=protonmail3; t=1662650653; x=1662909853;
 bh=cAWNxk+r3cikthxNePWxd6X/R7yx8O9qkfPK/wudKQs=;
 h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To:
 Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID;
 b=fU1riW3Ztw+ochUl/Rv2McKYDQ0UGl5A+SjJRCfm6CbR0DqEDznIE2MTggIZhfSoR
 DM46J67XeFfTtv2cT5hZ3YR+H5qOyl3eX15WULQxt6QaPE7S+biiUi8AF3OuJwEALT
 744yM5n+Dj4ixThxKYI7HsD5PRAA1cHS9ccX+apr/X3IhMz5mXp4VOasjhmubKeK9r
 Khl2yOTh/GMDcIzDs67dncAQZmllvJEPYNY3IVi7+0cCyqyOwF9XtF2ow9f1oxVBfe
 RyX0wyketSE1F7N5mgcKSkNiYpZXonvViRYRA8yai4BhHJFDQEJfuZGY3f2a+TFjU8
 mtyrI/IhdzYiQ==
To: guix-patches@HIDDEN
From: "Paul A. Patience" <paul@HIDDEN>
Subject: [RFC PATCH] gnu: Add paraview.
Message-ID: <20220908152355.42201-1-paul@HIDDEN>
Feedback-ID: 19227857:user:proton
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=185.70.43.23; envelope-from=paul@HIDDEN;
 helo=mail-4323.proton.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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,
 RCVD_IN_MSPIKE_H2=-0.001, 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-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: paul@HIDDEN, maxim.cournoyer@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: "Paul A. Patience" <paul@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

* gnu/packages/graphics.scm (paraview): New variable.
---
Hi,

ParaView builds with this patch, but doesn't display icons for any of its
buttons, e.g., for open file, etc.
I have no idea how to fix this.
I started packaging ParaView last year but encountered this problem and gav=
e
up on trying to fix it.
Yesterday I started updating (and cleaning up quite a bit) the package for =
the
latest release (candidate) of ParaView, and it's basically done except for =
the
missing icons.
I'm hoping someone has some ideas for making the icons appear (Maxim, maybe=
?).

Thanks,
Paul

 gnu/packages/graphics.scm | 283 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 283 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index fe38e7d03f..7a962afb3d 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -63,12 +63,16 @@ (define-module (gnu packages graphics)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpp)
   #:use-module (gnu packages crypto)
+  #:use-module (gnu packages curl)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
+  #:use-module (gnu packages game-development)
+  #:use-module (gnu packages gcc)
+  #:use-module (gnu packages geo)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages gl)
@@ -92,6 +96,7 @@ (define-module (gnu packages graphics)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mp3)
+  #:use-module (gnu packages mpi)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ninja)
   #:use-module (gnu packages pciutils)
@@ -101,18 +106,23 @@ (define-module (gnu packages graphics)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages plotutils)
   #:use-module (gnu packages pretty-print)
+  #:use-module (gnu packages protobuf)
   #:use-module (gnu packages pth)
   #:use-module (gnu packages pulseaudio)  ; libsndfile, libsamplerate
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
+  #:use-module (gnu packages python-science)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
   #:use-module (gnu packages readline)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages serialization)
+  #:use-module (gnu packages sphinx)
+  #:use-module (gnu packages sqlite)
   #:use-module (gnu packages stb)
   #:use-module (gnu packages swig)
   #:use-module (gnu packages tbb)
+  #:use-module (gnu packages textutils)
   #:use-module (gnu packages toolkits)
   #:use-module (gnu packages upnp)
   #:use-module (gnu packages video)
@@ -2392,3 +2402,276 @@ (define-public f3d
 glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and textu=
ring
 options.")
     (license license:bsd-3)))
+
+(define-public paraview
+  (package
+    (name "paraview")
+    (version "5.11.0-RC1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.kitware.com/paraview/paraview.git")
+             (commit (string-append "v" version))
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yhsavi1c9xzk8va81pnl523i68br39ngidlvfjjnk8dhpm3dzbg"))
+       (modules '((guix build utils)))
+       (snippet
+        ;; TODO: Also remove unused bundled libraries and plugins?
+        #~(begin
+            ;; Remove bundled ParaView libraries which are available in Gu=
ix
+            ;; or undesired.
+            (for-each (lambda (dir)
+                        (delete-file-recursively
+                         (string-append "ThirdParty/" dir "/vtk"
+                                        (string-downcase dir))))
+                      '(;;"CosmoHaloFinder"
+                        ;;"IceT"
+                        "NvPipe"        ; Don't want NvPipe support
+                        ;;"QtTesting"
+                        ;;"cinema"
+                        ;;"cinemasci"
+                        "protobuf"))
+            ;; Remove undesired ParaView plugins.
+            (delete-file-recursively "Plugins/pvNVIDIAIndeX")
+            ;; Remove bundled VTK libraries which are available in Guix.
+            (for-each (lambda (dir)
+                        (delete-file-recursively
+                         (string-append "VTK/ThirdParty/" dir "/vtk" dir))=
)
+                      '(;;"cgns"
+                        "cli11"
+                        ;;"diy2"
+                        "doubleconversion"
+                        "eigen"
+                        ;;"exodusII"
+                        "expat"
+                        ;;"exprtk"
+                        ;;"fides"
+                        "fmt"
+                        "freetype"
+                        "gl2ps"
+                        "glew"
+                        ;;"h5part"
+                        "hdf5"
+                        ;;"ioss"
+                        "jpeg"
+                        "jsoncpp"
+                        ;;"kissfft"
+                        ;;"libharu" ; Requires some PRs applied to 2.3.0
+                        "libproj"
+                        "libxml2"
+                        ;;"loguru"
+                        "lz4"
+                        "lzma"
+                        "mpi4py"
+                        "netcdf"
+                        ;;"nlohmannjson" ; ParFlow build fails even with b=
undled
+                        "ogg"
+                        ;;"pegtl"
+                        "png"
+                        "pugixml"
+                        "sqlite"
+                        "theora"
+                        "tiff"
+                        "utf8"
+                        ;;"verdict"
+                        ;;"vpic"
+                        ;;"vtkm"
+                        ;;"xdmf2"
+                        ;;"xdmf3"
+                        ;;"zfp"
+                        "zlib"))))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:build-type "Release"       ; 542 MiB in release mode
+           #:tests? #f                  ; Downloads test data
+           #:configure-flags
+           #~(let ((doc (string-append #$output "/share/doc/" #$name "-" #=
$version)))
+               (list
+                (string-append "-DCMAKE_INSTALL_DOCDIR=3D" doc) ; For para=
view.qch
+
+                ;; ParaView build options
+                "-DPARAVIEW_BUILD_DEVELOPER_DOCUMENTATION=3DON"
+                (string-append "-DPARAVIEW_GENERATED_DOCUMENTATION_OUTPUT_=
DIRECTORY=3D" doc)
+
+                ;; ParaView capability options
+                ;;"-DPARAVIEW_USE_EXTERNAL_VTK=3DON" ; Unsupported by Para=
View
+                "-DPARAVIEW_USE_MPI=3DON"
+                "-DPARAVIEW_USE_PYTHON=3DON"
+                "-DPARAVIEW_USE_QTWEBENGINE=3DON"
+
+                ;; ParaView features
+                ;;
+                ;; Enable those that are disabled by default.
+                ;; Commented means the dependencies are missing from Guix
+                ;; (or are otherwise described).
+                ;;"-DPARAVIEW_ENABLE_ADIOS2=3DON"
+                ;;"-DPARAVIEW_ENABLE_COSMOTOOLS=3DON"
+                ;;"-DPARAVIEW_ENABLE_CATALYST=3DON"
+                "-DPARAVIEW_ENABLE_FFMPEG=3DON"
+                ;;"-DPARAVIEW_ENABLE_FIDES=3DON"
+                "-DPARAVIEW_ENABLE_GDAL=3DON"
+                ;;"-DPARAVIEW_ENABLE_LAS=3DON"
+                ;;"-DPARAVIEW_ENABLE_LOOKINGGLASS=3DON" ; Downloads depend=
ency
+                ;;"-DPARAVIEW_ENABLE_MOMENTINVARIANTS=3DON" ; Downloads de=
pendency
+                "-DPARAVIEW_ENABLE_MOTIONFX=3DON"
+                ;;"-DPARAVIEW_ENABLE_OPENTURNS=3DON"
+                ;;"-DPARAVIEW_ENABLE_OPENVDB=3DON" ; Dependency not found
+                ;;"-DPARAVIEW_ENABLE_PDAL=3DON"
+                ;;"-DPARAVIEW_ENABLE_RAYTRACING=3DON"
+                "-DPARAVIEW_ENABLE_VISITBRIDGE=3DON"
+                "-DPARAVIEW_ENABLE_XDMF3=3DON"
+
+                ;; ParaView miscellaneous options
+                ;;
+                ;; Without -DPARAVIEW_DATA_EXCLUDE_FROM_ALL=3DOFF, test da=
ta is
+                ;; downloaded even with tests disabled.
+                "-DPARAVIEW_VERSIONED_INSTALL=3DOFF"
+                "-DPARAVIEW_DATA_EXCLUDE_FROM_ALL=3DOFF"
+
+                ;; ParaView plugins
+                ;;
+                ;; Enable those that are disabled by default.
+                ;; Commented means the dependencies are missing from Guix
+                ;; (or are otherwise described).
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_AdiosReaderPixie=3DON"
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_AdiosReaderStaging=3DON"
+                "-DPARAVIEW_PLUGIN_ENABLE_CAVEInteraction=3DON"
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_CDIReader=3DON"
+                "-DPARAVIEW_PLUGIN_ENABLE_GeographicalMap=3DON"
+                "-DPARAVIEW_PLUGIN_ENABLE_GmshIO=3DON"
+                "-DPARAVIEW_PLUGIN_ENABLE_InSituExodus=3DON"
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_LookingGlass=3DON"
+                "-DPARAVIEW_PLUGIN_ENABLE_NetCDFTimeAnnotationPlugin=3DON"
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_ParFlow=3DON" ; Build fails
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_PythonQtPlugin=3DON"
+                "-DPARAVIEW_PLUGIN_ENABLE_SpaceMouseInteractor=3DON"
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_VDFReaderPlugin=3DON"
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_XRInterface=3DON" ; Build fail=
s
+                ;;"-DPARAVIEW_PLUGIN_ENABLE_zSpace=3DON"
+
+                ;; VTK options
+                "-DVTK_SMP_IMPLEMENTATION_TYPE=3DTBB"
+                "-DVTKm_ENABLE_MPI=3DON"
+
+                ;; External libraries for ParaView and VTK
+                "-DVTK_MODULE_USE_EXTERNAL_ParaView_protobuf=3DON"
+                "-DVTK_MODULE_USE_EXTERNAL_VTK_cli11=3DON"
+                "-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_fmt=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_jsoncpp=3DON"
+                "-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=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_mpi4py=3DON"
+                "-DVTK_MODULE_USE_EXTERNAL_VTK_netcdf=3DON"
+                ;;"-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=3DON"
+                "-DVTK_MODULE_USE_EXTERNAL_VTK_ogg=3DON"
+                ;;"-DVTK_MODULE_USE_EXTERNAL_VTK_pegtl=3DON"
+                "-DVTK_MODULE_USE_EXTERNAL_VTK_png=3DON"
+                "-DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=3DON"
+                "-DVTK_MODULE_USE_EXTERNAL_VTK_sqlite=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"))
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'set-paths 'hide-gfortran
+                 (lambda _
+                   (setenv
+                    "CPLUS_INCLUDE_PATH"
+                    (string-join
+                     (delete (string-append #$(this-package-native-input
+                                               "gfortran")
+                                            "/include/c++")
+                             (string-split (getenv "CPLUS_INCLUDE_PATH") #=
\:))
+                     ":"))))
+               (replace 'install-license-files
+                 (lambda _
+                   (let ((src (string-append #$output "/share/licenses/Par=
aView"))
+                         (dst (string-append #$output "/share/doc/"
+                                             #$name "-" #$version "/licens=
es")))
+                     (copy-recursively src dst)
+                     (delete-file-recursively (dirname src))))))))
+    (native-inputs
+     (list gfortran
+           ;; For the documentation
+           doxygen
+           graphviz
+           perl
+           python-sphinx))
+    (inputs
+     (list boost
+           cli11
+           curl
+           double-conversion
+           eigen
+           expat
+           ffmpeg
+           fmt
+           freetype
+           gdal
+           gl2ps
+           glew
+           glu                  ; Propagated from glew, not strictly neces=
sary
+           gmsh
+           hdf5
+           ;;json-modern-cxx              ; For ParFlow; build fails
+           jsoncpp
+           libjpeg-turbo
+           libogg
+           libpng
+           libtheora
+           libtiff
+           libx11              ; Propagated from libxt, not strictly neces=
sary
+           libxcursor
+           libxml2
+           libxt
+           lz4
+           lzip
+           mesa
+           netcdf
+           openmpi
+           ;;openvdb                      ; For OpenVDB; dependency not fo=
und
+           ;;openvr                       ; For XRInterface; build fails
+           ;;pegtl                        ; For VTK; build fails
+           proj
+           protobuf
+           pugixml
+           python-cftime
+           python-matplotlib
+           python-mpi4py
+           python-numpy
+           python-wrapper
+           qtbase-5
+           qtdeclarative-5
+           qtmultimedia-5
+           qtsvg-5
+           qttools-5
+           qtwebchannel-5
+           qtwebengine-5
+           qtx11extras
+           qtxmlpatterns
+           sdl2
+           sqlite
+           tbb
+           utfcpp
+           xorgproto          ; Propagated from libx11, not strictly neces=
sary
+           zlib))
+    (home-page "https://www.paraview.org/")
+    (synopsis "VTK-based, parallel data analyzer and visualizer")
+    (description "ParaView is a VTK-based, parallel data analyzer and
+visualizer which allows exploring data interactively in 3D or
+programmatically.")
+    (license license:bsd-3)))
--
2.37.3






Acknowledgement sent to "Paul A. Patience" <paul@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#57679; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 24 Sep 2022 13:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.