From patchwork Sat Feb 26 07:56:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 37460 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 6803927BBEA; Sat, 26 Feb 2022 07:57:14 +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_H5,RCVD_IN_MSPIKE_WL, 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 D8BA927BBE9 for ; Sat, 26 Feb 2022 07:57:13 +0000 (GMT) Received: from localhost ([::1]:59720 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNrx3-0004V7-1D for patchwork@mira.cbaines.net; Sat, 26 Feb 2022 02:57:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45042) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNrwu-0004Uj-Vd for guix-patches@gnu.org; Sat, 26 Feb 2022 02:57:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nNrws-0005Hh-NR for guix-patches@gnu.org; Sat, 26 Feb 2022 02:57:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nNrws-00032g-I7 for guix-patches@gnu.org; Sat, 26 Feb 2022 02:57: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: Sat, 26 Feb 2022 07:57:02 +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: Xinglu Chen , 53717@debbugs.gnu.org Received: via spool by 53717-submit@debbugs.gnu.org id=B53717.164586219711658 (code B ref 53717); Sat, 26 Feb 2022 07:57:02 +0000 Received: (at 53717) by debbugs.gnu.org; 26 Feb 2022 07:56:37 +0000 Received: from localhost ([127.0.0.1]:54190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNrwT-00031y-7c for submit@debbugs.gnu.org; Sat, 26 Feb 2022 02:56:37 -0500 Received: from mail-lf1-f47.google.com ([209.85.167.47]:39597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nNrwO-00031b-4V for 53717@debbugs.gnu.org; Sat, 26 Feb 2022 02:56:35 -0500 Received: by mail-lf1-f47.google.com with SMTP id j7so13066699lfu.6 for <53717@debbugs.gnu.org>; Fri, 25 Feb 2022 23:56:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20210112.gappssmtp.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=8We1hipCVaR63KGPpEcBErm/Vz73MITyK5DxbFWMNvs=; b=mjuL3wDUz5CfNT/AHQVWGMKpZ5LJ2a0w5svMPxl8Xdtil2ykizz3LaKKN2DUb5sPHL CQlN/rrDJuTiOypRZQxHcjRssmHd+6AxZA3x1tNgKmegEQe0Ry/TP1AH5R05GM3JfziW LPMWzLuF6kWserUFnqGjSojtckhI6wl81dU/zgXhpWJe3ykw+iZnTnFTFNdESqTRhodl VHyUgbHwmqQV6dzRPBdz2A/i5SgFEcpoToAdZPcFu0Y4i1g5taUKga1csckoAqKR62uO ebps4/kOcDGX0IWnpXupcwh7N4KmhJdT2bOF78kQyrehi4TIg/R8tBgrEyJeU4rP3cCR TyAQ== 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:in-reply-to:references:date :message-id:mime-version; bh=8We1hipCVaR63KGPpEcBErm/Vz73MITyK5DxbFWMNvs=; b=n0yblG3cQLnoXAE4hdrUNMwl36Z31gJAE4GM1xBarDmZykIkE15K5IQ+SaVl3FKLO5 T4JXfpXkU3c/+RtPd/acxncbr8Mq9dzBPI2JUgcdN30h70YKJXb7W6fWE9WdL4QMzB2N Bn84d3nQpopxuOf6xcepkrsgBV62zJGdZucAHJ/ep3Kl0OWsSYPBtf+RmqewepzASVDw kmeTmcfzeGWcPptgn3Pb3hZm3drVn8nQiHO5EzRCTp8zRhD9Q5jt+736Opyq95aoSrBG VbPSayAvGgcPbgqdYdbEUnJw4kc36m5FISZuKUyPaWF/UUWlCg3spMZJo1RfbhhBoN68 wahQ== X-Gm-Message-State: AOAM531bqbOdoOTN+mCZ+7cDIPAi7OYxeMOL1C1Rr4iOlASHYqtnBUfA JqWIbrwwNNYwOIhNSLhoSKCKQKUmJ8PAZA== X-Google-Smtp-Source: ABdhPJzLxuofQnXTND+aMlkMV1iX41Ny5NclVrhYv9IzCnXFLlxdpeMJg5IuxdEPJm6BbE+2SxJErQ== X-Received: by 2002:ac2:59cc:0:b0:43d:909b:ed84 with SMTP id x12-20020ac259cc000000b0043d909bed84mr7244812lfn.454.1645862185865; Fri, 25 Feb 2022 23:56:25 -0800 (PST) Received: from localhost (109-252-135-33.dynamic.spd-mgts.ru. [109.252.135.33]) by smtp.gmail.com with ESMTPSA id j2-20020ac24542000000b0044331de4941sm397519lfm.90.2022.02.25.23.56.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Feb 2022 23:56:25 -0800 (PST) From: Andrew Tropin In-Reply-To: <87fsoqwv64.fsf@yoctocell.xyz> References: <878rutss0n.fsf@trop.in> <87fsoqwv64.fsf@yoctocell.xyz> Date: Sat, 26 Feb 2022 10:56:22 +0300 Message-ID: <87czjadpsp.fsf@trop.in> MIME-Version: 1.0 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 On 2022-02-10 17:20, Xinglu Chen wrote: > Andrew schrieb am Dienstag der 01. Februar 2022 um 11:40 +03: > >> 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") > > We usually strip away prefixes and suffixes. FWIW, version 1.7.3 seems > to be available as well. AFAIU, it's a part of a version, it can potentially be +wayland2, +wayland3 if it will be necessary to make another intermediate release, which is related to wayland/wlroots changes, while upstream version still the same (1.7.3 for example). >> + (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."))) > > The home-page should also be changed to point to the fork. > > Otherwise, LGTM! Thank you for the pointing out, updated version, home-page. From f470b6f6a6b4ec1ef789a302af3ee98d562462d8 Mon Sep 17 00:00:00 2001 From: Andrew Tropin Date: Tue, 1 Feb 2022 11:40:08 +0300 Subject: [PATCH] gnu: Add rofi-wayland. Tested on sway session. * gnu/packages/xdisorg.scm (rofi-wayland): New variable. --- gnu/packages/xdisorg.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 42452d0721..c43a5fbd44 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. ;;; @@ -1743,6 +1744,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") -- 2.34.0