From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wKcuGVdMaGe1YwAAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Dec 2024 17:28:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id wKcuGVdMaGe1YwAAe85BDQ (envelope-from ) for ; Sun, 22 Dec 2024 18:28:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XcwwGpjF; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WHxOxUnT; 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), DKIM 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=1734888535; 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=54SqrbP/tGzVzpN2P3RiW0F4GiA5bFvpJ+Uzf9LLLjM=; b=sLjwhWzQr1HNjHjRN2uvHQuDktbOUpeYBfQETKb95frnUG1eoB0Oq0m7vFjowFrIexvbw8 3OP2FYbq3gb0XfD3XhTfaYpHAj3tYBNeSJtqZC2eYTI8qW37I0CcW83vlLNr13b9fwtdF5 MsZnuj9WVWTRpOgCA4fbXweHV1Pjl5PCjohhVES1vsCNhzM/TfjgiUOR8VlKuLWCR5tV4I 0WVZ3A+Ishsus6PH/5wtApuX6d+vAcnxIgohUm1Aeh4KZq9WwAo2FFnPT1vDDSoYG4PUJa RWxYz7BRT76HF+g4dtGPQwuXuLbA+tmp7TIV8WuIaHrTaaNKSjfnDByVQXV+pw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=XcwwGpjF; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=WHxOxUnT; 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), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734888535; a=rsa-sha256; cv=none; b=sWJ+Nps9GlMf+vCJ11Qj6X9YqYoEc6yA5JJjtY+P7gQtGjlbVcjYsDiNhnimMU0sHQBnfS CRSs5jjLM1T5LWoiHZqZQu2GGB2uWV4esiWMFU0tv5zp3/nKu6rmMl5GfWelXzn3yZLlb6 kGSPm5OEdDv1r0Ll0V8a19xGntBJO54Xjt9V4k5q4aJJlxsC8RhWUDLE7zsc0oFvuuRREl 6uKyEQ8sSX6K+gRv/Y54zwxy2vAcXO8aO5SlGd3RGj+X89R6VXs/dpvG9kzYuBxpMrRDdH ne8SHUOwXW+LQoBA5EEStzNooB16/ODeGOyR/iaYCwJMDFa/uce6zbhVAcGO4w== 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 0689F31791 for ; Sun, 22 Dec 2024 18:28:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPPkg-0006rU-8S; Sun, 22 Dec 2024 12:28:26 -0500 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 1tPPkN-0006lY-Ux for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:08 -0500 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 1tPPkN-0001xc-Ml for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=54SqrbP/tGzVzpN2P3RiW0F4GiA5bFvpJ+Uzf9LLLjM=; b=XcwwGpjFWmGyD/RrtGuyTYzg6kS6NSSe72GRBLw92sx8n6ABjK0EDFlYVtOLECU3bHc7UvxLgUH62HLG5EM3aDVYie+Z6i3nZdgzQAwMsti8wSIWCAx6ZW18vf3d4qC8p55a9uveOczM5X/maJ24FEb8w/Qk1WE0BdQj8ym3O7t1B98pG8uJJDEx7u+vtXeDzZzy/S0E1d8GyYclSDv75nEhNuTLctjA072i4/ehUFRzrEG2QoxjdoslGsDT7HN78O+CUXJU/5j/OZ7vFrgwea0oUyLnTRxFNZxc+5TLtaLuL0FAE6s89m/930HiXSpbhUCP9fjLvDkRqz3pUpqQww==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPPkN-0007sR-DV for guix-patches@gnu.org; Sun, 22 Dec 2024 12:28:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75032] [PATCH 10/13] gnu: Add tachyon. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 22 Dec 2024 17:28:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75032 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75032@debbugs.gnu.org Cc: vicvbcun Received: via spool by 75032-submit@debbugs.gnu.org id=B75032.173488847230151 (code B ref 75032); Sun, 22 Dec 2024 17:28:07 +0000 Received: (at 75032) by debbugs.gnu.org; 22 Dec 2024 17:27:52 +0000 Received: from localhost ([127.0.0.1]:51747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPk7-0007qD-Du for submit@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:51 -0500 Received: from mout02.posteo.de ([185.67.36.66]:45201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPPk3-0007pY-H3 for 75032@debbugs.gnu.org; Sun, 22 Dec 2024 12:27:48 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A2116240101 for <75032@debbugs.gnu.org>; Sun, 22 Dec 2024 18:27:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734888461; bh=kqt8TECpmQS+zRYxhEWZ74PX64D5gZZLYTcs4J3lkdQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version: Content-Transfer-Encoding:From; b=WHxOxUnTkXiRIIGtZP5ju+QyDwz1TDsTMAimtBKEPyuA0ZozOdjVYvy8iEAlVATiD YvW603dU7t5KFBTXrvVTiN/z5JPyi6e4PEqGo8m9lWuIfG/KDCX0z/8yqwOAfru408 n+GaKmZ0vMdelITxX0dQUZQUs9D6iPyO5NnYbWaz6COv0+fsS+Ba91jh4xNNPsnUlo 2Xnv9JGs30BdNPD331+aDsV9m+5dZbewPbhYboBx4PrV5Y/YKzTw1iGhrDG5BikM3/ /DLtwcTg75MnNIVy2sg1mwb2kvvUDnYXD6fERsaZHcuHlIdFGwYObJZoA68mGKFbzv UPIt5Hpka6lXA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4YGSlc60vzz9rxB; Sun, 22 Dec 2024 18:27:40 +0100 (CET) From: Vinicius Monego Date: Sun, 22 Dec 2024 17:26:54 +0000 Message-Id: <00ea4f795d06bb82c31feec0d4ee8d31a606a287.1734887844.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -0.38 X-Spam-Score: -0.38 X-Migadu-Queue-Id: 0689F31791 X-TUID: EZz+WtR1jp+7 From: vicvbcun * gnu/packages/graphics.scm (tachyon): New variable. Change-Id: I57780c08c6b496e40459789d693b9b24fb4a9da8 Co-authored by: Vinicius Monego Change-Id: I5914afad8d293787b9898a229084e6c79fbe8911 --- gnu/packages/graphics.scm | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index f17511dc94..a0c22bfa35 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -789,6 +789,65 @@ (define-public openshadinglanguage materials, lights, displacement, and pattern generation.") (license license:bsd-3))) +(define-public tachyon + (package + (name "tachyon") + (version "0.99.5") + (source (origin + (method url-fetch) + (uri (string-append + "http://jedi.ks.uiuc.edu/~johns/raytracer/files/" + version "/tachyon-" version ".tar.gz")) + (sha256 + (base32 + "1xd6h5d4v6dsnm6w46bdcr15fwkcz44p8dncymfry50i4c83q809")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ; no tests + #:make-flags #~(list "linux-thr") + #:phases + #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'prepare-src + (lambda _ + (substitute* "unix/Make-arch" + (("CC = cc") + (string-append "CC = " #$(cc-for-target)))) + (chdir "unix"))) + (add-before 'build 'enable-png-jpeg-support + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Make-config" + (("USEJPEG=") + "USEJPEG = -DUSEJPEG") + (("JPEGLIB=") + "JPEGLIB = -ljpeg") + (("USEPNG=") + "USEPNG = -DUSEPNG") + (("PNGLIB=") + "PNGLIB = -lpng -lz")))) + (add-before 'build 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "Make-config" + (("SHELL=/bin/sh") + (string-append "SHELL=" (which "sh")))))) + (replace 'install + (lambda _ + (install-file "../compile/linux-thr/tachyon" + (string-append #$output "/bin")) + (install-file "../compile/linux-thr/libtachyon.a" + (string-append #$output "/lib"))))))) + (inputs (list libjpeg-turbo libpng)) + ;; The server does not seem to be reliably accessible + (home-page "http://jedi.ks.uiuc.edu/~johns/raytracer/") + (synopsis "Multithreaded ray tracing software") + (description + "This package contains the Tachyon raytracer. It supports the typical +ray tracer features, most of the common geometric primitives, shading and +texturing modes, etc. It also supports less common features such as HDR image +output, ambient occlusion lighting, and support for various triangle mesh and +volumetric texture formats beneficial for molecular visualization.") + (license license:bsd-3))) + (define-public cgal (package (name "cgal") -- 2.39.5