all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#65290] [PATCH emacs-team 0/2] fix emacs-emacsql and related packages
@ 2023-08-14 14:54 Arjan Adriaanse
  2023-08-14 14:56 ` [bug#65290] [PATCH emacs-team 1/2] gnu: emacs-emacsql: Update to 3.1.1-1.29194a6 Arjan Adriaanse
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arjan Adriaanse @ 2023-08-14 14:54 UTC (permalink / raw)
  To: 65290; +Cc: Arjan Adriaanse, Andrew Tropin, Liliana Marie Prikler

This updates emacs-emacsql and removes emacs-emacsql-sqlite3 to fix building
with Emacs 29.  Tested by rebuilding dependent packages.

Arjan Adriaanse (2):
  gnu: emacs-emacsql: Update to 3.1.1-1.29194a6.
  gnu: Remove emacs-emacsql-sqlite3.

 gnu/packages/emacs-xyz.scm | 55 +++-----------------------------------
 1 file changed, 4 insertions(+), 51 deletions(-)


base-commit: 51deacd8604b59aa434e944c73aecefd5183d13e
-- 
2.41.0





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

* [bug#65290] [PATCH emacs-team 1/2] gnu: emacs-emacsql: Update to 3.1.1-1.29194a6.
  2023-08-14 14:54 [bug#65290] [PATCH emacs-team 0/2] fix emacs-emacsql and related packages Arjan Adriaanse
@ 2023-08-14 14:56 ` Arjan Adriaanse
  2023-08-14 14:56 ` [bug#65290] [PATCH emacs-team 2/2] gnu: Remove emacs-emacsql-sqlite3 Arjan Adriaanse
  2023-08-15  3:34 ` bug#65290: [PATCH emacs-team 0/2] fix emacs-emacsql and related packages Liliana Marie Prikler
  2 siblings, 0 replies; 4+ messages in thread
From: Arjan Adriaanse @ 2023-08-14 14:56 UTC (permalink / raw)
  To: 65290; +Cc: Arjan Adriaanse, Andrew Tropin, Liliana Marie Prikler

This commit fixes the check phase when building with Emacs 29.

* gnu/packages/emacs-xyz.scm (emacs-emacsql): Update to 3.1.1-1.29194a6.
[arguments]<#:phases>{remove-sqlite-builtin}: Remove phase.
---
 gnu/packages/emacs-xyz.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 1a44926729..6dc98183f8 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21900,8 +21900,8 @@ (define-public emacs-finalize
   (license license:unlicense)))
 
 (define-public emacs-emacsql
-  (let ((commit "e1baaf2f874df7f9259a8ecca978e03d3ddae5b5")
-        (revision "0"))
+  (let ((commit "29194a63ede3ee24c7457c2fde03b0f1320ca4b1")
+        (revision "1"))
     (package
       (name "emacs-emacsql")
       (version (git-version "3.1.1" revision commit))
@@ -21913,7 +21913,7 @@ (define-public emacs-emacsql
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "0dvqs1jg5zqn0i3r67sn1a40h5rm961q9vxvmqxbgvdhkjvip8fn"))))
+          (base32 "14yj53xxqi3009bdj39k2fqwyc896yp2m7gdkgyv47wlkh1xwzxh"))))
       (build-system emacs-build-system)
       (arguments
        (list
@@ -21929,12 +21929,6 @@ (define-public emacs-emacsql
                     (srfi srfi-26))
         #:phases
         #~(modify-phases %standard-phases
-            (add-before 'install 'remove-sqlite-builtin
-              ;; Current emacs 28.2 doesn't have sqlite feature and compilation
-              ;; of this file fails.  This phase should be removed, when emacs
-              ;; package is updated to 29.
-              (lambda _
-                (delete-file "emacsql-sqlite-builtin.el")))
             (add-before 'install 'patch-elisp-shell-shebangs
               (lambda _
                 (substitute* (find-files "." "\\.el")
-- 
2.41.0





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

* [bug#65290] [PATCH emacs-team 2/2] gnu: Remove emacs-emacsql-sqlite3.
  2023-08-14 14:54 [bug#65290] [PATCH emacs-team 0/2] fix emacs-emacsql and related packages Arjan Adriaanse
  2023-08-14 14:56 ` [bug#65290] [PATCH emacs-team 1/2] gnu: emacs-emacsql: Update to 3.1.1-1.29194a6 Arjan Adriaanse
@ 2023-08-14 14:56 ` Arjan Adriaanse
  2023-08-15  3:34 ` bug#65290: [PATCH emacs-team 0/2] fix emacs-emacsql and related packages Liliana Marie Prikler
  2 siblings, 0 replies; 4+ messages in thread
From: Arjan Adriaanse @ 2023-08-14 14:56 UTC (permalink / raw)
  To: 65290; +Cc: Arjan Adriaanse, Andrew Tropin, Liliana Marie Prikler

This package is obsolete since Emacs 29.

* gnu/packages/emacs-xyz.scm (emacs-emacsql-sqlite3): Delete variable.
(emacs-org-roam)[propagated-inputs]: Replace with emacs-emacsql.
---
 gnu/packages/emacs-xyz.scm | 43 +-------------------------------------
 1 file changed, 1 insertion(+), 42 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6dc98183f8..412ace373e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21966,47 +21966,6 @@ (define-public emacs-emacsql
 object @code{nil} corresponds 1:1 with @code{NULL} in the database.")
       (license license:gpl3+))))
 
-(define-public emacs-emacsql-sqlite3
-  ;; This commit contains changes necessary for Sqlite 3.38+.
-  (let ((commit "2113618732665f2112cb932a66c0e89c404d8777")
-        (revision "1"))
-    (package
-      (name "emacs-emacsql-sqlite3")
-      (version (git-version "1.0.2" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/cireu/emacsql-sqlite3")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "0r8svrd0d4cflx8a8gkynnhafcpv3ksn9rds8dhyx5yibximbzsw"))))
-      (build-system emacs-build-system)
-      (arguments
-       `(#:tests? #t
-         #:test-command '("emacs" "-Q" "--batch" "-L" "."
-                          "--load" "emacsql-sqlite3-test.el"
-                          "-f" "ert-run-tests-batch-and-exit")
-         #:phases
-         (modify-phases %standard-phases
-           (add-after 'unpack 'embed-path-to-sqlite3
-             (lambda _
-               (substitute* "emacsql-sqlite3.el"
-                 (("\\(executable-find \"sqlite3\"\\)")
-                  (string-append "\"" (which "sqlite3") "\""))))))))
-      (native-inputs
-       (list emacs-ert-runner))
-      (inputs
-       (list sqlite))
-      (propagated-inputs
-       (list emacs-emacsql))
-      (home-page "https://github.com/cireu/emacsql-sqlite3")
-      (synopsis "EmacSQL backend for SQLite")
-      (description "This is yet another EmacSQL backend for SQLite which uses
-official @command{sqlite3} executable to access SQL database.")
-      (license license:gpl3+))))
-
 (define-public emacs-closql
   (package
     (name "emacs-closql")
@@ -35269,7 +35228,7 @@ (define-public emacs-org-roam
        (list texinfo))
       (propagated-inputs
        (list emacs-dash
-             emacs-emacsql-sqlite3
+             emacs-emacsql
              emacs-f
              emacs-magit
              emacs-org
-- 
2.41.0





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

* bug#65290: [PATCH emacs-team 0/2] fix emacs-emacsql and related packages
  2023-08-14 14:54 [bug#65290] [PATCH emacs-team 0/2] fix emacs-emacsql and related packages Arjan Adriaanse
  2023-08-14 14:56 ` [bug#65290] [PATCH emacs-team 1/2] gnu: emacs-emacsql: Update to 3.1.1-1.29194a6 Arjan Adriaanse
  2023-08-14 14:56 ` [bug#65290] [PATCH emacs-team 2/2] gnu: Remove emacs-emacsql-sqlite3 Arjan Adriaanse
@ 2023-08-15  3:34 ` Liliana Marie Prikler
  2 siblings, 0 replies; 4+ messages in thread
From: Liliana Marie Prikler @ 2023-08-15  3:34 UTC (permalink / raw)
  To: Arjan Adriaanse, 65290-done; +Cc: Andrew Tropin

Am Montag, dem 14.08.2023 um 16:54 +0200 schrieb Arjan Adriaanse:
> This updates emacs-emacsql and removes emacs-emacsql-sqlite3 to fix
> building with Emacs 29.  Tested by rebuilding dependent packages.
Thanks.




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

end of thread, other threads:[~2023-08-15  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-14 14:54 [bug#65290] [PATCH emacs-team 0/2] fix emacs-emacsql and related packages Arjan Adriaanse
2023-08-14 14:56 ` [bug#65290] [PATCH emacs-team 1/2] gnu: emacs-emacsql: Update to 3.1.1-1.29194a6 Arjan Adriaanse
2023-08-14 14:56 ` [bug#65290] [PATCH emacs-team 2/2] gnu: Remove emacs-emacsql-sqlite3 Arjan Adriaanse
2023-08-15  3:34 ` bug#65290: [PATCH emacs-team 0/2] fix emacs-emacsql and related packages Liliana Marie Prikler

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.