From unknown Sun Jun 22 22:45:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#42627] [PATCH] gnu: awesome: Fix command completion in the prompt and Lua paths Resent-From: Ivan Kozlov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 31 Jul 2020 08:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42627 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42627@debbugs.gnu.org X-Debbugs-Original-To: guix-patches Received: via spool by submit@debbugs.gnu.org id=B.159618351826683 (code B ref -1); Fri, 31 Jul 2020 08:19:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jul 2020 08:18:38 +0000 Received: from localhost ([127.0.0.1]:37303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1QFS-0006wJ-2M for submit@debbugs.gnu.org; Fri, 31 Jul 2020 04:18:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:52164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1QFO-0006wB-Jw for submit@debbugs.gnu.org; Fri, 31 Jul 2020 04:18:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1QFO-0007ax-3F for guix-patches@gnu.org; Fri, 31 Jul 2020 04:18:34 -0400 Received: from forward102j.mail.yandex.net ([5.45.198.243]:54426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1QFL-0003wL-4g for guix-patches@gnu.org; Fri, 31 Jul 2020 04:18:33 -0400 Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward102j.mail.yandex.net (Yandex) with ESMTP id EA948F2130B for ; Fri, 31 Jul 2020 11:18:23 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback2o.mail.yandex.net (mxback/Yandex) with ESMTP id DWmJxV9Qsc-INYC3TfH; Fri, 31 Jul 2020 11:18:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1596183503; bh=fCrwKpEOJEXibcYRgrshG8fnStmFRwXF0FQCSBoDSCs=; h=Message-Id:Date:Subject:To:From; b=HX04K/jhJcwe/FlwcUnV0duclSlQfwgg/i3mPvwTrVhAWDxfCpVU4MmxZlE1hww8j Z5kAU3DnX/iSUILW3P6yfi2Pe85pcoa7gH1wNi/+8jL/R8/Q/nx4V5VAdjo4FUseNB 5PXgnaSRokiKNgemyAttWd2n9zEnZD3uKWzG8k/4= Authentication-Results: mxback2o.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt4-01544bcb68a1.qloud-c.yandex.net with HTTP; Fri, 31 Jul 2020 11:18:23 +0300 From: Ivan Kozlov MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 31 Jul 2020 11:18:23 +0300 Message-Id: <484421596182827@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Received-SPF: pass client-ip=5.45.198.243; envelope-from=kanichos@yandex.ru; helo=forward102j.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/31 04:18:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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))) From unknown Sun Jun 22 22:45:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ivan Kozlov Subject: bug#42627: closed (Re: [bug#42627] [PATCH] gnu: awesome: Fix command completion in the prompt and Lua paths) Message-ID: References: <87zh5f5gf5.fsf@gnu.org> <484421596182827@mail.yandex.ru> X-Gnu-PR-Message: they-closed 42627 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 42627@debbugs.gnu.org Date: Thu, 24 Sep 2020 15:44:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1600962241-31954-1" This is a multi-part message in MIME format... ------------=_1600962241-31954-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #42627: [PATCH] gnu: awesome: Fix command completion in the prompt and Lua = paths which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 42627@debbugs.gnu.org. --=20 42627: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D42627 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1600962241-31954-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 42627-done) by debbugs.gnu.org; 24 Sep 2020 15:43:37 +0000 Received: from localhost ([127.0.0.1]:41386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTPF-0008Ic-J4 for submit@debbugs.gnu.org; Thu, 24 Sep 2020 11:43:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLTPE-0008IQ-K2 for 42627-done@debbugs.gnu.org; Thu, 24 Sep 2020 11:43:36 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35151) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLTP9-00089W-6C; Thu, 24 Sep 2020 11:43:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57592 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLTP6-0000TF-2f; Thu, 24 Sep 2020 11:43:29 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ivan Kozlov Subject: Re: [bug#42627] [PATCH] gnu: awesome: Fix command completion in the prompt and Lua paths References: <484421596182827@mail.yandex.ru> Date: Thu, 24 Sep 2020 17:43:26 +0200 In-Reply-To: <484421596182827@mail.yandex.ru> (Ivan Kozlov's message of "Fri, 31 Jul 2020 11:18:23 +0300") Message-ID: <87zh5f5gf5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42627-done Cc: 42627-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Ivan Kozlov skribis: > * gnu/packages/wm.scm (awesome): Delete useless =E2=80=98env=E2=80=99 inv= ocation in lib/awful/completion.lua. Change the delimiter for LUA_PATH and= LUA_CPATH variables. Applied. Thanks and sorry for the long delay! Ludo=E2=80=99. ------------=_1600962241-31954-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Jul 2020 08:18:38 +0000 Received: from localhost ([127.0.0.1]:37303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1QFS-0006wJ-2M for submit@debbugs.gnu.org; Fri, 31 Jul 2020 04:18:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:52164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1QFO-0006wB-Jw for submit@debbugs.gnu.org; Fri, 31 Jul 2020 04:18:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1QFO-0007ax-3F for guix-patches@gnu.org; Fri, 31 Jul 2020 04:18:34 -0400 Received: from forward102j.mail.yandex.net ([5.45.198.243]:54426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1QFL-0003wL-4g for guix-patches@gnu.org; Fri, 31 Jul 2020 04:18:33 -0400 Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward102j.mail.yandex.net (Yandex) with ESMTP id EA948F2130B for ; Fri, 31 Jul 2020 11:18:23 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback2o.mail.yandex.net (mxback/Yandex) with ESMTP id DWmJxV9Qsc-INYC3TfH; Fri, 31 Jul 2020 11:18:23 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1596183503; bh=fCrwKpEOJEXibcYRgrshG8fnStmFRwXF0FQCSBoDSCs=; h=Message-Id:Date:Subject:To:From; b=HX04K/jhJcwe/FlwcUnV0duclSlQfwgg/i3mPvwTrVhAWDxfCpVU4MmxZlE1hww8j Z5kAU3DnX/iSUILW3P6yfi2Pe85pcoa7gH1wNi/+8jL/R8/Q/nx4V5VAdjo4FUseNB 5PXgnaSRokiKNgemyAttWd2n9zEnZD3uKWzG8k/4= Authentication-Results: mxback2o.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt4-01544bcb68a1.qloud-c.yandex.net with HTTP; Fri, 31 Jul 2020 11:18:23 +0300 From: Ivan Kozlov To: guix-patches Subject: [PATCH] gnu: awesome: Fix command completion in the prompt and Lua paths MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Fri, 31 Jul 2020 11:18:23 +0300 Message-Id: <484421596182827@mail.yandex.ru> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Received-SPF: pass client-ip=5.45.198.243; envelope-from=kanichos@yandex.ru; helo=forward102j.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/31 04:18:24 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -30 X-Spam_score: -3.1 X-Spam_bar: --- X-Spam_report: (-3.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * 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))) ------------=_1600962241-31954-1--