aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Höppner2010-02-03 15:55:10 +0100
committerDavid Höppner2010-02-03 15:55:10 +0100
commit239199a50188a837379001facf38e2824d1c8ec7 (patch)
treed4e569e8b82652b0680ccfd14f8f1d385fa70a35 /Library/Formula
parent6248cefe4c27e2bc1f39c51aa58269f267399ab1 (diff)
downloadhomebrew-239199a50188a837379001facf38e2824d1c8ec7.tar.bz2
emacs: GNU Emacs has now switched from CVS to Bazaar.
The caveats text based on justinweiss@f103c7fd720edf1ca1b637d555c4fb2c287de2a4
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/emacs.rb13
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index 93fccfe38..78a3b3676 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/Formula/emacs.rb
@@ -2,27 +2,32 @@ require 'formula'
class Emacs <Formula
if ARGV.include? "--cocoa"
- head 'git://git.savannah.gnu.org/emacs.git', :tag => 'db44e1e'
+ # 98643 is the same bzr rev as the old git sha db44e1e
+ # but both bzr@98643 and bzr@trunk fail with 'digest-doc' not found
+ head 'bzr://http://bzr.savannah.gnu.org/r/emacs/trunk', :tag => '98643'
else
url 'http://ftp.gnu.org/pub/gnu/emacs/emacs-23.1.tar.bz2'
- head 'git://git.savannah.gnu.org/emacs.git'
+ head 'bzr://http://bzr.savannah.gnu.org/r/emacs/trunk'
md5 '17f7f0ba68a0432d58fa69d05a2225be'
end
homepage 'http://www.gnu.org/software/emacs/'
def caveats
"Use --cocoa to build a Cocoa binary Emacs.app from HEAD.
-The git mirror will download the entire CVS history and is rather large.
To access texinfo documentation, set your INFOPATH to:
#{info}
+
+Emacs recently changed to bazaar, so you may have to delete the
+cached git directory before you can update. This should be somewhere like
+$HOME/Library/Caches/Homebrew/emacs-HEAD/
"
end
def patches
if ARGV.include? "--cocoa"
"http://dev.boris.com.au/emacs-23.1-CVS-Cocoa-homebrew.patch"
- else
+ elsif not ARGV.include? "--HEAD"
DATA
end
end