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 OOM1J3fJil9BQgAA0tVLHw (envelope-from ) for ; Sat, 17 Oct 2020 10:37:43 +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 0PEBI3fJil/UMgAAB5/wlQ (envelope-from ) for ; Sat, 17 Oct 2020 10:37:43 +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 55D0D9402AF for ; Sat, 17 Oct 2020 10:37:43 +0000 (UTC) Received: from localhost ([::1]:35636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTjao-000525-BJ for larch@yhetil.org; Sat, 17 Oct 2020 06:37:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTjaC-0004QA-Jg for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTjaC-00066V-9v for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kTjaC-0007zk-8O for guix-patches@gnu.org; Sat, 17 Oct 2020 06:37:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44045] [PATCH 06/10] gnu: Add libSavitar. Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 17 Oct 2020 10:37:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44045@debbugs.gnu.org Cc: Malte Frank Gerdes Received: via spool by 44045-submit@debbugs.gnu.org id=B44045.160293098030614 (code B ref 44045); Sat, 17 Oct 2020 10:37:04 +0000 Received: (at 44045) by debbugs.gnu.org; 17 Oct 2020 10:36:20 +0000 Received: from localhost ([127.0.0.1]:33521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTjZT-0007xW-MH for submit@debbugs.gnu.org; Sat, 17 Oct 2020 06:36:20 -0400 Received: from mail-ej1-f44.google.com ([209.85.218.44]:38528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTjZO-0007w3-TM for 44045@debbugs.gnu.org; Sat, 17 Oct 2020 06:36:15 -0400 Received: by mail-ej1-f44.google.com with SMTP id ce10so7097220ejc.5 for <44045@debbugs.gnu.org>; Sat, 17 Oct 2020 03:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fDnIUFyylScDrelOmjH99OVsxZTLczb5iN7Dwd0iwgQ=; b=BlaJ+YgtZqdhp0DQD+un1MBA4GNJJJxfdZCf8tzw8+cJPx2EPS9B+BUjTvriTZ8SMd YANZb7a6Bb+fCC913ZR+gHqiMXvET20qS6gb2Edezv5RUZ5/0kgtCAQK+uA47sO5G5xj pmh9KSj5JwMBGupjdKzyXKd4LUJp49AhlJMZiFm1QAkfKC2tb/m5VhXbdvm8Py7KvgeE 7b4x84UuQfCz5aQSKaz4shqE1U4JljwbIf8B01zwxYCJnvaQZXaYVgdjyFNLACsokXxH JdIjPoTpxpSEQFp+GNniDwFjNp2cXucLMkuluu/+3lr+ujcdMHrEjGNs21wIhZbzzIcO 68gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fDnIUFyylScDrelOmjH99OVsxZTLczb5iN7Dwd0iwgQ=; b=OnTB74BD6TiFMMlbLWy8xT3Aa0FlVWTfkArPLTihDIMAkDn3FjSuzYt8dFUiMtPRGD +v+KAtAwfzWvJ58qDgBDROiDbLgw3YBHb0k6vYI0a6ez9YBvOn4rEeRjN8rzPT5ouNZY ZW8ZR6YFMp9A9ESoUMbBttyNloWtQ/tM1T59b/hRvQPjghyi8oq5CSqDeLGL2jlYUwS4 wImjlNdNtdDZsgPLm2m2b2WIfha2I5dYe2ANajEDIAJBVpIktDDFDjF/lnDRH0idYloH rVtw3ssYYnXf+1ziZOWah/XTdl2o9Es1PVfTO5/oCA21JXp1QI+X1+yvilHSh/hbkuEV Lgaw== X-Gm-Message-State: AOAM533f3dQdsLZg2YzOsy5oLaq1vxJuvKjUpkBAMH9oTyeu3SZIcDeU 0n7DGnY7S9nJeTcg7CKxMur9szcZ+0NZcw== X-Google-Smtp-Source: ABdhPJwvUT75lxQZK4ctfJRdsCSla5j8BMwtiJgFE2yxvypL5qCFw/Se9hJDwnxXUpYLeppkHH4bRw== X-Received: by 2002:a17:906:6004:: with SMTP id o4mr7923091ejj.309.1602930969058; Sat, 17 Oct 2020 03:36:09 -0700 (PDT) Received: from Morphium.intus (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id cz11sm4794679edb.62.2020.10.17.03.36.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 03:36:08 -0700 (PDT) From: Malte Frank Gerdes Date: Sat, 17 Oct 2020 12:35:43 +0200 Message-Id: <20201017103547.13769-6-malte.f.gerdes@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201017103547.13769-1-malte.f.gerdes@gmail.com> References: <20201017103547.13769-1-malte.f.gerdes@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=gmail.com header.s=20161025 header.b=BlaJ+Ygt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (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: 4.09 X-TUID: J0Vabo1LvjgT * gnu/packages/engineering.scm (libSavitar): New variable. --- gnu/packages/engineering.scm | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 27d4eae948..a65cbb81e8 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -3033,3 +3033,45 @@ from Ultimaker.") belongs to the Cura project from Ultimaker.") (license license:lgpl3))) +(define-public libSavitar + (let ((commit "85abbec0d947e6646b5172b6716c49c17e241632") + (revision "0")) + (package + (name "libSavitar") + (version (string-append "4.7.1-" revision "." + (string-take commit 7))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Ultimaker/libSavitar") + (commit commit))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 "1i895d5r7c32z61m88xjkqs9j72bwmxllshs4y2rwgzxpq3rk1k5")))) + (build-system cmake-build-system) + (inputs + `(("python" ,python) + ("sip" ,python-sip))) + (arguments + `(#:tests? #false ;; this library doesn't have tests + #:phases (modify-phases %standard-phases + (add-before 'configure 'fix-python-sitearch + (lambda* (#:key outputs #:allow-other-keys) + (let ((path (string-append (assoc-ref outputs "out") + "/lib/python" + ,(version-major+minor + (package-version python)) + "/site-packages"))) + (substitute* "cmake/FindSIP.cmake" + (("\\$\\{_process_output\\} Python3_SITEARCH") + (string-append path " Python3_SITEARCH")) + (("\\$\\{_process_output\\} Python3_SITELIB") + (string-append path " Python3_SITELIB")))) + #true))))) + (home-page "https://github.com/Ultimaker/libSavitar") + (synopsis "C++ implementation of 3mf loading with SIP python bindings") + (description "libSavitar is a C++ implementation of 3mf loading with SIP +python bindings. It belongs to the Cura project from Ultimaker.") + (license license:lgpl3)))) + -- 2.28.0