From: florhizome@posteo.net
To: 58500@debbugs.gnu.org
Cc: florhizome <florhizome@posteo.net>
Subject: [bug#58500] [PATCH] gnu: add rofi-wayland
Date: Thu, 13 Oct 2022 15:22:35 +0000 [thread overview]
Message-ID: <a78a2a09e0cda39aadce9eaf131fb9d1aca013fd.1665674070.git.florhizome@posteo.net> (raw)
From: florhizome <florhizome@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
next reply other threads:[~2022-10-13 17:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-13 15:22 florhizome [this message]
2022-12-06 10:17 ` bug#58500: [PATCH] gnu: add rofi-wayland Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a78a2a09e0cda39aadce9eaf131fb9d1aca013fd.1665674070.git.florhizome@posteo.net \
--to=florhizome@posteo.net \
--cc=58500@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).