GNU bug report logs - #60551
[PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file.

Previous Next

Package: guix-patches;

Reported by: tumashu <at> 163.com

Date: Wed, 4 Jan 2023 12:48:03 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: tumashu <at> 163.com
Subject: bug#60551: closed (Re: [bug#60551] [PATCH 4/5] gnu:
 emacs-pyim-basedict: Install pyim-basedict.pyim file.)
Date: Sat, 07 Jan 2023 00:03:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#60551: [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 60551 <at> debbugs.gnu.org.

-- 
60551: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60551
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: tumashu <at> 163.com
Cc: 60551-done <at> debbugs.gnu.org
Subject: Re: [bug#60551] [PATCH 4/5] gnu: emacs-pyim-basedict: Install
 pyim-basedict.pyim file.
Date: Sat, 07 Jan 2023 01:01:51 +0100
Hello,

tumashu <at> 163.com writes:

> * gnu/packages/emacs-xyz.scm (emacs-pyim-basedict) [arguments]: New field.
> [#:phases]: Install pyim-basedict.pyim file.

I modified the commit message, used #:include keyword and applied the
patch.

Thank you.

Regards,
-- 
Nicolas Goaziou

[Message part 3 (message/rfc822, inline)]
From: tumashu <at> 163.com
To: guix-patches <at> gnu.org
Cc: Feng Shu <tumashu <at> 163.com>
Subject: [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file.
Date: Wed,  4 Jan 2023 20:47:11 +0800
From: Feng Shu <tumashu <at> 163.com>

* gnu/packages/emacs-xyz.scm (emacs-pyim-basedict) [arguments]: New field.
[#:phases]: Install pyim-basedict.pyim file.
---
 gnu/packages/emacs-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 417e9ee1f5..5ba150c815 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16624,6 +16624,17 @@ (define-public emacs-pyim-basedict
          (sha256
           (base32 "0fzyh8qmicq2vy9j1ca708ir67dpxp1cwjaw0sw469p24cvj12yy"))))
       (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'install 'install-basedict-file
+              (lambda _
+                (install-file "pyim-basedict.pyim"
+                              (string-append
+                               #$output
+                               "/share/emacs/site-lisp/pyim-basedict-"
+                               #$version)))))))
       (propagated-inputs
        (list emacs-pyim))
       (home-page "https://github.com/tumashu/pyim-basedict")
-- 
2.38.1




This bug report was last modified 2 years and 193 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.