me
/
guix
Archived
1
0
Fork 0

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>
master
Paul A. Patience 2022-09-07 13:33:42 +00:00 committed by Marius Bakke
parent 08c6fd9511
commit c56e8eabb4
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 86 additions and 94 deletions

View File

@ -2306,29 +2306,21 @@ a tetrahedral mesh, isovalue discretization and Lagrangian movement;
(license license:lgpl3+))) (license license:lgpl3+)))
(define-public f3d (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 (package
(name "f3d") (name "f3d")
;; F3D has not actually been tagged as 1.3.0-pre, but upstream commit (version "1.3.1")
;; 401d4d27b2094568378c07f400fbad48b7af3168 updated the version string
;; to 1.3.0.
(version (git-version "1.3.0-pre" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/f3d-app/f3d") (url "https://github.com/f3d-app/f3d")
(commit commit))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0x0jw9vqf1b8pxh84xpr47hzcjynk07dp8q7r2xihh9cd00kglp1")) (base32 "0hdfgwf5d24ykab634xg4vv9r09nh96ss7hhnqnh5nmw4abhxzg7"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin #~(begin
(delete-file "application/cxxopts.hpp") (delete-file "application/cxxopts.hpp")
(delete-file "application/json.hpp") (delete-file "application/json.hpp")
(substitute* "application/F3DOptionsParser.cxx" (substitute* "application/F3DOptionsParser.cxx"
@ -2361,7 +2353,7 @@ a tetrahedral mesh, isovalue discretization and Lagrangian movement;
"-DF3D_GENERATE_MAN=ON" "-DF3D_GENERATE_MAN=ON"
"-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE=ON" "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE=ON"
"-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=ON" "-DF3D_INSTALL_DEFAULT_CONFIGURATION_FILE_IN_PREFIX=ON"
"-DF3D_INSTALL_MIME_TYPES_FILE=ON" "-DF3D_INSTALL_MIME_TYPES_FILES=ON"
"-DF3D_INSTALL_THUMBNAILER_FILES=ON" "-DF3D_INSTALL_THUMBNAILER_FILES=ON"
"-DF3D_MODULE_ALEMBIC=ON" "-DF3D_MODULE_ALEMBIC=ON"
"-DF3D_MODULE_ASSIMP=ON" "-DF3D_MODULE_ASSIMP=ON"
@ -2394,9 +2386,9 @@ a tetrahedral mesh, isovalue discretization and Lagrangian movement;
zlib)) zlib))
(home-page "https://f3d-app.github.io/f3d/") (home-page "https://f3d-app.github.io/f3d/")
(synopsis "VTK-based 3D viewer") (synopsis "VTK-based 3D viewer")
(description "F3D (pronounced @samp{/fɛd/}) is a VTK-based 3D viewer (description "F3D (pronounced @samp{/fɛd/}) is a VTK-based 3D viewer with
with simple interaction mechanisms and which is fully controllable using simple interaction mechanisms and which is fully controllable using arguments
arguments on the command line. It supports a range of file formats (including on the command line. It supports a range of file formats (including animated
animated glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and glTF, STL, STEP, PLY, OBJ, FBX), and provides numerous rendering and texturing
texturing options.") options.")
(license license:bsd-3)))) (license license:bsd-3)))