From unknown Sun Sep 07 23:15:55 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#33981 <33981@debbugs.gnu.org> To: bug#33981 <33981@debbugs.gnu.org> Subject: Status: emacs-ggtags relies on GNU Global in path Reply-To: bug#33981 <33981@debbugs.gnu.org> Date: Mon, 08 Sep 2025 06:15:55 +0000 retitle 33981 emacs-ggtags relies on GNU Global in path reassign 33981 guix-patches submitter 33981 Tim Gesthuizen severity 33981 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 04 17:36:52 2019 Received: (at submit) by debbugs.gnu.org; 4 Jan 2019 22:36:52 +0000 Received: from localhost ([127.0.0.1]:47097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfY5E-00055V-Bo for submit@debbugs.gnu.org; Fri, 04 Jan 2019 17:36:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42811) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfY5C-00055O-EQ for submit@debbugs.gnu.org; Fri, 04 Jan 2019 17:36:50 -0500 Received: from listsout.gnu.org ([208.118.235.17]:57523) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfY5C-0008MH-4u for submit@debbugs.gnu.org; Fri, 04 Jan 2019 17:36:50 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:56219 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfY5A-0001Es-VR for guix-patches@gnu.org; Fri, 04 Jan 2019 17:36:49 -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.0 required=5.0 tests=BAYES_40,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 1gfY57-00089v-QU for guix-patches@gnu.org; Fri, 04 Jan 2019 17:36:48 -0500 Received: from sonic303-21.consmr.mail.ir2.yahoo.com ([77.238.178.202]:35752) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfY56-00081R-9H for guix-patches@gnu.org; Fri, 04 Jan 2019 17:36:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1546641402; bh=rNcEZgjclltnfYqJ37JDxxKhAqeyHNILOKxmAwkvVk0=; h=To:From:Subject:Date:From:Subject; b=HxP2dfXXD7/JRv5j0uypS4ypBkGpzi13Tmwp7cDN05yV2HRd8tDGxrHwLdGiZ52lfCa3cgBqPS070nPOB47jAdcIWYD9DlMrJlYveTY3HauFxVFL0yIGkUkAe5vEs01YWcrTk0+NjaZy5jBHI6EULwQJxtUgiCvsxKyUjSKw2VyJsHiAKIUOxAFfisYMg76zJV7G4RtkzJ2JKezf3FstYXeLQa0UKVgGAv9o4YC+83T850feicXreJxI0fWHGhE5/ncRy9HBRPgwXXgboPWC6tuvvUHPzmWkDeHlBtkWDWiqs8eWNrDyYSoZd9qOkx/xHpYGUGr9atHCCHPOhMxGUQ== X-YMail-OSG: 0J_OZHUVM1lvIa5CAyAqThLEEif0o3uoh_OgRJZtxNaAfwQhDd.eviGdOFeWuXN omULtmNkrk9wWRFqXDgwMH5wYxdhCcb2yafEig_QXWnQqGPr6BQd_5tH_HpGCMS.c99EHtn_Jt1h aTjZZE_g4iE.vi6Y7XVN5KLqU83l9riRIFi4Zx1uarPU1H0SYEDV4pPRGHTVd_w0pAB7qTVC3Fcm tTWAYOo1Kvx610ucx8IEFIbTFN8UxdlzglbpyB7ssAYCihGoH5GW1RszX7sICBorTqPGd6ka7h1s AaZ9Qs.O5WOG4zdWSUD1gnK5IKjszotKN85PYJ9JFA_59jSCmfm2XN54d6GCbiifN9JVQC4y9MbM xd2f7zjDkDnTUjmphsW8dLPqaTZy16azm1Wmw3hjEY60WRY3_4_asal1L0Q6bcFlden68rzv_MYf XCCD_mKyzsaAGK22qvC_hA5cqtS.X5ssGw_pqO30P.8VhIatpVknjMYOEnr93gIPJEyRoIM.ZN4. OR0KviwS87H4lTt2WD3cc8Vfoxy19IX9jrt4p_3.3L7mx28yjMrlfSFLV5K2AYI0Ee_kRI067jGg ASYjFUmZnwD95qlIyptcdyci3K_mkklOjuHh9iSLf8VyyFZkjoB2Vq0Sb2nMi8_ncAWmMoTb_ps. .uyckzuZfklNTelNrsbsZ59U146netnGYF16BXlCjtl9CHIM1IKW0Cz70oHSISh.g6s5iDPIR7K8 DbjyZxudXPcwPXIkggvpVznQMKIxghgDIlUCGg1eTvdS0qG5pEVmHgaELnDFNocxN3vXWBtHP.L7 Zn89K.cVG_3G12DHYxFwNyypNwYsRjmdMSsgxNjeVJAaIXfyxotD45GR5u.HS1vlDAyYrcIjOjEt m2jXpc5GheFTa5uS83VZsIUJKgDdZruixWUp7CLYlW3nkgo8jUJv3AoVUEgF.U4qysUGne_vqFeM aAwkhn0K8cWHShl8.JI1N7KVdxOJYSZFeqGjWmrdRFrr958UNyDe6XenS75QJrgHMmr.1cnHS7MZ sXrtJ32qTS8bDJfWWo3uTbNCFkLXhddCG7Yu1sZN8ejfJgVliNKiNyC3wUv9EB4o4hS5FaEPmDpM - Received: from sonic.gate.mail.ne1.yahoo.com by sonic303.consmr.mail.ir2.yahoo.com with HTTP; Fri, 4 Jan 2019 22:36:42 +0000 Received: from p5B221793.dip0.t-ipconnect.de (EHLO [192.168.178.27]) ([91.34.23.147]) by smtp403.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID f7812914668ee1eafec4f08f1b4f2a83 for ; Fri, 04 Jan 2019 22:36:39 +0000 (UTC) To: guix-patches@gnu.org From: Tim Gesthuizen Subject: emacs-ggtags relies on GNU Global in path Message-ID: Date: Fri, 4 Jan 2019 23:36:38 +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/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tCGLF89sDLCUkO8VeGPfUxNDRcYzs55xS" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 77.238.178.202 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -4.3 (----) 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: -5.3 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --tCGLF89sDLCUkO8VeGPfUxNDRcYzs55xS Content-Type: multipart/mixed; boundary="dqdX6SmJhs3SGdpK4wy6wtJP7S8ze8UCc"; protected-headers="v1" From: Tim Gesthuizen To: guix-patches@gnu.org Message-ID: Subject: emacs-ggtags relies on GNU Global in path --dqdX6SmJhs3SGdpK4wy6wtJP7S8ze8UCc Content-Type: multipart/mixed; boundary="------------A49E7A77F01B23DB18779310" Content-Language: en-US This is a multi-part message in MIME format. --------------A49E7A77F01B23DB18779310 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, emacs-ggtags relies on GNU Global binaries to be available in the path. The attached patch lets it search the binaries in the store item of GNU Global. Tim. --------------A49E7A77F01B23DB18779310 Content-Type: text/x-patch; name="0001-gnu-emacs-ggtags-Don-t-require-GNU-Global-in-path.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename*0="0001-gnu-emacs-ggtags-Don-t-require-GNU-Global-in-path.patch" =46rom 86881737428991cc905e41b635b81025a1068254 Mon Sep 17 00:00:00 2001 From: Tim Gesthuizen Date: Tue, 25 Dec 2018 11:22:19 +0100 Subject: [PATCH] gnu: emacs-ggtags: Don't require GNU Global in path emacs-ggtags relies on the GNU Global tools (global and gtags) to be avai= lable in the path. This way it will grab some random executable if it will find= executables at all. This is fixed by setting the prefix to GNU Global in the store. This way emacs-ggtags will use specific deterministic executables. * gnu/packages/emacs.scm (emacs-ggtags): [inputs]: Add GNU Global to the inputs [arguments]: Add a phase for substituting the right path to the executabl= es --- gnu/packages/emacs.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 7fdcfb1a3..3d7ab6b33 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -1438,6 +1438,18 @@ environment set through Direnv.") (base32 "1qa7lcrcmf76sf6dy8sxbg4adq7rg59fm0n5848w3qxgsr0h45fg")))) (build-system emacs-build-system) + (inputs + `(("global" ,global))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'configure + (lambda* (#:key inputs #:allow-other-keys) + (chmod "ggtags.el" #o644) + (emacs-substitute-variables "ggtags.el" + ("ggtags-executable-directory" + (string-append (assoc-ref inputs "global") "/bin"))) + #t))))) (home-page "https://github.com/leoliu/ggtags") (synopsis "Frontend to the GNU Global source code tagging system") (description "@code{ggtags} provides a frontend to the GNU Global so= urce --=20 2.20.1 --------------A49E7A77F01B23DB18779310-- --dqdX6SmJhs3SGdpK4wy6wtJP7S8ze8UCc-- --tCGLF89sDLCUkO8VeGPfUxNDRcYzs55xS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEKUiC5+8BRKEri5fa0uWPaa77GdUFAlwv3/YACgkQ0uWPaa77 GdXIsgf/Vl35aGOIhulmNaeIBkdV9FAajEd9axVjebrlb40yYNpe6dJRiprg2Ojy 2YEe0hC2ZfPmtcAGmM19DQFY0l3fimr3ew7JTgmfPuPLQcJu/ubm4uX53FaRjbYN ZMPDnt5ZugiM43JanXY/2ngWgDtQBtnFCYySAPbteiao1kz2SNYoVRUCb7p07G4F UztzAQHp1STJEIhLKBO9ddH2GKFMWOxI23tlVwAALY9kzRn+glxz6p3zTnX1ix+l iD8aai/XO+o/QrQqidMsx3OdV21L6p06y0StqmkAZ+5qrNfMwptGcO9NWpQxOi+x XTh/Fpoymmi2EcefNIqLmDuQRdynuQ== =gCnG -----END PGP SIGNATURE----- --tCGLF89sDLCUkO8VeGPfUxNDRcYzs55xS-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 09 12:03:34 2019 Received: (at 33981-done) by debbugs.gnu.org; 9 Jan 2019 17:03:35 +0000 Received: from localhost ([127.0.0.1]:52471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghHGQ-0004Qv-GW for submit@debbugs.gnu.org; Wed, 09 Jan 2019 12:03:34 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghHGO-0004Qn-3q for 33981-done@debbugs.gnu.org; Wed, 09 Jan 2019 12:03:33 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 94C32104E; Wed, 9 Jan 2019 18:03:31 +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 0usSEo5qyyJp; Wed, 9 Jan 2019 18:03:30 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id E9DD6102B; Wed, 9 Jan 2019 18:03:29 +0100 (CET) From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tim Gesthuizen Subject: Re: [bug#33981] emacs-ggtags relies on GNU Global in path References: Date: Wed, 09 Jan 2019 18:03:29 +0100 In-Reply-To: (Tim Gesthuizen's message of "Fri, 4 Jan 2019 23:36:38 +0100") Message-ID: <87sgy13gri.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: 33981-done Cc: 33981-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: > From 86881737428991cc905e41b635b81025a1068254 Mon Sep 17 00:00:00 2001 > From: Tim Gesthuizen > Date: Tue, 25 Dec 2018 11:22:19 +0100 > Subject: [PATCH] gnu: emacs-ggtags: Don't require GNU Global in path > > emacs-ggtags relies on the GNU Global tools (global and gtags) to be avai= lable > in the path. This way it will grab some random executable if it will find > executables at all. > This is fixed by setting the prefix to GNU Global in the store. This way > emacs-ggtags will use specific deterministic executables. > > * gnu/packages/emacs.scm (emacs-ggtags): > [inputs]: Add GNU Global to the inputs > [arguments]: Add a phase for substituting the right path to the executabl= es Applied, thanks! Ludo=E2=80=99. From unknown Sun Sep 07 23:15:55 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:09 +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