Package: vim-gocomplete Version: 0~git20130712-1 Severity: important Dear Maintainer,
After installing vim-gocomplete 0~git20130712, and trying to install it with vim-addon-manager, I got an error: ~% vim-addon-manager install gocode Warning: ignoring 'gocode' which is missing source files Oh, that's strange, I muttered to myself. What's going on? ~% vim-addon-manager -v | grep go go-syntax installed installed gocode unavailable (missing source files: /usr/share/v im/addons/autoload/gocomplete.vim, /usr/share/vim/addons/ftplugin/gocomplet e.vim)unavailable (missing source files: /usr/share/vim/addons/autoload/goc omplete.vim, /usr/share/vim/addons/ftplugin/gocomplete.vim) Oh dear. Is the registry file correct? ~% dpkg -L vim-gocomplete /. /usr /usr/share /usr/share/vim /usr/share/vim/addons /usr/share/vim/addons/plugins /usr/share/vim/addons/plugins/gocomplete.vim /usr/share/vim/addons/ftplugin /usr/share/vim/addons/ftplugin/go /usr/share/vim/addons/ftplugin/go/gocomplete.vim /usr/share/vim/registry /usr/share/vim/registry/vim-gocomplete.yaml /usr/share/doc /usr/share/doc/vim-gocomplete /usr/share/doc/vim-gocomplete/copyright /usr/share/doc/vim-gocomplete/changelog.Debian.gz ~% cat /usr/share/vim/registry/vim-gocomplete.yaml addon: gocode description: gocode integration disabledby: "let loaded_gocode = 1" files: - autoload/gocomplete.vim - ftplugin/gocomplete.vim Aha, exclaimed I, that doesn't match at all. There's no autoload/gocomplete.vim and no ftplugin/gocomplete.vim. There's also not supposed to be any /usr/share/vim/addons/plugins directory, as far as I know- it's supposed to be "plugin", singular. Attaching a patch that seems to make it work. paul -- System Information: Debian Release: 7.2 APT prefers stable APT policy: (500, 'stable'), (50, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages vim-gocomplete depends on: ii gocode 0~git20130712-1 ii vim 2:7.3.547-7 ii vim-nox [vim] 2:7.3.547-7 ii vim-syntax-go 2:1.1+2013.05.22-1 Versions of packages vim-gocomplete recommends: ii vim-addon-manager 0.5.2 vim-gocomplete suggests no packages. -- no debconf information
diff --git a/debian/vim-gocomplete.install b/debian/vim-gocomplete.install index 3df02aa..388647b 100644 --- a/debian/vim-gocomplete.install +++ b/debian/vim-gocomplete.install @@ -1,3 +1,3 @@ -vim/autoload/gocomplete.vim /usr/share/vim/addons/plugins +vim/autoload/gocomplete.vim /usr/share/vim/addons/plugin vim/ftplugin/go.vim /usr/share/vim/addons/ftplugin/go debian/vim-gocomplete.yaml /usr/share/vim/registry diff --git a/debian/vim-gocomplete.yaml b/debian/vim-gocomplete.yaml index 3f51971..2af7bcc 100644 --- a/debian/vim-gocomplete.yaml +++ b/debian/vim-gocomplete.yaml @@ -2,5 +2,5 @@ addon: gocode description: gocode integration disabledby: "let loaded_gocode = 1" files: - - autoload/gocomplete.vim - - ftplugin/gocomplete.vim + - plugin/gocomplete.vim + - ftplugin/go/gocomplete.vim