GNU bug report logs - #32662
shellutils.scm - add hstr

Previous Next

Package: guix-patches;

Reported by: Benjamin Slade <slade <at> jnanam.net>

Date: Sat, 8 Sep 2018 03:19:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

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 32662 in the body.
You can then email your comments to 32662 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 guix-patches <at> gnu.org:
bug#32662; Package guix-patches. (Sat, 08 Sep 2018 03:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Benjamin Slade <slade <at> jnanam.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 08 Sep 2018 03:19:02 GMT) Full text and rfc822 format available.

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

From: Benjamin Slade <slade <at> jnanam.net>
To: guix-patches <at> gnu.org
Subject: shellutils.scm - add hstr
Date: Fri, 07 Sep 2018 21:17:59 -0600
[Message part 1 (text/plain, inline)]
gnu: Add hstr

* gnu/packages/shellutils.scm (hstr): New variable.

[shellutils.scm.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
-- 
Benjamin Slade - https://babbagefiles.xyz
  `(pgp_fp: ,(21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19))
    '(sent by mu4e on Emacs running under GNU/Linux . https://gnu.org )
       `(Choose Linux ,(Choose Freedom) . https://linux.com )

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 10 Sep 2018 13:30:01 GMT) Full text and rfc822 format available.

Notification sent to Benjamin Slade <slade <at> jnanam.net>:
bug acknowledged by developer. (Mon, 10 Sep 2018 13:30:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Benjamin Slade <slade <at> jnanam.net>
Cc: 32662-done <at> debbugs.gnu.org
Subject: Re: [bug#32662] shellutils.scm - add hstr
Date: Mon, 10 Sep 2018 15:28:48 +0200
[Message part 1 (text/plain, inline)]
Hello,

Benjamin Slade <slade <at> jnanam.net> skribis:

> gnu: Add hstr
>
> * gnu/packages/shellutils.scm (hstr): New variable.

Applied with the changes below: readline and ncurses go to ‘inputs’, not
‘native-inputs’; added ‘file-name’ as suggested by ‘guix lint’; made
full sentences in the description.

In the future could you please send the patch as produced by ‘git
format-patch’?

Thanks for the patch!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index b4572f074..425713a91 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -174,33 +174,34 @@ below the current cursor position, scrolling the screen if necessary.")
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0yk2008bl48hv0v3c90ngq4y45h3nxif2ik6s3l7kag1zs5yv4wd"))))
+                "0yk2008bl48hv0v3c90ngq4y45h3nxif2ik6s3l7kag1zs5yv4wd"))
+              (file-name (string-append name "-" version ".tar.gz"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (replace 'build
+         (add-before 'build 'adjust-ncurses-includes
            (lambda* (#:key make-flags outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
                (substitute* "src/include/hstr_curses.h"
                  (("ncursesw\\/curses.h") "ncurses.h"))
                (substitute* "src/include/hstr.h"
                  (("ncursesw\\/curses.h") "ncurses.h")))
-             (invoke "make")
              #t)))))
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
-       ("pkg-config" ,pkg-config)
-       ("ncurses" ,ncurses)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("ncurses" ,ncurses)
        ("readline" ,readline)))
     (synopsis "Navigate and search command history with shell history suggest box")
-    (description "HSTR (HiSToRy) is a command line utility that brings improved
-Bash/zsh command completion from the history.  It aims to make completion easier
-and more efficient than Ctrl-R.  Easily view, navigate and search your command
-history with shell history suggest box for Bash and zsh.  HSTR can also manage
-your command history (for instance you can remove commands that are obsolete
-or contain a piece of sensitive information) or bookmark your favourite
-commands.")
+    (description "HSTR (HiSToRy) is a command-line utility that brings
+improved Bash and Zsh command completion from the history.  It aims to make
+completion easier and more efficient than with @kbd{Ctrl-R}.  It allows you to
+easily view, navigate, and search your command history with suggestion boxes.
+HSTR can also manage your command history (for instance you can remove
+commands that are obsolete or contain a piece of sensitive information) or
+bookmark your favourite commands.")
     (home-page "http://me.mindforger.com/projects/hh.html")
     (license asl2.0)))

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Oct 2018 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 248 days ago.

Previous Next


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