From patchwork Tue Apr 7 17:08:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ekaitz Zarraga X-Patchwork-Id: 21152 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 5F1B127BBE4; Tue, 7 Apr 2020 18:09:34 +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,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 1954C27BBE1 for ; Tue, 7 Apr 2020 18:09:34 +0100 (BST) Received: from localhost ([::1]:51038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLrjB-0005Mw-LB for patchwork@mira.cbaines.net; Tue, 07 Apr 2020 13:09:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57603) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLrj6-0005Ml-16 for guix-patches@gnu.org; Tue, 07 Apr 2020 13:09:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLrj4-0007Vg-Pd for guix-patches@gnu.org; Tue, 07 Apr 2020 13:09:27 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jLrj4-0007V2-MH for guix-patches@gnu.org; Tue, 07 Apr 2020 13:09:26 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jLrj3-0004Pp-Cv for guix-patches@gnu.org; Tue, 07 Apr 2020 13:09:25 -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: Tue, 07 Apr 2020 17:09:19 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40492@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.158627932216328 (code B ref -1); Tue, 07 Apr 2020 17:09:19 +0000 Received: (at submit) by debbugs.gnu.org; 7 Apr 2020 17:08:42 +0000 Received: from localhost ([127.0.0.1]:50792 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLri9-0004D1-MX for submit@debbugs.gnu.org; Tue, 07 Apr 2020 13:08:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:53634) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLrhu-00049A-N2 for submit@debbugs.gnu.org; Tue, 07 Apr 2020 13:08:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57479) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLrht-00053Q-3l for guix-patches@gnu.org; Tue, 07 Apr 2020 13:08:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLrhr-0006iU-Cm for guix-patches@gnu.org; Tue, 07 Apr 2020 13:08:12 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:19085) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jLrhq-0006h2-Ss for guix-patches@gnu.org; Tue, 07 Apr 2020 13:08:11 -0400 Date: Tue, 07 Apr 2020 17:08:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1586279288; bh=785Ie/irScJjTIu+r0zzR30lOuKyszDpVxSABU1NAoo=; h=Date:To:From:Reply-To:Subject:From; b=ZKMvnwqLvQhLQO+7H3L9z9F7bVl1t8ZXfgF85NzeSJJ/CJ8eBSGR6wEBcyfa+Rz7t 7x+LAv0Sx3QSxcaZjDvl6+aA7BOcy1jO4kOJU+o0jbFlPPu93f1Te7sHbqAEx+pll/ 7V5JSfrC1n0xGJn4t+LljoU5kXj1HzYAQkb/mn5g= From: Ekaitz Zarraga Message-ID: <_UXapokzwPRYl41j0bjkPGSDUNXahWNWsEn72py7ch7Rd6DBsxW9B8rw8wTbmzj1O2HfWXz7XLbEdWCYQsFCa5DgMlGn0CKVPr779J2PFuo=@elenq.tech> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 Hi everyone, I wrote a package to add meshlab but I'm not sure if I did it right: - It doesn't have tests so I removed the testing. - It fails to check RUNPATH, but I don't really know why so I disabled it at the moment. It fails while searching for meshlab core libraries but the search path is correct (it misses a /meshlab at the end). Can you please check it and suggest a solution? It works as it is but the runpath checks should pass... Thanks! Ekaitz --- From d9020d7e64020dc7eea1bd46af184856d568ca7d 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 | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) -- 2.25.1 diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 5405db762c..85efc01c4c 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -2491,3 +2491,42 @@ 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 ((commit-ref "Meshlab-2020.04")) + (package + (name "meshlab") + (version commit-ref) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cnr-isti-vclab/meshlab") + (commit commit-ref) + (recursive? #t))) + (sha256 + (base32 "1vx9jcsnnxvzi90pcxpp7p72cqg3cm6jiivdmrxkzhr2fiz3pfvr")))) + (build-system cmake-build-system) + (native-inputs + `(("qtbase" ,qtbase) + ("qtscript" ,qtscript) + ("qtxmlpatterns" ,qtxmlpatterns) + ("mesa", mesa) + ("glu", glu))) + (arguments + `(#:tests? #f + #:validate-runpath? #f + #:phases (modify-phases %standard-phases + (add-after 'unpack 'go-to-source-dir + (lambda _ (chdir "src") #t))))) + (synopsis + "The open source system for processing and editing 3D triangular meshes.") + (home-page "http://www.meshlab.net/") + (description "MeshLab is an open source, portable, and extensible 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+))))