GNU bug report logs -
#38926
pcmanfm-qt unable to open files by double click
Previous Next
Full log
View this message in rfc822 format
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
This bug report was last modified 5 years and 214 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.