From unknown Thu Jun 19 14:18:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#66120 <66120@debbugs.gnu.org> To: bug#66120 <66120@debbugs.gnu.org> Subject: Status: [PATCH 0/3] gnu: fulcrum: Update to 1.9.1. Reply-To: bug#66120 <66120@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:18:49 +0000 retitle 66120 [PATCH 0/3] gnu: fulcrum: Update to 1.9.1. reassign 66120 guix-patches submitter 66120 Jean-Pierre De Jesus DIAZ severity 66120 normal tag 66120 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 08:38:07 2023 Received: (at submit) by debbugs.gnu.org; 20 Sep 2023 12:38:07 +0000 Received: from localhost ([127.0.0.1]:58515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwT1-0002y1-4y for submit@debbugs.gnu.org; Wed, 20 Sep 2023 08:38:07 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52320) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwSy-0002xX-Vt for submit@debbugs.gnu.org; Wed, 20 Sep 2023 08:38:05 -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 ) id 1qiwSi-0005wU-Im for guix-patches@gnu.org; Wed, 20 Sep 2023 08:37:48 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiwSe-0001ng-V5 for guix-patches@gnu.org; Wed, 20 Sep 2023 08:37:46 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40476ce8b2fso63496145e9.3 for ; Wed, 20 Sep 2023 05:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695213462; x=1695818262; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5cusGH4hMplq/T7MEfWcnetvAHbKqwadK2BfHSE0gss=; b=LaRQcXdpdPNPaG/++f9CCvlH3d1T74pjUWlgD7A6KWLk2jx0xWmbioOFLvY68C24Nm r8/3Z2wEd/20/CCMFWUigb/I+4Mn7Bplk7uX5FZEvQ8d2qXb0CM3M8XWoLJdlo3oh6uR 7dF8dRc5aFW7nNL8Y/ScyVt/P4LC949IR/U94ACq2y7lton9VfaMz/uttOicCx8wYzO9 Ww3fcuJwmb6BWHiMM6KRc5ey028kV4uKR7hHuM5MYSxFvocpj8Ss3LQzICVl92dVTlKt 3HUeP2BrXf1L5pvMkLt3FwCWdfK7uiPdBlJuab8D5xPb5rTJhpbQwhQblZWoRkLmTwOz 8ROw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695213462; x=1695818262; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5cusGH4hMplq/T7MEfWcnetvAHbKqwadK2BfHSE0gss=; b=l25B0bNO8sRHQC1hFVv7RbIbuxFdADQwGfJQyF8MJaaNjpSX7yaAFbfxWVNALL1320 TSeeDeNBAhGCTxagoGV8U4QRjZBxfGansPyvNm9ajdt54SLoRDAl8LSUREyC91BVgkJx 0Y/j4WG9bD3yyXYYIN95zNEPspGuUjgIRew7wmzl86MyOhY72Akc97hBFgB5Jd1ZAbY/ 1WKLpNL/fQPkny3EvMDUws6DGTxFvypfgDzjJL1durXFms/xsAQDSsIRecjYtyEjgIWc DL+Np1YpXw+F/jf5EotjoeNt/EiavpvU6iAcTMLsr91Q252Qep3KTPNxehQX8O5zuzNi R7vQ== X-Gm-Message-State: AOJu0Yz3zqYdCmASkJeja9j631ECA3hV2d8OKVztedv+ccljuWTnv3tk R50HkSPtWhVqW1x/s2PkBguREM3UiP/oEd+m+kyWLg== X-Google-Smtp-Source: AGHT+IENC8Q7S5ASEN5VTqiuBed/WNyHYN7gHzKtpfMdbv85peu+gOFvZVtiWxSdNE/+35/96eofEQ== X-Received: by 2002:a1c:6a04:0:b0:405:1baf:cedd with SMTP id f4-20020a1c6a04000000b004051bafceddmr2184074wmc.1.1695213461554; Wed, 20 Sep 2023 05:37:41 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id x1-20020a1c7c01000000b003fc0505be19sm1843518wmc.37.2023.09.20.05.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:37:41 -0700 (PDT) From: Jean-Pierre De Jesus DIAZ To: guix-patches@gnu.org Subject: [PATCH 0/3] gnu: fulcrum: Update to 1.9.1. Date: Wed, 20 Sep 2023 14:37:38 +0200 Message-Id: <20230920123738.1241364-1-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::330; envelope-from=jean@foundationdevices.com; helo=mail-wm1-x330.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, 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: Jean-Pierre De Jesus DIAZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) This patch series unbundle the code present in Fulcrum while updating it to 1.9.1. Adds a patch file for this as using the system libraries is non-trivial to do. It also changes the origin to use the upstream one instead of the Flowee's fork of it. Jean-Pierre De Jesus DIAZ (3): gnu: Add robin-hood-hashing. gnu: Add simdjson 0.6. gnu: fulcrum: Update to 1.9.1. gnu/packages/cpp.scm | 43 ++++ gnu/packages/finance.scm | 88 +++++--- .../fulcrum-1.9.1-unbundled-libraries.patch | 210 ++++++++++++++++++ 3 files changed, 315 insertions(+), 26 deletions(-) create mode 100644 gnu/packages/patches/fulcrum-1.9.1-unbundled-libraries.patch -- 2.34.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 08:39:55 2023 Received: (at 66120) by debbugs.gnu.org; 20 Sep 2023 12:39:55 +0000 Received: from localhost ([127.0.0.1]:58521 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUk-000312-KE for submit@debbugs.gnu.org; Wed, 20 Sep 2023 08:39:54 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:47434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUi-00030m-Dr for 66120@debbugs.gnu.org; Wed, 20 Sep 2023 08:39:53 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-403004a96eeso71345965e9.3 for <66120@debbugs.gnu.org>; Wed, 20 Sep 2023 05:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695213577; x=1695818377; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=0NpwypFrx2eTVDaLNmft5m8WNSKnUZBp8CFvCNyx0TA=; b=ZLEv8YNRCnjdu8ivKul+AuX+wVAo7PwZbAlU8yeovIUQCDUXfDz4hM9o8qyfs9Y3mi u9DECJ+Sf4gMzCt1cbQM77ktrixERWJQ/HFO//6KLazKSmkNTj0aQ/QSBqQADHjQTM/c 77XxXZqrpeq5oEvJtat8Xrl5E5ALlsIdLaBNnlpNR+ag16gsm9B67MLHDscUwC0qtWhZ 1CQBjuNJTcxzuAquWI0tlqJR7IvMHEUgOpgLKJBZQI9hhIQpyrLxIcBFpVYx/h/zMYhe IK0zX8uzJWh4VrT2yIzGb2JxP1Si7bDmLWW74oy2iyoxPdp/z0eD1TlG+xn/vIw00zsZ gfIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695213577; x=1695818377; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0NpwypFrx2eTVDaLNmft5m8WNSKnUZBp8CFvCNyx0TA=; b=cYeMNC1vlsTcmlIYybzsOp+S1fCVhmXEaz8M0HG/pFH8frEK8il083tz9qXYHKVpWM ahlJObTGK1SvFNwBMoCgaHg3+3Sl7wgJNYt3c4dJoHWOJHWciGTjzzGCgCWM17jeGS2G AjXkuDsbLZrPpbf8lto57umxP+RTfXmXTsVo0c5HmuCHum9po1cmJ79+D1f/9xzb1RHx ucHsc26T49Wa3X/Kh+U4xlBEK7dTlfkQ3za0GPU2E+jdY7AI/LoWOWROGzSlKx2j3GSu ke+3uxlmSWvXUWl6+0t2xZ0HbI4pO1S/VWULbPet3sFYxf7wRGRDYpmp50gpDZvVtopc HaMg== X-Gm-Message-State: AOJu0Ywq7NMsA/q2j30Zu1y3CcZDPs44w7aCeFWUOimVQgRySSNUOFB9 8RUPawhNj+2dh1M/N2BvZw/v1ErrvAKiZ0+VbloCyA== X-Google-Smtp-Source: AGHT+IEnJcWxzKwwNWCzK5yl3wKp+yHSrZIW1Sy4ChgdT98eOfp5h/Kpj5ynMLngQEKdjh3chJQ9Uw== X-Received: by 2002:a05:600c:21c1:b0:3fe:1cac:37d5 with SMTP id x1-20020a05600c21c100b003fe1cac37d5mr2347476wmj.4.1695213576927; Wed, 20 Sep 2023 05:39:36 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id m13-20020a7bcb8d000000b003ff3b964a9asm1864650wmi.39.2023.09.20.05.39.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:39:36 -0700 (PDT) From: Jean-Pierre De Jesus DIAZ To: 66120@debbugs.gnu.org Subject: [PATCH 1/3] gnu: Add robin-hood-hashing. Date: Wed, 20 Sep 2023 14:39:31 +0200 Message-Id: <20230920123933.1241422-1-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66120 Cc: Jean-Pierre De Jesus DIAZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/cpp.scm (robin-hood-hashing): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/cpp.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 4ee7f375d7..7117ada000 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -37,6 +37,7 @@ ;;; Copyright © 2023 Artyom V. Poptsov ;;; Copyright © 2023 Liliana Marie Prikler ;;; Copyright © 2023 Denis 'GNUtoo' Carikli +;;; Copyright © 2023 Foundation Devices, Inc. ;;; ;;; This file is part of GNU Guix. ;;; @@ -223,6 +224,34 @@ (define-public range-v3 ;; Others license:boost1.0)))) +(define-public robin-hood-hashing + (package + (name "robin-hood-hashing") + (version "3.11.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/martinus/robin-hood-hashing") + (commit version))) + (modules '((guix build utils))) + (snippet #~(delete-file-recursively "src/test/thirdparty")) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qx6i09sp8c3l89mhyaql144nzh2h26ky9ms3n5l85qplx1vv2r7")))) + (build-system cmake-build-system) + (arguments + (list #:tests? #f ;; Needs bundled libraries for tests. + ;; By default this option is set to ON and removes the ability to + ;; install the library. + #:configure-flags + #~(list "-DRH_STANDALONE_PROJECT=OFF"))) + (home-page "https://github.com/martinus/robin-hood-hashing") + (synopsis "Unordered set and map data structures library") + (description "This library provides a header-only unordered set and map +data structures for C++.") + (license license:expat))) + (define-public c++-gsl (package (name "c++-gsl") -- 2.34.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 08:39:59 2023 Received: (at 66120) by debbugs.gnu.org; 20 Sep 2023 12:39:59 +0000 Received: from localhost ([127.0.0.1]:58524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUp-00031R-0K for submit@debbugs.gnu.org; Wed, 20 Sep 2023 08:39:59 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:52461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUk-00030p-A6 for 66120@debbugs.gnu.org; Wed, 20 Sep 2023 08:39:55 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-404539209ffso71354625e9.0 for <66120@debbugs.gnu.org>; Wed, 20 Sep 2023 05:39:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695213579; x=1695818379; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZCRORBC8+t+TojDLH4uDCy7839eJJ5MN8Qx/kFRa5OI=; b=XsHWU+XAbTgXpo9C7UXHL344/YGrUPboSrxKg/nlfrbWrZpFiKAbF8CbGf0MSROabf opi8OuTo9F1OgEDlDd3fEfmiGqcKQhdrHaspxfw+ij3MdEPpaQATQoSwHuGJ7J9MAKX2 WnbRGkHVPuZDc4Y0l7tci4jxu4avC+yKVn3tucNpLdFxr7v6RaDLY6AITb6xjA2ZLVhB P/SJ5nYOl/0pxZBLTF7fVkvz789EifZFEOfs+oSPu2lUjmzLRkUH1QxSqPPmJgGbV8nJ y1LXVecoMgu78diqmNzoy9qQ21nBk7nRjxk8SavZxqXBOVrR46HRXLz/wx65E1dIVH0s L+Fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695213579; x=1695818379; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZCRORBC8+t+TojDLH4uDCy7839eJJ5MN8Qx/kFRa5OI=; b=XW+TOIDR+8AkkvVj3fNuPb/UIeE2UlhizJdTHk0OxYq8sAIonIJru688Yw4mCWcOlS jAzVDPUvu6pJLSTuPKzHLkBHKLu1LHJBwy3R73VEuDD0fq1+SlSEjVmyk6FYmgPClsFw 23GU3w8at2UGfKsfyr8lRUPz+4Yhqddz2fmbvx8tlh0SwxSyj7aMkN7CWBPtRV14egVD LB6DG4kX/2wEeKgaKjD8AhMHzJj5OKp+0I6wJiYz0kqNjwyL0UALzkwUbyGKmJ/SdxCQ bWTuqTQ62Y+tQpKWIlJDRi8Efo+UvwHAvs5wjqArv8nzwMlavz0thw41bNiadonyZ10L v46w== X-Gm-Message-State: AOJu0Yz7f+LDEaa/MxdjSPxvlmmwWyt1/xM/Bk47ReeQdlpB7Xn8m5sl Z+VUYVVi8uDcONOKgWdWD6YU3yDo00ihbawnlGEGTw== X-Google-Smtp-Source: AGHT+IFYGxiaW72/6MubxkObtBf2IF1T2UdLKhFkp7sutTAsvAln8d3TzvdLcjYohBqhHaNMMZnLEA== X-Received: by 2002:a05:600c:206:b0:3fe:d852:7ff9 with SMTP id 6-20020a05600c020600b003fed8527ff9mr2366750wmi.5.1695213578850; Wed, 20 Sep 2023 05:39:38 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id m13-20020a7bcb8d000000b003ff3b964a9asm1864650wmi.39.2023.09.20.05.39.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:39:38 -0700 (PDT) From: Jean-Pierre De Jesus DIAZ To: 66120@debbugs.gnu.org Subject: [PATCH 2/3] gnu: Add simdjson 0.6. Date: Wed, 20 Sep 2023 14:39:32 +0200 Message-Id: <20230920123933.1241422-2-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230920123933.1241422-1-jean@foundationdevices.com> References: <20230920123933.1241422-1-jean@foundationdevices.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66120 Cc: Jean-Pierre De Jesus DIAZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/cpp.scm (simdjson-0.6): New variable. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/cpp.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index 7117ada000..7d9eb2a264 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -2048,6 +2048,20 @@ (define-public simdjson (home-page "https://github.com/simdjson/simdjson") (license license:asl2.0))) +(define-public simdjson-0.6 + (package + (inherit simdjson) + (version "0.6.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/simdjson/simdjson") + (commit (string-append "v" version)))) + (file-name (git-file-name (package-name simdjson) version)) + (sha256 + (base32 + "038i9nmk85vpxvs546w6cyci0ppdrrp5wnlv1kffxw29x71a3g5l")))))) + (define-public bloomberg-bde-tools (let ((commit "f63dfe9114cd7df29623bd01f644b9f654253972")) (package -- 2.34.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 20 08:40:00 2023 Received: (at 66120) by debbugs.gnu.org; 20 Sep 2023 12:40:00 +0000 Received: from localhost ([127.0.0.1]:58526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUp-00031T-C9 for submit@debbugs.gnu.org; Wed, 20 Sep 2023 08:40:00 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:51636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiwUl-00030s-TK for 66120@debbugs.gnu.org; Wed, 20 Sep 2023 08:39:57 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-403012f27e3so76700135e9.3 for <66120@debbugs.gnu.org>; Wed, 20 Sep 2023 05:39:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695213580; x=1695818380; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=K2z1w5OpQDGnKPzWvpXd17QloiTfTZ9PUahwLdx1Ks0=; b=L0yXyxHpZgCWL0wW5M8RQUT8LQYBPwa9iGfFgwsrtHeQ0M2b4ovYvfX7DRqRxKPKM8 03JimaHY+4x20c0GsvYxBCSYwm6Q0Ak7J5UUhyekD5suj/WMpPXIxBpMxjebMK0ce8pQ WfuFB+Sc0/SDwv8ngPM7WAJ8ZcHDDGDawVMEGbaF0cJpfpIQx7306rjOHWQdBrP56Gfd 0BvMseYht2xZUIn4AE4lNkBphI5poVvMg0v0+mCLuhGxr7PXb7RW9BJh9VuzH79O1GFn OtL0AAF7pA3IgwiY2uxAMaZ2Vd8DJZMUy8SWP+iwEIfWEsvSesqGclguw7gjidW+wSQy ep2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695213580; x=1695818380; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K2z1w5OpQDGnKPzWvpXd17QloiTfTZ9PUahwLdx1Ks0=; b=WX5QBVecQb5tfK8IX40SnlrDLTmK2VFYgZYf/sbxBSG+XPycIhQ8pQGZ1vjTCXfAP5 abzKrC+QyoNUgW1zdf4hxOt3IDnqbmUHbit9NDDcTVrFG6vlAzlMU0umFdNY17MAWJBq y4k3POUjWshNbRM1U7MFIHOP6ivZhNfUIXCcTCedKKlrT53Zlz8649Btuqo5Oa1W3c6B tYQlazr3QcGjcx74u/rFev81KPTXXUZGHf9VgPb1oBGjsgMPnHoEgpncwK0o3p3K/XU3 5KA6DV8tkSMfZcotZa0iImzEIqijf18/1Y+lBhevPCu13iE7D7WSPHcMYFp34odWYgDV X8PQ== X-Gm-Message-State: AOJu0YxS8Y0DHpmGvqdGeyFS0dBJinokVvkeW5zPaGGQto4b31fKtXkC e6PV50lJpz5350GnoDFttYAA78j/NiZ579MQmc9QFQ== X-Google-Smtp-Source: AGHT+IFlSVNyqH2VqrHJWkfTrgtCnTBt9xdbakHfzmqiUPMezeCe2quaE5zr9Uopz6nXIe6eVyYDlA== X-Received: by 2002:a7b:ce88:0:b0:400:57d1:4910 with SMTP id q8-20020a7bce88000000b0040057d14910mr2507536wmj.17.1695213580481; Wed, 20 Sep 2023 05:39:40 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id m13-20020a7bcb8d000000b003ff3b964a9asm1864650wmi.39.2023.09.20.05.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 05:39:40 -0700 (PDT) From: Jean-Pierre De Jesus DIAZ To: 66120@debbugs.gnu.org Subject: [PATCH 3/3] gnu: fulcrum: Update to 1.9.1. Date: Wed, 20 Sep 2023 14:39:33 +0200 Message-Id: <20230920123933.1241422-3-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230920123933.1241422-1-jean@foundationdevices.com> References: <20230920123933.1241422-1-jean@foundationdevices.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 66120 Cc: Jean-Pierre De Jesus DIAZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/finance.scm (fulcrum): Use the upstream origin instead of the Flowee's fork of it, updates and expands the synopsis and description. Updates the package to 1.9.1 and build without any bundled libraries with the help of a patch. * gnu/packages/patches/fulcrum-1.9.1-unbundled-libraries.patch: New patch. Signed-off-by: Jean-Pierre De Jesus DIAZ --- gnu/packages/finance.scm | 88 +++++--- .../fulcrum-1.9.1-unbundled-libraries.patch | 210 ++++++++++++++++++ 2 files changed, 272 insertions(+), 26 deletions(-) create mode 100644 gnu/packages/patches/fulcrum-1.9.1-unbundled-libraries.patch diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index a1e2216ae0..63de983472 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -34,6 +34,7 @@ ;;; Copyright © 2022 Justin Veilleux ;;; Copyright © 2023 Frank Pursel ;;; Copyright © 2023 Skylar Hill +;;; Copyright © 2023 Foundation Devices, Inc. ;;; ;;; This file is part of GNU Guix. ;;; @@ -76,6 +77,7 @@ (define-module (gnu packages finance) #:use-module (gnu packages boost) #:use-module (gnu packages check) #:use-module (gnu packages compression) + #:use-module (gnu packages cpp) #:use-module (gnu packages crypto) #:use-module (gnu packages curl) #:use-module (gnu packages databases) @@ -1795,36 +1797,70 @@ (define-public bitcoin-unlimited (define-public fulcrum (package (name "fulcrum") - (version "1.1.1") - (source - (origin - (method url-fetch) - (uri (string-append "https://gitlab.com/FloweeTheHub/fulcrum/-/archive/v" - version "/fulcrum-v" version ".tar.gz")) - (sha256 - (base32 "04w5gw02d39caa8a0l6wkn87kc43zzad2prqsyrcq97vlbkdx6x6")))) + (version "1.9.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/cculianu/Fulcrum") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + #~(for-each delete-file-recursively + '("src/Json/simdjson" + "src/bitcoin/secp256k1" + "src/robin_hood" + "src/zmq" + "staticlibs"))) + (sha256 + (base32 + "1110vanl6aczlq25i4ck9j4vr81in5icw4z383wyhjpcy6rwxsw2")) + (patches + (search-patches "fulcrum-1.9.1-unbundled-libraries.patch")))) (build-system gnu-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - ;; Call qmake instead of configure to create a Makefile. - (replace 'configure - (lambda _ - (invoke - "qmake" - (string-append "PREFIX=" %output) - "features=")))))) - (native-inputs - (list qttools-5)) + (list #:configure-flags + #~(list "CONFIG+=config_without_bundled_cppzmq" + "CONFIG+=config_without_bundled_robin_hood" + "CONFIG+=config_without_bundled_secp256k1" + "LIBS+=-lrocksdb" + #$@(if (target-64bit?) '("LIBS+=-lsimdjson") '()) + (format #f "DEFINES+=GIT_COMMIT=\"\\\\\\~s\\\\\\\"" + #$version) + (string-append "PREFIX=" #$output)) + #:phases + #~(modify-phases %standard-phases + (replace 'configure + (lambda* (#:key configure-flags #:allow-other-keys) + (apply invoke "qmake" configure-flags)))))) + (native-inputs (list pkg-config qttools-5)) (inputs - (list python qtbase-5 rocksdb zlib)) - (home-page "https://gitlab.com/FloweeTheHub/fulcrum/") - (synopsis "Fast and nimble SPV server for Bitcoin Cash") + (append (list cppzmq + jemalloc + python + qtbase-5 + robin-hood-hashing + rocksdb + zeromq + zlib) + (if (target-64bit?) + (list simdjson-0.6) + '()))) + (home-page "https://github.com/cculianu/Fulcrum") + (synopsis "Payment verification server for Bitcoin-like crypto-currencies") (description - "Flowee Fulcrum is a server that is the back-end for @acronym{SPV, -Simplified Payment Verification} wallets, it provides the full API for those -walets in a fast and small server. The full data is stored in a full node, -like Flowee the Hub, which Fulcrum connects to over RPC.") + "Fulcrum is a @acronym{SPV, Simplified Payment Verification} server for +Bitcoin-like crypto-currencies. The server indexes the blockchain of the +crypto-currency used, and the resulting index can be used by wallets to +perform queries to keep real-time track of balances. + +Supported crypto-currencies: + +@itemize +@item Bitcoin Core. +@item Bitcoin Cash-like. +@item Litecoin. +@end itemize") (license license:gpl3+))) (define-public flowee diff --git a/gnu/packages/patches/fulcrum-1.9.1-unbundled-libraries.patch b/gnu/packages/patches/fulcrum-1.9.1-unbundled-libraries.patch new file mode 100644 index 0000000000..327846b7aa --- /dev/null +++ b/gnu/packages/patches/fulcrum-1.9.1-unbundled-libraries.patch @@ -0,0 +1,210 @@ +SPDX-FileCopyrightText: © 2023 Foundation Devices, Inc. +SPDX-License-Identifier: GPL-3.0-or-later + +These patch series allow to compile Fulcrum without using any bundled +libraries. + +From 141d590b4189908a88ca07ad8e3880e4933e6427 Mon Sep 17 00:00:00 2001 +From: Jean-Pierre De Jesus DIAZ +Date: Thu, 6 Jul 2023 14:56:53 +0200 +Subject: [PATCH 1/4] Add config to build without secp256k1 + +Signed-off-by: Jean-Pierre De Jesus DIAZ +--- + Fulcrum.pro | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Fulcrum.pro b/Fulcrum.pro +index e7fdfde..2dad355 100644 +--- a/Fulcrum.pro ++++ b/Fulcrum.pro +@@ -480,7 +480,7 @@ HEADERS += \ + # Enable secp256k1 compilation on x86_64 only -- we don't actually use this lib + # yet in Fulcrum, so on platforms that aren't x86_64 it's ok to exclude it; it + # was included in case we wish to someday verify signatures in Fulcrum, etc. +-contains(QT_ARCH, x86_64):!win32-msvc { ++contains(QT_ARCH, x86_64):!contains(CONFIG, config_without_bundled_secp256k1):!win32-msvc { + message("Including embedded secp256k1") + + SOURCES += bitcoin/secp256k1/secp256k1.c +-- +2.34.1 + + +From 093a43d02dd14039ae8aed992223e5167f3fb866 Mon Sep 17 00:00:00 2001 +From: Jean-Pierre De Jesus DIAZ +Date: Thu, 6 Jul 2023 15:49:01 +0200 +Subject: [PATCH 2/4] Allow using system simdjson + +Signed-off-by: Jean-Pierre De Jesus DIAZ +--- + Fulcrum.pro | 7 +++++++ + src/Json/Json_Parser.cpp | 5 ++++- + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/Fulcrum.pro b/Fulcrum.pro +index 2dad355..c478af6 100644 +--- a/Fulcrum.pro ++++ b/Fulcrum.pro +@@ -149,6 +149,13 @@ contains(CONFIG, config_endian_big) { + } + # /GIT_COMMIT= + ++# simdjson ++contains(LIBS, -lsimdjson) { ++ message("simdjson: Using CLI override") ++ DEFINES += SYSTEM_SIMDJSON ++} ++# /simdjson ++ + # ZMQ + !contains(LIBS, -lzmq) { + # Test for ZMQ, and if found, add pkg-config which we will rely upon to find libs +diff --git a/src/Json/Json_Parser.cpp b/src/Json/Json_Parser.cpp +index c24fe94..eb42eec 100644 +--- a/src/Json/Json_Parser.cpp ++++ b/src/Json/Json_Parser.cpp +@@ -56,7 +56,10 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + // embed simdjson here, if we are on a known 64-bit platform and the header & sources are available + #if defined(__x86_64__) || defined(_M_AMD64) || defined(__aarch64__) || defined(_M_ARM64) +-#if __has_include("simdjson/simdjson.h") && __has_include("simdjson/simdjson.cpp") ++#if defined(SYSTEM_SIMDJSON) ++#include ++#define HAVE_SIMDJSON 1 ++#elif __has_include("simdjson/simdjson.h") && __has_include("simdjson/simdjson.cpp") + #include "simdjson/simdjson.h" + #include "simdjson/simdjson.cpp" + #define HAVE_SIMDJSON 1 +-- +2.34.1 + + +From 4c609cb1467478cb669b5ca2290606128543a48c Mon Sep 17 00:00:00 2001 +From: Jean-Pierre De Jesus DIAZ +Date: Thu, 6 Jul 2023 15:56:01 +0200 +Subject: [PATCH 3/4] Allow using system robin-hood-hashing + +Signed-off-by: Jean-Pierre De Jesus DIAZ +--- + Fulcrum.pro | 13 ++++++++++--- + src/Controller.cpp | 2 +- + src/Storage.cpp | 4 ++-- + 3 files changed, 13 insertions(+), 6 deletions(-) + +diff --git a/Fulcrum.pro b/Fulcrum.pro +index c478af6..99c7659 100644 +--- a/Fulcrum.pro ++++ b/Fulcrum.pro +@@ -149,6 +149,16 @@ contains(CONFIG, config_endian_big) { + } + # /GIT_COMMIT= + ++# robin-hood-hashing ++!contains(CONFIG, config_without_bundled_robin_hood) { ++ # Robin Hood unordered_flat_map implememntation (single header and MUCH more efficient than unordered_map!) ++ HEADERS += robin_hood/robin_hood.h ++ INCLUDEPATH += src/robin_hood/ ++} else { ++ message("robin-hood-hashing: Using CLI override") ++} ++# /robin-hood-hashing ++ + # simdjson + contains(LIBS, -lsimdjson) { + message("simdjson: Using CLI override") +@@ -402,9 +412,6 @@ HEADERS += \ + WebSocket.h \ + ZmqSubNotifier.h + +-# Robin Hood unordered_flat_map implememntation (single header and MUCH more efficient than unordered_map!) +-HEADERS += robin_hood/robin_hood.h +- + RESOURCES += \ + resources.qrc + +diff --git a/src/Controller.cpp b/src/Controller.cpp +index 918c1f2..d0cab56 100644 +--- a/src/Controller.cpp ++++ b/src/Controller.cpp +@@ -33,7 +33,7 @@ + #include "bitcoin/crypto/common.h" // ReadLE32 + #include "bitcoin/rpc/protocol.h" // for RPC_INVALID_ADDRESS_OR_KEY + #include "bitcoin/transaction.h" +-#include "robin_hood/robin_hood.h" ++#include + + #include + #include +diff --git a/src/Storage.cpp b/src/Storage.cpp +index e74278c..0f0b91e 100644 +--- a/src/Storage.cpp ++++ b/src/Storage.cpp +@@ -31,7 +31,7 @@ + + #include "bitcoin/hash.h" + +-#include "robin_hood/robin_hood.h" ++#include + + #if __has_include() + // Newer rocksdb 8.1 defines the `Cache` class in this header. :/ +@@ -4537,7 +4537,7 @@ namespace { + } // end anon namespace + + #ifdef ENABLE_TESTS +-#include "robin_hood/robin_hood.h" ++#include + namespace { + + template +-- +2.34.1 + + +From 0e3888b12f62553b032a56b71d2c1545add080b6 Mon Sep 17 00:00:00 2001 +From: Jean-Pierre De Jesus DIAZ +Date: Thu, 6 Jul 2023 16:04:57 +0200 +Subject: [PATCH 4/4] Allow using system cppzmq + +Signed-off-by: Jean-Pierre De Jesus DIAZ +--- + Fulcrum.pro | 8 ++++++++ + src/ZmqSubNotifier.cpp | 2 +- + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/Fulcrum.pro b/Fulcrum.pro +index 99c7659..0948834 100644 +--- a/Fulcrum.pro ++++ b/Fulcrum.pro +@@ -186,6 +186,14 @@ contains(LIBS, -lsimdjson) { + } + # /ZMQ + ++# cppzmq ++!contains(CONFIG, config_without_bundled_cppzmq) { ++ INCLUDEPATH += src/zmq ++} else { ++ message("cppzmq: Using CLI override") ++} ++# /cppzmq ++ + # - Try and detect rocksdb and if not, fall back to the staticlib. + # - User can suppress this behavior by specifying a "LIBS+=-lrocksdb..." on the + # CLI when they invoked qmake. In that case, they must set-up the LIBS+= and +diff --git a/src/ZmqSubNotifier.cpp b/src/ZmqSubNotifier.cpp +index 6b03784..48a41be 100644 +--- a/src/ZmqSubNotifier.cpp ++++ b/src/ZmqSubNotifier.cpp +@@ -23,7 +23,7 @@ + #if defined(ENABLE_ZMQ) + // real implementation + #define ZMQ_CPP11 +-#include "zmq/zmq.hpp" ++#include + + #include + +-- +2.34.1 + -- 2.34.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 28 05:44:06 2023 Received: (at 66120-done) by debbugs.gnu.org; 28 Sep 2023 09:44:06 +0000 Received: from localhost ([127.0.0.1]:53046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlnZ0-0003qp-0p for submit@debbugs.gnu.org; Thu, 28 Sep 2023 05:44:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qlnYw-0003q7-UH for 66120-done@debbugs.gnu.org; Thu, 28 Sep 2023 05:44:04 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qlnYd-0003GS-4e; Thu, 28 Sep 2023 05:43:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=68z/V8gKKPwcROnKDGNj2Y3oPwoG/bnP8M31UlEjauE=; b=ENgVW31ZwDhYbLyX2SDj /udUFvAwV7yf9aGLodX6ndjGrwr8CCvx4JXpE7Himb4OvOJF1a9XO/ljHx+lJps1jo1FXNmDIbsS4 evxcq6wHZe+k8Z77R4E4GnL0XexLJN1tN6w2TMvRnXu8IBIAzFhdH8h3tjTGOgJv37KRDcVqE2GSe zPZWsgdcfXVKMP+AXD3ljhxZyPkEfPsioxqZ3dlQPgRU0pGc37CpvFgA5/EyFj8Uiz4g4NdLmF71r xl0ZPUaeEglJZGPYRQXax4LZRAIWRqK0AnSKnVUg7sQAQqVhUdJFyTeZvuTAKxtbJzI1hW1PI29Vf qmyIg+xB4Hz8Nw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jean-Pierre De Jesus DIAZ Subject: Re: bug#66120: [PATCH 0/3] gnu: fulcrum: Update to 1.9.1. References: <20230920123738.1241364-1-jean@foundationdevices.com> Date: Thu, 28 Sep 2023 11:43:35 +0200 In-Reply-To: <20230920123738.1241364-1-jean@foundationdevices.com> (Jean-Pierre De Jesus DIAZ's message of "Wed, 20 Sep 2023 14:37:38 +0200") Message-ID: <8734yyy6ns.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 66120-done Cc: 66120-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Jean-Pierre De Jesus DIAZ skribis: > gnu: Add robin-hood-hashing. > gnu: Add simdjson 0.6. > gnu: fulcrum: Update to 1.9.1. I added the patch to =E2=80=98gnu/local.mk=E2=80=99 and committed. Thanks! Ludo=E2=80=99. From unknown Thu Jun 19 14:18:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 26 Oct 2023 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator