Compiling git on fresh Ubuntu 7.0.4

Note to self: packages I had to install for “make all doc” to work for git 1.5.3.8.

$ history | grep install

   36  sudo apt-get install curl
   41  sudo apt-get install libcurl
   49  sudo apt-get install tk8.4
   53  sudo apt-get install cpio expat
   55  sudo apt-get install zlib
   61  sudo apt-get install build-essential
   66  sudo apt-get install zlib1g-dev 
   72  sudo apt-get install asciidoc
   75  sudo apt-get install xmlto

Default fonts too small in gitk on OS X when installed with MacPorts

This is an easy one, addressed obliquely by the blog post that is the number one result in Google. The blogger also sets his font to Arial, which no one should emulate.

Gitk works pretty much straight out of MacPorts. Bravo, except for the 9 point fonts. Really.

Launch X11 and cd to your git repository in xterm. Run gitk and marvel at the unreadable text.

Edit the top three lines of ~/.gitk to change the fonts and/or sizes. Mine looks like this:


set mainfont {Helvetica 12}
set textfont {Courier 12}
set uifont {Helvetica 12 bold}
set tabstop 8
...

All this assumes that your X11 profile has a usable $PATH.