unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59936] [PATCH] gnu: Add xdg-desktop-portal-lxqt.
@ 2022-12-10  4:11 Tobias Kortkamp
  0 siblings, 0 replies; only message in thread
From: Tobias Kortkamp @ 2022-12-10  4:11 UTC (permalink / raw)
  To: 59936; +Cc: Tobias Kortkamp

* gnu/packages/lxqt.scm (xdg-desktop-portal-lxqt): New variable.
---
 gnu/packages/lxqt.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

Hi,

I would like to note that I have not tested this under lxqt. It works
fine under Sway with XDG_CURRENT_DESKTOP=LXQt (which I set to make
lxqt-qtplugin work properly) after manually starting the portal in my
Sway config. The portal is needed to get a file chooser dialog in
Flatpak apps.

Best regards,

Tobias

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index dde87382e8..cae4ab7384 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2020 Fakhri Sajadi <f.sajadi@pantherx.org>
 ;;; Copyright © 2020 André Batista <nandre@riseup.net>
 ;;; Copyright © 2021, 2022 Brendan Tildesley <mail@brendan.scot>
+;;; Copyright © 2022 Tobias Kortkamp <tobias.kortkamp@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1123,6 +1124,31 @@ (define-public lxqt-connman-applet
 desktop.")
       (license license:lgpl2.1+))))
 
+(define-public xdg-desktop-portal-lxqt
+  (package
+    (name "xdg-desktop-portal-lxqt")
+    (version "0.3.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/lxqt/xdg-desktop-portal-lxqt/releases/download/"
+                    version "/xdg-desktop-portal-lxqt-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1qz71y5k5g3rwn4r2xifmbfhkgifghfknxl3hlljvpdd2yqf8p7p"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list #:tests? #f))
+    (native-inputs (list))
+    (inputs (list kwindowsystem libfm-qt qtbase-5 qtx11extras))
+    (propagated-inputs (list xdg-desktop-portal))
+    (home-page "https://github.com/lxqt/xdg-desktop-portal-lxqt")
+    (synopsis "LXQt implementation of xdg-desktop-portal")
+    (description
+     "This package provides a backend implementation for xdg-desktop-portal that is
+using Qt/KF5/libfm-qt.")
+    (license license:lgpl2.1+)))
+
 ;; The LXQt Desktop Environment
 
 (define-public lxqt

base-commit: 0ffa501f2b3e83ae56e9c2bd31418439090e869a
-- 
2.38.1





^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-10  4:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-10  4:11 [bug#59936] [PATCH] gnu: Add xdg-desktop-portal-lxqt Tobias Kortkamp

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).