r869 - in /trunk/packages/vim-scripts/debian: ./ patches/
vim-registry/
zack at users.alioth.debian.org
zack at users.alioth.debian.org
Sun Jan 28 17:39:56 UTC 2007
Author: zack
Date: Sun Jan 28 18:39:56 2007
New Revision: 869
URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=869
Log:
support for disabling of system-wide plugins
Added:
trunk/packages/vim-scripts/debian/patches/disabledby-calendar.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-closetag.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-cvsmenu.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-info.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-po.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-tetris.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-themes.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-whatdomain.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/disabledby-xml.dpatch (with props)
trunk/packages/vim-scripts/debian/patches/sokoboan_path.dpatch
- copied unchanged from r865, trunk/packages/vim-scripts/debian/patches/01_sokoban.dpatch
Removed:
trunk/packages/vim-scripts/debian/patches/01_sokoban.dpatch
Modified:
trunk/packages/vim-scripts/debian/changelog
trunk/packages/vim-scripts/debian/compat
trunk/packages/vim-scripts/debian/control
trunk/packages/vim-scripts/debian/patches/00list
trunk/packages/vim-scripts/debian/rules
trunk/packages/vim-scripts/debian/vim-registry/vim-scripts.yaml
trunk/packages/vim-scripts/debian/vim-scripts.pl
trunk/packages/vim-scripts/debian/vim-scripts.status
Modified: trunk/packages/vim-scripts/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/changelog?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/changelog (original)
+++ trunk/packages/vim-scripts/debian/changelog Sun Jan 28 18:39:56 2007
@@ -1,9 +1,14 @@
vim-scripts (7.0.5) UNRELEASED; urgency=low
+ * debian/rules
+ - bugfix: let the "build" target depend on the "patch" target (from
+ dpatch) and chain dependencies from "binary-indep" down to "build", so
+ that shipped files are actually patched
* debian/control
- use abbreviated form ("XS-Vcs-Svn") for the svn field
- set maintainer to Debian VIM Maintainers and Uploaders to me and Michael
- added suggest on perlsgml, required by dtd2vim (added below)
+ - bumped debhelper dependency to > 5, changed debian/compat accordingly
* debian/README.debian
- mention the requirement of perlsgml for using dtd2vim
* addons adds/removals/upgrades
@@ -11,8 +16,16 @@
completion
* debian/vim-scripts.status
- fixed typo on the vcscommand addon: vcscommit.vim resides under syntax/
+ * debian/patches
+ - added several debian/patches/disabledby-* patches which add support for
+ disabling (viz. avoiding double-loading) of shipped plugins. Added
+ corresponding "disabledby:" fields to debian/vim-script.status
+ - renamed patch 01_sokoban to sokoboan_path
+ - changed debian/patches/00list accordingly
+ * debian/vim-scripts.pl
+ - added support for generating the "disabledby:" registry field
- -- Stefano Zacchiroli <zack at debian.org> Sat, 20 Jan 2007 16:08:26 +0100
+ -- Stefano Zacchiroli <zack at debian.org> Sat, 27 Jan 2007 10:09:26 +0100
vim-scripts (7.0.4) unstable; urgency=low
Modified: trunk/packages/vim-scripts/debian/compat
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/compat?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/compat (original)
+++ trunk/packages/vim-scripts/debian/compat Sun Jan 28 18:39:56 2007
@@ -1,1 +1,1 @@
-4
+5
Modified: trunk/packages/vim-scripts/debian/control
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/control?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/control (original)
+++ trunk/packages/vim-scripts/debian/control Sun Jan 28 18:39:56 2007
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian VIM Maintainers <pkg-vim-maintainers at lists.alioth.debian.org>
Uploaders: Stefano Zacchiroli <zack at debian.org>, Michael Piefel <piefel at debian.org>
-Build-Depends: debhelper (>> 4.0.0), dpatch
+Build-Depends: debhelper (>> 5.0.0), dpatch
Standards-Version: 3.7.2
XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-vim/trunk/packages/vim-scripts
Modified: trunk/packages/vim-scripts/debian/patches/00list
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/00list?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/00list (original)
+++ trunk/packages/vim-scripts/debian/patches/00list Sun Jan 28 18:39:56 2007
@@ -1,1 +1,10 @@
-01_sokoban
+disabledby-calendar.dpatch
+disabledby-closetag.dpatch
+disabledby-cvsmenu.dpatch
+disabledby-info.dpatch
+disabledby-po.dpatch
+disabledby-tetris.dpatch
+disabledby-themes.dpatch
+disabledby-whatdomain.dpatch
+disabledby-xml.dpatch
+sokoboan_path
Added: trunk/packages/vim-scripts/debian/patches/disabledby-calendar.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-calendar.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-calendar.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-calendar.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-calendar.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/plugin/calendar.vim vim-scripts/plugin/calendar.vim
+--- vim-scripts~/plugin/calendar.vim 2007-01-17 16:05:07.000000000 +0100
++++ vim-scripts/plugin/calendar.vim 2007-01-27 09:39:16.000000000 +0100
+@@ -283,6 +283,11 @@
+ " :echo calendar_version
+ " GetLatestVimScripts: 52 1 :AutoInstall: calendar.vim
+
++if exists("loaded_calendar")
++ finish
++endif
++let loaded_calendar = 1
++
+ let g:calendar_version = "1.4a"
+ if &compatible
+ finish
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-calendar.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-closetag.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-closetag.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-closetag.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-closetag.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-closetag.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/macros/closetag.vim vim-scripts/macros/closetag.vim
+--- vim-scripts~/macros/closetag.vim 2007-01-17 16:05:06.000000000 +0100
++++ vim-scripts/macros/closetag.vim 2007-01-27 09:56:51.000000000 +0100
+@@ -121,6 +121,12 @@
+ " User configurable settings
+ "------------------------------------------------------------------------------
+
++" Has this already been loaded?
++if exists("loaded_closetag")
++ finish
++endif
++let loaded_closetag=1
++
+ " if html, don't close certain tags. Works best if ignorecase is set.
+ " otherwise, capitalize these elements according to your html editing style
+ if !exists("b:unaryTagsStack") || exists("b:closetag_html_style")
+@@ -131,12 +137,6 @@
+ endif
+ endif
+
+-" Has this already been loaded?
+-if exists("loaded_closetag")
+- finish
+-endif
+-let loaded_closetag=1
+-
+ " set up mappings for tag closing
+ inoremap <C-_> <C-R>=GetCloseTag()<CR>
+ map <C-_> a<C-_><ESC>
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-closetag.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-cvsmenu.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-cvsmenu.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-cvsmenu.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-cvsmenu.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-cvsmenu.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/plugin/cvsmenu.vim vim-scripts/plugin/cvsmenu.vim
+--- vim-scripts~/plugin/cvsmenu.vim 2007-01-17 16:29:30.000000000 +0100
++++ vim-scripts/plugin/cvsmenu.vim 2007-01-27 09:42:40.000000000 +0100
+@@ -14,6 +14,10 @@
+ " TODO: Better support for additional params
+ " TODO: gettag()/getmodule()
+
++if exists("loaded_cvsmenu")
++ finish
++endif
++
+ "#############################################################################
+ " Settings
+ "#############################################################################
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-cvsmenu.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-info.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-info.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-info.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-info.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-info.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/plugin/info.vim vim-scripts/plugin/info.vim
+--- vim-scripts~/plugin/info.vim 2007-01-17 16:05:07.000000000 +0100
++++ vim-scripts/plugin/info.vim 2007-01-27 09:46:19.000000000 +0100
+@@ -27,6 +27,11 @@
+ "
+ " $Id: info.vim,v 1.7 2002/11/30 21:59:05 rnd Exp $
+
++if exists("loaded_info")
++ finish
++endif
++let loaded_info = 1
++
+ let s:infoCmd = 'info --output=-'
+ if has('win32')
+ let s:infoBufferName = '-Info- '
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-info.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-po.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-po.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-po.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-po.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-po.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/ftplugin/po.vim vim-scripts/ftplugin/po.vim
+--- vim-scripts~/ftplugin/po.vim 2007-01-17 16:05:03.000000000 +0100
++++ vim-scripts/ftplugin/po.vim 2007-01-27 09:50:18.000000000 +0100
+@@ -86,10 +86,11 @@
+ " Just delete the bloody file!
+
+ " Only do this when not done yet for this buffer.
+-if exists("b:did_po_mode_ftplugin")
++if exists("b:did_po_mode_ftplugin") || exists("loaded_po_ftplugin")
+ finish
+ endif
+ let b:did_po_mode_ftplugin = 1
++let loaded_po_ftplugin = 1
+
+ setlocal comments=
+ setlocal errorformat=%f:%l:\ %m
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-po.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-tetris.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-tetris.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-tetris.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-tetris.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-tetris.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/games/tetris.vim vim-scripts/games/tetris.vim
+--- vim-scripts~/games/tetris.vim 2007-01-17 16:05:04.000000000 +0100
++++ vim-scripts/games/tetris.vim 2007-01-27 09:51:45.000000000 +0100
+@@ -8,6 +8,11 @@
+ " Dan Sharp Bug reports, improvements
+ " If your name is not here, but should be, drop me a mail
+
++if exists("loaded_tetris")
++ finish
++endif
++let loaded_tetris = 1
++
+ " TODO FocusGained FocusLost Auto calibration during play
+ let s:s='-Tetris_game-'
+ let s:WIDTH=10|let s:NEXTXPOS=16|let s:NEXTYPOS=2
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-tetris.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-themes.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-themes.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-themes.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-themes.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-themes.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/plugin/themes.vim vim-scripts/plugin/themes.vim
+--- vim-scripts~/plugin/themes.vim 2007-01-17 16:05:07.000000000 +0100
++++ vim-scripts/plugin/themes.vim 2007-01-27 09:55:17.000000000 +0100
+@@ -1,3 +1,8 @@
++if exists("loaded_themes")
++ finish
++fi
++let loaded_themes = 1
++
+ " Vim default schemes
+ amenu T&hemes.D&efault.Blue :colo blue<CR>
+ amenu T&hemes.D&efault.DarkBlue :colo darkblue<CR>
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-themes.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-whatdomain.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-whatdomain.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-whatdomain.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-whatdomain.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,22 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-whatdomain.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/plugin/whatdomain.vim vim-scripts/plugin/whatdomain.vim
+--- vim-scripts~/plugin/whatdomain.vim 2007-01-17 16:05:07.000000000 +0100
++++ vim-scripts/plugin/whatdomain.vim 2007-01-27 09:28:42.000000000 +0100
+@@ -3,6 +3,11 @@
+ " Licence: Public Domain
+ " Last Change: 2001 September 19
+
++if exists("loaded_whatdomain")
++ finish
++endif
++let loaded_whatdomain = 1
++
+ " This function returns the meaning of a Top Level Domain
+ " Usage: :call WhatDomain('de') will print 'DE: Germany'
+ function! WhatDomain(...)
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-whatdomain.dpatch
------------------------------------------------------------------------------
svn:executable = *
Added: trunk/packages/vim-scripts/debian/patches/disabledby-xml.dpatch
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/patches/disabledby-xml.dpatch?rev=869&op=file
==============================================================================
--- trunk/packages/vim-scripts/debian/patches/disabledby-xml.dpatch (added)
+++ trunk/packages/vim-scripts/debian/patches/disabledby-xml.dpatch Sun Jan 28 18:39:56 2007
@@ -1,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## disabledby-xml.dpatch by Stefano Zacchiroli <zack at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad vim-scripts~/ftplugin/xml.vim vim-scripts/ftplugin/xml.vim
+--- vim-scripts~/ftplugin/xml.vim 2007-01-17 16:05:03.000000000 +0100
++++ vim-scripts/ftplugin/xml.vim 2007-01-27 09:48:34.000000000 +0100
+@@ -40,10 +40,11 @@
+ "==============================================================================
+
+ " Only do this when not done yet for this buffer
+-if exists("b:did_ftplugin")
++if exists("b:did_ftplugin") || exists(loaded_xml_ftplugin)
+ finish
+ endif
+ let b:did_ftplugin = 1
++let loaded_xml_ftplugin = 1
+
+ " WrapTag -> Places an XML tag around a visual selection. {{{1
+ " Brad Phelan: Wrap the argument in an XML tag
Propchange: trunk/packages/vim-scripts/debian/patches/disabledby-xml.dpatch
------------------------------------------------------------------------------
svn:executable = *
Modified: trunk/packages/vim-scripts/debian/rules
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/rules?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/rules (original)
+++ trunk/packages/vim-scripts/debian/rules Sun Jan 28 18:39:56 2007
@@ -11,7 +11,7 @@
# in so that people not looking into this file are not surprised when
# they try "debian/rules build" and such.
-build:
+build: patch
clean: patch clean1 unpatch
clean1:
@@ -19,7 +19,7 @@
dh_testroot
dh_clean
-install:
+install: build
binary-arch:
# Nothing to do here.
@@ -33,7 +33,7 @@
debian/vim-scripts.pl registry > debian/vim-registry/vim-scripts.yaml
# Build architecture-independent files here.
-binary-indep: copyright registry
+binary-indep: install copyright registry
dh_testdir
dh_testroot
dh_installdirs
Modified: trunk/packages/vim-scripts/debian/vim-registry/vim-scripts.yaml
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/vim-registry/vim-scripts.yaml?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/vim-registry/vim-scripts.yaml (original)
+++ trunk/packages/vim-scripts/debian/vim-registry/vim-scripts.yaml Sun Jan 28 18:39:56 2007
@@ -1,6 +1,7 @@
addon: alternate
description: "alternate pairing files (e.g. .c/.h) with short ex-commands"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_alternateFile = 1"
files:
- plugin/a.vim
- doc/alternate.txt
@@ -8,12 +9,14 @@
addon: whatdomain
description: "query the meaning of a Top Level Domain"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_whatdomain = 1"
files:
- plugin/whatdomain.vim
---
addon: bufexplorer
description: "buffer explorer / browser"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_bufexplorer = 1"
files:
- plugin/bufexplorer.vim
- doc/bufexplorer.txt
@@ -21,18 +24,21 @@
addon: minibufexplorer
description: "elegant buffer explorer which takes very little screen space"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_minibufexplorer = 1"
files:
- plugin/minibufexpl.vim
---
addon: gnupg
description: "transparent editing of gpg encrypted files"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_gnupg = 1"
files:
- plugin/gnupg.vim
---
addon: taglist
description: "source code browser"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_taglist = 'no'"
files:
- plugin/taglist.vim
- doc/taglist.txt
@@ -40,12 +46,14 @@
addon: calendar
description: "shows calendar in a vim window"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_calendar = 1"
files:
- plugin/calendar.vim
---
addon: winmanager
description: "IDE-like environment with file manager and buffer list"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_winmanager = 1"
files:
- plugin/winmanager.vim
- doc/winmanager.txt
@@ -55,6 +63,7 @@
addon: align
description: "commands and maps for aligned text, equations, declarations, ..."
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_alignPlugin = 1"
files:
- plugin/AlignPlugin.vim
- doc/Align.txt
@@ -65,12 +74,14 @@
addon: cvsmenu
description: "CVS/CVSNT integration"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_cvsmenu = 1"
files:
- plugin/cvsmenu.vim
---
addon: vcscommand
description: "CVS/SVN integration (including vimdiff support)"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_VCSCommand = 1"
files:
- plugin/vcscommand.vim
- doc/vcscommand.txt
@@ -83,6 +94,7 @@
addon: utl
description: "Universal Text Linking: URL-based hyperlinking"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_utl = 1"
files:
- plugin/utl.vim
- doc/utl_ref.txt
@@ -95,12 +107,14 @@
addon: info
description: "GNU info documentation browser"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_info = 1"
files:
- plugin/info.vim
---
addon: enhanced-commentify
description: "comment lines in a program"
basedir: /usr/share/vim-scripts/
+disabledby: "let DidEnhancedCommentify = 1"
files:
- plugin/EnhancedCommentify.vim
- doc/EnhancedCommentify.txt
@@ -108,30 +122,35 @@
addon: xml
description: "editing helps for XML, HTML, and SGML documents"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_xml_ftplugin = 1"
files:
- ftplugin/xml.vim
---
addon: po
description: "easier editing of GNU gettext PO files"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_po_ftplugin = 1"
files:
- ftplugin/po.vim
---
addon: tetris
description: "a Tetris game"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_tetris = 1"
files:
- games/tetris.vim
---
addon: sokoban
description: "a Sokoban game"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_VimSokoban = 1"
files:
- games/VimSokoban/sokoban.vim
---
addon: themes
description: "colors sampler pack: all the color schemes on vim.sf.net"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_themes = 1"
files:
- plugin/themes.vim
- colors/adam.vim
@@ -278,18 +297,21 @@
addon: closetag
description: "functions and mappings to close open HTML/XML tags"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_closetag = 1"
files:
- macros/closetag.vim
---
addon: nerd-commenter
description: "easy commenting of code for many filetypes"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_nerd_comments = 1"
files:
- plugin/NERD_comments.vim
---
addon: project
description: "organize and navigate file projects (like IDE/buffer explorer)"
basedir: /usr/share/vim-scripts/
+disabledby: "let loaded_project = 1"
files:
- plugin/project.vim
- doc/project.txt
Modified: trunk/packages/vim-scripts/debian/vim-scripts.pl
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/vim-scripts.pl?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/vim-scripts.pl (original)
+++ trunk/packages/vim-scripts/debian/vim-scripts.pl Sun Jan 28 18:39:56 2007
@@ -84,12 +84,13 @@
close INDEX;
}
-sub emit_registry($$$$) {
- my ($addon, $description, $script_name, $extras) = @_;
+sub emit_registry($$$$$) {
+ my ($addon, $description, $script_name, $extras, $disabledby) = @_;
return if $addon eq '';
print "addon: $addon\n";
print "description: \"$description\"\n";
print "basedir: /usr/share/vim-scripts/\n";
+ print "disabledby: \"$disabledby\"\n" unless $disabledby eq '';
print "files:\n";
my @files = ($script_name);
if ($extras ne '') {
@@ -105,26 +106,25 @@
open STATUS, "< $status" or die "Can't open $status";
my ($script_name, $script_url, $author, $author_url, $email, $license, $extras,
- $description, $version, $addon);
+ $description, $version, $addon, $disabledby);
my $skip = 1;
-$script_name = ''; $extras = ''; #addon = '';
+$script_name = ''; $extras = ''; $addon = ''; $disabledby = '';
while (my $line = <STATUS>) {
# assumption: each plugin "block" of lines starts with the "script_name:"
# field
chomp $line;
if ($line =~ /^--\s*$/) {
$skip = not $skip;
- emit_registry($addon, $description, $script_name, $extras)
+ emit_registry($addon, $description, $script_name, $extras, $disabledby)
if $skip and $action eq "registry";
}
print $line, "\n" if $skip and $action eq "copyright";
next if $skip;
if ($line =~ /^script_name:\s*(.*)/) {
if ($script_name ne '') { # new plugin, process data collected so far
- emit_registry($addon, $description, $script_name, $extras)
+ emit_registry($addon, $description, $script_name, $extras, $disabledby)
if $action eq "registry";
- $extras = '';
- $addon = '';
+ $extras = ''; $addon = ''; $disabledby = '';
}
$script_name = $1;
} elsif ($line =~ /^addon:\s*(.*)/) { $addon = $1; }
@@ -135,6 +135,7 @@
elsif ($line =~ /^email:\s*(.*)/) { $email = $1; }
elsif ($line =~ /^license:\s*(.*)/) { $license = $1; }
elsif ($line =~ /^extras:\s*(.*)/) { $extras = $1; }
+ elsif ($line =~ /^disabledby:\s*(.*)/) { $disabledby = $1; }
elsif ($line =~ /^version:\s*(.*)/) {
$version = $1;
if (not @scripts or grep /^\Q$script_name\E$/, @scripts) {
Modified: trunk/packages/vim-scripts/debian/vim-scripts.status
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim-scripts/debian/vim-scripts.status?rev=869&op=diff
==============================================================================
--- trunk/packages/vim-scripts/debian/vim-scripts.status (original)
+++ trunk/packages/vim-scripts/debian/vim-scripts.status Sun Jan 28 18:39:56 2007
@@ -23,6 +23,7 @@
email: feline at irendi.com
license: license [1], see below
extras: doc/alternate.txt
+disabledby: let loaded_alternateFile = 1
version: 2.15
script_name: plugin/whatdomain.vim
@@ -33,6 +34,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=38
email: piefel at informatik.hu-berlin.de
license: public domain
+disabledby: let loaded_whatdomain = 1
version: 20010919
script_name: plugin/bufexplorer.vim
@@ -44,6 +46,7 @@
email: delux256-vim at yahoo dot com
license: license [2], see below
extras: doc/bufexplorer.txt
+disabledby: let loaded_bufexplorer = 1
version: 7.0.12
script_name: plugin/minibufexpl.vim
@@ -54,6 +57,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=385
email: bindu at wavell.net
license: license [2], see below
+disabledby: let loaded_minibufexplorer = 1
version: 6.3.2
script_name: plugin/gnupg.vim
@@ -64,6 +68,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=1120
email: markus.braun at krawel.de
license: no license
+disabledby: let loaded_gnupg = 1
version: 1.27
script_name: plugin/taglist.vim
@@ -75,6 +80,7 @@
email: yegappan at yahoo.com
license: no license
extras: doc/taglist.txt
+disabledby: let loaded_taglist = 'no'
version: 4.0b4
script_name: plugin/calendar.vim
@@ -85,6 +91,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=103
email: mattn_jp at mail.goo.ne.jp
license: no license
+disabledby: let loaded_calendar = 1
version: 1.4a
script_name: plugin/winmanager.vim
@@ -96,6 +103,7 @@
email: srinath at fastmail.fm
license: no license
extras: doc/winmanager.txt, plugin/winfileexplorer.vim, plugin/wintagexplorer.vim
+disabledby: let loaded_winmanager = 1
version: 2.3
script_name: plugin/AlignPlugin.vim
@@ -107,6 +115,7 @@
email: drchip at campbellfamily.biz
license: GNU GPL, see /usr/share/common-licenses/GPL-2
extras: doc/Align.txt, plugin/AlignMaps.vim, plugin/cecutil.vim, autoload/Align.vim
+disabledby: let loaded_alignPlugin = 1
version: 30/35
script_name: plugin/cvsmenu.vim
@@ -117,6 +126,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=6184
email: adah at sh163.net
license: GNU LGPL, see /usr/share/common-licenses/LGPL-2
+disabledby: let loaded_cvsmenu = 1
version: 1.140
script_name: plugin/vcscommand.vim
@@ -128,6 +138,7 @@
email: bob.hiestand at gmail.com
license: public domain
extras: doc/vcscommand.txt, plugin/vcscvs.vim, plugin/vcssvn.vim, syntax/CVSAnnotate.vim, syntax/SVNAnnotate.vim, syntax/vcscommit.vim
+disabledby: let loaded_VCSCommand = 1
version: Beta10
script_name: plugin/utl.vim
@@ -139,6 +150,7 @@
email: stb at bf-consulting.de
license: GNU GPL, see /usr/share/common-licenses/GPL-2
extras: doc/utl_*.txt, plugin/utl_*.vim
+disabledby: let loaded_utl = 1
version: 2.0
script_name: plugin/info.vim
@@ -149,6 +161,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=55
email: rnd at web-drive.ru
license: license [3], see below
+disabledby: let loaded_info = 1
version: 1.7
script_name: plugin/EnhancedCommentify.vim
@@ -160,6 +173,7 @@
email: Brandels_Mikesh at web.de
license: BSD, see /usr/share/common-licenses/BSD
extras: doc/EnhancedCommentify.txt
+disabledby: let DidEnhancedCommentify = 1
version: 2.2
script_name: ftplugin/xml.vim
@@ -170,6 +184,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=667
email: devin at tritarget.com
license: no license
+disabledby: let loaded_xml_ftplugin = 1
version: 1.29
script_name: ftplugin/po.vim
@@ -180,6 +195,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=2766
email: ajelenak at yahoo.com
license: no license
+disabledby: let loaded_po_ftplugin = 1
version: 1.2
script_name: games/tetris.vim
@@ -190,6 +206,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=299
email: kgergely at mcl.hu
license: no license
+disabledby: let loaded_tetris = 1
version: 0.52fix
script_name: games/VimSokoban/sokoban.vim
@@ -200,6 +217,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=49
email: feline at irendi.com
license: license [1], see below
+disabledby: let loaded_VimSokoban = 1
version: 1.3
script_name: plugin/themes.vim
@@ -211,6 +229,7 @@
email: vim at metacosm.dhs.org
license: see colors/*.vim for per color scheme licenses
extras: colors/*.vim
+disabledby: let loaded_themes = 1
version: 4.0
script_name: macros/closetag.vim
@@ -221,6 +240,7 @@
author_url: http://vim.sourceforge.net/account/profile.php?user_id=43
email: diffusor at ugcs.caltech.edu
license: no license
+disabledby: let loaded_closetag = 1
version: 0.9.1
script_name: plugin/NERD_comments.vim
@@ -231,6 +251,7 @@
author_url: http://www.vim.org/account/profile.php?user_id=7006
email: mrg39 at student.canterbury.ac.nz
license: no license
+disabledby: let loaded_nerd_comments = 1
version: 1.69
script_name: plugin/project.vim
@@ -242,6 +263,7 @@
email: aricvim at charter.net
license: no license
extras: doc/project.txt
+disabledby: let loaded_project = 1
version: 1.4.1
script_name: dtd2vim
More information about the pkg-vim-maintainers
mailing list