From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: [PATCH] gnu: Add mesa-demos. Date: Fri, 13 Mar 2015 16:23:51 +0100 Message-ID: <87egos7wfs.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWRRM-0004iq-5P for guix-devel@gnu.org; Fri, 13 Mar 2015 11:23:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YWRRL-0000tH-0f for guix-devel@gnu.org; Fri, 13 Mar 2015 11:23:56 -0400 Received: from mail-wg0-x233.google.com ([2a00:1450:400c:c00::233]:34127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YWRRK-0000sr-PH for guix-devel@gnu.org; Fri, 13 Mar 2015 11:23:54 -0400 Received: by wgha1 with SMTP id a1so24107419wgh.1 for ; Fri, 13 Mar 2015 08:23:54 -0700 (PDT) Received: from taylan.uni.cx (p200300514A47CD460213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a47:cd46:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id lu13sm3245730wic.10.2015.03.13.08.23.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2015 08:23:53 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0002-gnu-msea-Propagate-input-libxshmfence.patch Content-Description: patch1 >From 051341d49fae36579ce318ab0b9c245ed084cdae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Fri, 13 Mar 2015 15:57:51 +0100 Subject: [PATCH 2/3] gnu: msea: Propagate input libxshmfence. * gnu/packages/gl.scm (mesa): Propagate input libxshmfence. --- gnu/packages/gl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index e237cb1..b5f8e07 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -174,13 +174,13 @@ texture compression to Mesa.") ("libdrm" ,libdrm) ("libx11" ,libx11) ("libxdamage" ,libxdamage) + ("libxshmfence" ,libxshmfence) ("libxxf86vm" ,libxxf86vm))) (inputs `(("udev" ,eudev) ("dri2proto" ,dri2proto) ("dri3proto" ,dri3proto) ("presentproto" ,presentproto) - ("libxshmfence" ,libxshmfence) ("expat" ,expat) ("libxfixes" ,libxfixes) ("libxml2" ,libxml2) -- 2.2.1 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0003-gnu-Add-mesa-demos.patch Content-Description: patch2 >From e1f288dee780b374fc2162eb39d96a50d64964c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Fri, 13 Mar 2015 15:58:25 +0100 Subject: [PATCH 3/3] gnu: Add mesa-demos. * gnu/packages/gl.scm (mesa-demos): New variable. --- gnu/packages/gl.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index b5f8e07..ae551c2 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -259,6 +259,35 @@ emulation to complete hardware acceleration for modern GPUs.") (assoc-ref outputs "out") "/include"))))))))) +(define-public mesa-demos + (package + (name "mesa-demos") + (version "8.2.0") + (source (origin + (method url-fetch) + (uri (string-append + "ftp://ftp.freedesktop.org/pub/mesa/demos/" version + "/mesa-demos-" version".tar.bz2")) + (sha256 + (base32 + "14msj0prbl3ljwd24yaqv9pz1xzicdmqgg616xxlppbdh6syrgz4")))) + (build-system gnu-build-system) + (inputs + `(("mesa" ,mesa) + ("glut" ,freeglut) + ("glew" ,glew))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (home-page "http://mesa3d.org/") + (synopsis "Collection of OpenGL / Mesa demos and test programs") + (description + "Mesa-demos is a collection of OpenGL / Mesa demos and test programs +authored by the Mesa project.") + ;; The package contains many source files without a license, some + ;; instances of the expat license, and some X11 style licenses by SGI, so + ;; we consider it to be collectively under the X11 license. + (license l:x11))) + (define-public glew (package (name "glew") -- 2.2.1 --=-=-=--