GNU bug report logs - #77505
[PATCH] gnu: qt: Add hyprland-qt-support.

Previous Next

Package: guix-patches;

Reported by: Daniel Ziltener <dziltener <at> lyrion.ch>

Date: Thu, 3 Apr 2025 20:44:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 77505 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#77505; Package guix-patches. (Thu, 03 Apr 2025 20:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Ziltener <dziltener <at> lyrion.ch>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 03 Apr 2025 20:44:02 GMT) Full text and rfc822 format available.

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

From: Daniel Ziltener <dziltener <at> lyrion.ch>
To: guix-patches <at> gnu.org
Cc: Daniel Ziltener <dziltener <at> lyrion.ch>
Subject: [PATCH] gnu: qt: Add hyprland-qt-support.
Date: Thu,  3 Apr 2025 22:41:13 +0200
Adds hyprland-qt-support. I hope this is a fitting module. Maybe we should think about adding a hyprland-xyz module at some point?

---
 gnu/packages/qt.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 94cc879f4a..17dad66af5 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -442,6 +442,48 @@ (define-public materialdecoration
       (home-page "https://github.com/lirios/materialdecoration")
       (license license:lgpl3+))))
 
+(define-public hyprland-qt-support
+  (package
+   (name "hyprland-qt-support")
+   (version "0.1.0")
+   (source
+    (origin
+     (method git-fetch)
+     (uri
+      (git-reference
+       (url "https://github.com/hyprwm/hyprland-qt-support")
+       (commit (string-append "v" version))))
+     (sha256
+      (base32
+       "0rxdj8l985bvsg3gca79jb4rf0dy066x5cmxsyyavlcp7yz6irps"))))
+   (build-system qt-build-system)
+   (arguments
+    (list
+     #:tests? #false
+     #:qtbase qtbase
+     #:configure-flags
+     #~(list
+        "-DUSE_QT6=ON"
+        "-DCMAKE_BUILD_TYPE:STRING=Release"
+        "-DINSTALL_QML_PREFIX=/lib/qt6/qml")))
+   (native-inputs
+    (list
+     gcc-14
+     pkg-config
+     vulkan-headers))
+   (inputs
+    (list
+     qtbase
+     qtdeclarative
+     qtsvg
+     qtwayland
+     hyprlang))
+   (home-page "https://github.com/hyprwm/hyprland-qt-support")
+   (synopsis "A qml style provider for hypr* qt apps")
+   (description "A qml style provider for hypr* qt apps. \
+Launch a qt/qmp app with @code{QT_QUICK_CONTROLS_STYLE=org.hyprland.style}.")
+   (license license:bsd-3)))
+
 (define-public grantlee
   (package
     (name "grantlee")
-- 
2.49.0





Information forwarded to guix-patches <at> gnu.org:
bug#77505; Package guix-patches. (Thu, 03 Apr 2025 22:09:02 GMT) Full text and rfc822 format available.

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

From: Gabriel Santos <gabrielsantosdesouza <at> disroot.org>
To: Daniel Ziltener <dziltener <at> lyrion.ch>,
 Daniel Ziltener via Guix-patches via <guix-patches <at> gnu.org>,
 77505 <at> debbugs.gnu.org
Subject: Re: [bug#77505] [PATCH] gnu: qt: Add hyprland-qt-support.
Date: Thu, 03 Apr 2025 17:52:29 -0300
Em 3 de abril de 2025 17:41:13 BRT, Daniel Ziltener via Guix-patches via <guix-patches <at> gnu.org> escreveu:
>Adds hyprland-qt-support. I hope this is a fitting module. Maybe we should think about adding a hyprland-xyz module at some point?
>
>---
> gnu/packages/qt.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 42 insertions(+)
>
>diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
>index 94cc879f4a..17dad66af5 100644
>--- a/gnu/packages/qt.scm
>+++ b/gnu/packages/qt.scm
>@@ -442,6 +442,48 @@ (define-public materialdecoration
>       (home-page "https://github.com/lirios/materialdecoration")
>       (license license:lgpl3+))))
> 
>+(define-public hyprland-qt-support
>+  (package
>+   (name "hyprland-qt-support")
>+   (version "0.1.0")
>+   (source
>+    (origin
>+     (method git-fetch)
>+     (uri
>+      (git-reference
>+       (url "https://github.com/hyprwm/hyprland-qt-support")
>+       (commit (string-append "v" version))))
>+     (sha256
>+      (base32
>+       "0rxdj8l985bvsg3gca79jb4rf0dy066x5cmxsyyavlcp7yz6irps"))))
>+   (build-system qt-build-system)
>+   (arguments
>+    (list
>+     #:tests? #false
>+     #:qtbase qtbase
>+     #:configure-flags
>+     #~(list
>+        "-DUSE_QT6=ON"
>+        "-DCMAKE_BUILD_TYPE:STRING=Release"
>+        "-DINSTALL_QML_PREFIX=/lib/qt6/qml")))
>+   (native-inputs
>+    (list
>+     gcc-14
>+     pkg-config
>+     vulkan-headers))
>+   (inputs
>+    (list
>+     qtbase
>+     qtdeclarative
>+     qtsvg
>+     qtwayland
>+     hyprlang))
>+   (home-page "https://github.com/hyprwm/hyprland-qt-support")
>+   (synopsis "A qml style provider for hypr* qt apps")
>+   (description "A qml style provider for hypr* qt apps. \
>+Launch a qt/qmp app with @code{QT_QUICK_CONTROLS_STYLE=org.hyprland.style}.")
>+   (license license:bsd-3)))
>+
> (define-public grantlee
>   (package
>     (name "grantlee")

Greetings,

If #76910[1] is merged, a hyprland-xyz wouls definetly be
appropriate.

[1] <https://issues.guix.gnu.org/76910>

Regards,

-- 
Gabriel Santos




Information forwarded to guix-patches <at> gnu.org:
bug#77505; Package guix-patches. (Thu, 03 Apr 2025 22:10:01 GMT) Full text and rfc822 format available.

This bug report was last modified 5 days ago.

Previous Next


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