bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38926: pcmanfm-qt unable to open files by double click


From: Reza Alizadeh Majd
Subject: bug#38926: pcmanfm-qt unable to open files by double click
Date: Mon, 06 Jan 2020 20:15:43 +0330
User-agent: Cyrus-JMAP/3.1.7-731-g1812a7f-fmstable-20200106v2

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]