]> git.notmuchmail.org Git - notmuch/commitdiff
debian: split off vim interface to its own package
authorDavid Bremner <bremner@unb.ca>
Tue, 21 Jun 2011 17:31:21 +0000 (14:31 -0300)
committerDavid Bremner <bremner@debian.org>
Thu, 23 Jun 2011 10:54:40 +0000 (07:54 -0300)
So far the package does notthing fancy with vim-addon-manager.

debian/README.Debian [deleted file]
debian/README.notmuch-vim [new file with mode: 0644]
debian/control
debian/notmuch-vim.install [new file with mode: 0644]
debian/rules

diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644 (file)
index f07b499..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-notmuch for Debian
-==================
-
-To use the vim plugin, please install it using vim-addons(1)
-
- -- martin f. krafft <madduck@debian.org>  Thu, 21 Jan 2010 14:50:19 +1300
diff --git a/debian/README.notmuch-vim b/debian/README.notmuch-vim
new file mode 100644 (file)
index 0000000..f07b499
--- /dev/null
@@ -0,0 +1,6 @@
+notmuch for Debian
+==================
+
+To use the vim plugin, please install it using vim-addons(1)
+
+ -- martin f. krafft <madduck@debian.org>  Thu, 21 Jan 2010 14:50:19 +1300
index 77682b50021a67f4b1f84a9d6e77b285ae26eabd..68603baf0d29ace02338dd7535ff81908e4cad32 100644 (file)
@@ -16,16 +16,14 @@ Dm-Upload-Allowed: yes
 Package: notmuch
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Package: notmuch
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
-Enhances: vim
-Suggests: vim, vim-addon-manager
+Recommends: notmuch-emacs | notmuch-vim
 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
  the Xapian library to provide fast, full-text search with a very
  convenient search syntax.
  .
 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
  the Xapian library to provide fast, full-text search with a very
  convenient search syntax.
  .
- This package contains the notmuch command-line interface as well as
- the vim interface for notmuch.
+ This package contains the notmuch command-line interface
 
 Package: libnotmuch1
 Section: libs
 
 Package: libnotmuch1
 Section: libs
@@ -82,3 +80,18 @@ Description: thread-based email index, search and tagging (emacs interface)
  This package provides an emacs based mail user agent based on
  notmuch.
 
  This package provides an emacs based mail user agent based on
  notmuch.
 
+Package: notmuch-vim
+Architecture: all
+Section: mail
+Breaks: notmuch (<<0.6~238~)
+Replaces: notmuch (<<0.6~238~)
+Depends: ${misc:Depends}, notmuch, vim-addon-manager
+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 a vim based mail user agent based on
+ notmuch.
+
diff --git a/debian/notmuch-vim.install b/debian/notmuch-vim.install
new file mode 100644 (file)
index 0000000..95ab07b
--- /dev/null
@@ -0,0 +1,3 @@
+vim/plugin/notmuch.vim usr/share/vim/addons/plugin
+vim/syntax/notmuch-*.vim usr/share/vim/addons/syntax
+vim/notmuch.yaml usr/share/vim/registry
index 9ac190ead6246c875981c2e65f43cdf25755b1eb..fbd863db3939c30acadc4a8de64b5a7d20b8c7a8 100755 (executable)
@@ -29,9 +29,3 @@ override_dh_installdocs:
 
 override_dh_auto_build:
        make RPATH_LDFLAGS=""
 
 override_dh_auto_build:
        make RPATH_LDFLAGS=""
-
-override_dh_install:
-       dh_install
-       install -m644 vim/plugin/notmuch.vim debian/notmuch/usr/share/vim/addons/plugin
-       install -m644 vim/syntax/notmuch-*.vim debian/notmuch/usr/share/vim/addons/syntax
-       install -m644 vim/notmuch.yaml debian/notmuch/usr/share/vim/registry