Re: [PATCH] gnu: dmenu: Update to 4.6.

2017-01-03 Thread Leo Famulari
On Tue, Jan 03, 2017 at 06:26:24PM -0600, Alex Griffin wrote:
> This patch updates dmenu to 4.6, which added nicer text rendering by
> default and couple new dependencies related to that.
> 
> (Note my slock patch updates the copyright attribution.)
> -- 
> Alex Griffin

> From c1360e73ffa4644f90cfd848ac747852cae5f34a Mon Sep 17 00:00:00 2001
> From: Alex Griffin 
> Date: Tue, 3 Jan 2017 09:40:33 -0600
> Subject: [PATCH 2/9] gnu: dmenu: Update to 4.6.
> 
> * gnu/packages/suckless.scm (dmenu): Update to 4.6.
> [inputs]: Add libxft and freetype.
> [arguments]: Add make-flags for finding freetype headers.

Thanks, pushed!



[PATCH] gnu: dmenu: Update to 4.6.

2017-01-03 Thread Alex Griffin
This patch updates dmenu to 4.6, which added nicer text rendering by
default and couple new dependencies related to that.

(Note my slock patch updates the copyright attribution.)
-- 
Alex Griffin
From c1360e73ffa4644f90cfd848ac747852cae5f34a Mon Sep 17 00:00:00 2001
From: Alex Griffin 
Date: Tue, 3 Jan 2017 09:40:33 -0600
Subject: [PATCH 2/9] gnu: dmenu: Update to 4.6.

* gnu/packages/suckless.scm (dmenu): Update to 4.6.
[inputs]: Add libxft and freetype.
[arguments]: Add make-flags for finding freetype headers.
---
 gnu/packages/suckless.scm | 13 +
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index a501bb5f2..10785ec15 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -79,23 +79,28 @@ optimising the environment for the application in use and the task performed.")
 (define-public dmenu
   (package
 (name "dmenu")
-(version "4.5")
+(version "4.6")
 (source (origin
   (method url-fetch)
   (uri (string-append "http://dl.suckless.org/tools/dmenu-";
   version ".tar.gz"))
   (sha256
(base32
-"0l58jpxrr80fmyw5pgw5alm5qry49aw6y049745wl991v2cdcb08"
+"1cwnvamqqlgczvd5dv5rsgqbhv8kp0ddjnhmavb3q732i8028yja"
 (build-system gnu-build-system)
 (arguments
  '(#:tests? #f ; no tests
#:make-flags (list "CC=gcc"
-  (string-append "PREFIX=" %output))
+  (string-append "PREFIX=" %output)
+  (string-append "FREETYPEINC="
+ (assoc-ref %build-inputs "freetype")
+ "/include/freetype2"))
#:phases
(alist-delete 'configure %standard-phases)))
 (inputs
- `(("libx11" ,libx11)
+ `(("freetype" ,freetype)
+   ("libxft" ,libxft)
+   ("libx11" ,libx11)
("libxinerama" ,libxinerama)))
 (home-page "http://tools.suckless.org/dmenu/";)
 (synopsis "Dynamic menu")
-- 
2.11.0