From patchwork Mon May 11 14:11:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ekaitz Zarraga X-Patchwork-Id: 21994 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 411FF27BBE3; Mon, 11 May 2020 15:22:02 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 94FC327BBE1 for ; Mon, 11 May 2020 15:22:01 +0100 (BST) Received: from localhost ([::1]:54990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jY9Jh-0006Mv-2F for patchwork@mira.cbaines.net; Mon, 11 May 2020 10:22:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jY9A2-00028N-7i for guix-patches@gnu.org; Mon, 11 May 2020 10:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jY9A1-0003rN-Sh for guix-patches@gnu.org; Mon, 11 May 2020 10:12:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jY9A1-0004Ga-OH for guix-patches@gnu.org; Mon, 11 May 2020 10:12:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40492] [PATCH] gnu: Add meshlab Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 May 2020 14:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?utf-8?q?Court=C3=A8s?= Cc: "40492\\@debbugs.gnu.org" <40492@debbugs.gnu.org> Received: via spool by 40492-submit@debbugs.gnu.org id=B40492.158920631116370 (code B ref 40492); Mon, 11 May 2020 14:12:01 +0000 Received: (at 40492) by debbugs.gnu.org; 11 May 2020 14:11:51 +0000 Received: from localhost ([127.0.0.1]:52899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jY99q-0004Fy-Qg for submit@debbugs.gnu.org; Mon, 11 May 2020 10:11:51 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:25068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jY99o-0004FT-LO for 40492@debbugs.gnu.org; Mon, 11 May 2020 10:11:49 -0400 Date: Mon, 11 May 2020 14:11:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1589206302; bh=Tn21HnZ2m8ysJJBQrsg/m3Zvrh2woPi6GvtKBpb5QpU=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=PBCL38Gz9vHF7I+DaYUaAmmAT9ab5bZuroCl93NehJCcCPuzwr8XPfR/CvLFAvDr6 dY22MvnQVMcRnunVmDtsyEt6bsrneRSdYyCVwaM9cfAeeNw1fxgnw2fiUc1RwOs+cB hzwecWz7tegLGytooKjV9RIT4sFNuJmvmn5FLpyo= From: Ekaitz Zarraga Message-ID: In-Reply-To: References: <_UXapokzwPRYl41j0bjkPGSDUNXahWNWsEn72py7ch7Rd6DBsxW9B8rw8wTbmzj1O2HfWXz7XLbEdWCYQsFCa5DgMlGn0CKVPr779J2PFuo=@elenq.tech> <87wo67ti07.fsf@gnu.org> <87blneynu0.fsf@gnu.org> <87h7wqcxdv.fsf@gnu.org> <5Xe04GEft3Gf5wO_7lIfdvvkO2Vt2ow9ykrLBPWOxgnkYRCbbLl1fdhPmdc2iO6JL8ZMyQA6zRGlz_7I1Hi-4DrrdnR9HySNCVrxj3ZI3R0=@elenq.tech> <87a72eiqu9.fsf@gnu.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Ekaitz Zarraga Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches > I attach what I currently have. I didn't... From d462d7446e4ecbc4244e429538b926aae43004b8 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Tue, 7 Apr 2020 18:56:06 +0200 Subject: [PATCH] gnu: Add meshlab. * gnu/packages/engineering.scm (meshlab): New variable. --- gnu/packages/engineering.scm | 64 ++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 5405db762c..6e13be10e1 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2491,3 +2491,67 @@ without any changes. And programmers that are familiar with the magellan API can continue using it with a free library without the restrictions of the official SDK.") (license license:bsd-3))) + +(define-public meshlab + (let ((version "2020.05")) + (package + (name "meshlab") + (version version) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cnr-isti-vclab/meshlab") + (commit (string-append "Meshlab-" version)) + (recursive? #t))) + (sha256 + (base32 "00sim20ka9vjwljixdj4cqd285j21mpaq05ari7nqq2w8yyglp5m")))) + (build-system cmake-build-system) + (native-inputs + `(("qtbase" ,qtbase) + ("qtscript" ,qtscript) + ("qtxmlpatterns" ,qtxmlpatterns) + ("mesa", mesa) + ("glu", glu) + ; Externals, also bundled in meshlab's code + ("glew", glew) + ("muparser", muparser) + ("gmp", gmp) + ("eigen", eigen) + ;("qhull", qhull) ; Compilation fails with system qhull + ;Not packaged in Guix + ;structuresynth-1.5 + ;openkinect + ;newoua + ;lib3ds 1.3.0 + ;levmar 2.3 + ;jhead 3.04 + ;openctm 1.3.0 + )) + (arguments + `(#:tests? #f ; Has no tests + #:phases + (modify-phases + %standard-phases + (add-after + 'unpack 'go-to-source-dir + (lambda _ (chdir "src") #t)) + (add-after + 'install 'move-files + (lambda* (#:key outputs #:allow-other-keys) + (let ((lib (string-append (assoc-ref outputs "out") + "/lib"))) + (rename-file + (string-append lib "/meshlab/libmeshlab-common.so") + (string-append lib "/libmeshlab-common.so")) + #t)))))) + (synopsis "3D triangular mesh processing and editing software") + (home-page "http://www.meshlab.net/") + (description "MeshLab is a system for the processing and +editing of unstructured large 3D triangular meshes. It is aimed to help the +processing of the typical not-so-small unstructured models arising in 3D +scanning, providing a set of tools for editing, cleaning, healing, inspecting, +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+)))) -- 2.26.1