guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/10: gnu: mmg: Update to 5.7.1.


From: guix-commits
Subject: 01/10: gnu: mmg: Update to 5.7.1.
Date: Sun, 25 Jun 2023 17:47:02 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit bdf3d621bfb3f49d1ef799713bc8dcb7336d7802
Author: Paul A. Patience <paul@apatience.com>
AuthorDate: Tue Jun 20 01:40:51 2023 +0000

    gnu: mmg: Update to 5.7.1.
    
    * gnu/packages/graphics.scm (mmg): Update to 5.7.1.
    [arguments]<#:configure-flags>: Set -DCMAKE_INSTALL_MANDIR. Add
    -DBUILD_DOC=ON and -DUSE_SCOTCH=ON, the defaults of which changed since
    the last version. Scotch is still autodetected, but explicitly enabling
    it causes the configuration to fail if it is not found.
    <#:phases>: Do not copy the manual pages, because the build now does it.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/graphics.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 3a65b96919..2a7a86d9a0 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -2395,7 +2395,7 @@ generated discrete signed distance field using the cubic 
spline kernel.
 (define-public mmg
   (package
     (name "mmg")
-    (version "5.6.0")
+    (version "5.7.1")
     (source
      (origin
        (method git-fetch)
@@ -2404,7 +2404,7 @@ generated discrete signed distance field using the cubic 
spline kernel.
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "173biz5skbwg27i5w6layg7mydjzv3rmi1ywhra4rx9rjf5c0cc5"))))
+        (base32 "0skb7yzsw6y44zp9gb729i5xks7qd97nvn3z6jhz4jksqksx7lz0"))))
     (build-system cmake-build-system)
     (outputs '("out" "lib" "doc"))
     (arguments
@@ -2414,11 +2414,14 @@ generated discrete signed distance field using the 
cubic spline kernel.
                    ;; The build doesn't honor -DCMAKE_INSTALL_BINDIR, hence
                    ;; the adjust-bindir phase.
                    ;;(string-append "-DCMAKE_INSTALL_BINDIR=" #$output "/bin")
+                   (string-append "-DCMAKE_INSTALL_MANDIR=" #$output 
"/share/man")
                    "-DBUILD_SHARED_LIBS=ON"
+                   "-DBUILD_DOC=ON"
                    "-DBUILD_TESTING=ON"
                    ;; The longer tests are for continuous integration and
                    ;; depend on input data which must be downloaded.
                    "-DONLY_VERY_SHORT_TESTS=ON"
+                   "-DUSE_SCOTCH=ON"
                    ;; TODO: Add Elas (from
                    ;; https://github.com/ISCDtoolbox/LinearElasticity).
                    "-DUSE_ELAS=OFF"
@@ -2443,9 +2446,6 @@ generated discrete signed distance field using the cubic 
spline kernel.
                    (invoke "make" "doc")))
                (add-after 'install 'install-doc
                  (lambda _
-                   (copy-recursively
-                    "../source/doc/man" (string-append #$output
-                                                       "/share/man/man1"))
                    (copy-recursively
                     "doc" (string-append #$output:doc "/share/doc/"
                                          #$name "-" #$version))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]