From unknown Sun Jun 22 08:11:14 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72720] [PATCH 1/3] gnu: emacsql: Update to 4.0.1. Resent-From: Thanos Apollo Original-Sender: "Debbugs-submit" Resent-CC: andrew@trop.in, cox.katherine.e+guix@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 19 Aug 2024 21:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72720 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72720@debbugs.gnu.org Cc: Thanos Apollo , Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Received: via spool by submit@debbugs.gnu.org id=B.17241024443274 (code B ref -1); Mon, 19 Aug 2024 21:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Aug 2024 21:20:44 +0000 Received: from localhost ([127.0.0.1]:59331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg9nw-0000qj-6w for submit@debbugs.gnu.org; Mon, 19 Aug 2024 17:20:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:43002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg9nt-0000qY-NQ for submit@debbugs.gnu.org; Mon, 19 Aug 2024 17:20:42 -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 1sg9nD-0002yq-A1 for guix-patches@gnu.org; Mon, 19 Aug 2024 17:19:59 -0400 Received: from smtp.forwardemail.net ([149.28.215.223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sg9nB-0005zN-8E for guix-patches@gnu.org; Mon, 19 Aug 2024 17:19:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thanosapollo.org; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-4dbabb00f3; t=1724102394; bh=BxwV7WU0gyePRQIBU0ZQxMkBMg2fXbJh/S7XyzGxJsY=; b=uAYP8Bu/rjBcPAbJ721RIiwSoeCfTnxBVc6LCz2HImMDG9WEpLh32BkHBMWZSHXzeC6AZHqLg H3M9TyvSmMLEjBq+VjFSNj7oTNmzevvqj38IakU9tjDZOU0ugV5zzcTNYIEs1ZeVk4WirQfrLUr vfrCV7nU4JNptjVxv33IZl4= From: Thanos Apollo Date: Tue, 20 Aug 2024 00:19:53 +0300 Message-ID: <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; public@thanosapollo.org, smtp.forwardemail.net, 149.28.215.223 X-ForwardEmail-ID: 66c3b6edd97cef309367ea62 Received-SPF: pass client-ip=149.28.215.223; envelope-from=SRS0=a137=PT=thanosapollo.org=public@fe-bounces.thanosapollo.org; helo=smtp.forwardemail.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) * gnu/packages/emacs-xyz.scm (emacs-emacsql): Update to 4.0.1. * Update to version 4.0.1, which deprecates much of the previous functionality outside of emacs-emacsqlite and focuses on utilizing the built-in SQLite capabilities of Emacss, thus the change of the recipe. Change-Id: Ibc0ee0a1d2a9b5bc4b07e5b5f31c073f2366744d --- gnu/packages/emacs-xyz.scm | 120 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 63 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9f9d9934cd..54586b8f3a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -23510,71 +23510,65 @@ (define-public emacs-finalize (license license:unlicense))) (define-public emacs-emacsql - (let ((commit "efddd69c5e69214dbbe921fbf90f938501414894") - (revision "2")) - (package - (name "emacs-emacsql") - (version (git-version "3.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/magit/emacsql") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1abwc7kzlmk6z68glnya6kxffrrqrhgpwrpzqpjc1l179gg1i1rg")))) - (build-system emacs-build-system) - (arguments - (list - #:tests? #true - #:test-command #~(list "emacs" "-Q" "--batch" - "-L" "tests" - "-L" "." - "-l" "tests/emacsql-tests.el" - "-f" "ert-run-tests-batch-and-exit") - #:modules '((guix build emacs-build-system) - (guix build utils) - (guix build emacs-utils) - (srfi srfi-26)) - #:phases - #~(modify-phases %standard-phases - (add-before 'install 'patch-elisp-shell-shebangs - (lambda _ - (substitute* (find-files "." "\\.el") - (("/bin/sh") (which "sh"))))) - (add-after 'patch-elisp-shell-shebangs 'setenv-shell - (lambda _ - (setenv "SHELL" "sh"))) - (add-after 'setenv-shell 'build-emacsql-sqlite - (lambda _ - (invoke "make" "binary" (string-append "CC=" #$(cc-for-target))))) - (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite - ;; This build phase installs emacs-emacsql binary. - (lambda _ - (install-file "sqlite/emacsql-sqlite" - (string-append #$output "/bin")))) - (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el - ;; This build phase removes interactive prompts - ;; and makes sure Emacs look for binaries in the right places. - (lambda _ - (emacs-substitute-variables "emacsql-sqlite.el" - ("emacsql-sqlite-executable" - (string-append #$output "/bin/emacsql-sqlite")) - ;; Make sure Emacs looks for ‘GCC’ binary in the right place. - ("emacsql-sqlite-c-compilers" - `(list ,(which "gcc"))))))))) - (inputs - (list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql)) - (propagated-inputs - (list emacs-finalize emacs-pg emacs-sqlite3-api)) - (home-page "https://github.com/magit/emacsql") - (synopsis "Emacs high-level SQL database front-end") - (description "Any readable Lisp value can be stored as a value in EmacSQL, -including numbers, strings, symbols, lists, vectors, and closures. EmacSQL + (package + (name "emacs-emacsql") + (version "4.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/magit/emacsql") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1d7628rmb5wwvafrn3m3f8z3mb696wklwlcds71j8l5x782wh8hf")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #true + #:test-command #~(list "emacs" "-Q" "--batch" + "-L" "tests" + "-L" "." + "-l" "tests/emacsql-tests.el" + "-f" "ert-run-tests-batch-and-exit") + #:modules '((guix build emacs-build-system) + (guix build utils) + (guix build emacs-utils) + (srfi srfi-26)) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'patch-elisp-shell-shebangs + (lambda _ + (substitute* (find-files "." "\\.el") + (("/bin/sh") (which "sh"))))) + (add-after 'patch-elisp-shell-shebangs 'setenv-shell + (lambda _ + (setenv "SHELL" "sh"))) + (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite + ;; This build phase installs emacs-emacsql binary. + (lambda _ + (install-file "sqlite/emacsql-sqlite" + (string-append #$output "/bin")))) + (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el + ;; This build phase removes interactive prompts + ;; and makes sure Emacs look for binaries in the right places. + (lambda _ + (emacs-substitute-variables "emacsql-sqlite.el" + ("emacsql-sqlite-executable" + (string-append #$output "/bin/emacsql-sqlite")) + ;; Make sure Emacs looks for ‘GCC’ binary in the right place. + ("emacsql-sqlite-c-compilers" + `(list ,(which "gcc"))))))))) + (inputs + (list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql)) + (propagated-inputs + (list emacs-finalize emacs-pg emacs-sqlite3-api)) + (home-page "https://github.com/magit/emacsql") + (synopsis "Emacs high-level SQL database front-end") + (description "EmacSQL is a high-level Emacs Lisp front-end for SQLite. PostgreSQL and MySQL are also supported, but use of these connectors is not recommended. Any readable Lisp value can be stored as a value in EmacSQL, including numbers, strings, symbols, lists, vectors, and closures. EmacSQL has no concept of @code{TEXT} values; it's all just Lisp objects. The Lisp object @code{nil} corresponds 1:1 with @code{NULL} in the database.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public emacs-closql (package base-commit: aeafd92ca5b23d243f5bc834c5804e720bd1a80b -- 2.45.2 From unknown Sun Jun 22 08:11:14 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72720] [PATCH 1/3] gnu: emacsql: Update to 4.0.1. References: <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Sep 2024 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72720 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72720@debbugs.gnu.org Cc: Thanos Apollo Received: via spool by 72720-submit@debbugs.gnu.org id=B72720.172555784913643 (code B ref 72720); Thu, 05 Sep 2024 17:38:01 +0000 Received: (at 72720) by debbugs.gnu.org; 5 Sep 2024 17:37:29 +0000 Received: from localhost ([127.0.0.1]:38179 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smGQC-0003Xy-OS for submit@debbugs.gnu.org; Thu, 05 Sep 2024 13:37:29 -0400 Received: from msg-2.mailo.com ([213.182.54.12]:36546 helo=mailo.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smGQA-0003Xg-1f for 72720@debbugs.gnu.org; Thu, 05 Sep 2024 13:37:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nicolasgoaziou.fr; s=mailo; t=1725557773; bh=GS3eq41iNxkwdmeuk9VzFCdp3V2Vsqkf2sLUK31Xv6I=; h=X-EA-Auth:From:To:Cc:Subject:In-Reply-To:Date:Message-ID: MIME-Version:Content-Type; b=Ck+XvzfiJEXRAApIyjeWTMFj0hbNItYYZo5xGJWub3aQuPB1N/eHLnfxIFwoi86NQ thtqPvgdpOIIHscdt+ksjCfu5oIGE/BQozFNSEEnAJ12wM/czNg5AzAjCs5GPpbm3D X0gkK+l/4BpcJ5LlK/0NCekHdhWsVaWCo+cxpuT0= Received: by b221-1.in.mailobj.net [192.168.90.21] with ESMTP via ip-20.mailobj.net [213.182.54.20] Thu, 5 Sep 2024 19:36:13 +0200 (CEST) X-EA-Auth: dTaYmIYMXsnhkdI+59jut4j8JwUOKgb8RNu74VyFHB76+K6PS/nEw3q3edMK3JlEnxXLbKkLji1URDh9zNX0xfQIru6zfNy24k+WkQpYsJA= From: Nicolas Goaziou In-Reply-To: <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> Date: Thu, 05 Sep 2024 19:35:57 +0200 Message-ID: <87plpioveq.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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 (-) Hello, > * gnu/packages/emacs-xyz.scm (emacs-emacsql): Update to 4.0.1. > * Update to version 4.0.1, which deprecates much of the previous functionality > outside of emacs-emacsqlite and focuses on utilizing the built-in SQLite > capabilities of Emacss, thus the change of the recipe. It seems this patch is no longer applicable since the Emacs package is already at 4.0.1. I couldn't spot any difference besides changes to its description. Do you think it's still worth modifying the description, or shall we close this bug report along with 72718, which seems to be a duplicate? Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 12 13:01:45 2024 Received: (at control) by debbugs.gnu.org; 12 Sep 2024 17:01:45 +0000 Received: from localhost ([127.0.0.1]:41780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sonCT-0005Ca-7j for submit@debbugs.gnu.org; Thu, 12 Sep 2024 13:01:45 -0400 Received: from eggs.gnu.org ([209.51.188.92]:41282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sonCR-0005CM-UB for control@debbugs.gnu.org; Thu, 12 Sep 2024 13:01:44 -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 1sonCE-0001V4-LH for control@debbugs.gnu.org; Thu, 12 Sep 2024 13:01:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=xU4cY7Wr3eM3UVXLXAAJaePt13o9SDEbL+OACnbg7mQ=; b=Ws+pzlQ7XQozmR J+3ROWISP3iQhU4Mu8pI48dUOBYLKQlZ9EmE60ajstUooIzSZ8Xgf5OI5Fc5zD8L16THg/lIKG4mc s8iedmsx4VbFihtH0mKeFOz8OIjmrkeBYaGsR+qi0BWsJh4NyLHPA+qHBcK0Eu/SO51gHkDqBnySV C6xs9jC+nl9KKqnxeE6gaTXpx5y6H8dU9pD4Or/G2pj/sm9oI62kTRp4XG6aI6kIqxKI2Oy6Xq6q0 phRUWNY/JlC7XJhqGuFwoUjjQXuzbiYOtOImvxyP3ohPHNG4vrdIfu/6TBlKeIk0YVLgRhj9vBY3u 4QXZ3nlfuM70JICPCTeQ==; Date: Thu, 12 Sep 2024 19:01:28 +0200 Message-Id: <875xr0kdqv.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #72718 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) merge 72718 72720 quit From unknown Sun Jun 22 08:11:14 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#72720] [PATCH 1/3] gnu: emacsql: Update to 4.0.1. References: <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Mar 2025 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72720 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72720-done@debbugs.gnu.org Cc: public@thanosapollo.org, 72720@debbugs.gnu.org, mail@nicolasgoaziou.fr Received: via spool by 72720-submit@debbugs.gnu.org id=B72720.17428941955757 (code B ref 72720); Tue, 25 Mar 2025 09:17:02 +0000 Received: (at 72720) by debbugs.gnu.org; 25 Mar 2025 09:16:35 +0000 Received: from localhost ([127.0.0.1]:36225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tx0Og-0001Uh-Tn for submit@debbugs.gnu.org; Tue, 25 Mar 2025 05:16:35 -0400 Received: from latitanza.investici.org ([82.94.249.234]:36917) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tx0Ob-0001UP-P5; Tue, 25 Mar 2025 05:16:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1742894187; bh=lIYdrNoJXAsxTbAb9BNe3+kE/H+GiDFT2BKx7iL0qu8=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=Ie+QUnCKRepZMNfIQ49idceHnOMBEJt+80dOzsgLMLwMDkR1hGjyf1s2mHBHNRtTU EDmVnOu0PiwHaAj8hknGS33tXVF7vSUBm45sv0x91jRleHqlwsUZDZLK7NpA2H3slN fv6YKpUWgMJsFfGIq7+nKqWoTM1b0TtatMoHGki0= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZMPRv1XdhzGp4Y; Tue, 25 Mar 2025 09:16:27 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZMPRt6zs0zGp4T; Tue, 25 Mar 2025 09:16:26 +0000 (UTC) From: Cayetano Santos In-Reply-To: <87plpioveq.fsf@nicolasgoaziou.fr> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Tue, 25 Mar 2025 10:16:25 +0100 Message-ID: <874izh1ndi.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain Closing, as not applicable any more, we have 4.2.0 in the repos. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ+J0aRccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgsmdAPwK6KjHYNzldpUxNZy+hBN4NwWr Yj9fuaENQhansunnwwEAwjeg373aMHb/K41fu4jZeuqjW22uj0b4sXQqU2ztRQ4= =cKJK -----END PGP SIGNATURE----- --=-=-=-- From unknown Sun Jun 22 08:11:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Thanos Apollo Subject: bug#72720: closed (Re: [bug#72720] [PATCH 1/3] gnu: emacsql: Update to 4.0.1.) Message-ID: References: <874izh1ndi.fsf@inventati.org> <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> X-Gnu-PR-Message: they-closed 72720 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 72720@debbugs.gnu.org Date: Tue, 25 Mar 2025 09:17:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1742894223-5808-1" This is a multi-part message in MIME format... ------------=_1742894223-5808-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72720: [PATCH 1/3] gnu: emacsql: Update to 4.0.1. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72720@debbugs.gnu.org. --=20 72720: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72720 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1742894223-5808-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72720-done) by debbugs.gnu.org; 25 Mar 2025 09:16:35 +0000 Received: from localhost ([127.0.0.1]:36223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tx0Og-0001Ue-MU for submit@debbugs.gnu.org; Tue, 25 Mar 2025 05:16:34 -0400 Received: from latitanza.investici.org ([82.94.249.234]:36917) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tx0Ob-0001UP-P5; Tue, 25 Mar 2025 05:16:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1742894187; bh=lIYdrNoJXAsxTbAb9BNe3+kE/H+GiDFT2BKx7iL0qu8=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=Ie+QUnCKRepZMNfIQ49idceHnOMBEJt+80dOzsgLMLwMDkR1hGjyf1s2mHBHNRtTU EDmVnOu0PiwHaAj8hknGS33tXVF7vSUBm45sv0x91jRleHqlwsUZDZLK7NpA2H3slN fv6YKpUWgMJsFfGIq7+nKqWoTM1b0TtatMoHGki0= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZMPRv1XdhzGp4Y; Tue, 25 Mar 2025 09:16:27 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZMPRt6zs0zGp4T; Tue, 25 Mar 2025 09:16:26 +0000 (UTC) From: Cayetano Santos To: 72720-done@debbugs.gnu.org Subject: Re: [bug#72720] [PATCH 1/3] gnu: emacsql: Update to 4.0.1. In-Reply-To: <87plpioveq.fsf@nicolasgoaziou.fr> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Tue, 25 Mar 2025 10:16:25 +0100 Message-ID: <874izh1ndi.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72720-done Cc: public@thanosapollo.org, 72720@debbugs.gnu.org, mail@nicolasgoaziou.fr 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.7 (-) --=-=-= Content-Type: text/plain Closing, as not applicable any more, we have 4.2.0 in the repos. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ+J0aRccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgsmdAPwK6KjHYNzldpUxNZy+hBN4NwWr Yj9fuaENQhansunnwwEAwjeg373aMHb/K41fu4jZeuqjW22uj0b4sXQqU2ztRQ4= =cKJK -----END PGP SIGNATURE----- --=-=-=-- ------------=_1742894223-5808-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Aug 2024 21:20:44 +0000 Received: from localhost ([127.0.0.1]:59331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg9nw-0000qj-6w for submit@debbugs.gnu.org; Mon, 19 Aug 2024 17:20:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:43002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg9nt-0000qY-NQ for submit@debbugs.gnu.org; Mon, 19 Aug 2024 17:20:42 -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 1sg9nD-0002yq-A1 for guix-patches@gnu.org; Mon, 19 Aug 2024 17:19:59 -0400 Received: from smtp.forwardemail.net ([149.28.215.223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sg9nB-0005zN-8E for guix-patches@gnu.org; Mon, 19 Aug 2024 17:19:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thanosapollo.org; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-4dbabb00f3; t=1724102394; bh=BxwV7WU0gyePRQIBU0ZQxMkBMg2fXbJh/S7XyzGxJsY=; b=uAYP8Bu/rjBcPAbJ721RIiwSoeCfTnxBVc6LCz2HImMDG9WEpLh32BkHBMWZSHXzeC6AZHqLg H3M9TyvSmMLEjBq+VjFSNj7oTNmzevvqj38IakU9tjDZOU0ugV5zzcTNYIEs1ZeVk4WirQfrLUr vfrCV7nU4JNptjVxv33IZl4= From: Thanos Apollo To: guix-patches@gnu.org Subject: [PATCH 1/3] gnu: emacsql: Update to 4.0.1. Date: Tue, 20 Aug 2024 00:19:53 +0300 Message-ID: <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Debbugs-Cc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; public@thanosapollo.org, smtp.forwardemail.net, 149.28.215.223 X-ForwardEmail-ID: 66c3b6edd97cef309367ea62 Received-SPF: pass client-ip=149.28.215.223; envelope-from=SRS0=a137=PT=thanosapollo.org=public@fe-bounces.thanosapollo.org; helo=smtp.forwardemail.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Thanos Apollo 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: -2.4 (--) * gnu/packages/emacs-xyz.scm (emacs-emacsql): Update to 4.0.1. * Update to version 4.0.1, which deprecates much of the previous functionality outside of emacs-emacsqlite and focuses on utilizing the built-in SQLite capabilities of Emacss, thus the change of the recipe. Change-Id: Ibc0ee0a1d2a9b5bc4b07e5b5f31c073f2366744d --- gnu/packages/emacs-xyz.scm | 120 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 63 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9f9d9934cd..54586b8f3a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -23510,71 +23510,65 @@ (define-public emacs-finalize (license license:unlicense))) (define-public emacs-emacsql - (let ((commit "efddd69c5e69214dbbe921fbf90f938501414894") - (revision "2")) - (package - (name "emacs-emacsql") - (version (git-version "3.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/magit/emacsql") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1abwc7kzlmk6z68glnya6kxffrrqrhgpwrpzqpjc1l179gg1i1rg")))) - (build-system emacs-build-system) - (arguments - (list - #:tests? #true - #:test-command #~(list "emacs" "-Q" "--batch" - "-L" "tests" - "-L" "." - "-l" "tests/emacsql-tests.el" - "-f" "ert-run-tests-batch-and-exit") - #:modules '((guix build emacs-build-system) - (guix build utils) - (guix build emacs-utils) - (srfi srfi-26)) - #:phases - #~(modify-phases %standard-phases - (add-before 'install 'patch-elisp-shell-shebangs - (lambda _ - (substitute* (find-files "." "\\.el") - (("/bin/sh") (which "sh"))))) - (add-after 'patch-elisp-shell-shebangs 'setenv-shell - (lambda _ - (setenv "SHELL" "sh"))) - (add-after 'setenv-shell 'build-emacsql-sqlite - (lambda _ - (invoke "make" "binary" (string-append "CC=" #$(cc-for-target))))) - (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite - ;; This build phase installs emacs-emacsql binary. - (lambda _ - (install-file "sqlite/emacsql-sqlite" - (string-append #$output "/bin")))) - (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el - ;; This build phase removes interactive prompts - ;; and makes sure Emacs look for binaries in the right places. - (lambda _ - (emacs-substitute-variables "emacsql-sqlite.el" - ("emacsql-sqlite-executable" - (string-append #$output "/bin/emacsql-sqlite")) - ;; Make sure Emacs looks for ‘GCC’ binary in the right place. - ("emacsql-sqlite-c-compilers" - `(list ,(which "gcc"))))))))) - (inputs - (list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql)) - (propagated-inputs - (list emacs-finalize emacs-pg emacs-sqlite3-api)) - (home-page "https://github.com/magit/emacsql") - (synopsis "Emacs high-level SQL database front-end") - (description "Any readable Lisp value can be stored as a value in EmacSQL, -including numbers, strings, symbols, lists, vectors, and closures. EmacSQL + (package + (name "emacs-emacsql") + (version "4.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/magit/emacsql") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1d7628rmb5wwvafrn3m3f8z3mb696wklwlcds71j8l5x782wh8hf")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #true + #:test-command #~(list "emacs" "-Q" "--batch" + "-L" "tests" + "-L" "." + "-l" "tests/emacsql-tests.el" + "-f" "ert-run-tests-batch-and-exit") + #:modules '((guix build emacs-build-system) + (guix build utils) + (guix build emacs-utils) + (srfi srfi-26)) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'patch-elisp-shell-shebangs + (lambda _ + (substitute* (find-files "." "\\.el") + (("/bin/sh") (which "sh"))))) + (add-after 'patch-elisp-shell-shebangs 'setenv-shell + (lambda _ + (setenv "SHELL" "sh"))) + (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite + ;; This build phase installs emacs-emacsql binary. + (lambda _ + (install-file "sqlite/emacsql-sqlite" + (string-append #$output "/bin")))) + (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el + ;; This build phase removes interactive prompts + ;; and makes sure Emacs look for binaries in the right places. + (lambda _ + (emacs-substitute-variables "emacsql-sqlite.el" + ("emacsql-sqlite-executable" + (string-append #$output "/bin/emacsql-sqlite")) + ;; Make sure Emacs looks for ‘GCC’ binary in the right place. + ("emacsql-sqlite-c-compilers" + `(list ,(which "gcc"))))))))) + (inputs + (list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql)) + (propagated-inputs + (list emacs-finalize emacs-pg emacs-sqlite3-api)) + (home-page "https://github.com/magit/emacsql") + (synopsis "Emacs high-level SQL database front-end") + (description "EmacSQL is a high-level Emacs Lisp front-end for SQLite. PostgreSQL and MySQL are also supported, but use of these connectors is not recommended. Any readable Lisp value can be stored as a value in EmacSQL, including numbers, strings, symbols, lists, vectors, and closures. EmacSQL has no concept of @code{TEXT} values; it's all just Lisp objects. The Lisp object @code{nil} corresponds 1:1 with @code{NULL} in the database.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public emacs-closql (package base-commit: aeafd92ca5b23d243f5bc834c5804e720bd1a80b -- 2.45.2 ------------=_1742894223-5808-1-- From unknown Sun Jun 22 08:11:14 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Thanos Apollo Subject: bug#72718: closed (Re: [bug#72720] [PATCH 1/3] gnu: emacsql: Update to 4.0.1.) Message-ID: References: <874izh1ndi.fsf@inventati.org> <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> X-Gnu-PR-Message: they-closed 72718 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 72718@debbugs.gnu.org Date: Tue, 25 Mar 2025 09:17:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1742894223-5808-3" This is a multi-part message in MIME format... ------------=_1742894223-5808-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #72720: [PATCH 1/3] gnu: emacsql: Update to 4.0.1. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 72718@debbugs.gnu.org. --=20 72720: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72720 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1742894223-5808-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 72720-done) by debbugs.gnu.org; 25 Mar 2025 09:16:35 +0000 Received: from localhost ([127.0.0.1]:36223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tx0Og-0001Ue-MU for submit@debbugs.gnu.org; Tue, 25 Mar 2025 05:16:34 -0400 Received: from latitanza.investici.org ([82.94.249.234]:36917) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tx0Ob-0001UP-P5; Tue, 25 Mar 2025 05:16:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1742894187; bh=lIYdrNoJXAsxTbAb9BNe3+kE/H+GiDFT2BKx7iL0qu8=; h=From:To:Cc:Subject:In-Reply-To:Date:From; b=Ie+QUnCKRepZMNfIQ49idceHnOMBEJt+80dOzsgLMLwMDkR1hGjyf1s2mHBHNRtTU EDmVnOu0PiwHaAj8hknGS33tXVF7vSUBm45sv0x91jRleHqlwsUZDZLK7NpA2H3slN fv6YKpUWgMJsFfGIq7+nKqWoTM1b0TtatMoHGki0= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4ZMPRv1XdhzGp4Y; Tue, 25 Mar 2025 09:16:27 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4ZMPRt6zs0zGp4T; Tue, 25 Mar 2025 09:16:26 +0000 (UTC) From: Cayetano Santos To: 72720-done@debbugs.gnu.org Subject: Re: [bug#72720] [PATCH 1/3] gnu: emacsql: Update to 4.0.1. In-Reply-To: <87plpioveq.fsf@nicolasgoaziou.fr> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Tue, 25 Mar 2025 10:16:25 +0100 Message-ID: <874izh1ndi.fsf@inventati.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 72720-done Cc: public@thanosapollo.org, 72720@debbugs.gnu.org, mail@nicolasgoaziou.fr 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.7 (-) --=-=-= Content-Type: text/plain Closing, as not applicable any more, we have 4.2.0 in the repos. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iI0EARYKADUWIQTMuBhC+dcFjs1nN3q/XN9N9r9mggUCZ+J0aRccY3NhbnRvc2JA aW52ZW50YXRpLm9yZwAKCRC/XN9N9r9mgsmdAPwK6KjHYNzldpUxNZy+hBN4NwWr Yj9fuaENQhansunnwwEAwjeg373aMHb/K41fu4jZeuqjW22uj0b4sXQqU2ztRQ4= =cKJK -----END PGP SIGNATURE----- --=-=-=-- ------------=_1742894223-5808-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Aug 2024 20:52:01 +0000 Received: from localhost ([127.0.0.1]:59317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg9M8-00005g-NI for submit@debbugs.gnu.org; Mon, 19 Aug 2024 16:52:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:41388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sg9M6-00005W-PE for submit@debbugs.gnu.org; Mon, 19 Aug 2024 16:51:59 -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 1sg9LQ-0008Eh-3M for guix-patches@gnu.org; Mon, 19 Aug 2024 16:51:16 -0400 Received: from smtp.forwardemail.net ([164.92.70.200]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sg9LN-0002Cq-Te for guix-patches@gnu.org; Mon, 19 Aug 2024 16:51:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thanosapollo.org; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-4dbabb00f3; t=1724100667; bh=BxwV7WU0gyePRQIBU0ZQxMkBMg2fXbJh/S7XyzGxJsY=; b=Q958e0Ggx3EQNT6ud1xTtWBBWwY23hkTemxP7nBnim1fwIAfY7Dr3haCQHPOSeRpZw8IYdo6J 2a5Ob/BNKMkQlHp5WEvUqQH6wfiDT9TPN2MWg8uVkdYHjiXOt9NLSq59Y0pGahMl4XM6gRoUbE/ auPR4MU1N7vEVPIIKcKZ8hE= From: Thanos Apollo To: guix-patches@gnu.org Subject: [PATCH 1/3] gnu: emacsql: Update to 4.0.1. Date: Mon, 19 Aug 2024 23:50:48 +0300 Message-ID: <9ce244da4b575fa8b7f67178a889b05a1b446326.1724100637.git.public@thanosapollo.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-Debbugs-Cc: Andrew Tropin , Katherine Cox-Buday , Liliana Marie Prikler Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Report-Abuse-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Complaints-To: abuse@forwardemail.net X-ForwardEmail-Version: 0.4.40 X-ForwardEmail-Sender: rfc822; public@thanosapollo.org, smtp.forwardemail.net, 164.92.70.200 X-ForwardEmail-ID: 66c3b03760cc4481bc86cbdc Received-SPF: pass client-ip=164.92.70.200; envelope-from=SRS0=a137=PT=thanosapollo.org=public@fe-bounces.thanosapollo.org; helo=smtp.forwardemail.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Thanos Apollo 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: -2.4 (--) * gnu/packages/emacs-xyz.scm (emacs-emacsql): Update to 4.0.1. * Update to version 4.0.1, which deprecates much of the previous functionality outside of emacs-emacsqlite and focuses on utilizing the built-in SQLite capabilities of Emacss, thus the change of the recipe. Change-Id: Ibc0ee0a1d2a9b5bc4b07e5b5f31c073f2366744d --- gnu/packages/emacs-xyz.scm | 120 ++++++++++++++++++------------------- 1 file changed, 57 insertions(+), 63 deletions(-) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 9f9d9934cd..54586b8f3a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -23510,71 +23510,65 @@ (define-public emacs-finalize (license license:unlicense))) (define-public emacs-emacsql - (let ((commit "efddd69c5e69214dbbe921fbf90f938501414894") - (revision "2")) - (package - (name "emacs-emacsql") - (version (git-version "3.1.1" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/magit/emacsql") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1abwc7kzlmk6z68glnya6kxffrrqrhgpwrpzqpjc1l179gg1i1rg")))) - (build-system emacs-build-system) - (arguments - (list - #:tests? #true - #:test-command #~(list "emacs" "-Q" "--batch" - "-L" "tests" - "-L" "." - "-l" "tests/emacsql-tests.el" - "-f" "ert-run-tests-batch-and-exit") - #:modules '((guix build emacs-build-system) - (guix build utils) - (guix build emacs-utils) - (srfi srfi-26)) - #:phases - #~(modify-phases %standard-phases - (add-before 'install 'patch-elisp-shell-shebangs - (lambda _ - (substitute* (find-files "." "\\.el") - (("/bin/sh") (which "sh"))))) - (add-after 'patch-elisp-shell-shebangs 'setenv-shell - (lambda _ - (setenv "SHELL" "sh"))) - (add-after 'setenv-shell 'build-emacsql-sqlite - (lambda _ - (invoke "make" "binary" (string-append "CC=" #$(cc-for-target))))) - (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite - ;; This build phase installs emacs-emacsql binary. - (lambda _ - (install-file "sqlite/emacsql-sqlite" - (string-append #$output "/bin")))) - (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el - ;; This build phase removes interactive prompts - ;; and makes sure Emacs look for binaries in the right places. - (lambda _ - (emacs-substitute-variables "emacsql-sqlite.el" - ("emacsql-sqlite-executable" - (string-append #$output "/bin/emacsql-sqlite")) - ;; Make sure Emacs looks for ‘GCC’ binary in the right place. - ("emacsql-sqlite-c-compilers" - `(list ,(which "gcc"))))))))) - (inputs - (list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql)) - (propagated-inputs - (list emacs-finalize emacs-pg emacs-sqlite3-api)) - (home-page "https://github.com/magit/emacsql") - (synopsis "Emacs high-level SQL database front-end") - (description "Any readable Lisp value can be stored as a value in EmacSQL, -including numbers, strings, symbols, lists, vectors, and closures. EmacSQL + (package + (name "emacs-emacsql") + (version "4.0.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/magit/emacsql") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1d7628rmb5wwvafrn3m3f8z3mb696wklwlcds71j8l5x782wh8hf")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #true + #:test-command #~(list "emacs" "-Q" "--batch" + "-L" "tests" + "-L" "." + "-l" "tests/emacsql-tests.el" + "-f" "ert-run-tests-batch-and-exit") + #:modules '((guix build emacs-build-system) + (guix build utils) + (guix build emacs-utils) + (srfi srfi-26)) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'patch-elisp-shell-shebangs + (lambda _ + (substitute* (find-files "." "\\.el") + (("/bin/sh") (which "sh"))))) + (add-after 'patch-elisp-shell-shebangs 'setenv-shell + (lambda _ + (setenv "SHELL" "sh"))) + (add-after 'build-emacsql-sqlite 'install-emacsql-sqlite + ;; This build phase installs emacs-emacsql binary. + (lambda _ + (install-file "sqlite/emacsql-sqlite" + (string-append #$output "/bin")))) + (add-after 'install-emacsql-sqlite 'patch-emacsql-sqlite.el + ;; This build phase removes interactive prompts + ;; and makes sure Emacs look for binaries in the right places. + (lambda _ + (emacs-substitute-variables "emacsql-sqlite.el" + ("emacsql-sqlite-executable" + (string-append #$output "/bin/emacsql-sqlite")) + ;; Make sure Emacs looks for ‘GCC’ binary in the right place. + ("emacsql-sqlite-c-compilers" + `(list ,(which "gcc"))))))))) + (inputs + (list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql)) + (propagated-inputs + (list emacs-finalize emacs-pg emacs-sqlite3-api)) + (home-page "https://github.com/magit/emacsql") + (synopsis "Emacs high-level SQL database front-end") + (description "EmacSQL is a high-level Emacs Lisp front-end for SQLite. PostgreSQL and MySQL are also supported, but use of these connectors is not recommended. Any readable Lisp value can be stored as a value in EmacSQL, including numbers, strings, symbols, lists, vectors, and closures. EmacSQL has no concept of @code{TEXT} values; it's all just Lisp objects. The Lisp object @code{nil} corresponds 1:1 with @code{NULL} in the database.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public emacs-closql (package base-commit: aeafd92ca5b23d243f5bc834c5804e720bd1a80b -- 2.45.2 ------------=_1742894223-5808-3--