diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-10-19 07:16:18 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-11-01 20:44:28 +0100 |
commit | b520ad2781b7be1660adeccdc4f7ddc09e7f2b49 (patch) | |
tree | 749abbfbfc2826439d7a09aa1f2ba6f74ec7a56a | |
parent | 5a780b1b1a30f606092c27fb42e66a5e904fc1e9 (diff) | |
download | guix-b520ad2781b7be1660adeccdc4f7ddc09e7f2b49.tar.gz guix-b520ad2781b7be1660adeccdc4f7ddc09e7f2b49.zip |
gnu: uim: Keep Emacs files in subdirectory.
* gnu/packages/xorg.scm (uim)[arguments]<#:configure-flags>: Drop
“--with-lispdir”.
<#:phases>: Drop ‘fix-install-path’. Adjust ‘make-autoloads’ accordingly.
-rw-r--r-- | gnu/packages/xorg.scm | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index f65ffa7476..bbaa432142 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -6298,7 +6298,6 @@ X11 servers, Windows, or macOS.") (guix build emacs-utils)) #:configure-flags (list "--with-anthy-utf8" - (string-append "--with-lispdir=" %output "/share/emacs") ;; Set proper runpath (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib") "CFLAGS=-O2 -g -fcommon") @@ -6312,21 +6311,11 @@ X11 servers, Windows, or macOS.") ("uim-el-agent" (string-append out "/bin/uim-el-agent")) ("uim-el-helper-agent" (string-append out "/bin/uim-el-helper-agent")))) #t)) - ;; Fix installation path by renaming share/emacs/uim-el to - ;; share/emacs/site-lisp - (add-after 'install 'fix-install-path - (lambda* (#:key outputs #:allow-other-keys) - (let ((share-emacs (string-append (assoc-ref outputs "out") - "/share/emacs"))) - (rename-file (string-append share-emacs "/uim-el") - (string-append share-emacs "/site-lisp"))) - #t)) - ;; Generate emacs autoloads for uim.el (add-after 'fix-install-path 'make-autoloads (lambda* (#:key outputs #:allow-other-keys) (emacs-generate-autoloads ,name (string-append (assoc-ref outputs "out") - "/share/emacs/site-lisp")) + "/share/emacs/site-lisp/uim-el")) #t))))) (home-page "https://github.com/uim/uim") (synopsis "Multilingual input method framework") |