[PATCH 1/2] gnu: emacs-typit: Fix dictionary location.

  • Done
  • quality assurance status badge
Details
2 participants
  • Morgan.J.Smith
  • Nicolas Goaziou
Owner
unassigned
Submitted by
Morgan.J.Smith
Severity
normal
M
M
Morgan.J.Smith wrote on 21 Jul 2021 02:42
(address . guix-patches@gnu.org)(name . Morgan Smith)(address . Morgan.J.Smith@outlook.com)
BYAPR05MB402330DFC2F126F11DAEA381C5E39@BYAPR05MB4023.namprd05.prod.outlook.com
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(-)

Toggle diff (25 lines)
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
M
M
Morgan.J.Smith wrote on 21 Jul 2021 03:08
[PATCH 2/2] gnu: emacs-typit: Update to 0.2.1-2.fa125bf.
(address . 49673@debbugs.gnu.org)(name . Morgan Smith)(address . Morgan.J.Smith@outlook.com)
BYAPR05MB40238865048F96CC84DE8930C5E39@BYAPR05MB4023.namprd05.prod.outlook.com
From: Morgan Smith <Morgan.J.Smith@outlook.com>

* gnu/packages/emacs-xyz.scm (emacs-typit): Update to 0.2.1-2.fa125bf.
---
gnu/packages/emacs-xyz.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f611277be2..d3f050312d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1201,8 +1201,8 @@ handful of functions that are not resource-specific.")
(define-public emacs-typit
;; Last release is from 2017.
- (let ((commit "231cb7df43253b84323520b8ed70f128d37003af")
- (revision "1"))
+ (let ((commit "fa125bf43757737fbcf91958b76c38b440d54b4c")
+ (revision "2"))
(package
(name "emacs-typit")
(version (git-version "0.2.1" revision commit))
@@ -1214,7 +1214,7 @@ handful of functions that are not resource-specific.")
(commit commit)))
(file-name (git-file-name name version))
(sha256
- (base32 "1savrxs7xl92ifyxpxkkzv2didr7lb405h0dwz1bs1wldr5fb53f"))))
+ (base32 "1l0qb8gjgsmjjdvxlma7g6fn2z6rj246p2kczrikq8ajg1xh61sr"))))
(build-system emacs-build-system)
(arguments
'(#:include (cons "^dict/" %default-include)))
--
2.32.0
N
N
Nicolas Goaziou wrote on 27 Jul 2021 19:35
Re: [bug#49673] [PATCH 1/2] gnu: emacs-typit: Fix dictionary location.
(address . Morgan.J.Smith@outlook.com)(address . 49673-done@debbugs.gnu.org)
878s1rr77b.fsf@nicolasgoaziou.fr
Hello,

Morgan.J.Smith@outlook.com writes:

Toggle quote (3 lines)
> 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
Closed
?