unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#53717] [PATCH] gnu: Add rofi-wayland.
@ 2022-02-01  8:40 Andrew Tropin
  2022-02-10 16:20 ` Xinglu Chen
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Andrew Tropin @ 2022-02-01  8:40 UTC (permalink / raw)
  To: 53717

[-- Attachment #1: Type: text/plain, Size: 2008 bytes --]


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 <felgru@posteo.net>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
 ;;;
 ;;; 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")
-- 
2.34.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#53717] [PATCH] gnu: Add rofi-wayland.
  2022-02-01  8:40 [bug#53717] [PATCH] gnu: Add rofi-wayland Andrew Tropin
@ 2022-02-10 16:20 ` Xinglu Chen
  2022-02-26  7:56   ` Andrew Tropin
  2022-04-18  8:26 ` [bug#53717] [PATCH v2] " Andrew Tropin
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Xinglu Chen @ 2022-02-10 16:20 UTC (permalink / raw)
  To: Andrew Tropin, 53717

[-- Attachment #1: Type: text/plain, Size: 2283 bytes --]

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 <felgru@posteo.net>
>  ;;; Copyright © 2021 jgart <jgart@dismail.de>
>  ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
> +;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
>  ;;;
>  ;;; 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.

> +   (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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#53717] [PATCH] gnu: Add rofi-wayland.
  2022-02-10 16:20 ` Xinglu Chen
@ 2022-02-26  7:56   ` Andrew Tropin
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Tropin @ 2022-02-26  7:56 UTC (permalink / raw)
  To: Xinglu Chen, 53717


[-- Attachment #1.1: Type: text/plain, Size: 2709 bytes --]

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 <felgru@posteo.net>
>>  ;;; Copyright © 2021 jgart <jgart@dismail.de>
>>  ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
>> +;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
>>  ;;;
>>  ;;; 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.


[-- Attachment #1.2: 0001-gnu-Add-rofi-wayland.patch --]
[-- Type: text/x-patch, Size: 2256 bytes --]

From f470b6f6a6b4ec1ef789a302af3ee98d562462d8 Mon Sep 17 00:00:00 2001
From: Andrew Tropin <andrew@trop.in>
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 <jgart@dismail.de>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
 ;;;
 ;;; 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


[-- Attachment #1.3: Type: text/plain, Size: 37 bytes --]


-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#53717] [PATCH v2] gnu: Add rofi-wayland.
  2022-02-01  8:40 [bug#53717] [PATCH] gnu: Add rofi-wayland Andrew Tropin
  2022-02-10 16:20 ` Xinglu Chen
@ 2022-04-18  8:26 ` Andrew Tropin
  2022-08-04 11:50 ` [bug#53717] [PATCH] " Andrew Tropin
  2023-09-01 22:28 ` bug#53717: " Vagrant Cascadian
  3 siblings, 0 replies; 6+ messages in thread
From: Andrew Tropin @ 2022-04-18  8:26 UTC (permalink / raw)
  To: 53717

[-- Attachment #1: Type: text/plain, Size: 2067 bytes --]


* 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 <jgart@dismail.de>
 ;;; Copyright © 2022 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
+;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
 ;;;
 ;;; 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")
-- 
2.35.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 853 bytes --]

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#53717] [PATCH] gnu: Add rofi-wayland.
  2022-02-01  8:40 [bug#53717] [PATCH] gnu: Add rofi-wayland Andrew Tropin
  2022-02-10 16:20 ` Xinglu Chen
  2022-04-18  8:26 ` [bug#53717] [PATCH v2] " Andrew Tropin
@ 2022-08-04 11:50 ` Andrew Tropin
  2023-09-01 22:28 ` bug#53717: " Vagrant Cascadian
  3 siblings, 0 replies; 6+ messages in thread
From: Andrew Tropin @ 2022-08-04 11:50 UTC (permalink / raw)
  To: 53717

[-- Attachment #1: Type: text/plain, Size: 64 bytes --]


Just a gentle reminder.

-- 
Best regards,
Andrew Tropin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#53717: [PATCH] gnu: Add rofi-wayland.
  2022-02-01  8:40 [bug#53717] [PATCH] gnu: Add rofi-wayland Andrew Tropin
                   ` (2 preceding siblings ...)
  2022-08-04 11:50 ` [bug#53717] [PATCH] " Andrew Tropin
@ 2023-09-01 22:28 ` Vagrant Cascadian
  3 siblings, 0 replies; 6+ messages in thread
From: Vagrant Cascadian @ 2023-09-01 22:28 UTC (permalink / raw)
  To: Andrew Tropin, 53717-done

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

On 2022-02-01, Andrew Tropin wrote:
> * gnu/packages/xdisorg.scm (rofi-wayland): New variable.

rofi-wayland was added in:

04b5450ad852735dfa50961d3afc789b2e52b407 gnu: Add rofi-wayland.

And updated to a newer version in:

19c042ddf80533ba7a615b424dedf9647ca65b0f gnu: rofi-wayland: Update to 1.7.5+wayland2.

Marking as done.

live well,
  vagrant

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-01 22:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-01  8:40 [bug#53717] [PATCH] gnu: Add rofi-wayland Andrew Tropin
2022-02-10 16:20 ` Xinglu Chen
2022-02-26  7:56   ` Andrew Tropin
2022-04-18  8:26 ` [bug#53717] [PATCH v2] " Andrew Tropin
2022-08-04 11:50 ` [bug#53717] [PATCH] " Andrew Tropin
2023-09-01 22:28 ` bug#53717: " Vagrant Cascadian

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).