From: "Reza Alizadeh Majd" <r.majd@pantherx.org>
To: 39004@debbugs.gnu.org
Subject: [bug#39004] [PATCH] gnu: pcmanfm-qt: fix open file issue
Date: Tue, 07 Jan 2020 11:30:57 +0330 [thread overview]
Message-ID: <9b9644a5-b79d-4293-8311-762a49f46a12@www.fastmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
Hello,
following patch fix the open file by double-click issue in pcmanfm-qt
which is previously reported on:
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38926
--
Regards
Reza Alizadeh Majd
PantherX Team
[-- Attachment #2: 0001-gnu-pcmanfm-qt-fix-double-click-issue.patch --]
[-- Type: application/octet-stream, Size: 1892 bytes --]
From e8e2a645d8fd0651f32457542529e4c015ffa54e Mon Sep 17 00:00:00 2001
From: Reza Alizadeh Majd <r.majd@pantherx.org>
Date: Tue, 7 Jan 2020 11:24:05 +0330
Subject: [PATCH] gnu: pcmanfm-qt: fix double-click issue
* gnu/packages/lxqt.scm (pcmanfm-qt): set GIO_LAUNCH_DESKTOP environment
variable to related location in "bin" output of "glib" package.
---
gnu/packages/lxqt.scm | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 5a3708e30a..c5935d7f2f 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -984,7 +984,8 @@ components to build desktop file managers which belongs to LXDE.")
(base32 "0x3c25inlxll965xszx37mnl5gp3smm2h7x04f67z0qlh3vsbrjq"))))
(build-system cmake-build-system)
(inputs
- `(("libfm-qt" ,libfm-qt)
+ `(("glib" ,glib "bin")
+ ("libfm-qt" ,libfm-qt)
("qtbase" ,qtbase)
("qtx11extras" ,qtx11extras)))
(native-inputs
@@ -1000,7 +1001,15 @@ components to build desktop file managers which belongs to LXDE.")
(substitute* '("autostart/CMakeLists.txt")
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
"DESTINATION \"etc/xdg"))
- #t)))))
+ #t))
+ (add-after 'install 'wrap-glib
+ (lambda* (#:key outputs inputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (glib (assoc-ref inputs "glib")))
+ (wrap-program (string-append out "/bin/pcmanfm-qt")
+ `("GIO_LAUNCH_DESKTOP" ":" prefix
+ (,(string-append glib "/bin/gio-launch-desktop"))))
+ #t))))))
(home-page "https://lxqt.org/")
(synopsis "File manager and desktop icon manager")
(description "PCManFM-Qt is the Qt port of PCManFM, the file manager of
--
2.23.0
next reply other threads:[~2020-01-07 8:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-07 8:00 Reza Alizadeh Majd [this message]
2020-01-07 9:52 ` [bug#39004] [PATCH] gnu: pcmanfm-qt: fix open file issue Danny Milosavljevic
2020-01-07 10:17 ` Reza Alizadeh Majd
2020-01-11 7:38 ` Reza Alizadeh Majd
2020-01-11 20:28 ` bug#39004: " Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9b9644a5-b79d-4293-8311-762a49f46a12@www.fastmail.com \
--to=r.majd@pantherx.org \
--cc=39004@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).