all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Vinicius Monego <monego@posteo.net>
Cc: 52848-done@debbugs.gnu.org
Subject: bug#52848: [PATCH] gnu: Add openshadinglanguage.
Date: Sat, 15 Jan 2022 22:48:12 +0100	[thread overview]
Message-ID: <871r183c2r.fsf@gnu.org> (raw)
In-Reply-To: <20211228132603.59064-1-monego@posteo.net> (Vinicius Monego's message of "Tue, 28 Dec 2021 13:26:03 +0000")

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

Hi Vinicius,

Vinicius Monego <monego@posteo.net> skribis:

> * gnu/packages/graphics.scm (openshadinglanguage): New variable.

Applied with the tweaks below.

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 2292 bytes --]

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index bc59652d33..b69ab52aec 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -604,21 +604,33 @@ (define-public openshadinglanguage
                        (string-append headers ":"
                                       (or (getenv "CPLUS_INCLUDE_PATH") ""))))))
          (replace 'check
-           (lambda _
-             (invoke "ctest" "--exclude-regex"
-                     (string-join
-                      (list
-                       "osl-imageio"      ; OIIO not compiled with freetype
-                       "osl-imageio.opt"  ; OIIO not compiled with freetype
-                       "texture-udim"     ; file does not exist
-                       "texture-udim.opt" ; file does not exist
-                       "example-deformer" ; could not find OSLConfig
-                       "python-oslquery") ; no module oslquery
-                      "|")))))))
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "ctest" "--exclude-regex"
+                       (string-join
+                        (list
+                         "osl-imageio"       ; OIIO not compiled with freetype
+                         "osl-imageio.opt"   ; OIIO not compiled with freetype
+                         "texture-udim"      ; file does not exist
+                         "texture-udim.opt"  ; file does not exist
+                         "example-deformer"  ; could not find OSLConfig
+                         "python-oslquery")  ; no module oslquery
+                        "|"))))))))
     (native-inputs
-     (list bison clang flex llvm pybind11 python-wrapper))
+     (list bison
+           clang
+           flex
+           llvm
+           pybind11
+           python-wrapper))
     (inputs
-     (list boost imath openexr-2 openimageio pugixml qtbase-5 zlib))
+     (list boost
+           imath
+           openexr-2
+           openimageio
+           pugixml
+           qtbase-5
+           zlib))
     (home-page "https://github.com/AcademySoftwareFoundation/OpenShadingLanguage")
     (synopsis "Shading language for production GI renderers")
     (description "Open Shading Language (OSL) is a language for programmable

      reply	other threads:[~2022-01-15 21:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-28 13:26 [bug#52848] [PATCH] gnu: Add openshadinglanguage Vinicius Monego
2022-01-15 21:48 ` Ludovic Courtès [this message]

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

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

  git send-email \
    --in-reply-to=871r183c2r.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=52848-done@debbugs.gnu.org \
    --cc=monego@posteo.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.