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

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

bug#42627: closed ([PATCH] gnu: awesome: Fix command completion in the p


From: GNU bug Tracking System
Subject: bug#42627: closed ([PATCH] gnu: awesome: Fix command completion in the prompt and Lua paths)
Date: Thu, 24 Sep 2020 15:44:01 +0000

Your message dated Thu, 24 Sep 2020 17:43:26 +0200
with message-id <87zh5f5gf5.fsf@gnu.org>
and subject line Re: [bug#42627] [PATCH] gnu: awesome: Fix command completion 
in the prompt and Lua paths
has caused the debbugs.gnu.org bug report #42627,
regarding [PATCH] gnu: awesome: Fix command completion in the prompt and Lua 
paths
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
42627: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42627
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: awesome: Fix command completion in the prompt and Lua paths Date: Fri, 31 Jul 2020 11:18:23 +0300
* gnu/packages/wm.scm (awesome): Delete useless ‘env’ invocation in 
lib/awful/completion.lua.  Change the delimiter for LUA_PATH and LUA_CPATH 
variables.

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index def8fdccd2..133865771a 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -947,6 +947,9 @@ experience.")
        (modify-phases %standard-phases
          (add-before 'configure 'set-paths
            (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "lib/awful/completion.lua"
+               (("/usr/bin/env")
+                ""))
              ;; The build process needs to load Cairo dynamically.
              (let* ((cairo (string-append (assoc-ref inputs "cairo") "/lib"))
                     (lua-version ,(version-major+minor (package-version lua)))
@@ -995,9 +998,9 @@ experience.")
                     (lua-version ,(version-major+minor (package-version lua)))
                     (lua-lgi (assoc-ref inputs "lua-lgi")))
                (wrap-program (string-append awesome "/bin/awesome")
-                 `("LUA_PATH" suffix
+                 `("LUA_PATH" ";" suffix
                    (,(format #f "~a/share/lua/~a/?.lua" lua-lgi lua-version)))
-                 `("LUA_CPATH" suffix
+                 `("LUA_CPATH" ";" suffix
                    (,(format #f "~a/lib/lua/~a/?.so" lua-lgi lua-version)))
                  `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
                  `("LD_LIBRARY_PATH" suffix (,cairo)))






--- End Message ---
--- Begin Message --- Subject: Re: [bug#42627] [PATCH] gnu: awesome: Fix command completion in the prompt and Lua paths Date: Thu, 24 Sep 2020 17:43:26 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Hi,

Ivan Kozlov <kanichos@yandex.ru> skribis:

> * gnu/packages/wm.scm (awesome): Delete useless ‘env’ invocation in 
> lib/awful/completion.lua.  Change the delimiter for LUA_PATH and LUA_CPATH 
> variables.

Applied.

Thanks and sorry for the long delay!

Ludo’.


--- End Message ---

reply via email to

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