From patchwork Sat Aug 24 00:12:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Steve Sprang X-Patchwork-Id: 15133 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 A892B17304; Sat, 24 Aug 2019 01:17:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 5BAD8172F4 for ; Sat, 24 Aug 2019 01:17:10 +0100 (BST) Received: from localhost ([::1]:35464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1Jjx-0001kY-UP for patchwork@mira.cbaines.net; Fri, 23 Aug 2019 20:17:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53527) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1Jg0-0007Zt-F6 for guix-patches@gnu.org; Fri, 23 Aug 2019 20:13:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1Jfz-0000cW-1K for guix-patches@gnu.org; Fri, 23 Aug 2019 20:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60815) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1Jfy-0000cN-Tq for guix-patches@gnu.org; Fri, 23 Aug 2019 20:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1Jfy-0008W3-Nj for guix-patches@gnu.org; Fri, 23 Aug 2019 20:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37169] [PATCH] gnu: Add lib3mf. Resent-From: Steve Sprang Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Aug 2019 00:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37169 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37169@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.156660557832720 (code B ref -1); Sat, 24 Aug 2019 00:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 Aug 2019 00:12:58 +0000 Received: from localhost ([127.0.0.1]:41403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1Jfp-0008Vb-At for submit@debbugs.gnu.org; Fri, 23 Aug 2019 20:12:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:49776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1Jfk-0008VO-3v for submit@debbugs.gnu.org; Fri, 23 Aug 2019 20:12:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53504) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1Jfi-0007LD-PY for guix-patches@gnu.org; Fri, 23 Aug 2019 20:12:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1Jfh-0000Nk-I5 for guix-patches@gnu.org; Fri, 23 Aug 2019 20:12:46 -0400 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:43764) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1Jfh-0000Lw-Au for guix-patches@gnu.org; Fri, 23 Aug 2019 20:12:45 -0400 Received: by mail-lf1-x134.google.com with SMTP id c19so8296624lfm.10 for ; Fri, 23 Aug 2019 17:12:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VJvnpnxJdnOI3HxlxmWPGHyoS2uT3VYIg8o/ZvrUlTQ=; b=GjfwWLQ1upC3M7q3vMH9QoC90jBveQGkN8TNs24YU0Gfn+Q/UJrhORa0rLnJfYMHXY PvHR2I0LA5K4q8jobXoLjWK57U3R2SytBvZTcN67c2iZdktF6vYLLMLxY8aCEyqpCKdm on8uQepiGtpw8hyf9IRS/ga1SbdbeCDNE3BSKgARFZTPWbz0uSzgkH2gp9BXE8Z8SwPe +UF7Ct+lW4dy1O5moNFtomMnU3CENz7OfJDvLlkwqC3QKVa/NATnoZOsnEJAYoMi3/Gr iFQbNUo1RsItZL8XY7kSEXKAmD2H8s2Q6QhYV8QbDZthOwDY+/UXYCmBM6vKT9nTVHkR gLuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VJvnpnxJdnOI3HxlxmWPGHyoS2uT3VYIg8o/ZvrUlTQ=; b=Siqy2QiNo06jTUn6GgdBsdo597bJoOlq1WIcTW6nx/Q9xif/v1nGmXuCCZoULh0MaM 5Y9O/G4nXQgMan2gUgFuWkbECADxd+Xl3uiCGFIaI92j6d7T176sTLQ3QAfPnw4YmRp9 kVegZ5mt9qPcnSHTzzXpDnFwKGIk45DtfST9JZSffaEw1abDs91tBieddULGPSm2T7PR 6gj++OJ3JOZj0JaPVuBFt8EQA71io1Q3yBsFVx7ZCJXb1yKXriNBhp645AOTgb1q2bUX csPX0CH3n6fs6mElYekeWNjlBQTwfDswS43gDNHyhu8a16Q3JM71Y+8YqFrXqQRZwGWf xn4Q== X-Gm-Message-State: APjAAAVMX7Ef/fYzO7oIzUqRK5t8QWodKM6Yr7PaKFbmk/SECuFurd8B 8Klq/BZwTym77np6f9H4muduoY6lGEIYt0Sti7yA8A== X-Google-Smtp-Source: APXvYqxhFP2CQaLYLD0ETb+cenC6Xrdf6r762RpJwcl9dls661bnfR715vsCbRJroQvtpTYeL3nDLXVIMddQAMNyLWo= X-Received: by 2002:ac2:4351:: with SMTP id o17mr4378981lfl.21.1566605563225; Fri, 23 Aug 2019 17:12:43 -0700 (PDT) MIME-Version: 1.0 From: Steve Sprang Date: Fri, 23 Aug 2019 17:12:32 -0700 Message-ID: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches From 09b40a31d69ca6f6894d9ed33ef519efc64b220b Mon Sep 17 00:00:00 2001 From: Steve Sprang Date: Fri, 23 Aug 2019 15:23:00 -0700 Subject: [PATCH] gnu: Add lib3mf. * gnu/packages/engineering.scm (lib3mf): New variable. --- gnu/packages/engineering.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index a1f222bed4..778dc6611a 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2018, 2019 Arun Isaac ;;; Copyright © 2019 Tim Stahel ;;; Copyright © 2019 Jovany Leandro G.C +;;; Copyright © 2019 Steve Sprang ;;; ;;; This file is part of GNU Guix. ;;; @@ -2109,3 +2110,37 @@ while keeping the user experience at mind. Cutter is created by reverse engineers for reverse engineers.") (license (list license:cc-by-sa3.0 ;the "Iconic" icon set license:gpl3+)))) ;everything else + +(define-public lib3mf + (package + (name "lib3mf") + (version "1.8.1") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/3MFConsortium/lib3mf/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "05wxmsjps0mf5p0gb2wv7zh3b7spvzdslasb3bxs91nar51d2z90")))) + (build-system cmake-build-system) + (native-inputs + `(("googletest-source" ,(package-source googletest)))) + (inputs + `(("libuuid" ,util-linux))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'unpack-googletest + (lambda* (#:key inputs #:allow-other-keys) + (copy-recursively (assoc-ref inputs "googletest-source") + "UnitTests/googletest") + #t))))) + (synopsis "Implementation of the 3D Manufacturing Format (3MF) file standard") + (description + "Lib3MF is a C++ implementation of the 3D Manufacturing Format (3MF) file +standard. It offers a way to integrate 3MF reading and writing capabilities, as +well as conversion and validation tools for input and output data. The +specification can be downloaded at http://3mf.io/specification/.") + (home-page "https://3mf.io/") + (license license:bsd-2))) -- 2.23.0