diff mbox

[v3] gnu: Add rofi.

Message ID 20160527183525.GA23230@jasmine
State New
Headers show

Commit Message

Leo Famulari May 27, 2016, 6:35 p.m. UTC
On Fri, May 27, 2016 at 08:23:31PM +0200, Danny Milosavljevic wrote:
> I tried with the inputs removed and it still works fine. See below for the new patch.

Gah, I forgot to attach my patch. It's attached now, with the unused
packages removed.

> +    (inputs
> +     `(("libx11" ,libx11)
> +       ("libxinerama" ,libxinerama)
> +       ("libxft" ,libxft)

They're still here ;)

Comments

Danny Milosavljevic May 27, 2016, 6:54 p.m. UTC | #1
On Fri, 27 May 2016 14:35:25 -0400
Leo Famulari <leo@famulari.name> wrote:

> Gah, I forgot to attach my patch. It's attached now, with the unused
> packages removed.

Yeah, I installed your version and tried it out. Works fine.
Leo Famulari May 31, 2016, 9:25 p.m. UTC | #2
On Fri, May 27, 2016 at 08:54:53PM +0200, Danny Milosavljevic wrote:
> On Fri, 27 May 2016 14:35:25 -0400
> Leo Famulari <leo@famulari.name> wrote:
> 
> > Gah, I forgot to attach my patch. It's attached now, with the unused
> > packages removed.
> 
> Yeah, I installed your version and tried it out. Works fine.

Great, applied as f40dfcd055!
diff mbox

Patch

From c79cb8dd71029c7042fa16ccb6178920d9fd2cb9 Mon Sep 17 00:00:00 2001
From: Danny Milosavljevic <dannym@scratchpost.org>
Date: Thu, 26 May 2016 02:56:19 +0200
Subject: [PATCH] gnu: rofi: New variable.

* gnu/packages/xdisorg.scm (rofi): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
---
 gnu/packages/xdisorg.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 64a95d6..2e0ea12 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -910,3 +910,44 @@  demos.  It also acts as a nice screen locker.")
               (string-append
                "http://metadata.ftp-master.debian.org/changelogs/"
                "/main/x/xscreensaver/xscreensaver_5.34-2_copyright")))))
+
+(define-public rofi
+  (package
+    (name "rofi")
+    (version "1.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/DaveDavenport/rofi/"
+                                  "releases/download/"
+                                  version "/rofi-" version ".tar.xz"))
+              (sha256
+               (base32
+                "01jxml9vk4cw7pngpan7dipmb98s6ibh6f0023lw3hbgxy650637"))))
+    (build-system gnu-build-system)
+    (arguments
+       `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'adjust-tests
+           (lambda _
+             (substitute* '("test/helper-expand.c")
+               (("~root") "/root")
+               (("~") "")
+               (("g_get_home_dir \\(\\)") "\"/\"")))))))
+    (home-page "https://davedavenport.github.io/rofi/")
+    (synopsis "Application Launcher")
+    (description "Rofi is a minimalist Application Launcher.  It memorizes which
+applications you regularily use and also allows you to search for an application
+by name.")
+    (inputs
+     `(("libx11" ,libx11)
+       ("pango" ,pango)
+       ("cairo" ,cairo)
+       ("glib" ,glib)
+       ("startup-notification" ,startup-notification)
+       ("libxkbcommon" ,libxkbcommon)
+       ("libxcb" ,libxcb)
+       ("xcb-util" ,xcb-util)
+       ("xcb-util-wm" ,xcb-util-wm)))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (license license:expat)))
-- 
2.8.3