GNU bug report logs - #59936
[PATCH] gnu: Add xdg-desktop-portal-lxqt.

Previous Next

Package: guix-patches;

Reported by: Tobias Kortkamp <tobias.kortkamp <at> gmail.com>

Date: Sat, 10 Dec 2022 04:13:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 59936 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#59936; Package guix-patches. (Sat, 10 Dec 2022 04:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tobias Kortkamp <tobias.kortkamp <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 10 Dec 2022 04:13:02 GMT) Full text and rfc822 format available.

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

From: Tobias Kortkamp <tobias.kortkamp <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Tobias Kortkamp <tobias.kortkamp <at> gmail.com>
Subject: [PATCH] gnu: Add xdg-desktop-portal-lxqt.
Date: Sat, 10 Dec 2022 05:11:51 +0100
* 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 <at> pantherx.org>
 ;;; Copyright © 2020 André Batista <nandre <at> riseup.net>
 ;;; Copyright © 2021, 2022 Brendan Tildesley <mail <at> brendan.scot>
+;;; Copyright © 2022 Tobias Kortkamp <tobias.kortkamp <at> 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





This bug report was last modified 1 year and 138 days ago.

Previous Next


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