From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 10 09:18:32 2023 Received: (at submit) by debbugs.gnu.org; 10 Oct 2023 13:18:32 +0000 Received: from localhost ([127.0.0.1]:34298 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqCd5-0003aI-KY for submit@debbugs.gnu.org; Tue, 10 Oct 2023 09:18:32 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqCd1-0003Zh-IX for submit@debbugs.gnu.org; Tue, 10 Oct 2023 09:18:30 -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 1qqCcK-0001K4-5l for guix-patches@gnu.org; Tue, 10 Oct 2023 09:17:45 -0400 Received: from mail-4317.proton.ch ([185.70.43.17]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqCcC-0001t2-0O for guix-patches@gnu.org; Tue, 10 Oct 2023 09:17:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail2; t=1696943848; x=1697203048; bh=EPutSJsrVSm1BlH7/2kRWIjZNoCN+rIyzIxWWthBo0s=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=k0fbluAlykjbAMCAu2u4MB0PMDeYY9ZziBKz2zaHJtMkfldCPWixPFC2lrA0Jj3Wc J928BSnKfUdd8zZAQ/k+XcuVUjjCMCTOGr1w/zxN59u28pwLptn2pHNSuIcp1qohGa 07wdtyXvK7ynybWuF9BXHxeXzu2UXQZZWiZ/ZyTys8EmtajyAmykPivNxilpSa3Ml1 pnQFyVugz3FdHo/Qk3PczTNi8otFzr8WRNXvOJ+e0Rt0JHB5wsrgVtPPQm1aXFGwlo lmzo4lQVvj0091RVa9LoUS7+eZhDd/zQfYlDedt3xIIfEu0ICeA/luijuHj4GVhE8W mM+BY7KHSwQ+g== Date: Tue, 10 Oct 2023 13:17:19 +0000 To: guix-patches@gnu.org From: "Paul A. Patience" Subject: [PATCH] gnu: f3d: Update to 2.2.1. Message-ID: 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.17; envelope-from=paul@apatience.com; helo=mail-4317.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: "Paul A. Patience" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/graphics.scm (f3d): Update to 2.2.1. [snippet]: Update paths to delete and remove substitutions. [arguments]<#:configure-flags>: Remove obsolete options, update renamed options and add -DF3D_EXTERNAL_CXXOPTS, -DF3D_EXTERNAL_NLOHMANN_JSON and -DF3D_MODULE_EXR. [phases]: Add 'fix-cmake-rpath' phase. [inputs]: Add openexr. --- gnu/packages/graphics.scm | 49 +++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 16254ab494..337dbbd680 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -2736,7 +2736,7 @@ (define-public asli (define-public f3d (package (name "f3d") - (version "2.0.0") + (version "2.2.1") (source (origin (method git-fetch) @@ -2745,22 +2745,12 @@ (define-public f3d (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1gcwpdkz3ylaxi133zri1cxkvj6za5s1hbgqqc8fn10q2dkkdd44")) + (base32 "0f076754zsxb4gwk6bxj94iyjj0dfxmmc8w88f55xd6hbm3qdnwd")) (modules '((guix build utils))) (snippet #~(begin - (delete-file "external/cxxopts.hpp") - (delete-file "external/json.hpp") - (substitute* "application/F3DOptionsParser.cxx" - (("^#include \"cxxopts\\.hpp\"") - "#include ") - (("^#include \"json\\.hpp\"") - "#include ") - (("cxxopts::OptionException") - "cxxopts::exceptions::parsing")) - (substitute* "library/src/engine.cxx" - (("^#include ") - "#include ")))))) + (delete-file-recursively "external/cxxopts") + (delete-file-recursively "external/nlohmann_json"))))) (build-system cmake-build-system) ;; The package cannot easily be split into out and lib outputs because ;; VTK's vtkModule.cmake complains, and also the CMake files in @@ -2783,15 +2773,29 @@ (define-public f3d #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=3D" #$output "/share/doc/" #$name "-" #$version) "-DBUILD_TESTING=3DOFF" - "-DF3D_GENERATE_MAN=3DON" - "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE=3DON" - "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=3DON" - "-DF3D_INSTALL_MIME_TYPES_FILES=3DON" - "-DF3D_INSTALL_THUMBNAILER_FILES=3DON" - "-DF3D_MODULE_ALEMBIC=3DON" - "-DF3D_MODULE_ASSIMP=3DON" + "-DF3D_LINUX_GENERATE_MAN=3DON" + "-DF3D_USE_EXTERNAL_CXXOPTS=3DON" + "-DF3D_USE_EXTERNAL_NLOHMANN_JSON=3DON" "-DF3D_MODULE_EXTERNAL_RENDERING=3DON" - "-DF3D_MODULE_OCCT=3DON"))) + "-DF3D_MODULE_EXR=3DON" + "-DF3D_PLUGIN_BUILD_ALEMBIC=3DON" + "-DF3D_PLUGIN_BUILD_ASSIMP=3DON" + "-DF3D_PLUGIN_BUILD_OCCT=3DON") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-cmake-rpath + (lambda _ + ;; Expand $ORIGIN, and add VTK to library RPATH, because it = is + ;; not added automatically. + (substitute* "application/CMakeLists.txt" + (("(set_target_properties.*PROPERTIES.*INSTALL_RPATH ).*" + _ prefix) + (string-append prefix "\"" #$output "/lib\")\n"))) + (substitute* "library/CMakeLists.txt" + (("(set_target_properties.*PROPERTIES.*INSTALL_RPATH ).*" + _ prefix) + (string-append prefix "\"" #$output "/lib:" + #$(this-package-input "vtk") "/lib\")\n"))= )))))) (native-inputs (list cxxopts help2man @@ -2815,6 +2819,7 @@ (define-public f3d lz4 netcdf opencascade-occt + openexr vtk zlib)) (home-page "https://f3d-app.github.io/f3d/") base-commit: f4e8baf3806e79d7111d2943859865ae4ee0b59d --=20 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 14 16:21:59 2023 Received: (at 66437-done) by debbugs.gnu.org; 14 Oct 2023 20:21:59 +0000 Received: from localhost ([127.0.0.1]:50622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrl95-0000lQ-0g for submit@debbugs.gnu.org; Sat, 14 Oct 2023 16:21:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qrl92-0000lB-LO for 66437-done@debbugs.gnu.org; Sat, 14 Oct 2023 16:21:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qrl8Z-0000WN-AV; Sat, 14 Oct 2023 16:21:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=UYdhtftx9S+GZmQOaNj9Oa4trpc1jHwl9OlfI4LIaMM=; b=bUegh5Q0j7l9YpgkgsFR U9pVsMEPtsX3cnOEaTiLiD5DKeAA8EBWO+aaF110pon/fWHmbSRukzce8ULgRze/KdKjSz2c26Wjs VKPHARSAThlpjd6bO6JWzet4H2mMrJA4zdVw7VxrYxBCXkPDOAur2tZMkSIdbzpqJQCJYbGi+4kM0 006SftWqatznWZmUiF6oR8V7+OgSrU5yfptTmxCYAbOZwl9c8oYnEF8Ru/LY2tc30L8j5TXzFQMnc 2gvgH+BisDzYBp2hBKJrufKqNHY1Mxhx3v7/GgpCfpLIpgxwtJpzqWDzGJCXnjoSPJt/VUqSJfYsl Yje93XLvg2lvHQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "Paul A. Patience" Subject: Re: [bug#66437] [PATCH] gnu: f3d: Update to 2.2.1. In-Reply-To: (Paul A. Patience's message of "Tue, 10 Oct 2023 13:17:19 +0000") References: Date: Sat, 14 Oct 2023 22:21:24 +0200 Message-ID: <87h6mtaraz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66437-done Cc: 66437-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) "Paul A. Patience" skribis: > * gnu/packages/graphics.scm (f3d): Update to 2.2.1. > [snippet]: Update paths to delete and remove substitutions. > [arguments]<#:configure-flags>: Remove obsolete options, update renamed > options and add -DF3D_EXTERNAL_CXXOPTS, -DF3D_EXTERNAL_NLOHMANN_JSON and > -DF3D_MODULE_EXR. > [phases]: Add 'fix-cmake-rpath' phase. > [inputs]: Add openexr. Applied, thanks! From unknown Sun Sep 07 05:53:16 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 12 Nov 2023 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator