From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mHbYBHV0dWTd+wAASxT56A (envelope-from ) for ; Tue, 30 May 2023 05:58:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id eNXQBHV0dWReJQAA9RJhRA (envelope-from ) for ; Tue, 30 May 2023 05:58:45 +0200 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 D4B051FC46 for ; Tue, 30 May 2023 05:58:44 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q3qUn-0005JX-4g; Mon, 29 May 2023 23:58:05 -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 1q3qUl-0005IV-Pr for guix-patches@gnu.org; Mon, 29 May 2023 23:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q3qUl-000554-HI for guix-patches@gnu.org; Mon, 29 May 2023 23:58:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q3qUl-00038q-DI for guix-patches@gnu.org; Mon, 29 May 2023 23:58:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56729] [RFC PATCH v3 26/32] gnu: Add tachyon. Resent-From: vicvbcun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 May 2023 03:58:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56729@debbugs.gnu.org Cc: Andreas Enge Received: via spool by 56729-submit@debbugs.gnu.org id=B56729.168541907312019 (code B ref 56729); Tue, 30 May 2023 03:58:03 +0000 Received: (at 56729) by debbugs.gnu.org; 30 May 2023 03:57:53 +0000 Received: from localhost ([127.0.0.1]:59640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3qUb-00037h-BE for submit@debbugs.gnu.org; Mon, 29 May 2023 23:57:53 -0400 Received: from mo4-p05-ob.smtp.rzone.de ([85.215.255.136]:40089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q3qUN-00036G-Jz for 56729@debbugs.gnu.org; Mon, 29 May 2023 23:57:43 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1685419057; cv=none; d=strato.com; s=strato-dkim-0002; b=IZcSsB5cacxz0riXKY8yQ/APA9eozHzMYOK4PsHTti/n1y4yJjaqZ2wHF6O5gbe+TZ 0vSMTzUrQcE7CVtV4WUGe71Gs10681QOxUYFxcoFgpaY5v3aOSx+wpoR836aFw8NeFay zLjY6Vr5cbTn02sxjFdbtczXOenje8cSK4Lps77BfgEdi6qx5aACIPyLClBz1uHsAleC nyIY6CcHvNpw45hxpJYsAX0mIKUj772eLP8ZXQbwcQwxf/SuTzdd9ku54CA7CACZXg6/ jRgiIaZ0mxlgsT8h9IGG6LRKFnqcgZpiljtpE865yNDh7Xk35e67ojxwGotxSLEZUtoo sk+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1685419057; s=strato-dkim-0002; d=strato.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=rN2kUY4D/RZ4pKmze2EXboU7SYOwNxyzBU76j78LbY4=; b=qLyooiUhewfdNEeipHT3qqVCpyGOlIyw+1V03d+hePfZZNkk8Xem/Bb5GVs/oHfoIs 8JPWGRGIg4ffgCz1nQ2qJtxdu9dqEByQvyCQFthFHXFAascXEIl1egwDwaq6Ah7GIxhG mzcfSROn54MF3NA2oPXlA7LdZsM/8o6BsXrt8G6b5NVIKNuNrOy6VIvou07RE/hQilby N85FUdj9s/LOQjp9n4WR3/xnTTGXKbc8f+HKjvigKjE9YKI8HGI42kR+o1vfLHn9IHJH RJuFOKGZyA2zCm0mXWMmO6Jq5iHVY7xk78JT6tvR4iBBSk30DsP6euLle5J1CaXenQIy A1AA== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1685419057; s=strato-dkim-0002; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=rN2kUY4D/RZ4pKmze2EXboU7SYOwNxyzBU76j78LbY4=; b=iwSKGjq1mr6l1V39awkLdR3e01kyMLxKefwZ6PG3gwIEOgDZaF0mZDhln6+FVKf8Zq agRRto/b5AKG6z3WzhbUys2WWHxPSNKoqDnD6h9CPoOafvgFbWjGxX56NzKr5pPjTkJN 5iZ9LynzT95pomYXXh+iDilBZR55Vnwz7NzDreiaeE9UUzZNhNibQRNPO0qO6MlnQV50 04i1Qogutcw7+bl3tVijFEGwv3/sD9WcBLcyqrbGwUdhC+GT/LX5IEej57UnIBELXH7K Uz3HIvqMyD8wBCw5U4dBYtcBmjVuMtEiFVJ2L9u+rQhTjuSo9VYtqYyt7a0ecnShIano BhdQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1685419057; s=strato-dkim-0003; d=ikherbers.com; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Cc:Date: From:Subject:Sender; bh=rN2kUY4D/RZ4pKmze2EXboU7SYOwNxyzBU76j78LbY4=; b=DMu7ukQqfGB+KP2KedoFWKxiEinPEQynASNgnZppFTfxW7RVGfBexC5Rih4EsLbMWN D+iOrNguNtWzn9yvbkCw== X-RZG-AUTH: ":IUwNfkitaf3qOWm2b/jA5tveVwUUcwH3PkiYp6DPxTDDEo4xO9elHkvI0r6JTEEwPZQIGpITRHJw3QBV19xfC5caujhgQnTJiaYr" X-RZG-CLASS-ID: mo05 Received: from lambda.localdomain by smtp.strato.de (RZmta 49.4.0 AUTH) with ESMTPSA id z055e6z4U3vbnYJ (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Tue, 30 May 2023 05:57:37 +0200 (CEST) From: vicvbcun Date: Mon, 29 May 2023 22:38:35 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="us-ascii" 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 ARC-Seal: i=2; s=key1; d=yhetil.org; t=1685419125; a=rsa-sha256; cv=fail; b=PqjpamGyHZEI9H9CIAa4LoVEYytx4/4XADVdg6cyKTQbVrQZm35lLPXM3zD5dDpZL5xs+t /RyinwVsKJT6r/UHAvF8MCKC6ak+y8CPYv3VyHQX5o4iKyt6NaUmOYFvJmLqOGXlTeZ+f2 d8sv6ZtaUcu0V/gnVi40gBWT7jL8cstY5+cVdXHh7yLITEJ7FeswVjUoT9Ng/f2bj/xSH/ rj0E0WLrsMfpdR8bcZZM+xJlF3qL8AnPT+M4slvylgNYt48DIWGlkom8qWa0i+IGJwnIl/ MscQjp4XguCsPaCfpZYtUyTRT852XCcgBSnx6eJDs2IIUlXTxzStC0aYse+yNg== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=iwSKGjq1; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=DMu7ukQq; dmarc=none; 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"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685419125; 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: 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=rN2kUY4D/RZ4pKmze2EXboU7SYOwNxyzBU76j78LbY4=; b=sJjkRXNKoDaR8IQQJ4f5Y7o3y2huo+IejsetOnGqVW+592+p8f9/ZUheEouFSC6HzGNx9F 4nylmN+CzwHjm0oJQzD7DE+zoHGiz8rV1e7hdXR4ipjN8oeWfPcB038vcR5w5hBxQTq5hs cpKF7ElJI7XKwK1nhgUlIzWVsMOetr/+qeIsskSNRVsnGg86WvzD/Vy11aI0BYE8I/m9wd Z2JtjbUdZRFOsU5ddgvG5rOXDclWjJGaGk+Qhxe7fuoIGjpyM6Q7wEfSrHmJnY948QaSft OXpPdJmosIFPygKqnk1k8sqVvLScno2W0qLJytUuKJBsv993KQSe3F7TCI7l+w== X-Migadu-Spam-Score: 0.59 X-Spam-Score: 0.59 X-Migadu-Queue-Id: D4B051FC46 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0002 header.b=iwSKGjq1; dkim=fail ("headers eddsa verify failed") header.d=ikherbers.com header.s=strato-dkim-0003 header.b=DMu7ukQq; dmarc=none; 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"; arc=reject ("signature check failed: fail, {[1] = sig:strato.com:reject}") X-TUID: qcF1AisFjehx * gnu/packages/graphics.scm (tachyon): New variable. --- gnu/packages/graphics.scm | 58 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 60db7543a6..6fc11f8c2d 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -2597,3 +2597,61 @@ (define-public gpaint (home-page "https://www.gnu.org/software/gpaint/") (license license:gpl3+))) +(define-public tachyon + (package + (name "tachyon") + (version "0.99.5") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sagemath/spkg/upstream/tachyon/tachyon-" + version ".tar.bz2")) + (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))) -- 2.40.1