emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#32481: closed ([PATCH] gnu: luakit: fix crash on s


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32481: closed ([PATCH] gnu: luakit: fix crash on startup)
Date: Tue, 21 Aug 2018 21:23:02 +0000

Your message dated Tue, 21 Aug 2018 23:22:16 +0200
with message-id <address@hidden>
and subject line Re: [bug#32481] [PATCH] gnu: luakit: fix crash on startup
has caused the debbugs.gnu.org bug report #32481,
regarding [PATCH] gnu: luakit: fix crash on startup
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32481: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32481
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: luakit: fix crash on startup Date: Mon, 20 Aug 2018 16:54:42 +0200 User-agent: mu4e 1.0; emacs 26.1
>From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <address@hidden>
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

-- 
Raphaël Mélotte

--- End Message ---
--- Begin Message --- Subject: Re: [bug#32481] [PATCH] gnu: luakit: fix crash on startup Date: Tue, 21 Aug 2018 23:22:16 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
Raphaël Mélotte <address@hidden> skribis:

>>From 66ba3eebc4faa094d042d8462c7df9fbb79064a0 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Rapha=C3=ABl=20M=C3=A9lotte?= <address@hidden>
> 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’.


--- End Message ---

reply via email to

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