From: "Reza Alizadeh Majd" <r.majd@pantherx.org>
To: Danny Milosavljevic <dannym@scratchpost.org>
Cc: 38926@debbugs.gnu.org
Subject: bug#38926: pcmanfm-qt unable to open files by double click
Date: Mon, 06 Jan 2020 20:15:43 +0330 [thread overview]
Message-ID: <8334f32d-e27e-4c91-896c-096de07fbdf2@www.fastmail.com> (raw)
In-Reply-To: <20200106173857.09760737@scratchpost.org>
Hi,
On Mon, Jan 6, 2020, at 8:08 PM, Danny Milosavljevic wrote:
> > Or, for a complete fix, patch glib-2.60.6/gio/gdesktopappinfo.c
> >
> > tmp = "gio-launch-desktop"
> >
> > to say
> >
> > tmp = "/gnu/store/xyz-glib-.../bin/gio-launch-desktop";
> >
> > instead. The latter has the advantage that it magically fixes ALL the applications.
>
> When I try that, I get a circular dependency between the "bin" and the
> "out" outputs.
>
> To be continued...
>
I faced same issue. using `substitute*` .
using following patch `glib` builds successfully:
--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 528b67e6cf..9f34fe59bc 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -302,6 +302,12 @@ shared NFS home directories.")
(number->string (parallel-job-count)))
;; Do not run tests marked as "flaky".
(invoke "meson" "test" "--no-suite" "flaky")))
+ (add-before 'build 'patch-gio-launch-desktop
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((bin-path (assoc-ref outputs "bin") "/bin"))
+ (setenv "GIO_LAUNCH_DESKTOP"
+ (string-append bin-path "/bin/gio-launch-desktop"))
+ #t)))
;; TODO: meson does not permit the bindir to be outside of prefix.
;; See https://github.com/mesonbuild/meson/issues/2561
;; We can remove this once meson is patched.
--8<---------------cut here---------------end--------------->8---
but the build process takes too much time and I'm waitingfor other
related packages to be built and test if the issue is resolved or not.
--
Regards
Reza Alizadeh Majd
PantherX Team
next prev parent reply other threads:[~2020-01-06 16:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-04 20:24 bug#38926: pcmanfm-qt unable to open files by double click Reza Alizadeh Majd
2020-01-05 9:56 ` Danny Milosavljevic
2020-01-05 13:52 ` Reza Alizadeh Majd
2020-01-05 22:37 ` Danny Milosavljevic
2020-01-05 22:57 ` Danny Milosavljevic
2020-01-06 10:06 ` Danny Milosavljevic
2020-01-06 16:38 ` Danny Milosavljevic
2020-01-06 16:45 ` Reza Alizadeh Majd [this message]
2020-01-06 19:44 ` Danny Milosavljevic
2020-01-07 6:23 ` Reza Alizadeh Majd
2020-01-07 8:03 ` Reza Alizadeh Majd
2020-01-07 11:19 ` Hartmut Goebel
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=8334f32d-e27e-4c91-896c-096de07fbdf2@www.fastmail.com \
--to=r.majd@pantherx.org \
--cc=38926@debbugs.gnu.org \
--cc=dannym@scratchpost.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).