[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
61/84: gnu: emacs-emacsql: Fix build.
From: |
guix-commits |
Subject: |
61/84: gnu: emacs-emacsql: Fix build. |
Date: |
Tue, 24 Dec 2024 09:29:13 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 000f3b6d5a54286dccc3b9b6f4315e75755f9693
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Dec 24 13:05:08 2024 +0100
gnu: emacs-emacsql: Fix build.
* gnu/packages/emacs-xyz.scm (emacs-emacsql)[arguments]<#:test-command>: Fix
test file names.
<#:phases>: Do not build now removed sqlite custom backend.
Change-Id: Ic9ed568f8d4e4994b7de0229205ab04b56c907fb
---
gnu/packages/emacs-xyz.scm | 32 ++++----------------------------
1 file changed, 4 insertions(+), 28 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0f393b2b69..8ed21bc523 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24467,39 +24467,15 @@ object has been freed.")
#:test-command #~(list "emacs" "-Q" "--batch"
"-L" "tests"
"-L" "."
- "-l" "tests/emacsql-tests.el"
+ "-l" "tests/emacsql-compiler-tests.el"
+ "-l" "tests/emacsql-external-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")))))))))
+ (("/bin/sh") (which "sh"))))))))
(inputs
(list emacs-minimal `(,mariadb "dev") `(,mariadb "lib") postgresql))
(propagated-inputs
@@ -35875,7 +35851,7 @@ time.")
(rename-file f
(basename f)))
el-files)))))))
- (propagated-inputs (list emacs-request emacs-tp emacs-ts emacs-persist))
+ (propagated-inputs (list emacs-request emacs-tp emacs-persist))
(home-page "https://codeberg.org/martianh/mastodon.el")
(synopsis "Emacs client for Mastodon")
(description "@code{mastodon.el} is an Emacs client for Mastodon, the
- 78/84: gnu: emacs-logos: Update to 1.2.0., (continued)
- 78/84: gnu: emacs-logos: Update to 1.2.0., guix-commits, 2024/12/24
- 74/84: gnu: emacs-vertico-posframe: Update to 0.7.8., guix-commits, 2024/12/24
- 82/84: gnu: emacs-arduino-mode: Update to 1.3.1., guix-commits, 2024/12/24
- 53/84: gnu: emacs-modus-themes: Update to 4.6.0., guix-commits, 2024/12/24
- 25/84: gnu: emacs-php-mode: Update to 1.27.0., guix-commits, 2024/12/24
- 52/84: gnu: emacs-mastodon: Update to 1.1.8., guix-commits, 2024/12/24
- 56/84: gnu: emacs-org-node: Update to 1.9.15., guix-commits, 2024/12/24
- 57/84: gnu: emacs-vertico: Update to 1.10., guix-commits, 2024/12/24
- 58/84: gnu: emacs-org-modern: Update to 1.6., guix-commits, 2024/12/24
- 62/84: gnu: emacs-activities: Update to 0.7.2., guix-commits, 2024/12/24
- 61/84: gnu: emacs-emacsql: Fix build.,
guix-commits <=
- 65/84: gnu: emacs-bluetooth: Update to 0.4.1., guix-commits, 2024/12/24
- 63/84: gnu: emacs-treeview: Update to 1.3.0., guix-commits, 2024/12/24
- 68/84: gnu: emacs-ob-asymptote: Update to 1.0.1., guix-commits, 2024/12/24
- 75/84: gnu: emacs-inspector: Update to 0.38., guix-commits, 2024/12/24
- 79/84: gnu: emacs-tmr: Update to 1.0.0., guix-commits, 2024/12/24
- 77/84: gnu: emacs-constants: Update to 2.11.1., guix-commits, 2024/12/24
- 84/84: gnu: emacs-code-cells: Update to 0.5., guix-commits, 2024/12/24
- 83/84: gnu: emacs-org-noter: Update to 1.6.1., guix-commits, 2024/12/24
- 31/84: gnu: emacs-pg: Update to 0.45., guix-commits, 2024/12/24
- 36/84: gnu: emacs-ebib: Update to 2.48., guix-commits, 2024/12/24