From patchwork Mon Apr 18 08:26:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 38649 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C9CA527BBEA; Mon, 18 Apr 2022 09:28:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5F1C527BBE9 for ; Mon, 18 Apr 2022 09:28:11 +0100 (BST) Received: from localhost ([::1]:36806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngMjy-00031f-F6 for patchwork@mira.cbaines.net; Mon, 18 Apr 2022 04:28:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngMjq-00031X-HP for guix-patches@gnu.org; Mon, 18 Apr 2022 04:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngMjq-0005YK-56 for guix-patches@gnu.org; Mon, 18 Apr 2022 04:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngMjq-0002AJ-07 for guix-patches@gnu.org; Mon, 18 Apr 2022 04:28:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#53717] [PATCH v2] gnu: Add rofi-wayland. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Apr 2022 08:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: 53717@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16502704228252 (code B ref -1); Mon, 18 Apr 2022 08:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Apr 2022 08:27:02 +0000 Received: from localhost ([127.0.0.1]:37881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngMis-000291-JY for submit@debbugs.gnu.org; Mon, 18 Apr 2022 04:27:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:52560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngMiq-00028d-QI for submit@debbugs.gnu.org; Mon, 18 Apr 2022 04:27:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngMiq-0002zO-HA for guix-patches@gnu.org; Mon, 18 Apr 2022 04:27:00 -0400 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]:41953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngMio-0005V6-EM for guix-patches@gnu.org; Mon, 18 Apr 2022 04:27:00 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 883C4100003 for ; Mon, 18 Apr 2022 08:26:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1650270413; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jXoOoq5iAEfMF6szgbXOwB+AB7GRhACjMJvhU2iyMFI=; b=YMlBt2/abq+2UCu11BSs7/Hwy3BkNjFTxuwdhVrMyqqrxFEz4KCzk+6pZRzyArndWYb7qU vj1Y5BDmv2N5X6xu18ZvtypACQ7HiUWCiUsW4+JNH/5zEJgWmB+uzwiw5t38uWfdJ919nH p8Lsu6xIbXOqEhIa9LLUEEuWbm5YhvImvW1HobSd+8QuOGrc58D5Uzk9I6WOqN89+y1Ctn HtJLGVlbitHVqw3iWPFTSk+vnlBVVKyx2c0otIXBEoOkjsKKJVFtKAsOoDOBlKrWefCzV5 oxwUsBjilWMySoNoxxjRIjtD0+HU7I06poB9V2cQ+1oXMhhuq9c8HFydl2mWDA== From: Andrew Tropin In-Reply-To: <878rutss0n.fsf@trop.in> References: <878rutss0n.fsf@trop.in> Date: Mon, 18 Apr 2022 11:26:49 +0300 Message-ID: <87fsma23w6.fsf@trop.in> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=andrew@trop.in; helo=relay11.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/xdisorg.scm (rofi-wayland): New variable. --- Tested on sway session. gnu/packages/xdisorg.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d2caee85ec..3ba79e178b 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -54,6 +54,7 @@ ;;; Copyright © 2021 jgart ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Jai Vetrivelan +;;; Copyright © 2022 Andrew Tropin ;;; ;;; This file is part of GNU Guix. ;;; @@ -1742,6 +1743,41 @@ (define-public rofi by name.") (license license:expat))) +(define-public rofi-wayland + (package + (inherit rofi) + (name "rofi-wayland") + (version "1.7.3+wayland1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/lbonn/rofi" + "/releases/download/" + version "/rofi-" version ".tar.xz")) + (sha256 + (base32 + "1gfs13zfqg9f4prx8yylxvv93yr6j74nmhlm3wabr6jljbbr7jc8")))) + (build-system meson-build-system) + (arguments + (substitute-keyword-arguments (package-arguments rofi) + ((#:configure-flags flags '()) + #~(list "-Dxcb=disabled")))) + (inputs + (list cairo + glib + libjpeg-turbo + librsvg + libxkbcommon + wayland + wayland-protocols + pango + startup-notification)) + (home-page "https://github.com/lbonn/rofi") + (description "Rofi is a minimalist application launcher. It memorizes which +applications you regularly use and also allows you to search for an application +by name. + +This is a fork with added support for Wayland via layer shell protocol."))) + (define-public rofi-calc (package (name "rofi-calc")