GNU bug report logs - #72500
[PATCH] Add: rofi-emoji.

Previous Next

Package: guix-patches;

Reported by: "Wamm K. D." <jaft.r <at> outlook.com>

Date: Tue, 6 Aug 2024 23:50:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 72500 AT debbugs.gnu.org.

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#72500; Package guix-patches. (Tue, 06 Aug 2024 23:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Wamm K. D." <jaft.r <at> outlook.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 06 Aug 2024 23:50:02 GMT) Full text and rfc822 format available.

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

From: "Wamm K. D." <jaft.r <at> outlook.com>
To: guix-patches <at> gnu.org
Cc: "Wamm K. D." <jaft.r <at> outlook.com>
Subject: [PATCH] Add: rofi-emoji.
Date: Tue,  6 Aug 2024 18:41:09 -0500
* gnu/packages/xdisorg.scm (rofi-emoji): New variable.
---
 gnu/packages/xdisorg.scm | 39 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 38 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4c12835b24..bb95304a1f 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -55,7 +55,7 @@
 ;;; Copyright © 2022 John Kehayias <john.kehayias <at> protonmail.com>
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
 ;;; Copyright © 2022 Derek Chuank <derekchuank <at> outlook.com>
-;;; Copyright © 2022, 2023 Wamm K. D. <jaft.r <at> outlook.com>
+;;; Copyright © 2022, 2023, 2024 Wamm K. D. <jaft.r <at> outlook.com>
 ;;; Copyright © 2022 Tobias Kortkamp <tobias.kortkamp <at> gmail.com>
 ;;; Copyright © 2023 Yovan Naumovski <yovan <at> gorski.stream>
 ;;; Copyright © 2023 Jake Leporte <jakeleporte <at> outlook.com>
@@ -2102,6 +2102,43 @@ (define-public rofi-calc
 natural language input and provide results.")
     (license license:expat)))
 
+(define-public rofi-emoji
+  (package
+    (name "rofi-emoji")
+    (version "3.4.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url (string-append "https://github.com/Mange/" name "/"))
+                     (commit (string-append "v" version))))
+              (sha256 (base32
+                        "0bga0gj948l2xpril7gklm78ngs4l50g44k3iwrmw1sg5din0y34"))))
+    (build-system gnu-build-system)
+    (arguments (list #:phases
+                     #~(modify-phases %standard-phases
+                         (add-after 'unpack 'provide-output-instead-of-rofi
+                           (lambda _
+                             (substitute* "configure.ac"
+                               (("\\[rofi_PLUGIN_INSTALL_DIR]=\".*")
+                                (string-append "[rofi_PLUGIN_INSTALL_DIR]=\""
+                                               #$output
+                                               "/lib/rofi/\"\n")))))
+                         (add-after 'provide-output-instead-of-rofi
+                             'patch-adapter-script-xdotool
+                           (lambda* (#:key inputs #:allow-other-keys)
+                             (substitute* "clipboard-adapter.sh"
+                               (("xdotool")
+                                (search-input-file inputs "/bin/xdotool"))))))))
+    (native-inputs (list autoconf automake libtool pkg-config))
+    (inputs (list glib cairo xdotool))
+    (propagated-inputs (list rofi))
+    (synopsis "Emoji-selector plugin for Rofi")
+    (description "@code{rofi-emoji} is an emoji-selector plugin for Rofi that
+copies the selected emoji to the clipboard and can insert it into the current
+program window.")
+    (home-page "https://github.com/Mange/rofi-emoji")
+    (license license:expat)))
+
 (define-public tint2
   (package
     (name "tint2")
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72500; Package guix-patches. (Wed, 07 Aug 2024 00:06:02 GMT) Full text and rfc822 format available.

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

From: "Wamm K. D." <jaft.r <at> outlook.com>
To: 72500 <at> debbugs.gnu.org
Cc: "Wamm K. D." <jaft.r <at> outlook.com>
Subject: [PATCH] Add: rofi-emoji-wayland.
Date: Tue,  6 Aug 2024 19:04:47 -0500
* gnu/packages/xdisorg.scm (rofi-emoji-wayland): New variable.
---
 gnu/packages/xdisorg.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index bb95304a1f..cfcccb3e81 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2139,6 +2139,25 @@ (define-public rofi-emoji
     (home-page "https://github.com/Mange/rofi-emoji")
     (license license:expat)))
 
+(define-public rofi-emoji-wayland
+  (package/inherit rofi-emoji
+    (name "rofi-emoji-wayland")
+    (arguments (substitute-keyword-arguments (package-arguments rofi-emoji)
+                 ((#:phases phases)
+                  #~(modify-phases #$phases
+                      (replace 'patch-adapter-script-xdotool
+                        (lambda* (#:key inputs #:allow-other-keys)
+                          (substitute* "clipboard-adapter.sh"
+                            (("wtype") (search-input-file inputs
+                                                          "/bin/wtype")))))))))
+  (inputs (modify-inputs (package-inputs rofi-emoji)
+            (replace "xdotool" wtype)))
+  (propagated-inputs (modify-inputs (package-propagated-inputs rofi-emoji)
+                       (replace "rofi" rofi-wayland)))
+  (description (string-append
+                (package-description rofi-pass)
+                "\nThis package provides Wayland support by default."))))
+
 (define-public tint2
   (package
     (name "tint2")
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#72500; Package guix-patches. (Wed, 07 Aug 2024 00:09:02 GMT) Full text and rfc822 format available.

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

From: Jaft <jaft.r <at> outlook.com>
To: "72500 <at> debbugs.gnu.org" <72500 <at> debbugs.gnu.org>
Subject: Re: [PATCH] Add: rofi-emoji-wayland.
Date: Wed, 7 Aug 2024 00:07:34 +0000 (UTC)
[Message part 1 (text/plain, inline)]
 Sending these both to the same bug since the Wayland version depends on the first patch.
I don't think they're so drastically different as to require two separate issue numbers but let me know if that's preferred and I can open a new one for this patch.
    On Tuesday, August 6, 2024 at 07:05:04 PM CDT, Wamm K. D. <jaft.r <at> outlook.com> wrote:  
 
 * gnu/packages/xdisorg.scm (rofi-emoji-wayland): New variable.
---
 gnu/packages/xdisorg.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index bb95304a1f..cfcccb3e81 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2139,6 +2139,25 @@ (define-public rofi-emoji
    (home-page "https://github.com/Mange/rofi-emoji")
    (license license:expat)))
 
+(define-public rofi-emoji-wayland
+  (package/inherit rofi-emoji
+    (name "rofi-emoji-wayland")
+    (arguments (substitute-keyword-arguments (package-arguments rofi-emoji)
+                ((#:phases phases)
+                  #~(modify-phases #$phases
+                      (replace 'patch-adapter-script-xdotool
+                        (lambda* (#:key inputs #:allow-other-keys)
+                          (substitute* "clipboard-adapter.sh"
+                            (("wtype") (search-input-file inputs
+                                                          "/bin/wtype")))))))))
+  (inputs (modify-inputs (package-inputs rofi-emoji)
+            (replace "xdotool" wtype)))
+  (propagated-inputs (modify-inputs (package-propagated-inputs rofi-emoji)
+                      (replace "rofi" rofi-wayland)))
+  (description (string-append
+                (package-description rofi-pass)
+                "\nThis package provides Wayland support by default."))))
+
 (define-public tint2
  (package
    (name "tint2")
-- 
2.45.2

  
[Message part 2 (text/html, inline)]

This bug report was last modified 312 days ago.

Previous Next


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