[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45316: [PATCH 05/26] gnu: emacs-libgit: Adjust following emacs-build
From: |
Maxim Cournoyer |
Subject: |
bug#45316: [PATCH 05/26] gnu: emacs-libgit: Adjust following emacs-build-system changes. |
Date: |
Fri, 18 Dec 2020 17:17:02 -0500 |
* gnu/packages/emacs-xyz.scm (emacs-libgit)[phases]
{set-libgit--module-file}: Adjust the installation prefix.
{create-pkg.el}: New phase.
---
gnu/packages/emacs-xyz.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 01dab957aa..1a168075e3 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -457,7 +457,8 @@ on stdout instead of using a socket as the Emacsclient
does.")
(make-file-writable "libgit.el")
(emacs-substitute-variables "libgit.el"
("libgit--module-file"
- (string-append out "/share/emacs/site-lisp/libegit2.so")))
+ (string-append (emacs:outputs->elpa-install-dir outputs)
+ "/libegit2.so")))
#t)))
(add-before 'install 'prepare-for-install
(lambda _
@@ -471,7 +472,9 @@ on stdout instead of using a socket as the Emacsclient
does.")
(install #:outputs outputs
#:include (cons "\\.so$"
emacs:%default-include)))))
- (add-after 'install 'make-autoloads
+ (add-after 'install 'create-pkg.el
+ (assoc-ref emacs:%standard-phases 'create-pkg.el))
+ (add-after 'create-pkg.el 'make-autoloads
(assoc-ref emacs:%standard-phases 'make-autoloads))
(add-after 'make-autoloads 'enable-autoloads-compilation
(assoc-ref emacs:%standard-phases 'enable-autoloads-compilation))
--
2.29.2
- bug#45316: [PATCH]: Re-introduce Emacs packages specific installation prefix., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 01/26] build-systems/emacs: Install packages in their own directory., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 02/26] gnu: emacs-ert-runner: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 04/26] gnu: cedille: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 03/26] gnu: emacs-xyz: Do not use --quick or -Q., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 08/26] gnu: emacs-scel: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 05/26] gnu: emacs-libgit: Adjust following emacs-build-system changes.,
Maxim Cournoyer <=
- bug#45316: [PATCH 06/26] gnu: emacs-typit: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 07/26] gnu: emacs-flycheck-grammalecte: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 11/26] gnu: emacs-edbi: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 10/26] gnu: emacs-org-contrib: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 09/26] gnu: emacs-chess: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 12/26] gnu: emacs-telega: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 13/26] gnu: emacs-rime: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 14/26] gnu: emacs-haskell-snippets: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 16/26] gnu: emacs-pdf-tools: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18
- bug#45316: [PATCH 17/26] gnu: emacs-emacsql: Adjust following emacs-build-system changes., Maxim Cournoyer, 2020/12/18