From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sAxBK1dB42HKDQAAgWs5BA (envelope-from ) for ; Sat, 15 Jan 2022 22:49:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id kP1WJVdB42HF4wAA9RJhRA (envelope-from ) for ; Sat, 15 Jan 2022 22:49:11 +0100 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 5209B453A8 for ; Sat, 15 Jan 2022 22:49:11 +0100 (CET) Received: from localhost ([::1]:44300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8qv8-0006Uo-IL for larch@yhetil.org; Sat, 15 Jan 2022 16:49:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8qv0-0006Si-Th for guix-patches@gnu.org; Sat, 15 Jan 2022 16:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8qv0-00068U-KI for guix-patches@gnu.org; Sat, 15 Jan 2022 16:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8qv0-0005Ug-Jk for guix-patches@gnu.org; Sat, 15 Jan 2022 16:49:02 -0500 Subject: bug#52848: [PATCH] gnu: Add openshadinglanguage. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sat, 15 Jan 2022 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52848 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Vinicius Monego Cc: 52848-done@debbugs.gnu.org Mail-Followup-To: 52848@debbugs.gnu.org, ludo@gnu.org, monego@posteo.net Received: via spool by 52848-done@debbugs.gnu.org id=D52848.164228330221028 (code D ref 52848); Sat, 15 Jan 2022 21:49:02 +0000 Received: (at 52848-done) by debbugs.gnu.org; 15 Jan 2022 21:48:22 +0000 Received: from localhost ([127.0.0.1]:42118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8quL-0005T6-Tq for submit@debbugs.gnu.org; Sat, 15 Jan 2022 16:48:22 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:37104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8quK-0005Sr-8K for 52848-done@debbugs.gnu.org; Sat, 15 Jan 2022 16:48:20 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 649132D7; Sat, 15 Jan 2022 22:48:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dEbGsHAySt7L; Sat, 15 Jan 2022 22:48:13 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 162231D2; Sat, 15 Jan 2022 22:48:12 +0100 (CET) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211228132603.59064-1-monego@posteo.net> Date: Sat, 15 Jan 2022 22:48:12 +0100 In-Reply-To: <20211228132603.59064-1-monego@posteo.net> (Vinicius Monego's message of "Tue, 28 Dec 2021 13:26:03 +0000") Message-ID: <871r183c2r.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: 649132D7 X-Spamd-Result: default: False [0.46 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-patch]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:+]; R_MIXED_CHARSET(0.56)[subject]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642283351; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to: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; bh=DXZnxZDcfNiToKfw96juja3+I5mFCb476ZEhrXkVlrE=; b=uNclWOqDZEwcM1fPxe7PLneNlJdLyvEPLyOBi4DR8qmVc0BvP7uckPTAEyUJicG+57RqpP Mcri14oN85dRENwTre8ufCVQhpo5Tf90u92V9IH0ZXzcsD89kkgO41G1tUgVZwP49z8GNV awEtdoJmq2r6mFT4CsYLqjtug8LYqnGHWJZL2bsWvYy4YgVZ3nxCUX7nYws/6acIY7zRod ERcKU9nS/pAujaLyJhsFCckkMcKIMWuZT1Pivebzy6LxQzc+tqnIqXrrhf7zrI2QZuwb/r 7nEhJN1wD4FL9IrYlfLSqD3yOA0fV/b14t0v3oorESCXb5De1Bf2dBsis+AEWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642283351; a=rsa-sha256; cv=none; b=qmf+d8oLJ7Lco7TWM68FHISki5xo6w1Zp6xMJjRnYyKNZqRH0Wh/MQYYxXXGZXrPOOnszR JBMQKxR1bLCM+AYg6hvIV9XMsa02J14x9ph5UQjyde7dgpKzaV1DMo5JAfVeJ8ZCK7EPn8 Z3cCe+0ARJm1i7/jV+dpAgK7dTubXRp2OMys+1PvngEHqth9Fw9CkZ+7CEZ+U4yzfw45K/ zgugYjcPJHyEgQhz3ob/CLav2tHZPlDr5mjsNwklUlV5h14r9Pg09f+uYXTlAkV5a6NAMx GItKsXq4I7AFvcT+PkQKakzerS9XxEVcCbBezhIWdv3bC1JnvINvUUkWUY1Fcw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 5209B453A8 X-Spam-Score: -2.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: AztAerRZH7s9 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Vinicius, Vinicius Monego skribis: > * gnu/packages/graphics.scm (openshadinglanguage): New variable. Applied with the tweaks below. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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 --=-=-=--