]> git.cworth.org Git - notmuch/commit
Convert notmuch-vim to Vim addon policy 2.0
authorJames McCoy <jamessan@debian.org>
Sat, 3 Aug 2024 18:56:06 +0000 (14:56 -0400)
committerDavid Bremner <david@tethera.net>
Mon, 5 Aug 2024 09:59:43 +0000 (06:59 -0300)
commit0aac2ae67e41bc88a359b619402ef2803b4dd0ac
tree98f7940007d903f31bd80497d61a85f7f8c46826
parent5a3e90d02ff6e462fc5a3f9c0b5ac354d89b20ad
Convert notmuch-vim to Vim addon policy 2.0

The new Vim addon policy relies on Vim's native package functionality,
rather than the Debian-specific vim-addons tool.  This allows the addon
to be immediately available when the package is installed, rather than
requiring extra setup by the user.

* Install notmuch-vim to its own /usr/share/notmuch-vim directory, so
  the files are self-contained.
* Remove vim-addon-manager from notmuch-vim Depends
* Add ${vim-addon:Depends} to notmuch-vim Depends to ensure it has the
  required relationships on Vim/Neovim.
* Build-Depend on dh-sequence-vim-addon to automatically setup the
  required symlinks for Vim and Neovim to see the addon.

Signed-off-by: James McCoy <jamessan@debian.org>
debian/control
debian/notmuch-vim.dirs [deleted file]
debian/notmuch-vim.install
debian/notmuch-vim.neovim-addon [new symlink]
debian/notmuch-vim.vim-addon [new file with mode: 0644]
debian/rules