Created
November 27, 2011 07:26
-
-
Save shanbhardwaj/1397155 to your computer and use it in GitHub Desktop.
full screen emacs 24 on osx snow leopard/lion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Git Emacs 24 from the main Savannah (savannah.gnu.org) repository and apply typester's fullscreen patch | |
rm -fr emacs | |
git clone git://git.savannah.gnu.org/emacs.git | |
cd emacs | |
wget http://cloud.github.com/downloads/typester/emacs/feature-fullscreen.patch | |
patch -p1 -i feature-fullscreen.patch | |
cd .. | |
curl -O http://ftp.gnu.org/gnu/m4/m4-1.4.13.tar.gz | |
tar -xzvf m4-1.4.13.tar.gz | |
cd m4-1.4.13 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.65.tar.gz | |
tar -xzvf autoconf-2.65.tar.gz | |
cd autoconf-2.65 | |
./configure --prefix=/usr/local # ironic, isn't it? | |
make | |
sudo make install | |
cd ../emacs | |
# here you might want to restart your terminal session, to ensure the new autoconf is picked up and used in the rest of the script | |
curl -O http://ftp.gnu.org/gnu/automake/automake-1.11.tar.gz | |
tar xzvf automake-1.11.tar.gz | |
cd automake-1.11 | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
curl -O http://ftp.gnu.org/gnu/libtool/libtool-2.2.6b.tar.gz | |
tar xzvf libtool-2.2.6b.tar.gz | |
cd libtool-2.2.6b | |
./configure --prefix=/usr/local | |
make | |
sudo make install | |
cd .. | |
sh autogen.sh | |
./configure --with-ns | |
make && make install | |
mv /Applications/Emacs.app ~/.Trash/"Emacs.app `date +%Y-%m-%d\ %H.%M.%S`" | |
mv nextstep/Emacs.app /Applications/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment