emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49673: closed ([PATCH 1/2] gnu: emacs-typit: Fix dictionary location


From: GNU bug Tracking System
Subject: bug#49673: closed ([PATCH 1/2] gnu: emacs-typit: Fix dictionary location.)
Date: Tue, 27 Jul 2021 17:36:02 +0000

Your message dated Tue, 27 Jul 2021 19:35:04 +0200
with message-id <878s1rr77b.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#49673] [PATCH 1/2] gnu: emacs-typit: Fix dictionary 
location.
has caused the debbugs.gnu.org bug report #49673,
regarding [PATCH 1/2] gnu: emacs-typit: Fix dictionary location.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
49673: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=49673
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 1/2] gnu: emacs-typit: Fix dictionary location. Date: Tue, 20 Jul 2021 20:42:02 -0400
From: Morgan Smith <Morgan.J.Smith@outlook.com>

Move the dictionary directory to be next to the lisp files, where it is
expected to be.

* gnu/packages/emacs-xyz.scm (emacs-typit)[arguments]
<#:phases>: Remove install-dictionaries phase.
<#:include>: Include dictionaries.
---
 gnu/packages/emacs-xyz.scm | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5fe1c20976..f611277be2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1217,17 +1217,7 @@ handful of functions that are not resource-specific.")
           (base32 "1savrxs7xl92ifyxpxkkzv2didr7lb405h0dwz1bs1wldr5fb53f"))))
       (build-system emacs-build-system)
       (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (add-after 'install 'install-dictionaries
-             (lambda* (#:key outputs #:allow-other-keys)
-               (let* ((out (assoc-ref outputs "out"))
-                      (site-lisp
-                       (string-append
-                        out "/share/emacs/site-lisp/dict")))
-                 (mkdir-p site-lisp)
-                 (copy-recursively "dict" site-lisp)
-                 #t))))))
+        '(#:include (cons "^dict/" %default-include)))
       (propagated-inputs
        `(("emacs-f" ,emacs-f)
          ("emacs-mmt" ,emacs-mmt)))
-- 
2.32.0




--- End Message ---
--- Begin Message --- Subject: Re: [bug#49673] [PATCH 1/2] gnu: emacs-typit: Fix dictionary location. Date: Tue, 27 Jul 2021 19:35:04 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello,

Morgan.J.Smith@outlook.com writes:

> Move the dictionary directory to be next to the lisp files, where it is
> expected to be.

Applied both patches. Thank you.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]