From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WLiZMuP34146GwAA0tVLHw (envelope-from ) for ; Fri, 12 Jun 2020 21:47:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WGJsLuP3417OZQAAB5/wlQ (envelope-from ) for ; Fri, 12 Jun 2020 21:47:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 223059404C5 for ; Fri, 12 Jun 2020 21:47:15 +0000 (UTC) Received: from localhost ([::1]:44030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjrW6-0008Iv-4K for larch@yhetil.org; Fri, 12 Jun 2020 17:47:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjrVu-0008Ic-R0 for guix-patches@gnu.org; Fri, 12 Jun 2020 17:47:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57340) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjrVu-0000Gz-7e for guix-patches@gnu.org; Fri, 12 Jun 2020 17:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjrVu-0000qd-5f for guix-patches@gnu.org; Fri, 12 Jun 2020 17:47:02 -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: Fri, 12 Jun 2020 21:47:02 +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.15919983953223 (code B ref 40492); Fri, 12 Jun 2020 21:47:02 +0000 Received: (at 40492) by debbugs.gnu.org; 12 Jun 2020 21:46:35 +0000 Received: from localhost ([127.0.0.1]:40653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjrVS-0000pv-R1 for submit@debbugs.gnu.org; Fri, 12 Jun 2020 17:46:35 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:56514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjrVQ-0000pe-A0 for 40492@debbugs.gnu.org; Fri, 12 Jun 2020 17:46:33 -0400 Date: Fri, 12 Jun 2020 21:46:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail; t=1591998385; bh=c97Ii1WwBcmLm76PLQOM6qD9z8sS28bV9txnvipvpaM=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=ex8ZdkYbyaXuPWN+Qp26tyov7zU5s0Q3h6QQoF5eG1NjT1iYyGf3Bsa2toB86vnRA GoM57n0QC4xba/pgn/l0Z0D/IELJL62aU4ljr65VgPy4WlfEU7PhVpbE46YM/YPTaN QhFQJPGQ2MRCBiAqXejVZnt1JnxLDNyBlM/RRaYU= From: Ekaitz Zarraga Message-ID: In-Reply-To: <87tuzg2hly.fsf@gnu.org> References: <_UXapokzwPRYl41j0bjkPGSDUNXahWNWsEn72py7ch7Rd6DBsxW9B8rw8wTbmzj1O2HfWXz7XLbEdWCYQsFCa5DgMlGn0CKVPr779J2PFuo=@elenq.tech> <87blmrvt3c.fsf@gnu.org> <875zbw5kka.fsf@gnu.org> <87tuzg2hly.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elenq.tech header.s=protonmail header.b=ex8ZdkYb; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: CtJ2/+O+Jwms =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Friday, June 12, 2020 9:45 PM, Ludovic Court=C3=A8s wrote= : > Hi, > > Ekaitz Zarraga ekaitz@elenq.tech skribis: > > > I did my best here and there's some extra CMake configuration step erro= r, I talked with meshlab's developers about this and I'm unable to make it = work with system qhull. > > I don't know why. > > I don't know enough about CMake (I don't know anything about CMake tbh)= to make it work myself. > > This is the issue upstream. > > https://github.com/cnr-isti-vclab/meshlab/issues/678 > > With the QHull provided by Meshlab it works well with all the libs we p= ackaged, does it make sense to leave just qhull for the moment? > > Yeah, let=E2=80=99s do that, with a FIXME comment referencing the above i= ssue. > > Thanks for the update! > > Ludo=E2=80=99. There it goes. >From 2779f50ad71b4458272aaa9223df96e3a77f60e4 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Fri, 12 Jun 2020 23:41:18 +0200 Subject: [PATCH] gnu: Add meshlab. * gnu/packages/engineering.scm (meshlab): New variable. --- gnu/packages/engineering.scm | 61 ++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 9d9c67b861..b243974dcc 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -105,6 +105,7 @@ #:use-module (gnu packages version-control) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xml) + #:use-module (gnu packages openkinect) #:use-module (gnu packages xorg)) (define-public librecad @@ -2619,3 +2620,63 @@ accessible through a simple API") model files. Its main goal is to simplify the creation of 3DS import and export filters.") (license license:lgpl2.1+))) + +(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 "00sim20ka9vjwljixdj4cqd285j21mpaq05ari7nqq2w8yyg= lp5m")))) + (build-system cmake-build-system) + (native-inputs + `(("qtbase" ,qtbase) + ("qtscript" ,qtscript) + ("qtxmlpatterns" ,qtxmlpatterns) + ("mesa" ,mesa) + ("glu" ,glu) + ("glew" ,glew) + ("muparser" ,muparser) + ("gmp" ,gmp) + ("eigen" ,eigen) + ("libfreenect" ,libfreenect) + ("lib3ds" ,lib3ds) + ("openctm" ,openctm) + ;; 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 + (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 "https://www.meshlab.net/") + (description "MeshLab is a system for the processing and +editing of unstructured large 3D triangular meshes. It is aimed to help t= he +processing of the typical not-so-small unstructured models arising in 3D +scanning, providing a set of tools for editing, cleaning, healing, inspect= ing, +rendering and converting this kind of meshes. These tools include MeshLab +proper, a versatile program with a graphical user interface, and meshlabse= rver, +a program that can perform mesh processing tasks in batch mode, without a +GUI.") + (license license:gpl3+)))) -- 2.26.2