debian/0000755000000000000000000000000012174165215007172 5ustar debian/clean0000644000000000000000000000001512173566316010201 0ustar *.egg-info/* debian/rules0000755000000000000000000000132312173566316010257 0ustar #!/usr/bin/make -f %: dh $@ --with python2,sphinxdoc override_dh_auto_build: dh_auto_build rm -rf $(CURDIR)/docs/build $(MAKE) -C docs html man override_dh_auto_install: dh_auto_install -- --install-lib=/usr/share/alot/ override_dh_install: dh_install mv debian/alot/usr/bin/alot debian/alot/usr/share/alot/alot.bin dh_link -palot /usr/share/alot/alot.bin /usr/bin/alot # install the NEWS file as a changelog mkdir -p debian/alot/usr/share/doc/alot/ debian/alot-doc/usr/share/doc/alot-doc/ cp NEWS debian/alot/usr/share/doc/alot/changelog cp NEWS debian/alot-doc/usr/share/doc/alot-doc/changelog override_dh_compress: dh_compress -X.html -X.txt override_dh_auto_clean: dh_auto_clean rm -rf docs/build/ debian/changelog0000644000000000000000000000317212174165152011047 0ustar alot (0.3.5-2) unstable; urgency=low * Drop outdated Lintian overrides for alot-doc * Add a patch to fix an encoding error in the GPG handling that prevented alot from opening some threads. -- Simon Chopin Thu, 25 Jul 2013 11:05:43 +0200 alot (0.3.5-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Simon Chopin ] * Add w3m | links to Recommends to enable HTML rendering * New upstream release + Drop the backported GPGFix patch * d/copyright: Bump the copyright years * Bump Standard-Version to 3.9.4, no change required -- Simon Chopin Tue, 23 Jul 2013 22:51:33 +0200 alot (0.3.4-2) unstable; urgency=low * New patch fixing ill-instantiated GPGProblem exception, thanks to Vasudev Kamath (Closes: #704884) -- Simon Chopin Tue, 09 Apr 2013 15:33:32 +0200 alot (0.3.4-1) unstable; urgency=low * New upstream release * debian/control: Add notmuch to the Recommends field * debian/watch: Use plain github URLs instead of githubredir -- Simon Chopin Tue, 26 Mar 2013 21:23:58 +0100 alot (0.3.3-1) unstable; urgency=low * New upstream release. * Drop all patches, either applied upstream or became irrelevant. * New patch: 0007-use-local-intersphinx-links to use local debian documentation instead of fetching it on the Internet. -- Simon Chopin Tue, 11 Sep 2012 21:04:24 -0400 alot (0.3.2-1) unstable; urgency=low * Initial release (Closes: #677522) -- Simon Chopin Tue, 28 Aug 2012 09:47:28 -0400 debian/alot.docs0000644000000000000000000000001212173566316011002 0ustar README.md debian/patches/0000755000000000000000000000000012173752557010633 5ustar debian/patches/series0000644000000000000000000000006612173752164012044 0ustar 0007-use-local-intersphinx-links 0008-unicode-GPG-fix debian/patches/0008-unicode-GPG-fix0000644000000000000000000000540212173752553013765 0ustar From: Simon Chopin Date: Wed, 24 Jul 2013 15:13:20 +0200 Subject: Use Unicode strings when dealing with GPG This delays the encoding of special chars, if any, to the actual display which is supposed to know into what it should be encoded. Forwarded: https://github.com/pazz/alot/pull/642 diff --git a/alot/db/utils.py b/alot/db/utils.py index ba6d466..7fb2deb 100644 --- a/alot/db/utils.py +++ b/alot/db/utils.py @@ -51,9 +51,9 @@ def add_signature_headers(mail, sigs, error_msg): ) mail.add_header( X_SIGNATURE_MESSAGE_HEADER, - 'Invalid: {0}'.format(error_msg) + u'Invalid: {0}'.format(error_msg) if error_msg else - 'Valid: {0}'.format(sig_from), + u'Valid: {0}'.format(sig_from), ) @@ -104,19 +104,19 @@ def message_from_file(handle): malformed = False if len(m.get_payload()) != 2: - malformed = 'expected exactly two messages, got {0}'.format( + malformed = u'expected exactly two messages, got {0}'.format( len(m.get_payload())) ct = m.get_payload(1).get_content_type() if ct != app_pgp_sig: - malformed = 'expected Content-Type: {0}, got: {1}'.format( + malformed = u'expected Content-Type: {0}, got: {1}'.format( app_pgp_sig, ct) # TODO: RFC 3156 says the alg has to be lower case, but I've # seen a message with 'PGP-'. maybe we should be more # permissive here, or maybe not, this is crypto stuff... if not p.get('micalg', 'nothing').startswith('pgp-'): - malformed = 'expected micalg=pgp-..., got: {0}'.format( + malformed = u'expected micalg=pgp-..., got: {0}'.format( p.get('micalg', 'nothing')) sigs = [] @@ -144,13 +144,13 @@ def message_from_file(handle): ct = m.get_payload(0).get_content_type() if ct != app_pgp_enc: - malformed = 'expected Content-Type: {0}, got: {1}'.format( + malformed = u'expected Content-Type: {0}, got: {1}'.format( app_pgp_enc, ct) want = 'application/octet-stream' ct = m.get_payload(1).get_content_type() if ct != want: - malformed = 'expected Content-Type: {0}, got: {1}'.format(want, ct) + malformed = u'expected Content-Type: {0}, got: {1}'.format(want, ct) if not malformed: try: @@ -199,7 +199,7 @@ def message_from_file(handle): add_signature_headers(m, sigs, '') if malformed: - msg = 'Malformed OpenPGP message: {0}'.format(malformed) + msg = u'Malformed OpenPGP message: {0}'.format(malformed) m.attach(email.message_from_string(msg)) return m -- 1.8.3.2 debian/patches/0007-use-local-intersphinx-links0000644000000000000000000000162712173566316016517 0ustar Description: Use local intersphinx inventories. Fetching the inventories off the Internet made the build unreliable. This patch turns off the intersphinx feature for notmuch and urwid since they don't have a -doc sphinx package yet. This patch only makes sense in the Debian context. Author: Simon Chopin Forwarded: not-needed --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -256,7 +256,7 @@ # Example configuration for intersphinx: refer to the Python standard library. intersphinx_mapping = { - 'http://docs.python.org/': None, - 'http://notmuch.readthedocs.org/en/latest/': None, - 'http://urwid.readthedocs.org/en/latest/': None + 'file:///usr/share/doc/python-doc/html/': None, + #'http://notmuch.readthedocs.org/en/latest/': None, + #'http://urwid.readthedocs.org/en/latest/': None } debian/control0000644000000000000000000000303412173566316010603 0ustar Source: alot Section: mail Priority: optional Maintainer: Python Applications Packaging Team Uploaders: Simon Chopin Build-Depends: debhelper (>= 9), python (>= 2.7), python-sphinx (>= 1.0.7+dfsg), python-doc, python-configobj X-Python-Version: >= 2.7 Standards-Version: 3.9.4 Homepage: http://github.com/pazz/alot/ Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/alot/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/alot/trunk/ Package: alot Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-notmuch (>= 0.12), python-magic, python-configobj (>= 4.6.0), python-twisted (>= 10.2.0), python-gpgme, python-urwid (>= 1.0) Suggests: alot-doc Recommends: notmuch, w3m | links | links2 Description: Text mode MUA using notmuch mail Alot is a text mode mail user agent for the notmuch mail system. It features a modular and command prompt driven interface to provide a full MUA experience as an alternative to the Emacs and Vim modes shipped with notmuch. Package: alot-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${sphinxdoc:Depends} Suggests: python-doc Description: Text mode MUA using notmuch mail - documentation Alot is a terminal-based mail user agent for the notmuch mail system. It features a modular and command prompt driven interface to provide a full MUA experience as an alternative to the Emacs and Vim modes shipped with notmuch. . This package provides detailed documentation on alot usage. debian/alot.manpages0000644000000000000000000000002112173566316011645 0ustar docs/build/man/* debian/alot-doc.doc-base0000644000000000000000000000043112173566316012277 0ustar Document: alot Title: alot Author: Patrick Totzke Abstract: text mode MUA for notmuch mail Section: Network/Communication Format: HTML Index: /usr/share/doc/alot-doc/html/index.html Files: /usr/share/doc/alot-doc/html/*.html Format: Text Files: /usr/share/doc/alot-doc/rst/*.txt debian/copyright0000644000000000000000000000312112173566316011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Alot Upstream-Contact: Patrick Totzke Source: http://github.com/pazz/alot Files: * Copyright: 2011-2013, Patrick Totzke License: GPL-3+ Files: extra/colour_picker.py Copyright: 2004-2009 Ian Ward License: LGPL-2.1+ Files: debian/* Copyright: 2012-2013, Simon Chopin License: GPL-3+ License: GPL-3+ This file is released under the GNU GPL, version 3 or a later revision. For further details see the COPYING file. . On Debian systems, the full text of the GNU General Public License version 3 can be found in the file `/usr/share/common-licenses/GPL-3'. License: LGPL-2.1+ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1` debian/compat0000644000000000000000000000000212173566316010376 0ustar 9 debian/alot.install0000644000000000000000000000003312173566316011523 0ustar usr/bin/* usr/share/alot/* debian/alot-doc.links0000644000000000000000000000035112173566316011743 0ustar /usr/share/doc/alot-doc/html/_sources /usr/share/doc/alot-doc/rst /usr/share/doc/alot-doc/html /usr/share/doc/alot/html /usr/share/doc/alot-doc/rst /usr/share/doc/alot/rst debian/alot-doc.docs0000644000000000000000000000002012173566316011544 0ustar docs/build/html debian/watch0000644000000000000000000000010312173566316010223 0ustar version=3 https://github.com/pazz/alot/tags .*/v?(\d\S*)\.tar\.gz debian/source/0000755000000000000000000000000012173566316010500 5ustar debian/source/format0000644000000000000000000000001412173566316011706 0ustar 3.0 (quilt)