GNU bug report logs - #64863
[PATCH] gnu: Add emacs-lexic.

Previous Next

Package: guix-patches;

Reported by: pinoaffe <pinoaffe <at> gmail.com>

Date: Tue, 25 Jul 2023 23:17:02 UTC

Severity: normal

Tags: patch

Done: Clément Lassieur <clement <at> lassieur.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 64863 in the body.
You can then email your comments to 64863 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to help-debbugs <at> gnu.org:
bug#64863; Package debbugs.gnu.org. (Tue, 25 Jul 2023 23:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to pinoaffe <pinoaffe <at> gmail.com>:
New bug report received and forwarded. Copy sent to help-debbugs <at> gnu.org. (Tue, 25 Jul 2023 23:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: pinoaffe <pinoaffe <at> gmail.com>
Subject: [PATCH] gnu: Add emacs-lexic.
Date: Tue, 25 Jul 2023 23:06:07 +0200
* gnu/packages/emacs-xyz.scm (emacs-lexic): New variable.
---
 gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d7e45fffc6..10b8923ada 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -36508,6 +36508,42 @@ (define-public emacs-multitran
 to the @url{https://multitran.com} online dictionary.")
     (license license:gpl3+)))
 
+(define-public emacs-lexic
+  (let ((release "0")
+        (revision "0")
+        (commit "f9b3de4d9c2dd1ce5022383e1a504b87bf7d1b09"))
+    (package
+      (name "emacs-lexic")
+      (version (git-version release revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://git.tecosaur.net/tec/lexic")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "02iz8dh18gb1q97v8ghcd3lavkf28sqbrk0bx6jzzryp69ickk4h"))))
+      (build-system emacs-build-system)
+      (inputs (list sdcv))
+      (arguments
+       `(#:phases
+         (modify-phases %standard-phases
+           (add-after 'unpack 'set-sdcv-path
+             (lambda* (#:key inputs outputs #:allow-other-keys)
+               (emacs-substitute-variables "lexic.el"
+                 ("lexic-program-path"
+                  (string-append (assoc-ref inputs "sdcv")
+                                 "/bin/sdcv"))))))))
+      (propagated-inputs (list sdcv))
+      (home-page "https://git.tecosaur.net/tec/lexic")
+      (synopsis "Find out more about words using Stardict dictionaries")
+      (description "This provides a major mode to view the output of
+dictionary tools, and utilities that perform searches and nicely format the
+results.  Currently tied to sdcv, but this is intended to be changed in the
+future.")
+      (license license:gpl2+))))
+
 (define-public emacs-blacken
   (package
     (name "emacs-blacken")

base-commit: 005912c595bf7a3329f8aa51a4ccb1d91b6ecd9e
-- 
2.41.0





Reply sent to Clément Lassieur <clement <at> lassieur.org>:
You have taken responsibility. (Fri, 20 Oct 2023 16:20:02 GMT) Full text and rfc822 format available.

Notification sent to pinoaffe <pinoaffe <at> gmail.com>:
bug acknowledged by developer. (Fri, 20 Oct 2023 16:20:02 GMT) Full text and rfc822 format available.

Message #10 received at 64863-done <at> debbugs.gnu.org (full text, mbox):

From: Clément Lassieur <clement <at> lassieur.org>
To: pinoaffe <pinoaffe <at> gmail.com>
Cc: 64863-done <at> debbugs.gnu.org
Subject: Re: bug#64863: [PATCH] gnu: Add emacs-lexic.
Date: Fri, 20 Oct 2023 18:19:17 +0200
LGTM, pushed with a few modifications:

- removing the "release" local binding.  The reason for the "revision"
  local binding is, I believe, to make sure people increment it upon
  modifying the package.  But there is no need to increment the
  "release" number if it's not incremented upstream.

- removed sdcv as propagated input.  It's only an input, I don't think
  it needs to be installed since the full path is written within the .el
  file.

- changed the license to gpl3+

Thanks and sorry for the huge delay.
Clément


pinoaffe <pinoaffe <at> gmail.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-lexic): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
>
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index d7e45fffc6..10b8923ada 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -36508,6 +36508,42 @@ (define-public emacs-multitran
>  to the @url{https://multitran.com} online dictionary.")
>      (license license:gpl3+)))
>  
> +(define-public emacs-lexic
> +  (let ((release "0")
> +        (revision "0")
> +        (commit "f9b3de4d9c2dd1ce5022383e1a504b87bf7d1b09"))
> +    (package
> +      (name "emacs-lexic")
> +      (version (git-version release revision commit))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://git.tecosaur.net/tec/lexic")
> +                      (commit commit)))
> +                (file-name (git-file-name name version))
> +                (sha256
> +                 (base32
> +                  "02iz8dh18gb1q97v8ghcd3lavkf28sqbrk0bx6jzzryp69ickk4h"))))
> +      (build-system emacs-build-system)
> +      (inputs (list sdcv))
> +      (arguments
> +       `(#:phases
> +         (modify-phases %standard-phases
> +           (add-after 'unpack 'set-sdcv-path
> +             (lambda* (#:key inputs outputs #:allow-other-keys)
> +               (emacs-substitute-variables "lexic.el"
> +                 ("lexic-program-path"
> +                  (string-append (assoc-ref inputs "sdcv")
> +                                 "/bin/sdcv"))))))))
> +      (propagated-inputs (list sdcv))
> +      (home-page "https://git.tecosaur.net/tec/lexic")
> +      (synopsis "Find out more about words using Stardict dictionaries")
> +      (description "This provides a major mode to view the output of
> +dictionary tools, and utilities that perform searches and nicely format the
> +results.  Currently tied to sdcv, but this is intended to be changed in the
> +future.")
> +      (license license:gpl2+))))
> +
>  (define-public emacs-blacken
>    (package
>      (name "emacs-blacken")
>
> base-commit: 005912c595bf7a3329f8aa51a4ccb1d91b6ecd9e




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Nov 2023 12:24:09 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Wed, 29 Nov 2023 18:00:03 GMT) Full text and rfc822 format available.

bug reassigned from package 'debbugs.gnu.org' to 'guix-patches'. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Wed, 29 Nov 2023 18:00:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Felix Lechner <felix.lechner <at> lease-up.com> to control <at> debbugs.gnu.org. (Wed, 29 Nov 2023 18:00:03 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 161 days ago.

Previous Next


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