debian: split off emacs interface into its own package.

- rename emacsen-install/remove files, and change embedded package
  name

- split notmuch.install, notmuch.dirs

- add Breaks/Replaces for previous notmuch packages with overlapping
  files.
This commit is contained in:
David Bremner 2011-06-20 22:00:44 -03:00
parent ffa88554d5
commit 6f3d3c68a0
8 changed files with 31 additions and 7 deletions

7
debian/NEWS.Debian vendored Normal file
View file

@ -0,0 +1,7 @@
notmuch (0.6~238) unstable; urgency=low
The emacs user interface to notmuch is now contained in a seperate
package called notmuch-emacs.
-- David Bremner <bremner@debian.org> Mon, 20 Jun 2011 23:57:55 -0300

23
debian/control vendored
View file

@ -16,8 +16,8 @@ Dm-Upload-Allowed: yes
Package: notmuch
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Enhances: emacs, vim
Suggests: emacs, vim, vim-addon-manager
Enhances: vim
Suggests: vim, vim-addon-manager
Description: thread-based email index, search and tagging
Notmuch is a system for indexing, searching, reading, and tagging
large collections of email messages in maildir or mh format. It uses
@ -25,7 +25,7 @@ Description: thread-based email index, search and tagging
convenient search syntax.
.
This package contains the notmuch command-line interface as well as
emacs and vim interfaces for notmuch.
the vim interface for notmuch.
Package: libnotmuch1
Section: libs
@ -65,3 +65,20 @@ Description: python interface to the notmuch mail search and index library
.
This package provides a Python interface to the notmuch
functionality, directly interfacing with a shared notmuch library.
Package: notmuch-emacs
Architecture: all
Section: mail
Breaks: notmuch (<<0.6~238~)
Replaces: notmuch (<<0.6~238~)
Depends: ${misc:Depends}, notmuch,
emacs23 (>= 23~) | emacs23-nox (>=23~) | emacs23-lucid (>=23~)
Description: thread-based email index, search and tagging (emacs interface)
Notmuch is a system for indexing, searching, reading, and tagging
large collections of email messages in maildir or mh format. It uses
the Xapian library to provide fast, full-text search with a very
convenient search syntax.
.
This package provides an emacs based mail user agent based on
notmuch.

1
debian/notmuch-emacs.dirs vendored Normal file
View file

@ -0,0 +1 @@
usr/share/emacs/site-lisp/notmuch

View file

@ -1,5 +1,5 @@
#! /bin/sh -e
# /usr/lib/emacsen-common/packages/install/notmuch
# /usr/lib/emacsen-common/packages/install/notmuch-emacs
# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily
# from the install scripts for gettext by Santiago Vila

View file

@ -1,5 +1,5 @@
#!/bin/sh -e
# /usr/lib/emacsen-common/packages/remove/notmuch
# /usr/lib/emacsen-common/packages/remove/notmuch-emacs
FLAVOR=$1
PACKAGE=notmuch

1
debian/notmuch-emacs.install vendored Normal file
View file

@ -0,0 +1 @@
usr/share/emacs/site-lisp/notmuch/*.el

1
debian/notmuch.dirs vendored
View file

@ -1,5 +1,4 @@
usr/bin
usr/share/emacs/site-lisp/notmuch
usr/share/vim/registry
usr/share/vim/addons/plugin
usr/share/vim/addons/syntax

View file

@ -1,5 +1,4 @@
usr/bin
usr/share/emacs/site-lisp/notmuch/*.el
usr/share/man/man1
etc/bash_completion.d
usr/share/zsh