From patchwork Tue Feb 1 08:40:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 36932 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 340CB27BBEA; Wed, 2 Feb 2022 06:28:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 C153827BBE9 for ; Wed, 2 Feb 2022 06:28:29 +0000 (GMT) Received: from localhost ([::1]:40318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nF980-0007K6-I4 for patchwork@mira.cbaines.net; Wed, 02 Feb 2022 01:28:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nF97a-0007Jq-FL for guix-patches@gnu.org; Wed, 02 Feb 2022 01:28:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57366) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nF97a-0006bf-5F for guix-patches@gnu.org; Wed, 02 Feb 2022 01:28:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nF97a-0005NH-3Y for guix-patches@gnu.org; Wed, 02 Feb 2022 01:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53717] [PATCH] gnu: Add rofi-wayland. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Feb 2022 06:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53717@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164378322320570 (code B ref -1); Wed, 02 Feb 2022 06:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Feb 2022 06:27:03 +0000 Received: from localhost ([127.0.0.1]:51263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF96d-0005Li-Gl for submit@debbugs.gnu.org; Wed, 02 Feb 2022 01:27:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:42420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nF96b-0005LN-QF for submit@debbugs.gnu.org; Wed, 02 Feb 2022 01:27:02 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nF96b-0007HH-Jy for guix-patches@gnu.org; Wed, 02 Feb 2022 01:27:01 -0500 Received: from [2a00:1450:4864:20::129] (port=43644 helo=mail-lf1-x129.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nF96Z-0006X1-Nv for guix-patches@gnu.org; Wed, 02 Feb 2022 01:27:01 -0500 Received: by mail-lf1-x129.google.com with SMTP id u6so38506017lfm.10 for ; Tue, 01 Feb 2022 22:26:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=4jGaEQ7OQfI2xcUKgRC+6cMzxcf9AV7xhHhJgTWc6I0=; b=ZYDJePHv9goBqIztItnwm6ieUqEAyBh07o94xJwaVYI36qbg2DSVjmLlHB9eigmQPi lIVgEdjfdX8CGh3+kp0AgDmpJ5bH/gmhUfuf3oThJaLsKpC7423sZb09V2g+A5DQGiYj Sja7wzi3crjuqMWKJqxn4YOY2KQYeZxI+MD+ocgAtiZs5oFQuAaybc+EOHlL3qqCBomC OCTSMStdjvIMBgIZSlZr8cAg8duAnuqxSG4foRQ1wWfIeq2BqFV6oo3XFywpz9MNslo9 per25OrAj8wZ6973j13wCvZWhK1UcqR0EgqAWXxENmQL54N64T9nlCQEQ1vUWGdMUBkP h1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=4jGaEQ7OQfI2xcUKgRC+6cMzxcf9AV7xhHhJgTWc6I0=; b=YBfDFZLi/oXkdXqivgi1t4f7Np9F7CYs4+rbOt+V5P18gugowvYwhQGBnsdz1OvzT3 p21FCi5uD1EmifxFizb0+qJRkGRKBx/+MaN5alK+W3F2ehe3qiZmPJsRgqCIqeG/b3D0 UUKabXHELrr03ItaF3gbZELjYxPk/ir4079Xa5D+5wHWB8FMGQeBjiJDPjD0rWAXU9GN mWFRcjkUgtc0jvT2dhUeVZfXtakn0/yakYkuHA9UPagvsNXUT23PUzQdBH0R8JQ72LNU zQMpepWF8PJc16RttIEmgfqxGPO6yW7DrKbE+tiluynoq0eFx1ylYzP+NFc1KA3J3ljo k4Vg== X-Gm-Message-State: AOAM531Hp4djeqAen/m7OTjjx6x8ApXJtdKjCWThnacGQGl1Do1eK/WN exVzdkxmF4/XN3lLtRLxqPGDNVOpZcAF0w== X-Google-Smtp-Source: ABdhPJz1yp2sArTECtagiguMA/viLSA7X+7W7PwUNos5arz2nh1RU9MAjMUfzziYo7efsyKiFg3QfQ== X-Received: by 2002:ac2:4c8d:: with SMTP id d13mr21521976lfl.136.1643783217194; Tue, 01 Feb 2022 22:26:57 -0800 (PST) Received: from localhost (109-252-135-33.dynamic.spd-mgts.ru. [109.252.135.33]) by smtp.gmail.com with ESMTPSA id s10sm4403745lfb.248.2022.02.01.22.26.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 22:26:56 -0800 (PST) From: Andrew Tropin Date: Tue, 1 Feb 2022 11:40:08 +0300 Message-ID: <878rutss0n.fsf@trop.in> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::129 (failed) Received-SPF: none client-ip=2a00:1450:4864:20::129; envelope-from=andrew@trop.in; helo=mail-lf1-x129.google.com X-Spam_score_int: 0 X-Spam_score: -0.1 X-Spam_bar: / X-Spam_report: (-0.1 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_12_24=1.049, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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 Tested on sway session. * gnu/packages/xdisorg.scm (rofi-wayland): New variable. --- gnu/packages/xdisorg.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index ec995c3496..c2bd1d1d5c 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -53,6 +53,7 @@ ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2021 jgart ;;; Copyright © 2022 John Kehayias +;;; Copyright © 2022 Andrew Tropin ;;; ;;; This file is part of GNU Guix. ;;; @@ -1742,6 +1743,40 @@ (define-public rofi by name.") (license license:expat))) +(define-public rofi-wayland + (package + (inherit rofi) + (name "rofi-wayland") + (version "1.7.2+wayland1") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/lbonn/rofi" + "/releases/download/" + version "/rofi-" version ".tar.xz")) + (sha256 + (base32 + "1smrxjq693z48c7n5pcfrvb0m0vsn6pxn7qpn8bm68j942n8rg3x")))) + (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)) + (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")