GNU bug report logs - #70471
[PATCH] gnu: bx: New variable.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Andy Tai <atai@HIDDEN>; Keywords: patch; Done: Andy Tai <atai@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.
bug closed, send any further explanations to 70471 <at> debbugs.gnu.org and Andy Tai <atai@HIDDEN> Request was from Andy Tai <atai@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Apr 2024 09:15:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 05:15:29 2024
Received: from localhost ([127.0.0.1]:57814 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxkLB-0003nb-4G
	for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 05:15:29 -0400
Received: from lists.gnu.org ([2001:470:142::17]:44956)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lichengtai@HIDDEN>) id 1rxkL9-0003nR-6E
 for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 05:15:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lichengtai@HIDDEN>)
 id 1rxkKo-0006r2-59
 for guix-patches@HIDDEN; Fri, 19 Apr 2024 05:15:06 -0400
Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lichengtai@HIDDEN>)
 id 1rxkKl-0003fk-NU
 for guix-patches@HIDDEN; Fri, 19 Apr 2024 05:15:05 -0400
Received: by mail-pf1-x429.google.com with SMTP id
 d2e1a72fcca58-6f00f24f761so1603776b3a.3
 for <guix-patches@HIDDEN>; Fri, 19 Apr 2024 02:15:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1713518101; x=1714122901; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:from:to:cc:subject:date:message-id:reply-to;
 bh=Xgn+swL4JdI8EcKRp+rEBisDx+Bv0GyGgVZepxP/ssA=;
 b=j2a6L7u0SxtHSTWkqFpaj3kPkJmc1cXpvYVx18L7+QmO/yyvSu5TVjuJKvFR/lc6jX
 4Rb9hRJLj9SoPpmGNOIl/vizP0P2LTVGO/FLMqk29h5f8U/r5ipRwH6g0ivy5WTzmopr
 fRVfIm14TRu/PE8TMOP7uHcEoLDCEtBllW5DIXdfqaWZ9h4zsWFclGcw4U/3cSH3jqdf
 ZFvqJyCyEosEIe1K/uMmsp024ZFd6xOB+6Swq8wHvP6pNT9t4fNXK+H1mW/Ua4wK0JrH
 +ygP3gRKb9MA5ve6GQLAv4YcPBnWgTbeSlTMx70DoY3mGaCR/tQgGHQhCobEoYgSRAp4
 brtQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1713518101; x=1714122901;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=Xgn+swL4JdI8EcKRp+rEBisDx+Bv0GyGgVZepxP/ssA=;
 b=ByDKUmLf0Iqk8PGiBBhYzPhqhQ7iYxA+JrknrZR+j2SIeHSU0FQ7Ja8X6WegUQ/n+t
 TRh048FCYFJ3y1NN24hrJCsyua8ob0s1sJQYQT8+FJ3eS3OKgyuFGe9VIoDsDGZFGAmW
 caFFihNdrK6usPlLjbpA6dP83QKVL8G2E1jjnwcFaHzt43UxIrHH4K3DygYxnAY3Ypn6
 RN1nSnjRzWug5nGYze59xAiT7G95X87ilF/HNE9lGFh1nr6w1AKs5QSKjAOUhS6fGPxJ
 L0efpaQbIOdfkrPLoskSsUYMBPT70nmEUHoGPzd1Cm3fdTTvo3k4aJPTG5PJ4+pXmyvf
 OOxA==
X-Gm-Message-State: AOJu0YxUkOeTds8aDBOCwlwrIrw7g7BBJaNW4UVVbrhVWJIDW+ZdAact
 ws/ovUdsK+IXwQQm8UW/wwJ9OP+M09nFHvBRQLfRL4MvvMz2Ft5fO4KZRw==
X-Google-Smtp-Source: AGHT+IG8gNwCU4ZQVJBq/RNlehr1przOFoAg9T3f55om6urWILXYpk6TIZn4dW9fEaPUcU14+elCvg==
X-Received: by 2002:a05:6a00:1906:b0:6ea:7b29:3ab7 with SMTP id
 y6-20020a056a00190600b006ea7b293ab7mr1525376pfi.23.1713518101226; 
 Fri, 19 Apr 2024 02:15:01 -0700 (PDT)
Received: from DEskMiniX300.. (c-98-37-226-98.hsd1.ca.comcast.net.
 [98.37.226.98]) by smtp.gmail.com with ESMTPSA id
 f4-20020a056a0022c400b006ed066ebed4sm2888590pfj.93.2024.04.19.02.14.59
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 19 Apr 2024 02:15:00 -0700 (PDT)
From: Andy Tai <atai@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: bx: New variable.
Date: Fri, 19 Apr 2024 02:14:56 -0700
Message-Id: <8122f04004dbd1ad197642942533c6a28ed6815b.1713518043.git.atai@HIDDEN>
X-Mailer: git-send-email 2.34.1
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::429;
 envelope-from=lichengtai@HIDDEN; helo=mail-pf1-x429.google.com
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: * gnu/packages/graphics.scm: Add bx. Change-Id:
 Idb60e1e73d7c35a9d42cc634eab642abcc991001
 --- gnu/packages/graphics.scm | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed,
 57 insertions(+) diff --git a/gnu/packages/graphics.scm
 b/gnu/packages/graphics.scm
 index 3571a45b84..661df61be6 100644 --- a/gnu/packages/graphics.scm +++
 b/gnu/packages/graphics.scm
 @@ -2884,6 +2884,63 @@ (define-pu [...] 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (lichengtai[at]gmail.com)
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail domains are different
 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
 EnvelopeFrom freemail headers are different
X-Debbugs-Envelope-To: submit
Cc: Andy Tai <atai@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

* gnu/packages/graphics.scm: Add bx.

Change-Id: Idb60e1e73d7c35a9d42cc634eab642abcc991001
---
 gnu/packages/graphics.scm | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 3571a45b84..661df61be6 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -2884,6 +2884,63 @@ (define-public f3d
 options.")
     (license license:bsd-3)))
 
+(define-public bx
+  (let ((commit "d3434707384f6d62229a4476b10b6dc22fee7c9a")
+        (revision "1"))
+    (package
+      (name "bx")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/bkaradzic/bx")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "11jii8dfb0nzxamkffa6ij3p6r4w7csfbxw7wpxsmqhirv5i8rns"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list
+        #:phases #~(modify-phases %standard-phases
+                     (delete 'configure)
+
+                     (replace 'build
+                       (lambda _
+                         (invoke "make" "linux-release64"
+                                 (string-append "GENIE="
+                                                #$(this-package-native-input
+                                                   "genie") "/bin/genie") "-j"
+                                 (number->string (parallel-job-count)))))
+
+                     (replace 'check
+                       (lambda _
+                         (invoke "make" "test")))
+                     (replace 'install
+                       (lambda _
+                         (install-file
+                          ".build/linux64_gcc/obj/x64/Release/bin2c/tools/bin2c"
+                          (string-append #$output "/bin"))
+                         (install-file
+                          ".build/linux64_gcc/obj/x64/Release/lemon/tools/lemon"
+                          (string-append #$output "/bin"))
+                         (for-each (lambda (f)
+                                     (install-file f
+                                                   (string-append #$output
+                                                                  "/lib")))
+                                   (find-files ".build/linux64_gcc" "\\.a$"))
+                         (copy-recursively "include/bx"
+                                           (string-append #$output
+                                                          "/include/bx")))))))
+      (native-inputs (list genie))
+      (home-page "https://github.com/bkaradzic/bx")
+      (synopsis "Base library used across multiple projects ")
+      (description
+       "Bx is an base library that implements low level functions of the
+Bgfx graphics library.")
+      (license license:bsd-2))))
+
+
 (define-public gpaint
   (package
     (name "gpaint")

base-commit: e0d920b7db3f71c02627d698676339218e03ad63
-- 
2.34.1





Acknowledgement sent to Andy Tai <atai@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#70471; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Apr 2024 18:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.