* [PATCH] gnu: Add dmenu
@ 2014-12-03 12:42 宋文武
2014-12-03 12:53 ` 宋文武
0 siblings, 1 reply; 4+ messages in thread
From: 宋文武 @ 2014-12-03 12:42 UTC (permalink / raw)
To: guix-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-Add-dmenu.patch --]
[-- Type: text/x-patch, Size: 1595 bytes --]
From a199cc6061e8607e6424cd56fc47da20c7cc1b16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
Date: Wed, 3 Dec 2014 20:37:33 +0800
Subject: [PATCH] gnu: Add dmenu.
* gnu/packages/dwm.scm (dmenu): New variable.
---
gnu/packages/dwm.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
index b5dbe73..d293d25 100644
--- a/gnu/packages/dwm.scm
+++ b/gnu/packages/dwm.scm
@@ -84,3 +84,30 @@ left corner.
dwm draws a small customizable border around windows to indicate the focus
state.")
(license x11)))
+
+(define-public dmenu
+ (package
+ (name "dmenu")
+ (version "4.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://dl.suckless.org/tools/dmenu-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:phases
+ (alist-delete 'configure %standard-phases)))
+ (inputs
+ `(("libx11" ,libx11)
+ ("libxinerama" ,libxinerama)))
+ (home-page "http://tools.suckless.org/dmenu/")
+ (synopsis "Dynamic menu")
+ (description "A dynamic menu for X, originally designed for dwm. It
+manages large numbers of user-defined menu items efficiently.")
+ (license x11)))
--
2.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add dmenu
2014-12-03 12:42 [PATCH] gnu: Add dmenu 宋文武
@ 2014-12-03 12:53 ` 宋文武
2014-12-03 20:51 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: 宋文武 @ 2014-12-03 12:53 UTC (permalink / raw)
To: guix-devel
[-- Attachment #1: Type: text/plain, Size: 35 bytes --]
Start description in a newline :x
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-dmenu.patch --]
[-- Type: text/x-patch, Size: 1603 bytes --]
From b07a51a5a98cc61409716d80ab67fe9783ebf27b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
Date: Wed, 3 Dec 2014 20:37:33 +0800
Subject: [PATCH] gnu: Add dmenu.
* gnu/packages/dwm.scm (dmenu): New variable.
---
gnu/packages/dwm.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/dwm.scm b/gnu/packages/dwm.scm
index b5dbe73..88758f2 100644
--- a/gnu/packages/dwm.scm
+++ b/gnu/packages/dwm.scm
@@ -84,3 +84,31 @@ left corner.
dwm draws a small customizable border around windows to indicate the focus
state.")
(license x11)))
+
+(define-public dmenu
+ (package
+ (name "dmenu")
+ (version "4.5")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://dl.suckless.org/tools/dmenu-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08"))))
+ (build-system gnu-build-system)
+ (arguments
+ '(#:tests? #f ; no tests
+ #:make-flags (list "CC=gcc"
+ (string-append "PREFIX=" %output))
+ #:phases
+ (alist-delete 'configure %standard-phases)))
+ (inputs
+ `(("libx11" ,libx11)
+ ("libxinerama" ,libxinerama)))
+ (home-page "http://tools.suckless.org/dmenu/")
+ (synopsis "Dynamic menu")
+ (description
+ "A dynamic menu for X, originally designed for dwm. It manages large
+numbers of user-defined menu items efficiently.")
+ (license x11)))
--
2.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add dmenu
2014-12-03 12:53 ` 宋文武
@ 2014-12-03 20:51 ` Ludovic Courtès
2014-12-04 10:56 ` 宋文武
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2014-12-03 20:51 UTC (permalink / raw)
To: 宋文武; +Cc: guix-devel
宋文武 <iyzsong@gmail.com> skribis:
> From b07a51a5a98cc61409716d80ab67fe9783ebf27b Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
> Date: Wed, 3 Dec 2014 20:37:33 +0800
> Subject: [PATCH] gnu: Add dmenu.
>
> * gnu/packages/dwm.scm (dmenu): New variable.
LGTM, please push!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] gnu: Add dmenu
2014-12-03 20:51 ` Ludovic Courtès
@ 2014-12-04 10:56 ` 宋文武
0 siblings, 0 replies; 4+ messages in thread
From: 宋文武 @ 2014-12-04 10:56 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Ludovic Courtès <ludo@gnu.org> writes:
> 宋文武 <iyzsong@gmail.com> skribis:
>
>> From b07a51a5a98cc61409716d80ab67fe9783ebf27b Mon Sep 17 00:00:00 2001
>> From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
>> Date: Wed, 3 Dec 2014 20:37:33 +0800
>> Subject: [PATCH] gnu: Add dmenu.
>>
>> * gnu/packages/dwm.scm (dmenu): New variable.
>
> LGTM, please push!
Pushed, thanks for review.
>
> Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-04 10:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 12:42 [PATCH] gnu: Add dmenu 宋文武
2014-12-03 12:53 ` 宋文武
2014-12-03 20:51 ` Ludovic Courtès
2014-12-04 10:56 ` 宋文武
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.