From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH v3] gnu: Add rofi. Date: Fri, 27 May 2016 14:35:25 -0400 Message-ID: <20160527183525.GA23230@jasmine> References: <20160527174106.GA1166@jasmine> <20160527202331.47fcc26d@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="3MwIy2ne0vdjdPXF" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Mbk-0007DC-GS for guix-devel@gnu.org; Fri, 27 May 2016 14:35:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b6Mbf-0001w4-W2 for guix-devel@gnu.org; Fri, 27 May 2016 14:35:40 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b6Mbe-0001vM-KT for guix-devel@gnu.org; Fri, 27 May 2016 14:35:35 -0400 Content-Disposition: inline In-Reply-To: <20160527202331.47fcc26d@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel@gnu.org --3MwIy2ne0vdjdPXF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 ;) --3MwIy2ne0vdjdPXF Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-rofi-New-variable.patch" >From c79cb8dd71029c7042fa16ccb6178920d9fd2cb9 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic 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 --- 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 --3MwIy2ne0vdjdPXF--