From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 26 02:56:37 2022 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 To: Xinglu Chen , 53717@debbugs.gnu.org Subject: Re: [bug#53717] [PATCH] gnu: Add rofi-wayland. 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 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53717 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 =C2=A9 2021 Felix Gruber >> ;;; Copyright =C2=A9 2021 jgart >> ;;; Copyright =C2=A9 2022 John Kehayias >> +;;; Copyright =C2=A9 2022 Andrew Tropin >> ;;; >> ;;; This file is part of GNU Guix. >> ;;; >> @@ -1742,6 +1743,40 @@ (define-public rofi >> by name.") >> (license license:expat))) >>=20=20 >> +(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=3Ddisabled")))) >> + (inputs >> + (list cairo >> + glib >> + libjpeg-turbo >> + librsvg >> + libxkbcommon >> + wayland >> + wayland-protocols >> + pango >> + startup-notification)) >> + (description "Rofi is a minimalist application launcher. It memori= zes which >> +applications you regularly use and also allows you to search for an app= lication >> +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. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-rofi-wayland.patch Content-Transfer-Encoding: quoted-printable From=20f470b6f6a6b4ec1ef789a302af3ee98d562462d8 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. =2D-- 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 =2D-- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -54,6 +54,7 @@ ;;; Copyright =C2=A9 2021 jgart ;;; Copyright =C2=A9 2022 John Kehayias ;;; Copyright =C2=A9 2022 Jai Vetrivelan +;;; Copyright =C2=A9 2022 Andrew Tropin ;;; ;;; This file is part of GNU Guix. ;;; @@ -1743,6 +1744,41 @@ (define-public rofi by name.") (license license:expat))) =20 +(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=3Ddisabled")))) + (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 applic= ation +by name. + +This is a fork with added support for Wayland via layer shell protocol."))) + (define-public rofi-calc (package (name "rofi-calc") =2D-=20 2.34.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Best regards, Andrew Tropin --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJDBAEBCgAtFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmIZ3SYPHGFuZHJld0B0 cm9wLmluAAoJECII0glYwd6wpscP/1Vo/Kh8BlU8q0gHfp55mXp7iHOL0q4/earv /WYYqOg7SQ8AlACTkTb7v6uSMWyUTit+QoxJ2dMvJETYmng2MGPBDoLgExCyU6Da fFJ5nP3X3lQXwrq/65IN369dV9mYZ0oPnfMDikMpJ9ze2O6LUgz7aNqbvkp8/WcU mbJecgQhmAZPaytGa/K7KLMRcHIBvKGAtlpSL9lFZ/0WSCdGtH1yEkJnXD01NKTB p5UkBJAZk215AKImdcgLb+v81nVTSL+i5070wmRqgm6VNbh0vkmGarwEu8JASv+G tE7I4FYP0scY4Os/+xOKWpjOmx96Jj/eii+9T84tmuEfxg3fLxcOJ3SXGSocNDUa n0Te5zOAcudjbQ/m+J8Nr6CxW9dqm547JTARveQKJceX2w0UkyeDNKUTCAnDJ9oU AkTZ4wM4uzy1WITP8AW+G+5Ci2SuT0JgTcpuAc0G0x0ac4qhICBIa0gyt5wiokIs nvpdQlU4S1/2RRwMec73gm8QH3oxB1srXlUbbbBhMLu4YsiWCgebX8Dmr+GEtkR0 oaUZE7dwi/SrtdCL266vvAwZuz2Cuzd744lyS4Q/EgFKBb/Ig+HnCU4UvJxrGcY4 PWYxTt88YLsvZSSGqCk8JOJC6pYSuhaKQ7qHnVNegQVoeqjCIo3BBpd23updx/GA xv1wsG76 =S03H -----END PGP SIGNATURE----- --==-=-=--