From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fkKX5-0001ta-0x for guix-patches@gnu.org; Mon, 30 Jul 2018 22:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fkKX0-0003WK-Fs for guix-patches@gnu.org; Mon, 30 Jul 2018 22:37:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fkKX0-0003WC-5W for guix-patches@gnu.org; Mon, 30 Jul 2018 22:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fkKWz-00032h-SH for guix-patches@gnu.org; Mon, 30 Jul 2018 22:37:01 -0400 Subject: [bug#32321] [PATCH] gnu: Add povray. Resent-Message-ID: From: Kei Kebreau References: <20180730205358.25014-1-kkebreau@posteo.net> Date: Mon, 30 Jul 2018 22:36:00 -0400 In-Reply-To: <20180730205358.25014-1-kkebreau@posteo.net> (Kei Kebreau's message of "Mon, 30 Jul 2018 16:53:58 -0400") Message-ID: <8736w0rv1r.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain The attached patch disables CPU-specific optimization and fixes detection of OpenEXR. --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=0001-gnu-Add-povray.patch Content-Transfer-Encoding: quoted-printable From=20fd4cae93f6c6eb4a8573ae02ad783ff39cd5279d Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Mon, 30 Jul 2018 16:25:21 -0400 Subject: [PATCH] gnu: Add povray. * gnu/packages/graphics.scm (povray): New variable. =2D-- gnu/packages/graphics.scm | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index ad5ff8ed1..585215956 100644 =2D-- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -456,6 +456,65 @@ virtual reality, scientific visualization and modeling= .") ;; LGPL 2.1, but with 4 exceptions. This version is called OSGPL. (license license:lgpl2.1))) =20 +(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/archi= ve/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) + ("pkg-config" ,pkg-config))) + (inputs + `(("boost" ,boost) + ("libjpeg" ,libjpeg) + ("libpng" ,libpng) + ("libtiff" ,libtiff) + ("openexr" ,openexr) + ("sdl" ,sdl) + ("zlib" ,zlib))) + (arguments + '(#:configure-flags + (list "COMPILED_BY=3DGuix" + (string-append "--with-boost-libdir=3D" + (assoc-ref %build-inputs "boost") "/lib") + "CXXFLAGS=3D-std=3Dc++11" + "--disable-optimiz-arch") + #: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 t= ool +for producing high-quality computer graphics. @code{POV-Ray} creates +three-dimensional, photo-realistic images using a rendering technique call= ed +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 no= t 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") =2D-=20 2.18.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAltfyxAACgkQ5qXuPBlG eg2nRxAAvel/q74ascK75rRULEbxbElmg+o8jK+hGJZlSm/lLYDammRMT7ZjlqAE gSmR6Pj79gBmSFzLqZ/nvTZ/R3/N6ZWiyh1MVOTJ0FmuB7ql9gtrNdoC96G+o4fT 4Amx121HBd8c8f+T69F4kUL6jGe7lf92eyDsGHcr7uor6Zr289cZZfKxcflnrV9k TS2oblduCYW+y8dkhA9efJUNOn8L2ubluItwhOOUnTnl1l9LqOYVaB726sfv1lX2 s912ILz412E6rQJdmSZYZThmgoBjd5aPyFafSNPci9OvisHE72vvRq8hsneAAGin INJD0M5vfYng/xoP3oHfz619JqJx5sCNgJdtc7Ul/CSYMbnKRiEBso1dpgeOrz3X UBcolP494tVmyvqo1II6EPiJNMIJQghzLDGHRXtpna0y8M11wj8Fs27YFPftZFaG MR2iqv3m4BFYq9BX8y4AnMJq0fKh89zrhqkGvi1ggTM1EucWaMeOAvTfWEI2V83h MSeWNMlxoF28eMTGl/WYOieND0JLreu93AnA6Ip0YAejEtWujzBrTmKsJvd/Q0HR ycvpfpBwa26xgKMg5p0DhqJlm3fFFxzcceIhybKXHxx6sU0e5PamDMH+z36BGXkN cb5yUzdcmMyrA8w/J00wJgJV3dsxwSIPPzr1NU3ETVGvEL+HCuc= =3HID -----END PGP SIGNATURE----- --==-=-=--