From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 07 23:18:27 2018 Received: (at submit) by debbugs.gnu.org; 8 Sep 2018 03:18:27 +0000 Received: from localhost ([127.0.0.1]:49968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyTlL-0004PZ-IH for submit@debbugs.gnu.org; Fri, 07 Sep 2018 23:18:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fyTlE-0004P5-WA for submit@debbugs.gnu.org; Fri, 07 Sep 2018 23:18:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyTl8-0000iN-TM for submit@debbugs.gnu.org; Fri, 07 Sep 2018 23:18:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58580) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fyTl8-0000iD-Px for submit@debbugs.gnu.org; Fri, 07 Sep 2018 23:18:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fyTl7-0002QS-Mv for guix-patches@gnu.org; Fri, 07 Sep 2018 23:18:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fyTl4-0000fb-Go for guix-patches@gnu.org; Fri, 07 Sep 2018 23:18:05 -0400 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]:39258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fyTl4-0000fI-BD for guix-patches@gnu.org; Fri, 07 Sep 2018 23:18:02 -0400 Received: by mail-io1-xd2c.google.com with SMTP id l7-v6so3023071iok.6 for ; Fri, 07 Sep 2018 20:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:user-agent:from:to:subject:reply-to:date:message-id :mime-version; bh=RjkWd8J1QLj5+DGPCnv6fkFoB2n4joIbCcGlGHHsA1s=; b=H3VAjuy2Kl695sG+OV0DvTnrVg+YzJi8ZS6EBxYWr9dF82gR86aGKX0hPm2SJ/Cn21 Ne0Rq4v/XLglM0Ogb43qOvQjHAVADdlw6RMv+M19Siwp0oebq4522RCfbAP85jfgkH0m dG1BS1uQ1o70fSrjAjhzpg8kna3oi/JB8H2Wu4RK896dTOlbCHG+XWgpw9JyhrFbK5Tm G8GlA196vNIK3+Pxa6l9U4YfsL9YZh2syJlqO4gR4hRQC5g78hKZr6dv1yCesq1EC8q0 5Y5CM3TzNMcb/EClSaJ29xM8kF/pEZC95rpUoXBjplAEKxkgzId2yPXvKma89byvNKjW qDDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:user-agent:from:to:subject:reply-to:date :message-id:mime-version; bh=RjkWd8J1QLj5+DGPCnv6fkFoB2n4joIbCcGlGHHsA1s=; b=rDLb41H59N4oY95Pv08nIZ8QrTJt0LpdD2DY1l3c5k6IpQoLTy+rIZhtfX4revo/66 YcsBU7tLErc0s5oJKjHlR5Dk6XUCWi1XcbtRnXSiPIfkf5Djg1MrgfLmW4gUvaCCPZ15 AOPeLnnlLeVUO3C9eUsi3vcHZpSwgVviyC4zBwQF7RAbFZLXCDyjMJqY/RDHKwMc7XSS ZOP+q+tggE3OCRdNuUI/irUxvlO5live6IJ8XeetCgzji6gAgxS9HgL0anf1INOgGfQa PUeeQnLY5LsE3Pv0UsLhH08kYy4rje1xyxu05Kp++IbezYTYkJwNdol3L2LoAo3/wkny tG4w== X-Gm-Message-State: APzg51BCzq+2Ma7ZEyKJbI0SH1hNlGH4XwdEisX4gxw9yjSo2AHWMBjw 0wUTSS5HUiWIDsAJeSfeT2+tTKq5fEg= X-Google-Smtp-Source: ANB0VdaarVDZ2C/1rcTD1j2hZWGjSBkS21x0RdJsD2Im7StlDgnO6M32o9pqcH2tkbh93Bp6dVRrCQ== X-Received: by 2002:a6b:1f4d:: with SMTP id f74-v6mr8600753iof.206.1536376681341; Fri, 07 Sep 2018 20:18:01 -0700 (PDT) Received: from vitasta (c-174-52-88-123.hsd1.ut.comcast.net. [174.52.88.123]) by smtp.gmail.com with ESMTPSA id b85-v6sm4630396itd.37.2018.09.07.20.18.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Sep 2018 20:18:00 -0700 (PDT) User-agent: mu4e 1.0; emacs 26.1 From: Benjamin Slade To: guix-patches@gnu.org Subject: shellutils.scm - add hstr Date: Fri, 07 Sep 2018 21:17:59 -0600 Message-ID: <87efe4y8wo.fsf@jnanam.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) --=-=-= Content-Type: text/plain gnu: Add hstr * gnu/packages/shellutils.scm (hstr): New variable. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=shellutils.scm.patch Content-Transfer-Encoding: quoted-printable Content-Description: shellutils.scm - add hstr diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 650fe98ef..b4572f074 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -4,6 +4,7 @@ ;;; Copyright =C2=A9 2016 Christopher Baines ;;; Copyright =C2=A9 2017 Stefan Reich=C3=B6r ;;; Copyright =C2=A9 2018 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2018 Benjamin Slade ;;; ;;; This file is part of GNU Guix. ;;; @@ -27,6 +28,10 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (gnu packages autotools) + #:use-module (gnu packages ncurses) + #:use-module (gnu packages readline) + #:use-module (gnu packages pkg-config) #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (guix build-system python)) @@ -158,3 +163,44 @@ fzy is designed to be used both as an editor plugin an= d on the command line. Rather than clearing the screen, fzy displays its interface directly below the current cursor position, scrolling the screen if necessary.") (license expat))) + +(define-public hstr + (package + (name "hstr") + (version "2.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/dvorka/" name "/arch= ive/" + version ".tar.gz")) + (sha256 + (base32 + "0yk2008bl48hv0v3c90ngq4y45h3nxif2ik6s3l7kag1zs5yv4wd")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'build + (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) + ("readline" ,readline))) + (synopsis "Navigate and search command history with shell history sugg= est box") + (description "HSTR (HiSToRy) is a command line utility that brings imp= roved +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 com= mand +history with shell history suggest box for Bash and zsh. HSTR can also ma= nage +your command history (for instance you can remove commands that are obsole= te +or contain a piece of sensitive information) or bookmark your favourite +commands.") + (home-page "http://me.mindforger.com/projects/hh.html") + (license asl2.0))) --=-=-= Content-Type: text/plain -- 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 ) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 09:29:01 2018 Received: (at 32662-done) by debbugs.gnu.org; 10 Sep 2018 13:29:01 +0000 Received: from localhost ([127.0.0.1]:51896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMFQ-0000pm-W8 for submit@debbugs.gnu.org; Mon, 10 Sep 2018 09:29:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMFP-0000pa-0X for 32662-done@debbugs.gnu.org; Mon, 10 Sep 2018 09:28:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzMFG-0003Yf-IN for 32662-done@debbugs.gnu.org; Mon, 10 Sep 2018 09:28:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzMFG-0003YO-D3; Mon, 10 Sep 2018 09:28:50 -0400 Received: from [193.50.110.124] (port=42834 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzMFG-0000i0-35; Mon, 10 Sep 2018 09:28:50 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Benjamin Slade Subject: Re: [bug#32662] shellutils.scm - add hstr References: <87efe4y8wo.fsf@jnanam.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Fructidor an 226 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 10 Sep 2018 15:28:48 +0200 In-Reply-To: <87efe4y8wo.fsf@jnanam.net> (Benjamin Slade's message of "Fri, 07 Sep 2018 21:17:59 -0600") Message-ID: <878t49fpm7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 32662-done Cc: 32662-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, Benjamin Slade skribis: > gnu: Add hstr > > * gnu/packages/shellutils.scm (hstr): New variable. Applied with the changes below: readline and ncurses go to =E2=80=98inputs= =E2=80=99, not =E2=80=98native-inputs=E2=80=99; added =E2=80=98file-name=E2=80=99 as sugge= sted by =E2=80=98guix lint=E2=80=99; made full sentences in the description. In the future could you please send the patch as produced by =E2=80=98git format-patch=E2=80=99? Thanks for the patch! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: 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))) --=-=-=-- From unknown Fri Jun 13 11:52:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 09 Oct 2018 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator