[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
21/22: gnu: f3d: Update to 1.3.1.
From: |
guix-commits |
Subject: |
21/22: gnu: f3d: Update to 1.3.1. |
Date: |
Wed, 7 Sep 2022 16:04:15 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit c56e8eabb46519e32c5ddb5389b8965849ba630d
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Wed Sep 7 13:33:42 2022 +0000
gnu: f3d: Update to 1.3.1.
* gnu/packages/graphics.scm (f3d): Update to 1.3.1.
[snippet]: Use G-expression.
[arguments]<#:configure-flags>: Update option name to
F3D_INSTALL_MIME_TYPES_FILES.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/graphics.scm | 180 ++++++++++++++++++++++------------------------
1 file changed, 86 insertions(+), 94 deletions(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 7adab4a9bf..fe38e7d03f 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -2306,97 +2306,89 @@ a tetrahedral mesh, isovalue discretization and
Lagrangian movement;
(license license:lgpl3+)))
(define-public f3d
- ;; There have been many improvements since the last tagged version (1.2.1,
- ;; released in December 2021), including support for the Alembic file
- ;; format.
- (let ((commit "46df21fe9409349917af5e6f7d1cb931f4c68e59")
- (revision "0"))
- (package
- (name "f3d")
- ;; F3D has not actually been tagged as 1.3.0-pre, but upstream commit
- ;; 401d4d27b2094568378c07f400fbad48b7af3168 updated the version string
- ;; to 1.3.0.
- (version (git-version "1.3.0-pre" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/f3d-app/f3d")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0x0jw9vqf1b8pxh84xpr47hzcjynk07dp8q7r2xihh9cd00kglp1"))
- (modules '((guix build utils)))
- (snippet
- '(begin
- (delete-file "application/cxxopts.hpp")
- (delete-file "application/json.hpp")
- (substitute* "application/F3DOptionsParser.cxx"
- (("^#include \"cxxopts\\.hpp\"")
- "#include <cxxopts.hpp>")
- (("^#include \"json\\.hpp\"")
- "#include <nlohmann/json.hpp>"))))))
- (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
- ;; /lib/cmake/f3d expect the f3d executable and library to be available,
- ;; as they set up targets for both of them.
- (arguments
- (list
- ;; Many tests require files supplied by git-lfs.
- ;; Also, some tests segfault (after an exception?) but the tested
- ;; behavior, i.e., when the program is run manually, does not (for
- ;; example, TestNonExistentConfigFile and TestInvalidConfigFile).
- ;; Upstream is aware of occasionally flaky tests [1], but the tests
- ;; run in CI seem to be passing.
- ;; Anyway, the program runs and is able to open at least STL files
- ;; without issue.
- ;;
- ;; [1]: https://github.com/f3d-app/f3d/issues/92
- #:tests? #f
- #:configure-flags
- #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output
- "/share/doc/" #$name "-" #$version)
- "-DBUILD_TESTING=OFF"
- "-DF3D_GENERATE_MAN=ON"
- "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE=ON"
- "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=ON"
- "-DF3D_INSTALL_MIME_TYPES_FILE=ON"
- "-DF3D_INSTALL_THUMBNAILER_FILES=ON"
- "-DF3D_MODULE_ALEMBIC=ON"
- "-DF3D_MODULE_ASSIMP=ON"
- "-DF3D_MODULE_EXTERNAL_RENDERING=ON"
- "-DF3D_MODULE_OCCT=ON")))
- (native-inputs
- (list cxxopts
- help2man
- json-modern-cxx))
- (inputs
- (list alembic
- assimp
- double-conversion
- eigen
- expat
- fontconfig
- freetype
- glew
- hdf5
- imath
- jsoncpp
- libjpeg-turbo
- libpng
- libtiff
- libx11
- lz4
- netcdf
- opencascade-occt
- vtk
- zlib))
- (home-page "https://f3d-app.github.io/f3d/")
- (synopsis "VTK-based 3D viewer")
- (description "F3D (pronounced @samp{/fɛd/}) is a VTK-based 3D viewer
-with simple interaction mechanisms and which is fully controllable using
-arguments on the command line. It supports a range of file formats (including
-animated glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and
-texturing options.")
- (license license:bsd-3))))
+ (package
+ (name "f3d")
+ (version "1.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/f3d-app/f3d")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0hdfgwf5d24ykab634xg4vv9r09nh96ss7hhnqnh5nmw4abhxzg7"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (delete-file "application/cxxopts.hpp")
+ (delete-file "application/json.hpp")
+ (substitute* "application/F3DOptionsParser.cxx"
+ (("^#include \"cxxopts\\.hpp\"")
+ "#include <cxxopts.hpp>")
+ (("^#include \"json\\.hpp\"")
+ "#include <nlohmann/json.hpp>"))))))
+ (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
+ ;; /lib/cmake/f3d expect the f3d executable and library to be available,
+ ;; as they set up targets for both of them.
+ (arguments
+ (list
+ ;; Many tests require files supplied by git-lfs.
+ ;; Also, some tests segfault (after an exception?) but the tested
+ ;; behavior, i.e., when the program is run manually, does not (for
+ ;; example, TestNonExistentConfigFile and TestInvalidConfigFile).
+ ;; Upstream is aware of occasionally flaky tests [1], but the tests
+ ;; run in CI seem to be passing.
+ ;; Anyway, the program runs and is able to open at least STL files
+ ;; without issue.
+ ;;
+ ;; [1]: https://github.com/f3d-app/f3d/issues/92
+ #:tests? #f
+ #:configure-flags
+ #~(list (string-append "-DCMAKE_INSTALL_DOCDIR=" #$output
+ "/share/doc/" #$name "-" #$version)
+ "-DBUILD_TESTING=OFF"
+ "-DF3D_GENERATE_MAN=ON"
+ "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE=ON"
+ "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=ON"
+ "-DF3D_INSTALL_MIME_TYPES_FILES=ON"
+ "-DF3D_INSTALL_THUMBNAILER_FILES=ON"
+ "-DF3D_MODULE_ALEMBIC=ON"
+ "-DF3D_MODULE_ASSIMP=ON"
+ "-DF3D_MODULE_EXTERNAL_RENDERING=ON"
+ "-DF3D_MODULE_OCCT=ON")))
+ (native-inputs
+ (list cxxopts
+ help2man
+ json-modern-cxx))
+ (inputs
+ (list alembic
+ assimp
+ double-conversion
+ eigen
+ expat
+ fontconfig
+ freetype
+ glew
+ hdf5
+ imath
+ jsoncpp
+ libjpeg-turbo
+ libpng
+ libtiff
+ libx11
+ lz4
+ netcdf
+ opencascade-occt
+ vtk
+ zlib))
+ (home-page "https://f3d-app.github.io/f3d/")
+ (synopsis "VTK-based 3D viewer")
+ (description "F3D (pronounced @samp{/fɛd/}) is a VTK-based 3D viewer with
+simple interaction mechanisms and which is fully controllable using arguments
+on the command line. It supports a range of file formats (including animated
+glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and texturing
+options.")
+ (license license:bsd-3)))
- 05/22: gnu: font-lxgw-wenkai-tc: Update to 0.921., (continued)
- 05/22: gnu: font-lxgw-wenkai-tc: Update to 0.921., guix-commits, 2022/09/07
- 06/22: gnu: python-pyvista: Update to 0.36.1., guix-commits, 2022/09/07
- 08/22: gnu: gnunet-scheme: Make scheme-gnunet.pdf reproducible., guix-commits, 2022/09/07
- 09/22: gnunet-scheme: Unbundle config.rpath., guix-commits, 2022/09/07
- 11/22: gnu: abseil-cpp: Update to 20220623.1., guix-commits, 2022/09/07
- 12/22: gnu: python-shiboken-2: Use G-expressions., guix-commits, 2022/09/07
- 03/22: gnu: sqlite-next: Update to 3.39.3., guix-commits, 2022/09/07
- 02/22: gnu: python-apsw: Update to 3.39.2.1., guix-commits, 2022/09/07
- 07/22: gnu: gnunet-scheme: Update to 0.3., guix-commits, 2022/09/07
- 13/22: gnu: Add python-shiboken-6, guix-commits, 2022/09/07
- 21/22: gnu: f3d: Update to 1.3.1.,
guix-commits <=
- 04/22: gnu: font-lxgw-wenkai: Update to 1.240., guix-commits, 2022/09/07
- 15/22: gnu: python-pyside-2: Clarify the package inputs., guix-commits, 2022/09/07
- 19/22: gnu: python-pyside-2-tools: Fix synopsis and description., guix-commits, 2022/09/07
- 10/22: gnu: ytfzf: Update to 2.4.1., guix-commits, 2022/09/07
- 14/22: gnu: python-pyside-2: Use G-expressions., guix-commits, 2022/09/07
- 18/22: gnu: python-pyside-2-tools: Use G-expressions., guix-commits, 2022/09/07
- 17/22: gnu: Add python-pyside-6., guix-commits, 2022/09/07
- 22/22: gnu: uBlock Origin: Update to 1.44.2., guix-commits, 2022/09/07
- 20/22: gnu: python-sympy: Update to 1.11.1., guix-commits, 2022/09/07
- 16/22: gnu: python-pyside-2: Use "this-package-input" instead of "assoc-ref"., guix-commits, 2022/09/07