GNU bug report logs - #58500
[PATCH] gnu: add rofi-wayland

Previous Next

Package: guix-patches;

Reported by: florhizome <at> posteo.net

Date: Thu, 13 Oct 2022 17:48:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58500 in the body.
You can then email your comments to 58500 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#58500; Package guix-patches. (Thu, 13 Oct 2022 17:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to florhizome <at> posteo.net:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 13 Oct 2022 17:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: florhizome <at> posteo.net
To: guix-patches <at> gnu.org
Cc: florhizome <florhizome <at> posteo.net>
Subject: [PATCH] gnu: add rofi-wayland
Date: Thu, 13 Oct 2022 15:22:35 +0000
From: florhizome <florhizome <at> posteo.net>

This adds a wayland compatible fork of rofi. 


---
 gnu/packages/xdisorg.scm | 46 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 2533744633..2dbee6f7b6 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1860,6 +1860,52 @@ (define-public rofi
 by name.")
     (license license:expat)))
 
+(define-public rofi-wayland
+  (package
+    (inherit rofi)
+    (name "rofi-wayland")
+    (version "1.7.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/lbonn/rofi")
+         (commit
+           (string-append version "+wayland1"))
+          (recursive? #t)))
+       (sha256
+          (base32 "0d2h1ys05sixwf508b3cqaailjibh56009cnjz809akgndbqplkm"))
+         (file-name (git-file-name name version))))
+    (build-system meson-build-system)
+    (arguments
+     (list #:tests? #f ;;last test fails
+           #:parallel-tests? #f             ; fails in some circumstances
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'configure 'adjust-tests
+                 (lambda _
+                   (substitute* '("test/helper-expand.c")
+                     (("~root") "/root")
+                     (("~") "")
+                     (("g_get_home_dir \\(\\)") "\"/\"")))))))
+    (inputs (modify-inputs
+             (package-inputs rofi)
+             (append wayland-protocols gdk-pixbuf wayland)))
+    (synopsis "Rofi fork that's wayland-ready")
+    (description "This is a fork of Rofi with added support for Wayland via the
+ layer shell protocol.
+Differences with rofi (in wayland mode):
+@itemize
+@item native window selection mode when running under Wayland.
+@item -normal-window flag in Wayland mode.
+@item selecting which monitor to run rofi on in Wayland mode,
+ rofi only shows up on the currently focused monitor
+@item some window locations parameters work partially, x-offset
+ and y-offset are only working from screen edges
+@item some X11-specific options like -dpi or fake transparency
+@end itemize")))
+
 (define-public rofi-calc
   (package
     (name "rofi-calc")

base-commit: 86ec52f66735b122b9035eba56516fd16f3be958
prerequisite-patch-id: 253e1cc8278ab9981294f4e483c7b29a466672d9
prerequisite-patch-id: fb797b9fdd73d1c18cba5dbd5804396d333f13df
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#58500; Package guix-patches. (Tue, 06 Dec 2022 10:20:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: florhizome <at> posteo.net
Cc: guix-patches <at> gnu.org, 58500-close <at> debbugs.gnu.org
Subject: Re: [bug#58500] [PATCH] gnu: add rofi-wayland
Date: Tue, 06 Dec 2022 10:17:33 +0000
[Message part 1 (text/plain, inline)]
florhizome <at> posteo.net writes:

> From: florhizome <florhizome <at> posteo.net>
>
> This adds a wayland compatible fork of rofi. 
>
>
> ---
>  gnu/packages/xdisorg.scm | 46 ++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 46 insertions(+)

rofi-wayland was added in #59241, I'm sorry this patch was missed.

I'm going to close this issue, but please open another if there are any
changes that are still worth making.

Thanks,

Chris
[signature.asc (application/pgp-signature, inline)]

Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Tue, 06 Dec 2022 10:20:02 GMT) Full text and rfc822 format available.

Notification sent to florhizome <at> posteo.net:
bug acknowledged by developer. (Tue, 06 Dec 2022 10:20:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 03 Jan 2023 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.