unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer)
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add mesa-demos.
Date: Fri, 13 Mar 2015 16:23:51 +0100	[thread overview]
Message-ID: <87egos7wfs.fsf@taylan.uni.cx> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: patch1 --]
[-- Type: text/x-diff, Size: 1047 bytes --]

From 051341d49fae36579ce318ab0b9c245ed084cdae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch2 --]
[-- Type: text/x-diff, Size: 1902 bytes --]

From e1f288dee780b374fc2162eb39d96a50d64964c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?=
 <taylanbayirli@gmail.com>
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


             reply	other threads:[~2015-03-13 15:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-13 15:23 Taylan Ulrich Bayırlı/Kammer [this message]
2015-03-14 14:10 ` [PATCH] gnu: Add mesa-demos Ludovic Courtès
2015-03-14 14:58   ` Taylan Ulrich Bayırlı/Kammer
2015-03-14 15:04     ` Taylan Ulrich Bayırlı/Kammer
2015-03-15 14:41       ` Ludovic Courtès
2015-03-15 14:46     ` Ludovic Courtès
2015-03-17 11:15       ` Taylan Ulrich Bayırlı/Kammer
2015-03-17 11:49         ` Taylan Ulrich Bayırlı/Kammer
2015-03-18  8:49         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egos7wfs.fsf@taylan.uni.cx \
    --to=taylanbayirli@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).