all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#48208] [PATCH 1/2]: gnu: Add 3d-vectors
@ 2021-05-03 22:06 Sharlatan Hellseher
  2021-05-03 22:08 ` [bug#48208] [PATCH 2/2]: gnu: Add 3d-matricies Sharlatan Hellseher
  0 siblings, 1 reply; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-03 22:06 UTC (permalink / raw)
  To: 48208

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

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

[-- Attachment #2: 0001-gnu-Add-3d-vectors.patch --]
[-- Type: text/x-patch, Size: 2170 bytes --]

From d9820207d9ced944693e8e350eeecc944becfe68 Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Mon, 3 May 2021 22:53:40 +0100
Subject: [PATCH 1/2] gnu: Add 3d-vectors

* gnu/packages/lisp-xyz.scm (sbcl-3d-vectors, ecl-3d-vectors,
  cl-3d-vectors): New variables
---
 gnu/packages/lisp-xyz.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 6f2666608f..d7001d4c9b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16371,3 +16371,40 @@ for Common Lisp.")
 
 (define-public cl-bknr-datastore
   (sbcl-package->cl-source-package sbcl-bknr-datastore))
+
+(define-public sbcl-3d-vectors
+  (let ((commit "29bb9684df803590deed344af63dbf7b712aabc0")
+        (revision "1"))
+    (package
+      (name "sbcl-3d-vectors")
+      (version (git-version "3.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Shinmera/3d-vectors")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0qc7m5brhpwi531rgmlaj1c609by533a1ia5hv8f90ilm8ksmw3l"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       `(#:asd-files '("3d-vectors.asd")
+         #:asd-systems '("3d-vectors")))
+      (native-inputs
+       `(("parachute" ,sbcl-parachute)))
+      (inputs
+       `(("documentation-utils" ,sbcl-documentation-utils)))
+      (home-page "https://shinmera.github.io/3d-vectors/")
+      (synopsis "Utility library implementing 2D, 3D, and 4D vector functionality")
+      (description
+       "@code{3D-VECTORS} is a library for vector math in 3D space.  It contains
+most of the vector operations one would usually expect out of such a library and
+offers them both in non-modifying and modifying versions where applicable.")
+      (license license:zlib))))
+
+(define-public ecl-3d-vectors
+  (sbcl-package->ecl-package sbcl-3d-vectors))
+
+(define-public cl-3d-vectors
+  (sbcl-package->cl-source-package sbcl-3d-vectors))
-- 
2.31.1


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

* [bug#48208] [PATCH 2/2]: gnu: Add 3d-matricies
  2021-05-03 22:06 [bug#48208] [PATCH 1/2]: gnu: Add 3d-vectors Sharlatan Hellseher
@ 2021-05-03 22:08 ` Sharlatan Hellseher
  2021-05-04 13:46   ` Guillaume Le Vaillant
  0 siblings, 1 reply; 4+ messages in thread
From: Sharlatan Hellseher @ 2021-05-03 22:08 UTC (permalink / raw)
  To: 48208

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

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

[-- Attachment #2: 0002-gnu-Add-3d-matrices.patch --]
[-- Type: text/x-patch, Size: 5510 bytes --]

From 6974e8158de7799195679a48d0ce31e1b4a28eec Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Mon, 3 May 2021 23:01:46 +0100
Subject: [PATCH 2/2] gnu: Add 3d-matrices

Draft

I'm not sure where is the source of this issue, it looks like the
problem in the naming of the package which includes '-3d-' in the name.

--8<---------------cut here---------------start------------->8---
starting phase `create-asdf-configuration'
`/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-form-fiddle.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-form-fiddle.conf'
`/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-parachute.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-parachute.conf'
`/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-documentation-utils.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-documentation-utils.conf'
`/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-sbcl.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-sbcl.conf'
`/tmp/guix-build-sbcl-3d-matrices-3.1.0-1.f453b52.drv-0/source/.cl-union/etc/common-lisp/source-registry.conf.d/50-trivial-indent.conf' -> `/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-trivial-indent.conf'
Backtrace:
          12 (primitive-load "/gnu/store/s2m85hxbagxh93pngpb8bfsykqx?")
In ice-9/eval.scm:
   191:35 11 (_ _)
In ice-9/boot-9.scm:
    152:2 10 (with-fluid* _ _ _)
    152:2  9 (with-fluid* _ _ _)
In guix/build/gnu-build-system.scm:
    838:2  8 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1736:10  7 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
   857:16  6 (every1 #<procedure 7fffeeaddf40 at guix/build/gnu-bui?> ?)
In guix/build/gnu-build-system.scm:
   847:30  5 (_ _)
In guix/build/asdf-build-system.scm:
    232:4  4 (create-asdf-configuration #:inputs _ #:outputs _)
In guix/build/lisp-utils.scm:
    208:4  3 (make-asdf-configuration "sbcl" _ _ "/gnu/store/wpw0i9?" ?)
In ice-9/ports.scm:
   461:11  2 (call-with-output-file "/gnu/store/wpw0i9aqq2pf2lj8ai1?" ?)
In unknown file:
           1 (open-file "/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p73?" ?)
In ice-9/boot-9.scm:
  1669:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1669:16: In procedure raise-exception:
In procedure open-file: Permission denied: "/gnu/store/wpw0i9aqq2pf2lj8ai11792fym37p731-sbcl-3d-matrices-3.1.0-1.f453b52/etc/common-lisp/source-registry.conf.d/50-sbcl.conf"
builder for `/gnu/store/h6h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv' failed with exit code 1
build of /gnu/store/h6h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv failed
View build log at '/var/log/guix/drvs/h6/h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv.bz2'.
guix build: error: build of `/gnu/store/h6h02gy1ywsqijmar5lhb26sgldhnxss-sbcl-3d-matrices-3.1.0-1.f453b52.drv' failed
--8<---------------cut here---------------end--------------->8---
---
 gnu/packages/lisp-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index d7001d4c9b..2b7f0a41b5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16408,3 +16408,41 @@ offers them both in non-modifying and modifying versions where applicable.")
 
 (define-public cl-3d-vectors
   (sbcl-package->cl-source-package sbcl-3d-vectors))
+
+(define-public sbcl-3d-matrices
+  (let ((commit "f453b521b8f2ceabb01eac94389119dece8c05f8")
+        (revision "1"))
+    (package
+      (name "sbcl-3d-matrices")
+      (version (git-version "3.1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Shinmera/3d-matrices")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10q9c96gqzq6k8n89agy0khgimmnsn4s69171m3vhghqa2yv5n6v"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       `(#:asd-files '("3d-matrices.asd")
+         #:asd-systems '("3d-matrices")))
+      (native-inputs
+       `(("parachute" ,sbcl-parachute)))
+      (inputs
+       `(("documentation-utils" ,sbcl-documentation-utils)
+         ("3d-vectors" ,sbcl-3d-vectors)))
+      (home-page "https://shinmera.github.io/3d-matrices/")
+      (synopsis "Utility library implementing 2x2, 3x3, 4x4 and NxM matrix functionality")
+      (description
+       "@code{3D-MATRICES} is a library implementing common matrix operations,
+mainly intended as the counterpiece to @code{3d-vectors} and thus being aimed at
+operations in 3D space.")
+      (license license:zlib))))
+
+(define-public ecl-3d-matrices
+  (sbcl-package->ecl-package sbcl-3d-matrices))
+
+(define-public cl-3d-matrices
+  (sbcl-package->cl-source-package sbcl-3d-matrices))
-- 
2.31.1


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

* [bug#48208] [PATCH 2/2]: gnu: Add 3d-matricies
  2021-05-03 22:08 ` [bug#48208] [PATCH 2/2]: gnu: Add 3d-matricies Sharlatan Hellseher
@ 2021-05-04 13:46   ` Guillaume Le Vaillant
  2021-05-08 12:48     ` bug#48208: " Guillaume Le Vaillant
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Le Vaillant @ 2021-05-04 13:46 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 48208

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

Sharlatan Hellseher <sharlatanus@gmail.com> skribis:

> Subject: [PATCH 2/2] gnu: Add 3d-matrices
> 
> Draft
> 
> I'm not sure where is the source of this issue, it looks like the
> problem in the naming of the package which includes '-3d-' in the name.

Yes, there is a bug in the function separating the name and the version
of a package.
I reported it in https://issues.guix.gnu.org/48225

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

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

* bug#48208: [PATCH 2/2]: gnu: Add 3d-matricies
  2021-05-04 13:46   ` Guillaume Le Vaillant
@ 2021-05-08 12:48     ` Guillaume Le Vaillant
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Le Vaillant @ 2021-05-08 12:48 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 48208-done

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

Patches pushed as e961f15083e71abfd16b74a10331c9297960370d and
following.
Thanks.

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

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

end of thread, other threads:[~2021-05-08 12:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-03 22:06 [bug#48208] [PATCH 1/2]: gnu: Add 3d-vectors Sharlatan Hellseher
2021-05-03 22:08 ` [bug#48208] [PATCH 2/2]: gnu: Add 3d-matricies Sharlatan Hellseher
2021-05-04 13:46   ` Guillaume Le Vaillant
2021-05-08 12:48     ` bug#48208: " Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.