From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iEBaD+6PBWZ5gAAAqHPOHw:P1 (envelope-from ) for ; Thu, 28 Mar 2024 16:42:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iEBaD+6PBWZ5gAAAqHPOHw (envelope-from ) for ; Thu, 28 Mar 2024 16:42:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=UmKkUKkI; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711640558; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=R6yMvWoZU6dxGxwsHfAdMs3oU8JhM5DYU2fuCmSPXYA=; b=rakr9/dqYmY+MP62tBYvineA5rFM7/E6QOjEhqULSI5tCrPE/6WT24RtvdbBDUyhfnUW27 PKTLTkJoBFAh5mDSMoaDBGMj9yR/pWlsMLddKkv2ssQl3LvsYyGfaE9XwUMM2UHPZ/fjm+ rfwAJH9MYT2+9V6DyVVAdB3LjulvlL9QHsZfCo9i0Loyddg5CkEGhEkccD5TuvWvbd/gBp WpslttUrnCqgZE4FqmD0JvcIQZb/86jU3oBotc/3XJeszODmzQZ2EkO7x/rd16pPHr3gp6 xDgNtGFl3078oK/hqQo6rYqMvg8vby/kX7AN4Xi1NRChOcKc+kYZnzfYGBGVdw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=UmKkUKkI; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711640558; a=rsa-sha256; cv=none; b=q7QSK7xsqcMICfvpfCKUczzsaJQdRKWsNcgOx+grIJ9ux1W9rbg3By6OdAckYwskHiZKqZ VnJJCUkqhS7NvywaoB4TF2Rn3Y9tjugRSas16/1FZfG4veBl2Z9jdqf5XP1g2n+aFk4CzI 2HKXBSUKZZ2nqUR2A+0M44xJiUqyW3zwN5J+DDmvZnAsqF5eiXdpfLBRuQzHuh7Do5otd3 NBFd6SPQWqdvCYWonhBCL+LVE/iK9Lw0UnylaxitBRijBASJdwmIGf8i29Ld3Ogqs9sCCN maWiQ+TaP44ZMTGo+Keoy2ujdb3xI9l6QzMxHEPxkpsbAouxbTAQ1UhtXed2YQ== 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 02BD044893 for ; Thu, 28 Mar 2024 16:42:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rprtS-0004O8-QG; Thu, 28 Mar 2024 11:42:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rprtD-0003Pp-Tj for guix-patches@gnu.org; Thu, 28 Mar 2024 11:42:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rprtD-0007Yt-Jk for guix-patches@gnu.org; Thu, 28 Mar 2024 11:42:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rprtE-0003VL-Ag for guix-patches@gnu.org; Thu, 28 Mar 2024 11:42:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70035] [PATCH v2 2/8] gnu: openshadinglanguage: Update to 1.13.7.0. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 28 Mar 2024 15:42:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70035 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70035@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 70035-submit@debbugs.gnu.org id=B70035.171164048913209 (code B ref 70035); Thu, 28 Mar 2024 15:42:04 +0000 Received: (at 70035) by debbugs.gnu.org; 28 Mar 2024 15:41:29 +0000 Received: from localhost ([127.0.0.1]:40931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rprse-0003Qo-9c for submit@debbugs.gnu.org; Thu, 28 Mar 2024 11:41:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rprsZ-0003Po-WB for 70035@debbugs.gnu.org; Thu, 28 Mar 2024 11:41:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 94E19240027 for <70035@debbugs.gnu.org>; Thu, 28 Mar 2024 16:41:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711640477; bh=bQcM305WoaOW5408fes/o+0ORwHlCULKt5+zTqOoY+M=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=UmKkUKkInqkF7++Fjbx8gLrXrhUdN+jTgg96fICePrYCMBJlqaJESOe2vV6NHQbCV 94cMIZxQkNuGlhmxQiKUADK1Kfwedohr8TVz98ESc0FqYfkmV6emweSUAaHFAFS5X3 QLiGfSL+hQuy+QHuWvma26Lu0kwiW5cXjEqVbONrz+T3IadYT84lPlHL9colL9g/bm JpZFnQEQccYDlW1kR3GP9Oc1asdWgzk8/MYIbuRcpBBlr1a5um53TqPfeNhJHyaeIZ 87UikEO2z2KMuLXYIDR4EcMVhtqhX79QoVIASlPel9zWJWocexRPRTAF0EQLtV3CV6 s/YUB3y6DjZUg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V57704ZGYz6tsb; Thu, 28 Mar 2024 16:41:16 +0100 (CET) From: Vinicius Monego Date: Thu, 28 Mar 2024 15:40:42 +0000 Message-Id: <7185760428868307165e9786cfb12414e31b6396.1711639886.git.monego@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 3.95 X-Migadu-Queue-Id: 02BD044893 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: 3.95 X-TUID: LF5dIfk1c3+M * gnu/packages/graphics.scm (openshadinglanguage): Update to 1.13.7.0. [source]: Add patch. [arguments]: Use G-Expressions. In #:configure-flags, pass the "-DLLVM_BC_GENERATOR" option. Delete the add-ilmbase-include-path phase. Add new tests to skip. [native-inputs]: Use Clang 13 and LLVM 13. [inputs]: Use OpenEXR 3 and Qt 6. Change-Id: Ib3e7ed39c3eb170e3d24ccc74243ebff490e07ab --- gnu/packages/graphics.scm | 64 ++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 35 deletions(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index e10e157f61..20b783f01d 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -707,7 +707,7 @@ (define-public mikktspace (define-public openshadinglanguage (package (name "openshadinglanguage") - (version "1.11.16.0") + (version "1.13.7.0") (source (origin (method git-fetch) @@ -716,52 +716,46 @@ (define-public openshadinglanguage (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0x0lc163vl2b57l75bf5zxlr6vm2y1f1izlxdnrw3vsapv3r9k9g")))) + (base32 "0nb7kc7kh6k71wda3nzcwpiycx8lknl08y0c7ns6p7f4fab7kh1k")))) (build-system cmake-build-system) (arguments - `(#:configure-flags (list "-DUSE_PARTIO=OFF") ; TODO: not packaged - #:phases - (modify-phases %standard-phases - (add-after 'set-paths 'add-ilmbase-include-path - (lambda* (#:key inputs #:allow-other-keys) - ;; OpenEXR 2 propagates ilmbase, but its include files do not - ;; appear in the C_INCLUDE_PATH. - (let ((headers (string-append - (assoc-ref inputs "ilmbase") - "/include/OpenEXR"))) - (setenv "C_INCLUDE_PATH" - (string-append headers ":" - (or (getenv "C_INCLUDE_PATH") ""))) - (setenv "CPLUS_INCLUDE_PATH" - (string-append headers ":" - (or (getenv "CPLUS_INCLUDE_PATH") "")))))) - (replace 'check - (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 - "|")))))))) + (list #:configure-flags + #~(list "-DUSE_PARTIO=OFF" ; TODO: not packaged + (string-append "-DLLVM_BC_GENERATOR=" + #$(this-package-native-input "clang") + "/bin/clang++")) + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke + "ctest" "--exclude-regex" + (string-join + (list + "osl-imageio" ; file does not exist + "osl-imageio.opt" ; file does not exist + "osl-imageio.opt.rs_bitcode" ; file does not exist + "texture-udim" ; file does not exist + "texture-udim.opt" ; file does not exist + "texture-udim.opt.rs_bitcode" ; file does not exist + "example-deformer" ; could not find OSLConfig + "python-oslquery") ; no module oslquery + "|")))))))) (native-inputs (list bison - clang-9 + clang flex - llvm-9 + llvm pybind11 python-wrapper)) (inputs (list boost imath - openexr-2 + openexr openimageio pugixml - qtbase-5 + qtbase zlib)) (home-page "https://github.com/AcademySoftwareFoundation/OpenShadingLanguage") (synopsis "Shading language for production GI renderers") -- 2.39.2