Adding debian version 2:9.1.1230-2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
parent
0985b09abd
commit
af310a8bc4
79 changed files with 20345 additions and 0 deletions
7700
debian/FAQ
vendored
Normal file
7700
debian/FAQ
vendored
Normal file
File diff suppressed because it is too large
Load diff
15
debian/NEWS
vendored
Normal file
15
debian/NEWS
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
vim (2:8.0.0022-1) unstable; urgency=medium
|
||||
|
||||
Vim now ships with a defaults.vim file which, when the user has no vimrc,
|
||||
enables some options that have historically been disabled by default. This
|
||||
is described in more detail at ":help defaults.vim".
|
||||
|
||||
Since defaults.vim is loaded when the user's vimrc would typically be
|
||||
loaded, it will override any settings in /etc/vim/vimrc(.local). In order
|
||||
to disable the loading of defaults.vim, add
|
||||
|
||||
let g:skip_defaults_vim = 1
|
||||
|
||||
to /etc/vim/vimrc(.local).
|
||||
|
||||
-- James McCoy <jamessan@debian.org> Tue, 04 Oct 2016 20:28:02 -0400
|
56
debian/README.Debian
vendored
Normal file
56
debian/README.Debian
vendored
Normal file
|
@ -0,0 +1,56 @@
|
|||
Vim for Debian
|
||||
---------------
|
||||
|
||||
1. The current Debian Vim scripts policy can be found in the vim-doc package
|
||||
under /usr/share/doc/vim and <https://vim-team.pages.debian.net/vim/>.
|
||||
|
||||
2. Before reporting bugs, check if the bug also exists if you run vim
|
||||
with "vim --clean". If not, make sure that the "bug" is not
|
||||
a result of a setting in your ~/.vimrc before reporting it.
|
||||
|
||||
defaults.vim
|
||||
------------
|
||||
|
||||
Vim provides $VIMRUNTIME/defaults.vim to improve the default Vim experience for
|
||||
a user with no vimrc file. It enables commonly useful functionality that
|
||||
wasn't historically enabled by default, like syntax highlighting and filetype
|
||||
plugins.
|
||||
|
||||
However, the defaults.vim script is ONLY loaded when a user does NOT have their
|
||||
own vimrc file. If you create a vimrc file and want to build on top of
|
||||
defaults.vim, add these lines to the top of your vimrc file:
|
||||
|
||||
unlet! g:skip_defaults_vim
|
||||
source $VIMRUNTIME/defaults.vim
|
||||
|
||||
When defaults.vim is loaded implicitly for a user, that happens _after_ the
|
||||
system vimrc file has been loaded. Therefore, defaults.vim will override
|
||||
settings in the system vimrc. To change that, one can either
|
||||
|
||||
a) Explicitly load defaults.vim in the system vimrc, as described above, and
|
||||
then define your customizations
|
||||
b) Explicitly opt out of defaults.vim by adding the line below to
|
||||
the system vimrc
|
||||
|
||||
let g:skip_defaults_vim = 1
|
||||
|
||||
Modeline support disabled by default
|
||||
------------------------------------
|
||||
|
||||
Modelines have historically been a source of security/resource vulnerabilities
|
||||
and are therefore disabled by default in $VIMRUNTIME/debian.vim.
|
||||
|
||||
You can enable them in ~/.vimrc or /etc/vim/vimrc with "set modeline".
|
||||
|
||||
In order to mimic Vim's default setting (modelines disabled when root, enabled
|
||||
otherwise), you may instead want to use the following snippet:
|
||||
|
||||
if $USER != 'root'
|
||||
set modeline
|
||||
else
|
||||
set nomodeline
|
||||
endif
|
||||
|
||||
The securemodelines script from vim.org (and in the vim-scripts package) may
|
||||
also be of interest as it provides a way to whitelist exactly which options
|
||||
may be set from a modeline.
|
41
debian/README.source
vendored
Normal file
41
debian/README.source
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
If you are reading this from a Debian source package, you can stop now;
|
||||
this package should build normally after extracting with dpkg-source -x.
|
||||
The rest of this file gives some hints about generating source packages
|
||||
from the packaging git repository.
|
||||
|
||||
This repository maintains patches to upstream source using gbp-pq. These
|
||||
patches are serialized to debian/patches/.
|
||||
|
||||
In order to modify an existing patch, simply run “gbp pq import”. This will
|
||||
create a local branch with the commits that were used to create the patches.
|
||||
Edit or amend the commits as necessary.
|
||||
|
||||
In order to create a new patch, switch to the patch using “gbp pq import” as
|
||||
before. If a patch file exists, use “gbp pg apply --topic={upstream,debian}
|
||||
patchfile” to apply the patch (works like “git am”). If the patch is intended
|
||||
to be upstreamed, it should be applied before any Debian-specific patches and
|
||||
use the "upstream" topic. Alternatively, if the patch is not intended to be
|
||||
upstreamed, it should use the "debian" topic and be applied after any upstream
|
||||
patches.
|
||||
|
||||
When updating to a new version of upstream code, the patches need to be rebased
|
||||
on the new upstream code. The process is
|
||||
|
||||
* Create the patch-queue branch -- gbp pq import
|
||||
* Switch back to the packaging branch -- gbp pq switch
|
||||
* Merge the upstream tag -- git merge vX.Y.ZZZZ
|
||||
* Rebase the patches -- gbp pq rebase
|
||||
* Make any adjustments/fixups, as necessary
|
||||
* Switch back to the packaging branch -- gbp pq switch
|
||||
* Export the patches -- gbp pq export
|
||||
|
||||
Whenever the patch queue branch is modified, those changes need to be exported
|
||||
back to the packaging branch. “gbp pq switch” will change from the patch queue
|
||||
branch to the packaging branch. At that point, “gbp pq export” will update
|
||||
debian/patches/ with the current state of the patch queue. This needs to be
|
||||
commited just like any other change.
|
||||
|
||||
There are hooks setup in the git repo to avoid pushing the patch queue
|
||||
branches, but it's also wise to remove the local branch when done with the
|
||||
changes. The repository's configuration is set to delete the branch
|
||||
automatically after running “gbp pq export” in order to help enforce this.
|
6
debian/bug-presubj
vendored
Normal file
6
debian/bug-presubj
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
Before filing a bug, please ensure that your configuration is not the cause of
|
||||
the bug. At the very least, this can help narrow down exactly where the bug
|
||||
exists or what option is causing the behavior.
|
||||
|
||||
Start Vim with the "--clean" option and provide specific steps on reproducing
|
||||
the bug from there.
|
8
debian/bug-script
vendored
Normal file
8
debian/bug-script
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
printf "\n--- real paths of main Vim binaries ---\n" >&3
|
||||
for f in vi vim gvim; do
|
||||
if [ -L "/usr/bin/$f" ]; then
|
||||
printf "/usr/bin/$f is $(readlink -f /usr/bin/$f)\n" >&3
|
||||
fi
|
||||
done
|
7643
debian/changelog
vendored
Normal file
7643
debian/changelog
vendored
Normal file
File diff suppressed because it is too large
Load diff
1698
debian/changelog.upstream
vendored
Normal file
1698
debian/changelog.upstream
vendored
Normal file
File diff suppressed because it is too large
Load diff
15
debian/clean
vendored
Normal file
15
debian/clean
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
debian/helpztags.1
|
||||
debian/policy/vim-policy.html/
|
||||
debian/policy/vim-policy.txt
|
||||
debian/tiny/doc/tags
|
||||
debian/tmplogo.*
|
||||
runtime/doc/*.html
|
||||
runtime/doc/*.log
|
||||
runtime/doc/doctags
|
||||
runtime/doc/tags
|
||||
src/auto/config.h
|
||||
src/auto/config.mk
|
||||
src/po/vim.pot
|
||||
src/pixmaps
|
||||
src/runtime
|
||||
*-stamp
|
265
debian/control
vendored
Normal file
265
debian/control
vendored
Normal file
|
@ -0,0 +1,265 @@
|
|||
Source: vim
|
||||
Section: editors
|
||||
Priority: optional
|
||||
Maintainer: Debian Vim Maintainers <team+vim@tracker.debian.org>
|
||||
Uploaders:
|
||||
James McCoy <jamessan@debian.org>,
|
||||
Standards-Version: 4.7.0
|
||||
Rules-Requires-Root: no
|
||||
Build-Depends:
|
||||
autoconf,
|
||||
cscope <!nocheck>,
|
||||
debhelper-compat (= 13),
|
||||
libacl1-dev,
|
||||
libcanberra-dev,
|
||||
libgpmg1-dev [linux-any],
|
||||
libgtk-3-dev,
|
||||
liblua5.1-dev,
|
||||
libmotif-dev,
|
||||
libperl-dev,
|
||||
libselinux1-dev [linux-any],
|
||||
libsodium-dev,
|
||||
libncurses-dev,
|
||||
# Needed to run libvterm's tests
|
||||
libtool-bin <!nocheck>,
|
||||
locales-all <!nocheck>,
|
||||
lua5.1,
|
||||
ncurses-term <!nocheck>,
|
||||
procps <!nocheck>,
|
||||
python3-dev,
|
||||
ruby [!alpha !ia64] <!pkg.vim.noruby>,
|
||||
ruby-dev [!alpha !ia64] <!pkg.vim.noruby>,
|
||||
tcl-dev,
|
||||
Build-Conflicts:
|
||||
autoconf2.13,
|
||||
Build-Depends-Indep:
|
||||
docbook-utils,
|
||||
docbook-xml,
|
||||
ghostscript,
|
||||
# Explicitly depend on lynx since docbook2txt requires it, even though its
|
||||
# Depends suggests otherwise (c.f., #387035)
|
||||
lynx,
|
||||
pdf2svg,
|
||||
Vcs-Git: https://salsa.debian.org/vim-team/vim.git
|
||||
Vcs-Browser: https://salsa.debian.org/vim-team/vim
|
||||
Homepage: https://www.vim.org/
|
||||
|
||||
Package: vim-common
|
||||
Priority: important
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
Recommends:
|
||||
xxd,
|
||||
vim | vim-gtk3 | vim-motif | vim-nox | vim-tiny,
|
||||
Breaks: vim-runtime (<< 2:9.0.1658-1~)
|
||||
Replaces: vim-runtime (<< 2:9.0.1658-1~)
|
||||
Description: Vi IMproved - Common files
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
This package contains files shared by all non GUI-enabled vim variants
|
||||
available in Debian. Examples of such shared files are: manpages and
|
||||
configuration files.
|
||||
|
||||
Package: vim-gui-common
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Recommends:
|
||||
vim-gtk3 | vim-motif,
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
Description: Vi IMproved - Common GUI files
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
This package contains files shared by all GUI-enabled vim
|
||||
variants available in Debian. Examples of such shared files are:
|
||||
gvimtutor, icons, and desktop environments settings.
|
||||
|
||||
Package: vim-runtime
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
Breaks:
|
||||
vim-tiny (<< ${source:Version}),
|
||||
Recommends:
|
||||
vim | vim-gtk3 | vim-motif | vim-nox | vim-tiny,
|
||||
Enhances:
|
||||
vim-tiny,
|
||||
Description: Vi IMproved - Runtime files
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
This package contains vimtutor and the architecture independent runtime
|
||||
files, used, if available, by all vim variants available in Debian.
|
||||
Example of such runtime files are: online documentation, rules for
|
||||
language-specific syntax highlighting and indentation, color schemes,
|
||||
and standard plugins.
|
||||
|
||||
Package: vim-doc
|
||||
Section: doc
|
||||
Architecture: all
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
Description: Vi IMproved - HTML documentation
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
This package contains the HTML version of the online documentation. It is
|
||||
built from the runtime/doc directory of the source tree.
|
||||
|
||||
Package: vim-tiny
|
||||
Priority: important
|
||||
Architecture: any
|
||||
Depends:
|
||||
vim-common (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Suggests:
|
||||
indent,
|
||||
Provides:
|
||||
editor,
|
||||
Description: Vi IMproved - enhanced vi editor - compact version
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
This package contains a minimal version of Vim compiled with no GUI and
|
||||
a small subset of features. This package's sole purpose is to provide
|
||||
the vi binary for base installations.
|
||||
.
|
||||
If a vim binary is wanted, try one of the following more featureful
|
||||
packages: vim, vim-nox, vim-motif, or vim-gtk3.
|
||||
|
||||
Package: vim
|
||||
Architecture: any
|
||||
Depends:
|
||||
vim-common (= ${source:Version}),
|
||||
vim-runtime (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Suggests:
|
||||
ctags,
|
||||
vim-doc,
|
||||
vim-scripts,
|
||||
Provides:
|
||||
editor,
|
||||
Description: Vi IMproved - enhanced vi editor
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
Many new features have been added: multi level undo, syntax
|
||||
highlighting, command line history, on-line help, filename
|
||||
completion, block operations, folding, Unicode support, etc.
|
||||
.
|
||||
This package contains a version of vim compiled with a rather
|
||||
standard set of features. This package does not provide a GUI
|
||||
version of Vim. See the other vim-* packages if you need more
|
||||
(or less).
|
||||
|
||||
Package: vim-gtk3
|
||||
Architecture: any
|
||||
Depends:
|
||||
vim-common (= ${source:Version}),
|
||||
vim-gui-common (= ${source:Version}),
|
||||
vim-runtime (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Suggests:
|
||||
cscope,
|
||||
fonts-dejavu,
|
||||
gnome-icon-theme,
|
||||
vim-doc,
|
||||
Provides:
|
||||
editor,
|
||||
gvim (= ${binary:Version}),
|
||||
vim (= ${binary:Version}),
|
||||
vim-lua (= ${binary:Version}),
|
||||
vim-perl (= ${binary:Version}),
|
||||
vim-python3 (= ${binary:Version}),
|
||||
${vim:Ruby-Provides},
|
||||
vim-tcl (= ${binary:Version}),
|
||||
Description: Vi IMproved - enhanced vi editor - with GTK3 GUI
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
Many new features have been added: multi level undo, syntax
|
||||
highlighting, command line history, on-line help, filename
|
||||
completion, block operations, folding, Unicode support, etc.
|
||||
.
|
||||
This package contains a version of vim compiled with a GTK3 GUI
|
||||
and support for scripting with Lua, Perl, Python 3,${vim:Ruby-Desc} and Tcl.
|
||||
|
||||
Package: vim-nox
|
||||
Architecture: any
|
||||
Depends:
|
||||
vim-common (= ${source:Version}),
|
||||
vim-runtime (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Suggests:
|
||||
cscope,
|
||||
vim-doc,
|
||||
Provides:
|
||||
editor,
|
||||
vim (= ${binary:Version}),
|
||||
vim-lua (= ${binary:Version}),
|
||||
vim-perl (= ${binary:Version}),
|
||||
vim-python3 (= ${binary:Version}),
|
||||
${vim:Ruby-Provides},
|
||||
vim-tcl (= ${binary:Version}),
|
||||
Description: Vi IMproved - enhanced vi editor - with scripting languages support
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
Many new features have been added: multi level undo, syntax
|
||||
highlighting, command line history, on-line help, filename
|
||||
completion, block operations, folding, Unicode support, etc.
|
||||
.
|
||||
This package contains a version of vim compiled with support for
|
||||
scripting with Lua, Perl, Python 3,${vim:Ruby-Desc} and Tcl but no GUI.
|
||||
|
||||
Package: vim-motif
|
||||
Architecture: any
|
||||
Depends:
|
||||
vim-common (= ${source:Version}),
|
||||
vim-gui-common (= ${source:Version}),
|
||||
vim-runtime (= ${source:Version}),
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Suggests:
|
||||
cscope,
|
||||
vim-doc,
|
||||
Provides:
|
||||
editor,
|
||||
gvim (= ${binary:Version}),
|
||||
vim (= ${binary:Version}),
|
||||
vim-lua (= ${binary:Version}),
|
||||
vim-perl (= ${binary:Version}),
|
||||
vim-python3 (= ${binary:Version}),
|
||||
${vim:Ruby-Provides},
|
||||
vim-tcl (= ${binary:Version}),
|
||||
Description: Vi IMproved - enhanced vi editor - with Motif GUI
|
||||
Vim is an almost compatible version of the UNIX editor Vi.
|
||||
.
|
||||
Many new features have been added: multi level undo, syntax
|
||||
highlighting, command line history, on-line help, filename
|
||||
completion, block operations, folding, Unicode support, etc.
|
||||
.
|
||||
This package contains a version of vim compiled with a Motif GUI
|
||||
and support for scripting with Lua, Perl, Python 3,${vim-Ruby-Desc} and Tcl.
|
||||
|
||||
Package: vim-athena
|
||||
Architecture: all
|
||||
Depends:
|
||||
vim-motif,
|
||||
${misc:Depends},
|
||||
Section: oldlibs
|
||||
Description: Vi IMproved - enhanced vi editor (dummy package)
|
||||
This is a transitional package to install the vim-motif package. You may
|
||||
remove this package if nothing depends on it.
|
||||
|
||||
Package: xxd
|
||||
Architecture: any
|
||||
Multi-Arch: foreign
|
||||
Depends:
|
||||
${misc:Depends},
|
||||
${shlibs:Depends},
|
||||
Description: tool to make (or reverse) a hex dump
|
||||
xxd creates a hex dump of a given file or standard input. It can also convert
|
||||
a hex dump back to its original binary form.
|
689
debian/copyright
vendored
Normal file
689
debian/copyright
vendored
Normal file
|
@ -0,0 +1,689 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: vim
|
||||
Source: https://github.com/vim/vim
|
||||
|
||||
Files: *
|
||||
Copyright: 2001-2023 Bram Moolenaar <Bram@vim.org>
|
||||
2023-2024 The Vim Project
|
||||
2006 Benji Fisher <benji@member.ams.org>
|
||||
1999-2021 Charles E. Campbell, Jr. <drchip@campbellfamily.biz>
|
||||
2003 Fred Barnes
|
||||
2003 Mario Schweigler
|
||||
2004-2008 Michael Geddes
|
||||
2006 Martin Krischik
|
||||
2015 Christian Brabandt
|
||||
2014 David Necas (Yeti)
|
||||
2009-2013 Steven Oliver
|
||||
2012 Hong Xu
|
||||
2001-2023 MURAOKA Taro <koron.kaoriya@gmail.com>
|
||||
2001 Bohdan Vlasyuk <bohdan@vstu.edu.ua>
|
||||
2003-2022 Ernest Adrogué <eadrogue@gmx.net>
|
||||
2005,2006,2008,2010 Kevin Patrick Scannell <kscanne@gmail.com>
|
||||
1997 Olaf Seibert
|
||||
2002 E. I. DuPont de Nemours and Company, Inc
|
||||
Pablo Ariel Kohan
|
||||
2017 Eugene Ciurana
|
||||
2017 Ken Takata
|
||||
2019 Agilent Technologies, Inc.
|
||||
License: Vim
|
||||
|
||||
Files: runtime/doc/*
|
||||
Copyright:
|
||||
1988-2023 Bram Moolenaar <Bram@vim.org>
|
||||
2023-2024 The Vim Project
|
||||
License: OPL-1+
|
||||
Comment: No license options are exercised. See https://bugs.debian.org/384019
|
||||
for discussions confirming DFSG-ness of this license when no options are
|
||||
exercised.
|
||||
|
||||
Files:
|
||||
runtime/indent/cmake.vim
|
||||
runtime/indent/elm.vim
|
||||
runtime/syntax/cmake.vim
|
||||
runtime/syntax/elm.vim
|
||||
runtime/syntax/go.vim
|
||||
runtime/syntax/proto.vim
|
||||
runtime/syntax/tpp.vim
|
||||
Copyright: Andy Cedilnik <andy.cedilnik@kitware.com>
|
||||
Karthik Krishnan <kartik.krishnan@kitware.com>
|
||||
Dimitri Merejkowsky <d.merej@gmail.com>
|
||||
Gerfried Fuchs <alfie@ist.org>
|
||||
Joseph Hager <ajhager@gmail.com>
|
||||
2008 Google Inc.
|
||||
2009 The Go Authors
|
||||
License: BSD-3-clause
|
||||
|
||||
Files:
|
||||
runtime/autoload/typst.vim
|
||||
runtime/compiler/pip_compile.vim
|
||||
runtime/compiler/typst.vim
|
||||
runtime/ftplugin/jq.vim
|
||||
runtime/ftplugin/jsonc.vim
|
||||
runtime/ftplugin/julia.vim
|
||||
runtime/ftplugin/just.vim
|
||||
runtime/ftplugin/requirements.vim
|
||||
runtime/ftplugin/typst.vim
|
||||
runtime/ftplugin/wat.vim
|
||||
runtime/indent/astro.vim
|
||||
runtime/indent/glsl.vim
|
||||
runtime/indent/graphql.vim
|
||||
runtime/indent/julia.vim
|
||||
runtime/indent/just.vim
|
||||
runtime/indent/typst.vim
|
||||
runtime/indent/wat.vim
|
||||
runtime/syntax/astro.vim
|
||||
runtime/syntax/bitbake.vim
|
||||
runtime/syntax/glsl.vim
|
||||
runtime/syntax/graphql.vim
|
||||
runtime/syntax/jq.vim
|
||||
runtime/syntax/json.vim
|
||||
runtime/syntax/jsonc.vim
|
||||
runtime/syntax/julia.vim
|
||||
runtime/syntax/just.vim
|
||||
runtime/syntax/nix.vim
|
||||
runtime/syntax/pandoc.vim
|
||||
runtime/syntax/requirements.vim
|
||||
runtime/syntax/typst.vim
|
||||
runtime/syntax/wat.vim
|
||||
Copyright:
|
||||
2013 Jeroen Ruigrok van der Werven, Eli Parra
|
||||
2016 rhysd
|
||||
2021 Izhak Jakov
|
||||
2012-2016 Carlo Baldassi
|
||||
2004 Chris Larson
|
||||
2008 Ricardo Salveti
|
||||
2022 Daiderd Jordan
|
||||
2022 James Fleming
|
||||
2015 raimon
|
||||
2017 Philip Jones
|
||||
2022 Wuelner Martínez
|
||||
2013-2019 vim-pandoc-syntax contributors
|
||||
2023 Kaj Munhoz Arfvidsson
|
||||
2013-2022 Sergii Tykhomyrov
|
||||
Jon Parise <jon@indelible.org>
|
||||
2021 Noah Bogart
|
||||
License: Expat
|
||||
|
||||
Files: runtime/syntax/tmux.vim
|
||||
Copyright: Eric Pruitt <eric.pruitt@gmail.com>
|
||||
License: BSD-2-clause
|
||||
|
||||
Files: runtime/syntax/rust.vim
|
||||
runtime/autoload/rust.vim
|
||||
runtime/autoload/rustfmt.vim
|
||||
runtime/ftplugin/rust.vim
|
||||
runtime/indent/rust.vim
|
||||
runtime/compiler/cargo.vim
|
||||
Copyright: 2015 The Rust Project Developers
|
||||
License: Apache or Expat
|
||||
|
||||
Files: runtime/tools/efm_perl.pl
|
||||
Copyright: 2001 Joerg Ziefle <joerg.ziefle@gmx.de>
|
||||
License: GPL-1+ or Artistic-1
|
||||
|
||||
Files: src/libvterm/*
|
||||
Copyright: 2008 Paul Evans <leonerd@leonerd.org.uk>
|
||||
License: Expat
|
||||
|
||||
Files: src/regexp_bt.c
|
||||
Copyright: 1986 University of Toronto
|
||||
License: Vim-Regexp
|
||||
|
||||
Files: src/if_xcmdsrv.c
|
||||
Copyright: Copyright (c) 1989-1993 The Regents of the University of California.
|
||||
License: UC
|
||||
|
||||
Files: src/tee/tee.c
|
||||
Copyright: 1996, Paul Slootman
|
||||
License: public-domain
|
||||
|
||||
Files: src/xxd/*
|
||||
Copyright: 1990-1998 by Juergen Weigert (jnweiger@informatik.uni-erlangen.de)
|
||||
License: Expat or GPL-2
|
||||
|
||||
Files: src/install-sh
|
||||
Copyright: 1987, 1988, 1994 X Consortium
|
||||
License: X11
|
||||
|
||||
Files: src/gui_gtk_vms.h
|
||||
Copyright: 2000 Compaq Computer Corporation
|
||||
License: Compaq
|
||||
|
||||
Files: src/pty.c
|
||||
Copyright: 1993 Juergen Weigert (jnweiger@immd4.informatik.uni-erlangen.de)
|
||||
1993 Michael Schroeder (mlschroe@immd4.informatik.uni-erlangen.de)
|
||||
1987 Oliver Laumann
|
||||
License: GPL-2+
|
||||
|
||||
Files: src/iscygpty.*
|
||||
Copyright: 2015-2023 K.Takata
|
||||
License: Expat or Vim
|
||||
|
||||
Files: src/xpm/*
|
||||
Copyright: 1989-95 GROUPE BULL
|
||||
License: XPM
|
||||
|
||||
Files: src/xdiff/*
|
||||
Copyright: 2003-2016 Davide Libenzi, Johannes E. Schindelin
|
||||
License: LGPL-2.1+
|
||||
|
||||
Files: src/xdiff/xhistogram.c
|
||||
Copyright: 2010 Google Inc. and other copyright owners as documented in JGit's IP log
|
||||
License: EDL-1
|
||||
|
||||
Files:
|
||||
runtime/compiler/powershell.vim
|
||||
runtime/doc/ft_ps1.txt
|
||||
runtime/ftplugin/kotlin.vim
|
||||
runtime/ftplugin/ps1.vim
|
||||
runtime/ftplugin/ps1xml.vim
|
||||
runtime/ftplugin/swift.vim
|
||||
runtime/ftplugin/swiftgyb.vim
|
||||
runtime/indent/kotlin.vim
|
||||
runtime/indent/ps1.vim
|
||||
runtime/syntax/kotlin.vim
|
||||
runtime/syntax/ps1.vim
|
||||
runtime/syntax/ps1xml.vim
|
||||
runtime/syntax/sil.vim
|
||||
runtime/syntax/swift.vim
|
||||
runtime/syntax/swiftgyb.vim
|
||||
Copyright:
|
||||
2014-2020 Apple Inc. and the Swift project authors
|
||||
2005-2021 Peter Provost
|
||||
Alexander Udalov
|
||||
License: Apache
|
||||
|
||||
Files:
|
||||
runtime/ftplugin/uci.vim
|
||||
runtime/ftplugin/zathurarc.vim
|
||||
runtime/syntax/poke.vim
|
||||
runtime/syntax/uci.vim
|
||||
runtime/syntax/zathurarc.vim
|
||||
Copyright:
|
||||
2021 Matthew T. Ihlenfield
|
||||
2015-2024 Colin Caine <complaints@cmcaine.co.uk>
|
||||
2024 Wu, Zhenyu <wuzhenyu@ustc.edu>
|
||||
License: GPL-3+
|
||||
|
||||
Files:
|
||||
runtime/ftplugin/chicken.vim
|
||||
runtime/ftplugin/scheme.vim
|
||||
runtime/indent/scheme.vim
|
||||
runtime/syntax/chicken.vim
|
||||
runtime/syntax/scheme.vim
|
||||
Copyright:
|
||||
Evan Hanson <evhan@foldling.org>
|
||||
License: Unlicense
|
||||
|
||||
License: Vim
|
||||
I) There are no restrictions on distributing unmodified copies of Vim except
|
||||
that they must include this license text. You can also distribute
|
||||
unmodified parts of Vim, likewise unrestricted except that they must
|
||||
include this license text. You are also allowed to include executables
|
||||
that you made from the unmodified Vim sources, plus your own usage
|
||||
examples and Vim scripts.
|
||||
.
|
||||
II) It is allowed to distribute a modified (or extended) version of Vim,
|
||||
including executables and/or source code, when the following four
|
||||
conditions are met:
|
||||
1) This license text must be included unmodified.
|
||||
2) The modified Vim must be distributed in one of the following five ways:
|
||||
a) If you make changes to Vim yourself, you must clearly describe in
|
||||
the distribution how to contact you. When the maintainer asks you
|
||||
(in any way) for a copy of the modified Vim you distributed, you
|
||||
must make your changes, including source code, available to the
|
||||
maintainer without fee. The maintainer reserves the right to
|
||||
include your changes in the official version of Vim. What the
|
||||
maintainer will do with your changes and under what license they
|
||||
will be distributed is negotiable. If there has been no negotiation
|
||||
then this license, or a later version, also applies to your changes.
|
||||
The current maintainers are listed here: https://github.com/orgs/vim/people.
|
||||
If this changes it will be announced in appropriate places (most likely
|
||||
vim.sf.net, www.vim.org and/or comp.editors). When it is completely
|
||||
impossible to contact the maintainer, the obligation to send him
|
||||
your changes ceases. Once the maintainer has confirmed that he has
|
||||
received your changes they will not have to be sent again.
|
||||
b) If you have received a modified Vim that was distributed as
|
||||
mentioned under a) you are allowed to further distribute it
|
||||
unmodified, as mentioned at I). If you make additional changes the
|
||||
text under a) applies to those changes.
|
||||
c) Provide all the changes, including source code, with every copy of
|
||||
the modified Vim you distribute. This may be done in the form of a
|
||||
context diff. You can choose what license to use for new code you
|
||||
add. The changes and their license must not restrict others from
|
||||
making their own changes to the official version of Vim.
|
||||
d) When you have a modified Vim which includes changes as mentioned
|
||||
under c), you can distribute it without the source code for the
|
||||
changes if the following three conditions are met:
|
||||
- The license that applies to the changes permits you to distribute
|
||||
the changes to the Vim maintainer without fee or restriction, and
|
||||
permits the Vim maintainer to include the changes in the official
|
||||
version of Vim without fee or restriction.
|
||||
- You keep the changes for at least three years after last
|
||||
distributing the corresponding modified Vim. When the maintainer
|
||||
or someone who you distributed the modified Vim to asks you (in
|
||||
any way) for the changes within this period, you must make them
|
||||
available to him.
|
||||
- You clearly describe in the distribution how to contact you. This
|
||||
contact information must remain valid for at least three years
|
||||
after last distributing the corresponding modified Vim, or as long
|
||||
as possible.
|
||||
e) When the GNU General Public License (GPL) applies to the changes,
|
||||
you can distribute the modified Vim under the GNU GPL version 2 or
|
||||
any later version.
|
||||
3) A message must be added, at least in the output of the ":version"
|
||||
command and in the intro screen, such that the user of the modified Vim
|
||||
is able to see that it was modified. When distributing as mentioned
|
||||
under 2)e) adding the message is only required for as far as this does
|
||||
not conflict with the license used for the changes.
|
||||
4) The contact information as required under 2)a) and 2)d) must not be
|
||||
removed or changed, except that the person himself can make
|
||||
corrections.
|
||||
.
|
||||
III) If you distribute a modified version of Vim, you are encouraged to use
|
||||
the Vim license for your changes and make them available to the
|
||||
maintainer, including the source code. The preferred way to do this is
|
||||
by e-mail or by uploading the files to a server and e-mailing the URL.
|
||||
If the number of changes is small (e.g., a modified Makefile) e-mailing a
|
||||
context diff will do. The e-mail address to be used is
|
||||
<maintainer@vim.org>
|
||||
.
|
||||
IV) It is not allowed to remove this license from the distribution of the Vim
|
||||
sources, parts of it or from a modified version. You may use this
|
||||
license for previous Vim releases instead of the license that they came
|
||||
with, at your option.
|
||||
|
||||
License: OPL-1+
|
||||
I. REQUIREMENTS ON BOTH UNMODIFIED AND MODIFIED VERSIONS
|
||||
.
|
||||
The Open Publication works may be reproduced and distributed in whole or in
|
||||
part, in any medium physical or electronic, provided that the terms of this
|
||||
license are adhered to, and that this license or an incorporation of it by
|
||||
reference (with any options elected by the author(s) and/or publisher) is
|
||||
displayed in the reproduction.
|
||||
.
|
||||
Proper form for an incorporation by reference is as follows:
|
||||
.
|
||||
Copyright (c) <year> by <author's name or designee>. This material may be
|
||||
distributed only subject to the terms and conditions set forth in the Open
|
||||
Publication License, vX.Y or later (the latest version is presently
|
||||
available at https://www.opencontent.org/openpub/).
|
||||
.
|
||||
The reference must be immediately followed with any options elected by the
|
||||
author(s) and/or publisher of the document (see section VI).
|
||||
.
|
||||
Commercial redistribution of Open Publication-licensed material is permitted.
|
||||
.
|
||||
Any publication in standard (paper) book form shall require the citation of the
|
||||
original publisher and author. The publisher and author's names shall appear on
|
||||
all outer surfaces of the book. On all outer surfaces of the book the original
|
||||
publisher's name shall be as large as the title of the work and cited as
|
||||
possessive with respect to the title.
|
||||
.
|
||||
.
|
||||
II. COPYRIGHT
|
||||
.
|
||||
The copyright to each Open Publication is owned by its author(s) or designee.
|
||||
.
|
||||
.
|
||||
III. SCOPE OF LICENSE
|
||||
.
|
||||
The following license terms apply to all Open Publication works, unless
|
||||
otherwise explicitly stated in the document.
|
||||
.
|
||||
Mere aggregation of Open Publication works or a portion of an Open Publication
|
||||
work with other works or programs on the same media shall not cause this
|
||||
license to apply to those other works. The aggregate work shall contain a
|
||||
notice specifying the inclusion of the Open Publication material and
|
||||
appropriate copyright notice.
|
||||
.
|
||||
SEVERABILITY. If any part of this license is found to be unenforceable in any
|
||||
jurisdiction, the remaining portions of the license remain in force.
|
||||
.
|
||||
NO WARRANTY. Open Publication works are licensed and provided "as is" without
|
||||
warranty of any kind, express or implied, including, but not limited to, the
|
||||
implied warranties of merchantability and fitness for a particular purpose or a
|
||||
warranty of non-infringement.
|
||||
.
|
||||
.
|
||||
IV. REQUIREMENTS ON MODIFIED WORKS
|
||||
.
|
||||
All modified versions of documents covered by this license, including
|
||||
translations, anthologies, compilations and partial documents, must meet the
|
||||
following requirements:
|
||||
.
|
||||
1. The modified version must be labeled as such.
|
||||
2. The person making the modifications must be identified and the
|
||||
modifications dated.
|
||||
3. Acknowledgement of the original author and publisher if applicable must
|
||||
be retained according to normal academic citation practices.
|
||||
4. The location of the original unmodified document must be identified.
|
||||
5. The original author's (or authors') name(s) may not be used to assert or
|
||||
imply endorsement of the resulting document without the original author's
|
||||
(or authors') permission.
|
||||
.
|
||||
.
|
||||
V. GOOD-PRACTICE RECOMMENDATIONS
|
||||
.
|
||||
In addition to the requirements of this license, it is requested from and
|
||||
strongly recommended of redistributors that:
|
||||
.
|
||||
1. If you are distributing Open Publication works on hardcopy or CD-ROM, you
|
||||
provide email notification to the authors of your intent to redistribute
|
||||
at least thirty days before your manuscript or media freeze, to give the
|
||||
authors time to provide updated documents. This notification should
|
||||
describe modifications, if any, made to the document.
|
||||
2. All substantive modifications (including deletions) be either clearly
|
||||
marked up in the document or else described in an attachment to the
|
||||
document.
|
||||
3. Finally, while it is not mandatory under this license, it is considered
|
||||
good form to offer a free copy of any hardcopy and CD-ROM expression of
|
||||
an Open Publication-licensed work to its author(s).
|
||||
.
|
||||
.
|
||||
VI. LICENSE OPTIONS
|
||||
.
|
||||
The author(s) and/or publisher of an Open Publication-licensed document may
|
||||
elect certain options by appending language to the reference to or copy of the
|
||||
license. These options are considered part of the license instance and must be
|
||||
included with the license (or its incorporation by reference) in derived works.
|
||||
.
|
||||
A. To prohibit distribution of substantively modified versions without the
|
||||
explicit permission of the author(s). "Substantive modification" is defined as
|
||||
a change to the semantic content of the document, and excludes mere changes in
|
||||
format or typographical corrections.
|
||||
.
|
||||
To accomplish this, add the phrase `Distribution of substantively modified
|
||||
versions of this document is prohibited without the explicit permission of the
|
||||
copyright holder.' to the license reference or copy.
|
||||
.
|
||||
B. To prohibit any publication of this work or derivative works in whole or in
|
||||
part in standard (paper) book form for commercial purposes is prohibited unless
|
||||
prior permission is obtained from the copyright holder.
|
||||
.
|
||||
To accomplish this, add the phrase 'Distribution of the work or derivative of
|
||||
the work in any standard (paper) book form is prohibited unless prior
|
||||
permission is obtained from the copyright holder.' to the license reference or
|
||||
copy.
|
||||
|
||||
License: GPL-2
|
||||
On Debian systems, the complete text of the GPL version 2 license can be
|
||||
found in `/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
License: GPL-2+
|
||||
On Debian systems, the complete text of the GPL version 2 license can be
|
||||
found in `/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
License: GPL-3+
|
||||
On Debian systems, the complete text of the GPL version 3 license can be
|
||||
found in `/usr/share/common-licenses/GPL-3'.
|
||||
|
||||
License: GPL-1+
|
||||
On Debian systems, the complete text of the GPL version 1 license can be
|
||||
found in `/usr/share/common-licenses/GPL-1'.
|
||||
|
||||
License: LGPL-2.1+
|
||||
On Debian systems, the complete text of the LGPL version 2 license can be
|
||||
found in `/usr/share/common-licenses/LGPL-2.1'.
|
||||
|
||||
License: Artistic-1
|
||||
On Debian systems, the complete text of the Artistic version 1 license
|
||||
can be found in `/usr/share/common-licenses/Artistic'.
|
||||
|
||||
License: Vim-Regexp
|
||||
Permission is granted to anyone to use this software for any
|
||||
purpose on any computer system, and to redistribute it freely,
|
||||
subject to the following restrictions:
|
||||
.
|
||||
1. The author is not responsible for the consequences of use of
|
||||
this software, no matter how awful, even if they arise
|
||||
from defects in it.
|
||||
.
|
||||
2. The origin of this software must not be misrepresented, either
|
||||
by explicit claim or by omission.
|
||||
.
|
||||
3. Altered versions must be plainly marked as such, and must not
|
||||
be misrepresented as being the original software.
|
||||
|
||||
License: Apache
|
||||
On Debian systems, the complete text of the Apache version 2.0 license can be
|
||||
found in `/usr/share/common-licenses/Apache-2.0'.
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
||||
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
License: X11
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE X
|
||||
CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
||||
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
.
|
||||
Except as contained in this notice, the name of the X Consortium shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings in
|
||||
this Software without prior written authorization from the X Consortium.
|
||||
|
||||
License: UC
|
||||
Permission is hereby granted, without written agreement and without
|
||||
license or royalty fees, to use, copy, modify, and distribute this
|
||||
software and its documentation for any purpose, provided that the
|
||||
above copyright notice and the following two paragraphs appear in
|
||||
all copies of this software.
|
||||
.
|
||||
IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
|
||||
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
|
||||
OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
|
||||
CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.
|
||||
THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
|
||||
ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
|
||||
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
||||
|
||||
License: public-domain
|
||||
This source code is released into the public domain. It is provided on an
|
||||
as-is basis and no responsibility is accepted for its failure to perform
|
||||
as expected. It is worth at least as much as you paid for it!
|
||||
|
||||
License: Compaq
|
||||
1. GRANT
|
||||
Compaq Computer Corporation ("COMPAQ") grants you the right to use,
|
||||
modify, and distribute the following source code (the "Software")
|
||||
on any number of computers. You may use the Software as part of
|
||||
creating a software program or product intended for commercial or
|
||||
non-commercial distribution in machine-readable source code, binary,
|
||||
or executable formats. You may distribute the Software as
|
||||
machine-readable source code provided this license is not removed
|
||||
from the Software and any modifications are conspicuously indicated.
|
||||
2. COPYRIGHT
|
||||
The Software is owned by COMPAQ and its suppliers and is protected by
|
||||
copyright laws and international treaties. Your use of the Software
|
||||
and associated documentation is subject to the applicable copyright
|
||||
laws and the express rights and restrictions of these terms.
|
||||
3. RESTRICTIONS
|
||||
You may not remove any copyright, trademark, or other proprietary
|
||||
notices from the Software or the associated
|
||||
You are responsible for compliance with all applicable export or
|
||||
re-export control laws and regulations if you export the Software.
|
||||
This license is governed by and is to be construed under the laws
|
||||
of the State of Texas.
|
||||
.
|
||||
DISCLAIMER OF WARRANTY AND LIABILITY
|
||||
Compaq shall not be liable for technical or editorial errors or
|
||||
omissions contained herein. The information contained herein is
|
||||
subject to change without notice.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.
|
||||
THE ENTIRE RISK ARISING OUT OF THE USE OF THIS SOFTWARE REMAINS WITH
|
||||
RECIPIENT. IN NO EVENT SHALL COMPAQ BE LIABLE FOR ANY DIRECT,
|
||||
CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR OTHER DAMAGES
|
||||
WHATSOEVER (INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF BUSINESS
|
||||
PROFITS, BUSINESS INTERRUPTION, OR LOSS OF BUSINESS INFORMATION),
|
||||
EVEN IF COMPAQ HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
|
||||
AND WHETHER IN AN ACTION OF CONTRACT OR TORT INCLUDING NEGLIGENCE.
|
||||
|
||||
License: XPM
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
GROUPE BULL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
.
|
||||
Except as contained in this notice, the name of GROUPE BULL shall not be
|
||||
used in advertising or otherwise to promote the sale, use or other dealings
|
||||
in this Software without prior written authorization from GROUPE BULL.
|
||||
|
||||
License: BSD-3-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
are met:
|
||||
.
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
.
|
||||
* Neither the name of Kitware, Inc. nor the names of Contributors
|
||||
may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: BSD-2-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
.
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
.
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: EDL-1
|
||||
This program and the accompanying materials are made available
|
||||
under the terms of the Eclipse Distribution License v1.0 which
|
||||
accompanies this distribution, is reproduced below, and is
|
||||
available at https://www.eclipse.org/org/documents/edl-v10.php
|
||||
.
|
||||
All rights reserved.
|
||||
.
|
||||
Redistribution and use in source and binary forms, with or
|
||||
without modification, are permitted provided that the following
|
||||
conditions are met:
|
||||
.
|
||||
- Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
.
|
||||
- Redistributions in binary form must reproduce the above
|
||||
copyright notice, this list of conditions and the following
|
||||
disclaimer in the documentation and/or other materials provided
|
||||
with the distribution.
|
||||
.
|
||||
- Neither the name of the Eclipse Foundation, Inc. nor the
|
||||
names of its contributors may be used to endorse or promote
|
||||
products derived from this software without specific prior
|
||||
written permission.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
|
||||
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
||||
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
||||
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
License: Unlicense
|
||||
This is free and unencumbered software released into the public domain.
|
||||
.
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
.
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
.
|
||||
For more information, please refer to <https://unlicense.org/>
|
8
debian/gbp.conf
vendored
Normal file
8
debian/gbp.conf
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
[DEFAULT]
|
||||
upstream-tag = v%(version)s
|
||||
debian-tag = debian/%(version)s
|
||||
debian-branch = debian/sid
|
||||
|
||||
[pq]
|
||||
patch-numbers = False
|
||||
drop = True
|
15
debian/generate-tiny-tags
vendored
Executable file
15
debian/generate-tiny-tags
vendored
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
if ! [ -x runtime/doc/doctags ]; then
|
||||
printf 'Must build doctags first\n' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ORIG_DIR=$(pwd)
|
||||
DOC_DIR=$(mktemp -d)
|
||||
trap 'rm -r $DOC_DIR' EXIT
|
||||
|
||||
cp "$@" "$DOC_DIR"/
|
||||
cd "$DOC_DIR"
|
||||
"$ORIG_DIR"/runtime/doc/doctags *.txt | LANG=C LC_ALL=C sort
|
92
debian/helpztags
vendored
Executable file
92
debian/helpztags
vendored
Executable file
|
@ -0,0 +1,92 @@
|
|||
#!/usr/bin/perl
|
||||
#
|
||||
# helpztags generates tags for Vim helpfiles, for both .txt and .txt.gz files
|
||||
# Author: Jakub Turski <yacoob@chruptak.plukwa.net>
|
||||
# Artur R. Czechowski <arturcz@hell.pl>
|
||||
# Version: 0.4
|
||||
|
||||
# Please use following command for generate a manual file:
|
||||
# pod2man -c "User Commands" -s 1 -q none -r "vim 6.2" -d "September 2003" helpztags helpztags.1
|
||||
|
||||
=head1 NAME
|
||||
|
||||
helpztags - generate the help tags file for directory
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
helpztags F<DIRS>...
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
F<helpztags> scans given directories for F<*.txt> and F<*.txt.gz> files.
|
||||
Each file is scanned for tags used in F<vim> help files. For each directory
|
||||
proper F<tags> file is generated.
|
||||
|
||||
There should be at least one directory given. In other case program exits
|
||||
with error.
|
||||
|
||||
=head1 AUTHORS
|
||||
|
||||
Written by Jakub Turski and Artur R. Czechowski based on idea
|
||||
contained in C<vim> sources for its C<:helptags command>.
|
||||
|
||||
=head1 REPORTING BUGS
|
||||
|
||||
Please use a Debian C<reportbug> command or procedure described at
|
||||
C<http://bugs.debian.org/>.
|
||||
|
||||
=head1 SEE ALSO
|
||||
|
||||
Read C<:help helptags> in F<vim> for detailed information about helptags.
|
||||
|
||||
=cut
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use File::Glob ':globally';
|
||||
use POSIX qw(getcwd);
|
||||
|
||||
die "Error: no directories given. Check manpage for details.\n" unless @ARGV;
|
||||
|
||||
my $startdir=getcwd();
|
||||
my %tags;
|
||||
|
||||
foreach my $dir (@ARGV) {
|
||||
chdir $dir or next;
|
||||
print "Processing ".$dir."\n";
|
||||
foreach my $file (<*.{gz,txt,??x}>) {
|
||||
next unless $file =~ m/^[\w.-]+\.(?:txt|([[:alpha:]]{2})x)(?:.gz)?$/;
|
||||
my $suffix = '';
|
||||
if ($1) {
|
||||
$suffix = "-$1";
|
||||
}
|
||||
my $open = ($file =~ /\.gz$/) ? open(GZ, '-|', 'zcat', $file) : open(GZ, $file);
|
||||
if (!$open) {
|
||||
chdir $startdir;
|
||||
next;
|
||||
}
|
||||
while (<GZ>) {
|
||||
# From vim73/src/ex_cmds.c, helptags_one, lines 6443-6445
|
||||
#
|
||||
# Only accept a *tag* when it consists of valid
|
||||
# characters, there is white space before it and is
|
||||
# followed by a white character or end-of-line.
|
||||
while (/(?:(?<=^)|(?<=\s))\*([^*\s|]+?)\*(?:(?=\s)|(?=$))/g) {
|
||||
$tags{"tags$suffix"}{$1}=$file;
|
||||
}
|
||||
}
|
||||
close(GZ);
|
||||
}
|
||||
while (my ($tagfile, $tags) = each %tags) {
|
||||
next unless %{$tags};
|
||||
open(TAGSFILE, '>', $tagfile) || die "Error: Cannot open $dir/$tagfile for writing.\n";
|
||||
foreach my $tag (sort keys %{$tags}) {
|
||||
print TAGSFILE "$tag\t$tags->{$tag}\t/*";
|
||||
$tag =~ s/\\/\\\\/g;
|
||||
$tag =~ s@/@\/@g;
|
||||
print TAGSFILE "$tag*\n";
|
||||
}
|
||||
close TAGSFILE;
|
||||
}
|
||||
chdir $startdir;
|
||||
}
|
166
debian/patches/Revert-patch-9.1.0949-popups-inconsistently-shifted-to-th.patch
vendored
Normal file
166
debian/patches/Revert-patch-9.1.0949-popups-inconsistently-shifted-to-th.patch
vendored
Normal file
|
@ -0,0 +1,166 @@
|
|||
From: James McCoy <jamessan@debian.org>
|
||||
Date: Thu, 9 Jan 2025 20:38:13 -0500
|
||||
Subject: Revert "patch 9.1.0949: popups inconsistently shifted to the left"
|
||||
|
||||
This reverts commit 13c1153eefe54ce933e60258358300868c22f68a.
|
||||
|
||||
It causes a regression in vim-YouCompleteMe's autopkgtests.
|
||||
https://github.com/ycm-core/YouCompleteMe/issues/4284
|
||||
|
||||
Closes: #1091729
|
||||
---
|
||||
runtime/doc/popup.txt | 1 +
|
||||
src/popupwin.c | 23 ++++++++++++-----------
|
||||
src/testdir/test_popupwin.vim | 26 ++++++--------------------
|
||||
src/version.c | 2 --
|
||||
4 files changed, 19 insertions(+), 33 deletions(-)
|
||||
|
||||
diff --git a/runtime/doc/popup.txt b/runtime/doc/popup.txt
|
||||
index ba87b31..e7526ec 100644
|
||||
--- a/runtime/doc/popup.txt
|
||||
+++ b/runtime/doc/popup.txt
|
||||
@@ -705,6 +705,7 @@ The second argument of |popup_create()| is a dictionary with options:
|
||||
present. Use zero to reset.
|
||||
fixed When FALSE (the default), and:
|
||||
- "pos" is "botleft" or "topleft", and
|
||||
+ - "wrap" is off, and
|
||||
- the popup would be truncated at the right edge of
|
||||
the screen, then
|
||||
the popup is moved to the left so as to fit the
|
||||
diff --git a/src/popupwin.c b/src/popupwin.c
|
||||
index 76ebf38..33bff26 100644
|
||||
--- a/src/popupwin.c
|
||||
+++ b/src/popupwin.c
|
||||
@@ -1433,7 +1433,17 @@ popup_adjust_position(win_T *wp)
|
||||
len = linetabsize(wp, lnum);
|
||||
wp->w_width = w_width;
|
||||
|
||||
- if (len + margin_width > maxwidth
|
||||
+ if (wp->w_p_wrap)
|
||||
+ {
|
||||
+ while (len + margin_width > maxwidth)
|
||||
+ {
|
||||
+ ++wrapped;
|
||||
+ len -= maxwidth - margin_width;
|
||||
+ wp->w_width = maxwidth;
|
||||
+ used_maxwidth = TRUE;
|
||||
+ }
|
||||
+ }
|
||||
+ else if (len + margin_width > maxwidth
|
||||
&& allow_adjust_left
|
||||
&& (wp->w_popup_pos == POPPOS_TOPLEFT
|
||||
|| wp->w_popup_pos == POPPOS_BOTLEFT))
|
||||
@@ -1445,6 +1455,7 @@ popup_adjust_position(win_T *wp)
|
||||
{
|
||||
int truncate_shift = shift_by - wp->w_wincol;
|
||||
|
||||
+ len -= truncate_shift;
|
||||
shift_by -= truncate_shift;
|
||||
}
|
||||
|
||||
@@ -1452,16 +1463,6 @@ popup_adjust_position(win_T *wp)
|
||||
maxwidth += shift_by;
|
||||
wp->w_width = maxwidth;
|
||||
}
|
||||
- if (wp->w_p_wrap)
|
||||
- {
|
||||
- while (len + margin_width > maxwidth)
|
||||
- {
|
||||
- ++wrapped;
|
||||
- len -= maxwidth - margin_width;
|
||||
- wp->w_width = maxwidth;
|
||||
- used_maxwidth = TRUE;
|
||||
- }
|
||||
- }
|
||||
if (wp->w_width < len + margin_width)
|
||||
{
|
||||
wp->w_width = len + margin_width;
|
||||
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
|
||||
index 5082676..e182505 100644
|
||||
--- a/src/testdir/test_popupwin.vim
|
||||
+++ b/src/testdir/test_popupwin.vim
|
||||
@@ -31,7 +31,7 @@ func Test_simple_popup()
|
||||
\ .. "#{text: 'a comment line', props: [#{"
|
||||
\ .. "col: 3, length: 7, minwidth: 20, type: 'comment'"
|
||||
\ .. "}]},"
|
||||
- \ .. "], #{line: 4, col: 9, minwidth: 20, fixed: v:true})\<CR>")
|
||||
+ \ .. "], #{line: 4, col: 9, minwidth: 20})\<CR>")
|
||||
call VerifyScreenDump(buf, 'Test_popupwin_02', {})
|
||||
|
||||
" switch back to first tabpage
|
||||
@@ -87,7 +87,7 @@ func Test_popup_with_border_and_padding()
|
||||
call popup_create('hello both', #{line: 2, col: 43, border: [], padding: [], highlight: 'Normal'})
|
||||
call popup_create('border TL', #{line: 6, col: 3, border: [1, 0, 0, 4]})
|
||||
call popup_create('paddings', #{line: 6, col: 23, padding: range(1, 4)})
|
||||
- call popup_create('wrapped longer text', #{line: 8, col: 55, padding: [0, 3, 0, 3], border: [0, 1, 0, 1], fixed: v:true})
|
||||
+ call popup_create('wrapped longer text', #{line: 8, col: 55, padding: [0, 3, 0, 3], border: [0, 1, 0, 1]})
|
||||
call popup_create('right aligned text', #{line: 11, col: 56, wrap: 0, padding: [0, 3, 0, 3], border: [0, 1, 0, 1]})
|
||||
call popup_create('X', #{line: 2, col: 73})
|
||||
call popup_create('X', #{line: 3, col: 74})
|
||||
@@ -1970,7 +1970,7 @@ func Test_popup_position_adjust()
|
||||
" Anything placed past the last cell on the right of the screen is moved to
|
||||
" the left.
|
||||
"
|
||||
- " We also shift to the left to display on the
|
||||
+ " When wrapping is disabled, we also shift to the left to display on the
|
||||
" screen, unless fixed is set.
|
||||
|
||||
" Entries for cases which don't vary based on wrapping.
|
||||
@@ -1995,10 +1995,9 @@ func Test_popup_position_adjust()
|
||||
" - expected height
|
||||
let tests = [
|
||||
\ #{
|
||||
- \ comment: 'left aligned with wrapping, fixed position',
|
||||
+ \ comment: 'left-aligned with wrapping',
|
||||
\ options: #{
|
||||
\ wrap: 1,
|
||||
- \ fixed: v:true,
|
||||
\ pos: 'botleft',
|
||||
\ },
|
||||
\ tests: both_wrap_tests + [
|
||||
@@ -2023,22 +2022,9 @@ func Test_popup_position_adjust()
|
||||
\ ],
|
||||
\ },
|
||||
\ #{
|
||||
- \ comment: 'left aligned with wrapping, no fixed position',
|
||||
- \ options: #{
|
||||
- \ wrap: 1,
|
||||
- \ fixed: v:false,
|
||||
- \ pos: 'botleft',
|
||||
- \ },
|
||||
- \ tests: both_wrap_tests + [
|
||||
- \ [ repeat('a', &columns*3), 5, &columns, 3, 1, &columns, 3],
|
||||
- \ [ repeat('a', 50), 5, &columns, 5, &columns - 50 + 1, 50, 1],
|
||||
- \ ],
|
||||
- \ },
|
||||
- \ #{
|
||||
- \ comment: 'left aligned without wrapping, no fixed position',
|
||||
+ \ comment: 'left aligned without wrapping',
|
||||
\ options: #{
|
||||
\ wrap: 0,
|
||||
- \ fixed: v:false,
|
||||
\ pos: 'botleft',
|
||||
\ },
|
||||
\ tests: both_wrap_tests + [
|
||||
@@ -2062,7 +2048,7 @@ func Test_popup_position_adjust()
|
||||
\ ],
|
||||
\ },
|
||||
\ #{
|
||||
- \ comment: 'left aligned without wrapping, fixed position',
|
||||
+ \ comment: 'left aligned with fixed position',
|
||||
\ options: #{
|
||||
\ wrap: 0,
|
||||
\ fixed: 1,
|
||||
diff --git a/src/version.c b/src/version.c
|
||||
index f50c414..11ba12a 100644
|
||||
--- a/src/version.c
|
||||
+++ b/src/version.c
|
||||
@@ -1266,8 +1266,6 @@ static int included_patches[] =
|
||||
951,
|
||||
/**/
|
||||
950,
|
||||
-/**/
|
||||
- 949,
|
||||
/**/
|
||||
948,
|
||||
/**/
|
27
debian/patches/debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
vendored
Normal file
27
debian/patches/debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
From: Stefano Zacchiroli <zack@debian.org>
|
||||
Date: Fri, 25 Aug 2006 13:33:04 +0200
|
||||
Subject: Add recognition of more LaTeX commands for tex filetype detection
|
||||
|
||||
Since filetype detection of TeX files defaults to plaintex, we've added
|
||||
detection of some additional LaTeX commands to help sway the detection
|
||||
to LaTeX.
|
||||
|
||||
Closes: #384479
|
||||
Signed-off-by: James McCoy <jamessan@debian.org>
|
||||
---
|
||||
runtime/autoload/dist/ft.vim | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/runtime/autoload/dist/ft.vim b/runtime/autoload/dist/ft.vim
|
||||
index a740305..3155be1 100644
|
||||
--- a/runtime/autoload/dist/ft.vim
|
||||
+++ b/runtime/autoload/dist/ft.vim
|
||||
@@ -1140,7 +1140,7 @@ export def FTtex()
|
||||
var firstNC = search('^\s*[^[:space:]%]', 'c', 1000)
|
||||
if firstNC > 0
|
||||
# Check the next thousand lines for a LaTeX or ConTeXt keyword.
|
||||
- var lpat = 'documentclass\>\|usepackage\>\|begin{\|newcommand\>\|renewcommand\>'
|
||||
+ var lpat = 'documentclass\>\|usepackage\>\|begin{\|newcommand\>\|renewcommand\>\|renewcommand\>\|part\>\|chapter\>\|section\>\|subsection\>\|subsubsection\>\|paragraph\>\|subparagraph\>\|subsubparagraph'
|
||||
var cpat = 'start\a\+\|setup\a\+\|usemodule\|enablemode\|enableregime\|setvariables\|useencoding\|usesymbols\|stelle\a\+\|verwende\a\+\|stel\a\+\|gebruik\a\+\|usa\a\+\|imposta\a\+\|regle\a\+\|utilisemodule\>'
|
||||
var kwline = search('^\s*\\\%(' .. lpat .. '\)\|^\s*\\\(' .. cpat .. '\)',
|
||||
'cnp', firstNC + 1000)
|
28
debian/patches/debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
vendored
Normal file
28
debian/patches/debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
From: James Vega <jamessan@debian.org>
|
||||
Date: Fri, 18 Aug 2006 09:06:20 -0400
|
||||
Subject: Detect the rst filetype using the contents of the file
|
||||
|
||||
Closes: #382541
|
||||
---
|
||||
runtime/autoload/dist/script.vim | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
diff --git a/runtime/autoload/dist/script.vim b/runtime/autoload/dist/script.vim
|
||||
index 859126f..7534ef4 100644
|
||||
--- a/runtime/autoload/dist/script.vim
|
||||
+++ b/runtime/autoload/dist/script.vim
|
||||
@@ -423,6 +423,14 @@ def DetectFromText(line1: string)
|
||||
elseif line1 =~ 'exec\s\+\S*scheme' || line2 =~ 'exec\s\+\S*scheme'
|
||||
setl ft=scheme
|
||||
|
||||
+ # rst files
|
||||
+ elseif line1 =~ '^\.\.\s\|^\s*restindex\s*$'
|
||||
+ || line2 =~ '^\.\.\s\|^\s*restindex\s*$'
|
||||
+ || line3 =~ '^\.\.\s\|^\s*restindex\s*$'
|
||||
+ || line4 =~ '^\.\.\s\|^\s*restindex\s*$'
|
||||
+ || line5 =~ '^\.\.\s\|^\s*restindex\s*$'
|
||||
+ set ft=rst
|
||||
+
|
||||
# Git output
|
||||
elseif line1 =~ '^\(commit\|tree\|object\) \x\{40,\}\>\|^tag \S\+$'
|
||||
setl ft=git
|
29
debian/patches/debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
vendored
Normal file
29
debian/patches/debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
From: James Vega <jamessan@debian.org>
|
||||
Date: Thu, 27 Mar 2008 03:42:02 +0000
|
||||
Subject: Document Debian's decision to disable modelines by default
|
||||
|
||||
Modelines have historically been a source of vulnerabilities in Vim.
|
||||
As long as it remains a "blacklist suspected/proven dangerous options"
|
||||
instead of a "whitelist allowed options" piece of functionality,
|
||||
Debian's system-wide vimrc will maintain this setting. As such, the
|
||||
documentation needs to be updated to reflect the induced behavior.
|
||||
|
||||
Closes: #472522
|
||||
Signed-off-by: James McCoy <jamessan@debian.org>
|
||||
---
|
||||
runtime/doc/options.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
|
||||
index a824536..6d790bf 100644
|
||||
--- a/runtime/doc/options.txt
|
||||
+++ b/runtime/doc/options.txt
|
||||
@@ -5756,7 +5756,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
*'modeline'* *'ml'* *'nomodeline'* *'noml'*
|
||||
'modeline' 'ml' boolean (Vim default: on (off for root),
|
||||
- Vi default: off)
|
||||
+ Debian: off, Vi default: off)
|
||||
local to buffer
|
||||
If 'modeline' is on 'modelines' gives the number of lines that is
|
||||
checked for set commands. If 'modeline' is off or 'modelines' is zero
|
101
debian/patches/debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
vendored
Normal file
101
debian/patches/debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
vendored
Normal file
|
@ -0,0 +1,101 @@
|
|||
From: James McCoy <jamessan@debian.org>
|
||||
Date: Tue, 6 Oct 2015 23:46:30 -0400
|
||||
Subject: Support sourcing a vimrc.tiny when Vim is invoked as vi
|
||||
|
||||
This is used only in the vim-tiny package to allow a specific
|
||||
configuration for vim-tiny's vi. The vim-tiny package is substantially
|
||||
different from other Vim packages, so it does not make sense to
|
||||
share the same config.
|
||||
|
||||
Closes: #222138
|
||||
Signed-off-by: Stefano Zacchiroli <zack@debian.org>
|
||||
Signed-off-by: James Vega <jamessan@debian.org>
|
||||
---
|
||||
src/main.c | 23 ++++++++++++++++++++++-
|
||||
src/os_unix.h | 3 +++
|
||||
src/structs.h | 3 +++
|
||||
3 files changed, 28 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index f603a52..403e390 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -1973,6 +1973,10 @@ parse_command_name(mparm_T *parmp)
|
||||
}
|
||||
else if (STRNICMP(initstr, "vim", 3) == 0)
|
||||
initstr += 3;
|
||||
+#ifdef SYS_TINYRC_FILE
|
||||
+ else if (STRNICMP(initstr, "vi", 2) == 0)
|
||||
+ parmp->vi_mode = TRUE;
|
||||
+#endif
|
||||
|
||||
// Catch "[r][g]vimdiff" and "[r][g]viewdiff".
|
||||
if (STRICMP(initstr, "diff") == 0)
|
||||
@@ -3268,7 +3272,12 @@ source_startup_scripts(mparm_T *parmp)
|
||||
* Get system wide defaults, if the file name is defined.
|
||||
*/
|
||||
#ifdef SYS_VIMRC_FILE
|
||||
- (void)do_source((char_u *)SYS_VIMRC_FILE, FALSE, DOSO_NONE, NULL);
|
||||
+# if defined(SYS_TINYRC_FILE) && defined(TINY_VIMRC)
|
||||
+ if (parmp->vi_mode)
|
||||
+ (void)do_source((char_u *)SYS_TINYRC_FILE, FALSE, DOSO_NONE, NULL);
|
||||
+ else
|
||||
+# endif
|
||||
+ (void)do_source((char_u *)SYS_VIMRC_FILE, FALSE, DOSO_NONE, NULL);
|
||||
#endif
|
||||
#ifdef MACOS_X
|
||||
(void)do_source((char_u *)"$VIMRUNTIME/macmap.vim", FALSE,
|
||||
@@ -3311,13 +3320,25 @@ source_startup_scripts(mparm_T *parmp)
|
||||
#ifdef USR_EXRC_FILE2
|
||||
&& do_source((char_u *)USR_EXRC_FILE2, FALSE,
|
||||
DOSO_NONE, NULL) == FAIL
|
||||
+#endif
|
||||
+#if defined(SYS_TINYRC_FILE) && defined(TINY_VIMRC)
|
||||
+ && !parmp->vi_mode
|
||||
#endif
|
||||
&& !has_dash_c_arg)
|
||||
{
|
||||
// When no .vimrc file was found: source defaults.vim.
|
||||
if (do_source((char_u *)VIM_DEFAULTS_FILE, FALSE, DOSO_NONE,
|
||||
NULL) == FAIL)
|
||||
+ {
|
||||
+ /*
|
||||
+ * If running as the vim.tiny executable, regardless what argv[0] is, we
|
||||
+ * don't want to error due to missing defaults.vim. That's provided by
|
||||
+ * vim-runtime, which isn't typically installed with vim-tiny.
|
||||
+ */
|
||||
+#ifndef TINY_VIMRC
|
||||
emsg(_(e_failed_to_source_defaults));
|
||||
+#endif
|
||||
+ }
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/src/os_unix.h b/src/os_unix.h
|
||||
index 39c9304..fbc5c64 100644
|
||||
--- a/src/os_unix.h
|
||||
+++ b/src/os_unix.h
|
||||
@@ -207,6 +207,9 @@ typedef struct dsc$descriptor DESC;
|
||||
/*
|
||||
* Unix system-dependent file names
|
||||
*/
|
||||
+#ifndef SYS_TINYRC_FILE
|
||||
+# define SYS_TINYRC_FILE "$VIM/vimrc.tiny"
|
||||
+#endif
|
||||
#ifndef SYS_VIMRC_FILE
|
||||
# define SYS_VIMRC_FILE "$VIM/vimrc"
|
||||
#endif
|
||||
diff --git a/src/structs.h b/src/structs.h
|
||||
index ce98bce..dc7e649 100644
|
||||
--- a/src/structs.h
|
||||
+++ b/src/structs.h
|
||||
@@ -4627,6 +4627,9 @@ typedef struct
|
||||
#ifdef FEAT_DIFF
|
||||
int diff_mode; // start with 'diff' set
|
||||
#endif
|
||||
+#ifdef SYS_TINYRC_FILE
|
||||
+ int vi_mode; /* started as "vi" */
|
||||
+#endif
|
||||
} mparm_T;
|
||||
|
||||
/*
|
57
debian/patches/patch-9.1.1242-Crash-when-evaluating-variable-name.patch
vendored
Normal file
57
debian/patches/patch-9.1.1242-Crash-when-evaluating-variable-name.patch
vendored
Normal file
|
@ -0,0 +1,57 @@
|
|||
From: Christian Brabandt <cb@256bit.org>
|
||||
Date: Wed, 26 Mar 2025 19:25:57 +0100
|
||||
Subject: patch 9.1.1242: Crash when evaluating variable name
|
||||
|
||||
Problem: Crash when evaluating variable name (after v9.1.0870)
|
||||
Solution: calculate the strlen() directly instead of pointer
|
||||
arithmetics, fix missing assignment to lp->ll_name_end in
|
||||
get_lval() (zeertzjq)
|
||||
|
||||
closes: #16972
|
||||
fixes: vim-airline/vim-airline#2710
|
||||
related: #16066
|
||||
|
||||
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
|
||||
Signed-off-by: Christian Brabandt <cb@256bit.org>
|
||||
(cherry picked from commit 06774a271a7d728f188175340154361255d6b0a4)
|
||||
Signed-off-by: James McCoy <jamessan@debian.org>
|
||||
---
|
||||
src/eval.c | 4 +++-
|
||||
src/version.c | 2 ++
|
||||
2 files changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/eval.c b/src/eval.c
|
||||
index 9a140c1..eb6b8d9 100644
|
||||
--- a/src/eval.c
|
||||
+++ b/src/eval.c
|
||||
@@ -2051,6 +2051,8 @@ get_lval(
|
||||
}
|
||||
}
|
||||
lp->ll_name = lp->ll_exp_name;
|
||||
+ if (lp->ll_name != NULL)
|
||||
+ lp->ll_name_end = lp->ll_name + STRLEN(lp->ll_name);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -2261,7 +2263,7 @@ set_var_lval(
|
||||
|
||||
// handle +=, -=, *=, /=, %= and .=
|
||||
di = NULL;
|
||||
- if (eval_variable(lp->ll_name, (int)(lp->ll_name_end - lp->ll_name),
|
||||
+ if (eval_variable(lp->ll_name, (int)STRLEN(lp->ll_name),
|
||||
lp->ll_sid, &tv, &di, EVAL_VAR_VERBOSE) == OK)
|
||||
{
|
||||
if (di != NULL && check_typval_is_value(&di->di_tv) == FAIL)
|
||||
diff --git a/src/version.c b/src/version.c
|
||||
index 11ba12a..6b9759c 100644
|
||||
--- a/src/version.c
|
||||
+++ b/src/version.c
|
||||
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
+/**/
|
||||
+ 1242,
|
||||
/**/
|
||||
1230,
|
||||
/**/
|
44
debian/patches/patch-9.1.1244-part-of-patch-v9.1.1242-was-wrong.patch
vendored
Normal file
44
debian/patches/patch-9.1.1244-part-of-patch-v9.1.1242-was-wrong.patch
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
From: Christian Brabandt <cb@256bit.org>
|
||||
Date: Wed, 26 Mar 2025 20:36:12 +0100
|
||||
Subject: patch 9.1.1244: part of patch v9.1.1242 was wrong
|
||||
|
||||
Problem: part of patch v9.1.1242 was wrong
|
||||
Solution: revert part of the patch
|
||||
|
||||
fixes: #16983
|
||||
related: #16972
|
||||
|
||||
Signed-off-by: Christian Brabandt <cb@256bit.org>
|
||||
(cherry picked from commit 35cb38d34b69e4263f0eb9f78a676a5fb6d11250)
|
||||
Signed-off-by: James McCoy <jamessan@debian.org>
|
||||
---
|
||||
src/eval.c | 2 --
|
||||
src/version.c | 2 ++
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/eval.c b/src/eval.c
|
||||
index eb6b8d9..4cdd1f2 100644
|
||||
--- a/src/eval.c
|
||||
+++ b/src/eval.c
|
||||
@@ -2051,8 +2051,6 @@ get_lval(
|
||||
}
|
||||
}
|
||||
lp->ll_name = lp->ll_exp_name;
|
||||
- if (lp->ll_name != NULL)
|
||||
- lp->ll_name_end = lp->ll_name + STRLEN(lp->ll_name);
|
||||
}
|
||||
else
|
||||
{
|
||||
diff --git a/src/version.c b/src/version.c
|
||||
index 6b9759c..30f58fd 100644
|
||||
--- a/src/version.c
|
||||
+++ b/src/version.c
|
||||
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
+/**/
|
||||
+ 1244,
|
||||
/**/
|
||||
1242,
|
||||
/**/
|
7
debian/patches/series
vendored
Normal file
7
debian/patches/series
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
debian/Support-sourcing-a-vimrc.tiny-when-Vim-is-invoked-as-vi.patch
|
||||
debian/Detect-the-rst-filetype-using-the-contents-of-the-file.patch
|
||||
debian/Add-recognition-of-more-LaTeX-commands-for-tex-filetype-d.patch
|
||||
debian/Document-Debian-s-decision-to-disable-modelines-by-defaul.patch
|
||||
Revert-patch-9.1.0949-popups-inconsistently-shifted-to-th.patch
|
||||
patch-9.1.1242-Crash-when-evaluating-variable-name.patch
|
||||
patch-9.1.1244-part-of-patch-v9.1.1242-was-wrong.patch
|
23
debian/policy/Makefile
vendored
Normal file
23
debian/policy/Makefile
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
NULL =
|
||||
INSTALL_STUFF = \
|
||||
vim-policy.html/ \
|
||||
vim-policy.txt \
|
||||
$(NULL)
|
||||
|
||||
all: html text
|
||||
|
||||
html: vim-policy.html/index.html
|
||||
text: vim-policy.txt
|
||||
|
||||
export LC_ALL=C.UTF-8
|
||||
|
||||
vim-policy.html/index.html: vim-policy.xml *.xml
|
||||
docbook2html $< -o $(dir $@)
|
||||
vim-policy.txt: vim-policy.xml *.xml
|
||||
docbook2txt $<
|
||||
|
||||
clean:
|
||||
$(RM) -rf $(INSTALL_STUFF)
|
||||
|
||||
.PHONY: html text
|
8
debian/policy/authors.xml
vendored
Normal file
8
debian/policy/authors.xml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
<author>
|
||||
<affiliation>
|
||||
<orgname>Debian VIM Maintainers</orgname>
|
||||
<address>
|
||||
<email>team+vim@tracker.debian.org</email>
|
||||
</address>
|
||||
</affiliation>
|
||||
</author>
|
34
debian/policy/legal.xml
vendored
Normal file
34
debian/policy/legal.xml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
|||
<copyright>
|
||||
<year>2007</year>
|
||||
<year>2008</year>
|
||||
<holder>Stefano Zacchiroli</holder>
|
||||
</copyright>
|
||||
<copyright>
|
||||
<year>2021</year>
|
||||
<holder>James McCoy</holder>
|
||||
</copyright>
|
||||
<legalnotice>
|
||||
<para>
|
||||
This manual is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
</para>
|
||||
<para>
|
||||
This is distributed in the hope that it will be useful, but WITHOUT
|
||||
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
|
||||
License for more details.
|
||||
</para>
|
||||
<para>
|
||||
A copy of the GNU General Public License is available as
|
||||
<filename>/usr/share/common-licenses/GPL-2</filename> in the Debian
|
||||
GNU/Linux distribution or on the World Wide Web at <ulink
|
||||
url="https://www.gnu.org/licenses/old-licenses/gpl-2.0.html">The GNU Public
|
||||
License</ulink>.
|
||||
</para>
|
||||
<para>
|
||||
You can also obtain it by writing to the Free Software Foundation,
|
||||
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
</para>
|
||||
</legalnotice>
|
20
debian/policy/pages.yml
vendored
Normal file
20
debian/policy/pages.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
pages:
|
||||
stage: publish
|
||||
image: debian:unstable
|
||||
needs: []
|
||||
before_script:
|
||||
- apt-get -q update
|
||||
- env DEBIAN_FRONTEND=noninteractive apt-get -q -y install docbook-utils docbook-xml make lynx
|
||||
script:
|
||||
- make -C debian/policy
|
||||
- mkdir -p public
|
||||
- cp -r debian/policy/vim-policy.txt public/
|
||||
- cp -r debian/policy/vim-policy.html/* public/
|
||||
rules:
|
||||
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "debian/sid"'
|
||||
changes:
|
||||
- debian/policy/**/*
|
||||
when: always
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
228
debian/policy/vim-policy.xml
vendored
Normal file
228
debian/policy/vim-policy.xml
vendored
Normal file
|
@ -0,0 +1,228 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"/usr/share/sgml/docbook/dtd/xml/4.3/docbookx.dtd" [
|
||||
<!ENTITY vim-version "8.2">
|
||||
<!ENTITY vim "<application>Vim</application>">
|
||||
<!ENTITY debian "Debian">
|
||||
|
||||
<!ENTITY authors SYSTEM "authors.xml">
|
||||
<!ENTITY legal SYSTEM "legal.xml">
|
||||
]>
|
||||
|
||||
<article>
|
||||
<articleinfo>
|
||||
<title>Debian Packaging Policy for &vim;</title>
|
||||
<releaseinfo>Version 2.0</releaseinfo>
|
||||
&authors;
|
||||
&legal;
|
||||
</articleinfo>
|
||||
|
||||
<section id="nutshell">
|
||||
<title>&vim; Addon Packaging in a Nutshell</title>
|
||||
|
||||
<warning> <para> This section contains a brief howto of what to do to
|
||||
package a &vim; addon (plugin, syntax definition, ...) in &debian;.
|
||||
This section is not the full policy nor the guidelines for doing that;
|
||||
have a look at the remainder of this document for such information.
|
||||
</para> </warning>
|
||||
|
||||
<para> So you've found on <ulink url="https://www.vim.org">vim.org</ulink> a
|
||||
cool extra feature for your beloved editor (&vim;) and you want it to be
|
||||
packaged in &debian;. It's as easy as implementing the following 4 steps:
|
||||
|
||||
<orderedlist numeration="arabic">
|
||||
|
||||
<listitem> <para> create an <code>architecture: all</code>
|
||||
<filename>.deb</filename> binary package called
|
||||
<application>vim-<replaceable>ADDON</replaceable></application>,
|
||||
where <replaceable>ADDON</replaceable> is the addon name. See <xref
|
||||
linkend="addon-packages" /> for more info on this. </para>
|
||||
</listitem>
|
||||
|
||||
<listitem> <para> make your package ship all the files composing your
|
||||
addon (usually <filename>.vim</filename> and
|
||||
<filename>.txt</filename> files) under
|
||||
<filename>/usr/share/vim-<replaceable>ADDON</replaceable>/</filename>. The files should be
|
||||
shipped as a file and directory tree isomorphic to what you want to
|
||||
see in a runtime &vim; directory. So if for example the addon
|
||||
documentation says that something should be installed as
|
||||
<filename>plugin/foo.vim</filename> then you should ship it as
|
||||
<filename>/usr/share/vim-<replaceable>ADDON</replaceable>/plugin/foo.vim</filename>. See <xref
|
||||
linkend="addon-structure" /> for more info on this. </para>
|
||||
</listitem>
|
||||
|
||||
<listitem> <para>create a
|
||||
<filename>debian/vim-<replaceable>ADDON</replaceable>.vim-addon</filename>
|
||||
specifying the files and/or directories making up the addon. If neovim is also supported, create
|
||||
a corresponding <filename>debian/vim-<replaceable>ADDON</replaceable>.neovim-addon</filename>
|
||||
for it, or a symlink if the same set of files are used.
|
||||
|
||||
See the <command>dh_vim-addon</command> manual page, in the <application>dh-vim-addon</application>
|
||||
package, for more details. </para> </listitem>
|
||||
|
||||
<listitem> <para>add <code>Depends: ${vim-addon:Depends}</code> to the binary package stanzas.</para> </listitem>
|
||||
|
||||
</orderedlist>
|
||||
|
||||
That's it! Easy, isn't it? </para>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="legacy-packaging">
|
||||
<title>&vim; Packaging</title>
|
||||
|
||||
<para> Here you can find a brief overview of how the &vim; editor is
|
||||
packaged in &debian; and a few concepts useful later; if you are
|
||||
just interested in the guidelines for packaging addons skip to
|
||||
<xref linkend="addon-packaging" />. </para>
|
||||
|
||||
<para> The &vim; editor is split in &debian; as several binary
|
||||
packages. The key splitting is according to variants, a &vim;
|
||||
<emphasis>variant</emphasis> is a particular version of the
|
||||
<filename>/usr/bin/vim</filename> executable built with a given
|
||||
set of (<application>configure</application>) option. Examples of
|
||||
variants provided in &debian; are: <ulink
|
||||
url="https://packages.debian.org/unstable/editors/vim-tiny"><application>vim-tiny</application></ulink>,
|
||||
<ulink
|
||||
url="https://packages.debian.org/unstable/editors/vim"><application>vim</application></ulink>,
|
||||
<ulink
|
||||
url="https://packages.debian.org/unstable/editors/vim-nox"><application>vim-nox</application></ulink>,
|
||||
<ulink
|
||||
url="https://packages.debian.org/unstable/editors/vim-gtk3"><application>vim-gtk3</application></ulink>.
|
||||
Have a look at their full descriptions for their characteristics.
|
||||
The actual <filename>/usr/bin/vim</filename> file is managed via
|
||||
the alternative mechanism and point to one of the variants.
|
||||
</para>
|
||||
|
||||
<para> Another relevant binary package is <ulink
|
||||
url="https://packages.debian.org/unstable/editors/vim-runtime"><application>vim-runtime</application></ulink>
|
||||
which ships the &vim; runtime environment distributed upstream together
|
||||
with the editor. Almost all third party extensions to &vim; come as
|
||||
additional pieces of this runtime environment, how to package them is the
|
||||
main topic of this document. </para>
|
||||
|
||||
<para> To be working properly extensions should be located somewhere where
|
||||
&vim; can find them. This "somewhere" is expressed in &vim; as a list of
|
||||
directories to be looked for in turn when looking for extensions. Such a
|
||||
list is the <emphasis>&vim; runtime path</emphasis>, and is kept in the
|
||||
&vim; global variable <envar>runtimepath</envar>; you can inspect it
|
||||
executing <command>:set runtimepath?</command> inside &vim;. See <ulink
|
||||
url="https://vimhelp.org/options.txt.html#'runtimepath'"><command>:help
|
||||
'runtimepath'</command></ulink> in the &vim; online help for more
|
||||
information, including the relevant subdirectories which &vim; will look
|
||||
for inside <emphasis>each</emphasis> component of the runtime path.
|
||||
</para>
|
||||
|
||||
<para> &vim; also has a concept of <emphasis>packages</emphasis>. A package
|
||||
must follow a specific directory structure and be located in one of the
|
||||
directories defined in the <envar>packpath</envar> option. Within each
|
||||
package, there are two relevant directories: <variablelist>
|
||||
|
||||
<varlistentry><term><emphasis>start</emphasis></term>
|
||||
<listitem><para>All addons in this directory will automatically
|
||||
be added to <envar>runtimepath</envar> and loaded like any other
|
||||
addon that comes with &vim;. These are called
|
||||
<emphasis>automatic</emphasis> addons.</para> </listitem> </varlistentry>
|
||||
|
||||
<varlistentry><term><emphasis>opt</emphasis></term>
|
||||
<listitem><para>Any addons in this directory must explicitly
|
||||
be enabled by executing <command>:packadd! <replaceable>ADDON</replaceable></command>
|
||||
in the user's vimrc. These are called <emphasis>optional</emphasis> addons.
|
||||
</para> </listitem> </varlistentry>
|
||||
</variablelist> </para>
|
||||
</section>
|
||||
|
||||
<section id="addon-packaging">
|
||||
<title>Packaging of &vim; Addons</title>
|
||||
|
||||
<para> With the term (&vim;) <emphasis>addon</emphasis> we refer to an
|
||||
extension for the &vim; editor which is not shipped with the editor
|
||||
itself. Examples of addons which can be frequently found on the Internet
|
||||
are color schemes, syntax and corresponding higlighting definitions for
|
||||
new languages, indentation definitions, generic and filetype-specific
|
||||
plugins, ... </para>
|
||||
|
||||
<section id="addon-structure">
|
||||
<title>Addon Structure</title>
|
||||
|
||||
<para> An addon is usually composed of a set of <filename>.vim</filename>
|
||||
files; other kind of files, for example <filename>.txt</filename> files
|
||||
for documentation purposes, can be provided as well.
|
||||
|
||||
For instance, the following files compose the <ulink
|
||||
url="https://www.vim.org/scripts/script.php?script_id=90"><application>vcscommand</application></ulink>
|
||||
addon, providing plugins, syntax higlighting definitions, and
|
||||
documentation:
|
||||
|
||||
<example> <title>Files composing the
|
||||
<application>vcscommand</application> addon</title>
|
||||
<programlisting>doc/tags
|
||||
doc/vcscommand.txt
|
||||
plugin/vcsbzr.vim
|
||||
plugin/vcscommand.vim
|
||||
plugin/vcscvs.vim
|
||||
plugin/vcsgit.vim
|
||||
plugin/vcshg.vim
|
||||
plugin/vcssvk.vim
|
||||
plugin/vcssvn.vim
|
||||
syntax/cvsannotate.vim
|
||||
syntax/gitannotate.vim
|
||||
syntax/hgannotate.vim
|
||||
syntax/svkannotate.vim
|
||||
syntax/svnannotate.vim
|
||||
syntax/vcscommit.vim</programlisting>
|
||||
</example>
|
||||
|
||||
</para>
|
||||
|
||||
<para> For an addon to work properly (and its plugins being automatically
|
||||
loaded by &vim;) all its files should be installed under a unique directory
|
||||
which will be added to &vim;'s pack path. In the example above, if
|
||||
<filename>/usr/share/vim-vcscommand/</filename> is the chosen directory,
|
||||
then <filename>SVNAnnotate.vim</filename> should be installed as
|
||||
<filename>/usr/share/vim-vcscommand/syntax/SVNAnnotate.vim</filename>,
|
||||
<filename>vcssvn.vim</filename> as
|
||||
<filename>/usr/share/vim-vcscommand/plugin/vcssvn.vim</filename>, and so
|
||||
on. </para>
|
||||
|
||||
</section>
|
||||
|
||||
<section id="addon-packages">
|
||||
<title>Addon Packages</title>
|
||||
|
||||
<para> Each addon should be packaged and distributed in &debian;
|
||||
as a separate package. It is recommended that the package is
|
||||
named according to the naming convention
|
||||
<application>vim-<replaceable>ADDON</replaceable> </application>
|
||||
where <replaceable>ADDON</replaceable> is a name identifying the
|
||||
packaged addon. </para>
|
||||
|
||||
<para> Each binary package should contain a single addon installed as an
|
||||
<emphasis>automatic</emphasis> addon. If the addon requires
|
||||
heavy customization or is noticeably intrusive, it may be preferable
|
||||
to install it as an <emphasis>optional</emphasis> addon.</para>
|
||||
|
||||
<para> In some cases, it may make sense to aggregate multiple &vim; addons in
|
||||
a single &debian; package. An example of such a suite is distributed as
|
||||
the <ulink url="https://packages.qa.debian.org/vim-scripts">
|
||||
<application>vim-scripts</application> package</ulink>.
|
||||
|
||||
In such cases, the addons should be installed as <emphasis>optional</emphasis>
|
||||
addons so the user can choose which ones to enable. </para>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section id="tools">
|
||||
<title>Tools</title>
|
||||
|
||||
<para> <command>dh_vim-addons</command> is the tool used by maintainers
|
||||
to install &vim; addons into the appropriate runtime path. It is shipped in the <ulink
|
||||
url="https://packages.qa.debian.org/dh-vim-addon"><application>dh-vim-addon</application></ulink>
|
||||
package. It will ensure that the addons are installed in to the correct
|
||||
<envar>packpath</envar>, based on whether it is an <emphasis>automatic</emphasis>
|
||||
or <emphasis>optional</emphasis> addon, and which editors are supported. </para>
|
||||
|
||||
</section>
|
||||
|
||||
</article>
|
364
debian/rules
vendored
Executable file
364
debian/rules
vendored
Executable file
|
@ -0,0 +1,364 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export DH_OPTIONS
|
||||
|
||||
# Upstream handles the _FORTIFY_SOURCE flag on their own
|
||||
DEB_BUILD_MAINT_OPTIONS = hardening=+all,-fortify future=+lfs
|
||||
|
||||
include /usr/share/dpkg/default.mk
|
||||
|
||||
BUILDER = team+vim@tracker.debian.org
|
||||
|
||||
# Work around #1082125
|
||||
ifeq (s390x,$(DEB_HOST_ARCH))
|
||||
CFLAGS += -O1
|
||||
endif
|
||||
|
||||
MAKETEST = no
|
||||
ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
|
||||
MAKETEST = yes
|
||||
endif
|
||||
|
||||
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
|
||||
MAKEFLAGS += -j$(NUMJOBS)
|
||||
endif
|
||||
|
||||
ifneq (,$(filter pkg.vim.noruby,$(DEB_BUILD_PROFILES)))
|
||||
RUBY_SUBSTVARS = -Vvim:Ruby-Provides= -Vvim:Ruby-Desc=
|
||||
RUBY_CFGFLAGS = --disable-ruby
|
||||
else ifneq (,$(filter alpha ia64,$(DEB_HOST_ARCH)))
|
||||
# Disable ruby on these architectures at the request of porters (c.f., #983308)
|
||||
RUBY_SUBSTVARS = -Vvim:Ruby-Provides= -Vvim:Ruby-Desc=
|
||||
RUBY_CFGFLAGS = --disable-rubyinterp
|
||||
else
|
||||
RUBY_SUBSTVARS = -Vvim:Ruby-Provides='vim-ruby (= $${binary:Version})' -Vvim:Ruby-Desc=' Ruby,'
|
||||
RUBY_CFGFLAGS = --enable-rubyinterp
|
||||
endif
|
||||
|
||||
# Set to TEST_SKIP_PAT=<vim pattern> to exclude running tests matching the pattern
|
||||
EXCLUDE_PAT = TEST_SKIP_PAT='Test_crash1\|glvs'
|
||||
|
||||
CFGFLAGS = --prefix=/usr --mandir='$${prefix}'/share/man --without-local-dir
|
||||
CFGFLAGS += --with-modified-by="$(BUILDER)"
|
||||
CFGFLAGS += --with-compiledby="$(BUILDER)"
|
||||
CFGFLAGS += --enable-fail-if-missing
|
||||
CFGFLAGS += --with-global-runtime='/var/lib/vim/addons,/etc/vim,$$VIM/vimfiles'
|
||||
|
||||
TINYFLAGS = --with-features=small
|
||||
TINYFLAGS += --disable-gui
|
||||
TINYFLAGS += --disable-xsmp
|
||||
TINYFLAGS += --disable-xsmp-interact
|
||||
TINYFLAGS += --disable-netbeans
|
||||
TINYFLAGS += --disable-gpm
|
||||
TINYFLAGS += --enable-nls
|
||||
TINYFLAGS += --enable-acl
|
||||
TINYFLAGS += --disable-terminal
|
||||
TINYFLAGS += --disable-canberra
|
||||
TINYFLAGS += --disable-libsodium
|
||||
|
||||
OPTFLAGS = --enable-cscope
|
||||
ifeq ($(DEB_HOST_ARCH_OS),linux)
|
||||
OPTFLAGS += --enable-gpm
|
||||
OPTFLAGS += --enable-selinux --disable-smack
|
||||
TINYFLAGS += --enable-selinux --disable-smack
|
||||
else
|
||||
OPTFLAGS += --disable-gpm
|
||||
endif
|
||||
OPTFLAGS += --with-features=huge
|
||||
OPTFLAGS += --enable-acl
|
||||
OPTFLAGS += --enable-terminal
|
||||
OPTFLAGS += --enable-libsodium
|
||||
|
||||
NOXFLAGS = --without-x
|
||||
NOXFLAGS += --enable-gui=no
|
||||
NOXFLAGS += --disable-canberra
|
||||
|
||||
GUIFLAGS = --with-x
|
||||
GUIFLAGS += --enable-xim
|
||||
GUIFLAGS += --enable-canberra
|
||||
|
||||
GTK3FLAGS = --enable-gui=gtk3
|
||||
GTK3FLAGS += --enable-gtk3-check
|
||||
GTK3FLAGS += --disable-gnome-check
|
||||
GTK3FLAGS += --disable-motif-check
|
||||
GTK3FLAGS += --disable-motif-check
|
||||
GTK3FLAGS += --disable-fontset
|
||||
|
||||
MOTIFFLAGS = --enable-gui=motif
|
||||
MOTIFFLAGS += --disable-gtk2-check
|
||||
MOTIFFLAGS += --disable-gtk3-check
|
||||
MOTIFFLAGS += --disable-gnome-check
|
||||
MOTIFFLAGS += --disable-motif-check
|
||||
MOTIFFLAGS += --enable-motif-check
|
||||
MOTIFFLAGS += --enable-fontset
|
||||
|
||||
NOINTERPFLAGS = --disable-luainterp
|
||||
NOINTERPFLAGS += --disable-mzschemeinterp
|
||||
NOINTERPFLAGS += --disable-perlinterp
|
||||
ifeq ($(DEB_VENDOR),Ubuntu)
|
||||
NOINTERPFLAGS += --enable-python3interp --with-python3-config-dir=$(shell python3-config --configdir)
|
||||
NOINTERPFLAGS += --disable-pythoninterp
|
||||
else
|
||||
NOINTERPFLAGS += --disable-pythoninterp
|
||||
NOINTERPFLAGS += --disable-python3interp
|
||||
endif
|
||||
NOINTERPFLAGS += --disable-rubyinterp
|
||||
NOINTERPFLAGS += --disable-tclinterp
|
||||
|
||||
ALLINTERPFLAGS = --enable-luainterp
|
||||
ALLINTERPFLAGS += --disable-mzschemeinterp
|
||||
ALLINTERPFLAGS += --enable-perlinterp
|
||||
ALLINTERPFLAGS += --enable-python3interp --with-python3-config-dir=$(shell python3-config --configdir)
|
||||
ALLINTERPFLAGS += --disable-pythoninterp
|
||||
ALLINTERPFLAGS += --enable-tclinterp
|
||||
ALLINTERPFLAGS += --with-tclsh=/usr/bin/tclsh
|
||||
|
||||
# Each vim-xxx package is said to be a vim variant and contains only a vim
|
||||
# binary built with some compile-time options. Makefile VARIANTS below are
|
||||
# one-to-one with those packages with the exception of "vim-basic". In this
|
||||
# Makefile vim-basic is used to build 4 packages: "vim", "vim-runtime",
|
||||
# "vim-common", "vim-gui-common". "vim-tiny" is the only variant package not
|
||||
# depending on vim-runtime.
|
||||
|
||||
VARIANTS += vim-tiny
|
||||
VARIANTS += vim-gtk3
|
||||
VARIANTS += vim-motif
|
||||
VARIANTS += vim-nox
|
||||
VARIANTS += vim-basic
|
||||
|
||||
ifneq ($(origin VARIANT), undefined)
|
||||
VARIANTS = $(VARIANT) vim-basic
|
||||
endif
|
||||
|
||||
CFLAGS += -DSYS_VIMRC_FILE="'\"/etc/vim/vimrc\"'" -DSYS_GVIMRC_FILE="'\"/etc/vim/gvimrc\"'"
|
||||
|
||||
CFLAGS_vim-basic = $(CFLAGS)
|
||||
CFGFLAGS_vim-basic = $(CFGFLAGS) $(OPTFLAGS) $(NOXFLAGS) $(NOINTERPFLAGS)
|
||||
|
||||
CFLAGS_vim-tiny = $(CFLAGS) -DTINY_VIMRC -DSYS_TINYRC_FILE="'\"/etc/vim/vimrc.tiny\"'"
|
||||
CFGFLAGS_vim-tiny = $(CFGFLAGS) $(TINYFLAGS)
|
||||
|
||||
CFLAGS_vim-gtk3 = $(CFLAGS)
|
||||
CFGFLAGS_vim-gtk3 = $(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(ALLINTERPFLAGS) $(GTK3FLAGS) $(RUBY_CFGFLAGS)
|
||||
|
||||
CFLAGS_vim-motif = $(CFLAGS)
|
||||
CFGFLAGS_vim-motif = $(CFGFLAGS) $(OPTFLAGS) $(GUIFLAGS) $(MOTIFFLAGS) $(ALLINTERPFLAGS) $(RUBY_CFGFLAGS)
|
||||
|
||||
CFLAGS_vim-nox = $(CFLAGS)
|
||||
CFGFLAGS_vim-nox = $(CFGFLAGS) $(OPTFLAGS) $(NOXFLAGS) $(ALLINTERPFLAGS) $(RUBY_CFGFLAGS)
|
||||
|
||||
NAME = vim
|
||||
# Convert x.y.z to x.y
|
||||
VERSION = $(basename $(DEB_VERSION_UPSTREAM))
|
||||
VIMMAJOR = $(basename $(VERSION))
|
||||
VIMCUR = $(NAME)$(subst .,,$(VERSION))
|
||||
LANGS = da de fr it ja pl ru tr
|
||||
|
||||
DOT_IN_DEPS = debian/vim-runtime.postrm
|
||||
DOT_IN_DEPS += debian/vim-runtime.preinst
|
||||
DOT_IN_DEPS_TINY = debian/tiny/vimrc.tiny
|
||||
|
||||
foreach-variant = \
|
||||
set -e; for v in $(VARIANTS); do \
|
||||
$1; \
|
||||
done
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
update-changelog:
|
||||
dh_testdir
|
||||
wget -O debian/changelog.upstream http://ftp.vim.org/pub/vim/patches/$(VERSION)/README
|
||||
|
||||
override_dh_auto_clean:
|
||||
# The vim-basic variant is always enabled, so we can rely on it when checking
|
||||
# whether we can call "make distclean". The config.cache check is to avoid
|
||||
# calling make when configure has not run, otherwise make will run configure to
|
||||
# generate an include file
|
||||
[ ! -f src/vim-basic/auto/config.cache ] || make distclean
|
||||
[ ! -f debian/configure.dist ] || mv debian/configure.dist src/auto/configure
|
||||
find src/testdir -name '*.pyc' -delete
|
||||
for v in $(VARIANTS); do \
|
||||
if [ "$${v}" = vim-basic ]; then \
|
||||
[ ! -L src/"$${v}"/po ] || $(MAKE) -C src/"$${v}"/po clean; \
|
||||
fi; \
|
||||
rm -rf src/"$${v}"; \
|
||||
done
|
||||
rm -f $(DOT_IN_DEPS)
|
||||
rm -f $(DOT_IN_DEPS_TINY)
|
||||
|
||||
override_dh_auto_configure-indep: autoconf-stamp
|
||||
$(MAKE) -f debian/rules configure-vim-basic
|
||||
|
||||
override_dh_auto_configure-arch: autoconf-stamp
|
||||
$(call foreach-variant, $(MAKE) -f debian/rules configure-"$${v}")
|
||||
|
||||
override_dh_auto_build-indep: autoconf-stamp
|
||||
override_dh_auto_build-indep:
|
||||
$(MAKE) -f debian/rules build-vim-basic
|
||||
$(MAKE) -C runtime/doc html
|
||||
$(MAKE) -C debian/policy text html
|
||||
$(MAKE) -C src/po vim.pot VIMPROG=$(CURDIR)/src/vim-basic/vim
|
||||
|
||||
override_dh_auto_build-arch: autoconf-stamp
|
||||
$(call foreach-variant, $(MAKE) -f debian/rules build-"$${v}")
|
||||
$(MAKE) -C src/vim-basic xxd/xxd
|
||||
|
||||
override_dh_auto_test-indep:
|
||||
|
||||
override_dh_auto_test-arch:
|
||||
$(call foreach-variant, $(MAKE) -f debian/rules test-"$${v}")
|
||||
|
||||
autoconf-stamp:
|
||||
dh_testdir
|
||||
[ -f debian/configure.dist ] || cp src/auto/configure debian/configure.dist
|
||||
# The autoconf target generates a new configure, and touches some other
|
||||
# configure-related things. Need to run scratch afterward or timestamps
|
||||
# will be off and the next make that runs will think it needs to run
|
||||
# configure. This breaks parallel builds since two configures are being run
|
||||
# in the same directory at the same time instead of in their own shadow
|
||||
# directories.
|
||||
$(MAKE) -C src autoconf
|
||||
$(MAKE) -C src scratch
|
||||
touch $@
|
||||
|
||||
src/vim-%: VARIANT=vim-$*
|
||||
src/vim-%:
|
||||
$(MAKE) -C src shadow SHADOWDIR=$(VARIANT)
|
||||
|
||||
configure-vim-%: VARIANT=vim-$*
|
||||
configure-vim-%: autoconf-stamp
|
||||
configure-vim-%:
|
||||
$(MAKE) -f debian/rules src/$(VARIANT)
|
||||
cd src/$(VARIANT) && LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS_$(VARIANT))" ./configure $(CFGFLAGS_$(VARIANT))
|
||||
|
||||
build-vim-%: VARIANT=vim-$*
|
||||
build-vim-%: configure-$(VARIANT)
|
||||
build-vim-%:
|
||||
$(MAKE) -C src/$(VARIANT)
|
||||
$(MAKE) -C runtime/doc tags VIMPROG=$(CURDIR)/src/$(VARIANT)/vim
|
||||
|
||||
test-vim-%: VARIANT=vim-$*
|
||||
test-vim-%:
|
||||
:
|
||||
ifeq (yes,$(MAKETEST))
|
||||
# Sanitize LC_* env so they don't leak through to child processes and cause problems in build chroots (e.g., missing locales)
|
||||
# and set sane values for TERM/LC_ALL/LANG
|
||||
for e in ADDRESS COLLATE CTYPE IDENTIFICATION MEASUREMENT MESSAGES MONETARY NAME NUMERIC PAPER TELEPHONE TIME; do \
|
||||
unset LC_$${e}; \
|
||||
done; \
|
||||
env $(EXCLUDE_PAT) TERM=xterm LC_ALL=C.UTF-8 LANG=C.UTF-8 $(MAKE) -j1 -C src/$(VARIANT) test
|
||||
endif
|
||||
|
||||
override_dh_auto_install-arch:
|
||||
|
||||
# Use UTF-8 manpages for all languages
|
||||
# If a .UTF-8 directory doesn't exist, then the $L directory is already UTF-8.
|
||||
define munge-man-directories
|
||||
for L in $(LANGS); do \
|
||||
if [ -d "$(DESTDIR)/usr/share/man/$$L.UTF-8" ]; then \
|
||||
rm -rf "$(DESTDIR)/usr/share/man/$$L"; \
|
||||
mv "$(DESTDIR)/usr/share/man/$$L.UTF-8" "$(DESTDIR)/usr/share/man/$$L"; \
|
||||
fi; \
|
||||
rm -rf "$(DESTDIR)/usr/share/man/$$L."*; \
|
||||
done
|
||||
endef
|
||||
|
||||
override_dh_auto_install-indep: DESTDIR=$(CURDIR)/debian/tmp
|
||||
override_dh_auto_install-indep:
|
||||
$(MAKE) -f debian/rules build-vim-basic
|
||||
mkdir -p "$(DESTDIR)/usr/bin"
|
||||
# installruntime requires a "vim" in /usr/bin
|
||||
cp src/vim-basic/vim "$(DESTDIR)/usr/bin"
|
||||
$(MAKE) -C src/vim-basic "DESTDIR=$(DESTDIR)" \
|
||||
installtutorbin \
|
||||
installgtutorbin \
|
||||
installruntime \
|
||||
install-languages \
|
||||
install-icons
|
||||
rm -f "$(DESTDIR)/usr/bin/vim"
|
||||
|
||||
COMMON_HELP_PATHS = runtime/doc/uganda.txt runtime/doc/sponsor.txt runtime/doc/version$(VIMMAJOR).txt
|
||||
debian/tiny/doc/tags: $(COMMON_HELP_PATHS)
|
||||
./debian/generate-tiny-tags debian/tiny/doc/help.txt $(COMMON_HELP_PATHS) > debian/tiny/doc/tags
|
||||
|
||||
override_dh_install-indep: DESTDIR=$(CURDIR)/debian/tmp
|
||||
override_dh_install-indep:
|
||||
$(MAKE) -f debian/rules $(DOT_IN_DEPS)
|
||||
$(munge-man-directories)
|
||||
|
||||
# rm stuff handled by alternatives or our own symlinks
|
||||
find "$(DESTDIR)/usr/share/man" \( -name view.1 -o -name ex.1 -o -name rvim.1 -o -name rview.1 \) -delete
|
||||
|
||||
# helpztags manpage
|
||||
pod2man -c "User Commands" -s 1 -q none -r "vim $(VERSION)" \
|
||||
-d "August 2010" debian/helpztags debian/helpztags.1
|
||||
|
||||
# Icons
|
||||
gs -sDefaultCMYKProfile=ps_cmyk.icc -sOutputICCProfile=ps_rgb.icc \
|
||||
-dSAFER -dEPSCrop -dBATCH -dNOPAUSE \
|
||||
-sDEVICE=ps2write -sOutputFile=debian/tmplogo.ps runtime/vimlogo.eps
|
||||
ps2pdf debian/tmplogo.ps debian/tmplogo.pdf
|
||||
pdf2svg debian/tmplogo.pdf debian/vim-common/usr/share/icons/hicolor/scalable/apps/gvim.svg
|
||||
|
||||
env VIMCUR=$(VIMCUR) VIMMAJOR=$(VIMMAJOR) dh_install -p vim-runtime $(subst runtime/doc/,-X ,$(COMMON_HELP_PATHS)) -X vim2html.pl -X 'README*.txt' -X README.el.txt -X README.el.cp737.txt
|
||||
env VIMCUR=$(VIMCUR) VIMMAJOR=$(VIMMAJOR) dh_install -i -N vim-runtime
|
||||
# adjust things for vim-gui-common
|
||||
cp debian/vim-common/usr/share/man/man1/vim.1 \
|
||||
debian/vim-gui-common/usr/share/man/man1/gvim.1
|
||||
cp debian/vim-common/usr/share/man/man1/vimdiff.1 \
|
||||
debian/vim-gui-common/usr/share/man/man1/gvimdiff.1
|
||||
cp debian/vim-runtime/usr/share/man/man1/vimtutor.1 \
|
||||
debian/vim-gui-common/usr/share/man/man1/gvimtutor.1
|
||||
for L in $(LANGS); do \
|
||||
DIR=usr/share/man/$$L; \
|
||||
[ ! -e "debian/vim-common/$$DIR/man1/vim.1" ] || \
|
||||
cp debian/vim-common/$$DIR/man1/vim.1 \
|
||||
debian/vim-gui-common/$$DIR/man1/gvim.1; \
|
||||
[ ! -e "debian/vim-common/$$DIR/man1/vimdiff.1" ] || \
|
||||
cp debian/vim-common/$$DIR/man1/vimdiff.1 \
|
||||
debian/vim-gui-common/$$DIR/man1/gvimdiff.1; \
|
||||
[ ! -e "debian/vim-runtime/$$DIR/man1/vimtutor.1" ] || \
|
||||
cp debian/vim-runtime/$$DIR/man1/vimtutor.1 \
|
||||
debian/vim-gui-common/$$DIR/man1/gvimtutor.1; \
|
||||
done
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs -A debian/changelog.upstream
|
||||
|
||||
install-xxd: DESTDIR=$(CURDIR)/debian/xxd
|
||||
install-xxd:
|
||||
$(MAKE) -C src/vim-basic STRIP=: DESTDIR=$(DESTDIR) installtools install-tool-languages
|
||||
rm -r $(DESTDIR)/usr/share/vim
|
||||
$(munge-man-directories)
|
||||
# No xxd.1 translations for these languages yet
|
||||
for lang in da de tr.ISO8859-9 tr.UTF-8 tr; do \
|
||||
rmdir $(DESTDIR)/usr/share/man/$$lang/man1 $(DESTDIR)/usr/share/man/$$lang; \
|
||||
done
|
||||
|
||||
override_dh_auto_install-arch:
|
||||
$(MAKE) -f debian/rules install-xxd
|
||||
|
||||
override_dh_bugfiles:
|
||||
$(call foreach-variant, dh_bugfiles -A -p "$${v%-basic}")
|
||||
|
||||
install-vim-%: SHADOWDIR=vim-$*
|
||||
install-vim-%: VARIANT=$*
|
||||
install-vim-%: BIN=$(subst -,.,vim-$(VARIANT))
|
||||
install-vim-%:
|
||||
cp src/$(SHADOWDIR)/vim src/$(SHADOWDIR)/$(BIN)
|
||||
[ $(VARIANT) != tiny ] || $(MAKE) -f debian/rules $(DOT_IN_DEPS_TINY) debian/tiny/doc/tags
|
||||
|
||||
override_dh_install-arch:
|
||||
$(call foreach-variant, $(MAKE) -f debian/rules install-$${v})
|
||||
env VIMCUR=$(VIMCUR) VIMMAJOR=$(VIMMAJOR) dh_install -a
|
||||
|
||||
$(DOT_IN_DEPS) $(DOT_IN_DEPS_TINY): %: %.in
|
||||
cat $< | sed 's/@VIMCUR@/$(VIMCUR)/' > $@
|
||||
|
||||
override_dh_gencontrol:
|
||||
dh_gencontrol -- $(RUBY_SUBSTVARS)
|
||||
|
||||
.NOTPARALLEL:
|
||||
# vim: set foldmethod=marker:
|
48
debian/runtime/debian.vim
vendored
Normal file
48
debian/runtime/debian.vim
vendored
Normal file
|
@ -0,0 +1,48 @@
|
|||
" Normally we use vim-extensions. If you want true vi-compatibility
|
||||
" remove change the following statements
|
||||
set nocompatible " Use Vim defaults instead of 100% vi compatibility
|
||||
|
||||
" Now we set some defaults for the editor
|
||||
set ruler " show the cursor position all the time
|
||||
|
||||
" modelines have historically been a source of security/resource
|
||||
" vulnerabilities -- disable by default, even when 'nocompatible' is set
|
||||
set nomodeline
|
||||
|
||||
" Suffixes that get lower priority when doing tab completion for filenames.
|
||||
" These are files we are not likely to want to edit or read.
|
||||
set suffixes=.bak,~,.swp,.o,.info,.aux,.log,.dvi,.bbl,.blg,.brf,.cb,.ind,.idx,.ilg,.inx,.out,.toc
|
||||
|
||||
" We know xterm-debian is a color terminal
|
||||
if &term =~ "xterm-debian" || &term =~ "xterm-xfree86"
|
||||
set t_Co=16
|
||||
set t_Sf=[3%dm
|
||||
set t_Sb=[4%dm
|
||||
endif
|
||||
|
||||
" Some Debian-specific things
|
||||
if has('gui')
|
||||
" Must define this within the :if so it does not cause problems with
|
||||
" vim-tiny (which does not have +eval)
|
||||
function! <SID>MapExists(name, modes)
|
||||
for mode in split(a:modes, '\zs')
|
||||
if !empty(maparg(a:name, mode))
|
||||
return 1
|
||||
endif
|
||||
endfor
|
||||
return 0
|
||||
endfunction
|
||||
|
||||
" Make shift-insert work like in Xterm
|
||||
autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "nvso") | execute "map <S-Insert> <MiddleMouse>" | endif
|
||||
autocmd GUIEnter * if !<SID>MapExists("<S-Insert>", "ic") | execute "map! <S-Insert> <MiddleMouse>" | endif
|
||||
endif
|
||||
|
||||
" Set paper size from /etc/papersize if available (Debian-specific)
|
||||
if filereadable("/etc/papersize")
|
||||
let s:papersize = matchstr(readfile('/etc/papersize', '', 1), '\p*')
|
||||
if strlen(s:papersize)
|
||||
exe "set printoptions+=paper:" . s:papersize
|
||||
endif
|
||||
endif
|
||||
|
17
debian/runtime/gvimrc
vendored
Normal file
17
debian/runtime/gvimrc
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
" Make external commands work through a pipe instead of a pseudo-tty
|
||||
"set noguipty
|
||||
|
||||
" You can also specify a different font, overriding the default font
|
||||
"if has('gui_gtk')
|
||||
" set guifont=Bitstream\ Vera\ Sans\ Mono\ 12
|
||||
"else
|
||||
" set guifont=-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1
|
||||
"endif
|
||||
|
||||
" If you want to run gvim with a dark background, try using a different
|
||||
" colorscheme or running 'gvim -reverse'.
|
||||
|
||||
" Source a global configuration file if available
|
||||
if filereadable("/etc/vim/gvimrc.local")
|
||||
source /etc/vim/gvimrc.local
|
||||
endif
|
64
debian/runtime/vimrc
vendored
Normal file
64
debian/runtime/vimrc
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
" $VIMRUNTIME refers to the versioned system directory where Vim stores its
|
||||
" system runtime files -- /usr/share/vim/vim<version>.
|
||||
"
|
||||
" Vim will load $VIMRUNTIME/defaults.vim if the user does not have a vimrc.
|
||||
" This happens after /etc/vim/vimrc(.local) are loaded, so it will override
|
||||
" any settings in these files.
|
||||
"
|
||||
" If you don't want that to happen, uncomment the below line to prevent
|
||||
" defaults.vim from being loaded.
|
||||
" let g:skip_defaults_vim = 1
|
||||
"
|
||||
" If you would rather _use_ default.vim's settings, but have the system or
|
||||
" user vimrc override its settings, then uncomment both lines below (to load
|
||||
" the settings now but prevent it from being loaded by the user's vimrc).
|
||||
" source $VIMRUNTIME/defaults.vim
|
||||
" let g:skip_defaults_vim = 1
|
||||
|
||||
" All Debian-specific settings are defined in $VIMRUNTIME/debian.vim and
|
||||
" sourced by the call to :runtime you can find below. If you wish to change
|
||||
" any of those settings, you should do it in this file or
|
||||
" /etc/vim/vimrc.local, since debian.vim will be overwritten everytime an
|
||||
" upgrade of the vim packages is performed. It is recommended to make changes
|
||||
" after sourcing debian.vim so your settings take precedence.
|
||||
|
||||
runtime! debian.vim
|
||||
|
||||
" Uncomment the next line to make Vim more Vi-compatible
|
||||
" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes
|
||||
" numerous options, so any other options should be set AFTER changing
|
||||
" 'compatible'.
|
||||
"set compatible
|
||||
|
||||
" Vim5 and later versions support syntax highlighting. Uncommenting the next
|
||||
" line enables syntax highlighting by default.
|
||||
"syntax on
|
||||
|
||||
" If using a dark background within the editing area and syntax highlighting
|
||||
" turn on this option as well
|
||||
"set background=dark
|
||||
|
||||
" Uncomment the following to have Vim jump to the last position when
|
||||
" reopening a file
|
||||
"au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
|
||||
|
||||
" Uncomment the following to have Vim load indentation rules and plugins
|
||||
" according to the detected filetype.
|
||||
"filetype plugin indent on
|
||||
|
||||
" The following are commented out as they cause vim to behave a lot
|
||||
" differently from regular Vi. They are highly recommended though.
|
||||
"set showcmd " Show (partial) command in status line.
|
||||
"set showmatch " Show matching brackets.
|
||||
"set ignorecase " Do case insensitive matching
|
||||
"set smartcase " Do smart case matching
|
||||
"set incsearch " Incremental search
|
||||
"set autowrite " Automatically save before commands like :next and :make
|
||||
"set hidden " Hide buffers when they are abandoned
|
||||
"set mouse=a " Enable mouse usage (all modes)
|
||||
|
||||
" Source a global configuration file if available
|
||||
if filereadable("/etc/vim/vimrc.local")
|
||||
source /etc/vim/vimrc.local
|
||||
endif
|
||||
|
7
debian/salsa-ci.yml
vendored
Normal file
7
debian/salsa-ci.yml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
include:
|
||||
- local: '/debian/policy/pages.yml'
|
||||
- remote: 'https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml'
|
||||
|
||||
variables:
|
||||
SALSA_CI_DISABLE_REPROTEST: 1
|
||||
SALSA_CI_BLHC_ARGS: --ignore-flag -D_FORTIFY_SOURCE=2 --ignore-line .*doctags.*
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
3.0 (quilt)
|
4
debian/source/lintian-overrides
vendored
Normal file
4
debian/source/lintian-overrides
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
# vim-tiny provides stub help.txt/tags which are diverted when vim-runtime is
|
||||
# installed
|
||||
vim source: binaries-have-file-conflict vim-runtime vim-tiny usr/share/vim/vim*/doc/help.txt
|
||||
vim source: binaries-have-file-conflict vim-runtime vim-tiny usr/share/vim/vim*/doc/tags
|
19
debian/tests/control
vendored
Normal file
19
debian/tests/control
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
Test-Command: ./debian/tests/variants --version
|
||||
Depends: @
|
||||
Restrictions: superficial
|
||||
|
||||
Test-Command: ./debian/tests/upstreamtest test_python3.res
|
||||
Depends: vim-nox, python3
|
||||
Restrictions: needs-root, allow-stderr
|
||||
|
||||
Test-Command: ./debian/tests/upstreamtest test_lua.res
|
||||
Depends: vim-nox, lua5.1
|
||||
Restrictions: needs-root, allow-stderr
|
||||
|
||||
Test-Command: ./debian/tests/upstreamtest test_perl.res
|
||||
Depends: vim-nox, perl
|
||||
Restrictions: needs-root, allow-stderr
|
||||
|
||||
Test-Command: ./debian/tests/upstreamtest test_ruby.res
|
||||
Depends: vim-nox, ruby
|
||||
Restrictions: needs-root, allow-stderr
|
11
debian/tests/upstreamtest
vendored
Executable file
11
debian/tests/upstreamtest
vendored
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ -z "$AUTOPKGTEST_NORMAL_USER" ]; then
|
||||
adduser --quiet --disabled-login --gecos '' vim-ci
|
||||
AUTOPKGTEST_NORMAL_USER=vim-ci
|
||||
fi
|
||||
|
||||
cp -a "$(pwd)" "$AUTOPKGTEST_TMP"/vim
|
||||
chown -R "$AUTOPKGTEST_NORMAL_USER" "$AUTOPKGTEST_TMP"/vim
|
||||
runuser -u "$AUTOPKGTEST_NORMAL_USER" -- env TERM=xterm make -C "$AUTOPKGTEST_TMP"/vim/src/testdir VIMPROG="/usr/bin/vim" XXDPROG=/usr/bin/xxd SCRIPTSOURCE="$(pwd)"/runtime "$@"
|
7
debian/tests/variants
vendored
Executable file
7
debian/tests/variants
vendored
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
for variant in /usr/bin/vim.*
|
||||
do
|
||||
$variant "$@"
|
||||
done
|
7
debian/tiny/doc/README.Debian
vendored
Normal file
7
debian/tiny/doc/README.Debian
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
This directory contains Debian-specific fake help files and tags used by
|
||||
the "vim-tiny" package. Their only purpose is to tell the user how to
|
||||
install the real VIM online help on Debian if she wants to (i.e.
|
||||
installing the "vim-runtime" package).
|
||||
|
||||
-- Stefano Zacchiroli <zack@debian.org> Thu, 03 Nov 2005 22:16:23 +0100
|
37
debian/tiny/doc/help.txt
vendored
Normal file
37
debian/tiny/doc/help.txt
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
*help.txt* Vim
|
||||
|
||||
VIM - fake help file for vim-tiny
|
||||
|
||||
The Vim online help is not installed on this Debian GNU/Linux system.
|
||||
|
||||
WHY ?
|
||||
|
||||
Because only the "vim-tiny" package is installed, whose sole purpose is to
|
||||
provide the vi command for base installations. As such, it contains a minimal
|
||||
version of Vim compiled with no graphical user interface and a small subset of
|
||||
features, in order to keep the package size small.
|
||||
|
||||
Since the "vim-runtime" package is rather huge when compared to "vim-tiny",
|
||||
installing the latter does not automatically install the former.
|
||||
|
||||
HOW TO GET A BETTER VIM
|
||||
|
||||
To get a more featureful Vim binary (and a vim command, rather than just vi),
|
||||
install one of the following packages: vim, vim-nox, vim-motif, or vim-gtk3.
|
||||
|
||||
HOW TO OBTAIN HELP
|
||||
|
||||
Either browse the Vim online help via web starting at
|
||||
|
||||
https://vimhelp.org/
|
||||
|
||||
or ask your administrator to install the "vim-doc" package, which contains the
|
||||
HTML version of the online help and browse it starting at
|
||||
|
||||
/usr/share/doc/vim/html/index.html
|
||||
|
||||
or ask your administrator to install the "vim-runtime" package, re-run vi, and
|
||||
access the online help again. Note that all the above mentioned Vim
|
||||
variants other than "vim-tiny" automatically install the "vim-runtime"
|
||||
package. If you don't suffer from disk space shortage using one of them is
|
||||
recommended.
|
13
debian/tiny/vimrc.tiny.in
vendored
Normal file
13
debian/tiny/vimrc.tiny.in
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
" Vim configuration file, in effect when invoked as "vi". The aim of this
|
||||
" configuration file is to provide a Vim environment as compatible with the
|
||||
" original vi as possible. Note that ~/.vimrc configuration files as other
|
||||
" configuration files in the runtimepath are still sourced.
|
||||
" When Vim is invoked differently ("vim", "view", "evim", ...) this file is
|
||||
" _not_ sourced; /etc/vim/vimrc and/or /etc/vim/gvimrc are.
|
||||
|
||||
" Debian system-wide default configuration Vim
|
||||
set runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/@VIMCUR@,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,~/.vim/after
|
||||
|
||||
set compatible
|
||||
|
||||
" vim: set ft=vim:
|
15
debian/vim-common.dirs
vendored
Normal file
15
debian/vim-common.dirs
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
/etc/
|
||||
/usr/bin/
|
||||
/usr/share/applications/
|
||||
/usr/share/icons/hicolor/48x48/apps/
|
||||
/usr/share/icons/hicolor/scalable/apps/
|
||||
/usr/share/icons/locolor/16x16/apps/
|
||||
/usr/share/icons/locolor/32x32/apps/
|
||||
/usr/share/man/da/man1/
|
||||
/usr/share/man/fr/man1/
|
||||
/usr/share/man/it/man1/
|
||||
/usr/share/man/ja/man1/
|
||||
/usr/share/man/man1/
|
||||
/usr/share/man/pl/man1/
|
||||
/usr/share/man/ru/man1/
|
||||
/var/lib/vim/addons/
|
25
debian/vim-common.install
vendored
Normal file
25
debian/vim-common.install
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
debian/helpztags usr/bin/
|
||||
debian/runtime/debian.vim usr/share/vim/${env:VIMCUR}/
|
||||
debian/runtime/vimrc etc/vim/
|
||||
usr/share/applications/vim.desktop
|
||||
usr/share/vim/${env:VIMCUR}/doc/sponsor.txt
|
||||
usr/share/vim/${env:VIMCUR}/doc/uganda.txt
|
||||
usr/share/vim/${env:VIMCUR}/doc/version${env:VIMMAJOR}.txt
|
||||
usr/share/icons/
|
||||
usr/share/man/da/man1/vim.1
|
||||
usr/share/man/da/man1/vimdiff.1
|
||||
usr/share/man/de/man1/vim.1
|
||||
usr/share/man/fr/man1/vim.1
|
||||
usr/share/man/fr/man1/vimdiff.1
|
||||
usr/share/man/it/man1/vim.1
|
||||
usr/share/man/it/man1/vimdiff.1
|
||||
usr/share/man/ja/man1/vim.1
|
||||
usr/share/man/ja/man1/vimdiff.1
|
||||
usr/share/man/man1/vim.1
|
||||
usr/share/man/man1/vimdiff.1
|
||||
usr/share/man/pl/man1/vim.1
|
||||
usr/share/man/pl/man1/vimdiff.1
|
||||
usr/share/man/ru/man1/vim.1
|
||||
usr/share/man/ru/man1/vimdiff.1
|
||||
usr/share/man/tr/man1/vim.1
|
||||
usr/share/man/tr/man1/vimdiff.1
|
16
debian/vim-common.links
vendored
Normal file
16
debian/vim-common.links
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
usr/share/man/da/man1/vim.1 usr/share/man/da/man1/rview.1
|
||||
usr/share/man/da/man1/vim.1 usr/share/man/da/man1/rvim.1
|
||||
usr/share/man/de/man1/vim.1 usr/share/man/de/man1/rview.1
|
||||
usr/share/man/de/man1/vim.1 usr/share/man/de/man1/rvim.1
|
||||
usr/share/man/fr/man1/vim.1 usr/share/man/fr/man1/rview.1
|
||||
usr/share/man/fr/man1/vim.1 usr/share/man/fr/man1/rvim.1
|
||||
usr/share/man/it/man1/vim.1 usr/share/man/it/man1/rview.1
|
||||
usr/share/man/it/man1/vim.1 usr/share/man/it/man1/rvim.1
|
||||
usr/share/man/ja/man1/vim.1 usr/share/man/ja/man1/rview.1
|
||||
usr/share/man/ja/man1/vim.1 usr/share/man/ja/man1/rvim.1
|
||||
usr/share/man/man1/vim.1 usr/share/man/man1/rview.1
|
||||
usr/share/man/man1/vim.1 usr/share/man/man1/rvim.1
|
||||
usr/share/man/pl/man1/vim.1 usr/share/man/pl/man1/rview.1
|
||||
usr/share/man/pl/man1/vim.1 usr/share/man/pl/man1/rvim.1
|
||||
usr/share/man/ru/man1/vim.1 usr/share/man/ru/man1/rview.1
|
||||
usr/share/man/ru/man1/vim.1 usr/share/man/ru/man1/rvim.1
|
8
debian/vim-common.lintian-overrides
vendored
Normal file
8
debian/vim-common.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Provided by vim (virtual) packages
|
||||
vim-common binary: desktop-command-not-in-package vim [usr/share/applications/vim.desktop]
|
||||
|
||||
# Provided by vim (virtual) packages
|
||||
vim-common binary: spare-manual-page
|
||||
|
||||
# This is Vim's builtin help
|
||||
package-contains-documentation-outside-usr-share-doc [usr/share/vim/vim*/doc/*]
|
1
debian/vim-common.manpages
vendored
Normal file
1
debian/vim-common.manpages
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/helpztags.1
|
4
debian/vim-common.mime
vendored
Normal file
4
debian/vim-common.mime
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
text/plain; view %s; edit=vim %s; compose=vim %s; test=test -x /usr/bin/vim; needsterminal; priority=4
|
||||
text/*; view %s; edit=vim %s; compose=vim %s; test=test -x /usr/bin/vim; needsterminal; priority=2
|
||||
text/plain; view %s; edit=vi %s; compose=vi %s; needsterminal; priority=3
|
||||
text/*; view %s; edit=vi %s; compose=vi %s; needsterminal; priority=1
|
11
debian/vim-doc.doc-base.referencemanual
vendored
Normal file
11
debian/vim-doc.doc-base.referencemanual
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
Document: vim-referencemanual
|
||||
Title: Vim reference manual
|
||||
Author: Bram Moolenaar <bram@vim.org>
|
||||
Section: Editors
|
||||
Abstract: The Vim reference manual
|
||||
This document contains a detailed list of all commands for
|
||||
each mode as well as all configurable options.
|
||||
|
||||
Format: html
|
||||
Index: /usr/share/doc/vim/html/index.html
|
||||
Files: /usr/share/doc/vim/html/*.html
|
11
debian/vim-doc.doc-base.usermanual
vendored
Normal file
11
debian/vim-doc.doc-base.usermanual
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
Document: vim-usermanual
|
||||
Title: Vim user manual
|
||||
Author: Bram Moolenaar <bram@vim.org>
|
||||
Section: Editors
|
||||
Abstract: The Vim user manual.
|
||||
Contains task oriented explanations from simplex to complex
|
||||
on using Vim.
|
||||
|
||||
Format: html
|
||||
Index: /usr/share/doc/vim/html/usr_toc.html
|
||||
Files: /usr/share/doc/vim/html/usr_*.html
|
3
debian/vim-doc.docs
vendored
Normal file
3
debian/vim-doc.docs
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
debian/FAQ
|
||||
debian/policy/vim-policy.html
|
||||
debian/policy/vim-policy.txt
|
1
debian/vim-doc.install
vendored
Normal file
1
debian/vim-doc.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
runtime/doc/*.html usr/share/doc/vim/html/
|
114
debian/vim-gtk3.alternatives
vendored
Normal file
114
debian/vim-gtk3.alternatives
vendored
Normal file
|
@ -0,0 +1,114 @@
|
|||
Name: editor
|
||||
Link: /usr/bin/editor
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Dependents:
|
||||
/usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/editor.1.gz editor.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/editor.1.gz editor.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/editor.1.gz editor.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/editor.1.gz editor.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/editor.1.gz editor.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: eview
|
||||
Link: /usr/bin/eview
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: evim
|
||||
Link: /usr/bin/evim
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: ex
|
||||
Link: /usr/bin/ex
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Dependents:
|
||||
/usr/share/man/man1/ex.1.gz ex.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/ex.1.gz ex.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/ex.1.gz ex.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/ex.1.gz ex.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/ex.1.gz ex.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/ex.1.gz ex.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/ex.1.gz ex.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/ex.1.gz ex.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/ex.1.gz ex.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: gview
|
||||
Link: /usr/bin/gview
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: gvim
|
||||
Link: /usr/bin/gvim
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: gvimdiff
|
||||
Link: /usr/bin/gvimdiff
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: rgview
|
||||
Link: /usr/bin/rgview
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: rgvim
|
||||
Link: /usr/bin/rgvim
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: rview
|
||||
Link: /usr/bin/rview
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: rvim
|
||||
Link: /usr/bin/rvim
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: vi
|
||||
Link: /usr/bin/vi
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Dependents:
|
||||
/usr/share/man/man1/vi.1.gz vi.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/vi.1.gz vi.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/vi.1.gz vi.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/vi.1.gz vi.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/vi.1.gz vi.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/vi.1.gz vi.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/vi.1.gz vi.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/vi.1.gz vi.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/vi.1.gz vi.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: view
|
||||
Link: /usr/bin/view
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Dependents:
|
||||
/usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/view.1.gz view.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/view.1.gz view.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/view.1.gz view.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/view.1.gz view.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/view.1.gz view.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/view.1.gz view.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/view.1.gz view.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/view.1.gz view.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: vim
|
||||
Link: /usr/bin/vim
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
||||
|
||||
Name: vimdiff
|
||||
Link: /usr/bin/vimdiff
|
||||
Alternative: /usr/bin/vim.gtk3
|
||||
Priority: 50
|
1
debian/vim-gtk3.install
vendored
Normal file
1
debian/vim-gtk3.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
src/vim-gtk3/vim.gtk3 usr/bin/
|
2
debian/vim-gtk3.lintian-overrides
vendored
Normal file
2
debian/vim-gtk3.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# vim.xxx files are alternatives for (g)vim, which has a manpage in vim(-gui)-common
|
||||
no-manual-page [usr/bin/vim.gtk3]
|
11
debian/vim-gui-common.dirs
vendored
Normal file
11
debian/vim-gui-common.dirs
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/etc/
|
||||
/usr/bin/
|
||||
/usr/share/applications/
|
||||
/usr/share/man/da/man1/
|
||||
/usr/share/man/de/man1/
|
||||
/usr/share/man/fr/man1/
|
||||
/usr/share/man/it/man1/
|
||||
/usr/share/man/ja/man1/
|
||||
/usr/share/man/man1/
|
||||
/usr/share/man/pl/man1/
|
||||
/usr/share/man/ru/man1/
|
10
debian/vim-gui-common.install
vendored
Normal file
10
debian/vim-gui-common.install
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
debian/runtime/gvimrc etc/vim/
|
||||
usr/bin/gvimtutor
|
||||
usr/share/applications/gvim.desktop
|
||||
usr/share/man/fr/man1/evim.1
|
||||
usr/share/man/it/man1/evim.1
|
||||
usr/share/man/ja/man1/evim.1
|
||||
usr/share/man/man1/evim.1
|
||||
usr/share/man/pl/man1/evim.1
|
||||
usr/share/man/ru/man1/evim.1
|
||||
usr/share/man/tr/man1/evim.1
|
31
debian/vim-gui-common.links
vendored
Normal file
31
debian/vim-gui-common.links
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
etc/vim/gvimrc usr/share/vim/gvimrc
|
||||
usr/share/man/da/man1/gvim.1 usr/share/man/da/man1/gview.1
|
||||
usr/share/man/da/man1/gvim.1 usr/share/man/da/man1/rgview.1
|
||||
usr/share/man/da/man1/gvim.1 usr/share/man/da/man1/rgvim.1
|
||||
usr/share/man/de/man1/gvim.1 usr/share/man/de/man1/gview.1
|
||||
usr/share/man/de/man1/gvim.1 usr/share/man/de/man1/rgview.1
|
||||
usr/share/man/de/man1/gvim.1 usr/share/man/de/man1/rgvim.1
|
||||
usr/share/man/fr/man1/evim.1 usr/share/man/fr/man1/eview.1
|
||||
usr/share/man/fr/man1/gvim.1 usr/share/man/fr/man1/gview.1
|
||||
usr/share/man/fr/man1/gvim.1 usr/share/man/fr/man1/rgview.1
|
||||
usr/share/man/fr/man1/gvim.1 usr/share/man/fr/man1/rgvim.1
|
||||
usr/share/man/it/man1/evim.1 usr/share/man/it/man1/eview.1
|
||||
usr/share/man/it/man1/gvim.1 usr/share/man/it/man1/gview.1
|
||||
usr/share/man/it/man1/gvim.1 usr/share/man/it/man1/rgview.1
|
||||
usr/share/man/it/man1/gvim.1 usr/share/man/it/man1/rgvim.1
|
||||
usr/share/man/ja/man1/evim.1 usr/share/man/ja/man1/eview.1
|
||||
usr/share/man/ja/man1/gvim.1 usr/share/man/ja/man1/gview.1
|
||||
usr/share/man/ja/man1/gvim.1 usr/share/man/ja/man1/rgview.1
|
||||
usr/share/man/ja/man1/gvim.1 usr/share/man/ja/man1/rgvim.1
|
||||
usr/share/man/man1/evim.1 usr/share/man/man1/eview.1
|
||||
usr/share/man/man1/gvim.1 usr/share/man/man1/gview.1
|
||||
usr/share/man/man1/gvim.1 usr/share/man/man1/rgview.1
|
||||
usr/share/man/man1/gvim.1 usr/share/man/man1/rgvim.1
|
||||
usr/share/man/pl/man1/evim.1 usr/share/man/pl/man1/eview.1
|
||||
usr/share/man/pl/man1/gvim.1 usr/share/man/pl/man1/gview.1
|
||||
usr/share/man/pl/man1/gvim.1 usr/share/man/pl/man1/rgview.1
|
||||
usr/share/man/pl/man1/gvim.1 usr/share/man/pl/man1/rgvim.1
|
||||
usr/share/man/ru/man1/evim.1 usr/share/man/ru/man1/eview.1
|
||||
usr/share/man/ru/man1/gvim.1 usr/share/man/ru/man1/gview.1
|
||||
usr/share/man/ru/man1/gvim.1 usr/share/man/ru/man1/rgview.1
|
||||
usr/share/man/ru/man1/gvim.1 usr/share/man/ru/man1/rgvim.1
|
5
debian/vim-gui-common.lintian-overrides
vendored
Normal file
5
debian/vim-gui-common.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Provided by gvim (virtual) packages
|
||||
vim-gui-common binary: desktop-command-not-in-package gvim [usr/share/applications/gvim.desktop]
|
||||
|
||||
# Provided by gvim (virtual) packages
|
||||
vim-gui-common binary: spare-manual-page
|
2
debian/vim-gui-common.mime
vendored
Normal file
2
debian/vim-gui-common.mime
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
text/plain; gview -f %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != ""; priority=4
|
||||
text/*; gview -f %s; edit=gvim -f %s; compose=gvim -f %s; test=test "$DISPLAY" != "" ; priority=2
|
114
debian/vim-motif.alternatives
vendored
Normal file
114
debian/vim-motif.alternatives
vendored
Normal file
|
@ -0,0 +1,114 @@
|
|||
Name: editor
|
||||
Link: /usr/bin/editor
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Dependents:
|
||||
/usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/editor.1.gz editor.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/editor.1.gz editor.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/editor.1.gz editor.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/editor.1.gz editor.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/editor.1.gz editor.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: eview
|
||||
Link: /usr/bin/eview
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: evim
|
||||
Link: /usr/bin/evim
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: ex
|
||||
Link: /usr/bin/ex
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Dependents:
|
||||
/usr/share/man/man1/ex.1.gz ex.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/ex.1.gz ex.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/ex.1.gz ex.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/ex.1.gz ex.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/ex.1.gz ex.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/ex.1.gz ex.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/ex.1.gz ex.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/ex.1.gz ex.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/ex.1.gz ex.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: gview
|
||||
Link: /usr/bin/gview
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: gvim
|
||||
Link: /usr/bin/gvim
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: gvimdiff
|
||||
Link: /usr/bin/gvimdiff
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: rgview
|
||||
Link: /usr/bin/rgview
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: rgvim
|
||||
Link: /usr/bin/rgvim
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: rview
|
||||
Link: /usr/bin/rview
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: rvim
|
||||
Link: /usr/bin/rvim
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: vi
|
||||
Link: /usr/bin/vi
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Dependents:
|
||||
/usr/share/man/man1/vi.1.gz vi.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/vi.1.gz vi.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/vi.1.gz vi.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/vi.1.gz vi.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/vi.1.gz vi.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/vi.1.gz vi.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/vi.1.gz vi.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/vi.1.gz vi.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/vi.1.gz vi.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: view
|
||||
Link: /usr/bin/view
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Dependents:
|
||||
/usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/view.1.gz view.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/view.1.gz view.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/view.1.gz view.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/view.1.gz view.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/view.1.gz view.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/view.1.gz view.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/view.1.gz view.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/view.1.gz view.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 50
|
||||
|
||||
Name: vim
|
||||
Link: /usr/bin/vim
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
||||
|
||||
Name: vimdiff
|
||||
Link: /usr/bin/vimdiff
|
||||
Alternative: /usr/bin/vim.motif
|
||||
Priority: 50
|
1
debian/vim-motif.install
vendored
Normal file
1
debian/vim-motif.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
src/vim-motif/vim.motif usr/bin/
|
2
debian/vim-motif.lintian-overrides
vendored
Normal file
2
debian/vim-motif.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# vim.xxx files are alternatives for (g)vim, which has a manpage in vim(-gui)-common
|
||||
no-manual-page [usr/bin/vim.motif]
|
79
debian/vim-nox.alternatives
vendored
Normal file
79
debian/vim-nox.alternatives
vendored
Normal file
|
@ -0,0 +1,79 @@
|
|||
Name: editor
|
||||
Link: /usr/bin/editor
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Dependents:
|
||||
/usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/editor.1.gz editor.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/editor.1.gz editor.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/editor.1.gz editor.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/editor.1.gz editor.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/editor.1.gz editor.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 40
|
||||
|
||||
Name: ex
|
||||
Link: /usr/bin/ex
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Dependents:
|
||||
/usr/share/man/man1/ex.1.gz ex.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/ex.1.gz ex.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/ex.1.gz ex.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/ex.1.gz ex.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/ex.1.gz ex.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/ex.1.gz ex.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/ex.1.gz ex.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/ex.1.gz ex.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/ex.1.gz ex.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 40
|
||||
|
||||
Name: rview
|
||||
Link: /usr/bin/rview
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Priority: 40
|
||||
|
||||
Name: rvim
|
||||
Link: /usr/bin/rvim
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Priority: 40
|
||||
|
||||
Name: vi
|
||||
Link: /usr/bin/vi
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Dependents:
|
||||
/usr/share/man/man1/vi.1.gz vi.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/vi.1.gz vi.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/vi.1.gz vi.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/vi.1.gz vi.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/vi.1.gz vi.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/vi.1.gz vi.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/vi.1.gz vi.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/vi.1.gz vi.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/vi.1.gz vi.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 40
|
||||
|
||||
Name: view
|
||||
Link: /usr/bin/view
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Dependents:
|
||||
/usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/view.1.gz view.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/view.1.gz view.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/view.1.gz view.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/view.1.gz view.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/view.1.gz view.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/view.1.gz view.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/view.1.gz view.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/view.1.gz view.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 40
|
||||
|
||||
Name: vim
|
||||
Link: /usr/bin/vim
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Priority: 40
|
||||
|
||||
Name: vimdiff
|
||||
Link: /usr/bin/vimdiff
|
||||
Alternative: /usr/bin/vim.nox
|
||||
Priority: 40
|
1
debian/vim-nox.install
vendored
Normal file
1
debian/vim-nox.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
src/vim-nox/vim.nox usr/bin/
|
2
debian/vim-nox.lintian-overrides
vendored
Normal file
2
debian/vim-nox.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# vim.xxx files are alternatives for (g)vim, which has a manpage in vim(-gui)-common
|
||||
no-manual-page [usr/bin/vim.nox]
|
10
debian/vim-runtime.dirs
vendored
Normal file
10
debian/vim-runtime.dirs
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
/usr/bin/
|
||||
/usr/share/man/da/man1/
|
||||
/usr/share/man/fr/man1/
|
||||
/usr/share/man/it/man1/
|
||||
/usr/share/man/ja/man1/
|
||||
/usr/share/man/man1/
|
||||
/usr/share/man/pl/man1/
|
||||
/usr/share/man/ru/man1/
|
||||
/usr/share/vim/addons/
|
||||
/usr/share/vim/registry/
|
10
debian/vim-runtime.install
vendored
Normal file
10
debian/vim-runtime.install
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
usr/bin/vimtutor
|
||||
usr/share/man/da/man1/vimtutor.1
|
||||
usr/share/man/fr/man1/vimtutor.1
|
||||
usr/share/man/it/man1/vimtutor.1
|
||||
usr/share/man/ja/man1/vimtutor.1
|
||||
usr/share/man/man1/vimtutor.1
|
||||
usr/share/man/pl/man1/vimtutor.1
|
||||
usr/share/man/ru/man1/vimtutor.1
|
||||
usr/share/man/tr/man1/vimtutor.1
|
||||
usr/share/vim/
|
9
debian/vim-runtime.lintian-overrides
vendored
Normal file
9
debian/vim-runtime.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
# These are intentionally in non-UTF-8 encodings
|
||||
national-encoding [usr/share/vim/vim*/keymap/*]
|
||||
national-encoding [usr/share/vim/vim*/lang/*]
|
||||
national-encoding [usr/share/vim/vim*/tutor/*]
|
||||
|
||||
# This is Vim's builtin help
|
||||
package-contains-documentation-outside-usr-share-doc [usr/share/vim/vim*/doc/*]
|
||||
|
||||
repeated-path-segment dvorak [usr/share/vim/vim*/pack/dist/opt/dvorak/dvorak/]
|
12
debian/vim-runtime.postinst
vendored
Normal file
12
debian/vim-runtime.postinst
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Need to run helpztags since we're overwriting /u/s/v/a/d/tags whenever
|
||||
# vim-runtime is install/upgraded which breaks the help for other vim addons
|
||||
if which helpztags >/dev/null 2>&1; then
|
||||
helpztags /usr/share/vim/addons/doc
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
28
debian/vim-runtime.postrm.in
vendored
Normal file
28
debian/vim-runtime.postrm.in
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
vimcur="@VIMCUR@"
|
||||
basedir=/usr/share/vim/$vimcur/doc
|
||||
|
||||
rm_diversion() {
|
||||
dpkg-divert --package vim-runtime --rename --remove "$1"
|
||||
}
|
||||
|
||||
# When upgrading to a new major upstream release, we need to remove the old
|
||||
# vim-tiny help(tags) diversions
|
||||
major_upgrade() {
|
||||
newver="${1#?:}"
|
||||
newver="vim$(echo ${newver%.*-*} | sed 's/\.//g')"
|
||||
[ "$newver" != "$vimcur" ]
|
||||
}
|
||||
|
||||
rm -f /usr/share/vim/addons/doc/tags
|
||||
if [ "$1" = "remove" -o "$1" = "abort-install" -o "$1" = "disappear" ] \
|
||||
|| ([ "$1" = "upgrade" ] && major_upgrade $2); then
|
||||
rm_diversion $basedir/help.txt
|
||||
rm_diversion $basedir/tags
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
27
debian/vim-runtime.preinst.in
vendored
Normal file
27
debian/vim-runtime.preinst.in
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
vimcur="@VIMCUR@"
|
||||
basedir=/usr/share/vim/$vimcur/doc
|
||||
|
||||
add_diversion() {
|
||||
dpkg-divert --package vim-runtime --add --rename \
|
||||
--divert "$1.vim-tiny" "$1"
|
||||
}
|
||||
|
||||
major_upgrade() {
|
||||
oldver="${1#?:}"
|
||||
oldver="vim$(echo ${oldver%.*-*} | sed 's/\.//g')"
|
||||
[ "$oldver" != "$vimcur" ]
|
||||
}
|
||||
|
||||
# Add diversions for any non-upgrade operation or when upgrading across major
|
||||
# upstream versions.
|
||||
if [ "$1" != "upgrade" ] || major_upgrade $2; then
|
||||
add_diversion $basedir/help.txt
|
||||
add_diversion $basedir/tags
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
64
debian/vim-tiny.alternatives
vendored
Normal file
64
debian/vim-tiny.alternatives
vendored
Normal file
|
@ -0,0 +1,64 @@
|
|||
Name: editor
|
||||
Link: /usr/bin/editor
|
||||
Alternative: /usr/bin/vim.tiny
|
||||
Dependents:
|
||||
/usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/editor.1.gz editor.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/editor.1.gz editor.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/editor.1.gz editor.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/editor.1.gz editor.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/editor.1.gz editor.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 15
|
||||
|
||||
Name: ex
|
||||
Link: /usr/bin/ex
|
||||
Alternative: /usr/bin/vim.tiny
|
||||
Dependents:
|
||||
/usr/share/man/man1/ex.1.gz ex.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/ex.1.gz ex.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/ex.1.gz ex.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/ex.1.gz ex.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/ex.1.gz ex.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/ex.1.gz ex.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/ex.1.gz ex.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/ex.1.gz ex.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/ex.1.gz ex.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 15
|
||||
|
||||
Name: rview
|
||||
Link: /usr/bin/rview
|
||||
Alternative: /usr/bin/vim.tiny
|
||||
Priority: 15
|
||||
|
||||
Name: vi
|
||||
Link: /usr/bin/vi
|
||||
Alternative: /usr/bin/vim.tiny
|
||||
Dependents:
|
||||
/usr/share/man/man1/vi.1.gz vi.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/vi.1.gz vi.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/vi.1.gz vi.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/vi.1.gz vi.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/vi.1.gz vi.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/vi.1.gz vi.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/vi.1.gz vi.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/vi.1.gz vi.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/vi.1.gz vi.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 15
|
||||
|
||||
Name: view
|
||||
Link: /usr/bin/view
|
||||
Alternative: /usr/bin/vim.tiny
|
||||
Dependents:
|
||||
/usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/view.1.gz view.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/view.1.gz view.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/view.1.gz view.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/view.1.gz view.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/view.1.gz view.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/view.1.gz view.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/view.1.gz view.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/view.1.gz view.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 15
|
1
debian/vim-tiny.dirs
vendored
Normal file
1
debian/vim-tiny.dirs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/share/vim
|
3
debian/vim-tiny.install
vendored
Normal file
3
debian/vim-tiny.install
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
src/vim-tiny/vim.tiny usr/bin/
|
||||
debian/tiny/doc/ usr/share/vim/${env:VIMCUR}/
|
||||
debian/tiny/vimrc.tiny etc/vim/
|
2
debian/vim-tiny.lintian-overrides
vendored
Normal file
2
debian/vim-tiny.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# vim.xxx files are alternatives for (g)vim, which has a manpage in vim(-gui)-common
|
||||
no-manual-page [usr/bin/vim.tiny]
|
79
debian/vim.alternatives
vendored
Normal file
79
debian/vim.alternatives
vendored
Normal file
|
@ -0,0 +1,79 @@
|
|||
Name: editor
|
||||
Link: /usr/bin/editor
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Dependents:
|
||||
/usr/share/man/man1/editor.1.gz editor.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/editor.1.gz editor.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/editor.1.gz editor.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/editor.1.gz editor.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/editor.1.gz editor.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/editor.1.gz editor.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/editor.1.gz editor.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/editor.1.gz editor.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/editor.1.gz editor.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 30
|
||||
|
||||
Name: ex
|
||||
Link: /usr/bin/ex
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Dependents:
|
||||
/usr/share/man/man1/ex.1.gz ex.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/ex.1.gz ex.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/ex.1.gz ex.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/ex.1.gz ex.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/ex.1.gz ex.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/ex.1.gz ex.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/ex.1.gz ex.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/ex.1.gz ex.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/ex.1.gz ex.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 30
|
||||
|
||||
Name: rview
|
||||
Link: /usr/bin/rview
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Priority: 30
|
||||
|
||||
Name: rvim
|
||||
Link: /usr/bin/rvim
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Priority: 30
|
||||
|
||||
Name: vi
|
||||
Link: /usr/bin/vi
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Dependents:
|
||||
/usr/share/man/man1/vi.1.gz vi.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/vi.1.gz vi.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/vi.1.gz vi.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/vi.1.gz vi.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/vi.1.gz vi.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/vi.1.gz vi.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/vi.1.gz vi.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/vi.1.gz vi.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/vi.1.gz vi.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 30
|
||||
|
||||
Name: view
|
||||
Link: /usr/bin/view
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Dependents:
|
||||
/usr/share/man/man1/view.1.gz view.1.gz /usr/share/man/man1/vim.1.gz
|
||||
/usr/share/man/da/man1/view.1.gz view.da.1.gz /usr/share/man/da/man1/vim.1.gz
|
||||
/usr/share/man/de/man1/view.1.gz view.de.1.gz /usr/share/man/de/man1/vim.1.gz
|
||||
/usr/share/man/fr/man1/view.1.gz view.fr.1.gz /usr/share/man/fr/man1/vim.1.gz
|
||||
/usr/share/man/it/man1/view.1.gz view.it.1.gz /usr/share/man/it/man1/vim.1.gz
|
||||
/usr/share/man/ja/man1/view.1.gz view.ja.1.gz /usr/share/man/ja/man1/vim.1.gz
|
||||
/usr/share/man/pl/man1/view.1.gz view.pl.1.gz /usr/share/man/pl/man1/vim.1.gz
|
||||
/usr/share/man/ru/man1/view.1.gz view.ru.1.gz /usr/share/man/ru/man1/vim.1.gz
|
||||
/usr/share/man/tr/man1/view.1.gz view.tr.1.gz /usr/share/man/tr/man1/vim.1.gz
|
||||
Priority: 30
|
||||
|
||||
Name: vim
|
||||
Link: /usr/bin/vim
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Priority: 30
|
||||
|
||||
Name: vimdiff
|
||||
Link: /usr/bin/vimdiff
|
||||
Alternative: /usr/bin/vim.basic
|
||||
Priority: 30
|
1
debian/vim.dirs
vendored
Normal file
1
debian/vim.dirs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/usr/bin
|
1
debian/vim.install
vendored
Normal file
1
debian/vim.install
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
src/vim-basic/vim.basic usr/bin/
|
2
debian/vim.lintian-overrides
vendored
Normal file
2
debian/vim.lintian-overrides
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# vim.xxx files are alternatives for (g)vim, which has a manpage in vim(-gui)-common
|
||||
no-manual-page [usr/bin/vim.basic]
|
4
debian/watch
vendored
Normal file
4
debian/watch
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
version=4
|
||||
opts=filenamemangle=s%(?:.*?)?v(\d[\d.]+)\.tar\.gz%vim-$1.tar.gz% \
|
||||
https://github.com/vim/vim/tags \
|
||||
(?:.*?)?v(\d[\d.]+)\.tar\.gz
|
Loading…
Add table
Add a link
Reference in a new issue