mutt-sidebar 1.5.20-2
http://lunar-linux.org/index.php?page=mutt-sidebar
A small but very powerful text-based mail client with sidebar-patch
unsupported :: network
Maintainer: cambid
Votes: 57
License: GPL
Last Updated: Fri, 29 Jan 2010 19:21:55 +0000
First Submitted: Wed, 18 Oct 2006 12:10:51 +0000
Dependencies gdbm libsasl mime-types openssl
I made a PKGBUILD (mutt-sidebr-nntp) based on yours that includes the nntp patch (from mutt.org.ua) modified a bit to apply on top of the sidebar patch. I didn't integrate the unmailbox and trash patches. I read in the comments that you think there's already too much 'mutt' packages in AUR. Would you include the nntp-patch to your PKGBUILD ? I haven't tried to apply the nntp patch on top of the patches from your package. What's your opinion about it ?
mutt and 256 color terminal works fine for me. My $TERM is set to xterm-256color
I can replicate the errors setting TERM to screen-256color or screen-256color-bce
With this update 256 colours no longer work for me. I get:
$ mutt
Error in /root/.mutt/colours, line 3: 240: color not supported by term
Error in /root/.mutt/colours, line 4: 240: color not supported by term
Error in /root/.mutt/colours, line 6: 188: color not supported by term
Error in /root/.mutt/colours, line 9: 240: color not supported by term
Error in /root/.mutt/muttrc, line 329: source: errors in /root/.mutt/colours
source: errors in /root/.mutt/muttrc
Press any key to continue...
Term is get to:
$ echo $TERM
screen-256color-bce
updated
So I wrote to the aur-general ML asking them to orphan mutt-sidebar so that it can be updated and possibly mereged with mutt-with-sidebar.
Thanks, I did not see it. I think that we should notify a TU so that this one gets removed. Did someone already do this?
@patrocio7: This package is superseeded by mutt-with-sidebar
Is the new contributor going to update this?
@cambid: Done.
@veox: Yes, please orphan.
@cambid: could you maintain 'mutt-with-sidebar' if I orphan it now?
@veox: OK; then please lets delete this package.
Since all packages of @Damnshock are out-of-date and he is unreachable over e-mail (I've written to him) and AUR, perhaps someone should request orphaning on AUR mailing list.
@cambid: I agree there's no need in two packages doing exactly the same thing. However, I think 'mutt-with-sidebar' is better than 'mutt-sidebar' anyways, since the former implies that it's Mutt with a patch, whereas the latter doesn't (when I first tried downloading 'mutt-sidebar', I thought it would be an extension of some sort).
@veox: I'm against a new package. We have too much mutt-packages in AUR.
@damnshock: Can you please upgrade the package with the PKGBUILD from my comments. If not, can you please orphan this package so that I can adopt it.
I've taken the liberty to put it all into a new package: http://aur.archlinux.org/packages.php?ID=33245
@cinan: mutt-unmailbox.patch comes from the official PKGBUILD of mutt. Copy it from /var/abs/extra/mutt/mutt-unmailbox.patch or do the following in bash to generate it:
cat >mutt-unmailbox.patch <<EOF
--- a/buffy.c 2009-08-10 08:23:12.731846990 -0400
+++ b/buffy.c 2009-08-10 08:23:50.541878087 -0400
@@ -236,7 +236,6 @@
{
if(*tmp)
{
- FREE (&((*tmp)->path));
tmp1=(*tmp)->next;
FREE (tmp); /* __FREE_CHECKED__ */
*tmp=tmp1;
EOF
where may I download mutt-unmailbox.patch ?
Updated PKGBUILD based on the on from Yorokobi for 1.5.20 with corresponding sidebar-patch, newer trash-patch with download-url and including one patch from the orginal mutt-PKGBUILD (mutt-unmailbox.patch)
pkgname=mutt-sidebar
pkgver=1.5.20
pkgrel=2
pkgdesc="A small but very powerful text-based mail client with sidebar-patch"
patchdate="20090619"
arch=('i686' 'x86_64')
url="http://lunar-linux.org/index.php?page=mutt-sidebar"
depends=('ncurses' 'openssl' 'gdbm' 'mime-types' 'zlib' 'libsasl')
makedepends=('gnupg' 'gpgme')
conflicts=('mutt')
provides=('mutt')
source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz http://lunar-linux.org/~tchan/mutt/patch-${pkgver}.sidebar.$patchdate.txt http://dbg.download.sourcemage.org/grimoire/codex/stable/mail/mutt/patches/trash_folder/trash_folder-1.5.18.patch.bz2 muttrc.example mutt-unmailbox.patch)
md5sums=('027cdd9959203de0c3c64149a7ee351c' '5786519489877c92e4fff68cf547e869' '9d95c08295f8ec5171f774f776ef8413' '336d1d8e290a0595dbe2cd92d720ffc9' 'fa8e03a49a2fa7b294dc8237d928cdb7')
license=('GPL')
build() {
cd $startdir/src/mutt-$pkgver
# patch a segfault bug in 1.5.20 -- remove for next release
patch -p1 -i ../mutt-unmailbox.patch
patch -p1 -i ../patch-${pkgver}.sidebar.$patchdate.txt
patch -p1 -i ../trash_folder-1.5.18.patch
./configure --prefix=/usr --sysconfdir=/etc \
--enable-pop --enable-imap --enable-smtp --enable-pgp --enable-hcache \
--enable-gpgme --with-ssl=/usr --with-sasl --without-idn \
--with-regex || return 1
make || return 1
make DESTDIR=$startdir/pkg install
rm -f ${pkgdir}/usr/bin/{flea,muttbug}
rm -f ${pkgdir}/usr/share/man/man1/{flea,muttbug}.1
rm -f ${pkgdir}/etc/mime.types*
install -m644 -D ${startdir}/src/muttrc.example ${startdir}/pkg/etc/muttrc.example
}
add conflitcs('mutt')
or replaces() so it wont break when you have mutt installed ;)
Updated PKGBUILD for v1.5.20 with corresponding sidebar patch. Added Trash patch, SSL, SMTP, dependencies, and x86_64
# Maintainer: Damnshock <damnshock-youknowwhatgoeshere-gmail.com>
pkgname=mutt-sidebar
pkgver=1.5.20
pkgrel=1
pkgdesc="A small but very powerful text-based mail client with sidebar-patch"
patchdate="20090619"
arch=('i686' 'x86_64')
url="http://lunar-linux.org/index.php?page=mutt-sidebar"
depends=('ncurses' 'openssl' 'gdbm' 'mime-types' 'zlib' 'libsasl')
makedepends=('gnupg' 'gpgme')
conflicts=('mutt')
provides=('mutt')
source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz http://lunar-linux.org/~tchan/mutt/patch-${pkgver}.sidebar.$patchdate.txt http://cedricduval.free.fr/mutt/patches/download/patch-1.5.5.1.cd.trash_folder.3.4 muttrc.example)
md5sums=('027cdd9959203de0c3c64149a7ee351c' '5786519489877c92e4fff68cf547e869' '6f94c71888d157b6b3f04e47cdd34c54' '336d1d8e290a0595dbe2cd92d720ffc9')
license=('GPL')
build() {
cd $startdir/src/mutt-$pkgver
patch -p1 -i ../patch-${pkgver}.sidebar.$patchdate.txt
patch -p1 -i ../patch-1.5.5.1.cd.trash_folder.3.4
./configure --prefix=/usr --sysconfdir=/etc \
--enable-pop --enable-imap --enable-pgp --enable-hcache \
--enable-gpgme --with-ssl --with-sasl --without-idn \
--with-smtp || return 1
make || return 1
make DESTDIR=$startdir/pkg install
rm -f $startdir/pkg/usr/bin/{flea,muttbug}
install -m644 -D ${startdir}/src/muttrc.example ${startdir}/pkg/etc/muttrc.example
}
This also works on 64bit, please fix it
I had to update the PKGBUILD script to get the sidebar to read with a newer version of the sidebar patch. before it wouldn't keep the number of message stored in a way to make the sidebar useful. I'm new round these parts, but here's a copy of the script I used.
# Maintainer: Damnshock <damnshock-youknowwhatgoeshere-gmail.com>
pkgname=mutt-sidebar
pkgver=1.5.19
pkgrel=1
pkgdesc="A small but very powerful text-based mail client with sidebar-patch"
patchdate="20090618"
arch=('i686')
url="http://lunar-linux.org/index.php?page=mutt-sidebar"
depends=('ncurses' 'openssl')
makedepends=('gnupg')
conflicts=('mutt')
provides=('mutt')
source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz http://lunar-linux.org/~tchan/mutt/patch-${pkgver}.sidebar.$patchdate.txt muttrc.example)
md5sums=('73b3747bc7f7c805921e8d24ebac693f' '16f4fc919ef3307bab51ff929f75ea59' '336d1d8e290a0595dbe2cd92d720ffc9')
license=('GPL')
build() {
cd $startdir/src/mutt-$pkgver
patch -p1 -i ../patch-${pkgver}.sidebar.$patchdate.txt
./configure --prefix=/usr --sysconfdir=/etc \
--enable-pop --enable-imap --enable-pgp --enable-hcache \
--enable-gpgme --enable-compressed --with-sasl --without-idn || return 1
make || return 1
make DESTDIR=$startdir/pkg install
rm -f $startdir/pkg/usr/bin/{flea,muttbug}
install -m644 -D ${startdir}/src/muttrc.example ${startdir}/pkg/etc/muttrc.example
}
Added gpgme to make depends, updated for 1.5.20, works so far on x86_64:
pkgname=mutt-sidebar
pkgver=1.5.20
pkgrel=1
pkgdesc="A small but very powerful text-based mail client"
arch=(i686 x86_64)
license=('GPL')
url="http://www.mutt.org/"
provides=('mutt')
depends=('ncurses' 'openssl>=0.9.8e' 'gdbm' 'mime-types' 'zlib' 'libsasl')
makedepends=('gnupg' 'gpgme' )
_patchdate=20090619
source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz
http://lunar-linux.org/~tchan/mutt/patch-${pkgver}.sidebar.${_patchdate}.txt)
md5sums=('027cdd9959203de0c3c64149a7ee351c'
'5786519489877c92e4fff68cf547e869')
build() {
cd ${startdir}/src/mutt-${pkgver}
patch -Np1 -i ${startdir}/src/patch-${pkgver}.sidebar.${_patchdate}.txt || return 1
./configure --prefix=/usr --sysconfdir=/etc \
--enable-pop --enable-imap --enable-smtp \
--with-sasl --with-ssl --without-idn \
--enable-hcache || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
rm -f ${startdir}/pkg/usr/bin/{flea,muttbug}
rm -f $startdir/pkg/usr/share/man/man1/{flea,muttbug}.1
rm -f ${startdir}/pkg/etc/mime.types*
}
the sidebar actually does not work for me right now, but crashes mutt when supposed to be displayed - investigating…
1) Patch 20090308 introduces a bug that causes erroneous new mail notifications, patch 20090522 fixes this problem.
2) x86_64 works fine for me, too
3) --with-ssl failed for me:
browser.o: In function `examine_mailboxes':
browser.c:(.text+0x317): undefined reference to `imap_mailbox_state'
…
--with-gnutls compiled fine and I successfully accessed an imaps mailbox
4) man pages for flea and muttbug removed (as flea and muttbug are also removed)
5) depend on mime-types instead of providing own /etc/mime.types
6) added missing dependencies
proposed PKGBUILD and friends are available at:
http://github.com/chaoflow/Archlinux-PKGBUILDs/tree/master
@Damnshock: all changes proposed by me are in my opinion in your PKGBUILDs line of thought, it would be great if you could include them
Missing:
1) x86_64 // works fine
2) --with-ssl
works fine under x86_64
Updated and slightly changed.
I still haven't enabled the smtp support because I belive this is not mutt's work. I treat mutt as a MUA, as so should remain.
Hi,
x86_64, header chache and smtp would be very usefull if enabled by default.
Thanks for the package!
You could add x86_64 to the arch array. Work's fine here.
Hello,
Why not match the same features as the standard mutt PKGBUILD? Such as headercache, smtp and gpgme support. Just because the features are there doesn't mean anyone has to use them, but some people (myself and it seems possible that some other people as well included) _do_ use these features and it would immensely useful if you could include them so that people who want the extra features don't have to manually hack your PKGBUILD every time you issue out an update :) Just my two cents.
Thanks for the package!
Heya...FYI, the latest version is out. I've gone ahead and attached a working PKGBUILD.
pkgname=mutt-sidebar
pkgver=1.5.18
pkgrel=4
pkgdesc="A small but very powerful text-based mail client"
arch=(i686 x86_64)
license=('GPL')
url="http://www.mutt.org/"
provides=('mutt')
depends=('ncurses' 'openssl>=0.9.8e' 'gdbm' 'mime-types' 'zlib' 'libsasl')
makedepends=('gnupg')
_patchdate=20080611
source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz
http://lunar-linux.org/~tchan/mutt/patch-${pkgver}.sidebar.${_patchdate}.txt)
md5sums=('27c30037120189b9f9c0d3e76361b8f8'
'0f6565cecfc7fd72eaf33756abbc3088')
build() {
cd ${startdir}/src/mutt-${pkgver}
patch -Np1 -i ${startdir}/src/patch-${pkgver}.sidebar.${_patchdate}.txt || return 1
./configure --prefix=/usr --sysconfdir=/etc \
--enable-pop --enable-imap --enable-smtp \
--with-sasl --with-ssl --without-idn \
--enable-hcache || return 1
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
rm -f ${startdir}/pkg/usr/bin/{flea,muttbug}
rm -f $startdir/pkg/usr/share/man/man1/{flea,muttbug}.1
rm -f ${startdir}/pkg/etc/mime.types*
}
Enjoy...
Corrected the license error.
I have not added smtp support because I think that should be work for another program: mutt is a mail client and should remain as that ;)
and btw mutt is licensed under GPL not GNU
it would be very useful if u enabled smtp too
Updated
Hi.
I took the liberty of updating a bit more...
Here's one that works for me.
It also has the trash patch.
# Maintainer: Damnshock <damnshock-youknowwhatgoeshere-gmail.com>
pkgname=mutt-sidebar
pkgver=1.5.16
pkgrel=1
pkgdesc="A small but very powerful text-based mail client with sidebar-patch"
arch=(i686)
url="http://lunar-linux.org/index.php?page=mutt-sidebar"
depends=('ncurses' 'openssl')
makedepends=('gnupg')
conflicts=('mutt')
provides=('mutt')
source=(ftp://ftp.mutt.org/mutt/devel/mutt-$pkgver.tar.gz http://lunar-linux.org/~tchan/mutt/patch-1.5.16.sidebar.20070704.txt http://scie.nti.st/dist/trash-1.5.16.patch muttrc.example)
build() {
cd $startdir/src/mutt-$pkgver
patch -p1 -i ../patch-1.5.16.sidebar.20070704.txt
patch -p1 < ../trash-1.5.16.patch
./configure --prefix=/usr --sysconfdir=/etc \
--enable-pop --enable-imap --with-ssl --enable-pgp \
--enable-smtp --with-sasl --enable-hcache \
--with-mixmaster --without-idn
make || return 1
make DESTDIR=$startdir/pkg install
rm -f $startdir/pkg/usr/bin/{flea,muttbug}
install -m644 -D ${startdir}/src/muttrc.example ${startdir}/pkg/etc/muttrc.example
}
md5sums=('10eff7024dbb7ce1f773d688a69ea9db'
'e6e1a6e258ec6ce6ee489b0f3ff8e2cf'
'd0bc85f30ba298472dcda47dae825b19'
'336d1d8e290a0595dbe2cd92d720ffc9')
I took the liberty of upgrading the PKGBUILD file for the 1.5.15 version of mutt and the corresponding patch.
I also incorporated the depends field of the official mutt build, furthermore I added the i686 to arch=().
Here\'s the updated OKGBUILD file:
# Maintainer: Damnshock <damnshock-youknowwhatgoeshere-gmail.com>
pkgname=mutt-sidebar
pkgver=1.5.15
pkgrel=2
pkgdesc=\"A small but very powerful text-based mail client with sidebar-patch\"
arch=(i686 x86_64)
license=(\'GPL\')
url=\"http://lunar-linux.org/index.php?page=mutt-sidebar\"
depends=(\'ncurses\' \'openssl>=0.9.8e\' \'gdbm\' \'mime-types\')
makedepends=(\'gnupg\')
conflicts=(\'mutt\')
provides=(\'mutt\')
source=(ftp://ftp.mutt.org/mutt/devel/mutt-${pkgver}.tar.gz http://lunar-linux.org/~tchan/mutt/patch-1.5.15.sidebar.20070408.txt muttrc.example)
md5sums=(\'b2c1eb45fd958f6589ee52a98f2a3ce1\' \'8fcae5ea38eac45616762d76f7cadacf\' \'336d1d8e290a0595dbe2cd92d720ffc9\')
build() {
cd $startdir/src/mutt-$pkgver
patch -p1 -i ../patch-1.5.15.sidebar.20070408.txt
./configure --prefix=/usr --sysconfdir=/etc \\
--enable-pop --enable-imap --with-ssl \\
--enable-pgp --without-idn --enable-hcache
make || return 1
make DESTDIR=$startdir/pkg install
rm -f $startdir/pkg/usr/bin/{flea,muttbug}
rm -f ${startdir}/pkg/etc/mime.types*
install -m644 -D ${startdir}/src/muttrc.example ${startdir}/pkg/etc/muttrc.example
}
Few modifications in the PKGBUILD and added a muttrc example file
This is the normal mutt with the sidebar patch, as for muttng has stopped its development.
v1.6.0