Tuesday, February 16, 2010

Build Emacs from Bazaar

I didn't know Emacs development repository has moved to Bazaar. I followed the steps described in this site:


$ bzr whoami "Toshi Kikuchi <your.email@address>"
$ bzr init-repo --2a emacs/
$ cd emacs
$ bzr branch http://bzr.savannah.gnu.org/r/emacs/trunk trunk
$ cd trunk
$ echo "public_branch = http://bzr.savannah.gnu.org/r/emacs/trunk" >> .bzr/branch/branch.conf
$ bzr bind http://bzr.savannah.gnu.org/r/emacs/trunk

Then I followed INSTALL.BZR at the top directory.
But I needed extra options to ./configure:

$ ./configure --with-xft --with-x-toolkit=gtk --prefix=/home/toshi/built

It also required me to install a few packages. Then finally:

$ bzr pull
$ make bootstrap
$ make install

No comments: