From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkFC5-0001Mn-GM for guix-patches@gnu.org; Mon, 30 Jul 2018 16:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkFC2-0004jx-By for guix-patches@gnu.org; Mon, 30 Jul 2018 16:55:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58711) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkFC2-0004jh-8F for guix-patches@gnu.org; Mon, 30 Jul 2018 16:55:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fkFC1-0007Pp-Sh for guix-patches@gnu.org; Mon, 30 Jul 2018 16:55:01 -0400 Subject: [bug#32321] [PATCH] gnu: Add povray. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkFBG-0000Y9-1m for guix-patches@gnu.org; Mon, 30 Jul 2018 16:54:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkFBC-0004UF-U1 for guix-patches@gnu.org; Mon, 30 Jul 2018 16:54:14 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54490) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fkFBC-0004RQ-LQ for guix-patches@gnu.org; Mon, 30 Jul 2018 16:54:10 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E5FBE210C9 for ; Mon, 30 Jul 2018 22:54:06 +0200 (CEST) From: Kei Kebreau Date: Mon, 30 Jul 2018 16:53:58 -0400 Message-Id: <20180730205358.25014-1-kkebreau@posteo.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32321@debbugs.gnu.org Cc: Kei Kebreau * gnu/packages/graphics.scm (povray): New variable. --- gnu/packages/graphics.scm | 57 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index ad5ff8ed1..d3caba64d 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -456,6 +456,63 @@ virtual reality, scientific visualization and modeling.") ;; LGPL 2.1, but with 4 exceptions. This version is called OSGPL. (license license:lgpl2.1))) +(define-public povray + (package + (name "povray") + (version "3.7.0.8") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/POV-Ray/povray/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1r2xaym48gmnh577h41ccs3i7dpg7aw0x838y4m4bz3j56yixlak")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete bundled libraries. + (delete-file-recursively "libraries") + #t)))) + (build-system gnu-build-system) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake))) + (inputs + `(("boost" ,boost) + ("libjpeg" ,libjpeg) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("openexr" ,openexr) + ("sdl" ,sdl) + ("zlib" ,zlib))) + (arguments + '(#:configure-flags + (list "COMPILED_BY=Guix" + (string-append "--with-boost-libdir=" + (assoc-ref %build-inputs "boost") "/lib") + "CXXFLAGS=-std=c++11") + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'run-prebuild + (lambda _ + (setenv "HOME" (getcwd)) + (with-directory-excursion "unix" + (invoke "sh" "prebuild.sh")) + #t))))) + (synopsis "Tool for creating three-dimensional graphics") + (description + "@code{POV-Ray} is short for the Persistence of Vision Raytracer, a tool +for producing high-quality computer graphics. @code{POV-Ray} creates +three-dimensional, photo-realistic images using a rendering technique called +ray-tracing. It reads in a text file containing information describing the +objects and lighting in a scene and generates an image of that scene from the +view point of a camera also described in the text file. Ray-tracing is not a +fast process by any means, but it produces very high quality images with +realistic reflections, shading, perspective and other effects.") + (home-page "http://www.povray.org/") + (license license:agpl3+))) + (define-public rapicorn (package (name "rapicorn") -- 2.18.0