unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Bavier <ericbavier@openmailbox.org>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add Blender
Date: Mon, 21 Sep 2015 18:45:39 -0500	[thread overview]
Message-ID: <20150921184539.2cddac04@openmailbox.org> (raw)
In-Reply-To: <87a8sg6cpx.fsf@elephly.net>

Hello Ricardo,

Just some nitpicks:

> From d1d46f01d7aad783f7931be1ea4bbdffb21fd9b7 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Sat, 5 Sep 2015 12:34:09 +0200
> Subject: [PATCH 1/2] gnu: Add openimageio.
> 
> * gnu/packages/graphics.scm (openimageio): New variable.
> ---
>  gnu/packages/graphics.scm | 38 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
> 
> diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
> index 14badc9..d9d1f26 100644
> --- a/gnu/packages/graphics.scm
> +++ b/gnu/packages/graphics.scm
> @@ -130,6 +130,44 @@ use in computer imaging applications.  The IlmImf C++ libraries support
>  storage of the \"EXR\" file format for storing 16-bit floating-point images.")
>      (license license:bsd-3)))
>  
> +(define-public openimageio
> +  (package
[...]
> +    (description
> +      "OpenImageIO is a library for reading and writing images, and a bunch of
        ^
Align the opening quote to the 'd'.


> From 6e9eba597d5588f845ccec6507ad1b7e987ba659 Mon Sep 17 00:00:00 2001
> From: Ricardo Wurmus <rekado@elephly.net>
> Date: Thu, 3 Sep 2015 14:17:34 +0200
> Subject: [PATCH 2/2] gnu: Add Blender.
> 
> * gnu/packages/graphics.scm (blender): New variable.
> ---
>  gnu/packages/graphics.scm | 67 +++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 67 insertions(+)
[...]
> +(define-public blender
> +  (package
> +    (name "blender")
> +    (version "2.75a")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append "http://download.blender.org/source/"
> +                                  "blender-" version ".tar.gz"))
> +              (sha256
> +               (base32
> +                "09lxb2li70p6fg7hbakin9ffy3b3101c1gdjqi3pykks5q3h9sq4"))))
> +    (build-system cmake-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'disable-broken-tests
> +          (lambda _
> +            (substitute* "tests/python/CMakeLists.txt"
> +              (("# PLY Import tests") "if(FALSE)")
> +              (("# PLY Export")       "endif()"))
> +            #t))
> +         (add-after 'unpack 'fix-broken-import
> +          (lambda _
> +            (substitute* "release/scripts/addons/io_scene_fbx/json2fbx.py"
> +              (("import encode_bin") "from . import encode_bin"))
> +            #t))
> +         (add-after 'set-paths 'add-ilmbase-include-path
> +          (lambda* (#:key inputs #:allow-other-keys)
> +            ;; OpenEXR propagates ilmbase, but its include files do not appear
> +            ;; in the CPATH, so we need to add "$ilmbase/include/OpenEXR/" to
> +            ;; the CPATH to satisfy the dependency on "half.h".
> +            (setenv "CPATH"
> +                    (string-append (assoc-ref inputs "ilmbase")
> +                                   "/include/OpenEXR"
> +                                   ":" (getenv "CPATH")))

Is the "half.h" header in OpenEXR, or in blender?  If the latter, would
it make more sense to instead patch the include directive to include
the OpenEXR path?

Otherwise LGTM.

`~Eric

  reply	other threads:[~2015-09-22  4:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-20 20:46 [PATCH] Add Blender Ricardo Wurmus
2015-09-21 23:45 ` Eric Bavier [this message]
2015-09-23  6:45   ` Ricardo Wurmus
2015-09-23 10:17     ` Andreas Enge
2015-09-26 12:00     ` Ricardo Wurmus
2016-02-28 13:57       ` Ricardo Wurmus
2016-02-29 15:39         ` d.4.n.1
2016-04-25 19:21           ` Danny Milosavljevic
2016-04-25 21:43             ` Ludovic Courtès
2016-04-26  8:59               ` Danny Milosavljevic
2016-04-27 12:18                 ` Ludovic Courtès
2015-09-26 12:47     ` Ludovic Courtès

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=20150921184539.2cddac04@openmailbox.org \
    --to=ericbavier@openmailbox.org \
    --cc=guix-devel@gnu.org \
    --cc=rekado@elephly.net \
    /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).