From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <8334f32d-e27e-4c91-896c-096de07fbdf2@www.fastmail.com> References: <20200105105655.5dde2d6c@scratchpost.org> <2e3e1ced-2c3c-4084-817d-ac19aca5562d@www.fastmail.com> <20200105233729.10add7f5@scratchpost.org> <20200105235739.6de82e76@scratchpost.org> <20200106173857.09760737@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:54340) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ioVWx-00043h-K0 for bug-guix@gnu.org; Mon, 06 Jan 2020 11:47:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ioVWw-0005MU-D2 for bug-guix@gnu.org; Mon, 06 Jan 2020 11:47:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:40601) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ioVWw-0005M8-4m for bug-guix@gnu.org; Mon, 06 Jan 2020 11:47:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ioVWw-0007wy-1h for bug-guix@gnu.org; Mon, 06 Jan 2020 11:47:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200106173857.09760737@scratchpost.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Danny Milosavljevic Cc: 38926@debbugs.gnu.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