Bug#149077: marked as done (vim: patch for perl+python+ruby+tcl support in a single vim package)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 24 Apr 2005 15:03:11 -0700


Your message dated Sun, 24 Apr 2005 17:34:21 -0400
with message-id <E1DPok9-0002oI-00@newraff.debian.org>
and subject line Bug#149077: fixed in vim 1:6.3-071+1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 5 Jun 2002 00:21:00 +0000
>From mgedmin@delfi.lt Tue Jun 04 19:21:00 2002
Return-path: <mgedmin@delfi.lt>
Received: from adsl-212-59-30-243.takas.lt (mg.homelinux.net) [212.59.30.243] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17FOXi-0000S9-00; Tue, 04 Jun 2002 19:20:53 -0500
Received: by mg.homelinux.net (Postfix, from userid 1000)
	id 661391403F; Wed,  5 Jun 2002 02:20:23 +0200 (EET)
Date: Wed, 5 Jun 2002 02:20:23 +0200
From: Marius Gedminas <mgedmin@delfi.lt>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim: patch for perl+python+ruby+tcl support in a single vim package
Message-ID: <20020605002023.GA25367@gintaras>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Reportbug-Version: 1.99.34
X-URL: http://ice.dammit.lt/~mgedmin/
Delivered-To: submit@bugs.debian.org

Package: vim
Version: 6.1.048-1
Severity: wishlist
Tags: patch

Occasionaly I want to use both Perl and Python scripting in a single VIM
session.  Currently there's no way to do that.  Even using different
scripting languages in different VIM sessions is difficult and requires
removal of one package and installation of another.  Not to mention that
there's no way for different users to use VIM with different
interpreters at the same time.

Here is a patch that adds a new package, vim-all, that has support for
all four interpreters.  It doesn't add much bloat -- installed-size is
only 24 kb larger than that of vim-perl alone.  The name vim-all is not
very descriptive, but I decided that vim-all-interpreters was too long.


diff -urp vim-6.1.048.old/debian/control vim-6.1.048.new/debian/control
--- vim-6.1.048.old/debian/control	Fri May  3 19:46:51 2002
+++ vim-6.1.048.new/debian/control	Tue Jun  4 23:44:16 2002
@@ -23,8 +23,8 @@ Package: vim-gtk
 Architecture: any
 Depends: vim (= ${dpkg:Version}), ${shlibs:Depends}
 Suggests: ctags, cscope
-Conflicts: vim-tiny, vim-perl, vim-python, vim-ruby, vim-tcl, vim-tty
-Replaces: vim-tiny, vim-perl, vim-python, vim-ruby, vim-tcl, vim-tty
+Conflicts: vim-tiny, vim-perl, vim-python, vim-ruby, vim-tcl, vim-tty, vim-all
+Replaces: vim-tiny, vim-perl, vim-python, vim-ruby, vim-tcl, vim-tty, vim-all
 Description: Vi IMproved - GTK version
  Vim is an almost compatible version of the UNIX editor Vi.  Many new
  features have been added: multi level undo, syntax highlighting,
@@ -38,8 +38,8 @@ Package: vim-perl
 Architecture: any
 Depends: vim (= ${dpkg:Version}), ${shlibs:Depends}
 Suggests: ctags, cscope
-Conflicts: vim-tiny, vim-python, vim-gtk, vim-ruby, vim-tcl, vim-tty
-Replaces: vim-tiny, vim-python, vim-gtk, vim-ruby, vim-tcl, vim-tty
+Conflicts: vim-tiny, vim-python, vim-gtk, vim-ruby, vim-tcl, vim-tty, vim-all
+Replaces: vim-tiny, vim-python, vim-gtk, vim-ruby, vim-tcl, vim-tty, vim-all
 Description: Vi IMproved, with perl scripting support
  Vim is an almost compatible version of the UNIX editor Vi.  Many new
  features have been added: multi level undo, syntax highlighting,
@@ -53,8 +53,8 @@ Package: vim-python
 Architecture: any
 Depends: vim (= ${dpkg:Version}), ${shlibs:Depends}
 Suggests: ctags, cscope
-Conflicts: vim-tiny, vim-perl, vim-gtk, vim-tcl, vim-tty
-Replaces: vim-tiny, vim-perl, vim-gtk, vim-tcl, vim-tty
+Conflicts: vim-tiny, vim-perl, vim-gtk, vim-tcl, vim-tty, vim-all
+Replaces: vim-tiny, vim-perl, vim-gtk, vim-tcl, vim-tty, vim-all
 Description: Vi IMproved, with python scripting support
  Vim is an almost compatible version of the UNIX editor Vi.  Many new
  features have been added: multi level undo, syntax highlighting,
@@ -68,8 +68,8 @@ Package: vim-ruby
 Architecture: any
 Depends: vim (= ${dpkg:Version}), ${shlibs:Depends}
 Suggests: ctags, cscope
-Conflicts: vim-tiny, vim-perl, vim-gtk, vim-python, vim-tcl, vim-tty
-Replaces: vim-tiny, vim-perl, vim-gtk, vim-python, vim-tcl, vim-tty
+Conflicts: vim-tiny, vim-perl, vim-gtk, vim-python, vim-tcl, vim-tty, vim-all
+Replaces: vim-tiny, vim-perl, vim-gtk, vim-python, vim-tcl, vim-tty, vim-all
 Description: Vi IMproved, with ruby scripting support
  Vim is an almost compatible version of the UNIX editor Vi.  Many new
  features have been added: multi level undo, syntax highlighting,
@@ -83,8 +83,8 @@ Package: vim-tcl
 Architecture: any
 Depends: vim (= ${dpkg:Version}), ${shlibs:Depends}
 Suggests: ctags, cscope
-Conflicts: vim-tiny, vim-perl, vim-gtk, vim-python, vim-ruby, vim-tty
-Replaces: vim-tiny, vim-perl, vim-gtk, vim-python, vim-ruby, vim-tty
+Conflicts: vim-tiny, vim-perl, vim-gtk, vim-python, vim-ruby, vim-tty, vim-all
+Replaces: vim-tiny, vim-perl, vim-gtk, vim-python, vim-ruby, vim-tty, vim-all
 Description: Vi IMproved, with tcl scripting support
  Vim is an almost compatible version of the UNIX editor Vi.  Many new
  features have been added: multi level undo, syntax highlighting,
@@ -93,4 +93,19 @@ Description: Vi IMproved, with tcl scrip
  .
  This package contains a version of vim compiled with tcl scripting
  support.
+
+Package: vim-all
+Architecture: any
+Depends: vim (= ${dpkg:Version}), ${shlibs:Depends}
+Suggests: ctags, cscope
+Conflicts: vim-tiny, vim-perl, vim-gtk, vim-python, vim-ruby, vim-tcl, vim-tty
+Replaces: vim-tiny, vim-perl, vim-gtk, vim-python, vim-ruby, vim-tcl, vim-tty
+Description: Vi IMproved, with perl/python/ruby/tcl scripting 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 perl, python, ruby, and
+ tcl scripting support.
 
diff -urp vim-6.1.048.old/debian/rules vim-6.1.048.new/debian/rules
--- vim-6.1.048.old/debian/rules	Thu Apr  4 12:58:15 2002
+++ vim-6.1.048.new/debian/rules	Tue Jun  4 22:41:37 2002
@@ -14,7 +14,7 @@ guiflags	= --with-x --enable-gui=gtk --e
 
 clean:
 	make distclean
-	rm -f src/vim-gtk src/vim-perl src/vim-python src/vim-ruby src/vim-tcl src/vim-tiny
+	rm -f src/vim-gtk src/vim-perl src/vim-python src/vim-ruby src/vim-tcl src/vim-tiny src/vim-all
 	rm -rf $(tmpdir)
 	rm -f debian/files debian/substvars
 
@@ -54,7 +54,13 @@ src/vim-tcl:
 	make
 	mv src/vim src/vim-tcl
 
-build: src/vim-tiny src/vim-gtk src/vim-perl src/vim-python src/vim-ruby src/vim-tcl
+src/vim-all:
+	make clean
+	CFLAGS="$(CFLAGS) -DFEAT_SIGNS -DFEAT_RIGHTLEFT" ./configure $(cfgflags) $(optflags) $(guiflags) --enable-perlinterp --enable-pythoninterp --enable-rubyinterp --enable-tclinterp
+	make
+	mv src/vim src/vim-all
+
+build: src/vim-tiny src/vim-gtk src/vim-perl src/vim-python src/vim-ruby src/vim-tcl src/vim-all
 
 binary-prepare:
 	rm -rf $(tmpdir)
@@ -173,7 +179,7 @@ binary-vim-variants:
 	install -d -o root -g root -m 755 $(tmpdir)/usr/share/lintian/overrides
 	install -d -o root -g root -m 755 $(tmpdir)/DEBIAN
 
-	for v in gtk perl python ruby tcl ; do \
+	for v in gtk perl python ruby tcl all ; do \
 		install -p -o root -g root -m 755 src/vim-$$v $(tmpdir)/usr/bin/vim ; \
 		strip --strip-unneeded --remove-section=.comment \
 			--remove-section=.note $(tmpdir)/usr/bin/vim ; \



I see no reason for having separate vim-{perl,python,ruby,tcl} packages
when vim can be configured to support all interpreters at the same time.
Okay, I can see one reason: avoiding library dependencies (maybe I need
vim-perl but have no disk space for python/perl/ruby).  Therefore I do
not suggest the removal of vim-{perl,python,ruby,tcl} at this time.
(Unless you think that would simplify maintenance, or decrease build
time, or whatever.)

BTW bugs #67823 and #123959 are related to this.  I think adding vim-all
would nullify the issues raised there, and the bugs could be closed.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux mg 2.4.18 #1 Wed Apr 24 20:17:10 EET 2002 i686
Locale: LANG=C, LC_CTYPE=lt_LT

Versions of packages vim depends on:
ii  dpkg                     1.9.21          Package maintenance system for Deb
ii  libc6                    2.2.5-6         GNU C Library: Shared libraries an
ii  libgpmg1                 1.19.6-12       General Purpose Mouse Library [lib
ii  libncurses5              5.2.20020112a-8 Shared libraries for terminal hand

-- no debconf information

Marius Gedminas
-- 
Be cheerful. Strive to be happy

Oh, and we just set fire to your desktop.

---------------------------------------
Received: (at 149077-close) by bugs.debian.org; 24 Apr 2005 21:51:18 +0000
>From joerg@newraff.debian.org Sun Apr 24 14:51:18 2005
Return-path: <joerg@newraff.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DPp0Y-0007vi-00; Sun, 24 Apr 2005 14:51:18 -0700
Received: from joerg by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DPok9-0002oI-00; Sun, 24 Apr 2005 17:34:21 -0400
From: Norbert Tretkowski <nobse@debian.org>
To: 149077-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#149077: fixed in vim 1:6.3-071+1
Message-Id: <E1DPok9-0002oI-00@newraff.debian.org>
Sender: Joerg Jaspert <joerg@newraff.debian.org>
Date: Sun, 24 Apr 2005 17:34:21 -0400
Delivered-To: 149077-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 5

Source: vim
Source-Version: 1:6.3-071+1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

vim-common_6.3-071+1_all.deb
  to pool/main/v/vim/vim-common_6.3-071+1_all.deb
vim-doc_6.3-071+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-071+1_all.deb
vim-full_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-full_6.3-071+1_i386.deb
vim-gnome_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-gnome_6.3-071+1_i386.deb
vim-gtk_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-gtk_6.3-071+1_i386.deb
vim-lesstif_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-lesstif_6.3-071+1_i386.deb
vim-perl_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-perl_6.3-071+1_i386.deb
vim-python_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-python_6.3-071+1_i386.deb
vim-ruby_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-ruby_6.3-071+1_i386.deb
vim-tcl_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-tcl_6.3-071+1_i386.deb
vim_6.3-071+1.diff.gz
  to pool/main/v/vim/vim_6.3-071+1.diff.gz
vim_6.3-071+1.dsc
  to pool/main/v/vim/vim_6.3-071+1.dsc
vim_6.3-071+1_i386.deb
  to pool/main/v/vim/vim_6.3-071+1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 149077@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Tretkowski <nobse@debian.org> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 24 Apr 2005 17:26:49 +0200
Source: vim
Binary: vim-full vim-lesstif vim-common vim-doc vim-gnome vim vim-gtk vim-perl vim-tiny vim-ruby vim-python vim-tcl
Architecture: source i386 all
Version: 1:6.3-071+1
Distribution: unstable
Urgency: medium
Maintainer: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Changed-By: Norbert Tretkowski <nobse@debian.org>
Description: 
 vim        - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - Documentation files
 vim-full   - Vi IMproved - full fledged version of the enhanced vi editor
 vim-gnome  - Vi IMproved - GNOME2 Version
 vim-gtk    - Vi IMproved - GTK2 Version
 vim-lesstif - Vi IMproved - LessTif Version
 vim-perl   - Vi IMproved, with perl scripting support
 vim-python - Vi IMproved, with python scripting support
 vim-ruby   - Vi IMproved, with ruby scripting support
 vim-tcl    - Vi IMproved, with tcl scripting support
Closes: 149077 158657 220969 279378 280386 302830
Changes: 
 vim (1:6.3-071+1) unstable; urgency=medium
 .
   * New upstream patches (069 to 071), see README.gz for details.
 .
   * Norbert Tretkowski <nobse@debian.org>:
     + Re-add dh_installdirs to vim-variant part in debian/rules, so copying
       the desktop file no longer fails. (closes: #302830)
     + Enabled backupcopy in global vimrc. (closes: #158657)
 .
   * Stefano Zacchiroli <zack@debian.org>:
     + Added vim-full variant with support for gnome and all interpreters.
       (closes: #149077)
     + Added /usr/share/common-licenses/ reference to debian/copyright.
     + Remove debian/helpztags.1 on debian/rules clean (generated file).
     + Updated patch 118_ocaml.vim.diff (new upstream).
     + Added patch 122_html_indent.vim.diff, remove <bs> from indentkeys for
       html. (closes: #280386)
     + Added patch 401_doc_exrc.diff, fixes starting doc about "_exrc".
       (closes: #279378)
     + Suggests vim-scripts in debian/control.
 .
   * Matthijs Mohlmann <matthijs@cacholong.nl>:
     + Fixes menu entry with icon (wrong syntax used in menu file), thanks to
       Alexis Sukrieh <sukria@sukria.net>.
 .
   * James Vega <jamessan@jamessan.com>:
     + Added patch 120_perl.vim.diff, update $VIMRUNTIME/syntax/perl.vim from
       the author which fixes block indentation in packages. (closes: #220969)
     + Added patch 121_perl.vim.diff, which adds syntax recognition for
       CHECK/INIT blocks (similar to BEGIN/END).
Files: 
 001eacbd17651a50aef9d658e2e2ec98 1368 editors optional vim_6.3-071+1.dsc
 0650385a79d63350fa5bc3d99fc380ca 261178 editors optional vim_6.3-071+1.diff.gz
 908f7376369bc7166e903e77d2af6545 1649350 editors optional vim-doc_6.3-071+1_all.deb
 be1c6ebc6eaae4138abdd2b4b7bac815 3425268 editors optional vim-common_6.3-071+1_all.deb
 51851cd3ab47accac45ed1b13b035c51 706912 editors optional vim_6.3-071+1_i386.deb
 46dce3e5eb9f077609792b8ffbdcadcc 730212 editors extra vim-perl_6.3-071+1_i386.deb
 10e8a89ddc977ad7ffcc573b2db4b963 722820 editors extra vim-python_6.3-071+1_i386.deb
 1b4d4ab935f444310903adf8eb519d0a 718698 editors extra vim-ruby_6.3-071+1_i386.deb
 736ad3a47e891b758fabacb2b85b2e04 722616 editors extra vim-tcl_6.3-071+1_i386.deb
 293285defedc396cc4d4966c71a8bb31 715076 editors extra vim-gtk_6.3-071+1_i386.deb
 b3afc25848a18e2d984f8d580aaadb71 657432 editors extra vim-lesstif_6.3-071+1_i386.deb
 802ef9d5219c791ab96606c95b8c76a3 717076 editors extra vim-gnome_6.3-071+1_i386.deb
 85d4f0e751701e536ab9e93d2c76a120 751028 editors extra vim-full_6.3-071+1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCa8Var/RnCw96jQERAsOmAJ4wJsIgO9YnEga9cA7ku7AIs/UtIwCgn/rh
RHBiMGoA0u+qxnH6O5Il2pY=
=qIOe
-----END PGP SIGNATURE-----