GNU bug report logs - #32481
[PATCH] gnu: luakit: fix crash on startup

Previous Next

Package: guix-patches;

Reported by: Raphaël Mélotte <raphael.melotte <at> gmail.com>

Date: Mon, 20 Aug 2018 14:55:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32481 in the body.
You can then email your comments to 32481 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32481; Package guix-patches. (Mon, 20 Aug 2018 14:55:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raphaël Mélotte <raphael.melotte <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 20 Aug 2018 14:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Raphaël Mélotte <raphael.melotte <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: luakit: fix crash on startup
Date: Mon, 20 Aug 2018 16:54:42 +0200
[0001-gnu-luakit-Fix-crash-on-startup.patch (text/x-diff, inline)]
From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <raphael.melotte <at> posteo.net>
Date: Mon, 20 Aug 2018 16:20:05 +0200
Subject: [PATCH] gnu: luakit: Fix crash on startup.

* gnu/packages/web-browsers.scm (luakit): add XDG_CONFIG_DIRS to the
  wrapping phase.

This fixes a crash when no configuration file is present in the user's home
directory. It allows luakit to use it's own default configuration files.
---
 gnu/packages/web-browsers.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index 397f4a313..45252c933 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -187,7 +187,9 @@ features including, tables, builtin image display, bookmarks, SSL and more.")
                (wrap-program (string-append luakit "/bin/luakit")
                  `("LUA_CPATH" prefix
                    (,(string-append lua5.1-filesystem
-                                    "/lib/lua/5.1/?.so;;"))))
+                                    "/lib/lua/5.1/?.so;;")))
+                 `("XDG_CONFIG_DIRS" prefix
+                   (,(string-append luakit "/etc/xdg/"))))
                #t))))))
     (synopsis "Fast, lightweight, and simple browser based on WebKit")
     (description "Luakit is a fast, lightweight, and simple to use
-- 
2.11.0

[Message part 2 (text/plain, inline)]
-- 
Raphaël Mélotte

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Tue, 21 Aug 2018 21:23:02 GMT) Full text and rfc822 format available.

Notification sent to Raphaël Mélotte <raphael.melotte <at> gmail.com>:
bug acknowledged by developer. (Tue, 21 Aug 2018 21:23:02 GMT) Full text and rfc822 format available.

Message #10 received at 32481-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Raphaël Mélotte <raphael.melotte <at> gmail.com>
Cc: 32481-done <at> debbugs.gnu.org
Subject: Re: [bug#32481] [PATCH] gnu: luakit: fix crash on startup
Date: Tue, 21 Aug 2018 23:22:16 +0200
Raphaël Mélotte <raphael.melotte <at> gmail.com> skribis:

>>From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <raphael.melotte <at> posteo.net>
> Date: Mon, 20 Aug 2018 16:20:05 +0200
> Subject: [PATCH] gnu: luakit: Fix crash on startup.
>
> * gnu/packages/web-browsers.scm (luakit): add XDG_CONFIG_DIRS to the
>   wrapping phase.
>
> This fixes a crash when no configuration file is present in the user's home
> directory. It allows luakit to use it's own default configuration files.

Applied.  “guix environment --ad-hoc luakit -- luakit” works like a
charm now, thank you!

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 19 Sep 2018 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.