git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Makefile: check that tcl/tk is installed

From
Christian Couder <christian.couder@gmail.com>
Date
Nov 20, 2017, 17:25 UTC
Message-ID
<CAP8UFD3LhR+FRMM--SQVZ_m2-g2w-WkmmFX7aqrp9S5A9vi1ow@mail.gmail.com>
In-Reply-To
<20171117220210.6xqi26mabbyvxc2m@sigill.intra.peff.net>
On Fri, Nov 17, 2017 at 11:02 PM, Jeff King <peff@peff.net> wrote:
Show 12 quoted lines
>
> I'm actually tempted to say that we should not be building the tcl parts
> by default. IOW, instead of NO_TCLTK we should have USE_TCLTK. That
> would also require an adjustment by package builders, but it would
> hopefully be a really obvious one. And once the user has told our
> Makefile that they definitely want to build the tcl parts, we'd
> presumably just trust that the tcl path they give us is sane.
>
> But it's possible I'm underestimating how many people actually use the
> tcl scripts. Certainly I don't, and git-gui seems fairly primitive to me
> these days compared to 3rd party tools. But then I don't use any of them
> either. ;)

As I wrote in the version 2 of the patch (yeah I forgot to mark it as version 2) I agree that removing NO_TCLTK while introducing USE_TCLTK and not building git-gui and gitk by default is simpler and probably the right direction for the future, but I think it might be too big a change for now or until the next major release (Git 3.0.0).

Especially it can cause issues to people who were building and installing gitk and git-gui because they use it. They might not realize that USE_TCLTK has been introduced and still think that they are building and installing the newest versions, when in fact they would not and keep using old versions.

Previous: Jeff KingNext: Christian Couder
Message 6 of 7 in “Makefile: check that tcl/tk is installed”
  1. Makefile: check that tcl/tk is installedChristian Couder, Nov 15, 2017
  2. Junio C HamanoNov 16, 2017
  3. Christian CouderNov 17, 2017
  4. Todd ZullingerNov 17, 2017
  5. Jeff KingNov 17, 2017
  6. Christian CouderNov 20, 2017
  7. Christian CouderNov 20, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.