From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:58499) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPWlk-0001EI-QV for guix-patches@gnu.org; Tue, 29 Oct 2019 15:03:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPWlj-0000zE-HV for guix-patches@gnu.org; Tue, 29 Oct 2019 15:03:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPWlj-0000yp-EB for guix-patches@gnu.org; Tue, 29 Oct 2019 15:03:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPWlj-0003Hv-8e for guix-patches@gnu.org; Tue, 29 Oct 2019 15:03:03 -0400 Subject: [bug#37983] [PATCH] gnu: Add bemenu. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:58257) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPWlW-0001CB-CQ for guix-patches@gnu.org; Tue, 29 Oct 2019 15:02:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPWlT-0000ZW-UN for guix-patches@gnu.org; Tue, 29 Oct 2019 15:02:49 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:48347) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iPWlR-0000WD-Gk for guix-patches@gnu.org; Tue, 29 Oct 2019 15:02:46 -0400 From: Josh Holland Date: Tue, 29 Oct 2019 19:02:37 +0000 Message-Id: <20191029190237.311353-1-josh@inv.alid.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37983@debbugs.gnu.org Cc: Josh Holland * gnu/packages/xdisorg.scm (bemenu): New public variable. --- gnu/packages/xdisorg.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d4312f4635..71de6b4072 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -27,6 +27,7 @@ ;;; Copyright © 2018 Nam Nguyen ;;; Copyright © 2019 Wiktor Żelazny ;;; Copyright © 2019 Kyle Andrews +;;; Copyright © 2019 Josh Holland ;;; ;;; This file is part of GNU Guix. ;;; @@ -1780,3 +1781,39 @@ and clipboard selection. When the clipboard is changed, it updates the cutbuffer. When the cutbuffer is changed, it owns the clipboard selection. The cutbuffer and clipboard selection are always synchronized.") (license license:gpl2+))) + +(define-public bemenu + (package + (name "bemenu") + (version "0.2.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Cloudef/bemenu.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0piax49az5kp96r1g6dcgj87fi6p4jl286wlkxsdvljzpkn8q6gv")))) + (build-system cmake-build-system) + (arguments + '(#:configure-flags '("-DBEMENU_WAYLAND_RENDERER=ON"))) + (inputs `(("ncurses" ,ncurses) + ("libx11" ,libx11) + ("libxinerama" ,libxinerama) + ("libxkbcomon" ,libxkbcommon) + ("wayland" ,wayland) + ("wayland-protocols" ,wayland-protocols) + ("cairo" ,cairo) + ("pango" ,pango))) + (native-inputs `(("pkg-config" ,pkg-config) + ("doxygen" ,doxygen))) + (home-page "https://github.com/Cloudef/bemenu") + (synopsis "Dynamic menu library and client program inspired by dmenu") + (description "@code{bemenu} is a dynamic menu which allows the user to +flexibly select from a list of options (usually programs to launch). It +supports rendering graphically by X11 and Wayland or in a terminal with +ncurses.") + (license (list license:gpl3+ ; client program[s] and other sources + license:lgpl3+ ; library and bindings + )))) -- 2.23.0