diff mbox

gnu: Add interrobang.

Message ID 87shu32lfe.fsf@we.make.ritual.n0.is
State New
Headers show

Commit Message

non such Aug. 17, 2016, 8:24 p.m. UTC
This patch adds interrobang. It should function, but I don't have zsh
configured here in GuixSD, so my old config does not work here, and the
system default is up to testing by other people.

Comments

non such Aug. 17, 2016, 9:57 p.m. UTC | #1
ng0 <ng0@we.make.ritual.n0.is> writes:

> This patch adds interrobang. It should function, but I don't have zsh
> configured here in GuixSD, so my old config does not work here, and the
> system default is up to testing by other people.

To explain this noisy comment:
I have a special interrobang-zsh-completion script which I prefer to the
default, bash. I ran interrobang but I still need to figure out why no
application launches.
I would prefer additional input.

> From 91cc74e39a7ca001d24610f595fe6ce2cf38af0b Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Wed, 17 Aug 2016 20:18:44 +0000
> Subject: [PATCH] gnu: Add interrobang.
>
> * gnu/packages/admin.scm (interrobang): New variable.
> ---
>  gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index 09a883c..4cc3757 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -1734,3 +1734,36 @@ highly portable.  Great for heterogenous networks.")
>  the status of your battery in the system tray.")
>      (home-page "https://github.com/valr/cbatticon")
>      (license license:gpl2+)))
> +
> +(define-public interrobang
> +  (let ((revision "1")
> +        (commit "896543735e1c99144765fdbd7b6e6b5afbd8b881"))
> +    (package
> +      (name "interrobang")
> +      (version (string-append "0.0.0." revision "." (string-take commit 8)))
> +      (source (origin
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "git://github.com/TrilbyWhite/interrobang")
> +                      (commit commit)))
> +                (file-name (string-append name "-" version "-checkout"))
> +                (sha256
> +                 (base32
> +                  "1n13m70p1hfba5dy3i8hfclbr6k9q3d9dai3dg4jvhdhmxcpjzdf"))))
> +      (build-system gnu-build-system)
> +      (arguments
> +       `(#:tests? #f ; no tests
> +         #:phases
> +         (modify-phases %standard-phases
> +           (delete 'configure)) ; no configure script
> +         #:make-flags (list (string-append "PREFIX="
> +                                           (assoc-ref %outputs "out")))))
> +      (inputs
> +       `(("libx11" ,libx11)))
> +      (native-inputs
> +       `(("pkg-config" ,pkg-config)))
> +      (synopsis "Tiny launcher menu packing a big bang syntax")
> +      (description "Interrobang is a scriptable launcher menu with a customizable
> +shortcut syntax and completion options.")
> +      (home-page "https://github.com/TrilbyWhite/interrobang")
> +      (license license:gpl3))))
> -- 
> 2.9.3
>
>
> -- 
> ng0
> For non-prism friendly talk find me on http://www.psyced.org
non such Aug. 17, 2016, 10:32 p.m. UTC | #2
ng0 <ng0@we.make.ritual.n0.is> writes:

> ng0 <ng0@we.make.ritual.n0.is> writes:
>
>> This patch adds interrobang. It should function, but I don't have zsh
>> configured here in GuixSD, so my old config does not work here, and the
>> system default is up to testing by other people.
>
> To explain this noisy comment:
> I have a special interrobang-zsh-completion script which I prefer to the
> default, bash. I ran interrobang but I still need to figure out why no
> application launches.
> I would prefer additional input.

It works and is functional. I just had to alter the "set shell" in the
config.

>> From 91cc74e39a7ca001d24610f595fe6ce2cf38af0b Mon Sep 17 00:00:00 2001
>> From: ng0 <ng0@we.make.ritual.n0.is>
>> Date: Wed, 17 Aug 2016 20:18:44 +0000
>> Subject: [PATCH] gnu: Add interrobang.
>>
>> * gnu/packages/admin.scm (interrobang): New variable.
>> ---
>>  gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++
>>  1 file changed, 33 insertions(+)
>>
>> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
>> index 09a883c..4cc3757 100644
>> --- a/gnu/packages/admin.scm
>> +++ b/gnu/packages/admin.scm
>> @@ -1734,3 +1734,36 @@ highly portable.  Great for heterogenous networks.")
>>  the status of your battery in the system tray.")
>>      (home-page "https://github.com/valr/cbatticon")
>>      (license license:gpl2+)))
>> +
>> +(define-public interrobang
>> +  (let ((revision "1")
>> +        (commit "896543735e1c99144765fdbd7b6e6b5afbd8b881"))
>> +    (package
>> +      (name "interrobang")
>> +      (version (string-append "0.0.0." revision "." (string-take commit 8)))
>> +      (source (origin
>> +                (method git-fetch)
>> +                (uri (git-reference
>> +                      (url "git://github.com/TrilbyWhite/interrobang")
>> +                      (commit commit)))
>> +                (file-name (string-append name "-" version "-checkout"))
>> +                (sha256
>> +                 (base32
>> +                  "1n13m70p1hfba5dy3i8hfclbr6k9q3d9dai3dg4jvhdhmxcpjzdf"))))
>> +      (build-system gnu-build-system)
>> +      (arguments
>> +       `(#:tests? #f ; no tests
>> +         #:phases
>> +         (modify-phases %standard-phases
>> +           (delete 'configure)) ; no configure script
>> +         #:make-flags (list (string-append "PREFIX="
>> +                                           (assoc-ref %outputs "out")))))
>> +      (inputs
>> +       `(("libx11" ,libx11)))
>> +      (native-inputs
>> +       `(("pkg-config" ,pkg-config)))
>> +      (synopsis "Tiny launcher menu packing a big bang syntax")
>> +      (description "Interrobang is a scriptable launcher menu with a customizable
>> +shortcut syntax and completion options.")
>> +      (home-page "https://github.com/TrilbyWhite/interrobang")
>> +      (license license:gpl3))))
>> -- 
>> 2.9.3
>>
>>
>> -- 
>> ng0
>> For non-prism friendly talk find me on http://www.psyced.org
>
> -- 
> ng0
> For non-prism friendly talk find me on http://www.psyced.org
>
Leo Famulari Aug. 18, 2016, 9:23 p.m. UTC | #3
On Wed, Aug 17, 2016 at 08:24:37PM +0000, ng0 wrote:
> This patch adds interrobang. It should function, but I don't have zsh
> configured here in GuixSD, so my old config does not work here, and the
> system default is up to testing by other people.

> * gnu/packages/admin.scm (interrobang): New variable.

Thanks, pushed as c08533b2c with the following changes!

> +      (version (string-append "0.0.0." revision "." (string-take commit 8)))
                                       ^                                   ^
Characters replaced by  	       -                                   7

> +      (synopsis "Tiny launcher menu packing a big bang syntax")

"Scriptable launcher menu"

> +      (license license:gpl3))))

gpl3+
diff mbox

Patch

From 91cc74e39a7ca001d24610f595fe6ce2cf38af0b Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Wed, 17 Aug 2016 20:18:44 +0000
Subject: [PATCH] gnu: Add interrobang.

* gnu/packages/admin.scm (interrobang): New variable.
---
 gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 09a883c..4cc3757 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1734,3 +1734,36 @@  highly portable.  Great for heterogenous networks.")
 the status of your battery in the system tray.")
     (home-page "https://github.com/valr/cbatticon")
     (license license:gpl2+)))
+
+(define-public interrobang
+  (let ((revision "1")
+        (commit "896543735e1c99144765fdbd7b6e6b5afbd8b881"))
+    (package
+      (name "interrobang")
+      (version (string-append "0.0.0." revision "." (string-take commit 8)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "git://github.com/TrilbyWhite/interrobang")
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "1n13m70p1hfba5dy3i8hfclbr6k9q3d9dai3dg4jvhdhmxcpjzdf"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f ; no tests
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)) ; no configure script
+         #:make-flags (list (string-append "PREFIX="
+                                           (assoc-ref %outputs "out")))))
+      (inputs
+       `(("libx11" ,libx11)))
+      (native-inputs
+       `(("pkg-config" ,pkg-config)))
+      (synopsis "Tiny launcher menu packing a big bang syntax")
+      (description "Interrobang is a scriptable launcher menu with a customizable
+shortcut syntax and completion options.")
+      (home-page "https://github.com/TrilbyWhite/interrobang")
+      (license license:gpl3))))
-- 
2.9.3