unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46626] [PATCH 1/1] gnu: Add glsl-packing
@ 2021-02-18 22:28 Sharlatan Hellseher
  2021-02-19  8:16 ` bug#46626: " Guillaume Le Vaillant
  0 siblings, 1 reply; 2+ messages in thread
From: Sharlatan Hellseher @ 2021-02-18 22:28 UTC (permalink / raw)
  To: 46626

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.

[-- Attachment #2: 0001-gnu-Add-glsl-packing.patch --]
[-- Type: text/x-patch, Size: 1937 bytes --]

From 476f1b9cdcaa6f5b3dcb5fcc8d1afe5021e622dc Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 18 Feb 2021 22:18:08 +0000
Subject: [PATCH] gnu: Add glsl-packing

* gnu/packages/lisp-xyz.scm (sbcl-glsl-packing, cl-glsl-packing,
  ecl-glsl-packing): New variables.
---
 gnu/packages/lisp-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 3fdf4a741f..6ef8271d29 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -2707,6 +2707,36 @@ non-consing thread safe queues and fibonacci priority queues.")
 (define-public ecl-queues
   (sbcl-package->ecl-package sbcl-queues))
 
+(define-public sbcl-glsl-packing
+  (let ((commit "03628159468a8e5b7f2a1d5e78b77053e136794a")
+        (revision "1"))
+    (package
+      (name "sbcl-glsl-packing")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/3b/glsl-packing/")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0k2f1771wd9kdrcasldy1r00k5bdgi9fd07in52zmjggc0i7dd80"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)))
+      (home-page "https://github.com/3b/glsl-packing/")
+      (synopsis "Calculate std140/std430 layout for a glsll UBO/SSBO")
+      (description
+       "Common Lisp utiltiies to calculate OpenGL laouts.")
+      (license license:expat))))
+
+(define-public ecl-glsl-packing
+  (sbcl-package->ecl-package sbcl-glsl-packing))
+
+(define-public cl-glsl-packing
+  (sbcl-package->cl-source-package sbcl-glsl-packing))
+
 (define-public sbcl-glsl-spec
   (let ((commit "f04476f7da89355ae6856b33283c60ba95c6555d")
         (revision "1"))
-- 
2.30.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#46626: [PATCH 1/1] gnu: Add glsl-packing
  2021-02-18 22:28 [bug#46626] [PATCH 1/1] gnu: Add glsl-packing Sharlatan Hellseher
@ 2021-02-19  8:16 ` Guillaume Le Vaillant
  0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2021-02-19  8:16 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 46626-done

[-- Attachment #1: Type: text/plain, Size: 66 bytes --]

Patch pushed as 0ce63d11b5e27bfc7f5082c3021be7561ffc8c76.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-19  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-18 22:28 [bug#46626] [PATCH 1/1] gnu: Add glsl-packing Sharlatan Hellseher
2021-02-19  8:16 ` bug#46626: " Guillaume Le Vaillant

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).