unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Ekaitz Zarraga <ekaitz@elenq.tech>
Cc: "40492@debbugs.gnu.org" <40492-done@debbugs.gnu.org>
Subject: bug#40492: [PATCH] gnu: Add meshlab
Date: Sat, 13 Jun 2020 16:58:29 +0200	[thread overview]
Message-ID: <87imfv108a.fsf@gnu.org> (raw)
In-Reply-To: <qfCNcDJ4o52MgsyhtKtYN2sWnX3o7CerccMq-8uNgGtlcZdltM0cjhjLrgPSK-b6ISr3a1ZdEmV1ypGl-ba2yxHRrwAQCQIBVtTrOUTeNmw=@elenq.tech> (Ekaitz Zarraga's message of "Fri, 12 Jun 2020 21:46:23 +0000")

[-- Attachment #1: Type: text/plain, Size: 481 bytes --]

Hi,

Ekaitz Zarraga <ekaitz@elenq.tech> skribis:

> From 2779f50ad71b4458272aaa9223df96e3a77f60e4 Mon Sep 17 00:00:00 2001
> From: Ekaitz Zarraga <ekaitz@elenq.tech>
> Date: Fri, 12 Jun 2020 23:41:18 +0200
> Subject: [PATCH] gnu: Add meshlab.
>
> * gnu/packages/engineering.scm (meshlab): New variable.

Alright!  Applied with the following changes (whitespace-insensitive
diff).  I hope we can eventually fix the qhull issue, we’ll see.

Thank you!

Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2285 bytes --]

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index b243974dcc..fe3c87edd5 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2622,20 +2622,20 @@ export filters.")
     (license license:lgpl2.1+)))
 
 (define-public meshlab
-  (let ((version "2020.05"))
   (package
     (name "meshlab")
-      (version version)
+    (version "2020.05")
     (source (origin
               (method git-fetch)
               (uri (git-reference
                     (url "https://github.com/cnr-isti-vclab/meshlab")
                     (commit (string-append "Meshlab-" version))
                     (recursive? #t)))
+              (file-name (git-file-name name version))
               (sha256
                (base32 "00sim20ka9vjwljixdj4cqd285j21mpaq05ari7nqq2w8yyglp5m"))))
     (build-system cmake-build-system)
-      (native-inputs
+    (inputs
      `(("qtbase" ,qtbase)
        ("qtscript" ,qtscript)
        ("qtxmlpatterns" ,qtxmlpatterns)
@@ -2648,20 +2648,17 @@ export filters.")
        ("libfreenect" ,libfreenect)
        ("lib3ds" ,lib3ds)
        ("openctm" ,openctm)
-         ;; Compilation fails with system qhull
+       ;; FIXME: Compilation fails with system qhull:
        ;; https://github.com/cnr-isti-vclab/meshlab/issues/678
        ;; ("qhull" ,qhull)
        ))
     (arguments
      `(#:tests? #f                                ; Has no tests
        #:phases
-         (modify-phases
-             %standard-phases
-           (add-after
-               'unpack 'go-to-source-dir
+       (modify-phases %standard-phases
+         (add-after 'unpack 'go-to-source-dir
            (lambda _ (chdir "src") #t))
-           (add-after
-               'install 'move-files
+         (add-after 'install 'move-files
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((lib (string-append (assoc-ref outputs "out")
                                        "/lib")))
@@ -2679,4 +2676,4 @@ rendering and converting this kind of meshes.  These tools include MeshLab
 proper, a versatile program with a graphical user interface, and meshlabserver,
 a program that can perform mesh processing tasks in batch mode, without a
 GUI.")
-      (license license:gpl3+))))
+    (license license:gpl3+)))

      reply	other threads:[~2020-06-13 14:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-07 17:08 [bug#40492] [PATCH] gnu: Add meshlab Ekaitz Zarraga
2020-04-22 17:23 ` Ludovic Courtès
2020-04-22 18:40   ` Ekaitz Zarraga
2020-04-22 19:52     ` Ludovic Courtès
2020-04-25 19:47       ` Ekaitz Zarraga
2020-04-26 20:49         ` Ludovic Courtès
2020-04-26 21:00           ` Ekaitz Zarraga
2020-04-27  8:03             ` Ludovic Courtès
2020-05-08 14:30             ` Ludovic Courtès
2020-05-08 14:30             ` Ludovic Courtès
2020-05-08 14:47               ` Ekaitz Zarraga
2020-05-10 21:29                 ` Ekaitz Zarraga
2020-05-11 12:44                   ` Ludovic Courtès
2020-05-11 14:10                     ` Ekaitz Zarraga
2020-05-11 14:11                       ` Ekaitz Zarraga
2020-05-14  8:06                         ` Ludovic Courtès
2020-05-14  8:17                           ` Ekaitz Zarraga
2020-05-15 22:41                             ` Ekaitz Zarraga
2020-05-21 11:59                               ` Ekaitz Zarraga
2020-06-12 16:13                                 ` Ludovic Courtès
2020-06-12 16:32                                   ` Ekaitz Zarraga
2020-06-12 19:45                                     ` Ludovic Courtès
2020-06-12 21:46                                       ` Ekaitz Zarraga
2020-06-13 14:58                                         ` Ludovic Courtès [this message]

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87imfv108a.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=40492-done@debbugs.gnu.org \
    --cc=ekaitz@elenq.tech \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).