ОБНОВЛЕНИЕ
Этот ответ немного устарел. К счастью, некоторые люди создали несколько кранов для домашнего пивоварения, чтобы решить эту проблему для нас и сделать ее намного проще. Все, что вам нужно сделать сейчас, это следующее:
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», например:
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