From patchwork Mon May 3 22:06:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 29095 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id DDE5427BC82; Mon, 3 May 2021 23:07:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2E49E27BC81 for ; Mon, 3 May 2021 23:07:15 +0100 (BST) Received: from localhost ([::1]:44254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ldgie-00036U-Uy for patchwork@mira.cbaines.net; Mon, 03 May 2021 18:07:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldgiX-00036E-DS for guix-patches@gnu.org; Mon, 03 May 2021 18:07:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37433) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldgiU-0004zJ-GS for guix-patches@gnu.org; Mon, 03 May 2021 18:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ldgiU-0005sS-Am for guix-patches@gnu.org; Mon, 03 May 2021 18:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48208] [PATCH 1/2]: gnu: Add 3d-vectors Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 03 May 2021 22:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48208@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162007960022583 (code B ref -1); Mon, 03 May 2021 22:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 May 2021 22:06:40 +0000 Received: from localhost ([127.0.0.1]:48977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgi8-0005sB-BV for submit@debbugs.gnu.org; Mon, 03 May 2021 18:06:40 -0400 Received: from lists.gnu.org ([209.51.188.17]:45670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ldgi6-0005s5-7x for submit@debbugs.gnu.org; Mon, 03 May 2021 18:06:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ldgi5-0002zl-31 for guix-patches@gnu.org; Mon, 03 May 2021 18:06:38 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:44561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ldgi3-0004gV-9S for guix-patches@gnu.org; Mon, 03 May 2021 18:06:36 -0400 Received: by mail-wr1-x42a.google.com with SMTP id l13so5553310wru.11 for ; Mon, 03 May 2021 15:06:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=7uhv2S0LL7/SB+ghOcZs1EX82YJxXUavhiSirptDOW4=; b=kPzS2wqwGCxU5PzoqzPlrI7KLpyr1emPAZzeaIB2nmHsC/HSbhoCf1oPGvyZ4hujIy 4vCkI3PvP+WKiSCMS+DdEJlhgWCryaWFniN0k4Now6u9SiJ1sBnZ+WKVAGUJab3KcA50 QQPtIOJeqNfNz+UPjCw3F2srAJ02QfwNtXr8OeEwS14UHV9qiPm+9RNXoawNwgBHxcSC bECrV0mVWbpDyYCDp+5QJkenrxUsuRiu9rRaFiSzKiGY2PynfSHDx0U6W+nizJwIl+5B obckkCo9IP+dcQW6jHm5/nZZKLMFETLFqzZW+AaUtGVR2fzHDcEPc7qJfh7p9a529IJe pKmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=7uhv2S0LL7/SB+ghOcZs1EX82YJxXUavhiSirptDOW4=; b=Dwp6di+jQxNxXTpGMKVxRirOMW+GhenljxeTObwY47nMNIMOCAlBYLVJlZKGA1XfB6 NSRHVM+MdfFdbhwL6spEPTkBQbNvyYX8385cPCu+G+/DTzTlCNff1N3s+7XG8Or7vZES N5i5/QYEBo1oKtfmekMW8SP41ejdUH8M5gGl7GSvVPesia9ZRbg5mqOyD6zuTbbkvCCJ SakAZ/JSHpNRUM1vbC7isxD62hkC4q0sHpWakxAz3dhQy1glmTro+q3cOKgP6PAUg+c5 wi7obHxpkX288wy0M6aaRGYG0UktvD8rO/D62TLnFaPDhIbN8jMvsOxOI5JiGpL2zrRA TSpQ== X-Gm-Message-State: AOAM531V/2X9YeEpqA/z00XRuI34S1OZmtvqO+5dhdhjhe16ghso5Wmu UCwEzAwRhmbFkK5WLkCXZyS/zAf5V/D6todDiNmEjuSTx4s= X-Google-Smtp-Source: ABdhPJyiQ20rQLiI7lBEjXGGC2QdiHQBRJWhjMr3MRCk452eIbN35SLmjBkdKB+8faYoUYNPqJg1Z21ZG6J/GYLPtQI= X-Received: by 2002:adf:efc6:: with SMTP id i6mr27901197wrp.408.1620079594063; Mon, 03 May 2021 15:06:34 -0700 (PDT) MIME-Version: 1.0 From: Sharlatan Hellseher Date: Mon, 3 May 2021 22:06:23 +0000 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=sharlatanus@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches -- … наш разум - превосходная объяснительная машина которая способна найти смысл почти в чем угодно, истолковать любой феномен, но совершенно не в состоянии принять мысль о непредсказуемости. From d9820207d9ced944693e8e350eeecc944becfe68 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher 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