unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ekaitz Zarraga <ekaitz@elenq.tech>
To: "47467@debbugs.gnu.org" <47467@debbugs.gnu.org>
Subject: [bug#47467] [PATCH]: Fix Blender missing Voxel Remesher (Follows)
Date: Mon, 29 Mar 2021 18:17:05 +0000	[thread overview]
Message-ID: <uG-eQstvIag6z9SU0DuyUFdM0mHaikmIx073yXhDpdAsJt6Al9-6GXqD4x0qg96QrATE-5YZWEqV9uP-NYWK5cdKGzHavOtYNZKfevMx15c=@elenq.tech> (raw)
In-Reply-To: <BNJM6sgD3qkQEnMpN5ovpwdbPTX2yKVDoJDsFe1MjZRD3tzcxc_1IY5ynTIwFBiFmOpa_9_dRv0h56lq4AXiB94eKAK4nwu9HC801em-EsM=@elenq.tech>

[-- Attachment #1: Type: text/plain, Size: 113 bytes --]

Looks like Nix package I used as a reference has unneeded inputs.

This is the updated OpenVDB package.

:)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-openvdb.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-openvdb.patch, Size: 2418 bytes --]

From e868ccaee0db0b1cc267cf66cf8279f92263f1fe Mon Sep 17 00:00:00 2001
From: Ekaitz Zarraga <ekaitz@elenq.tech>
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


  reply	other threads:[~2021-03-29 18:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-29 14:17 [bug#47467] [PATCH]: Fix Blender missing Voxel Remesher Ekaitz Zarraga
2021-03-29 18:17 ` Ekaitz Zarraga [this message]
2021-04-12 14:14 ` Ricardo Wurmus
2021-04-21 15:36 ` Ekaitz Zarraga
2021-04-21 16:03   ` Ekaitz Zarraga
2021-04-21 16:19     ` bug#47467: " Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='uG-eQstvIag6z9SU0DuyUFdM0mHaikmIx073yXhDpdAsJt6Al9-6GXqD4x0qg96QrATE-5YZWEqV9uP-NYWK5cdKGzHavOtYNZKfevMx15c=@elenq.tech' \
    --to=ekaitz@elenq.tech \
    --cc=47467@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).