АКТУАЛИЗАЦИЯ
Този отговор е малко остарял. За щастие някои хора създадоха някои домашно приготвени кранове, за да решат този проблем вместо нас и да го направят много по-прост. Всичко, което трябва да направите сега е следното:
brew uninstall mutt
brew tap sgeb/mutt
brew install sgeb/mutt/mutt --with-sidebar-patch
Ако искате да инсталирате mutt с някои други пачове, вижте какво можете да инсталирате с това докосване, като напишете:
brew options sgeb/mutt/mutt
Резултатът за мен беше:
--with-confirm-attachment-patch
Apply confirm attachment patch
--with-debug
Build with debug option enabled
--with-forwref-patch
Apply forward_references patch
--with-gettext
Build with gettext support
--with-gmail-labels-patch
Apply gmail labels patch
--with-gmail-server-search-patch
Apply gmail server search patch
--with-gpgme
Build with gpgme support
--with-ignore-thread-patch
Apply ignore-thread patch
--with-libidn
Build with libidn support
--with-pgp-verbose-mime-patch
Apply PGP verbose mime patch
--with-s-lang
Build against slang instead of ncurses
--with-sidebar-patch
Apply sidebar patch
--with-trash-patch
Apply trash folder patch
--HEAD
Install HEAD version
Имах проблеми със следването на всички отговори по-горе. Всъщност успях да го накарам да работи в крайна сметка. Това, което направих беше следното
brew edit mutt
след това превъртях надолу до раздел с команди, които започват с „опция“, нещо като:
option "with-debug", "Build with debug option enabled"
option "with-trash-patch", "Apply trash folder patch"
option "with-s-lang", "Build against slang instead of ncurses"
option "with-ignore-thread-patch", "Apply ignore-thread patch"
option "with-pgp-verbose-mime-patch", "Apply PGP verbose mime patch"
option "with-confirm-attachment-patch", "Apply confirm attachment patch"
След това добавих ред в долната част на този блок
option "with-sidebar-patch", "Apply sidebar patch"
След това превъртях надолу до секцията с всички пачове, напр.
patch do
url "http://patch-tracker.debian.org/patch/series/dl/mutt/1.5.21-6.2+deb7u1/features/trash-folder"
sha1 "6c8ce66021d89a063e67975a3730215c20cf2859"
end if build.with? "trash-patch"
И добавих корекцията за страничната лента (както намерих тук: https://github.com/kevwil/homebrew-patches/blob/master/mutt.rb)
patch do
url "https://raw.github.com/nedos/mutt-sidebar-patch/7ba0d8db829fe54c4940a7471ac2ebc2283ecb15/mutt-sidebar.patch"
sha1 "1e151d4ff3ce83d635cf794acf0c781e1b748ff1"
end if build.with? "sidebar-patch"
Накрая излезте от редактора за brew файла и в командния ред:
brew install mutt --with-sidebar-patch
Късмет!
p.s. ако ви дава грешка от формата aclocal
тогава трябва да инсталирате automake, brew install automake
person
gloriphobia
schedule
22.04.2014