GNU bug report logs - #63558
[PATCH] gnu: Add qutebrowser/wayland.

Previous Next

Package: guix-patches;

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

Date: Wed, 17 May 2023 20:09:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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 63558 in the body.
You can then email your comments to 63558 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#63558; Package guix-patches. (Wed, 17 May 2023 20:09:01 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. (Wed, 17 May 2023 20:09: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] gnu: Add qutebrowser/wayland.
Date: Wed, 17 May 2023 15:00:05 -0500
* gnu/packages/web-browsers.scm (qutebrowser/wayland): New variable.
---
Create a package that can be used with Wayland, like UnGoogled
Chromium and Icecat have.

 gnu/packages/web-browsers.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 33de0039838..eec818f9261 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2021 Alexander Krotov <krotov <at> iitp.ru>
 ;;; Copyright © 2020 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
 ;;; Copyright © 2021 Christopher Howard <christopher <at> librehacker.com>
+;;; Copyright © 2023 Wamm K. D. <jaft.r <at> outlook.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -548,6 +549,21 @@ (define-public qutebrowser
 GUI.  It is based on PyQt5 and QtWebEngine.")
     (license license:gpl3+)))
 
+(define-public qutebrowser/wayland
+  (package/inherit qutebrowser
+    (name "qutebrowser-wayland")
+    (inputs (modify-inputs (package-inputs qutebrowser)
+              (prepend qtwayland-5)))
+    (arguments (substitute-keyword-arguments (package-arguments qutebrowser)
+                 ((#:phases phases)
+                  #~(modify-phases #$phases
+                      (add-after 'wrap-qt-process-path 'wrap-qtwebengine-path
+                        (lambda* (#:key inputs outputs #:allow-other-keys)
+                          (wrap-program (search-input-file outputs "bin/qutebrowser")
+                            `("QT_PLUGIN_PATH" =
+                              (,(string-append (assoc-ref inputs "qtwayland")
+                                               "/lib/qt5/plugins/"))))))))))))
+
 (define-public vimb
   (package
     (name "vimb")
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#63558; Package guix-patches. (Fri, 01 Sep 2023 14:28:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: "Wamm K. D" <jaft.r <at> outlook.com>
Cc: 63558 <at> debbugs.gnu.org
Subject: Re: bug#63558: [PATCH] gnu: Add qutebrowser/wayland.
Date: Fri, 01 Sep 2023 10:26:45 -0400
Hi,

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

> * gnu/packages/web-browsers.scm (qutebrowser/wayland): New variable.
> ---
> Create a package that can be used with Wayland, like UnGoogled
> Chromium and Icecat have.

There's a difference though; here qutebrowser uses Qt, and qtwayland
works as a plugin, so as long as it's found in your user profile it
should just work.  Is it not the case?

I'd like to avoid adding package variants if possible.

-- 
Thanks,
Maxim




Information forwarded to guix-patches <at> gnu.org:
bug#63558; Package guix-patches. (Sat, 02 Sep 2023 06:05:02 GMT) Full text and rfc822 format available.

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

From: Jaft <jaft.r <at> outlook.com>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: "63558 <at> debbugs.gnu.org" <63558 <at> debbugs.gnu.org>
Subject: Re: bug#63558: [PATCH] gnu: Add qutebrowser/wayland.
Date: Sat, 2 Sep 2023 06:04:12 +0000 (UTC)
[Message part 1 (text/plain, inline)]
 I'm running XWayland and, at one point, it just stopped working (would launch in X, instead); it's been a while since I ran it (I've been running this version, instead) but I think that was why I wrote this up. Even when it was working, launching it from an X app. would cause it to run as X. I remember it being really annoying in unexpected ways and not always predictable.    On Friday, September 1, 2023 at 09:26:49 AM CDT, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> wrote:  
 
 Hi,

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

> * gnu/packages/web-browsers.scm (qutebrowser/wayland): New variable.
> ---
> Create a package that can be used with Wayland, like UnGoogled
> Chromium and Icecat have.

There's a difference though; here qutebrowser uses Qt, and qtwayland
works as a plugin, so as long as it's found in your user profile it
should just work.  Is it not the case?

I'd like to avoid adding package variants if possible.

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

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sun, 03 Sep 2023 18:07:02 GMT) Full text and rfc822 format available.

Notification sent to "Wamm K. D" <jaft.r <at> outlook.com>:
bug acknowledged by developer. (Sun, 03 Sep 2023 18:07:02 GMT) Full text and rfc822 format available.

Message #16 received at 63558-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Jaft <jaft.r <at> outlook.com>
Cc: "63558 <at> debbugs.gnu.org" <63558-done <at> debbugs.gnu.org>
Subject: Re: bug#63558: [PATCH] gnu: Add qutebrowser/wayland.
Date: Sun, 03 Sep 2023 10:53:06 -0400
tags 63558 + notabug
quit

Hello,

Jaft <jaft.r <at> outlook.com> writes:

>  I'm running XWayland and, at one point, it just stopped working
> (would launch in X, instead); it's been a while since I ran it (I've
> been running this version, instead) but I think that was why I wrote
> this up. Even when it was working, launching it from an X app. would
> cause it to run as X. I remember it being really annoying in
> unexpected ways and not always predictable.  On Friday, September 1,
> 2023 at 09:26:49 AM CDT, Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
> wrote:

OK; I'll close the issue, but if someone else encounters a problem
attempting to use qutebrowser on wayland (despite installing qtwayland
in their user profile), let's reopen and revisit it.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 02 Oct 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 205 days ago.

Previous Next


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