all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Paul A. Patience" <paul@apatience.com>
To: 64181@debbugs.gnu.org
Cc: "Paul A. Patience" <paul@apatience.com>
Subject: [bug#64181] [PATCH] gnu: mmg: Update to 5.7.1.
Date: Tue, 20 Jun 2023 01:40:51 +0000	[thread overview]
Message-ID: <a9e4247c2b089c1a7dda47d9650ed523ed820bb9.1687225214.git.paul@apatience.com> (raw)

* 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.
---
 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 @@ (define-public discregrid
 (define-public mmg
   (package
     (name "mmg")
-    (version "5.6.0")
+    (version "5.7.1")
     (source
      (origin
        (method git-fetch)
@@ -2404,7 +2404,7 @@ (define-public mmg
              (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 @@ (define-public mmg
                    ;; 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 @@ (define-public mmg
                    (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))))

base-commit: d884fc9e2efecfba09af4694f5a13ad7fc6f704f
prerequisite-patch-id: 52027b181c066ac91bc56fc0af511a34f3516651
-- 
2.40.1






             reply	other threads:[~2023-06-20  1:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-20  1:40 Paul A. Patience [this message]
2023-06-20 14:19 ` [bug#64181] [PATCH] gnu: mmg: Update to 5.7.1 Paul A. Patience
2023-06-25 20:59 ` Ludovic Courtès
2023-06-26  8:53   ` bug#64181: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9e4247c2b089c1a7dda47d9650ed523ed820bb9.1687225214.git.paul@apatience.com \
    --to=paul@apatience.com \
    --cc=64181@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.