From patchwork Mon Mar 29 18:17:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ekaitz Zarraga X-Patchwork-Id: 28175 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 EB17627BC64; Mon, 29 Mar 2021 19:18:36 +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_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, 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 ESMTPS id 7F8C427BC63 for ; Mon, 29 Mar 2021 19:18:36 +0100 (BST) Received: from localhost ([::1]:59972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQwTD-0001pn-5F for patchwork@mira.cbaines.net; Mon, 29 Mar 2021 14:18:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49934) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQwSg-0001pd-51 for guix-patches@gnu.org; Mon, 29 Mar 2021 14:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37997) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQwSf-0001WG-To for guix-patches@gnu.org; Mon, 29 Mar 2021 14:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQwSf-0008IN-P2 for guix-patches@gnu.org; Mon, 29 Mar 2021 14:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47467] [PATCH]: Fix Blender missing Voxel Remesher (Follows) References: In-Reply-To: Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Mar 2021 18:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47467 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "47467@debbugs.gnu.org" <47467@debbugs.gnu.org> Received: via spool by 47467-submit@debbugs.gnu.org id=B47467.161704184231841 (code B ref 47467); Mon, 29 Mar 2021 18:18:01 +0000 Received: (at 47467) by debbugs.gnu.org; 29 Mar 2021 18:17:22 +0000 Received: from localhost ([127.0.0.1]:49543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQwS2-0008HV-8i for submit@debbugs.gnu.org; Mon, 29 Mar 2021 14:17:22 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:49778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQwRx-0008HE-Se for 47467@debbugs.gnu.org; Mon, 29 Mar 2021 14:17:21 -0400 Date: Mon, 29 Mar 2021 18:17:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail3; t=1617041830; bh=nVTZC9Wr8NwWyxsRj42ThK/prpIdohCJ9r3dOTrtKYA=; h=Date:To:From:Reply-To:Subject:From; b=lV2SnFG26hoQ5PcuItlzeeFFi+aWJ3lcgspHk7rBQti72l7BFpxNPjOtFwKreMqdz f4URq0WaWUrIi+iBC/I9TnjdPhbwfzpYh0L228UZV8gYEznOH7YduCC9RNARfWHFrJ lpJzQHw03Q5BoJBvIT11yyAVIBIaGKtyi0no9qngX8OFjf6nCS7el5rei/QC+uda4+ xfMFMyyo+mBjD7AmfseB/U74uEi+LRg6n/0XKgyJgq2rYFnzcXphmhv0Ibv+UySwP0 gRlT7MhNCBrPmzTJeWUU0G/SBF7ohWW/BLwe+1lETOjmwtAtZMJgolw1EuDHEDBCp8 1EHtR/Z0iGI8g== From: Ekaitz Zarraga Message-ID: 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 Looks like Nix package I used as a reference has unneeded inputs. This is the updated OpenVDB package. :) From e868ccaee0db0b1cc267cf66cf8279f92263f1fe Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Mon, 29 Mar 2021 16:04:23 +0200 Subject: [PATCH 1/2] gnu: Add openvdb. * gnu/packages/graphics.scm (openvdb): New variable. --- gnu/packages/graphics.scm | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 4a301d387a..344d44fcbf 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -463,6 +463,48 @@ Embree is meant to increase performance of photo-realistic rendering applications.") (license license:asl2.0))) + +(define-public openvdb + (package + (name "openvdb") + (version "8.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/AcademySoftwareFoundation/openvdb/") + (commit (string-append "v" version)) + (recursive? #t))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0qzx6l5c183k6j9zki31gg9aixf5s1j46wdi7wr1h3bz7k53syg9")))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'configure 'fix-runpath + (lambda* (#:key outputs #:allow-other-keys) + (setenv + "LDFLAGS" + (string-append "-Wl,-rpath=" (assoc-ref outputs "out") "/lib/")) + #t))))) + (build-system cmake-build-system) + (native-inputs + `(("pkg-config",pkg-config))) + (inputs + `(("boost" ,boost) + ("zlib" ,zlib) + ("c-blosc" ,c-blosc) + ("ilmbase" ,ilmbase) + ("tbb" ,tbb))) + (home-page "https://www.openvdb.org/") + (synopsis "Sparse volume data structure and tools") + (description "OpenVDB is an open source C++ library comprising a novel +hierarchical data structure and a large suite of tools for the efficient +storage and manipulation of sparse volumetric data discretized on +three-dimensional grids. It was developed by DreamWorks Animation for use in +volumetric applications typically encountered in feature film production.") + (license license:mpl2.0))) + + (define-public blender (package (name "blender") -- 2.31.0