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

Re: [PATCH] Added make options NO_GUI and WITH_P4IMPORT.

From
EREygene Ryabinkin <rea-git@codelabs.ru>
Date
Mar 26, 2007, 07:31 UTC
Message-ID
<20070326073143.GB44578@codelabs.ru>
In-Reply-To
<7v1wji371q.fsf@assigned-by-dhcp.cox.net>
Junio, good day.
Wed, Mar 21, 2007 at 09:17:21AM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> Eygene Ryabinkin <rea-git@codelabs.ru> writes:
> 
> > Technically, the checks in Makefile will look as 'ifndef NO_GUI && NO_TCL_TK'
> > instead of 'ifndef NO_GUI'. Later they can diverge as the software will
> > evolve.
> >
> > Are people happy with such plan?
> 
> Maybe later you might even want to view the graphical history
> from the server displaying on remote X, who knows?
Not sure: I don't like X on the servers ;)) But others can...
Show 5 quoted lines
> We have NO_CURL and such because lack of the necessary libraries
> and headers prevent your build from completing, but in the case
> of git-gui and gitk, they are just scripts and you would not
> have any trouble in building.  I do not know if adding more
> conditional to Makefile in order to skip them is worth it.

OK, I reworked the patch following the suggestion of Jakub and Johannes: now configure has the built-in detection of the Tcl/Tk binary and has the --with-tcltk/--without-tcltk options. To implement this I still need the NO_TCLTK knob in the Makefile. Moreover, the configure's switch --with-tcltk=/path/to/binary works as expected: the location of the Tcl/Tk interpreter will be rewritten in the gitk and git-gui. The patch follows on this thread.

And regarding the building troubles and the additional knob in the
Makefile: the trouble is in the packaging process. For example, RPM
or FreeBSD ports are looking at what is really installed, so if
user do not want the Tcl/Tk part, then no package parts that depend
on it should be installed. And the bare 'make install' installs all
things. Sure, you can make 'make install && rm -f <not needed
files>', but it is always a pain for the package builders to get
the idea about the precise file list. So I just wanted to integrate
the desired behaviour in the mainstream Git to make packager's life
a bit easy. May be by the cost of making developer's life a bit
harder: he should watch for the NO_TCLTK in his Makefiles.
-- 
Eygene
Previous: Junio C HamanoNext: Eygene Ryabinkin
Message 16 of 47 in “Added make options NO_GUI and WITH_P4IMPORT.”
  1. Added make options NO_GUI and WITH_P4IMPORT.Eygene Ryabinkin, Mar 20, 2007
  2. Jakub NarebskiMar 21, 2007
  3. Eygene RyabinkinMar 21, 2007
  4. Johannes SchindelinMar 21, 2007
  5. Eygene RyabinkinMar 21, 2007
  6. Johannes SchindelinMar 21, 2007
  7. Paolo BonziniMar 21, 2007
  8. Eygene RyabinkinMar 21, 2007
  9. Paolo BonziniMar 21, 2007
  10. Alex RiesenMar 21, 2007
  11. Jakub NarebskiMar 24, 2007
  12. Eygene RyabinkinMar 21, 2007
  13. Johannes SchindelinMar 21, 2007
  14. Eygene RyabinkinMar 21, 2007
  15. Junio C HamanoMar 21, 2007
  16. Eygene RyabinkinMar 26, 2007
  17. Added options NO_TCLTK, WITH_P4IMPORT and --with-tcltk/--without-tcltk.Eygene Ryabinkin, Mar 26, 2007
  18. Junio C HamanoMar 26, 2007
  19. Add the WITH_P4IMPORT knob to the Makefile.Eygene Ryabinkin, Mar 27, 2007
  20. Junio C HamanoMar 27, 2007
  21. Eygene RyabinkinMar 27, 2007
  22. Added git-p4 package to the list of git RPMs.Eygene Ryabinkin, Mar 27, 2007
  23. Remove unused WITH_OWN_SUBPROCESS_PY from RPM specBrian Gernhardt, Mar 27, 2007
  24. Junio C HamanoApr 4, 2007
  25. Eygene RyabinkinApr 5, 2007
  26. Jakub NarebskiMar 26, 2007
  27. Junio C HamanoMar 26, 2007
  28. Eygene RyabinkinMar 26, 2007
  29. Junio C HamanoMar 27, 2007
  30. Eygene RyabinkinMar 27, 2007
  31. Added configure options --with-tcltk/--without-tcltk.Eygene Ryabinkin, Mar 27, 2007
  32. Junio C HamanoMar 27, 2007
  33. Eygene RyabinkinMar 27, 2007
  34. Junio C HamanoMar 28, 2007
  35. Add --with-tcltk and --without-tcltk to configure.Eygene Ryabinkin, Mar 28, 2007
  36. Added Tcl/Tk interpreter path rewriting for the GUI tools.Eygene Ryabinkin, Mar 28, 2007
  37. Junio C HamanoMar 28, 2007
  38. Eygene RyabinkinMar 29, 2007
  39. Junio C HamanoMar 29, 2007
  40. Eygene RyabinkinMar 29, 2007
  41. Junio C HamanoMar 29, 2007
  42. Eygene RyabinkinMar 29, 2007
  43. Tom PrinceMar 29, 2007
  44. Eygene RyabinkinMar 29, 2007
  45. Eliminate checks of user-specified Tcl/Tk interpreter.Eygene Ryabinkin, Mar 29, 2007
  46. Added correct Python path to the RPM specfile.Eygene Ryabinkin, Mar 29, 2007
  47. Junio C HamanoMar 26, 2007

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.