all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: Danny Milosavljevic <dannym+a@scratchpost.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH v3] gnu: Add rofi.
Date: Fri, 27 May 2016 14:35:25 -0400	[thread overview]
Message-ID: <20160527183525.GA23230@jasmine> (raw)
In-Reply-To: <20160527202331.47fcc26d@scratchpost.org>

[-- Attachment #1: Type: text/plain, Size: 381 bytes --]

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 ;)

[-- Attachment #2: 0001-gnu-rofi-New-variable.patch --]
[-- Type: text/x-diff, Size: 2300 bytes --]

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


  reply	other threads:[~2016-05-27 18:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20  4:29 [PATCH] gnu: Add rofi Danny Milosavljevic
2016-05-23  4:28 ` Leo Famulari
2016-05-24  6:55   ` Danny Milosavljevic
2016-05-25  3:38     ` Leo Famulari
2016-05-26  0:56       ` [PATCH v2] * gnu/packages/xdisorg.scm (rofi): New variable Danny Milosavljevic
2016-05-27 17:41         ` Leo Famulari
2016-05-27 18:23           ` [PATCH v3] gnu: Add rofi Danny Milosavljevic
2016-05-27 18:35             ` Leo Famulari [this message]
2016-05-27 18:54               ` Danny Milosavljevic
2016-05-31 21:25                 ` Leo Famulari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160527183525.GA23230@jasmine \
    --to=leo@famulari.name \
    --cc=dannym+a@scratchpost.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.