From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 04 17:46:18 2019 Received: (at submit) by debbugs.gnu.org; 4 Jan 2019 22:46:18 +0000 Received: from localhost ([127.0.0.1]:47108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfYEL-0005Ka-RH for submit@debbugs.gnu.org; Fri, 04 Jan 2019 17:46:18 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:35601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfYEK-0005KT-7s for submit@debbugs.gnu.org; Fri, 04 Jan 2019 17:46:16 -0500 Received: from listsout.gnu.org ([208.118.235.17]:57488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfYEJ-0000LL-8r for submit@debbugs.gnu.org; Fri, 04 Jan 2019 17:46:15 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:58745 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfYEI-0004dB-78 for guix-patches@gnu.org; Fri, 04 Jan 2019 17:46:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfYEE-0000J3-7S for guix-patches@gnu.org; Fri, 04 Jan 2019 17:46:14 -0500 Received: from sonic305-21.consmr.mail.ir2.yahoo.com ([77.238.177.83]:45503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfYEC-0000IK-LW for guix-patches@gnu.org; Fri, 04 Jan 2019 17:46:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s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JfMiN2RlCFihz5Hnux0Pl18eJmqorkKUxB5zTNIK 5dGoKaCY5SaxGbz_bkpJYylsLU9MYqlp0gKrjU7jJzz_LuGHbOYFBZDYEBSbpgkS0mes76nNb8wO HI31kIcEGTVBaEGvJuHbsCnhPevqH6EztrPjYRPAeHRgw6kAf.AhdQyKrfqyhweC8Dq26lsbqwAM qu4_2QSZqYp6Vme9Mpk4ONfuLxsccQfNxv_2ILwKcfM2kz.VUYGvCqQFPmEH8ssjA2HyNxLTSqND lygibhjbKgLpTv1s4NxxQF1jzshbKkdLlRm0N5R82YF0BJrwbv_R809cfpM3YN0YfXqR0_iGXZFH KrRUSj9s_vQWP4KVJQW34tOyx4n924luhAiLX71uEwIatPzmduftAu.Fg3oVooO9j3gKY6k3cXWT qLExy888Aho3tye6Oj95QlMn_.eCinG46Q2A1BI0p4M_iKZqfwLBjawgVVsMFFqstkL_22jsE Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Fri, 4 Jan 2019 22:46:05 +0000 Received: from p5B221793.dip0.t-ipconnect.de (EHLO [192.168.178.27]) ([91.34.23.147]) by smtp431.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID ffe8e42ab5604d9d2dd93949cb872c45 for ; Fri, 04 Jan 2019 22:46:04 +0000 (UTC) To: guix-patches@gnu.org From: Tim Gesthuizen Subject: emacs-irony-mode: Don't require propagated inputs Message-ID: <53ff84d5-070a-f0d6-dc2b-26f9443159e3@yahoo.de> Date: Fri, 4 Jan 2019 23:46:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------7A15BB742BCE9706A3562461" Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 77.238.177.83 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.7 (/) 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: -0.3 (/) This is a multi-part message in MIME format. --------------7A15BB742BCE9706A3562461 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi, emacs-irony-mode needs emacs-irony-mode-server as a propagated input at the moment. This can be avoided with the attached patch. Tim. --------------7A15BB742BCE9706A3562461 Content-Type: text/x-patch; name="0001-gnu-emacs-irony-mode-Remove-propagated-input.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-emacs-irony-mode-Remove-propagated-input.patch" >From 528e0ebf36c07960776e8070584dce09088328d7 Mon Sep 17 00:00:00 2001 From: Tim Gesthuizen Date: Mon, 24 Dec 2018 14:46:27 +0100 Subject: [PATCH] gnu: emacs-irony-mode: Remove propagated input emacs-irony-mode finds its server binary because its a propagated input and is in the path. We can substitute the variable `irony-server-install-prefix` to not propagate the input and keep the binary isolated from the user. * gnu/packages/emacs.scm (emacs-irony-mode): [propagated-inputs] Remove propagated inputs [inputs] Add emacs-irony-mode-server [arguments] Add phase substituting the variable of the server path --- gnu/packages/emacs.scm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 7fdcfb1a3..df4e676c0 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -2831,9 +2831,16 @@ These are distributed in separate files and can be used individually.") "0nhjrnlmss535jbshjjd30vydbr8py21vkx4p294w6d8vg2rssf8")) (file-name (string-append name "-" version ".tar.gz")))) (build-system emacs-build-system) - (arguments '()) - (propagated-inputs - `(("emacs-irony-mode-server" ,emacs-irony-mode-server))) + (inputs `(("server" ,emacs-irony-mode-server))) + (arguments `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (chmod "irony.el" #o644) + (emacs-substitute-variables "irony.el" + ("irony-server-install-prefix" + (assoc-ref inputs "server"))) + #t))))) (synopsis "C/C++/ObjC Code completion and syntax checks for Emacs") (description "Irony-mode provides Clang-assisted syntax checking and completion for C, C++, and ObjC in GNU Emacs. Using @code{libclang} it can @@ -2848,7 +2855,6 @@ described on the homepage.") (name "emacs-irony-mode-server") (inputs `(("clang" ,clang))) - (propagated-inputs '()) (arguments `(#:phases (modify-phases %standard-phases -- 2.20.1 --------------7A15BB742BCE9706A3562461-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 09 12:06:13 2019 Received: (at 33982-done) by debbugs.gnu.org; 9 Jan 2019 17:06:13 +0000 Received: from localhost ([127.0.0.1]:52477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghHIz-0004W2-3S for submit@debbugs.gnu.org; Wed, 09 Jan 2019 12:06:13 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghHIx-0004Vs-F5 for 33982-done@debbugs.gnu.org; Wed, 09 Jan 2019 12:06:11 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 5BF16CCA; Wed, 9 Jan 2019 18:06:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9-kLMumfXGy9; Wed, 9 Jan 2019 18:06:08 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BBA60C65; Wed, 9 Jan 2019 18:06:07 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tim Gesthuizen Subject: Re: [bug#33982] emacs-irony-mode: Don't require propagated inputs References: <53ff84d5-070a-f0d6-dc2b-26f9443159e3@yahoo.de> Date: Wed, 09 Jan 2019 18:06:07 +0100 In-Reply-To: <53ff84d5-070a-f0d6-dc2b-26f9443159e3@yahoo.de> (Tim Gesthuizen's message of "Fri, 4 Jan 2019 23:46:03 +0100") Message-ID: <87o98p3gn4.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 33982-done Cc: 33982-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: -0.0 (/) Tim Gesthuizen skribis: > emacs-irony-mode needs emacs-irony-mode-server as a propagated input at > the moment. > This can be avoided with the attached patch. Good idea. >>>From 528e0ebf36c07960776e8070584dce09088328d7 Mon Sep 17 00:00:00 2001 > From: Tim Gesthuizen > Date: Mon, 24 Dec 2018 14:46:27 +0100 > Subject: [PATCH] gnu: emacs-irony-mode: Remove propagated input > > emacs-irony-mode finds its server binary because its a propagated input a= nd is > in the path. We can substitute the variable `irony-server-install-prefix`= to > not propagate the input and keep the binary isolated from the user. > > * gnu/packages/emacs.scm (emacs-irony-mode): > [propagated-inputs] Remove propagated inputs > [inputs] Add emacs-irony-mode-server > [arguments] Add phase substituting the variable of the server path Applied, thanks! Ludo=E2=80=99. From unknown Sun Sep 07 03:08:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 07 Feb 2019 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator