Subject: bug#29517: closed (Re: [bug#29517] [PATCH] gnu: gl: Add virtualgl. (v2))

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 08 Dec 2017 14:05:01 +0000

Your bug report

#29517: [PATCH] gnu: gl: Add virtualgl.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
29517: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=29517
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#29517] [PATCH] gnu: gl: Add virtualgl. (v2)
From: [email-masked] (Ludovic Courtès)
To: Rutger Helling <[email-masked]>
Cc: [email-masked]
Date: Fri, 08 Dec 2017 15:04:17 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Rutger Helling <[email-masked]> skribis:

> From 3039ed703888a50cc7f5552578a2c4073a77b829 Mon Sep 17 00:00:00 2001
> From: Rutger Helling <[email-masked]>
> Date: Fri, 8 Dec 2017 11:33:54 +0100
> Subject: [PATCH] gnu: gl: Add virtualgl.
>
> * gnu/packages/gl.scm (virtualgl): New variable.

I adjusted the ‘license’ field to add ‘+’ and pushed.

Thanks!

Ludo’.

Subject: [PATCH] gnu: gl: Add virtualgl.
From: Rutger Helling <[email-masked]>
To: [email-masked]
Date: Fri, 01 Dec 2017 08:26:46 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hey Guix, 

this patch adds VirtualGL.

From 379ef9da3864fa7441f291e5e69cca39ca8c57db Mon Sep 17 00:00:00 2001
From: Rutger Helling <[email-masked]>
Date: Fri, 1 Dec 2017 08:22:21 +0100
Subject: [PATCH] gnu: gl: Add virtualgl.

* gnu/packages/gl.scm (virtualgl): New variable.
---
 gnu/packages/gl.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 50c327156..0ff909aae 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 David Thompson <[email-masked]>
 ;;; Copyright © 2017 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2017 Arun Isaac <[email-masked]>
+;;; Copyright © 2017 Rutger Helling <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -41,6 +42,7 @@
   #:use-module (gnu packages llvm)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
+  #:use-module (gnu packages tls)
   #:use-module (gnu packages video)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xml)
@@ -676,3 +678,34 @@ mixed vector/bitmap output.")
     (license (list license:lgpl2.0+
                    (license:fsf-free "http://www.geuz.org/gl2ps/COPYING.GL2PS"
                                      "GPL-incompatible copyleft license")))))
+
+(define-public virtualgl
+  (package
+    (name "virtualgl")
+    (version "2.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://github.com/VirtualGL/virtualgl/archive/"
+                           version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0rnid3hwrry9d5d4m7sygq00xxx976rgk00a3557m9r5kxbmy476"))))
+    (arguments
+     `(#:tests? #f ;; no tests are available
+       #:configure-flags '("-DVGL_USESSL=1"))) ;; use OpenSSL
+    (build-system cmake-build-system)
+    (inputs `(("glu" ,glu)
+              ("libjpeg-turbo" ,libjpeg-turbo)
+              ("mesa" ,mesa)
+              ("openssl" ,openssl)))
+    (native-inputs `(("pkg-config", pkg-config)))
+    (home-page "https://www.virtualgl.org")
+    (synopsis "Redirects 3D commands from an OpenGL application onto a 3D
+graphics card")
+    (description "VirtualGL is a free software program that redirects the 3D
+rendering commands from Unix and Linux OpenGL applications to 3D accelerator
+hardware in a dedicated server and displays the rendered output interactively to
+a thin client located elsewhere on the network.")
+    (license license:lgpl2.1)))
-- 
2.15.0