r1302 - in /trunk/packages/vim-scripts/debian: changelog patches/00list patches/lbdbq-detect-lbdbq.dpatch
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Wed Feb 11 08:36:32 UTC 2009
Author: zack
Date: Wed Feb 11 08:36:32 2009
New Revision: 1302
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1302
Log:
add patch lbdbq-detect-lbdbq to detect whether the lbdbq executable is
missing (Closes: #514796)
Added:
trunk/packages/vim-scripts/debian/patches/lbdbq-detect-lbdbq.dpatch (with props)
Modified:
trunk/packages/vim-scripts/debian/changelog
trunk/packages/vim-scripts/debian/patches/00list
Modified: trunk/packages/vim-scripts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/changelog?rev=1302&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/changelog (original)
+++ trunk/packages/vim-scripts/debian/changelog Wed Feb 11 08:36:32 2009
@@ -1,3 +1,10 @@
+vim-scripts (20090211-1) UNRELEASED; urgency=low
+
+ * add patch lbdbq-detect-lbdbq to detect whether the lbdbq executable is
+ missing (Closes: #514796)
+
+ -- Stefano Zacchiroli <zack at debian.org> Wed, 11 Feb 2009 09:24:04 +0100
+
vim-scripts (20081206-1) unstable; urgency=low
* Updated addons:
Modified: trunk/packages/vim-scripts/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/00list?rev=1302&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/00list (original)
+++ trunk/packages/vim-scripts/debian/patches/00list Wed Feb 11 08:36:32 2009
@@ -18,4 +18,5 @@
lbdbq-inputlist
closetag-sanity
lbdbq-query
+lbdbq-detect-lbdbq
mkd-preformatted
Added: trunk/packages/vim-scripts/debian/patches/lbdbq-detect-lbdbq.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/lbdbq-detect-lbdbq.dpatch?rev=1302&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/lbdbq-detect-lbdbq.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/lbdbq-detect-lbdbq.dpatch Wed Feb 11 08:36:32 2009
@@ -1,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## lbdbq-detect-lbdbq.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: detect (the absence of) the lbdbq executable
+
+ at DPATCH@
+diff -urNad vim-scripts~/plugin/lbdbq.vim vim-scripts/plugin/lbdbq.vim
+--- vim-scripts~/plugin/lbdbq.vim 2009-02-11 09:34:45.794744601 +0100
++++ vim-scripts/plugin/lbdbq.vim 2009-02-11 09:35:05.622746011 +0100
+@@ -14,6 +14,10 @@
+ " queries lbdb with a query string and return a list of pairs:
+ " [['full name', 'email'], ['full name', 'email'], ...]
+ function! LbdbQuery(qstring)
++ if !executable("lbdbq")
++ echoerr "Cannot find 'lbdbq' executable, please install it (usually, it comes with the 'lbdb' package)"
++ return []
++ endif
+ let output = system("lbdbq '" . a:qstring . "'")
+ let results = []
+ for line in split(output, "\n")[1:] " skip first line (lbdbq summary)
Propchange: trunk/packages/vim-scripts/debian/patches/lbdbq-detect-lbdbq.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the pkg-vim-maintainers
mailing list